Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/groff: ChangeLog groff-1.19.2-r3.ebuild groff-1.19.2-r2.ebuild
Date: Mon, 05 May 2008 20:51:29
Message-Id: E1Jt7eg-0007bX-TI@stork.gentoo.org
1 ulm 08/05/05 20:51:26
2
3 Modified: ChangeLog
4 Added: groff-1.19.2-r3.ebuild
5 Removed: groff-1.19.2-r2.ebuild
6 Log:
7 Install gxditview application defaults under /usr/share, fixes bug 220037.
8 (Portage version: 2.1.5_rc6)
9
10 Revision Changes Path
11 1.80 sys-apps/groff/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/ChangeLog?rev=1.80&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/ChangeLog?rev=1.80&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/ChangeLog?r1=1.79&r2=1.80
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v
20 retrieving revision 1.79
21 retrieving revision 1.80
22 diff -u -r1.79 -r1.80
23 --- ChangeLog 24 Feb 2008 18:59:32 -0000 1.79
24 +++ ChangeLog 5 May 2008 20:51:26 -0000 1.80
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sys-apps/groff
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.79 2008/02/24 18:59:32 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/ChangeLog,v 1.80 2008/05/05 20:51:26 ulm Exp $
30 +
31 +*groff-1.19.2-r3 (05 May 2008)
32 +
33 + 05 May 2008; Ulrich Mueller <ulm@g.o> -groff-1.19.2-r2.ebuild,
34 + +groff-1.19.2-r3.ebuild:
35 + Install gxditview application defaults under /usr/share, fixes bug 220037.
36
37 *groff-1.19.2-r2 (24 Feb 2008)
38
39
40
41
42 1.1 sys-apps/groff/groff-1.19.2-r3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/groff-1.19.2-r3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/groff/groff-1.19.2-r3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: groff-1.19.2-r3.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sys-apps/groff/groff-1.19.2-r3.ebuild,v 1.1 2008/05/05 20:51:26 ulm Exp $
52
53 inherit eutils flag-o-matic toolchain-funcs multilib autotools
54
55 DESCRIPTION="Text formatter used for man pages"
56 HOMEPAGE="http://www.gnu.org/software/groff/groff.html"
57 SRC_URI="mirror://gnu/groff/${P}.tar.gz
58 cjk? ( mirror://gentoo/groff-1.19.2-japanese.patch.bz2 )"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
63 IUSE="cjk X"
64
65 DEPEND=">=sys-apps/texinfo-4.7-r1"
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70
71 # Fix the info pages to have .info extensions,
72 # else they do not get gzipped.
73 epatch "${FILESDIR}"/${P}-infoext.patch
74
75 epatch "${FILESDIR}"/${P}-man-unicode-dashes.patch #16108 #17580 #121502
76 epatch "${FILESDIR}"/${P}-parallel-make.patch
77
78 # Make sure we can cross-compile this puppy
79 if tc-is-cross-compiler ; then
80 sed -i \
81 -e '/^GROFFBIN=/s:=.*:=/usr/bin/groff:' \
82 -e '/^TROFFBIN=/s:=.*:=/usr/bin/troff:' \
83 -e '/^GROFF_BIN_PATH=/s:=.*:=:' \
84 contrib/mom/Makefile.sub \
85 doc/Makefile.in \
86 doc/Makefile.sub || die "cross-compile sed failed"
87 fi
88
89 if use cjk ; then
90 epatch "${WORKDIR}"/groff-1.19.2-japanese.patch #134377
91 eautoreconf
92 fi
93 }
94
95 src_compile() {
96 # Fix problems with not finding g++
97 tc-export CC CXX
98
99 # -Os causes segfaults, -O is probably a fine replacement
100 # (fixes bug 36008, 06 Jan 2004 agriffis)
101 replace-flags -Os -O
102
103 econf \
104 --with-appresdir=/usr/share/X11/app-defaults \
105 $(use_with X x) \
106 $(use_enable cjk japanese) \
107 || die
108 emake || die
109 }
110
111 src_install() {
112 dodir /usr/bin
113 make \
114 prefix="${D}"/usr \
115 bindir="${D}"/usr/bin \
116 libdir="${D}"/usr/$(get_libdir) \
117 appresdir="${D}"/usr/share/X11/app-defaults \
118 datadir="${D}"/usr/share \
119 mandir="${D}"/usr/share/man \
120 infodir="${D}"/usr/share/info \
121 docdir="${D}"/usr/share/doc/${PF} \
122 install || die
123
124 # The following links are required for man #123674
125 dosym eqn /usr/bin/geqn
126 dosym tbl /usr/bin/gtbl
127
128 dodoc BUG-REPORT ChangeLog FDL MORE.STUFF NEWS \
129 PROBLEMS PROJECTS README REVISION TODO VERSION
130 }
131
132
133
134 --
135 gentoo-commits@l.g.o mailing list