public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/gnome:gnome-next commit in: x11-libs/libcryptui/, x11-libs/libcryptui/files/
@ 2011-07-26  3:17 Alexandre Restovtsev
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Restovtsev @ 2011-07-26  3:17 UTC (permalink / raw
  To: gentoo-commits

commit:     a48e9972437925453cbce586701c3f533b25dda6
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Tue Jul 26 03:14:32 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Tue Jul 26 03:16:55 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=a48e9972

x11-libs/libcryptui: new package (formerly part of seahorse)

Starting with 3.1.4, upstream split libcryptui from seahorse into a
separate package. Add a patch to prevent file collisions with seahorse
(see gnome bug 655291).

---
 ...libcryptui-3.1.4-seahorse-file-collisions.patch |  105 ++++++++++++++++++++
 x11-libs/libcryptui/libcryptui-3.1.4.ebuild        |   80 +++++++++++++++
 x11-libs/libcryptui/libcryptui-9999.ebuild         |   80 +++++++++++++++
 3 files changed, 265 insertions(+), 0 deletions(-)

diff --git a/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch b/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
new file mode 100644
index 0000000..9ac2790
--- /dev/null
+++ b/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
@@ -0,0 +1,105 @@
+From 1638c5ddbaa8e55a1c212b739cc4dd12c8e264ff Mon Sep 17 00:00:00 2001
+From: Alexandre Rostovtsev <tetromino@gmail.com>
+Date: Mon, 25 Jul 2011 22:42:22 -0400
+Subject: [PATCH] Prevent file collisions between libcryptui and seahorse
+ (#655291)
+
+To prevent file collisions between seahorse and libcryptui:
+* install pixmaps in /usr/share/pixmaps/cryptui (and set pixmapsdir
+  to the correct value, so daemon/seahorse-gtkstock.c can actually
+  load them);
+* install ui files in /usr/share/cryptui/ui;
+* rename seahorse.schemas to cryptui.schemas;
+* use "cryptui" as the gettext translation domain.
+
+Addresses Gnome bug #655291.
+---
+ configure.ac                                     |    2 +-
+ daemon/Makefile.am                               |    4 ++--
+ data/Makefile.am                                 |    2 +-
+ data/{seahorse.schemas.in => cryptui.schemas.in} |    0
+ pixmaps/22x22/Makefile.am                        |    2 +-
+ pixmaps/48x48/Makefile.am                        |    2 +-
+ pixmaps/scalable/Makefile.am                     |    2 +-
+ 7 files changed, 7 insertions(+), 7 deletions(-)
+ rename data/{seahorse.schemas.in => cryptui.schemas.in} (100%)
+
+diff --git a/configure.ac b/configure.ac
+index 6d36575..d6741fd 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -325,7 +325,7 @@ dnl *******************
+ dnl ***** gettext *****
+ dnl *******************
+ 
+-GETTEXT_PACKAGE=seahorse
++GETTEXT_PACKAGE=cryptui
+ AC_SUBST(GETTEXT_PACKAGE)
+ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext domain.])
+ 
+diff --git a/daemon/Makefile.am b/daemon/Makefile.am
+index 08ff418..d214559 100644
+--- a/daemon/Makefile.am
++++ b/daemon/Makefile.am
+@@ -1,7 +1,7 @@
+ 
+ localedir = $(datadir)/locale
+-pixmapsdir = $(datadir)/pixmaps/
+-uidir = $(datadir)/seahorse/ui/
++pixmapsdir = $(datadir)/pixmaps/cryptui/
++uidir = $(datadir)/cryptui/ui/
+ 
+ INCLUDES = -I$(top_builddir) \
+ 	-I$(top_srcdir) \
+diff --git a/data/Makefile.am b/data/Makefile.am
+index d343d5f..d6e2d44 100644
+--- a/data/Makefile.am
++++ b/data/Makefile.am
+@@ -1,7 +1,7 @@
+ @INTLTOOL_SCHEMAS_RULE@
+ 
+ schemasdir = $(GCONF_SCHEMA_FILE_DIR)
+-schemas_in_files = seahorse.schemas.in
++schemas_in_files = cryptui.schemas.in
+ schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
+ 
+ if GCONF_SCHEMAS_INSTALL
+diff --git a/data/seahorse.schemas.in b/data/cryptui.schemas.in
+similarity index 100%
+rename from data/seahorse.schemas.in
+rename to data/cryptui.schemas.in
+diff --git a/pixmaps/22x22/Makefile.am b/pixmaps/22x22/Makefile.am
+index 60922ce..7fda357 100644
+--- a/pixmaps/22x22/Makefile.am
++++ b/pixmaps/22x22/Makefile.am
+@@ -1,5 +1,5 @@
+ 
+-icon22dir = $(datadir)/pixmaps/seahorse/22x22/
++icon22dir = $(datadir)/pixmaps/cryptui/22x22/
+ icon22_DATA =   seahorse-key.png \
+                 seahorse-key-personal.png \
+                 seahorse-key-ssh.png \
+diff --git a/pixmaps/48x48/Makefile.am b/pixmaps/48x48/Makefile.am
+index a91f86f..c908b1e 100644
+--- a/pixmaps/48x48/Makefile.am
++++ b/pixmaps/48x48/Makefile.am
+@@ -1,5 +1,5 @@
+ 
+-icon48dir = $(datadir)/pixmaps/seahorse/48x48/
++icon48dir = $(datadir)/pixmaps/cryptui/48x48/
+ icon48_DATA =   seahorse-key.png \
+                 seahorse-key-personal.png \
+                 seahorse-key-ssh.png \
+diff --git a/pixmaps/scalable/Makefile.am b/pixmaps/scalable/Makefile.am
+index e43463b..27c0d44 100644
+--- a/pixmaps/scalable/Makefile.am
++++ b/pixmaps/scalable/Makefile.am
+@@ -1,4 +1,4 @@
+-iconsvgdir = $(datadir)/pixmaps/seahorse/scalable/
++iconsvgdir = $(datadir)/pixmaps/cryptui/scalable/
+ iconsvg_DATA =  seahorse-key.svg \
+                 seahorse-key-personal.svg \
+                 seahorse-key-ssh.svg \
+-- 
+1.7.6
+

diff --git a/x11-libs/libcryptui/libcryptui-3.1.4.ebuild b/x11-libs/libcryptui/libcryptui-3.1.4.ebuild
new file mode 100644
index 0000000..31e51c3
--- /dev/null
+++ b/x11-libs/libcryptui/libcryptui-3.1.4.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit autotools eutils gnome2
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="User interface components for OpenPGP"
+HOMEPAGE="http://www.gnome.org/projects/seahorse/index.html"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+IUSE="debug doc +introspection libnotify test"
+if [[ ${PV} = 9999 ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+fi
+
+# Pull in libnotify-0.7 because it's controlled via an automagic ifdef
+COMMON_DEPEND="
+	>=gnome-base/gconf-2:2
+	>=dev-libs/glib-2.10:2
+	>=x11-libs/gtk+-2.90.0:3[introspection?]
+	>=dev-libs/dbus-glib-0.72
+	>=gnome-base/gnome-keyring-2.91.2
+
+	>=app-crypt/gpgme-1
+	|| (
+		=app-crypt/gnupg-2.0*
+		=app-crypt/gnupg-1.4* )
+
+	introspection? ( >=dev-libs/gobject-introspection-0.6.4 )
+	libnotify? ( >=x11-libs/libnotify-0.7.0 )
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	>=app-text/gnome-doc-utils-0.3.2
+	>=app-text/scrollkeeper-0.3
+	>=dev-util/pkgconfig-0.20
+	>=dev-util/intltool-0.35
+	doc? ( >=dev-util/gtk-doc-1.9 )
+"
+# Before 3.1.4, libcryptui was part of seahorse
+RDEPEND="${COMMON_DEPEND}
+	!!<app-crypt/seahorse-3.1.4
+"
+
+pkg_setup() {
+	G2CONF="${G2CONF}
+		--disable-static
+		--disable-scrollkeeper
+		--disable-update-mime-database
+		$(use_enable debug)
+		$(use_enable introspection)
+		$(use_enable libnotify)
+		$(use_enable test tests)"
+	DOCS="AUTHORS ChangeLog NEWS README"
+}
+
+src_prepare() {
+	# FIXME: Do not mess with CFLAGS with USE="debug"
+	sed -e '/CFLAGS="$CFLAGS -g -O0/d' \
+		-e 's/-Werror//' \
+		-i configure.ac configure || die "sed failed"
+
+	# Prevent file collisions with app-crypt/seahorse
+	# https://bugzilla.gnome.org/show_bug.cgi?id=655291
+	epatch "${FILESDIR}/${PN}-3.1.4-seahorse-file-collisions.patch"
+	mv data/seahorse.schemas.in data/cryptui.schemas.in || die "mv failed"
+	[[ ${PV} = 9999 ]] || eautoreconf
+
+	gnome2_src_prepare
+}

diff --git a/x11-libs/libcryptui/libcryptui-9999.ebuild b/x11-libs/libcryptui/libcryptui-9999.ebuild
new file mode 100644
index 0000000..31e51c3
--- /dev/null
+++ b/x11-libs/libcryptui/libcryptui-9999.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes"
+
+inherit autotools eutils gnome2
+if [[ ${PV} = 9999 ]]; then
+	inherit gnome2-live
+fi
+
+DESCRIPTION="User interface components for OpenPGP"
+HOMEPAGE="http://www.gnome.org/projects/seahorse/index.html"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+IUSE="debug doc +introspection libnotify test"
+if [[ ${PV} = 9999 ]]; then
+	KEYWORDS=""
+else
+	KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+fi
+
+# Pull in libnotify-0.7 because it's controlled via an automagic ifdef
+COMMON_DEPEND="
+	>=gnome-base/gconf-2:2
+	>=dev-libs/glib-2.10:2
+	>=x11-libs/gtk+-2.90.0:3[introspection?]
+	>=dev-libs/dbus-glib-0.72
+	>=gnome-base/gnome-keyring-2.91.2
+
+	>=app-crypt/gpgme-1
+	|| (
+		=app-crypt/gnupg-2.0*
+		=app-crypt/gnupg-1.4* )
+
+	introspection? ( >=dev-libs/gobject-introspection-0.6.4 )
+	libnotify? ( >=x11-libs/libnotify-0.7.0 )
+"
+DEPEND="${COMMON_DEPEND}
+	sys-devel/gettext
+	>=app-text/gnome-doc-utils-0.3.2
+	>=app-text/scrollkeeper-0.3
+	>=dev-util/pkgconfig-0.20
+	>=dev-util/intltool-0.35
+	doc? ( >=dev-util/gtk-doc-1.9 )
+"
+# Before 3.1.4, libcryptui was part of seahorse
+RDEPEND="${COMMON_DEPEND}
+	!!<app-crypt/seahorse-3.1.4
+"
+
+pkg_setup() {
+	G2CONF="${G2CONF}
+		--disable-static
+		--disable-scrollkeeper
+		--disable-update-mime-database
+		$(use_enable debug)
+		$(use_enable introspection)
+		$(use_enable libnotify)
+		$(use_enable test tests)"
+	DOCS="AUTHORS ChangeLog NEWS README"
+}
+
+src_prepare() {
+	# FIXME: Do not mess with CFLAGS with USE="debug"
+	sed -e '/CFLAGS="$CFLAGS -g -O0/d' \
+		-e 's/-Werror//' \
+		-i configure.ac configure || die "sed failed"
+
+	# Prevent file collisions with app-crypt/seahorse
+	# https://bugzilla.gnome.org/show_bug.cgi?id=655291
+	epatch "${FILESDIR}/${PN}-3.1.4-seahorse-file-collisions.patch"
+	mv data/seahorse.schemas.in data/cryptui.schemas.in || die "mv failed"
+	[[ ${PV} = 9999 ]] || eautoreconf
+
+	gnome2_src_prepare
+}



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

* [gentoo-commits] proj/gnome:gnome-next commit in: x11-libs/libcryptui/, x11-libs/libcryptui/files/
@ 2011-07-27 20:06 Alexandre Restovtsev
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Restovtsev @ 2011-07-27 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     f2e17501daf9de9695e3beaf9461e8583550ddbc
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Wed Jul 27 20:04:35 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Wed Jul 27 20:04:35 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=f2e17501

x11-libs/libcryptui: update file collision patch

Update file collision patch to the version committed in upstream git
master. Applying the patch in the live ebuild is no longer necessary.

---
 ...libcryptui-3.1.4-seahorse-file-collisions.patch |  119 ++++++++++++++++----
 x11-libs/libcryptui/libcryptui-3.1.4.ebuild        |    4 +-
 x11-libs/libcryptui/libcryptui-9999.ebuild         |    6 -
 3 files changed, 100 insertions(+), 29 deletions(-)

diff --git a/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch b/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
index 9ac2790..bf15598 100644
--- a/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
+++ b/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
@@ -1,8 +1,7 @@
-From 1638c5ddbaa8e55a1c212b739cc4dd12c8e264ff Mon Sep 17 00:00:00 2001
+From af96725589fabe41b348c6f5473122b7b0771184 Mon Sep 17 00:00:00 2001
 From: Alexandre Rostovtsev <tetromino@gmail.com>
-Date: Mon, 25 Jul 2011 22:42:22 -0400
-Subject: [PATCH] Prevent file collisions between libcryptui and seahorse
- (#655291)
+Date: Tue, 26 Jul 2011 02:42:22 +0000
+Subject: Prevent file collisions between libcryptui and seahorse (#655291)
 
 To prevent file collisions between seahorse and libcryptui:
 * install pixmaps in /usr/share/pixmaps/cryptui (and set pixmapsdir
@@ -14,18 +13,8 @@ To prevent file collisions between seahorse and libcryptui:
 
 Addresses Gnome bug #655291.
 ---
- configure.ac                                     |    2 +-
- daemon/Makefile.am                               |    4 ++--
- data/Makefile.am                                 |    2 +-
- data/{seahorse.schemas.in => cryptui.schemas.in} |    0
- pixmaps/22x22/Makefile.am                        |    2 +-
- pixmaps/48x48/Makefile.am                        |    2 +-
- pixmaps/scalable/Makefile.am                     |    2 +-
- 7 files changed, 7 insertions(+), 7 deletions(-)
- rename data/{seahorse.schemas.in => cryptui.schemas.in} (100%)
-
 diff --git a/configure.ac b/configure.ac
-index 6d36575..d6741fd 100644
+index 200be7f..2c0e121 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -325,7 +325,7 @@ dnl *******************
@@ -65,9 +54,85 @@ index d343d5f..d6e2d44 100644
  
  if GCONF_SCHEMAS_INSTALL
 diff --git a/data/seahorse.schemas.in b/data/cryptui.schemas.in
-similarity index 100%
-rename from data/seahorse.schemas.in
-rename to data/cryptui.schemas.in
+index 95ca661..d90cbd1 100644
+--- a/data/seahorse.schemas.in
++++ b/data/cryptui.schemas.in
+@@ -8,7 +8,7 @@
+ 			<default>FALSE</default>
+ 			<locale name="C">
+ 				<short>Enable DNS-SD sharing</short>
+-                <long>Enables DNS-SD (Apple Bonjour) sharing of keys. seahorse-daemon 
++                <long>Enables DNS-SD (Apple Bonjour) sharing of keys. seahorse-daemon
+                 must be running and must be built with HKP and DNS-SD support.</long>
+ 			</locale>
+ 		</schema>
+@@ -115,8 +115,8 @@
+ 			<locale name="C">
+ 				<short>The column to sort the seahorse keys by</short>
+ 				<long>Specify the column to sort the seahorse key manager main
+-				window by. Columns are: 'name', 'id', 'validity', 'expires', 
+-				'trust', and 'type'. Put a '-' in front of the column name to 
++				window by. Columns are: 'name', 'id', 'validity', 'expires',
++				'trust', and 'type'. Put a '-' in front of the column name to
+                 sort in descending order.</long>
+ 			</locale>
+ 		</schema>
+@@ -128,8 +128,8 @@
+             <default>name</default>
+             <locale name="C">
+                 <short>The column to sort the recipients by</short>
+-                <long>Specify the column to sort the recipients window by. 
+-                Columns are: 'name' and 'id'. Put a '-' in front of the 
++                <long>Specify the column to sort the recipients window by.
++                Columns are: 'name' and 'id'. Put a '-' in front of the
+                 column name to sort in descending order.</long>
+             </locale>
+         </schema>
+@@ -143,7 +143,7 @@
+ 			<locale name="C">
+ 				<short>PGP Key servers</short>
+ 				<long>A list of key server URIs to search for remote PGP keys.
+-				In later versions a display name can be included, by appending a 
++				In later versions a display name can be included, by appending a
+ 				space and then the name.</long>
+ 			</locale>
+ 		</schema>
+@@ -155,7 +155,7 @@
+             <default>false</default>
+             <locale name="C">
+                 <short>Auto Retrieve Keys</short>
+-                <long>Whether or not keys should be automatically retrieved from key 
++                <long>Whether or not keys should be automatically retrieved from key
+                 servers.</long>
+             </locale>
+         </schema>
+@@ -193,19 +193,19 @@
+ 				<short>Last key server search pattern</short>
+ 				<long>The last search pattern searched for against a key server.</long>
+ 			</locale>
+-		</schema>	
++		</schema>
+         <schema>
+ 			<key>/schemas/desktop/pgp/keyservers/search_keyservers</key>
+ 			<applyto>/desktop/pgp/keyservers/search_keyservers</applyto>
+- 			<owner>seahorse</owner>
++			<owner>seahorse</owner>
+ 			<type>list</type>
+             <list_type>string</list_type>
+- 			<default>[]</default>
+- 			<locale name="C">
++			<default>[]</default>
++			<locale name="C">
+ 				<short>Last key servers used</short>
+- 				<long>The last key server a search was performed against 
+- 				or empty for all key servers.</long>
+- 			</locale>
++				<long>The last key server a search was performed against
++				or empty for all key servers.</long>
++			</locale>
+         </schema>
+ 	</schemalist>
+ </gconfschemafile>
 diff --git a/pixmaps/22x22/Makefile.am b/pixmaps/22x22/Makefile.am
 index 60922ce..7fda357 100644
 --- a/pixmaps/22x22/Makefile.am
@@ -100,6 +165,18 @@ index e43463b..27c0d44 100644
  iconsvg_DATA =  seahorse-key.svg \
                  seahorse-key-personal.svg \
                  seahorse-key-ssh.svg \
--- 
-1.7.6
-
+diff --git a/po/POTFILES.in b/po/POTFILES.in
+index 95c1137..7e2db04 100644
+--- a/po/POTFILES.in
++++ b/po/POTFILES.in
+@@ -25,7 +25,7 @@ daemon/seahorse-unknown-source.c
+ daemon/seahorse-util.c
+ daemon/seahorse-validity.c
+ daemon/seahorse-widget.c
+-data/seahorse.schemas.in
++data/cryptui.schemas.in
+ libcryptui/cryptui.c
+ libcryptui/cryptui-key-chooser.c
+ libcryptui/cryptui-key-list.c
+--
+cgit v0.9

diff --git a/x11-libs/libcryptui/libcryptui-3.1.4.ebuild b/x11-libs/libcryptui/libcryptui-3.1.4.ebuild
index 31e51c3..d921938 100644
--- a/x11-libs/libcryptui/libcryptui-3.1.4.ebuild
+++ b/x11-libs/libcryptui/libcryptui-3.1.4.ebuild
@@ -70,9 +70,9 @@ src_prepare() {
 		-e 's/-Werror//' \
 		-i configure.ac configure || die "sed failed"
 
-	# Prevent file collisions with app-crypt/seahorse
+	# Prevent file collisions with app-crypt/seahorse, will be in next release
 	# https://bugzilla.gnome.org/show_bug.cgi?id=655291
-	epatch "${FILESDIR}/${PN}-3.1.4-seahorse-file-collisions.patch"
+	epatch "${FILESDIR}/${P}-seahorse-file-collisions.patch"
 	mv data/seahorse.schemas.in data/cryptui.schemas.in || die "mv failed"
 	[[ ${PV} = 9999 ]] || eautoreconf
 

diff --git a/x11-libs/libcryptui/libcryptui-9999.ebuild b/x11-libs/libcryptui/libcryptui-9999.ebuild
index 31e51c3..478d042 100644
--- a/x11-libs/libcryptui/libcryptui-9999.ebuild
+++ b/x11-libs/libcryptui/libcryptui-9999.ebuild
@@ -70,11 +70,5 @@ src_prepare() {
 		-e 's/-Werror//' \
 		-i configure.ac configure || die "sed failed"
 
-	# Prevent file collisions with app-crypt/seahorse
-	# https://bugzilla.gnome.org/show_bug.cgi?id=655291
-	epatch "${FILESDIR}/${PN}-3.1.4-seahorse-file-collisions.patch"
-	mv data/seahorse.schemas.in data/cryptui.schemas.in || die "mv failed"
-	[[ ${PV} = 9999 ]] || eautoreconf
-
 	gnome2_src_prepare
 }



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

* [gentoo-commits] proj/gnome:gnome-next commit in: x11-libs/libcryptui/, x11-libs/libcryptui/files/
@ 2011-09-28  0:43 Alexandre Restovtsev
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Restovtsev @ 2011-09-28  0:43 UTC (permalink / raw
  To: gentoo-commits

commit:     943f9f37098ec3e2ab26097e427c4e9c4eb50e57
Author:     Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
AuthorDate: Wed Sep 28 00:27:46 2011 +0000
Commit:     Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
CommitDate: Wed Sep 28 00:27:46 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=943f9f37

x11-libs/libcryptui: 3.1.4 → 3.2.0

Bump. Now uses gsettings instead of gconf. Patch was applied upstream.

---
 ...libcryptui-3.1.4-seahorse-file-collisions.patch |  182 --------------------
 ...ryptui-3.1.4.ebuild => libcryptui-3.2.0.ebuild} |   10 +-
 x11-libs/libcryptui/libcryptui-9999.ebuild         |    4 +-
 3 files changed, 2 insertions(+), 194 deletions(-)

diff --git a/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch b/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
deleted file mode 100644
index bf15598..0000000
--- a/x11-libs/libcryptui/files/libcryptui-3.1.4-seahorse-file-collisions.patch
+++ /dev/null
@@ -1,182 +0,0 @@
-From af96725589fabe41b348c6f5473122b7b0771184 Mon Sep 17 00:00:00 2001
-From: Alexandre Rostovtsev <tetromino@gmail.com>
-Date: Tue, 26 Jul 2011 02:42:22 +0000
-Subject: Prevent file collisions between libcryptui and seahorse (#655291)
-
-To prevent file collisions between seahorse and libcryptui:
-* install pixmaps in /usr/share/pixmaps/cryptui (and set pixmapsdir
-  to the correct value, so daemon/seahorse-gtkstock.c can actually
-  load them);
-* install ui files in /usr/share/cryptui/ui;
-* rename seahorse.schemas to cryptui.schemas;
-* use "cryptui" as the gettext translation domain.
-
-Addresses Gnome bug #655291.
----
-diff --git a/configure.ac b/configure.ac
-index 200be7f..2c0e121 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -325,7 +325,7 @@ dnl *******************
- dnl ***** gettext *****
- dnl *******************
- 
--GETTEXT_PACKAGE=seahorse
-+GETTEXT_PACKAGE=cryptui
- AC_SUBST(GETTEXT_PACKAGE)
- AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Name of the gettext domain.])
- 
-diff --git a/daemon/Makefile.am b/daemon/Makefile.am
-index 08ff418..d214559 100644
---- a/daemon/Makefile.am
-+++ b/daemon/Makefile.am
-@@ -1,7 +1,7 @@
- 
- localedir = $(datadir)/locale
--pixmapsdir = $(datadir)/pixmaps/
--uidir = $(datadir)/seahorse/ui/
-+pixmapsdir = $(datadir)/pixmaps/cryptui/
-+uidir = $(datadir)/cryptui/ui/
- 
- INCLUDES = -I$(top_builddir) \
- 	-I$(top_srcdir) \
-diff --git a/data/Makefile.am b/data/Makefile.am
-index d343d5f..d6e2d44 100644
---- a/data/Makefile.am
-+++ b/data/Makefile.am
-@@ -1,7 +1,7 @@
- @INTLTOOL_SCHEMAS_RULE@
- 
- schemasdir = $(GCONF_SCHEMA_FILE_DIR)
--schemas_in_files = seahorse.schemas.in
-+schemas_in_files = cryptui.schemas.in
- schemas_DATA = $(schemas_in_files:.schemas.in=.schemas)
- 
- if GCONF_SCHEMAS_INSTALL
-diff --git a/data/seahorse.schemas.in b/data/cryptui.schemas.in
-index 95ca661..d90cbd1 100644
---- a/data/seahorse.schemas.in
-+++ b/data/cryptui.schemas.in
-@@ -8,7 +8,7 @@
- 			<default>FALSE</default>
- 			<locale name="C">
- 				<short>Enable DNS-SD sharing</short>
--                <long>Enables DNS-SD (Apple Bonjour) sharing of keys. seahorse-daemon 
-+                <long>Enables DNS-SD (Apple Bonjour) sharing of keys. seahorse-daemon
-                 must be running and must be built with HKP and DNS-SD support.</long>
- 			</locale>
- 		</schema>
-@@ -115,8 +115,8 @@
- 			<locale name="C">
- 				<short>The column to sort the seahorse keys by</short>
- 				<long>Specify the column to sort the seahorse key manager main
--				window by. Columns are: 'name', 'id', 'validity', 'expires', 
--				'trust', and 'type'. Put a '-' in front of the column name to 
-+				window by. Columns are: 'name', 'id', 'validity', 'expires',
-+				'trust', and 'type'. Put a '-' in front of the column name to
-                 sort in descending order.</long>
- 			</locale>
- 		</schema>
-@@ -128,8 +128,8 @@
-             <default>name</default>
-             <locale name="C">
-                 <short>The column to sort the recipients by</short>
--                <long>Specify the column to sort the recipients window by. 
--                Columns are: 'name' and 'id'. Put a '-' in front of the 
-+                <long>Specify the column to sort the recipients window by.
-+                Columns are: 'name' and 'id'. Put a '-' in front of the
-                 column name to sort in descending order.</long>
-             </locale>
-         </schema>
-@@ -143,7 +143,7 @@
- 			<locale name="C">
- 				<short>PGP Key servers</short>
- 				<long>A list of key server URIs to search for remote PGP keys.
--				In later versions a display name can be included, by appending a 
-+				In later versions a display name can be included, by appending a
- 				space and then the name.</long>
- 			</locale>
- 		</schema>
-@@ -155,7 +155,7 @@
-             <default>false</default>
-             <locale name="C">
-                 <short>Auto Retrieve Keys</short>
--                <long>Whether or not keys should be automatically retrieved from key 
-+                <long>Whether or not keys should be automatically retrieved from key
-                 servers.</long>
-             </locale>
-         </schema>
-@@ -193,19 +193,19 @@
- 				<short>Last key server search pattern</short>
- 				<long>The last search pattern searched for against a key server.</long>
- 			</locale>
--		</schema>	
-+		</schema>
-         <schema>
- 			<key>/schemas/desktop/pgp/keyservers/search_keyservers</key>
- 			<applyto>/desktop/pgp/keyservers/search_keyservers</applyto>
-- 			<owner>seahorse</owner>
-+			<owner>seahorse</owner>
- 			<type>list</type>
-             <list_type>string</list_type>
-- 			<default>[]</default>
-- 			<locale name="C">
-+			<default>[]</default>
-+			<locale name="C">
- 				<short>Last key servers used</short>
-- 				<long>The last key server a search was performed against 
-- 				or empty for all key servers.</long>
-- 			</locale>
-+				<long>The last key server a search was performed against
-+				or empty for all key servers.</long>
-+			</locale>
-         </schema>
- 	</schemalist>
- </gconfschemafile>
-diff --git a/pixmaps/22x22/Makefile.am b/pixmaps/22x22/Makefile.am
-index 60922ce..7fda357 100644
---- a/pixmaps/22x22/Makefile.am
-+++ b/pixmaps/22x22/Makefile.am
-@@ -1,5 +1,5 @@
- 
--icon22dir = $(datadir)/pixmaps/seahorse/22x22/
-+icon22dir = $(datadir)/pixmaps/cryptui/22x22/
- icon22_DATA =   seahorse-key.png \
-                 seahorse-key-personal.png \
-                 seahorse-key-ssh.png \
-diff --git a/pixmaps/48x48/Makefile.am b/pixmaps/48x48/Makefile.am
-index a91f86f..c908b1e 100644
---- a/pixmaps/48x48/Makefile.am
-+++ b/pixmaps/48x48/Makefile.am
-@@ -1,5 +1,5 @@
- 
--icon48dir = $(datadir)/pixmaps/seahorse/48x48/
-+icon48dir = $(datadir)/pixmaps/cryptui/48x48/
- icon48_DATA =   seahorse-key.png \
-                 seahorse-key-personal.png \
-                 seahorse-key-ssh.png \
-diff --git a/pixmaps/scalable/Makefile.am b/pixmaps/scalable/Makefile.am
-index e43463b..27c0d44 100644
---- a/pixmaps/scalable/Makefile.am
-+++ b/pixmaps/scalable/Makefile.am
-@@ -1,4 +1,4 @@
--iconsvgdir = $(datadir)/pixmaps/seahorse/scalable/
-+iconsvgdir = $(datadir)/pixmaps/cryptui/scalable/
- iconsvg_DATA =  seahorse-key.svg \
-                 seahorse-key-personal.svg \
-                 seahorse-key-ssh.svg \
-diff --git a/po/POTFILES.in b/po/POTFILES.in
-index 95c1137..7e2db04 100644
---- a/po/POTFILES.in
-+++ b/po/POTFILES.in
-@@ -25,7 +25,7 @@ daemon/seahorse-unknown-source.c
- daemon/seahorse-util.c
- daemon/seahorse-validity.c
- daemon/seahorse-widget.c
--data/seahorse.schemas.in
-+data/cryptui.schemas.in
- libcryptui/cryptui.c
- libcryptui/cryptui-key-chooser.c
- libcryptui/cryptui-key-list.c
---
-cgit v0.9

diff --git a/x11-libs/libcryptui/libcryptui-3.1.4.ebuild b/x11-libs/libcryptui/libcryptui-3.2.0.ebuild
similarity index 81%
rename from x11-libs/libcryptui/libcryptui-3.1.4.ebuild
rename to x11-libs/libcryptui/libcryptui-3.2.0.ebuild
index d921938..67fcc3c 100644
--- a/x11-libs/libcryptui/libcryptui-3.1.4.ebuild
+++ b/x11-libs/libcryptui/libcryptui-3.2.0.ebuild
@@ -6,7 +6,7 @@ EAPI="4"
 GCONF_DEBUG="yes"
 GNOME2_LA_PUNT="yes"
 
-inherit autotools eutils gnome2
+inherit gnome2
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
@@ -25,7 +25,6 @@ fi
 
 # Pull in libnotify-0.7 because it's controlled via an automagic ifdef
 COMMON_DEPEND="
-	>=gnome-base/gconf-2:2
 	>=dev-libs/glib-2.10:2
 	>=x11-libs/gtk+-2.90.0:3[introspection?]
 	>=dev-libs/dbus-glib-0.72
@@ -41,7 +40,6 @@ COMMON_DEPEND="
 "
 DEPEND="${COMMON_DEPEND}
 	sys-devel/gettext
-	>=app-text/gnome-doc-utils-0.3.2
 	>=app-text/scrollkeeper-0.3
 	>=dev-util/pkgconfig-0.20
 	>=dev-util/intltool-0.35
@@ -70,11 +68,5 @@ src_prepare() {
 		-e 's/-Werror//' \
 		-i configure.ac configure || die "sed failed"
 
-	# Prevent file collisions with app-crypt/seahorse, will be in next release
-	# https://bugzilla.gnome.org/show_bug.cgi?id=655291
-	epatch "${FILESDIR}/${P}-seahorse-file-collisions.patch"
-	mv data/seahorse.schemas.in data/cryptui.schemas.in || die "mv failed"
-	[[ ${PV} = 9999 ]] || eautoreconf
-
 	gnome2_src_prepare
 }

diff --git a/x11-libs/libcryptui/libcryptui-9999.ebuild b/x11-libs/libcryptui/libcryptui-9999.ebuild
index 478d042..67fcc3c 100644
--- a/x11-libs/libcryptui/libcryptui-9999.ebuild
+++ b/x11-libs/libcryptui/libcryptui-9999.ebuild
@@ -6,7 +6,7 @@ EAPI="4"
 GCONF_DEBUG="yes"
 GNOME2_LA_PUNT="yes"
 
-inherit autotools eutils gnome2
+inherit gnome2
 if [[ ${PV} = 9999 ]]; then
 	inherit gnome2-live
 fi
@@ -25,7 +25,6 @@ fi
 
 # Pull in libnotify-0.7 because it's controlled via an automagic ifdef
 COMMON_DEPEND="
-	>=gnome-base/gconf-2:2
 	>=dev-libs/glib-2.10:2
 	>=x11-libs/gtk+-2.90.0:3[introspection?]
 	>=dev-libs/dbus-glib-0.72
@@ -41,7 +40,6 @@ COMMON_DEPEND="
 "
 DEPEND="${COMMON_DEPEND}
 	sys-devel/gettext
-	>=app-text/gnome-doc-utils-0.3.2
 	>=app-text/scrollkeeper-0.3
 	>=dev-util/pkgconfig-0.20
 	>=dev-util/intltool-0.35



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

end of thread, other threads:[~2011-09-28  0:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-26  3:17 [gentoo-commits] proj/gnome:gnome-next commit in: x11-libs/libcryptui/, x11-libs/libcryptui/files/ Alexandre Restovtsev
  -- strict thread matches above, loose matches on Subject: below --
2011-07-27 20:06 Alexandre Restovtsev
2011-09-28  0:43 Alexandre Restovtsev

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