Fix building with -Wl,--as-needed wrt #246729 by Diego E. Pettenò.
authorSamuli Suominen <ssuominen@gentoo.org>
Tue, 29 Jun 2010 20:17:43 +0000 (20:17 +0000)
committerSamuli Suominen <ssuominen@gentoo.org>
Tue, 29 Jun 2010 20:17:43 +0000 (20:17 +0000)
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64

app-accessibility/gnopernicus/ChangeLog
app-accessibility/gnopernicus/Manifest
app-accessibility/gnopernicus/files/gnopernicus-1.0.7-asneeded.patch [new file with mode: 0644]
app-accessibility/gnopernicus/gnopernicus-1.0.7.ebuild

index bbdc0026fd41cf41e04129b848bc5b71802eab27..4d3d61e2dc724e40f4a902c220bb7c428b1a6e62 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for app-accessibility/gnopernicus
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnopernicus/ChangeLog,v 1.102 2008/11/23 17:49:10 patrick Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnopernicus/ChangeLog,v 1.103 2010/06/29 20:17:43 ssuominen Exp $
+
+  29 Jun 2010; Samuli Suominen <ssuominen@gentoo.org>
+  gnopernicus-1.0.7.ebuild, +files/gnopernicus-1.0.7-asneeded.patch:
+  Fix building with -Wl,--as-needed wrt #246729 by Diego E. Pettenò.
 
   23 Nov 2008; Patrick Lauer <patrick@gentoo.org> gnopernicus-1.0.7.ebuild:
   Fixing homepage
index bd3cb0e4c4d9f4e21d3f2cc15d437c50e3c31f1b..c6df50c6e28f1caabdc5bc9c07e9fe57f80a90bd 100644 (file)
@@ -1,4 +1,5 @@
+AUX gnopernicus-1.0.7-asneeded.patch 536 RMD160 f6c64e930aa59e39ef5192ef378eab32ea1b1527 SHA1 f459b3dab07a2b526c0ed26965608c36c71cc30c SHA256 ae6cf355f22bbd5f207ca40bb82516eab410a296af4c6b13777e1a5755d0e323
 DIST gnopernicus-1.0.7.tar.bz2 1511633 RMD160 8155021a7179c169d7273e39ed8d7c544db40a2d SHA1 58f49ebdd800bf03803899cc4de534eb44fd4fcc SHA256 612055906a13b337d09604bdfbb1eb9ae157755a1c07922ae8fcbc1701ecc402
-EBUILD gnopernicus-1.0.7.ebuild 1140 RMD160 1e05bf223e745d8b221e7da004e715e9493f8042 SHA1 cc0cbe7247a9f0dea8894b9badd3596c72b8cf17 SHA256 083e6dd2c679908622ef8c759184f4cc551724cf6f6025174beaaaac37a2fad9
-MISC ChangeLog 13834 RMD160 f40d652b391122f8707c7ccc436d0f6b6c980639 SHA1 3cfaeea25bca83ac2a9c26c984be7861aa42fbf7 SHA256 389d1e81c9671c07a4c4aacdb0aa84cd7261e84b4310b6f1a90a2c9e4f515c19
+EBUILD gnopernicus-1.0.7.ebuild 1258 RMD160 4e98bc8b2ab5c2ad7228d664a1e77b6d1177520b SHA1 d6a9182646af0db9a157e2e1ac7589a876eb67f3 SHA256 ee165c26c585df598946cab0c431d01e361b9461eb5efedf0a7c9d90aa894f18
+MISC ChangeLog 14030 RMD160 b0e57a431a61ec5fd483b17cfd5b01cc16fe3c13 SHA1 0abb08a61cc9be6ddd2e3c82c84e647725ec77d1 SHA256 488ff1719970f2b9284a355417a4313930f82e7eac7a9012240f0dad590eb085
 MISC metadata.xml 822 RMD160 14c1253fdf84f77a68c539becb0c9cd472ab3a49 SHA1 df80ef6d79e406a3442737e74957be8ae8d74f4e SHA256 95996db16e24f7c4b027f55976bfba226392cf3864e146415bf097809bfdfc0b
diff --git a/app-accessibility/gnopernicus/files/gnopernicus-1.0.7-asneeded.patch b/app-accessibility/gnopernicus/files/gnopernicus-1.0.7-asneeded.patch
new file mode 100644 (file)
index 0000000..0e9d1e4
--- /dev/null
@@ -0,0 +1,18 @@
+--- speech/test/Makefile.am
++++ speech/test/Makefile.am
+@@ -3,14 +3,13 @@
+ noinst_PROGRAMS = tester
+ 
+ tester_SOURCES = tester.c
+-tester_LDFLAGS = $(LIBSRS_LIBS)
+ 
+ INCLUDES = -I$(srcdir)/../libsrs              \
+           -I$(top_srcdir)/srconf/libsrconf    \
+           $(LIBSRS_CFLAGS)                    \
+           -DG_LOG_DOMAIN=\"gnopernicus\"
+ 
+-LDADD =  ../libsrs/libsrs.la ../../srconf/libsrconf/libsrconf.la ../../srutil/libsrutil.la
++LDADD = $(LIBSRS_LIBS) ../libsrs/libsrs.la ../../srconf/libsrconf/libsrconf.la ../../srutil/libsrutil.la
+ 
+ 
+ EXTRA_DIST = srsml.xml
index dab4cf78da238266b59649d30ddc31577f6923cf..6cc2c0f7c6fa9dbe885b20924a2efe961c6058a5 100644 (file)
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnopernicus/gnopernicus-1.0.7.ebuild,v 1.10 2008/11/23 17:49:10 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/gnopernicus/gnopernicus-1.0.7.ebuild,v 1.11 2010/06/29 20:17:43 ssuominen Exp $
 
-inherit gnome2
+EAPI=2
+inherit autotools eutils gnome2
 
 DESCRIPTION="Software tools for blind and visually impaired"
 HOMEPAGE="http://www.baum.ro/index.php?language=en&pagina=produse&subpag=gnopernicus"
@@ -25,16 +26,21 @@ RDEPEND=">=gnome-base/gconf-2.6.1
        >=app-accessibility/gnome-mag-0.11.7
        >=gnome-extra/libgail-gnome-1.0
        brltty? ( >=app-accessibility/brltty-3.6 )"
-
 DEPEND="${RDEPEND}
        >=dev-util/intltool-0.29
        >=dev-util/pkgconfig-0.9
        app-text/scrollkeeper
+       dev-util/gtk-doc-am
        doc? ( >=dev-util/gtk-doc-1 )"
 
 DOCS="AUTHORS ChangeLog NEWS README"
 
 pkg_setup() {
-       G2CONF="$(use_enable ipv6) \
+       G2CONF="$(use_enable ipv6)
                $(use_enable brltty)"
 }
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-asneeded.patch
+       eautoreconf
+}