Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/gelemental: ChangeLog gelemental-1.2.0.ebuild
Date: Sun, 01 Jul 2012 13:09:00
Message-Id: 20120701130851.6D3E22004B@flycatcher.gentoo.org
1 jlec 12/07/01 13:08:51
2
3 Modified: ChangeLog gelemental-1.2.0.ebuild
4 Log:
5 sci-chemistry/gelemental: Fix for compilation against glib-2.32, #423621; bumped to EAPI=4 and autotools-utils; handle statc-libs
6
7 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.9 sci-chemistry/gelemental/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gelemental/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gelemental/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gelemental/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 4 May 2012 07:02:34 -0000 1.8
23 +++ ChangeLog 1 Jul 2012 13:08:51 -0000 1.9
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-chemistry/gelemental
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/ChangeLog,v 1.8 2012/05/04 07:02:34 jdhore Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/ChangeLog,v 1.9 2012/07/01 13:08:51 jlec Exp $
29 +
30 + 01 Jul 2012; Justin Lecher <jlec@g.o> gelemental-1.2.0.ebuild,
31 + +files/gelemental-1.2.0-glib-2.32.patch:
32 + Fix for compilation against glib-2.32, #423621; bumped to EAPI=4 and
33 + autotools-utils; handle statc-libs
34
35 04 May 2012; Jeff Horelick <jdhore@g.o> gelemental-1.2.0.ebuild:
36 dev-util/pkgconfig -> virtual/pkgconfig
37
38
39
40 1.7 sci-chemistry/gelemental/gelemental-1.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild?rev=1.7&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild?rev=1.7&content-type=text/plain
44 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild?r1=1.6&r2=1.7
45
46 Index: gelemental-1.2.0.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild,v
49 retrieving revision 1.6
50 retrieving revision 1.7
51 diff -u -r1.6 -r1.7
52 --- gelemental-1.2.0.ebuild 4 May 2012 07:02:34 -0000 1.6
53 +++ gelemental-1.2.0.ebuild 1 Jul 2012 13:08:51 -0000 1.7
54 @@ -1,20 +1,19 @@
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild,v 1.6 2012/05/04 07:02:34 jdhore Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild,v 1.7 2012/07/01 13:08:51 jlec Exp $
59
60 -EAPI="1"
61 +EAPI=4
62
63 -inherit fdo-mime gnome2-utils eutils
64 +inherit autotools-utils fdo-mime gnome2-utils eutils
65
66 -DESCRIPTION="a periodic table viewer that provides detailed information on the
67 -chemical elements."
68 -HOMEPAGE="http://www.kdau.com/projects/gelemental"
69 +DESCRIPTION="Periodic table viewer that provides detailed information on the chemical elements"
70 +HOMEPAGE="http://freecode.com/projects/gelemental/"
71 SRC_URI="http://www.kdau.com/files/${P}.tar.bz2"
72
73 LICENSE="GPL-3 MIT"
74 SLOT="0"
75 KEYWORDS="amd64 x86"
76 -IUSE="doc"
77 +IUSE="doc static-libs"
78
79 RDEPEND="
80 dev-cpp/gtkmm:2.4
81 @@ -25,21 +24,17 @@
82 dev-util/intltool
83 doc? ( app-doc/doxygen )"
84
85 -src_unpack() {
86 - unpack ${A}
87 - cd "${S}"
88 - epatch "${FILESDIR}"/${P}-gcc4.3.patch
89 -}
90 -
91 -src_compile() {
92 - econf --disable-dependency-tracking $(use_enable doc api-docs)
93 - emake || die "emake failed."
94 +PATCHES=(
95 + "${FILESDIR}"/${P}-gcc4.3.patch
96 + "${FILESDIR}"/${P}-glib-2.32.patch )
97 +
98 +src_configure() {
99 + local myeconfargs=( $(use_enable doc api-docs) )
100 + autotools-utils_src_configure
101 }
102
103 src_install() {
104 - emake apidir="/usr/share/doc/${PF}/html" DESTDIR="${D}" \
105 - install || die "emake install failed."
106 - dodoc AUTHORS ChangeLog NEWS* README TODO TRANSLATORS
107 + autotools-utils_src_install apidir="/usr/share/doc/${PF}/html"
108 }
109
110 pkg_postinst() {