enter-tex: update to 3.47.0, rename from gnome-latex

This commit is contained in:
oreo639 2024-09-15 00:16:22 -07:00 committed by oreo639
parent f1416f5bd7
commit 37241bd092
6 changed files with 77 additions and 111 deletions

View File

@ -0,0 +1,36 @@
From c240fd5c1eda2cf697336cc234d66f6af38894e8 Mon Sep 17 00:00:00 2001
From: oreo639 <oreo6391@gmail.com>
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

View File

@ -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 <gottox@voidlinux.org>"
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}"
}

1
srcpkgs/gnome-latex Symbolic link
View File

@ -0,0 +1 @@
enter-tex

View File

@ -1,85 +0,0 @@
diff --git a/configure b/configure
index a58dc5629..e01a8f4ec 100755
--- a/configure
+++ b/configure
@@ -14305,7 +14305,7 @@ if test -n "$DEP_CFLAGS"; then
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
\""; } >&5
@@ -14314,7 +14314,7 @@ if test -n "$DEP_CFLAGS"; then
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
") 2>&5
@@ -14326,7 +14326,7 @@ if test -n "$DEP_CFLAGS"; then
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
" 2>/dev/null`
@@ -14346,7 +14346,7 @@ if test -n "$DEP_LIBS"; then
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
\""; } >&5
@@ -14355,7 +14355,7 @@ if test -n "$DEP_LIBS"; then
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
") 2>&5
@@ -14367,7 +14367,7 @@ if test -n "$DEP_LIBS"; then
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
" 2>/dev/null`
@@ -14396,7 +14396,7 @@ fi
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
" 2>&1`
@@ -14406,7 +14406,7 @@ fi
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
" 2>&1`
@@ -14419,7 +14419,7 @@ fi
gtk+-3.0 >= 3.22
gspell-1 >= 1.8
libgedit-amtk-5
- tepl-6 >= 6.8
+ libgedit-tepl-6 >= 6.8
gee-0.8 >= 0.10
gsettings-desktop-schemas
) were not met:

View File

@ -1,26 +0,0 @@
# Template file for 'gnome-latex'
pkgname=gnome-latex
version=3.46.0
revision=2
build_helper="gir"
build_style=gnu-configure
configure_args="--disable-appstream-util --disable-dconf-migration
$(vopt_enable gir introspection)"
hostmakedepends="glib-devel gettext itstool pkg-config vala
$(vopt_if gir gobject-introspection) gtk-doc"
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 <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://wiki.gnome.org/Apps/GNOME-LaTeX"
changelog="https://gitlab.gnome.org/swilmet/gnome-latex/-/raw/main/NEWS"
distfiles="${GNOME_SITE}/gnome-latex/${version%.*}/gnome-latex-${version}.tar.xz"
checksum=d67555639b2a15a8aebd54f335354e44fe3433143ae3cb3cca7a8e26f8112ada
build_options="gir"
build_options_default="gir"
post_install() {
vdoc "${FILESDIR}/README.voidlinux"
}