rpms/pl/devel pl-5.6.52-fix-java-directory.patch, NONE, 1.1 .cvsignore, 1.18, 1.19 pl.spec, 1.47, 1.48 sources, 1.18, 1.19

Mary Ellen Foster (mef) fedora-extras-commits at redhat.com
Mon Mar 31 14:17:37 UTC 2008


Author: mef

Update of /cvs/pkgs/rpms/pl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23153

Modified Files:
	.cvsignore pl.spec sources 
Added Files:
	pl-5.6.52-fix-java-directory.patch 
Log Message:
Update to 5.6.52
Some more work on jpl (still doesn't work on ppc64, argh)


pl-5.6.52-fix-java-directory.patch:

--- NEW FILE pl-5.6.52-fix-java-directory.patch ---
--- pl-5.6.52/packages/jpl/configure.orig	2008-03-31 14:49:28.000000000 +0200
+++ pl-5.6.52/packages/jpl/configure	2008-03-31 15:29:02.000000000 +0200
@@ -4629,14 +4629,12 @@
 		_JNI_LIBSUBDIR="server"
 		;;
 	powerpc)
-		case "$host_os" in
-		linux*)
-			_JNI_LIBDIRS="bin"
-			_JNI_LIBSUBDIR="classic"
-			;;
-		*)
-			_JNI_LIBDIRS=""
-		esac
+		_JNI_LIBDIRS="lib/ppc"
+		_JNI_LIBSUBDIR="core"
+		;;
+	powerpc64)
+		_JNI_LIBDIRS="lib/ppc64"
+		_JNI_LIBSUBDIR="core"
 		;;
 	*)
 		_JNI_LIBDIRS=""


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/pl/devel/.cvsignore,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- .cvsignore	25 Feb 2008 16:08:25 -0000	1.18
+++ .cvsignore	31 Mar 2008 14:16:55 -0000	1.19
@@ -1,3 +1,3 @@
-pl-5.6.50.tar.gz
+pl-5.6.52.tar.gz
 HTMLmanual.tar.gz
 userguide.html.tgz


Index: pl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pl/devel/pl.spec,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- pl.spec	22 Feb 2008 17:08:12 -0000	1.47
+++ pl.spec	31 Mar 2008 14:16:55 -0000	1.48
@@ -1,5 +1,5 @@
 Name:		pl
-Version:	5.6.50
+Version:	5.6.52
 Release:	1%{?dist}
 
 Summary:	SWI-Prolog - Edinburgh compatible Prolog compiler
@@ -12,6 +12,7 @@
 Source2:	http://gollem.science.uva.nl/cgi-bin/nph-download/xpce/doc/userguide/userguide.html.tgz
 Patch0:         pl-5.4.6-rpath.patch
 Patch1:         pl-5.6.0-multilib.patch
+Patch2:         pl-5.6.52-fix-java-directory.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gmp-devel
 BuildRequires:  libICE-devel
@@ -31,9 +32,7 @@
 BuildRequires:  readline-devel
 BuildRequires:  unixODBC-devel
 BuildRequires:  freetype-devel
-%ifnarch ppc64 ppc
-BuildRequires: java-devel-icedtea
-%endif
+BuildRequires:  java-devel-openjdk
 Requires:       readline-devel
 
 %description
@@ -45,44 +44,38 @@
 toolkit, integrated editor (Emacs-clone) and source-level debugger).
 
 
-%ifnarch ppc64 ppc
 %package jpl
 Summary: A bidirectional Prolog/Java interface for SWI Prolog
 Group: Development/Languages
 Requires: %{name} = %{version}-%{release}
-Requires: java-icedtea
+Requires: java-sdk-openjdk
 
 %description jpl
 JPL is a library using the SWI-Prolog foreign interface and the Java jni
 interface providing a bidirectional interface between Java and Prolog
 that can be used to embed Prolog in Java as well as for embedding Java
-in Prolog.  In both setups it provides a reentrant bidirectional interface
-%endif
+in Prolog.  In both setups it provides a reentrant bidirectional interface.
 
 
 %prep
 %setup -q
 %patch0 -p1 -b .rpath
 %patch1 -p1 -b .multilib
+%patch2 -p1 -b .libjvm
 (
    mkdir doc-install
    cd doc-install
    tar zxf %{SOURCE1}
    tar zxf %{SOURCE2}
 )
-find . -name CVS | xargs rm -fr
 
 
 %build
-%configure
+%configure --enable-shared
 make COFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 PATH=$PWD/src:$PATH
 cd packages
-%ifarch ppc64 ppc
-%configure --without-jpl
-%else
 %configure
-%endif
 make COFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 cd ..
 
@@ -122,17 +115,24 @@
 %exclude %{_libdir}/pl-%{version}/lib/*/libjpl.so
 %exclude %{_libdir}/pl-%{version}/lib/jpl.jar
 
-%ifnarch ppc64 ppc
 %files jpl
 %doc packages/jpl/docs/*
 %{_libdir}/pl-%{version}/library/jpl.pl
 %{_libdir}/pl-%{version}/lib/*/libjpl.so
 %{_libdir}/pl-%{version}/lib/jpl.jar
-%endif
 
 
 %changelog
-* Fri Feb 22 2008 Mary Ellen foster <mefoster at gmail.com> - 5.6.50-1
+* Mon Mar 31 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.52-1
+- Switch jpl requirement from IcedTea to OpenJDK and enable it everywhere
+- Upgrade to 5.6.52
+- Patch jpl configure script to find Java libraries on ppc{64}
+- NB: Still broken on ppc64, still trying to figure out why
+
+* Mon Feb 25 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.51-1
+- Upgrade to 5.6.51
+
+* Fri Feb 22 2008 Mary Ellen Foster <mefoster at gmail.com> - 5.6.50-1
 - Update to 5.6.50
 - Enable JPL (as a sub-package) -- NB: it only builds with icedtea for now,
   so we disable that sub-package on ppc64 and ppc for the moment


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pl/devel/sources,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- sources	25 Feb 2008 16:08:25 -0000	1.18
+++ sources	31 Mar 2008 14:16:55 -0000	1.19
@@ -1,3 +1,3 @@
-55dddf131ef9184f4272e9357c264d43  pl-5.6.50.tar.gz
-4fba0fc6cf9fea14d8536d65446046f4  HTMLmanual.tar.gz
+3b15a61d4e395cf85118ecb8905b245e  pl-5.6.52.tar.gz
+100d98b2339e250353876dcfaec0ff49  HTMLmanual.tar.gz
 a4462019611caa4f69247c8bf94404a7  userguide.html.tgz




More information about the fedora-extras-commits mailing list