1 |
ferdy 07/10/04 18:31:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: git-1.5.3.4.ebuild |
5 |
Log: |
6 |
New upstream version. Include fixes from bug #194690 thanks to Christian Faulhammer <opfer@g.o> |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.227 dev-util/git/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?rev=1.227&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?rev=1.227&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/ChangeLog?r1=1.226&r2=1.227 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v |
19 |
retrieving revision 1.226 |
20 |
retrieving revision 1.227 |
21 |
diff -u -r1.226 -r1.227 |
22 |
--- ChangeLog 30 Sep 2007 12:01:34 -0000 1.226 |
23 |
+++ ChangeLog 4 Oct 2007 18:31:12 -0000 1.227 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-util/git |
26 |
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.226 2007/09/30 12:01:34 ferdy Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-util/git/ChangeLog,v 1.227 2007/10/04 18:31:12 ferdy Exp $ |
29 |
+ |
30 |
+*git-1.5.3.4 (04 Oct 2007) |
31 |
+ |
32 |
+ 04 Oct 2007; Fernando J. Pereda <ferdy@g.o> +files/72git-gentoo.el, |
33 |
+ +git-1.5.3.4.ebuild: |
34 |
+ New upstream version. Include fixes from bug #194690 thanks to Christian |
35 |
+ Faulhammer <opfer@g.o> |
36 |
|
37 |
*git-1.5.3.3 (30 Sep 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-util/git/git-1.5.3.4.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.3.4.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/git/git-1.5.3.4.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: git-1.5.3.4.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/git/git-1.5.3.4.ebuild,v 1.1 2007/10/04 18:31:12 ferdy Exp $ |
52 |
|
53 |
inherit toolchain-funcs eutils elisp-common perl-module bash-completion |
54 |
|
55 |
MY_PV="${PV/_rc/.rc}" |
56 |
MY_P="${PN}-${MY_PV}" |
57 |
|
58 |
DOC_VER=${MY_PV} |
59 |
|
60 |
DESCRIPTION="GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team" |
61 |
HOMEPAGE="http://git.or.cz/" |
62 |
SRC_URI="mirror://kernel/software/scm/git/${MY_P}.tar.bz2 |
63 |
mirror://kernel/software/scm/git/${PN}-manpages-${DOC_VER}.tar.bz2 |
64 |
doc? ( mirror://kernel/software/scm/git/${PN}-htmldocs-${DOC_VER}.tar.bz2 )" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
69 |
IUSE="curl doc elibc_uclibc emacs gtk mozsha1 perl ppcsha1 tk webdav" |
70 |
|
71 |
DEPEND=" |
72 |
!app-misc/git |
73 |
dev-libs/openssl |
74 |
sys-libs/zlib |
75 |
dev-lang/perl |
76 |
tk? ( dev-lang/tk ) |
77 |
curl? ( net-misc/curl ) |
78 |
webdav? ( dev-libs/expat ) |
79 |
emacs? ( virtual/emacs )" |
80 |
RDEPEND="${DEPEND} |
81 |
perl? ( dev-perl/Error ) |
82 |
gtk? ( >=dev-python/pygtk-2.8 )" |
83 |
|
84 |
SITEFILE=72${PN}-gentoo.el |
85 |
S="${WORKDIR}/${MY_P}" |
86 |
|
87 |
# This is needed because for some obscure reasons future calls to make don't |
88 |
# pick up these exports if we export them in src_unpack() |
89 |
exportmakeopts() { |
90 |
local myopts |
91 |
|
92 |
if use mozsha1 ; then |
93 |
myopts="${myopts} MOZILLA_SHA1=YesPlease" |
94 |
elif use ppcsha1 ; then |
95 |
myopts="${myopts} PPC_SHA1=YesPlease" |
96 |
fi |
97 |
|
98 |
if use curl ; then |
99 |
use webdav || myopts="${myopts} NO_EXPAT=YesPlease" |
100 |
else |
101 |
myopts="${myopts} NO_CURL=YesPlease" |
102 |
use webdav && ewarn "USE=webdav only matters with USE=curl. Ignoring." |
103 |
fi |
104 |
|
105 |
myopts="${myopts} WITH_SEND_EMAIL=YesPlease" |
106 |
|
107 |
use elibc_uclibc && myopts="${myopts} NO_ICONV=YesPlease" |
108 |
|
109 |
export MY_MAKEOPTS=${myopts} |
110 |
} |
111 |
|
112 |
showpkgdeps() { |
113 |
local pkg=$1 |
114 |
shift |
115 |
elog " $(printf "%-17s:" ${pkg}) ${@}" |
116 |
} |
117 |
|
118 |
src_unpack() { |
119 |
unpack ${A} |
120 |
cd "${S}" |
121 |
|
122 |
epatch "${FILESDIR}"/${PN}-1.5.3-symlinks.patch |
123 |
|
124 |
sed -i \ |
125 |
-e "s:^\(CFLAGS = \).*$:\1${CFLAGS} -Wall:" \ |
126 |
-e "s:^\(LDFLAGS = \).*$:\1${LDFLAGS}:" \ |
127 |
-e "s:^\(CC = \).*$:\1$(tc-getCC):" \ |
128 |
-e "s:^\(AR = \).*$:\1$(tc-getAR):" \ |
129 |
-e 's:ln :ln -s :g' \ |
130 |
Makefile || die "sed failed" |
131 |
|
132 |
exportmakeopts |
133 |
} |
134 |
|
135 |
src_compile() { |
136 |
emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr || die "make failed" |
137 |
|
138 |
if use emacs ; then |
139 |
elisp-compile contrib/emacs/{,vc-}git.el || die "emacs modules failed" |
140 |
fi |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || \ |
145 |
die "make install failed" |
146 |
|
147 |
use tk || rm "${D}"/usr/bin/git{k,-gui} |
148 |
|
149 |
doman "${WORKDIR}"/man?/* |
150 |
|
151 |
dodoc README COPYING Documentation/SubmittingPatches |
152 |
if use doc ; then |
153 |
dodoc Documentation/technical/* |
154 |
dodir /usr/share/doc/${PF}/html |
155 |
cp -r "${WORKDIR}"/{*.html,howto} "${D}"/usr/share/doc/${PF}/html |
156 |
fi |
157 |
|
158 |
dobashcompletion contrib/completion/git-completion.bash ${PN} |
159 |
|
160 |
if use emacs ; then |
161 |
elisp-install ${PN} contrib/emacs/{,vc-}git.el* || \ |
162 |
die "elisp-install failed" |
163 |
elisp-site-file-install "${FILESDIR}"/${SITEFILE} |
164 |
# don't add automatically to the load-path, so the sitefile |
165 |
# can do a conditional loading |
166 |
touch "${D}"/"${SITELISP}"/${PN}/.nosearch |
167 |
fi |
168 |
|
169 |
if use gtk ; then |
170 |
dobin contrib/gitview/gitview |
171 |
use doc && dodoc contrib/gitview/gitview.txt |
172 |
fi |
173 |
|
174 |
insinto /etc/xinetd.d |
175 |
newins "${FILESDIR}"/git-daemon.xinetd git-daemon |
176 |
|
177 |
newinitd "${FILESDIR}"/git-daemon.initd git-daemon |
178 |
newconfd "${FILESDIR}"/git-daemon.confd git-daemon |
179 |
|
180 |
fixlocalpod |
181 |
} |
182 |
|
183 |
src_test() { |
184 |
cd "${S}" |
185 |
has_version dev-util/subversion || \ |
186 |
MY_MAKEOPTS="${MY_MAKEOPTS} NO_SVN_TESTS=YesPlease" |
187 |
has_version app-arch/unzip || \ |
188 |
rm "${S}"/t/t5000-tar-tree.sh |
189 |
# Stupid CVS won't let some people commit as root |
190 |
rm "${S}"/t/t9200-git-cvsexportcommit.sh |
191 |
emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr test || die "tests failed" |
192 |
} |
193 |
|
194 |
pkg_postinst() { |
195 |
if use emacs ; then |
196 |
elisp-site-regen |
197 |
elog "GNU Emacs has built-in Git support in versions greater 22.1." |
198 |
elog "You can disable the emacs USE flag for dev-util/git" |
199 |
elog "if you are using such a version." |
200 |
fi |
201 |
elog "These additional scripts need some dependencies:" |
202 |
echo |
203 |
showpkgdeps git-archimport "dev-util/tla" |
204 |
showpkgdeps git-cvsimport ">=dev-util/cvsps-2.1" |
205 |
showpkgdeps git-svnimport "dev-util/subversion(USE=perl)" |
206 |
showpkgdeps git-svn \ |
207 |
"dev-util/subversion(USE=perl)" \ |
208 |
"dev-perl/libwww-perl" \ |
209 |
"dev-perl/TermReadKey" |
210 |
showpkgdeps git-quiltimport "dev-util/quilt" |
211 |
showpkgdeps git-cvsserver "dev-perl/DBI" "dev-perl/DBD-SQLite" |
212 |
showpkgdeps git-instaweb \ |
213 |
"|| ( www-servers/lighttpd www-servers/apache(SLOT=2) )" |
214 |
showpkgdeps git-send-email "USE=perl" |
215 |
showpkgdeps git-remote "USE=perl" |
216 |
echo |
217 |
} |
218 |
|
219 |
pkg_postrm() { |
220 |
use emacs && elisp-site-regen |
221 |
} |
222 |
|
223 |
|
224 |
|
225 |
-- |
226 |
gentoo-commits@g.o mailing list |