Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/astrolog: metadata.xml ChangeLog astrolog-5.40-r1.ebuild astrolog-5.40-r2.ebuild astrolog-5.40.ebuild
Date: Wed, 27 Mar 2013 19:14:02
Message-Id: 20130327191357.604142171D@flycatcher.gentoo.org
1 jlec 13/03/27 19:13:57
2
3 Modified: metadata.xml ChangeLog astrolog-5.40-r1.ebuild
4 Added: astrolog-5.40-r2.ebuild
5 Removed: astrolog-5.40.ebuild
6 Log:
7 app-misc/astrolog: Drop old; respect LDFLAGS , #336971; thanks Michael Mair-Keimberger (iamnr3) for the patch
8
9 (Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
10
11 Revision Changes Path
12 1.4 app-misc/astrolog/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/metadata.xml?rev=1.4&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/metadata.xml?rev=1.4&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/metadata.xml?r1=1.3&r2=1.4
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-misc/astrolog/metadata.xml,v
21 retrieving revision 1.3
22 retrieving revision 1.4
23 diff -u -r1.3 -r1.4
24 --- metadata.xml 4 Apr 2012 07:37:00 -0000 1.3
25 +++ metadata.xml 27 Mar 2013 19:13:57 -0000 1.4
26 @@ -1,12 +1,12 @@
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 - <herd>sci</herd>
31 - <maintainer>
32 - <email>george@g.o</email>
33 - <name>George Shapovalov</name>
34 - <description>I'll be taking care of it. But since we need to have a herd in metadata
35 + <herd>sci</herd>
36 + <maintainer>
37 + <email>george@g.o</email>
38 + <name>George Shapovalov</name>
39 + <description>I'll be taking care of it. But since we need to have a herd in metadata
40 I've put sci there, as it seems the most related one.
41 </description>
42 - </maintainer>
43 + </maintainer>
44 </pkgmetadata>
45
46
47
48 1.16 app-misc/astrolog/ChangeLog
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/ChangeLog?rev=1.16&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/ChangeLog?rev=1.16&content-type=text/plain
52 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/ChangeLog?r1=1.15&r2=1.16
53
54 Index: ChangeLog
55 ===================================================================
56 RCS file: /var/cvsroot/gentoo-x86/app-misc/astrolog/ChangeLog,v
57 retrieving revision 1.15
58 retrieving revision 1.16
59 diff -u -r1.15 -r1.16
60 --- ChangeLog 8 Jun 2012 11:53:40 -0000 1.15
61 +++ ChangeLog 27 Mar 2013 19:13:57 -0000 1.16
62 @@ -1,6 +1,13 @@
63 # ChangeLog for app-misc/astrolog
64 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
65 -# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/ChangeLog,v 1.15 2012/06/08 11:53:40 phajdan.jr Exp $
66 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
67 +# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/ChangeLog,v 1.16 2013/03/27 19:13:57 jlec Exp $
68 +
69 +*astrolog-5.40-r2 (27 Mar 2013)
70 +
71 + 27 Mar 2013; Justin Lecher <jlec@g.o> -astrolog-5.40.ebuild,
72 + astrolog-5.40-r1.ebuild, +astrolog-5.40-r2.ebuild, metadata.xml:
73 + Drop old; respect LDFLAGS , #336971; thanks Michael Mair-Keimberger (iamnr3)
74 + for the patch
75
76 08 Jun 2012; Pawel Hajdan jr <phajdan.jr@g.o> astrolog-5.40-r1.ebuild:
77 x86 stable wrt bug #418597
78
79
80
81 1.4 app-misc/astrolog/astrolog-5.40-r1.ebuild
82
83 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/astrolog-5.40-r1.ebuild?rev=1.4&view=markup
84 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/astrolog-5.40-r1.ebuild?rev=1.4&content-type=text/plain
85 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/astrolog-5.40-r1.ebuild?r1=1.3&r2=1.4
86
87 Index: astrolog-5.40-r1.ebuild
88 ===================================================================
89 RCS file: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40-r1.ebuild,v
90 retrieving revision 1.3
91 retrieving revision 1.4
92 diff -u -r1.3 -r1.4
93 --- astrolog-5.40-r1.ebuild 8 Jun 2012 11:53:40 -0000 1.3
94 +++ astrolog-5.40-r1.ebuild 27 Mar 2013 19:13:57 -0000 1.4
95 @@ -1,6 +1,6 @@
96 -# Copyright 1999-2012 Gentoo Foundation
97 +# Copyright 1999-2013 Gentoo Foundation
98 # Distributed under the terms of the GNU General Public License v2
99 -# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40-r1.ebuild,v 1.3 2012/06/08 11:53:40 phajdan.jr Exp $
100 +# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40-r1.ebuild,v 1.4 2013/03/27 19:13:57 jlec Exp $
101
102 EAPI=4
103
104 @@ -49,7 +49,7 @@
105 }
106
107 src_compile() {
108 - emake CC="$(tc-getCC)"
109 + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
110 }
111
112 src_install() {
113
114
115
116 1.1 app-misc/astrolog/astrolog-5.40-r2.ebuild
117
118 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/astrolog-5.40-r2.ebuild?rev=1.1&view=markup
119 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/astrolog/astrolog-5.40-r2.ebuild?rev=1.1&content-type=text/plain
120
121 Index: astrolog-5.40-r2.ebuild
122 ===================================================================
123 # Copyright 1999-2013 Gentoo Foundation
124 # Distributed under the terms of the GNU General Public License v2
125 # $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40-r2.ebuild,v 1.1 2013/03/27 19:13:57 jlec Exp $
126
127 EAPI=4
128
129 inherit toolchain-funcs
130
131 DESCRIPTION="A many featured astrology chart calculation program"
132 HOMEPAGE="http://www.astrolog.org/astrolog.htm"
133 SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
134
135 LICENSE="astrolog"
136 SLOT="0"
137 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
138 IUSE="X"
139
140 DEPEND="X? ( x11-libs/libX11 )"
141 RDEPEND="${DEPEND}"
142
143 S="${WORKDIR}"
144
145 src_unpack() {
146 sh "${DISTDIR}"/ast54unx.shr || die
147 }
148
149 src_prepare() {
150 # remove stripping of created binary, dump hardcoded CFLAGS,
151 # respect CC (bug #243606), and CFLAGS (bug #240057)
152 sed \
153 -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
154 -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
155 -i Makefile || die
156
157 # we use /usr/share/astrolog for config and (optional) ephemeris-data-files
158 sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
159
160 # if we use X, we need to add -L/usr/X11R6/lib to compile succesful
161 #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
162
163 # if we do NOT use X, we disable it by removing the -lX11 from the Makefile
164 # and remove the "#define X11" and "#define MOUSE" from astrolog.h
165 use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile
166 sed -i -e "s:#define X11:/*#define X11:g" astrolog.h
167 sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h )
168
169 # any user may have an own astrolog configfile
170 #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h
171 }
172
173 src_compile() {
174 emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
175 }
176
177 src_install() {
178 dobin astrolog
179 dodoc Helpfile.540 README.1ST README.540 Update.540
180 insinto /usr/share/astrolog
181 doins astrolog.dat
182 }
183
184 pkg_postinst() {
185 ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat"
186 ewarn "astrolog looks in current dir for a file astrolog.dat before"
187 ewarn "using the file in /usr/share/astrolog"
188 ewarn "If you want extended accuracy of astrolog's calculations you"
189 ewarn "can emerge the optional package \"astrolog-ephemeris\" which"
190 ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files"
191 }