Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/dillo: ChangeLog dillo-0.8.6-r1.ebuild
Date: Tue, 28 Oct 2008 14:56:10
Message-Id: E1KupzM-0001ex-Lf@stork.gentoo.org
1 matsuu 08/10/28 14:56:08
2
3 Modified: ChangeLog
4 Added: dillo-0.8.6-r1.ebuild
5 Log:
6 Replaced new i18n patch. Added -j1 to emake install cause parallel install borked.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.63 www-client/dillo/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/dillo/ChangeLog?rev=1.63&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/dillo/ChangeLog?rev=1.63&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/dillo/ChangeLog?r1=1.62&r2=1.63
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-client/dillo/ChangeLog,v
19 retrieving revision 1.62
20 retrieving revision 1.63
21 diff -u -r1.62 -r1.63
22 --- ChangeLog 22 Oct 2008 15:02:07 -0000 1.62
23 +++ ChangeLog 28 Oct 2008 14:56:08 -0000 1.63
24 @@ -1,6 +1,13 @@
25 # ChangeLog for www-client/dillo
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-client/dillo/ChangeLog,v 1.62 2008/10/22 15:02:07 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-client/dillo/ChangeLog,v 1.63 2008/10/28 14:56:08 matsuu Exp $
29 +
30 +*dillo-0.8.6-r1 (28 Oct 2008)
31 +
32 + 28 Oct 2008; MATSUU Takuto <matsuu@g.o>
33 + +files/dillo-0.8.6-gentoo.patch, +dillo-0.8.6-r1.ebuild:
34 + Replaced new i18n patch. Added -j1 to emake install cause parallel install
35 + borked.
36
37 22 Oct 2008; Ben de Groot <yngwin@g.o> dillo-2.0.ebuild:
38 Do not die when doc useflag is disabled.
39
40
41
42 1.1 www-client/dillo/dillo-0.8.6-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/dillo/dillo-0.8.6-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/dillo/dillo-0.8.6-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dillo-0.8.6-r1.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/www-client/dillo/dillo-0.8.6-r1.ebuild,v 1.1 2008/10/28 14:56:08 matsuu Exp $
52
53 inherit flag-o-matic eutils autotools
54
55 S2="${WORKDIR}/dillo-gentoo-extras-patch4"
56 DILLO_I18N_P="${P}-i18n-misc-20070916"
57
58 DESCRIPTION="Lean GTK+-based web browser"
59 HOMEPAGE="http://www.dillo.org/"
60 SRC_URI="http://www.dillo.org/download/${P}.tar.bz2
61 mirror://gentoo/dillo-gentoo-extras-patch4.tar.bz2
62 http://teki.jpn.ph/pc/software/${DILLO_I18N_P}.diff.bz2"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
67 MISC_IUSE="nls truetype"
68 #IUSE="${MISC_IUSE} fltk ipv6 ssl"
69 IUSE="${MISC_IUSE} ipv6 ssl"
70
71 DEPEND="=x11-libs/gtk+-1.2*
72 >=media-libs/jpeg-6b
73 >=sys-libs/zlib-1.1.3
74 >=media-libs/libpng-1.2.1
75 ssl? ( dev-libs/openssl )"
76 # fltk? ( >=x11-libs/fltk-2 )
77
78 src_unpack() {
79 unpack ${A}
80 cd "${S}"
81 epatch ../${DILLO_I18N_P}.diff
82 epatch "${FILESDIR}"/${PN}-build-fix.patch
83 epatch "${FILESDIR}"/${PN}-asneeded.patch
84 epatch "${FILESDIR}"/${PN}-ac_subst.patch
85 epatch "${FILESDIR}"/${P}-gentoo.patch
86
87 AT_M4DIR="${S}/m4" eautoreconf
88
89 if [ "${DILLO_ICONSET}" = "kde" ]
90 then
91 einfo "Using Konqueror style icon set"
92 cp "${S2}"/pixmaps.konq.h "${S}"/src/pixmaps.h
93 elif [ "${DILLO_ICONSET}" = "gnome" ]
94 then
95 einfo "Using Ximian style icon set"
96 cp "${S2}"/pixmaps.ximian.h "${S}"/src/pixmaps.h
97 elif [ "${DILLO_ICONSET}" = "mozilla" ]
98 then
99 einfo "Using Netscape style icon set"
100 cp "${S2}"/pixmaps.netscape.h "${S}"/src/pixmaps.h
101 elif [ "${DILLO_ICONSET}" = "cobalt" ]
102 then
103 einfo "Using Cobalt style icon set"
104 cp "${S2}"/pixmaps.cobalt.h "${S}"/src/pixmaps.h
105 elif [ "${DILLO_ICONSET}" = "bold" ]
106 then
107 einfo "Using bold style icon set"
108 cp "${S2}"/pixmaps.bold.h "${S}"/src/pixmaps.h
109 elif [ "${DILLO_ICONSET}" = "trans" ]
110 then
111 einfo "Using transparent style icon set"
112 cp "${S2}"/pixmaps.trans.h "${S}"/src/pixmaps.h
113 elif [ "${DILLO_ICONSET}" = "trad" ]
114 then
115 einfo "Using the traditional icon set"
116 cp "${S2}"/pixmaps.trad.h "${S}"/src/pixmaps.h
117 else
118 einfo "Using default Dillo icon set"
119 fi
120 }
121
122 src_compile() {
123 replace-cpu-flags k6 pentium
124 is-flag -O? || append-flags "-O2"
125
126 local myconf
127
128 # misc features
129 myconf="$(use_enable nls)
130 $(use_enable truetype anti-alias)
131 --disable-gtktest
132 --disable-dlgui
133 --enable-tabs
134 --enable-meta-refresh"
135
136 myconf="${myconf}
137 $(use_enable ipv6)
138 $(use_enable ssl)"
139 # $(use_enable fltk dlgui)
140
141 econf ${myconf} || die
142 emake -j1 || die "emake failed."
143 }
144
145 src_install() {
146 dodir /etc
147 dodir /usr/share/icons/${PN}
148 emake -j1 DESTDIR="${D}" install || die "install failed"
149
150 dodoc AUTHORS ChangeLog* README NEWS
151 docinto doc
152 dodoc doc/*.txt doc/README
153
154 insinto /usr/share/icons/${PN}
155 doins "${S2}"/icons/*.png
156 }
157
158 pkg_postinst() {
159 elog "This ebuild for dillo comes with different toolbar icons"
160 elog "If you want mozilla style icons then try"
161 elog " DILLO_ICONSET=\"mozilla\" emerge dillo"
162 elog
163 elog "If you prefer konqueror style icons then try"
164 elog " DILLO_ICONSET=\"kde\" emerge dillo"
165 elog
166 elog "If you prefer ximian gnome style icons then try"
167 elog " DILLO_ICONSET=\"gnome\" emerge dillo"
168 elog
169 elog "If you prefer cobalt style icons then try"
170 elog " DILLO_ICONSET=\"cobalt\" emerge dillo"
171 elog
172 elog "If you prefer bold style icons then try"
173 elog " DILLO_ICONSET=\"bold\" emerge dillo"
174 elog
175 elog "If you prefer transparent style icons then try"
176 elog " DILLO_ICONSET=\"trans\" emerge dillo"
177 elog
178 elog "If you prefer the traditional icons then try"
179 elog " DILLO_ICONSET=\"trad\" emerge dillo"
180 elog
181 elog "If the DILLO_ICONSET variable is not set, you will get the"
182 elog "default iconset"
183 elog
184 elog "To see what the icons look like, please point your browser to:"
185 elog "http://dillo.auriga.wearlab.de/Icons/"
186 elog
187 }