public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-misc/revelation/files/, x11-misc/revelation/
@ 2019-04-28 18:35 Hans de Graaff
  0 siblings, 0 replies; 3+ messages in thread
From: Hans de Graaff @ 2019-04-28 18:35 UTC (permalink / raw
  To: gentoo-commits

commit:     74e583808c7ca2affd74d80929d4e8805f8a5f12
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 28 18:34:44 2019 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Apr 28 18:35:00 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74e58380

x11-misc/revelation: drop dep on libgnome-python

This library is not actually used in the source so drop it from
configure and dependencies. Patch from archlinux found by pacho.

Bug: https://bugs.gentoo.org/640054
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 .../files/revelation-0.4.14-gnome-python.patch     | 28 ++++++++++++
 x11-misc/revelation/revelation-0.4.14-r3.ebuild    | 50 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/x11-misc/revelation/files/revelation-0.4.14-gnome-python.patch b/x11-misc/revelation/files/revelation-0.4.14-gnome-python.patch
new file mode 100644
index 00000000000..82a02fb259b
--- /dev/null
+++ b/x11-misc/revelation/files/revelation-0.4.14-gnome-python.patch
@@ -0,0 +1,28 @@
+From dffb8b7722865a82c3a5d7ce9615b6da2313d583 Mon Sep 17 00:00:00 2001
+Message-Id: <dffb8b7722865a82c3a5d7ce9615b6da2313d583.1486417682.git.tommyhebb@gmail.com>
+From: Thomas Hebb <tommyhebb@gmail.com>
+Date: Mon, 6 Feb 2017 21:44:06 +0000
+Subject: [PATCH] Remove deprecated gnome-python dependency from configure.ac
+
+The code has not depended on the module for many years (the module was
+removed in 125cf9dc28f95617fc3b37bc29a714f708b7d2ef); however, the
+configure script was never updated to match.
+---
+ configure.ac | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index bdfae2a..5b6ad72 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -19,7 +19,6 @@ RVL_FDO_MIME()
+ RVL_PYTHON_MODULE(Crypto, yes)
+ RVL_PYTHON_MODULE(gconf, yes)
+ RVL_PYTHON_MODULE(gtk, yes)
+-RVL_PYTHON_MODULE(gnome, yes)
+ RVL_PYTHON_MODULE(gio, yes)
+ RVL_PYTHON_MODULE(gobject, yes)
+ RVL_PYTHON_MODULE(pango, yes)
+-- 
+2.11.1
+

diff --git a/x11-misc/revelation/revelation-0.4.14-r3.ebuild b/x11-misc/revelation/revelation-0.4.14-r3.ebuild
new file mode 100644
index 00000000000..268f3053c26
--- /dev/null
+++ b/x11-misc/revelation/revelation-0.4.14-r3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 autotools gnome2
+
+DESCRIPTION="A password manager for GNOME"
+HOMEPAGE="https://revelation.olasagasti.info/"
+SRC_URI="https://www.bitbucket.org/erikg/revelation/downloads/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-python/pygtk[${PYTHON_USEDEP}]
+	dev-python/pycryptodome[${PYTHON_USEDEP}]
+	dev-python/gconf-python[${PYTHON_USEDEP}]
+	dev-python/dbus-python[${PYTHON_USEDEP}]
+	sys-libs/cracklib[python,${PYTHON_USEDEP}]
+"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	epatch "${FILESDIR}/${P}-random.patch" \
+		   "${FILESDIR}/${P}-xor.patch" \
+		   "${FILESDIR}/${P}-gnome-python.patch"
+	eapply_user
+	eautoreconf
+}
+
+src_configure() {
+	gnome2_src_configure \
+		--without-applet \
+		--disable-desktop-update \
+		--disable-mime-update
+}
+
+src_install() {
+	gnome2_src_install
+	python_fix_shebang "${ED}"
+}


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

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/revelation/files/, x11-misc/revelation/
@ 2022-04-22  2:00 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2022-04-22  2:00 UTC (permalink / raw
  To: gentoo-commits

commit:     3496474bbc48fe59838518b04cf274c5c8b47ae7
Author:     Jay Faulkner <jay <AT> jvf <DOT> cc>
AuthorDate: Fri Apr 22 01:58:15 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 22 02:00:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3496474b

x11-misc/revelation: Fix build for =>meson-0.60

Patches out a deprecated use of positional argument in
i18n.merge_files to ensure build can succeed on
meson 0.60 and newer. This change should not break support
for meson 0.59.4, as this usage was already deprecated but
only throwing warnings at that release.

https://github.com/mikelolasagasti/revelation/issues/87

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jay Faulkner <jay <AT> jvf.cc>
Closes: https://github.com/gentoo/gentoo/pull/25146
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/revelation-0.5.4-issue87-fix-meson-0.60.patch       | 11 +++++++++++
 x11-misc/revelation/revelation-0.5.4-r1.ebuild                |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch b/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch
new file mode 100644
index 000000000000..4a224fc529d1
--- /dev/null
+++ b/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch
@@ -0,0 +1,11 @@
+https://github.com/mikelolasagasti/revelation/issues/87
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -59,7 +59,6 @@ rvl_appstreamdir = join_paths(rvl_datadir, 'metainfo')
+ 
+ # Merge the translations with the appdata file
+ i18n.merge_file(
+-  appdata,
+   input: appdata + '.in',
+   output: appdata,
+   po_dir: join_paths(meson.source_root(), 'po'),

diff --git a/x11-misc/revelation/revelation-0.5.4-r1.ebuild b/x11-misc/revelation/revelation-0.5.4-r1.ebuild
index 61972b294f01..ef1516172cbe 100644
--- a/x11-misc/revelation/revelation-0.5.4-r1.ebuild
+++ b/x11-misc/revelation/revelation-0.5.4-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -33,6 +33,8 @@ RDEPEND="${PYTHON_DEPS}
 
 DEPEND="${RDEPEND}"
 
+PATCHES=( "${FILESDIR}"/revelation-0.5.4-issue87-fix-meson-0.60.patch )
+
 src_prepare() {
 	find -name '*.py' -exec \
 		sed -i -e 's:Cryptodome:Crypto:' meson.build {} + || die


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

* [gentoo-commits] repo/gentoo:master commit in: x11-misc/revelation/files/, x11-misc/revelation/
@ 2023-05-01 12:49 Sam James
  0 siblings, 0 replies; 3+ messages in thread
From: Sam James @ 2023-05-01 12:49 UTC (permalink / raw
  To: gentoo-commits

commit:     928a1d9c161d9fad628544562bc1afd7f5ced417
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May  1 12:48:35 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May  1 12:49:02 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=928a1d9c

x11-misc/revelation: drop 0.5.4-r1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-misc/revelation/Manifest                       |  1 -
 .../revelation-0.5.4-issue87-fix-meson-0.60.patch  | 11 ----
 x11-misc/revelation/revelation-0.5.4-r1.ebuild     | 58 ----------------------
 3 files changed, 70 deletions(-)

diff --git a/x11-misc/revelation/Manifest b/x11-misc/revelation/Manifest
index 62230acdf449..26dedb4a157d 100644
--- a/x11-misc/revelation/Manifest
+++ b/x11-misc/revelation/Manifest
@@ -1,2 +1 @@
-DIST revelation-0.5.4.tar.xz 282600 BLAKE2B 519b01252b82acf0e927a9d19783792f83822cc1f1a4c3be4af3678d5446f8012d993e12397f44aae616aca88257970de7391a1269e24cc1ebc08275d0c962ed SHA512 bd536f6c03e443d91a20606765b661dc54f3e4c1f45d060d3829a894a31e553a61785bb31d7508267abd66e057fc1d93f1716ed1b553566d92a2580ad696606f
 DIST revelation-0.5.5.tar.xz 282252 BLAKE2B 7c4c430d24d79b820139dd2b4989dc2d78c967b16c864149d2aafa9e91ddc26a3351f42b5782812202f77a36529c46d9515cc1aea73346c7e8e017079b810a7d SHA512 17bfeda87e27c00f12bc068446d053cee394282e5eabea6d075ac262b5f400f31520d2f9b29f99097d1d6ad72bbcf5d2d9d4da2a0eba2806ff0adbf1bb47bb0f

diff --git a/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch b/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch
deleted file mode 100644
index 4a224fc529d1..000000000000
--- a/x11-misc/revelation/files/revelation-0.5.4-issue87-fix-meson-0.60.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-https://github.com/mikelolasagasti/revelation/issues/87
---- a/data/meson.build
-+++ b/data/meson.build
-@@ -59,7 +59,6 @@ rvl_appstreamdir = join_paths(rvl_datadir, 'metainfo')
- 
- # Merge the translations with the appdata file
- i18n.merge_file(
--  appdata,
-   input: appdata + '.in',
-   output: appdata,
-   po_dir: join_paths(meson.source_root(), 'po'),

diff --git a/x11-misc/revelation/revelation-0.5.4-r1.ebuild b/x11-misc/revelation/revelation-0.5.4-r1.ebuild
deleted file mode 100644
index ff85436ffe63..000000000000
--- a/x11-misc/revelation/revelation-0.5.4-r1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_9 )
-
-inherit gnome2-utils python-single-r1 meson xdg
-
-DESCRIPTION="A password manager for GNOME"
-HOMEPAGE="https://revelation.olasagasti.info/ https://github.com/mikelolasagasti/revelation"
-SRC_URI="https://github.com/mikelolasagasti/revelation/releases/download/${P}/${P}.tar.xz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-# Upstream does not provide any test suite.
-RESTRICT="test"
-
-RDEPEND="${PYTHON_DEPS}
-	$(python_gen_cond_dep '
-		dev-python/pycryptodome[${PYTHON_USEDEP}]
-		dev-python/pygobject[${PYTHON_USEDEP}]
-		dev-libs/libpwquality[python,${PYTHON_USEDEP}]
-	')
-	x11-libs/gtk+:3
-	dev-libs/glib
-	dev-libs/gobject-introspection
-"
-
-DEPEND="${RDEPEND}"
-
-PATCHES=( "${FILESDIR}"/revelation-0.5.4-issue87-fix-meson-0.60.patch )
-
-src_prepare() {
-	find -name '*.py' -exec \
-		sed -i -e 's:Cryptodome:Crypto:' meson.build {} + || die
-	xdg_src_prepare
-}
-
-src_install() {
-	meson_src_install
-	python_fix_shebang "${ED}"
-	python_optimize
-}
-
-pkg_postinst() {
-	xdg_pkg_postinst
-	gnome2_schemas_update
-}
-
-pkg_postrm() {
-	xdg_pkg_postrm
-	gnome2_schemas_update
-}


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

end of thread, other threads:[~2023-05-01 12:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-28 18:35 [gentoo-commits] repo/gentoo:master commit in: x11-misc/revelation/files/, x11-misc/revelation/ Hans de Graaff
  -- strict thread matches above, loose matches on Subject: below --
2022-04-22  2:00 Sam James
2023-05-01 12:49 Sam James

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