FS#1923 - Subversion package doesn't include Java bindings
Attached to Project:
Arch Linux
Opened by Kevin Williams (k-dub) - Tuesday, 21 December 2004, 21:11 GMT
Last edited by Dale Blount (dale) - Tuesday, 21 December 2004, 21:13 GMT
Opened by Kevin Williams (k-dub) - Tuesday, 21 December 2004, 21:11 GMT
Last edited by Dale Blount (dale) - Tuesday, 21 December 2004, 21:13 GMT
|
Details
Please include "--enable-javahl" and
"--with-jdk=<path_to_jdk>" options to the configure
script arguments when compiling Subversion. This should
allow "make javahl" to build the Java bindings.
http://svn.collab.net/viewcvs/svn/trunk/subversion/bindings/java/javahl/README The Java bindings could be a separate package, but that's up to the maintainer. |
This task depends upon
Closed by Jason Chu (jason)
Thursday, 15 September 2005, 14:04 GMT
Reason for closing: Fixed
Additional comments about closing: Included in 1.2.3-4
Thursday, 15 September 2005, 14:04 GMT
Reason for closing: Fixed
Additional comments about closing: Included in 1.2.3-4
Does anyone have any experience where they compiled the package with javahl and they subsequently used it and it worked?
It seems that it doesn't compile unless the newer version of subversion is already installed on the system. That's just bad form. I don't want to have to compile packages twice for them to work totally.
I don't use the Arch j2sdk package, though. I install it directly from Sun, set my JAVA_HOME variable, and add "$JAVA_HOME/bin" to my PATH.
----------------------------------------------------------------------
pkgname=subversion
pkgver=1.2.1
pkgrel=1
pkgdesc="a compelling replacement for CVS"
depends=('glibc' 'expat' 'libxml2' 'gdbm' 'zlib' 'db>=4.3' 'neon' 'apr' 'apr-util')
makedepends=('apache' 'python' 'perl>=5.8.4-1' 'swig>=1.3.24')
source=(http://svn.collab.net/tarballs/$pkgname-$pkgver.tar.gz svnserve svn svnserve.conf)
backup=('etc/xinetd.d/svn' 'etc/conf.d/svnserve')
url="http://subversion.tigris.org/"
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --with-apr=/usr/bin/apr-config --with-apr-util=/usr/bin/apu-config --with-zlib --with-neon=/usr
make DESTDIR=$startdir/pkg || return 1
export LD_LIBRARY_PATH=$startdir/pkg/usr/lib:$LD_LIBRARY_PATH
make DESTDIR=$startdir/pkg install
make DESTDIR=$startdir/pkg swig-py
make install-swig-py DESTDIR=$startdir/pkg
mkdir -p $startdir/pkg/usr/lib/python2.4
mv $startdir/pkg/usr/lib/svn-python/ $startdir/pkg/usr/lib/python2.4/site-packages
mkdir -p $startdir/pkg/usr/share/subversion
cp -r tools/hook-scripts $startdir/pkg/usr/share/subversion
rm -f $startdir/pkg/usr/share/subversion/hook-scripts/*.in
make DESTDIR=$startdir/pkg swig-pl
make install-swig-pl DESTDIR=$startdir/pkg
rm -r $startdir/pkg/usr/lib/perl5/?.?.?
make DESTDIR=$startdir/pkg javahl
make DESTDIR=$startdir/pkg install-javahl
mkdir -p $startdir/pkg/etc/rc.d
mkdir -p $startdir/pkg/etc/xinetd.d
mkdir -p $startdir/pkg/etc/conf.d
install -m 755 $startdir/src/svnserve $startdir/pkg/etc/rc.d
install -m 644 $startdir/src/svn $startdir/pkg/etc/xinetd.d
install -m 644 $startdir/src/svnserve.conf $startdir/pkg/etc/conf.d/svnserve
}
md5sums=('01c3742745d50d4395684a4fb2908c5f' '22d452e0de5168d56c438d99c7ad72fa'\
'a0db6dd43af33952739b6ec089852630' 'c0001ceb13418a065915e27dfdf592c0')