public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/eva:master commit in: app-crypt/gnomint/files/, app-crypt/gnomint/
@ 2012-10-26 18:18 Gilles Dartiguelongue
  0 siblings, 0 replies; only message in thread
From: Gilles Dartiguelongue @ 2012-10-26 18:18 UTC (permalink / raw
  To: gentoo-commits

commit:     25864e03b9961718d2e3bb617deaece802d6a1c2
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 26 15:28:53 2012 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Fri Oct 26 15:28:53 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/eva.git;a=commit;h=25864e03

app-crypt/gnomint: fix missing gcrypt references

---
 app-crypt/gnomint/Manifest                         |    8 ++--
 .../files/gnomint-1.2.1-add-missing-gcrypt.patch   |   50 ++++++++++++++++++++
 app-crypt/gnomint/gnomint-1.2.1.ebuild             |   16 ++++--
 3 files changed, 65 insertions(+), 9 deletions(-)

diff --git a/app-crypt/gnomint/Manifest b/app-crypt/gnomint/Manifest
index 565c3cb..405ed48 100644
--- a/app-crypt/gnomint/Manifest
+++ b/app-crypt/gnomint/Manifest
@@ -1,11 +1,11 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA512
 
-DIST gnomint-1.2.1.tar.gz 703316 SHA256 6186ca6073e912bad5e0b026bc704430098a54392f3741d62929cc6fca3c38b0
+DIST gnomint-1.2.1.tar.gz 703316 SHA256 6186ca6073e912bad5e0b026bc704430098a54392f3741d62929cc6fca3c38b0 SHA512 7f286d92aaa00a8b340f785a21ed3ff322304b8f97b898585814588bc81c968140b7270e1d2c8c3a091b6555d148f63b1cac14de72be336911c00eeb33283a94 WHIRLPOOL 3f8a5653bc24eb88956e2691074bbf284429c9dde1a079d5502f6c4bbbd49163c314a644b6aeeacc6ba6f578ba68f1e162757f3ba19a7e4e1e437d5005cfaf87
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.19 (GNU/Linux)
 
-iEYEAREKAAYFAlCCf4UACgkQ1fmVwcYIWAZ4PQCgpKw6pf21XoIPYHGmhYNHj9we
-S3MAn1NA2lZ4CZureNHjuuBesu82eFcp
-=zNyt
+iEYEAREKAAYFAlCKrBcACgkQ1fmVwcYIWAbrcwCePnvSBiB8scQfniDfMU9WYCmk
+lFsAoMqADQbT83Bf7MJB3P9JScj3rv9S
+=SE8G
 -----END PGP SIGNATURE-----

diff --git a/app-crypt/gnomint/files/gnomint-1.2.1-add-missing-gcrypt.patch b/app-crypt/gnomint/files/gnomint-1.2.1-add-missing-gcrypt.patch
new file mode 100644
index 0000000..aff6bb9
--- /dev/null
+++ b/app-crypt/gnomint/files/gnomint-1.2.1-add-missing-gcrypt.patch
@@ -0,0 +1,50 @@
+From 8168b5a2d1c7cfebf84a2045c2ae094033f0fe71 Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <gilles@gandi.net>
+Date: Wed, 24 Oct 2012 11:37:05 +0200
+Subject: [PATCH] Add missing libgcrypt in CFLAGS/LDADD
+
+---
+ src/Makefile.am | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index cbb66d0..f4395db 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -7,7 +7,7 @@ gnomint_CFLAGS = \
+ 	-I$(top_builddir) \
+ 	$(GNOMINT_CFLAGS) \
+ 	$(LIBGNUTLS_CFLAGS) \
+-        $(LIBGCRYPT_CFLAGS) \
++	$(LIBGCRYPT_CFLAGS) \
+ 	$(SQLITE_CFLAGS) \
+ 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+ 	-DCOMPILATION_DATE=`date +%s` \
+@@ -40,7 +40,7 @@ gnomint_SOURCES = \
+ 
+ gnomint_LDADD = \
+ 	$(GNOMINT_LIBS) \
+-        $(LIBGCRYPT_LIBS) \
++	$(LIBGCRYPT_LIBS) \
+ 	$(LIBGNUTLS_LIBS) \
+ 	$(SQLITE_LIBS) \
+ 	$(LTLIBINTL)
+@@ -54,6 +54,7 @@ gnomint_cli_CFLAGS = \
+ 	-I$(top_srcdir) \
+ 	-I$(top_builddir) \
+ 	$(GNOMINTCLI_CFLAGS) \
++	$(LIBGCRYPT_CFLAGS) \
+ 	$(LIBGNUTLS_CFLAGS) \
+ 	$(SQLITE_CFLAGS) \
+ 	-DPACKAGE_DATA_DIR=\""$(datadir)"\" \
+@@ -82,6 +83,7 @@ gnomint_cli_SOURCES = \
+ gnomint_cli_LDADD = \
+ 	$(GNOMINTCLI_LIBS) \
+ 	$(LIBGNUTLS_LIBS) \
++	$(LIBGCRYPT_LIBS) \
+ 	$(SQLITE_LIBS) \
+ 	$(READLINE_LIBS) \
+ 	$(LTLIBINTL)
+-- 
+1.7.12.4
+

diff --git a/app-crypt/gnomint/gnomint-1.2.1.ebuild b/app-crypt/gnomint/gnomint-1.2.1.ebuild
index 9dea535..722e9e1 100644
--- a/app-crypt/gnomint/gnomint-1.2.1.ebuild
+++ b/app-crypt/gnomint/gnomint-1.2.1.ebuild
@@ -5,7 +5,7 @@
 EAPI="4"
 GCONF_DEBUG="no"
 
-inherit gnome2
+inherit autotools eutils gnome2
 
 DESCRIPTION="A Certification Authority Software for Gnome"
 HOMEPAGE="http://gnomint.sourceforge.net"
@@ -33,16 +33,22 @@ DEPEND="${COMMON_DEPEND}
 	virtual/pkgconfig
 "
 
-DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README TODO"
-
 src_prepare() {
-	gnome2_src_prepare
+	DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README TODO"
 
 	# Fix intltool tests
 	echo "src/country_table.c" >> po/POTFILES.in
 
 	# Do not build released software with stupid CFLAGS
-	sed 's/-Werror//' configure.in configure || die "sed failed"
+	sed -e 's/-Werror//' \
+		-e 's/-g -O0//' \
+		-i configure.in configure || die
+
+	# Fix build due to missing gcrypt in LDADD/CFLAGS
+	epatch "${FILESDIR}/${P}-add-missing-gcrypt.patch"
+
+	eautoreconf
+	gnome2_src_prepare
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-10-26 18:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-26 18:18 [gentoo-commits] dev/eva:master commit in: app-crypt/gnomint/files/, app-crypt/gnomint/ Gilles Dartiguelongue

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