Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/rapidsvn: ChangeLog rapidsvn-0.9.8.ebuild
Date: Sat, 06 Jun 2009 15:54:18
Message-Id: E1MCyDn-000472-VH@stork.gentoo.org
1 nerdboy 09/06/06 15:54:15
2
3 Modified: ChangeLog
4 Added: rapidsvn-0.9.8.ebuild
5 Log:
6 Added new version, updated use=doc generation (closes bug #265941).
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.65 dev-util/rapidsvn/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/rapidsvn/ChangeLog?rev=1.65&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/rapidsvn/ChangeLog?rev=1.65&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/rapidsvn/ChangeLog?r1=1.64&r2=1.65
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/ChangeLog,v
19 retrieving revision 1.64
20 retrieving revision 1.65
21 diff -u -r1.64 -r1.65
22 --- ChangeLog 17 Sep 2008 20:46:01 -0000 1.64
23 +++ ChangeLog 6 Jun 2009 15:54:15 -0000 1.65
24 @@ -1,6 +1,14 @@
25 # ChangeLog for dev-util/rapidsvn
26 -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/ChangeLog,v 1.64 2008/09/17 20:46:01 maekke Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/ChangeLog,v 1.65 2009/06/06 15:54:15 nerdboy Exp $
30 +
31 +*rapidsvn-0.9.8 (06 Jun 2009)
32 +
33 + 06 Jun 2009; Steve Arnold <nerdboy@g.o>
34 + +files/rapidsvn-0.9.8-sar.patch, +rapidsvn-0.9.8.ebuild:
35 + Added new version, updated use=doc generation (closes bug #265941). The
36 + underlying subversion neon support is dorked up (at least for me) so this
37 + was tested with webdav-serf against a couple of different local repos.
38
39 17 Sep 2008; Markus Meier <maekke@g.o> rapidsvn-0.9.6-r1.ebuild:
40 amd64/x86 stable, bug #237095
41
42
43
44 1.1 dev-util/rapidsvn/rapidsvn-0.9.8.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/rapidsvn/rapidsvn-0.9.8.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/rapidsvn/rapidsvn-0.9.8.ebuild?rev=1.1&content-type=text/plain
48
49 Index: rapidsvn-0.9.8.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/rapidsvn/rapidsvn-0.9.8.ebuild,v 1.1 2009/06/06 15:54:15 nerdboy Exp $
54
55 WANT_AUTOCONF="2.5"
56 inherit versionator eutils libtool autotools wxwidgets flag-o-matic fdo-mime
57
58 DESCRIPTION="Cross-platform GUI front-end for the Subversion revision system."
59 HOMEPAGE="http://rapidsvn.tigris.org/"
60 SRC_URI="http://www.rapidsvn.org/download/release/${PV}/${P}.tar.gz"
61 LICENSE="GPL-2 LGPL-2.1 FDL-1.2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
64 IUSE="doc"
65
66 COMMON_DEP=">=dev-util/subversion-1.5.0
67 >=x11-libs/wxGTK-2.6
68 >=dev-libs/apr-1.2.10
69 >=dev-libs/apr-util-1.2.10"
70
71 DEPEND="${COMMON_DEP}
72 doc? ( dev-libs/libxslt
73 app-text/docbook-sgml-utils
74 app-doc/doxygen
75 app-text/docbook-xsl-stylesheets )"
76
77 RDEPEND="${COMMON_DEP}"
78
79 RESTRICT=""
80
81 src_unpack() {
82 unpack ${A}
83 cd "${S}"
84
85 # Apparently we still need the --as-needed link patch...
86 #export EPATCH_OPTS="-F3 -l"
87 epatch "${FILESDIR}/${PN}-svncpp_link.patch"
88 epatch "${FILESDIR}/${P}-sar.patch"
89 eautoreconf
90 }
91
92 src_compile() {
93 einfo "Checking for subversion compiled with WebDAV support..."
94 if ! built_with_use --missing true -o dev-util/subversion webdav-serf || \
95 built_with_use --missing false dev-util/subversion nowebdav; then
96 ewarn "SVN (dev-util/subversion) must be compiled with WebDAV support."
97 ewarn "Please re-emerge subversion with the webdav-serf USE flag and"
98 ewarn "without the nowebdav USE flag."
99 die "SVN merged without WebDAV support"
100 else
101 einfo "Found WebDAV support; continuing..."
102 fi
103
104 # if you compiled subversion without (the) apache2 (flag) and with the
105 # berkdb flag, you will get an error that it can't find the lib db4
106 # Note: this should be fixed in rapidsvn 0.9.3 and later
107 local myconf
108 local apr_suffix=""
109
110 if has_version ">dev-libs/apr-util-1"; then
111 apr_suffix="-1"
112 fi
113
114 if use doc; then
115 myconf="--with-manpage=yes"
116 else
117 myconf="--without-xsltproc --with-manpage=no \
118 --without-doxygen --without-dot"
119 fi
120
121 local INST_WX=$(best_version x11-libs/wxGTK)
122 export WX_GTK_VER=$(get_version_component_range 1-2 \
123 ${INST_WX/x11-libs\/wxGTK})
124
125 need-wxwidgets ansi
126 myconf="${myconf} --with-wx-config=${WX_CONFIG}"
127
128 append-flags $( /usr/bin/apr${apr_suffix}-config --cppflags )
129
130 econf --with-svn-lib=/usr/$(get_libdir) \
131 --with-svn-include=/usr/include \
132 --with-apr-config="/usr/bin/apr${apr_suffix}-config" \
133 --with-apu-config="/usr/bin/apu${apr_suffix}-config" \
134 ${myconf} || die "econf failed"
135 emake || die "emake failed"
136 }
137
138 src_install() {
139 einstall || die "einstall failed"
140
141 doicon src/res/rapidsvn.ico
142 make_desktop_entry rapidsvn "RapidSVN ${PV}" \
143 "/usr/share/pixmaps/rapidsvn.ico" \
144 "RevisionControl;Development"
145
146 dodoc HACKING.txt TRANSLATIONS
147
148 if use doc ; then
149 dodoc AUTHORS CHANGES NEWS README
150 dohtml "${S}"/doc/svncpp/html/*
151 fi
152 }
153
154 pkg_postinst() {
155 fdo-mime_desktop_database_update
156 }
157
158 pkg_postrm() {
159 fdo-mime_desktop_database_update
160 }