public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2016-01-12 17:38 Michael Weber
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Weber @ 2016-01-12 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     568fab566516a0c9a68ea9e8a290ffcbb9ef13de
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 12 17:28:11 2016 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue Jan 12 17:31:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=568fab56

app-text/zathura: Fix for missing synctex (thanks Petr Pisar, bug 571346).

Package-Manager: portage-2.2.26

 app-text/zathura/files/zathura-0.3.4-synctex.patch | 51 ++++++++++++++++++++++
 app-text/zathura/zathura-0.3.4.ebuild              |  4 ++
 2 files changed, 55 insertions(+)

diff --git a/app-text/zathura/files/zathura-0.3.4-synctex.patch b/app-text/zathura/files/zathura-0.3.4-synctex.patch
new file mode 100644
index 0000000..1a8a492
--- /dev/null
+++ b/app-text/zathura/files/zathura-0.3.4-synctex.patch
@@ -0,0 +1,51 @@
+From f0a86c6ef7c43eec07b0ddc7c002dba506ca1e26 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <petr.pisar@atlas.cz>
+Date: Sat, 9 Jan 2016 09:48:53 +0100
+Subject: [PATCH] Use synctex_editor only if WITH_SYNCTEX
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Without installed synctex, the build fails like:
+
+zathura/main.c: In function ‘main’:
+zathura/main.c:254:26: error: ‘synctex_editor’ undeclared (first use in this function)
+       plugin_path, argv, synctex_editor, embed);
+                          ^
+zathura/main.c:254:26: note: each undeclared identifier is reported only once for each function it appears in
+Makefile:103: recipe for target 'build/release/zathura/main.o' failed
+
+This patch fixes it.
+
+<https://bugs.gentoo.org/show_bug.cgi?id=571346>
+---
+ zathura/main.c | 11 ++++++++---
+ 1 file changed, 8 insertions(+), 3 deletions(-)
+
+diff --git a/zathura/main.c b/zathura/main.c
+index 060382a..9c0d0d3 100644
+--- a/zathura/main.c
++++ b/zathura/main.c
+@@ -250,11 +250,16 @@ main(int argc, char* argv[])
+ 
+   /* Create zathura session */
+   zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir,
+-#ifdef GDK_WINDOWING_X11
+-      plugin_path, argv, synctex_editor, embed);
++      plugin_path, argv,
++#ifdef WITH_SYNCTEX
++      synctex_editor
+ #else
+-      plugin_path, argv, synctex_editor);
++      NULL
++#endif
++#ifdef GDK_WINDOWING_X11
++      , embed
+ #endif
++  );
+   if (zathura == NULL) {
+     girara_error("Could not initialize zathura.");
+     return -1;
+-- 
+2.4.10
+

diff --git a/app-text/zathura/zathura-0.3.4.ebuild b/app-text/zathura/zathura-0.3.4.ebuild
index ef9d28e..8909dc1 100644
--- a/app-text/zathura/zathura-0.3.4.ebuild
+++ b/app-text/zathura/zathura-0.3.4.ebuild
@@ -50,6 +50,10 @@ pkg_setup() {
 	)
 }
 
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-synctex.patch
+}
+
 src_compile() {
 	emake "${myzathuraconf[@]}"
 }


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2016-01-28 16:05 Michael Weber
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Weber @ 2016-01-28 16:05 UTC (permalink / raw
  To: gentoo-commits

commit:     6d73c36e7dfa885c9bdaad4ab159eca8659c7429
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 28 15:59:15 2016 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Jan 28 16:05:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d73c36e

app-text/zathura: drop synctex patch (bug 573162, thanks Luis Ressel).

Package-Manager: portage-2.2.26

 app-text/zathura/files/zathura-9999-synctex.patch | 51 -----------------------
 app-text/zathura/zathura-9999.ebuild              |  4 --
 2 files changed, 55 deletions(-)

diff --git a/app-text/zathura/files/zathura-9999-synctex.patch b/app-text/zathura/files/zathura-9999-synctex.patch
deleted file mode 100644
index 1a8a492..0000000
--- a/app-text/zathura/files/zathura-9999-synctex.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From f0a86c6ef7c43eec07b0ddc7c002dba506ca1e26 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <petr.pisar@atlas.cz>
-Date: Sat, 9 Jan 2016 09:48:53 +0100
-Subject: [PATCH] Use synctex_editor only if WITH_SYNCTEX
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Without installed synctex, the build fails like:
-
-zathura/main.c: In function ‘main’:
-zathura/main.c:254:26: error: ‘synctex_editor’ undeclared (first use in this function)
-       plugin_path, argv, synctex_editor, embed);
-                          ^
-zathura/main.c:254:26: note: each undeclared identifier is reported only once for each function it appears in
-Makefile:103: recipe for target 'build/release/zathura/main.o' failed
-
-This patch fixes it.
-
-<https://bugs.gentoo.org/show_bug.cgi?id=571346>
----
- zathura/main.c | 11 ++++++++---
- 1 file changed, 8 insertions(+), 3 deletions(-)
-
-diff --git a/zathura/main.c b/zathura/main.c
-index 060382a..9c0d0d3 100644
---- a/zathura/main.c
-+++ b/zathura/main.c
-@@ -250,11 +250,16 @@ main(int argc, char* argv[])
- 
-   /* Create zathura session */
-   zathura_t* zathura = init_zathura(config_dir, data_dir, cache_dir,
--#ifdef GDK_WINDOWING_X11
--      plugin_path, argv, synctex_editor, embed);
-+      plugin_path, argv,
-+#ifdef WITH_SYNCTEX
-+      synctex_editor
- #else
--      plugin_path, argv, synctex_editor);
-+      NULL
-+#endif
-+#ifdef GDK_WINDOWING_X11
-+      , embed
- #endif
-+  );
-   if (zathura == NULL) {
-     girara_error("Could not initialize zathura.");
-     return -1;
--- 
-2.4.10
-

diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild
index ff9ff67..5abb1d2 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -52,10 +52,6 @@ pkg_setup() {
 	)
 }
 
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-synctex.patch
-}
-
 src_compile() {
 	emake "${myzathuraconf[@]}"
 }


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2017-01-24 15:54 Michael Weber
  0 siblings, 0 replies; 9+ messages in thread
From: Michael Weber @ 2017-01-24 15:54 UTC (permalink / raw
  To: gentoo-commits

commit:     84d9bec0db2d23c6c38489997dcd576d1be7ee9a
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 15:53:52 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Tue Jan 24 15:54:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84d9bec0

app-text/zathura: Fix test for USE=-sqlite (bug 606870).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-text/zathura/files/zathura-0.3.7-tests.patch | 24 ++++++++++++++++++++++++
 app-text/zathura/zathura-0.3.7.ebuild            |  6 ++++++
 2 files changed, 30 insertions(+)

diff --git a/app-text/zathura/files/zathura-0.3.7-tests.patch b/app-text/zathura/files/zathura-0.3.7-tests.patch
new file mode 100644
index 00000000..7732144
--- /dev/null
+++ b/app-text/zathura/files/zathura-0.3.7-tests.patch
@@ -0,0 +1,24 @@
+--- zathura-0.3.7/tests/Makefile
++++ zathura-0.3.7/tests/Makefile
+@@ -7,7 +7,11 @@
+ include config.mk
+ 
+ PROJECT = tests
+-SOURCE  = tests.c $(wildcard test_*.c)
++ifneq (${WITH_SQLITE},0)
++	SOURCE  = tests.c $(wildcard test_*.c)
++else
++	SOURCE  = $(filter-out database-sqlite.c,tests.c $(wildcard test_*.c))
++endif
+ OBJECTS       = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o})
+ OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o})
+ OBJECTS_GCOV  = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o})
+@@ -23,8 +27,6 @@
+ INCS     += $(SQLITE_INC)
+ LIBS     += $(SQLITE_LIB)
+ CPPFLAGS += -DWITH_SQLITE
+-else
+-SOURCE = $(filter-out database-sqlite.c,$(OSOURCE))
+ endif
+ 
+ ifneq ($(WITH_MAGIC),0)

diff --git a/app-text/zathura/zathura-0.3.7.ebuild b/app-text/zathura/zathura-0.3.7.ebuild
index d6a5333..543b3b0 100644
--- a/app-text/zathura/zathura-0.3.7.ebuild
+++ b/app-text/zathura/zathura-0.3.7.ebuild
@@ -36,6 +36,12 @@ DEPEND="${RDEPEND}
 	virtual/pkgconfig
 	test? ( dev-libs/check )"
 
+src_prepare() {
+	epatch "${FILESDIR}"/${P}-tests.patch
+
+	epatch_user
+}
+
 pkg_setup() {
 	myzathuraconf=(
 		WITH_MAGIC=$(usex magic 1 0)


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2018-10-08 18:17 Mikle Kolyada
  0 siblings, 0 replies; 9+ messages in thread
From: Mikle Kolyada @ 2018-10-08 18:17 UTC (permalink / raw
  To: gentoo-commits

commit:     cb2b89d44c256c3a13c2f15ac05bd8d2ee99cd01
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  8 18:16:37 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Mon Oct  8 18:16:58 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb2b89d4

\app-text/zathura: Drop old

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 app-text/zathura/Manifest                        |  1 -
 app-text/zathura/files/zathura-0.3.7-tests.patch | 24 --------
 app-text/zathura/zathura-0.3.7.ebuild            | 75 ------------------------
 3 files changed, 100 deletions(-)

diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest
index 9bd88252f8f..d6b8f7ab5fe 100644
--- a/app-text/zathura/Manifest
+++ b/app-text/zathura/Manifest
@@ -1,3 +1,2 @@
-DIST zathura-0.3.7.tar.gz 174095 BLAKE2B f0025b75b319dbfa397362e102318f1dc1b5dd41f8beb1380cd781fd7594d15234781d862bf20b59ad4bcb9d1aa67210aa10779c19273e81341bfb74962f3139 SHA512 830a1b88820507a40a20b046c504d8ab3022a35c2c4c0d93a67f77ab5e31d746362a6f28fb9786a647cd0bfd943306aca74cbb2092774aedfb52380e713df533
 DIST zathura-0.3.8.tar.gz 174962 BLAKE2B 44d91564ee42cea80357230c789160e37774d5ae29f8de8bac1fbf734a28e7b862d58d807fe3fa01d323d0baaf88a3960243f8022893c3ad40b67ba8d8a1ae6d SHA512 bad10eaf6642885f96850a01921dc1580357144d8b9b27e88e7765e6fc8e7d8f8c94c240904469e1e6b22114be5117a28a24c87183476d2c89d93f27a5083109
 DIST zathura-0.4.1.tar.xz 148592 BLAKE2B c6fc495ce6413057dc86be95272e8178f32649c68f95052b2db00526b7805b1f6772c628902409af66ba88983171b5456f4cd26c77fcbe32023bf99d1081a55d SHA512 370e7fa12a3a3a2a973870a99f7b2b910c808d6932c1de9093630d7e8bd7d97feb4b7df713e9ac33c7927849b63174a899ce6eaa60db89b1c47d6e13ef181ad6

diff --git a/app-text/zathura/files/zathura-0.3.7-tests.patch b/app-text/zathura/files/zathura-0.3.7-tests.patch
deleted file mode 100644
index 77321445c6a..00000000000
--- a/app-text/zathura/files/zathura-0.3.7-tests.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- zathura-0.3.7/tests/Makefile
-+++ zathura-0.3.7/tests/Makefile
-@@ -7,7 +7,11 @@
- include config.mk
- 
- PROJECT = tests
--SOURCE  = tests.c $(wildcard test_*.c)
-+ifneq (${WITH_SQLITE},0)
-+	SOURCE  = tests.c $(wildcard test_*.c)
-+else
-+	SOURCE  = $(filter-out database-sqlite.c,tests.c $(wildcard test_*.c))
-+endif
- OBJECTS       = $(addprefix ${BUILDDIR_RELEASE}/,${SOURCE:.c=.o})
- OBJECTS_DEBUG = $(addprefix ${BUILDDIR_DEBUG}/,${SOURCE:.c=.o})
- OBJECTS_GCOV  = $(addprefix ${BUILDDIR_GCOV}/,${SOURCE:.c=.o})
-@@ -23,8 +27,6 @@
- INCS     += $(SQLITE_INC)
- LIBS     += $(SQLITE_LIB)
- CPPFLAGS += -DWITH_SQLITE
--else
--SOURCE = $(filter-out database-sqlite.c,$(OSOURCE))
- endif
- 
- ifneq ($(WITH_MAGIC),0)

diff --git a/app-text/zathura/zathura-0.3.7.ebuild b/app-text/zathura/zathura-0.3.7.ebuild
deleted file mode 100644
index 8281cf21819..00000000000
--- a/app-text/zathura/zathura-0.3.7.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs virtualx xdg-utils
-
-if [[ ${PV} == *9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura.git"
-	EGIT_BRANCH="develop"
-else
-	KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
-	SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
-fi
-
-DESCRIPTION="A highly customizable and functional document viewer"
-HOMEPAGE="http://pwmt.org/projects/zathura/"
-
-LICENSE="ZLIB"
-SLOT="0"
-IUSE="+magic sqlite synctex test"
-
-RDEPEND=">=dev-libs/girara-0.2.7:3=
-	>=dev-libs/glib-2.32:2=
-	x11-libs/cairo:=
-	>=x11-libs/gtk+-3.6:3
-	magic? ( sys-apps/file:= )
-	sqlite? ( dev-db/sqlite:3= )
-	synctex? ( >=app-text/texlive-core-2015 )"
-DEPEND="${RDEPEND}
-	sys-devel/gettext
-	virtual/pkgconfig
-	test? ( dev-libs/check )"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-tests.patch
-
-	epatch_user
-}
-
-src_configure() {
-	myzathuraconf=(
-		WITH_MAGIC=$(usex magic 1 0)
-		WITH_SQLITE=$(usex sqlite 1 0)
-		WITH_SYNCTEX=$(usex synctex 1 0)
-		PREFIX="${EPREFIX}"/usr
-		LIBDIR='${PREFIX}'/$(get_libdir)
-		CC="$(tc-getCC)"
-		SFLAGS=''
-		VERBOSE=1
-		DESTDIR="${D}"
-	)
-}
-
-src_compile() {
-	emake "${myzathuraconf[@]}"
-}
-
-src_test() {
-	Xemake "${myzathuraconf[@]}" test
-}
-
-src_install() {
-	emake "${myzathuraconf[@]}" install
-	dodoc AUTHORS
-}
-
-pkg_postinst() {
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	xdg_desktop_database_update
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2019-04-28 18:15 Mikle Kolyada
  0 siblings, 0 replies; 9+ messages in thread
From: Mikle Kolyada @ 2019-04-28 18:15 UTC (permalink / raw
  To: gentoo-commits

commit:     3379f508da8ef51e2b20de43b070e2b8d753265b
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 18:14:58 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 18:15:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3379f508

 app-text/zathura: Dreop old

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 app-text/zathura/Manifest                      |  1 -
 app-text/zathura/files/zathura-find-libm.patch | 26 -----------
 app-text/zathura/zathura-0.4.1-r2.ebuild       | 64 --------------------------
 3 files changed, 91 deletions(-)

diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest
index f5a399d7908..16964487023 100644
--- a/app-text/zathura/Manifest
+++ b/app-text/zathura/Manifest
@@ -1,2 +1 @@
-DIST zathura-0.4.1.tar.xz 148592 BLAKE2B c6fc495ce6413057dc86be95272e8178f32649c68f95052b2db00526b7805b1f6772c628902409af66ba88983171b5456f4cd26c77fcbe32023bf99d1081a55d SHA512 370e7fa12a3a3a2a973870a99f7b2b910c808d6932c1de9093630d7e8bd7d97feb4b7df713e9ac33c7927849b63174a899ce6eaa60db89b1c47d6e13ef181ad6
 DIST zathura-0.4.3.tar.xz 145796 BLAKE2B fe360d6ea2a11138324784beec8e8ebe0eaa83e4e682785a50265bbd0a77be0dcab4cd523923462398faaf918a4d304de148d64972dc9b6cb96578476e0ae6eb SHA512 427948025c20b2badb00921d03ec83e26806fd90d0d50cdcf0f3bcf645cd7206695faa3b5a7698d3d70b9bd60e8e68c920cf1e7f29855dd11a1a8ce6a7f8160b

diff --git a/app-text/zathura/files/zathura-find-libm.patch b/app-text/zathura/files/zathura-find-libm.patch
deleted file mode 100644
index 4995238fb8d..00000000000
--- a/app-text/zathura/files/zathura-find-libm.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From cc99b8d3491ce0cd30ba56decc33d811478bab0c Mon Sep 17 00:00:00 2001
-From: Sebastian Ramacher <sebastian@ramacher.at>
-Date: Tue, 30 Oct 2018 00:39:19 +0100
-Subject: [PATCH] Search for m instead of libm (fixes #757)
-
-Thanks to Franz Trischberger for the fix.
----
- meson.build | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/meson.build b/meson.build
-index f54f104..afe9ae8 100644
---- a/meson.build
-+++ b/meson.build
-@@ -36,7 +36,7 @@ dbusinterfacesdir = join_paths(datadir, 'dbus-1', 'interfaces')
- plugindir = join_paths(get_option('libdir'), 'zathura')
- 
- # required dependencies
--libm = cc.find_library('libm', required: false)
-+libm = cc.find_library('m', required: false)
- girara = dependency('girara-gtk3', version: '>=0.2.9')
- glib = dependency('glib-2.0', version: '>=2.50')
- gio = dependency('gio-unix-2.0', required: host_machine.system() != 'windows')
--- 
-2.18.0
-

diff --git a/app-text/zathura/zathura-0.4.1-r2.ebuild b/app-text/zathura/zathura-0.4.1-r2.ebuild
deleted file mode 100644
index f6972544584..00000000000
--- a/app-text/zathura/zathura-0.4.1-r2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit gnome2-utils meson virtualx xdg-utils
-
-DESCRIPTION="A highly customizable and functional document viewer"
-HOMEPAGE="http://pwmt.org/projects/zathura/"
-
-if [[ ${PV} == *9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
-	EGIT_BRANCH="develop"
-else
-	SRC_URI="https://pwmt.org/projects/zathura/download/${P}.tar.xz"
-	KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="ZLIB"
-SLOT="0"
-IUSE="+magic seccomp sqlite synctex test"
-
-PATCHES=( "${FILESDIR}"/${PN}-find-libm.patch )
-
-RDEPEND=">=dev-libs/girara-0.3.1
-	>=dev-libs/glib-2.50:2
-	dev-python/sphinx
-	>=sys-devel/gettext-0.19.8
-	x11-libs/cairo
-	>=x11-libs/gtk+-3.22:3
-	magic? ( sys-apps/file )
-	seccomp? ( sys-libs/libseccomp )
-	sqlite? ( >=dev-db/sqlite-3.5.9:3 )
-	synctex? ( app-text/texlive-core )"
-
-DEPEND="${RDEPEND}
-	test? ( dev-libs/check )"
-
-BDEPEND="virtual/pkgconfig"
-
-src_configure() {
-	local emesonargs=(
-		-Denable-magic=$(usex magic true false)
-		-Denable-seccomp=$(usex seccomp true false)
-		-Denable-sqlite=$(usex sqlite true false)
-		-Denable-synctex=$(usex synctex true false)
-		)
-	meson_src_configure
-}
-
-src_test() {
-	virtx meson_src_test
-}
-
-pkg_postinst() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	gnome2_icon_cache_update
-	xdg_desktop_database_update
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2022-12-30 18:26 Piotr Karbowski
  0 siblings, 0 replies; 9+ messages in thread
From: Piotr Karbowski @ 2022-12-30 18:26 UTC (permalink / raw
  To: gentoo-commits

commit:     b80c10b9f9bd027e1a9aaefe5a3569023de54621
Author:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 18:22:38 2022 +0000
Commit:     Piotr Karbowski <slashbeast <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 18:26:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b80c10b9

app-text/zathura: 0.5.2 version bump

Disabled seccomp tests as those seems to require other dependencies like
plugins and files to be installed that are not part of this package, no
way to get them working in the scope of what portage tests.

Closes: https://bugs.gentoo.org/743070
Closes: https://bugs.gentoo.org/885445
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org>

 app-text/zathura/Manifest                          |  1 +
 .../files/zathura-disable-seccomp-tests.patch      | 22 ++++++++
 app-text/zathura/zathura-0.5.2.ebuild              | 60 ++++++++++++++++++++++
 3 files changed, 83 insertions(+)

diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest
index fe867e8053fd..590059c04fb6 100644
--- a/app-text/zathura/Manifest
+++ b/app-text/zathura/Manifest
@@ -1 +1,2 @@
 DIST zathura-0.4.9.tar.gz 206194 BLAKE2B 0dd4b153cf7f8e3ddd4ede5514389b2c5e4aa88e2c416646acc38f7e19419e11165c2a5b51548a05d69a1b947e661b885f7c9d8c100179d0d23d8754cb441d97 SHA512 fbab65cba7ac37e4021233a4ae0356a85f4a88d2c1a2d8337cd627eae389856b6b4e692904233332d2fa14ad0300e8c52732059a75314a0ef147a02ca9f8db10
+DIST zathura-0.5.2.tar.gz 208606 BLAKE2B fc7e8042a373a3fd66973fd5d6c7c3e7d6da884fb40269545e4074b42fdbc9b6f286089769a435394812e24a8b24de328521a2fd797bbb13c16115b112dd9a48 SHA512 17f2a6535b2b3c6f61986cd8a6ccdef2c1a129d8ebf8c86cbe3c8eac868c2780801f3fe2fdc17c429ca0c63a71a328bbb6c7f814f82714dd7f1a5a4728663b1f

diff --git a/app-text/zathura/files/zathura-disable-seccomp-tests.patch b/app-text/zathura/files/zathura-disable-seccomp-tests.patch
new file mode 100644
index 000000000000..f3d88a2746d2
--- /dev/null
+++ b/app-text/zathura/files/zathura-disable-seccomp-tests.patch
@@ -0,0 +1,22 @@
+diff --git a/tests/meson.build b/tests/meson.build
+index ac7edb8..68216f3 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -25,17 +25,6 @@ if check.found()
+     timeout: 60*60
+   )
+ 
+-  if seccomp.found()
+-    sandbox = executable('test_sandbox', ['test_sandbox.c', 'tests.c'],
+-      dependencies: build_dependencies + test_dependencies,
+-      include_directories: include_directories,
+-      c_args: defines + flags
+-    )
+-    test('sandbox', sandbox,
+-      timeout: 60*60
+-    )
+-  endif
+-
+   utils = executable('test_utils', ['test_utils.c', 'tests.c'],
+     dependencies: build_dependencies + test_dependencies,
+     include_directories: include_directories,

diff --git a/app-text/zathura/zathura-0.5.2.ebuild b/app-text/zathura/zathura-0.5.2.ebuild
new file mode 100644
index 000000000000..a348aaac0cce
--- /dev/null
+++ b/app-text/zathura/zathura-0.5.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson virtualx xdg
+
+DESCRIPTION="A highly customizable and functional document viewer"
+HOMEPAGE="https://pwmt.org/projects/zathura/"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
+	EGIT_BRANCH="develop"
+else
+	SRC_URI="https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="ZLIB"
+SLOT="0"
+IUSE="doc seccomp sqlite synctex test"
+
+RESTRICT="!test? ( test )"
+
+DEPEND=">=dev-libs/girara-0.3.7
+	>=dev-libs/glib-2.50:2
+	>=sys-devel/gettext-0.19.8
+	x11-libs/cairo
+	>=x11-libs/gtk+-3.22:3
+	sys-apps/file
+	seccomp? ( sys-libs/libseccomp )
+	sqlite? ( >=dev-db/sqlite-3.5.9:3 )
+	synctex? ( app-text/texlive-core )"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="doc? ( dev-python/sphinx )
+	test? ( dev-libs/appstream-glib
+		dev-libs/check )
+	virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}"/zathura-disable-seccomp-tests.patch
+)
+
+src_configure() {
+	local emesonargs=(
+		-Dconvert-icon=disabled
+		-Dmanpages=$(usex doc enabled disabled)
+		-Dseccomp=$(usex seccomp enabled disabled)
+		-Dsqlite=$(usex sqlite enabled disabled)
+		-Dsynctex=$(usex synctex enabled disabled)
+		)
+	meson_src_configure
+}
+
+src_test() {
+	virtx meson_src_test
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2024-01-21  4:02 Sam James
  0 siblings, 0 replies; 9+ messages in thread
From: Sam James @ 2024-01-21  4:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6ca4cc6ca7af63a24b266a59a1640b2eaab301d2
Author:     Mason Rocha <turret <AT> turret <DOT> cyou>
AuthorDate: Sat Dec  9 20:09:30 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 03:56:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca4cc6c

app-text/zathura: update dependencies, rebase patch for 9999

upstream's changes to tests/meson.build require patch rebase, 0.5.3
introduced some dependency changes so those are also reflected here.

Signed-off-by: Mason Rocha <turret <AT> turret.cyou>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/zathura-9999-disable-seccomp-tests.patch | 22 ++++++++++++++++++++
 app-text/zathura/zathura-9999.ebuild               | 24 ++++++++++++----------
 2 files changed, 35 insertions(+), 11 deletions(-)

diff --git a/app-text/zathura/files/zathura-9999-disable-seccomp-tests.patch b/app-text/zathura/files/zathura-9999-disable-seccomp-tests.patch
new file mode 100644
index 000000000000..7658f3f6f417
--- /dev/null
+++ b/app-text/zathura/files/zathura-9999-disable-seccomp-tests.patch
@@ -0,0 +1,22 @@
+diff --git a/tests/meson.build b/tests/meson.build
+index 1b2e81a..b2b7565 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -45,17 +45,5 @@ if check.found()
+       args: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', session],
+       timeout: 60*60
+     )
+-
+-    if seccomp.found()
+-      sandbox = executable('test_sandbox', ['test_sandbox.c', 'tests.c'],
+-        dependencies: build_dependencies + test_dependencies,
+-        include_directories: include_directories,
+-        c_args: defines + flags
+-      )
+-      test('sandbox', xvfb,
+-        args: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', sandbox],
+-        timeout: 60*60
+-      )
+-    endif
+   endif
+ endif

diff --git a/app-text/zathura/zathura-9999.ebuild b/app-text/zathura/zathura-9999.ebuild
index 1ad4fe4776d4..4874ec9d4c41 100644
--- a/app-text/zathura/zathura-9999.ebuild
+++ b/app-text/zathura/zathura-9999.ebuild
@@ -15,40 +15,42 @@ if [[ ${PV} == *9999 ]]; then
 else
 	SRC_URI="
 		https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz
-		https://cdn.turret.cyou/354c6d33bfd3bbc67c0047af1328498978eef352/${P}-manpages.tar.xz
+		https://cdn.turret.cyou/e28b2f940d1a19a74ecbfd80ea4477c5ea9ac627/${P}-manpages.tar.xz
 	"
 	KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
 fi
 
 LICENSE="ZLIB"
-SLOT="0/$(ver_cut 1-2)"
+SLOT="0/5.6"
 IUSE="seccomp sqlite synctex test"
 
 RESTRICT="!test? ( test )"
 
-DEPEND="
-	>=dev-libs/girara-0.3.7
+RDEPEND="
+	>=dev-libs/girara-0.4.1
 	>=dev-libs/glib-2.50:2
+	dev-libs/json-glib
 	sys-apps/file
-	>=sys-devel/gettext-0.19.8
 	x11-libs/cairo
 	>=x11-libs/gtk+-3.22:3
 	seccomp? ( sys-libs/libseccomp )
-	sqlite? ( >=dev-db/sqlite-3.5.9:3 )
+	sqlite? ( >=dev-db/sqlite-3.6.23:3 )
 	synctex? ( app-text/texlive-core )
 "
-RDEPEND="${DEPEND}"
-BDEPEND="
+DEPEND="
+	${RDEPEND}
 	test? (
-		dev-libs/appstream-glib
 		dev-libs/check
-		x11-base/xorg-server[xvfb]
+		x11-libs/gtk+[X]
 	)
+"
+BDEPEND="
+	>=sys-devel/gettext-0.19.8
 	virtual/pkgconfig
 "
 
 PATCHES=(
-	"${FILESDIR}"/zathura-disable-seccomp-tests.patch
+	"${FILESDIR}"/${P}-disable-seccomp-tests.patch
 )
 
 src_configure() {


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2024-01-21  4:02 Sam James
  0 siblings, 0 replies; 9+ messages in thread
From: Sam James @ 2024-01-21  4:02 UTC (permalink / raw
  To: gentoo-commits

commit:     6832fd3e3aa75e3567bfaeb8ebd011d90dcc847f
Author:     Mason Rocha <turret <AT> turret <DOT> cyou>
AuthorDate: Sat Dec  9 22:10:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 03:56:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6832fd3e

app-text/zathura: drop obsolete 0.4.9, 0.5.3

Signed-off-by: Mason Rocha <turret <AT> turret.cyou>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/zathura/Manifest                          |  3 -
 .../zathura-0.5.3-disable-seccomp-tests.patch      | 24 -------
 app-text/zathura/zathura-0.4.9.ebuild              | 57 -----------------
 app-text/zathura/zathura-0.5.3.ebuild              | 74 ----------------------
 4 files changed, 158 deletions(-)

diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest
index d230578f075f..97caafbb2f92 100644
--- a/app-text/zathura/Manifest
+++ b/app-text/zathura/Manifest
@@ -1,7 +1,4 @@
-DIST zathura-0.4.9.tar.gz 206194 BLAKE2B 0dd4b153cf7f8e3ddd4ede5514389b2c5e4aa88e2c416646acc38f7e19419e11165c2a5b51548a05d69a1b947e661b885f7c9d8c100179d0d23d8754cb441d97 SHA512 fbab65cba7ac37e4021233a4ae0356a85f4a88d2c1a2d8337cd627eae389856b6b4e692904233332d2fa14ad0300e8c52732059a75314a0ef147a02ca9f8db10
 DIST zathura-0.5.2-manpages.tar.xz 9696 BLAKE2B 23c6e94d5b44c1e20338ea04afb7644e4c76618cdc4902d2edd436734498c6b17e1522b37269d67a62801632595f535724d8f5d4c9817e017e6341c5365c5842 SHA512 3bb431f0564ddc1f67bcd21f019a43f6af95c3e3b42b264b7e1f01f10cebd7c05115e452a868dd176e5a0d65a9085ac3d554d69e553aa53569593ea494036f7c
 DIST zathura-0.5.2.tar.gz 208606 BLAKE2B fc7e8042a373a3fd66973fd5d6c7c3e7d6da884fb40269545e4074b42fdbc9b6f286089769a435394812e24a8b24de328521a2fd797bbb13c16115b112dd9a48 SHA512 17f2a6535b2b3c6f61986cd8a6ccdef2c1a129d8ebf8c86cbe3c8eac868c2780801f3fe2fdc17c429ca0c63a71a328bbb6c7f814f82714dd7f1a5a4728663b1f
-DIST zathura-0.5.3-manpages.tar.xz 10064 BLAKE2B f2d9988bfa1edf79b64be460c242ddf6fae15d84a6e0f8e25011962f24a3aca77a15ce285dc7e742693e28aff70da9f6f311f56ceafbda1439f2a6e347a973f8 SHA512 49269eca809a5c468f759991114a8beeeadb2e82b38c9126c89c63c2b90aa6a02624e5971c9d175c52abd724d23f48b05d03ba469397da5d12925ed8cdf11668
-DIST zathura-0.5.3.tar.gz 216701 BLAKE2B 0a39dc4d7f0d2ec36a9e52a8b9c606c56ed48cb9d37eb232303a596f386a9d980cef96e549efc461f577f286793861ee6654a72ebdfe8fbda25022e4ce38f657 SHA512 236dc981978d3fc7999be47d87d4ca9aaca03bfa1e069cd22c41bd93231248061faf7df62b2371dd28b17ec3f381ce2fff908f6b26ad211b529f51b9b1dabb53
 DIST zathura-0.5.4-manpages.tar.xz 10060 BLAKE2B 103d2b5ed4ab71bc096305e70addbf94f11539cc989fc867766a1366ec18ca30379ce8f5b9f2b4a4a67507f79bbf6c6136c46f47161d1b74457c04488aa3dcea SHA512 a8251740a8e24e1c37093bec58b0169f04bd318878d743c72f07505a722c58da4f84a2dad5d46ded7789e1b4c5f2a7bab9cc6d023cd0935e49fe4388c9c28bd9
 DIST zathura-0.5.4.tar.gz 216719 BLAKE2B 94219e1feb22dc5cf3c072ed7d53b984c58e1f5c2d86b7e2b9e67c2d1cde92e9972aa18583930d3af3bc7d9c2afe367221ed3c2141fee682cc7ea54aae603ec4 SHA512 16f7291c3742cffe9ba5c6a3137781b2dd0b0bfcd61747e45a3c4b14df97781b49d526a298d2be9f564c84e616f1adef2ff4f5442d539fd42ab5e862baa00922

diff --git a/app-text/zathura/files/zathura-0.5.3-disable-seccomp-tests.patch b/app-text/zathura/files/zathura-0.5.3-disable-seccomp-tests.patch
deleted file mode 100644
index 1d9d0a59ca83..000000000000
--- a/app-text/zathura/files/zathura-0.5.3-disable-seccomp-tests.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/tests/meson.build b/tests/meson.build
-index d2bed1d..9dbb6df 100644
---- a/tests/meson.build
-+++ b/tests/meson.build
-@@ -44,18 +44,7 @@ if check.found()
-     test('session', xvfb,
-       args: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', session],
-       timeout: 60*60
--    ) 
--
--    if seccomp.found()
--    sandbox = executable('test_sandbox', ['test_sandbox.c', 'tests.c'],
--      dependencies: build_dependencies + test_dependencies,
--      include_directories: include_directories,
--      c_args: defines + flags
-     )
--    test('sandbox', xvfb,
--      args: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', sandbox],
--      timeout: 60*60
--    )
--  endif
-+
-   endif
- endif

diff --git a/app-text/zathura/zathura-0.4.9.ebuild b/app-text/zathura/zathura-0.4.9.ebuild
deleted file mode 100644
index 907d082c8c17..000000000000
--- a/app-text/zathura/zathura-0.4.9.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit meson virtualx xdg
-
-DESCRIPTION="A highly customizable and functional document viewer"
-HOMEPAGE="https://pwmt.org/projects/zathura/"
-
-if [[ ${PV} == *9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
-	EGIT_BRANCH="develop"
-else
-	SRC_URI="https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="amd64 arm ~riscv x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="ZLIB"
-SLOT="0"
-IUSE="doc +magic seccomp sqlite synctex test"
-
-RESTRICT="!test? ( test )"
-
-DEPEND=">=dev-libs/girara-0.3.7
-	>=dev-libs/glib-2.50:2
-	>=sys-devel/gettext-0.19.8
-	x11-libs/cairo
-	>=x11-libs/gtk+-3.22:3
-	magic? ( sys-apps/file )
-	seccomp? ( sys-libs/libseccomp )
-	sqlite? ( >=dev-db/sqlite-3.5.9:3 )
-	synctex? ( app-text/texlive-core )"
-
-RDEPEND="${DEPEND}"
-
-BDEPEND="doc? ( dev-python/sphinx )
-	test? ( dev-libs/appstream-glib
-		dev-libs/check )
-	virtual/pkgconfig"
-
-src_configure() {
-	local emesonargs=(
-		-Dconvert-icon=disabled
-		-Dmagic=$(usex magic enabled disabled)
-		-Dmanpages=$(usex doc enabled disabled)
-		-Dseccomp=$(usex seccomp enabled disabled)
-		-Dsqlite=$(usex sqlite enabled disabled)
-		-Dsynctex=$(usex synctex enabled disabled)
-		)
-	meson_src_configure
-}
-
-src_test() {
-	virtx meson_src_test
-}

diff --git a/app-text/zathura/zathura-0.5.3.ebuild b/app-text/zathura/zathura-0.5.3.ebuild
deleted file mode 100644
index 4874ec9d4c41..000000000000
--- a/app-text/zathura/zathura-0.5.3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit meson virtualx xdg
-
-DESCRIPTION="A highly customizable and functional document viewer"
-HOMEPAGE="https://pwmt.org/projects/zathura/"
-
-if [[ ${PV} == *9999 ]]; then
-	inherit git-r3
-	EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
-	EGIT_BRANCH="develop"
-else
-	SRC_URI="
-		https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz
-		https://cdn.turret.cyou/e28b2f940d1a19a74ecbfd80ea4477c5ea9ac627/${P}-manpages.tar.xz
-	"
-	KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
-fi
-
-LICENSE="ZLIB"
-SLOT="0/5.6"
-IUSE="seccomp sqlite synctex test"
-
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=dev-libs/girara-0.4.1
-	>=dev-libs/glib-2.50:2
-	dev-libs/json-glib
-	sys-apps/file
-	x11-libs/cairo
-	>=x11-libs/gtk+-3.22:3
-	seccomp? ( sys-libs/libseccomp )
-	sqlite? ( >=dev-db/sqlite-3.6.23:3 )
-	synctex? ( app-text/texlive-core )
-"
-DEPEND="
-	${RDEPEND}
-	test? (
-		dev-libs/check
-		x11-libs/gtk+[X]
-	)
-"
-BDEPEND="
-	>=sys-devel/gettext-0.19.8
-	virtual/pkgconfig
-"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-disable-seccomp-tests.patch
-)
-
-src_configure() {
-	local emesonargs=(
-		-Dconvert-icon=disabled
-		-Dmanpages=disabled
-		-Dseccomp=$(usex seccomp enabled disabled)
-		-Dsqlite=$(usex sqlite enabled disabled)
-		-Dsynctex=$(usex synctex enabled disabled)
-		)
-	meson_src_configure
-}
-
-src_test() {
-	virtx meson_src_test
-}
-
-src_install() {
-	meson_src_install
-	[[ ${PV} != *9999 ]] && doman "${WORKDIR}"/man/zathura*
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/
@ 2024-01-21  4:02 Sam James
  0 siblings, 0 replies; 9+ messages in thread
From: Sam James @ 2024-01-21  4:02 UTC (permalink / raw
  To: gentoo-commits

commit:     1e2c2e31cd762c3449ae61c263f631aa6e942f59
Author:     Mason Rocha <turret <AT> turret <DOT> cyou>
AuthorDate: Sat Dec  9 20:01:30 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 21 03:56:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e2c2e31

app-text/zathura: add 0.5.3

zathura 0.5.3 changes some things in the tests meson file, requiring a separate patch to be rebased from master.

dependencies have been revamped a little, there were some extra
non-needed dependencies, such as x11-base/xorg-server[xvfb] in tests
(thanks sevz17). test dependencies were moved to DEPEND. upstream
hardened some requirements aswell.

finally, upstream maintains an API/ABI versioning system separate from the package version itself, and has bumped both API and ABI without a minor/major version number bump, thus i've opted to move the subslots to be independent of the actual version number

Signed-off-by: Mason Rocha <turret <AT> turret.cyou>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/zathura/Manifest                          |  2 +
 .../zathura-0.5.3-disable-seccomp-tests.patch      | 24 +++++++
 app-text/zathura/zathura-0.5.3.ebuild              | 74 ++++++++++++++++++++++
 3 files changed, 100 insertions(+)

diff --git a/app-text/zathura/Manifest b/app-text/zathura/Manifest
index 0ae0b91f44e5..0196d7628f58 100644
--- a/app-text/zathura/Manifest
+++ b/app-text/zathura/Manifest
@@ -1,3 +1,5 @@
 DIST zathura-0.4.9.tar.gz 206194 BLAKE2B 0dd4b153cf7f8e3ddd4ede5514389b2c5e4aa88e2c416646acc38f7e19419e11165c2a5b51548a05d69a1b947e661b885f7c9d8c100179d0d23d8754cb441d97 SHA512 fbab65cba7ac37e4021233a4ae0356a85f4a88d2c1a2d8337cd627eae389856b6b4e692904233332d2fa14ad0300e8c52732059a75314a0ef147a02ca9f8db10
 DIST zathura-0.5.2-manpages.tar.xz 9696 BLAKE2B 23c6e94d5b44c1e20338ea04afb7644e4c76618cdc4902d2edd436734498c6b17e1522b37269d67a62801632595f535724d8f5d4c9817e017e6341c5365c5842 SHA512 3bb431f0564ddc1f67bcd21f019a43f6af95c3e3b42b264b7e1f01f10cebd7c05115e452a868dd176e5a0d65a9085ac3d554d69e553aa53569593ea494036f7c
 DIST zathura-0.5.2.tar.gz 208606 BLAKE2B fc7e8042a373a3fd66973fd5d6c7c3e7d6da884fb40269545e4074b42fdbc9b6f286089769a435394812e24a8b24de328521a2fd797bbb13c16115b112dd9a48 SHA512 17f2a6535b2b3c6f61986cd8a6ccdef2c1a129d8ebf8c86cbe3c8eac868c2780801f3fe2fdc17c429ca0c63a71a328bbb6c7f814f82714dd7f1a5a4728663b1f
+DIST zathura-0.5.3-manpages.tar.xz 10064 BLAKE2B f2d9988bfa1edf79b64be460c242ddf6fae15d84a6e0f8e25011962f24a3aca77a15ce285dc7e742693e28aff70da9f6f311f56ceafbda1439f2a6e347a973f8 SHA512 49269eca809a5c468f759991114a8beeeadb2e82b38c9126c89c63c2b90aa6a02624e5971c9d175c52abd724d23f48b05d03ba469397da5d12925ed8cdf11668
+DIST zathura-0.5.3.tar.gz 216701 BLAKE2B 0a39dc4d7f0d2ec36a9e52a8b9c606c56ed48cb9d37eb232303a596f386a9d980cef96e549efc461f577f286793861ee6654a72ebdfe8fbda25022e4ce38f657 SHA512 236dc981978d3fc7999be47d87d4ca9aaca03bfa1e069cd22c41bd93231248061faf7df62b2371dd28b17ec3f381ce2fff908f6b26ad211b529f51b9b1dabb53

diff --git a/app-text/zathura/files/zathura-0.5.3-disable-seccomp-tests.patch b/app-text/zathura/files/zathura-0.5.3-disable-seccomp-tests.patch
new file mode 100644
index 000000000000..1d9d0a59ca83
--- /dev/null
+++ b/app-text/zathura/files/zathura-0.5.3-disable-seccomp-tests.patch
@@ -0,0 +1,24 @@
+diff --git a/tests/meson.build b/tests/meson.build
+index d2bed1d..9dbb6df 100644
+--- a/tests/meson.build
++++ b/tests/meson.build
+@@ -44,18 +44,7 @@ if check.found()
+     test('session', xvfb,
+       args: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', session],
+       timeout: 60*60
+-    ) 
+-
+-    if seccomp.found()
+-    sandbox = executable('test_sandbox', ['test_sandbox.c', 'tests.c'],
+-      dependencies: build_dependencies + test_dependencies,
+-      include_directories: include_directories,
+-      c_args: defines + flags
+     )
+-    test('sandbox', xvfb,
+-      args: ['-a', '-s', '-screen 0 1400x900x24 -ac +extension GLX +render -noreset', sandbox],
+-      timeout: 60*60
+-    )
+-  endif
++
+   endif
+ endif

diff --git a/app-text/zathura/zathura-0.5.3.ebuild b/app-text/zathura/zathura-0.5.3.ebuild
new file mode 100644
index 000000000000..4874ec9d4c41
--- /dev/null
+++ b/app-text/zathura/zathura-0.5.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson virtualx xdg
+
+DESCRIPTION="A highly customizable and functional document viewer"
+HOMEPAGE="https://pwmt.org/projects/zathura/"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://git.pwmt.org/pwmt/${PN}.git"
+	EGIT_BRANCH="develop"
+else
+	SRC_URI="
+		https://github.com/pwmt/zathura/archive/${PV}.tar.gz -> ${P}.tar.gz
+		https://cdn.turret.cyou/e28b2f940d1a19a74ecbfd80ea4477c5ea9ac627/${P}-manpages.tar.xz
+	"
+	KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="ZLIB"
+SLOT="0/5.6"
+IUSE="seccomp sqlite synctex test"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-libs/girara-0.4.1
+	>=dev-libs/glib-2.50:2
+	dev-libs/json-glib
+	sys-apps/file
+	x11-libs/cairo
+	>=x11-libs/gtk+-3.22:3
+	seccomp? ( sys-libs/libseccomp )
+	sqlite? ( >=dev-db/sqlite-3.6.23:3 )
+	synctex? ( app-text/texlive-core )
+"
+DEPEND="
+	${RDEPEND}
+	test? (
+		dev-libs/check
+		x11-libs/gtk+[X]
+	)
+"
+BDEPEND="
+	>=sys-devel/gettext-0.19.8
+	virtual/pkgconfig
+"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-disable-seccomp-tests.patch
+)
+
+src_configure() {
+	local emesonargs=(
+		-Dconvert-icon=disabled
+		-Dmanpages=disabled
+		-Dseccomp=$(usex seccomp enabled disabled)
+		-Dsqlite=$(usex sqlite enabled disabled)
+		-Dsynctex=$(usex synctex enabled disabled)
+		)
+	meson_src_configure
+}
+
+src_test() {
+	virtx meson_src_test
+}
+
+src_install() {
+	meson_src_install
+	[[ ${PV} != *9999 ]] && doman "${WORKDIR}"/man/zathura*
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-21  4:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-21  4:02 [gentoo-commits] repo/gentoo:master commit in: app-text/zathura/files/, app-text/zathura/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-01-21  4:02 Sam James
2024-01-21  4:02 Sam James
2022-12-30 18:26 Piotr Karbowski
2019-04-28 18:15 Mikle Kolyada
2018-10-08 18:17 Mikle Kolyada
2017-01-24 15:54 Michael Weber
2016-01-28 16:05 Michael Weber
2016-01-12 17:38 Michael Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox