1 |
ulm 09/02/26 21:41:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gcal-3.01-r3.ebuild |
5 |
Log: |
6 |
Change region codes for Germany and Switzerland according to ISO 3166-2, |
7 |
bug 144813. Specify input file encoding for xgettext. Assign RDEPEND. |
8 |
(Portage version: 2.2_rc23/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 app-misc/gcal/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gcal/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gcal/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gcal/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/gcal/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 17 Sep 2008 10:12:51 -0000 1.23 |
24 |
+++ ChangeLog 26 Feb 2009 21:41:23 -0000 1.24 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for app-misc/gcal |
27 |
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/ChangeLog,v 1.23 2008/09/17 10:12:51 pva Exp $ |
29 |
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/ChangeLog,v 1.24 2009/02/26 21:41:23 ulm Exp $ |
31 |
+ |
32 |
+*gcal-3.01-r3 (26 Feb 2009) |
33 |
+ |
34 |
+ 26 Feb 2009; Ulrich Mueller <ulm@g.o> |
35 |
+ +files/gcal-3.01-gettext-charset.patch, +gcal-3.01-r3.ebuild: |
36 |
+ Change region codes for Germany and Switzerland according to ISO 3166-2, |
37 |
+ bug 144813. Specify input file encoding for xgettext. Assign RDEPEND. |
38 |
|
39 |
17 Sep 2008; Peter Volkov <pva@g.o> gcal-3.01-r2.ebuild: |
40 |
Fixed glibc-2.8 build issue, bug #227121, thank Evil Compile Person for |
41 |
|
42 |
|
43 |
|
44 |
1.1 app-misc/gcal/gcal-3.01-r3.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gcal/gcal-3.01-r3.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gcal/gcal-3.01-r3.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: gcal-3.01-r3.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2009 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/gcal/gcal-3.01-r3.ebuild,v 1.1 2009/02/26 21:41:23 ulm Exp $ |
54 |
|
55 |
inherit eutils flag-o-matic toolchain-funcs |
56 |
|
57 |
DESCRIPTION="The GNU Calendar - a replacement for cal" |
58 |
HOMEPAGE="http://www.gnu.org/software/gcal/gcal.html" |
59 |
SRC_URI="mirror://gnu/gcal/${P}.tar.gz |
60 |
mirror://gentoo/${P}-iso3166.patch.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
65 |
IUSE="ncurses nls" |
66 |
|
67 |
DEPEND="nls? ( >=sys-devel/gettext-0.17 )" |
68 |
RDEPEND="" |
69 |
|
70 |
src_unpack() { |
71 |
unpack ${A} |
72 |
cd "${S}" |
73 |
|
74 |
epatch "${FILESDIR}"/${P}-mandir.diff |
75 |
epatch "${FILESDIR}"/${P}-gettext-charset.patch |
76 |
epatch "${WORKDIR}"/${P}-iso3166.patch |
77 |
find -name Makefile.in -print0 | \ |
78 |
xargs -0 -n1 sed -i "s:\(^CC = \).*:\1$(tc-getCC):" |
79 |
} |
80 |
|
81 |
src_compile() { |
82 |
append-flags -D_GNU_SOURCE |
83 |
econf $(use_enable nls) $(use_enable ncurses) |
84 |
emake || die |
85 |
} |
86 |
|
87 |
src_install() { |
88 |
einstall || die |
89 |
rm -f "${D}"/usr/share/locale/locale.alias |
90 |
|
91 |
dodoc ATTENTION BUGS DISCLAIM HISTORY LIMITATIONS MANIFEST NEWS README \ |
92 |
SYMBOLS THANKS TODO |
93 |
|
94 |
# Need to fix up paths for scripts in misc directory |
95 |
# that are automatically created by the makefile |
96 |
for miscfile in "${D}"/usr/share/gcal/misc/*/* |
97 |
do |
98 |
dosed "s:${D%/}::g" "${miscfile/${D}}" |
99 |
done |
100 |
|
101 |
# Rebuild the symlinks that makefile created into the image /usr/bin |
102 |
# directory during make install |
103 |
dosym /usr/share/gcal/misc/daily/daily /usr/bin/gcal-daily |
104 |
dosym /usr/share/gcal/misc/ddiff/ddiff /usr/bin/gcal-ddiff |
105 |
dosym /usr/share/gcal/misc/ddiff/ddiffdrv /usr/bin/gcal-ddiffdrv |
106 |
dosym /usr/share/gcal/misc/dst/dst /usr/bin/gcal-dst |
107 |
dosym /usr/share/gcal/misc/gcalltx/gcalltx /usr/bin/gcal-gcalltx |
108 |
dosym /usr/share/gcal/misc/gcalltx/gcalltx.pl /usr/bin/gcal-gcalltx.pl |
109 |
dosym /usr/share/gcal/misc/moon/moon /usr/bin/gcal-moon |
110 |
dosym /usr/share/gcal/misc/mrms/mrms /usr/bin/gcal-mrms |
111 |
dosym /usr/share/gcal/misc/srss/srss /usr/bin/gcal-srss |
112 |
dosym /usr/share/gcal/misc/wloc/wlocdrv /usr/bin/gcal-wlocdrv |
113 |
} |