Gentoo Archives: gentoo-commits

From: "Fernando J. Pereda (ferdy)" <ferdy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/git: ChangeLog git-1.5.4_rc2.ebuild git-1.5.3.8.ebuild git-1.5.3.5.ebuild git-1.5.4_rc1.ebuild git-1.5.3.3.ebuild git-1.5.3.6.ebuild git-1.5.3.4-r1.ebuild git-1.5.4_rc0.ebuild git-1.5.3.7.ebuild git-1.5.3.4.ebuild git-1.5.3.6-r1.ebuild git-1.5.3.2.ebuild
Date: Thu, 10 Jan 2008 11:51:52
Message-Id: E1JCvwq-0000Pf-VG@stork.gentoo.org
1 ferdy 08/01/10 11:51:48
2
3 Modified: ChangeLog git-1.5.4_rc2.ebuild
4 Added: git-1.5.3.8.ebuild
5 Removed: git-1.5.3.5.ebuild git-1.5.4_rc1.ebuild
6 git-1.5.3.3.ebuild git-1.5.3.6.ebuild
7 git-1.5.3.4-r1.ebuild git-1.5.4_rc0.ebuild
8 git-1.5.3.7.ebuild git-1.5.3.4.ebuild
9 git-1.5.3.6-r1.ebuild git-1.5.3.2.ebuild
10 Log:
11 Version bump. Fix some bugs and style nits. Remove unneeded verbosity. Remove unused versions.
12 (Portage version: 2.1.3.19)
13
14 Revision Changes Path
15 1.248 dev-util/git/ChangeLog
16
17 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?rev=1.248&view=markup
18 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?rev=1.248&content-type=text/plain
19 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?r1=1.247&r2=1.248
20
21 Index: ChangeLog
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v
24 retrieving revision 1.247
25 retrieving revision 1.248
26 diff -u -r1.247 -r1.248
27 --- ChangeLog 1 Jan 2008 19:51:52 -0000 1.247
28 +++ ChangeLog 10 Jan 2008 11:51:48 -0000 1.248
29 @@ -1,6 +1,17 @@
30 # ChangeLog for dev-util/git
31 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
32 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.247 2008/01/01 19:51:52 jokey Exp $
33 +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.248 2008/01/10 11:51:48 ferdy Exp $
34 +
35 +*git-1.5.3.8 (10 Jan 2008)
36 +
37 + 10 Jan 2008; Fernando J. Pereda <ferdy@g.o>
38 + +files/git-1.5.3.8-t9106.patch, -git-1.5.3.2.ebuild, -git-1.5.3.3.ebuild,
39 + -git-1.5.3.4.ebuild, -git-1.5.3.4-r1.ebuild, -git-1.5.3.5.ebuild,
40 + -git-1.5.3.6.ebuild, -git-1.5.3.6-r1.ebuild, -git-1.5.3.7.ebuild,
41 + +git-1.5.3.8.ebuild, -git-1.5.4_rc0.ebuild, -git-1.5.4_rc1.ebuild,
42 + git-1.5.4_rc2.ebuild:
43 + Version bump. Fix some bugs and style nits. Remove unneeded verbosity.
44 + Remove unused versions.
45
46 *git-1.5.4_rc2 (01 Jan 2008)
47
48
49
50
51 1.2 dev-util/git/git-1.5.4_rc2.ebuild
52
53 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.4_rc2.ebuild?rev=1.2&view=markup
54 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.4_rc2.ebuild?rev=1.2&content-type=text/plain
55 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.4_rc2.ebuild?r1=1.1&r2=1.2
56
57 Index: git-1.5.4_rc2.ebuild
58 ===================================================================
59 RCS file: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.4_rc2.ebuild,v
60 retrieving revision 1.1
61 retrieving revision 1.2
62 diff -u -r1.1 -r1.2
63 --- git-1.5.4_rc2.ebuild 1 Jan 2008 19:51:52 -0000 1.1
64 +++ git-1.5.4_rc2.ebuild 10 Jan 2008 11:51:48 -0000 1.2
65 @@ -1,6 +1,6 @@
66 # Copyright 1999-2008 Gentoo Foundation
67 # Distributed under the terms of the GNU General Public License v2
68 -# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.4_rc2.ebuild,v 1.1 2008/01/01 19:51:52 jokey Exp $
69 +# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.4_rc2.ebuild,v 1.2 2008/01/10 11:51:48 ferdy Exp $
70
71 inherit toolchain-funcs eutils elisp-common perl-module bash-completion
72
73 @@ -17,7 +17,7 @@
74
75 LICENSE="GPL-2"
76 SLOT="0"
77 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
78 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
79 IUSE="curl cgi doc emacs gtk iconv mozsha1 perl ppcsha1 tk webdav"
80
81 DEPEND="
82 @@ -31,7 +31,7 @@
83 webdav? ( dev-libs/expat )
84 emacs? ( virtual/emacs )"
85 RDEPEND="${DEPEND}
86 - cgi? ( virtual/perl-CGI )
87 + cgi? ( virtual/perl-CGI )
88 perl? ( dev-perl/Error )
89 gtk? ( >=dev-python/pygtk-2.8 )"
90
91 @@ -113,7 +113,6 @@
92 dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
93 use doc && dodir /usr/share/doc/${PF}/html
94 for d in / /howto/ /technical/ ; do
95 - einfo "Doing Documentation${d}"
96 docinto ${d}
97 dodoc Documentation${d}*.txt
98 use doc && dohtml -p ${d} Documentation${d}*.html
99 @@ -181,16 +180,14 @@
100 MY_MAKEOPTS="${MY_MAKEOPTS} NO_SVN_TESTS=YesPlease"
101 has_version app-arch/unzip || \
102 rm "${S}"/t/t5000-tar-tree.sh
103 - # Stupid CVS won't let some people commit as root
104 - if has userpriv "${FEATURES}"; then
105 - einfo "Enabling CVS tests as we have FEATURES=userpriv"
106 - else
107 + if ! has userpriv "${FEATURES}"; then
108 ewarn "Skipping CVS tests because CVS does not work as root!"
109 ewarn "You should retest with FEATURES=userpriv!"
110 for i in t9200-git-cvsexportcommit.sh t9600-cvsimport.sh ; do
111 rm "${S}"/t/${i} || die "Failed to remove ${i}"
112 done
113 fi
114 + built_with_use dev-util/cvs server || rm "${S}"/t/t9600-cvsimport.sh
115 emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed"
116 }
117
118 @@ -208,13 +205,14 @@
119 showpkgdeps git-cvsimport ">=dev-util/cvsps-2.1"
120 showpkgdeps git-svnimport "dev-util/subversion(USE=perl)"
121 showpkgdeps git-svn \
122 + "USE=perl" \
123 "dev-util/subversion(USE=perl)" \
124 "dev-perl/libwww-perl" \
125 "dev-perl/TermReadKey"
126 showpkgdeps git-quiltimport "dev-util/quilt"
127 showpkgdeps git-cvsserver "dev-perl/DBI" "dev-perl/DBD-SQLite"
128 showpkgdeps git-instaweb \
129 - "|| ( www-servers/lighttpd www-servers/apache(SLOT=2) )"
130 + "|| ( www-servers/lighttpd www-servers/apache )"
131 showpkgdeps git-send-email "USE=perl"
132 showpkgdeps git-remote "USE=perl"
133 echo
134
135
136
137 1.1 dev-util/git/git-1.5.3.8.ebuild
138
139 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.3.8.ebuild?rev=1.1&view=markup
140 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.3.8.ebuild?rev=1.1&content-type=text/plain
141
142 Index: git-1.5.3.8.ebuild
143 ===================================================================
144 # Copyright 1999-2008 Gentoo Foundation
145 # Distributed under the terms of the GNU General Public License v2
146 # $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.3.8.ebuild,v 1.1 2008/01/10 11:51:48 ferdy Exp $
147
148 inherit toolchain-funcs eutils elisp-common perl-module bash-completion
149
150 MY_PV="${PV/_rc/.rc}"
151 MY_P="${PN}-${MY_PV}"
152
153 DOC_VER=${MY_PV}
154
155 DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team"
156 HOMEPAGE="http://git.or.cz/"
157 SRC_URI="mirror://kernel/software/scm/git/${MY_P}.tar.bz2
158 mirror://kernel/software/scm/git/${PN}-manpages-${DOC_VER}.tar.bz2
159 doc? ( mirror://kernel/software/scm/git/${PN}-htmldocs-${DOC_VER}.tar.bz2 )"
160
161 LICENSE="GPL-2"
162 SLOT="0"
163 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
164 IUSE="curl cgi doc emacs gtk iconv mozsha1 perl ppcsha1 tk webdav"
165
166 DEPEND="
167 !app-misc/git
168 dev-libs/openssl
169 sys-libs/zlib
170 dev-lang/perl
171 app-arch/cpio
172 tk? ( dev-lang/tk )
173 curl? ( net-misc/curl )
174 webdav? ( dev-libs/expat )
175 emacs? ( virtual/emacs )"
176 RDEPEND="${DEPEND}
177 cgi? ( virtual/perl-CGI )
178 perl? ( dev-perl/Error )
179 gtk? ( >=dev-python/pygtk-2.8 )"
180
181 SITEFILE=72${PN}-gentoo.el
182 S="${WORKDIR}/${MY_P}"
183
184 # This is needed because for some obscure reasons future calls to make don't
185 # pick up these exports if we export them in src_unpack()
186 exportmakeopts() {
187 local myopts
188
189 if use mozsha1 ; then
190 myopts="${myopts} MOZILLA_SHA1=YesPlease"
191 elif use ppcsha1 ; then
192 myopts="${myopts} PPC_SHA1=YesPlease"
193 fi
194
195 if use curl ; then
196 use webdav || myopts="${myopts} NO_EXPAT=YesPlease"
197 else
198 myopts="${myopts} NO_CURL=YesPlease"
199 use webdav && ewarn "USE=webdav only matters with USE=curl. Ignoring."
200 fi
201
202 myopts="${myopts} WITH_SEND_EMAIL=YesPlease"
203
204 use iconv || myopts="${myopts} NO_ICONV=YesPlease"
205 use tk || myopts="${myopts} NO_TCLTK=YesPlease"
206
207 export MY_MAKEOPTS=${myopts}
208 }
209
210 showpkgdeps() {
211 local pkg=$1
212 shift
213 elog " $(printf "%-17s:" ${pkg}) ${@}"
214 }
215
216 src_unpack() {
217 unpack ${MY_P}.tar.bz2
218 cd "${S}"
219 unpack ${PN}-manpages-${DOC_VER}.tar.bz2
220 use doc && cd "${S}"/Documentation && unpack ${PN}-htmldocs-${DOC_VER}.tar.bz2
221 cd "${S}"
222
223 epatch "${FILESDIR}"/${PN}-1.5.3-symlinks.patch
224 epatch "${FILESDIR}"/${P}-t9106.patch
225
226 sed -i \
227 -e "s:^\(CFLAGS = \).*$:\1${CFLAGS} -Wall:" \
228 -e "s:^\(LDFLAGS = \).*$:\1${LDFLAGS}:" \
229 -e "s:^\(CC = \).*$:\1$(tc-getCC):" \
230 -e "s:^\(AR = \).*$:\1$(tc-getAR):" \
231 -e 's:ln :ln -s :g' \
232 Makefile || die "sed failed"
233
234 exportmakeopts
235 }
236
237 src_compile() {
238 emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr || die "make failed"
239
240 if use emacs ; then
241 elisp-compile contrib/emacs/{,vc-}git.el || die "emacs modules failed"
242 fi
243 if use cgi ; then
244 emake ${MY_MAKEOPTS} \
245 DESTDIR="${D}" \
246 prefix=/usr \
247 gitweb/gitweb.cgi || die "make gitweb/gitweb.cgi failed"
248 fi
249 }
250
251 src_install() {
252 emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || \
253 die "make install failed"
254
255 doman man?/*
256
257 dodoc README Documentation/{SubmittingPatches,CodingGuidelines}
258 use doc && dodir /usr/share/doc/${PF}/html
259 for d in / /howto/ /technical/ ; do
260 docinto ${d}
261 dodoc Documentation${d}*.txt
262 use doc && dohtml -p ${d} Documentation${d}*.html
263 done
264 docinto /
265
266 dobashcompletion contrib/completion/git-completion.bash ${PN}
267
268 if use emacs ; then
269 elisp-install ${PN} contrib/emacs/{,vc-}git.el* || \
270 die "elisp-install failed"
271 elisp-site-file-install "${FILESDIR}"/${SITEFILE}
272 # don't add automatically to the load-path, so the sitefile
273 # can do a conditional loading
274 touch "${D}"/"${SITELISP}"/${PN}/.nosearch
275 fi
276
277 if use gtk ; then
278 dobin "${S}"/contrib/gitview/gitview
279 dodoc "${S}"/contrib/gitview/gitview.txt
280 newbin "${S}"/contrib/blameview/blameview.perl blameview
281 newdoc "${S}"/contrib/blameview/README README.blameview
282 fi
283
284 dobin contrib/fast-import/git-p4
285 dodoc contrib/fast-import/git-p4.txt
286 newbin contrib/fast-import/import-tars.perl import-tars
287
288 dodir /usr/share/${PN}/contrib
289 for i in continuous fast-import hg-to-git \
290 hooks remotes2config.sh vim stats \
291 workdir ; do
292 cp -rf \
293 "${S}"/contrib/${i} \
294 "${D}"/usr/share/${PN}/contrib \
295 || die "Failed contrib ${i}"
296 done
297
298 if use cgi ; then
299 dodir /usr/share/${PN}/gitweb
300 insinto /usr/share/${PN}/gitweb
301 doins "${S}"/gitweb/gitweb.{cgi,css}
302 doins "${S}"/gitweb/git-{favicon,logo}.png
303 docinto /
304 # INSTALL discusses configuration issues, not just installation
305 newdoc "${S}"/gitweb/INSTALL INSTALL.gitweb
306 newdoc "${S}"/gitweb/README README.gitweb
307 fi
308
309 insinto /etc/xinetd.d
310 newins "${FILESDIR}"/git-daemon.xinetd git-daemon
311
312 newinitd "${FILESDIR}"/git-daemon.initd git-daemon
313 newconfd "${FILESDIR}"/git-daemon.confd git-daemon
314
315 fixlocalpod
316 }
317
318 src_test() {
319 has_version dev-util/subversion || \
320 MY_MAKEOPTS="${MY_MAKEOPTS} NO_SVN_TESTS=YesPlease"
321 has_version app-arch/unzip || \
322 rm "${S}"/t/t5000-tar-tree.sh
323 if ! has userpriv "${FEATURES}"; then
324 ewarn "Skipping CVS tests because CVS does not work as root!"
325 ewarn "You should retest with FEATURES=userpriv!"
326 for i in t9200-git-cvsexportcommit.sh t9600-cvsimport.sh ; do
327 rm "${S}"/t/${i} || die "Failed to remove ${i}"
328 done
329 fi
330 built_with_use dev-util/cvs server || rm "${S}"/t/t9600-cvsimport.sh
331 emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed"
332 }
333
334 pkg_postinst() {
335 if use emacs ; then
336 elisp-site-regen
337 elog "GNU Emacs has built-in Git support in versions greater 22.1."
338 elog "You can disable the emacs USE flag for dev-util/git"
339 elog "if you are using such a version."
340 fi
341 elog "These additional scripts need some dependencies:"
342 elog "(These are also needed for FEATURES=test)"
343 echo
344 showpkgdeps git-archimport "dev-util/tla"
345 showpkgdeps git-cvsimport ">=dev-util/cvsps-2.1"
346 showpkgdeps git-svnimport "dev-util/subversion(USE=perl)"
347 showpkgdeps git-svn \
348 "USE=perl" \
349 "dev-util/subversion(USE=perl)" \
350 "dev-perl/libwww-perl" \
351 "dev-perl/TermReadKey"
352 showpkgdeps git-quiltimport "dev-util/quilt"
353 showpkgdeps git-cvsserver "dev-perl/DBI" "dev-perl/DBD-SQLite"
354 showpkgdeps git-instaweb \
355 "|| ( www-servers/lighttpd www-servers/apache )"
356 showpkgdeps git-send-email "USE=perl"
357 showpkgdeps git-remote "USE=perl"
358 echo
359 }
360
361 pkg_postrm() {
362 use emacs && elisp-site-regen
363 }
364
365
366
367 --
368 gentoo-commits@l.g.o mailing list