1 |
markusle 08/05/29 13:29:11 |
2 |
|
3 |
Modified: gperiodic-2.0.7.ebuild ChangeLog |
4 |
Added: gperiodic-2.0.10.ebuild |
5 |
Log: |
6 |
Version bump. Also fixed sed problems and added check for X useflag for cairo (see bug #223875). |
7 |
(Portage version: 2.1.5.2) |
8 |
|
9 |
Revision Changes Path |
10 |
1.6 sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild?rev=1.6&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild?rev=1.6&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild?r1=1.5&r2=1.6 |
15 |
|
16 |
Index: gperiodic-2.0.7.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild,v |
19 |
retrieving revision 1.5 |
20 |
retrieving revision 1.6 |
21 |
diff -u -r1.5 -r1.6 |
22 |
--- gperiodic-2.0.7.ebuild 21 Apr 2008 01:58:30 -0000 1.5 |
23 |
+++ gperiodic-2.0.7.ebuild 29 May 2008 13:29:10 -0000 1.6 |
24 |
@@ -1,8 +1,8 @@ |
25 |
# Copyright 1999-2008 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild,v 1.5 2008/04/21 01:58:30 je_fro Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild,v 1.6 2008/05/29 13:29:10 markusle Exp $ |
29 |
|
30 |
-inherit toolchain-funcs |
31 |
+inherit toolchain-funcs eutils |
32 |
|
33 |
DESCRIPTION="Periodic table application for Linux" |
34 |
SRC_URI="http://www.acclab.helsinki.fi/~frantz/software/${P}.tar.gz" |
35 |
@@ -20,14 +20,20 @@ |
36 |
DEPEND="${RDEPEND} |
37 |
dev-util/pkgconfig" |
38 |
|
39 |
+pkg_setup() { |
40 |
+ if ! built_with_use x11-libs/cairo X; then |
41 |
+ die "gperiodic needs x11-libs/cairo emerged with USE=\"X\"" |
42 |
+ fi |
43 |
+} |
44 |
+ |
45 |
src_compile() { |
46 |
# The author has removed "unnecessary automake/autoconf setup" |
47 |
|
48 |
sed -i -e "s|-DGTK_DISABLE_DEPRECATED|${CFLAGS}|" Makefile |
49 |
- sed -i -e "|make clean|d" Makefile |
50 |
+ sed -i -e "/make clean/d" Makefile |
51 |
sed -i -e "s|CC=gcc|CC=$(tc-getCC)|" Makefile |
52 |
if ! use nls; then |
53 |
- sed -i -e "|make -C po|d" Makefile |
54 |
+ sed -i -e "/make -C po/d" Makefile |
55 |
fi |
56 |
emake || die "emake failed!" |
57 |
} |
58 |
|
59 |
|
60 |
|
61 |
1.7 sci-chemistry/gperiodic/ChangeLog |
62 |
|
63 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/ChangeLog?rev=1.7&view=markup |
64 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/ChangeLog?rev=1.7&content-type=text/plain |
65 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/ChangeLog?r1=1.6&r2=1.7 |
66 |
|
67 |
Index: ChangeLog |
68 |
=================================================================== |
69 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v |
70 |
retrieving revision 1.6 |
71 |
retrieving revision 1.7 |
72 |
diff -u -r1.6 -r1.7 |
73 |
--- ChangeLog 20 Sep 2006 05:09:00 -0000 1.6 |
74 |
+++ ChangeLog 29 May 2008 13:29:10 -0000 1.7 |
75 |
@@ -1,6 +1,13 @@ |
76 |
# ChangeLog for sci-chemistry/gperiodic |
77 |
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 |
78 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.6 2006/09/20 05:09:00 dberkholz Exp $ |
79 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
80 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.7 2008/05/29 13:29:10 markusle Exp $ |
81 |
+ |
82 |
+*gperiodic-2.0.10 (29 May 2008) |
83 |
+ |
84 |
+ 29 May 2008; Markus Dittrich <markusle@g.o> gperiodic-2.0.7.ebuild, |
85 |
+ +gperiodic-2.0.10.ebuild: |
86 |
+ Version bump. Also fixed sed problems and added check for X useflag for |
87 |
+ cairo (see bug #223875). |
88 |
|
89 |
20 Sep 2006; Donnie Berkholz <dberkholz@g.o>; metadata.xml: |
90 |
(#148281) Change herd to sci-chemistry from sci. |
91 |
|
92 |
|
93 |
|
94 |
1.1 sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild |
95 |
|
96 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild?rev=1.1&view=markup |
97 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild?rev=1.1&content-type=text/plain |
98 |
|
99 |
Index: gperiodic-2.0.10.ebuild |
100 |
=================================================================== |
101 |
# Copyright 1999-2008 Gentoo Foundation |
102 |
# Distributed under the terms of the GNU General Public License v2 |
103 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.10.ebuild,v 1.1 2008/05/29 13:29:10 markusle Exp $ |
104 |
|
105 |
inherit toolchain-funcs eutils |
106 |
|
107 |
DESCRIPTION="Periodic table application for Linux" |
108 |
SRC_URI="http://www.acclab.helsinki.fi/~frantz/software/${P}.tar.gz" |
109 |
HOMEPAGE="http://www.acclab.helsinki.fi/~frantz/software/gperiodic.php" |
110 |
|
111 |
KEYWORDS="~x86 ~amd64" |
112 |
SLOT="0" |
113 |
LICENSE="GPL-2" |
114 |
IUSE="nls" |
115 |
|
116 |
RDEPEND=">=sys-libs/ncurses-5.2 |
117 |
=x11-libs/gtk+-2* |
118 |
nls? ( sys-devel/gettext )" |
119 |
|
120 |
DEPEND="${RDEPEND} |
121 |
dev-util/pkgconfig" |
122 |
|
123 |
pkg_setup() { |
124 |
if ! built_with_use x11-libs/cairo X; then |
125 |
die "gperiodic needs x11-libs/cairo emerged with USE=\"X\"" |
126 |
fi |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
# The author has removed "unnecessary automake/autoconf setup" |
131 |
|
132 |
sed -i -e "s|-DGTK_DISABLE_DEPRECATED|${CFLAGS}|" Makefile |
133 |
sed -i -e "/make clean/d" Makefile |
134 |
sed -i -e "s|CC=gcc|CC=$(tc-getCC)|" Makefile |
135 |
if ! use nls; then |
136 |
sed -i -e "/make -C po/d" Makefile |
137 |
fi |
138 |
emake || die "emake failed!" |
139 |
} |
140 |
|
141 |
src_install() { |
142 |
sed -i -e "s|/usr/bin|${D}/usr/bin|" Makefile |
143 |
sed -i -e "s|/usr/share|${D}/usr/share|" Makefile |
144 |
sed -i -e "s|/usr/share|${D}/usr/share|" po/Makefile |
145 |
|
146 |
# Create directories - Makefile is quite broken. |
147 |
dodir /usr/bin |
148 |
dodir /usr/share/pixmaps |
149 |
dodir /usr/share/applications |
150 |
|
151 |
make install || die "make install failed." |
152 |
|
153 |
# Fix permissions |
154 |
chmod 644 "${D}/usr/share/pixmaps/*" |
155 |
chmod 644 "${D}/usr/share/applications/*" |
156 |
|
157 |
# Fix the chemistry category in the .desktop file, bug 97202. |
158 |
sed -i -e "s|Chemestry|Chemistry|" "${D}/usr/share/applications/gperiodic.desktop" |
159 |
|
160 |
# The man page seems to have been removed too. |
161 |
# doman man/gperiodic.1 |
162 |
dodoc AUTHORS ChangeLog README NEWS |
163 |
newdoc po/README README.translation |
164 |
} |
165 |
|
166 |
|
167 |
|
168 |
-- |
169 |
gentoo-commits@l.g.o mailing list |