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