Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/groff: groff-1.20.1-r1.ebuild ChangeLog
Date: Tue, 20 Jan 2009 00:10:42
Message-Id: E1LP4CV-0006FP-Gn@stork.gentoo.org
1 matsuu 09/01/20 00:10:39
2
3 Modified: ChangeLog
4 Added: groff-1.20.1-r1.ebuild
5 Log:
6 Fixed japanese patch, bug #255292. Changed cjk USE flag to LINGUAS="ja".
7 (Portage version: 2.1.6.6/cvs/Linux 2.6.28-gentoo x86_64)
8
9 Revision Changes Path
10 1.87 sys-apps/groff/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/ChangeLog?rev=1.87&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/ChangeLog?rev=1.87&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/ChangeLog?r1=1.86&r2=1.87
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v
19 retrieving revision 1.86
20 retrieving revision 1.87
21 diff -u -r1.86 -r1.87
22 --- ChangeLog 18 Jan 2009 16:30:15 -0000 1.86
23 +++ ChangeLog 20 Jan 2009 00:10:39 -0000 1.87
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/groff
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.86 2009/01/18 16:30:15 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.87 2009/01/20 00:10:39 matsuu Exp $
29 +
30 +*groff-1.20.1-r1 (20 Jan 2009)
31 +
32 + 20 Jan 2009; MATSUU Takuto <matsuu@g.o> +groff-1.20.1-r1.ebuild:
33 + Fixed japanese patch, bug #255292. Changed cjk USE flag to LINGUAS="ja".
34
35 18 Jan 2009; Markus Meier <maekke@g.o> groff-1.19.2-r3.ebuild:
36 amd64/x86 stable, bug #255280
37
38
39
40 1.1 sys-apps/groff/groff-1.20.1-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/groff-1.20.1-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/groff-1.20.1-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: groff-1.20.1-r1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.20.1-r1.ebuild,v 1.1 2009/01/20 00:10:39 matsuu Exp $
50
51 inherit eutils toolchain-funcs autotools
52
53 DESCRIPTION="Text formatter used for man pages"
54 HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
55 SRC_URI="mirror://gnu/groff/${P}.tar.gz
56 linguas_ja? ( mirror://gentoo/${P}-japanese.patch.bz2 )"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
61 IUSE="X linguas_ja"
62
63 DEPEND=">=sys-apps/texinfo-4.7-r1
64 X? (
65 x11-libs/libX11
66 x11-libs/libXt
67 x11-libs/libXmu
68 x11-libs/libXaw
69 x11-libs/libSM
70 x11-libs/libICE
71 )"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 epatch "${FILESDIR}"/${PN}-1.19.2-man-unicode-dashes.patch #16108 #17580 #121502
78
79 # Make sure we can cross-compile this puppy
80 if tc-is-cross-compiler ; then
81 sed -i \
82 -e '/^GROFFBIN=/s:=.*:=/usr/bin/groff:' \
83 -e '/^TROFFBIN=/s:=.*:=/usr/bin/troff:' \
84 -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
85 contrib/mom/Makefile.sub \
86 doc/Makefile.in \
87 doc/Makefile.sub || die "cross-compile sed failed"
88 fi
89
90 if use linguas_ja ; then
91 epatch "${WORKDIR}"/${P}-japanese.patch #255292
92 eautoconf
93 fi
94 }
95
96 src_compile() {
97 # Fix problems with not finding g++
98 # tc-export CC CXX
99 local myconf="--with-appresdir=/usr/share/X11/app-defaults"
100
101 use linguas_ja && myconf="${myconf} --enable-japanese"
102
103 econf \
104 $(use_with X x) \
105 ${myconf} || die
106 emake || die
107 }
108
109 src_install() {
110 emake install DESTDIR="${D}" || die
111
112 # The following links are required for man #123674
113 dosym eqn /usr/bin/geqn
114 dosym tbl /usr/bin/gtbl
115
116 dodoc BUG-REPORT ChangeLog MORE.STUFF NEWS \
117 PROBLEMS PROJECTS README REVISION TODO VERSION
118 }