[packages/guile1: 72/172] - updated to 1.4.1 - removed unneded/obsolette std_headers, acinclude.m4_fixes.patch, am_fixes.patch

jajcus jajcus at pld-linux.org
Sat Dec 12 13:44:50 CET 2015


commit 82061f6bbae8eabe1b8ee56bbbf5fceabb97c8dc
Author: filon <filon at sokrates.mimuw.edu.pl>
Date:   Wed May 15 21:05:22 2002 +0000

    - updated to 1.4.1
    - removed unneded/obsolette std_headers, acinclude.m4_fixes.patch, am_fixes.patch, use_system_libltd.aptch
    - updated and fixed (apply changes also in guile-readline) SCM_SITE_DIR_path.patch
    - updated files
    - rebuild ac/am stuff + hack for make (and proper -I for aclocal)
    - hack for broken libtool behavior (look into spec for info)
    - updated info patch
    - STBR, works with TeXmacs :-)
    
    Changed files:
        guile.spec -> 1.62

 guile.spec | 61 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 35 insertions(+), 26 deletions(-)
---
diff --git a/guile.spec b/guile.spec
index effcc4a..2b37298 100644
--- a/guile.spec
+++ b/guile.spec
@@ -1,8 +1,8 @@
 Summary:	GNU Extension language
 Summary(pl):	GNU Extension language
 Name:		guile
-Version:	1.4
-Release:	12
+Version:	1.4.1
+Release:	1
 Epoch:		1
 License:	GPL
 Group:		Development/Languages
@@ -10,15 +10,13 @@ Source0:	ftp://prep.ai.mit.edu/pub/gnu/guile/%{name}-%{version}.tar.gz
 URL:		http://www.gnu.org/software/guile/guile.html
 Patch0:		%{name}-info.pach
 Patch1:		%{name}-fix_awk_patch.patch
-Patch2:		%{name}-std_headers.patch
-Patch3:		%{name}-SCM_SITE_DIR_path.patch
-Patch4:		%{name}-acinclude.m4_fixes.patch
-Patch5:		%{name}-am_fixes.patch
-Patch6:		%{name}-use_system_libltd.aptch
+Patch2:		%{name}-SCM_SITE_DIR_path.patch
 BuildRequires:	libltdl-devel
 BuildRequires:	ncurses-devel >= 5.2
 BuildRequires:	readline-devel >= 4.2
 Requires:	umb-scheme
+BuildRequires:	autoconf >= 2.50
+BuildRequires:	automake >= 1.5
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:	libguile9
 
@@ -62,24 +60,28 @@ Biblioteka statyczna Guile.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
+
+# I wouldn't apply it, it breaks other programs, but I have fixed it, so
+# if you convince me... (but remember about perl, python, tcl and ruby ) (filon)
+#%patch2 -p1
 
 %build
-#rm -f missing
-#libtoolize --copy --force
-#aclocal -I .
-#autoconf
-#automake -a -c -f
-#(cd guile-readline
-#aclocal
-#autoconf
-#automake -a -c -f)
-%configure2_13
-%{__make}
+rm -f missing
+libtoolize -c -f
+aclocal -I guile-config
+autoconf
+automake -a -c -f
+cp ltmain.sh guile-readline
+cd guile-readline
+aclocal
+autoconf
+automake -a -c -f
+cd -
+%configure \
+	--with-threads
+
+%{__make} \
+	THREAD_LIBS_LOCAL=`pwd`/qt/.libs/libqthreads.so
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -89,6 +91,15 @@ install -d $RPM_BUILD_ROOT{%{_datadir}/guile/site,%{_libdir}/guile}
 	DESTDIR=$RPM_BUILD_ROOT \
 	aclocaldir=%{_aclocaldir}
 
+# this is a hack :-)
+# libtool while installing links libguilereadline with installed libguile, so (in most
+# cases) we get libguilereadline.so linked with (old) libguile.so.9 (!!!) and we cannot
+# install it, so I had to fix it :-) (filon)
+cd guile-readline
+gcc -shared readline.lo -Wl,--rpath ../libguile/.libs/libguile.so -lreadline -lncurses -Wl,-soname -Wl,libguilereadline.so.0 \
+-o $RPM_BUILD_ROOT%{_libdir}/libguilereadline.so.0.0.1
+cd -
+
 gzip -9nf AUTHORS ChangeLog GUILE-VERSION HACKING NEWS README
 
 %post   -p /sbin/ldconfig
@@ -114,9 +125,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc {AUTHORS,ChangeLog,GUILE-VERSION,HACKING,NEWS,README}.gz
 %attr(755,root,root) %{_bindir}/guile-config
-%attr(755,root,root) %{_bindir}/guile-doc-snarf
-%attr(755,root,root) %{_bindir}/guile-snarf*
-%attr(755,root,root) %{_bindir}/guile-func-name-check
+%attr(755,root,root) %{_bindir}/guile-snarf
 %attr(755,root,root) %{_libdir}/*.so
 %attr(755,root,root) %{_libdir}/*.la
 %{_infodir}/*info*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/guile1.git/commitdiff/ebe6c26bec9cbe3813afc2be58f989889f8e944a



More information about the pld-cvs-commit mailing list