diff options
Diffstat (limited to 'sci-chemistry')
-rw-r--r-- | sci-chemistry/gperiodic/ChangeLog | 8 | ||||
-rw-r--r-- | sci-chemistry/gperiodic/Manifest | 17 | ||||
-rw-r--r-- | sci-chemistry/gperiodic/files/gperiodic-2.0.10-nls.patch | 20 | ||||
-rw-r--r-- | sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild | 14 | ||||
-rw-r--r-- | sci-chemistry/gperiodic/metadata.xml | 4 |
5 files changed, 52 insertions, 11 deletions
diff --git a/sci-chemistry/gperiodic/ChangeLog b/sci-chemistry/gperiodic/ChangeLog index 8dfbbe15e1d5..55e708e6925d 100644 --- a/sci-chemistry/gperiodic/ChangeLog +++ b/sci-chemistry/gperiodic/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-chemistry/gperiodic -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.18 2011/12/13 23:34:34 ago Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.19 2012/01/26 19:17:33 jlec Exp $ + + 26 Jan 2012; Justin Lecher <jlec@gentoo.org> gperiodic-2.0.10-r2.ebuild, + +files/gperiodic-2.0.10-nls.patch, metadata.xml: + Fix installation with USE=-nls, #395125 13 Dec 2011; Agostino Sarubbo <ago@gentoo.org> gperiodic-2.0.10-r2.ebuild: Stable for AMD64, wrt bug #392791 diff --git a/sci-chemistry/gperiodic/Manifest b/sci-chemistry/gperiodic/Manifest index 1ee281118a30..359485360d6b 100644 --- a/sci-chemistry/gperiodic/Manifest +++ b/sci-chemistry/gperiodic/Manifest @@ -1,6 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA512 + AUX gperiodic-2.0.10-makefile.patch 2266 RMD160 f306562551390186042539c2cba7ad9babf12e0b SHA1 b37d2c13edfc5215bd8ed17f99a1a920525dba03 SHA256 e9a0d0e041e442baeedd8bf6dbba5f1e0054685bd2b2b9dabd1388f07f64a8f0 +AUX gperiodic-2.0.10-nls.patch 508 RMD160 bc4d0db458089d224396291a199ec8ad78ebbb66 SHA1 3c471287effa3a5583baa3b299dee0e851f0ee77 SHA256 61d66f8d376f39eaf185ba728d6057987f4ce1851315b62a6641b83f8cefccb0 DIST gperiodic-2.0.10.tar.gz 131213 RMD160 9a4a16c4578342b4044d93e3327623cec98c762e SHA1 ce7a4d5271aaf283afa0c8299b2ee9b04da257fe SHA256 78d72870c51c39e4a35c804c05b8ef5e39f88d42eced52b2934e21d74fb8d096 -EBUILD gperiodic-2.0.10-r2.ebuild 916 RMD160 d76a54d524da0ddaec34f3e9f04f82cff55bc334 SHA1 3b8951a5df4ada819ae4e77d0f9da2452f38d270 SHA256 ee58d0bac631aab2bf5cb32bae6deb420f4bf77da1ca0c078c47263ea9e77655 +EBUILD gperiodic-2.0.10-r2.ebuild 1085 RMD160 79a408a4705101fd438d71aeaadbacf041d29aff SHA1 fdf8d13fb93d4de080e4112b88a74d8b7b63ebcf SHA256 8ee745fc55465f7e4907ba4887d80ecf1a28bfea97cd5ae726563b5c4e4f4794 EBUILD gperiodic-2.0.10.ebuild 1695 RMD160 156720b125971977401cf8b810b12c296aa1bc3a SHA1 bd68ab85402f039594b07156ed9cb5834e17c69f SHA256 429fa559dcca00e88d6b50cfebde33d26345025937cff0bf1c91f5f4fcfcb210 -MISC ChangeLog 3940 RMD160 cb03828272bb61b60221aebe7a49baf608a52c9d SHA1 f88dc88cad3023e392f797688dd8a546b80b9381 SHA256 54f2d7e19a429c967eedcd390f2ffaf3d6be45b8730d30024b04bfcdbcff4de2 -MISC metadata.xml 382 RMD160 7d7c62b16a0a51c6733c7f29cd5e1625d7e6ce58 SHA1 463e1bc95782151502631a9062b725c35ddb0b65 SHA256 e0a66fccfe95f1349201a16861d28ea5d85021f2f168dd7af9e3cc7fb75edd38 +MISC ChangeLog 4110 RMD160 552373976c0f2a588d478c81bf2b8a37dd74c243 SHA1 3631351aaeb69f10bb1aae230ad2308735f8a125 SHA256 e1e7e9ac06ff07b93bacf1fa9cf8e7c0bdf99cfaf34b8a1cbe79fe76e2acc0b8 +MISC metadata.xml 380 RMD160 7120b98e3edf0869ceb52bd79bb682da0ad1c870 SHA1 d43c0ca30019fc45991b7c5020b58337dff72b90 SHA256 3d59fd371096c50b703ec4c187be1791d13d8a3104054b6a779360cc061f0375 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.18 (GNU/Linux) + +iEYEAREKAAYFAk8hptkACgkQgAnW8HDreRZn6wCgqyG6G5q5vwd93QHfTDiKQgj0 +S5UAoLxRDsPfO+8Ggn4vNoa041oEjm/s +=7wIP +-----END PGP SIGNATURE----- diff --git a/sci-chemistry/gperiodic/files/gperiodic-2.0.10-nls.patch b/sci-chemistry/gperiodic/files/gperiodic-2.0.10-nls.patch new file mode 100644 index 000000000000..de0bea04dc14 --- /dev/null +++ b/sci-chemistry/gperiodic/files/gperiodic-2.0.10-nls.patch @@ -0,0 +1,20 @@ + po/Makefile | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/po/Makefile b/po/Makefile +index d7d7d78..179dad6 100644 +--- a/po/Makefile ++++ b/po/Makefile +@@ -26,10 +26,12 @@ endif + + install: + $(MAKE) all ++ifeq ($(enable_nls),1) + for f in $(FILES_MO) ; do \ + mkdir -p $(DESTDIR)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES ; \ + install -m 644 $$f $(DESTDIR)$(LOCALEDIR)/`basename $$f .mo`/LC_MESSAGES/$(PACKAGE).mo ; \ + done ++endif + + uninstall: + for f in $(FILES_MO) ; do \ diff --git a/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild b/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild index 3cf2b8a00162..b525e26ad231 100644 --- a/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild +++ b/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild,v 1.3 2011/12/13 23:34:34 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10-r2.ebuild,v 1.4 2012/01/26 19:17:33 jlec Exp $ EAPI="2" @@ -24,15 +24,21 @@ DEPEND="${RDEPEND} dev-util/pkgconfig" src_prepare() { - use nls && myopts="enable_nls=1" || myopts="enable_nls=0" - epatch "${FILESDIR}"/${P}-makefile.patch + epatch \ + "${FILESDIR}"/${P}-makefile.patch \ + "${FILESDIR}"/${P}-nls.patch } src_compile() { + local myopts + use nls && myopts="enable_nls=1" || myopts="enable_nls=0" emake CC=$(tc-getCC) ${myopts} || die } src_install() { + local myopts + use nls && myopts="enable_nls=1" || myopts="enable_nls=0" emake DESTDIR="${D}" ${myopts} install || die dodoc AUTHORS ChangeLog README NEWS || die + newdoc po/README README.translation || die } diff --git a/sci-chemistry/gperiodic/metadata.xml b/sci-chemistry/gperiodic/metadata.xml index 4b6a11a4996d..e87a8759836d 100644 --- a/sci-chemistry/gperiodic/metadata.xml +++ b/sci-chemistry/gperiodic/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>sci-chemistry</herd> - <longdescription> + <herd>sci-chemistry</herd> + <longdescription> GPeriodic is a program for looking up various data about elements from the periodic table, based on the GTK2 toolkit. It also features a command line interface. |