-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enter-tex: update to 3.47.0, rename from gnome-latex
- Loading branch information
Showing
6 changed files
with
77 additions
and
111 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
From c240fd5c1eda2cf697336cc234d66f6af38894e8 Mon Sep 17 00:00:00 2001 | ||
From: oreo639 <[email protected]> | ||
Date: Sun, 15 Sep 2024 02:16:20 -0700 | ||
Subject: [PATCH] GlatexApp: implement new-window action | ||
|
||
--- | ||
src/glatex_app.vala | 6 ++++++ | ||
1 file changed, 6 insertions(+) | ||
|
||
diff --git a/src/glatex_app.vala b/src/glatex_app.vala | ||
index 3d93c8bd..4e913212 100644 | ||
--- a/src/glatex_app.vala | ||
+++ b/src/glatex_app.vala | ||
@@ -8,6 +8,7 @@ public class GlatexApp : Gtex.App | ||
{ | ||
private const GLib.ActionEntry[] _app_actions = | ||
{ | ||
+ { "new-window", new_window_cb }, | ||
{ "new-document", new_document_cb }, | ||
{ "manage-build-tools", manage_build_tools_cb }, | ||
{ "quit", quit_cb } | ||
@@ -52,6 +53,11 @@ public class GlatexApp : Gtex.App | ||
release (); | ||
} | ||
|
||
+ private void new_window_cb () | ||
+ { | ||
+ MainWindow? window = create_window (); | ||
+ } | ||
+ | ||
private void new_document_cb () | ||
{ | ||
MainWindow? window = get_active_main_window (); | ||
-- | ||
GitLab | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Template file for 'enter-tex' | ||
pkgname=enter-tex | ||
version=3.47.0 | ||
revision=1 | ||
build_helper="gir" | ||
build_style=meson | ||
configure_args="-Ddconf_migration=false $(vopt_bool gtk_doc gtk_doc)" | ||
hostmakedepends="glib-devel gettext itstool pkg-config vala | ||
gobject-introspection $(vopt_if gtk_doc gtk-doc) desktop-file-utils gtk-update-icon-cache" | ||
makedepends="gsettings-desktop-schemas-devel gspell-devel libgedit-gtksourceview-devel | ||
gtk+3-devel libgee-devel libglib-devel libgedit-tepl-devel" | ||
short_desc="LaTeX editor for the GNOME desktop" | ||
maintainer="Enno Boland <[email protected]>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://gitlab.gnome.org/swilmet/enter-tex" | ||
changelog="https://gitlab.gnome.org/swilmet/enter-tex/-/raw/main/NEWS" | ||
distfiles="${GNOME_SITE}/enter-tex/${version%.*}/enter-tex-${version}.tar.xz" | ||
checksum=a08caec9275c0abb9535674df5b9c16b92b14968cd21916d6ffc2fa0cb9dd76a | ||
|
||
build_options="gtk_doc" | ||
build_options_default=" " | ||
|
||
if [ -z "$CROSS_BUILD" ]; then | ||
build_options_default+=" gtk_doc" | ||
fi | ||
|
||
post_install() { | ||
vdoc "${FILESDIR}/README.voidlinux" | ||
} | ||
|
||
pre_build() { | ||
# https://gitlab.gnome.org/swilmet/enter-tex/-/blob/main/docs/more-information.md | ||
ninja -C build src/gtex/Gtex-1.gir | ||
} | ||
|
||
gnome-latex_package() { | ||
build_style=meta | ||
short_desc+=" - transitional dummy package" | ||
depends="${sourcepkg}>=${version}_${revision}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
enter-tex |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.