rapidsvn stable port information

Package: rapidsvn
Version: 0.9.8
Revision: 1
Description: GUI front-end for Subversion
License: GPL
Maintainer: Trevor Harmon
#No wxmac28 on x86_64
Architecture: powerpc, i386

# Dependencies:
Depends: svncpp2-shlibs (>= %v-%r), libapr.0-shlibs, libaprutil.0-shlibs, svn15-shlibs, wxmac28-shlibs
BuildDepends: fink (>= 0.24.12), libapr.0-dev, libaprutil.0-dev, svn15-dev, wxmac28, doxygen, graphviz, libxslt (>= 1.0.27), libxml2, openldap24-dev, gdbm3, db48-aes | db48, expat1, libiconv-dev, cyrus-sasl2-dev, docbook-xsl (>= 1.58.1), libgettext8-dev, system-openssl-dev

Conflicts: rapidsvn-gtk, rapidsvn-gtk-ssl
Replaces: rapidsvn-gtk, rapidsvn-gtk-ssl

# Unpack Phase:
Source: http://www.rapidsvn.org/download/release/%v/rapidsvn-%v.tar.gz
Source-MD5: 1b49d893027ae83dbcff3d7508b3f42f

# Patch Phase:
PatchFile: %n.patch
PatchFile-MD5: 0ac63fd253cf0a169250b4bb126eba91

# Compile Phase:
SetLDFLAGS: -L%p/lib/system-openssl/lib
ConfigureParams: --with-svn-include=%p/include --with-svn-lib=%p/lib --with-docbook-xsl-manpages=%p/share/xml/xsl/docbook-xsl/manpages/docbook.xsl --disable-dependency-tracking --with-apr-config=%p/bin/apr-1-config --with-apu-config=%p/bin/apu-1-config
GCC: 4.0

# Install Phase:
DocFiles: AUTHORS COPYING ChangeLog INSTALL NEWS README
InstallScript: <<
#!/bin/bash -ev # Run as a script so that directory changes are preserved

make install DESTDIR=%d

### Create and install the application bundle
cd %b/packages/osx # The make_osx_bundle script assumes it's being run from the %b/packages/osx directory
./make_osx_bundle.sh
strip %i/bin/rapidsvn
mv -f %i/bin/rapidsvn RapidSVN.app/Contents/MacOS/ # Move instead of copy because the program is useless outside of a bundle

### Install svncpp docu
/usr/bin/install -d %i/share
/usr/bin/install -d %i/share/doc
/usr/bin/install -d %i/share/doc/svncpp2-doc
cp -r %b/doc/svncpp/html %i/share/doc/svncpp2-doc
<<
AppBundles: packages/osx/RapidSVN.app
SplitOff: <<
Description: C++ API to subversion - Development Headers
Package: svncpp2-dev
Depends: svncpp2-shlibs (= %v-%r)
Conflicts: svncpp0-dev
Replaces: svncpp0-dev
BuildDependsOnly: True
Files: <<
include
lib/libsvncpp.a
lib/libsvncpp.la
lib/libsvncpp.dylib
<<
DescDetail: <<
As part of the RapidSVN effort it became clear that it would make the code
easier to update and manage if the Subversion client C API were wrapped in C++.
This is where SvnCpp comes from. Right now it has the following aspects of the
C API have been abstracted: authentication, logging, status, notification, and
properties. SvnCpp should provide an object-oriented programming interface to
any project that uses C++ or a SWIG-compatible language like Python or Java.
<<
DocFiles: COPYING README
Homepage: http://rapidsvn.tigris.org/svncpp.html
<<
SplitOff2: <<
Description: C++ API to subversion - Shared libraries
Package: svncpp2-shlibs
Depends: svn15-shlibs
Files: <<
lib/libsvncpp.2.dylib
<<
Shlibs: <<
%p/lib/libsvncpp.2.dylib 3.0.0 %n (>= 0.9.8-1)
<<
DescDetail: <<
As part of the RapidSVN effort it became clear that it would make the code
easier to update and manage if the Subversion client C API were wrapped in C++.
This is where SvnCpp comes from. Right now it has the following aspects of the
C API have been abstracted: authentication, logging, status, notification, and
properties. SvnCpp should provide an object-oriented programming interface to
any project that uses C++ or a SWIG-compatible language like Python or Java.
<<
DocFiles: COPYING README
Homepage: http://rapidsvn.tigris.org/svncpp.html
<<
SplitOff3: <<
Description: C++ API to subversion - Documentation
Package: svncpp2-doc
Files: <<
share/doc/%n
<<
DescDetail: <<
As part of the RapidSVN effort it became clear that it would make the code
easier to update and manage if the Subversion client C API were wrapped in C++.
This is where SvnCpp comes from. Right now it has the following aspects of the
C API have been abstracted: authentication, logging, status, notification, and
properties. SvnCpp should provide an object-oriented programming interface to
any project that uses C++ or a SWIG-compatible language like Python or Java.
<<
DocFiles: COPYING README
Homepage: http://rapidsvn.tigris.org/svncpp.html
<<

# Additional Info
DescDetail: <<
RapidSVN is a cross-platform GUI front-end for the Subversion revision system
written in C++ using the wxWindows framework. This project also includes a
Subversion client C++ API.
<<
Homepage: http://rapidsvn.tigris.org/
DescPackaging: <<
dmacks (0.9.4-12) make sure dist files are used in preference
to anything from installed packages

dmacks (0.9.4-12) svncpp uses svn headers, so make it also
link against svn libs (otherwise users could link against an
incompatible-svn's libs later)

dmacks (0.9.4-12) avoid fink's openssl* (inherit -lssl from neon)
<<

rapidsvn stable port .patch

diff -ur rapidsvn-0.9.8.orig/configure rapidsvn-0.9.8/configure
--- rapidsvn-0.9.8.orig/configure 2009-03-19 18:22:51.000000000 -0500
+++ rapidsvn-0.9.8/configure 2009-07-06 00:13:11.000000000 -0500
@@ -15057,7 +15057,7 @@


abs_srcdir="`cd $srcdir && pwd`"
-CPPFLAGS="$CPPFLAGS -I$abs_srcdir/include"
+CPPFLAGS="-I$abs_srcdir/include $CPPFLAGS"

{ echo "$as_me:$LINENO: checking for gcc/g++" >&5
echo $ECHO_N "checking for gcc/g++... $ECHO_C" >&6; }
diff -ur rapidsvn-0.9.8.orig/packages/osx/make_osx_bundle.sh rapidsvn-0.9.8/packages/osx/make_osx_bundle.sh
--- rapidsvn-0.9.8.orig/packages/osx/make_osx_bundle.sh 2009-03-19 18:08:45.000000000 -0500
+++ rapidsvn-0.9.8/packages/osx/make_osx_bundle.sh 2009-07-07 01:05:15.000000000 -0500
@@ -7,7 +7,6 @@
DISKIMAGE=RapidSVN-0.9.8
DISKIMAGE_FILE=$DISKIMAGE.dmg
test -e RapidSVN.app && rm -rf RapidSVN.app
-rm *.dmg

# Create the bundle
BUNDLEDIR=RapidSVN.app/Contents
@@ -15,7 +14,6 @@
mkdir -p $BUNDLEDIR/Resources

cp ../../src/rapidsvn $BUNDLEDIR/MacOS/
-strip $BUNDLEDIR/MacOS/rapidsvn
cp rapidsvn.icns $BUNDLEDIR/Resources/
echo -n 'APPL????' > $BUNDLEDIR/PkgInfo

@@ -25,12 +23,10 @@
for DIR in ??; do
mkdir -p ../../packages/osx/$BUNDLEDIR/Resources/locale/$DIR
cp $DIR/rapidsvn.po ../../packages/osx/$BUNDLEDIR/Resources/locale/$DIR
- cp $DIR/rapidsvn.mo ../../packages/osx/$BUNDLEDIR/Resources/locale/$DIR
done
for DIR in ??_??; do
mkdir -p ../../packages/osx/$BUNDLEDIR/Resources/locale/$DIR
cp $DIR/rapidsvn.po ../../packages/osx/$BUNDLEDIR/Resources/locale/$DIR
- cp $DIR/rapidsvn.mo ../../packages/osx/$BUNDLEDIR/Resources/locale/$DIR
done
popd

@@ -68,9 +64,3 @@


" > $BUNDLEDIR/Info.plist
-
-# Now create the disk image from the bundle
-hdiutil create -quiet -srcfolder RapidSVN.app $DISKIMAGE
-
-test -e $DISKIMAGE_FILE && echo Success!!
-
diff -ur rapidsvn-0.9.8.orig/src/Makefile.in rapidsvn-0.9.8/src/Makefile.in
--- rapidsvn-0.9.8.orig/src/Makefile.in 2009-03-19 18:22:50.000000000 -0500
+++ rapidsvn-0.9.8/src/Makefile.in 2009-07-06 00:14:24.000000000 -0500
@@ -327,8 +327,8 @@
verblist.cpp \
view_action.cpp

-rapidsvn_LDFLAGS = -Lsvncpp
-rapidsvn_LDADD = -lsvncpp \
+rapidsvn_LDFLAGS =
+rapidsvn_LDADD = svncpp/libsvncpp.la \
$(SVN_LIBS) \
$(APR_LIBS) \
$(WX_LIBS) \
diff -ur rapidsvn-0.9.8.orig/src/svncpp/Makefile.in rapidsvn-0.9.8/src/svncpp/Makefile.in
--- rapidsvn-0.9.8.orig/src/svncpp/Makefile.in 2009-03-19 18:22:50.000000000 -0500
+++ rapidsvn-0.9.8/src/svncpp/Makefile.in 2009-07-06 00:15:03.000000000 -0500
@@ -52,7 +52,7 @@
am__installdirs = "$(DESTDIR)$(libdir)"
libLTLIBRARIES_INSTALL = $(INSTALL)
LTLIBRARIES = $(lib_LTLIBRARIES)
-libsvncpp_la_LIBADD =
+libsvncpp_la_LIBADD = $(SVN_LIBS)
am_libsvncpp_la_OBJECTS = apr.lo client.lo client_annotate.lo \
client_cat.lo client_diff.lo client_ls.lo client_modify.lo \
client_property.lo client_status.lo context.lo datetime.lo \
diff -ur rapidsvn-0.9.8.orig/src/tests/svncpp/Makefile.in rapidsvn-0.9.8/src/tests/svncpp/Makefile.in
--- rapidsvn-0.9.8.orig/src/tests/svncpp/Makefile.in 2009-03-19 18:22:50.000000000 -0500
+++ rapidsvn-0.9.8/src/tests/svncpp/Makefile.in 2009-07-06 00:16:04.000000000 -0500
@@ -210,8 +210,8 @@
test_path.cpp

svncpptest_CPPFLAGS = -I../../../include @CPPUNIT_CXXFLAGS@
-svncpptest_LDFLAGS = -L../../svncpp @CPPUNIT_LIBS@
-svncpptest_LDADD = -lsvncpp \
+svncpptest_LDFLAGS = @CPPUNIT_LIBS@
+svncpptest_LDADD = ../../svncpp/libsvncpp.la \
$(SVN_LIBS) \
$(NEON_LIBS) \
$(APR_LIBS)

rapidsvn _unstable_ port .patch