rpms/bigloo/F-8 .cvsignore, 1.16, 1.17 bigloo-javaht.patch, 1.2, 1.3 bigloo.spec, 1.25, 1.26 sources, 1.16, 1.17

Gérard Milmeister gemi at fedoraproject.org
Wed Oct 1 17:48:32 UTC 2008


Author: gemi

Update of /cvs/pkgs/rpms/bigloo/F-8
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1158

Modified Files:
	.cvsignore bigloo-javaht.patch bigloo.spec sources 
Log Message:
new release 3.1b


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/bigloo/F-8/.cvsignore,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- .cvsignore	1 Jun 2008 12:01:19 -0000	1.16
+++ .cvsignore	1 Oct 2008 17:48:01 -0000	1.17
@@ -1 +1 @@
-bigloo3.1a.tar.gz
+bigloo3.1b.tar.gz

bigloo-javaht.patch:

Index: bigloo-javaht.patch
===================================================================
RCS file: /cvs/pkgs/rpms/bigloo/F-8/bigloo-javaht.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- bigloo-javaht.patch	14 Apr 2008 19:56:17 -0000	1.2
+++ bigloo-javaht.patch	1 Oct 2008 17:48:01 -0000	1.3
@@ -1,14 +1,15 @@
---- bigloo3.0a/runtime/Jlib/dlopen.java.javaht	2007-06-01 22:53:49.000000000 +0200
-+++ bigloo3.0a/runtime/Jlib/dlopen.java	2007-06-01 22:54:34.000000000 +0200
-@@ -137,9 +137,9 @@
- 
-    public static int dload( final byte[] filename, final byte[] init_sym ) {
+diff -up bigloo3.1b/runtime/Jlib/dlopen.java.javaht bigloo3.1b/runtime/Jlib/dlopen.java
+--- bigloo3.1b/runtime/Jlib/dlopen.java.javaht	2008-09-18 20:24:59.000000000 +0200
++++ bigloo3.1b/runtime/Jlib/dlopen.java	2008-09-18 20:25:59.000000000 +0200
+@@ -181,9 +181,9 @@ public abstract class dlopen {
+ 			    final byte[] init_sym,
+ 			    final byte[] mod_sym ) {
        synchronized( dlopen_table ) {
 -	 if( !(dlopen_table.contains( filename )) ) {
 +	 if( !(dlopen_table.containsKey( filename )) ) {
- 	    int res = dload_inner( filename, init_sym );
+ 	    int res = dload_inner( filename, init_sym, mod_sym );
 -	    dlopen_table.put( filename, new Boolean( true ) );
-+	    dlopen_table.put( filename, Boolean.valueOf(true) );
++	    dlopen_table.put( filename, Boolean.valueOf( true ) );
  	    return res;
  	 } else {
  	    return 0;


Index: bigloo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bigloo/F-8/bigloo.spec,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- bigloo.spec	1 Jun 2008 12:01:19 -0000	1.25
+++ bigloo.spec	1 Oct 2008 17:48:01 -0000	1.26
@@ -1,8 +1,8 @@
 %define _with_java 1
 
 Name:		bigloo
-Version: 	3.1a
-Release:	1%{?dist}
+Version: 	3.1b
+Release:	3%{?dist}
 Summary: 	Bigloo is compiler for the Scheme programming language
 
 Group:		Development/Languages
@@ -25,8 +25,10 @@
 BuildRequires:  gstreamer-plugins-base-devel
 BuildRequires:  gstreamer-devel
 BuildRequires:  gmp-devel
+BuildRequires:  openssl-devel
 Requires:	bigloo-libs = %{version}-%{release}
 Requires:       indent
+Requires:       gmp-devel
 Requires(post):	   /sbin/install-info
 Requires(postun):  /sbin/install-info
 ExcludeArch:    ppc64
@@ -35,7 +37,7 @@
 Bigloo is a Scheme implementation devoted to one goal: enabling Scheme
 based programming style where C(++) is usually required. Bigloo
 attempts to make Scheme practical by offering features usually
-presented by traditional programming languages but ot offered by
+presented by traditional programming languages but not offered by
 Scheme and functional programming. Bigloo compiles Scheme modules. It
 delivers small and fast stand alone binary executables. Bigloo enables
 full connections between Scheme and C programs.
@@ -78,15 +80,16 @@
 
 %prep
 %setup -q -n %{name}%{version}
-#%patch1 -p1
+%patch1 -p1
 %patch2 -p1
-perl -pi -e 's|bmask=755|bmask=644|' configure
+sed -i 's|bmask=755|bmask=644|' configure
 
 
 %build
 %define emacslisppath %{_datadir}/emacs/site-lisp
 %define xemacslisppath %{_datadir}/xemacs/site-packages/lisp
 %define inplace `pwd`/inplace
+%define bigloo_opt_flags "`echo $RPM_OPT_FLAGS | sed 's/-Wall/-w/g'`"
 
 ./configure \
 	--prefix=%{_prefix} \
@@ -104,9 +107,9 @@
 	%{!?_with_java: --jvm=no} \
 	--sharedbde=yes \
 	--sharedcompiler=yes \
-	--coflags="$RPM_OPT_FLAGS"
+	--coflags=%{bigloo_opt_flags}
 
-perl -pi -e 's|EMACSBRAND=.*|EMACSBRAND=emacs21|' Makefile.config
+sed -i 's|EMACSBRAND=.*|EMACSBRAND=emacs21|' Makefile.config
 
 # _smp_mflags breaks the build
 env LD_LIBRARY_PATH=`pwd`/lib/%{version} \
@@ -128,24 +131,28 @@
 env LD_LIBRARY_PATH=`pwd`/lib/%{version} \
     make DESTDIR=$RPM_BUILD_ROOT EMACSDIR=$RPM_BUILD_ROOT%{emacslisppath}/bigloo install-bee
 make -C manuals DESTDIR=$RPM_BUILD_ROOT install-bee
+
+# fix permissions
 chmod 755 $RPM_BUILD_ROOT%{_bindir}/*
+
+# move libraries to proper place
 (
     cd $RPM_BUILD_ROOT%{_libdir}
     chmod 755 bigloo/%{version}/*.so
     rm -f *.so
     mv bigloo/%{version}/*.so .
     # seems to need to be hard linked so that it is provided by the package
-    for ext in bdl calendar fth mail multimedia pth sqlite ssl web
+    for ext in bdl calendar fth gstreamer mail multimedia pkgcomp pkglib pth sqlite ssl web
     do
         ln -f libbigloo${ext}_s-%{version}.so libbigloo${ext}_u-%{version}.so
     done
     (cd bigloo/%{version}; ln -sf ../../*.so .)
 )
+
 rm -fr $RPM_BUILD_ROOT%{_infodir}/dir
 rm -fr $RPM_BUILD_ROOT%{_datadir}/doc
 
-perl -pi -e 's|^BOOTBINDIR=.*|BOOTBINDIR=%{_bindir}|' Makefile.config
-
+# emacs
 mkdir -p $RPM_BUILD_ROOT%{emacslisppath}/site-start.d
 cat > $RPM_BUILD_ROOT%{emacslisppath}/site-start.d/bigloo.el <<EOF
 (require 'bmacs)
@@ -169,11 +176,13 @@
 
 %post
 /sbin/install-info %{_infodir}/bigloo.info %{_infodir}/dir 2>/dev/null || :
+/sbin/install-info %{_infodir}/bdb.info %{_infodir}/dir 2>/dev/null || :
 
 
 %postun
 if [ $1 = 0 ]; then
   /sbin/install-info --delete %{_infodir}/bigloo.info %{_infodir}/dir 2>/dev/null || :
+  /sbin/install-info --delete %{_infodir}/bdb.info %{_infodir}/dir 2>/dev/null || :
 fi
 
 
@@ -217,6 +226,13 @@
 
 
 %changelog
+* Tue Sep 30 2008 Gerard Milmeister <gemi at bluewin.ch> - 3.1b-3
+- add BR openssl-devel
+- add missing Req. gmp-devel
+
+* Thu Sep 18 2008 Gerard Milmeister <gemi at bluewin.ch> - 3.1b-1
+- new release 3.1b
+
 * Sat May 31 2008 Gerard Milmeister <gemi at bluewin.ch> - 3.1a-1
 - new release 3.1a
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/bigloo/F-8/sources,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- sources	1 Jun 2008 12:01:19 -0000	1.16
+++ sources	1 Oct 2008 17:48:01 -0000	1.17
@@ -1 +1 @@
-de016abbf69a08fdc4ec58afefd16fde  bigloo3.1a.tar.gz
+1c44c3dc0f3b8953178a7918e4c442ab  bigloo3.1b.tar.gz




More information about the scm-commits mailing list