rpms/imlib2/FC-2 imlib2-1.2.0-configure-xlib64.patch, NONE, 1.1 .cvsignore, 1.3, 1.4 imlib2.spec, 1.5, 1.6 sources, 1.3, 1.4

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Jan 29 22:24:01 UTC 2005


Author: scop

Update of /cvs/extras/rpms/imlib2/FC-2
In directory cvs.fedora.redhat.com:/tmp/cvs-serv16304/FC-2

Modified Files:
	.cvsignore imlib2.spec sources 
Added Files:
	imlib2-1.2.0-configure-xlib64.patch 
Log Message:
auto-import imlib2-1.2.0-0.fdr.4.2 on branch FC-2 from imlib2-1.2.0-0.fdr.4.2.src.rpm

imlib2-1.2.0-configure-xlib64.patch:

--- NEW FILE imlib2-1.2.0-configure-xlib64.patch ---
--- configure.old	2005-01-09 18:36:09.314185880 +0100
+++ configure	2005-01-09 18:37:15.840072408 +0100
@@ -20262,7 +20262,7 @@
 if test "x$have_x" = "xyes"; then
   x_dir="/usr/X11R6";
   x_cflags="-I"$x_dir"/include"
-  x_libs="-L"$x_dir"/lib -lX11 -lXext"
+  x_libs="-L"$x_dir"/lib64 -lX11 -lXext"
   echo "$as_me:$LINENO: result: enabling X11 support" >&5
 echo "${ECHO_T}enabling X11 support" >&6
 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/imlib2/FC-2/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	8 Nov 2004 04:35:58 -0000	1.3
+++ .cvsignore	29 Jan 2005 22:23:59 -0000	1.4
@@ -1 +1 @@
-imlib2-1.1.2.tar.gz
+imlib2-1.2.0.tar.gz


Index: imlib2.spec
===================================================================
RCS file: /cvs/extras/rpms/imlib2/FC-2/imlib2.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- imlib2.spec	8 Nov 2004 04:35:58 -0000	1.5
+++ imlib2.spec	29 Jan 2005 22:23:59 -0000	1.6
@@ -1,15 +1,19 @@
 Summary: 	A graphic library for file loading, saving, rendering, and manipulation
 Name: 		imlib2
-Version: 	1.1.2
-Release: 	0.fdr.1.2
+Version: 	1.2.0
+Release: 	0.fdr.4.2
 Epoch:		0
 License: 	BSD
 Group: 		System Environment/Libraries
 URL: 		http://www.enlightenment.org/pages/imlib2.html
 Source0: 	http://download.sf.net/enlightenment/%{name}-%{version}.tar.gz
+Patch0:         imlib2-1.2.0-configure-xlib64.patch
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
 BuildRequires:	XFree86-devel libjpeg-devel libpng-devel libtiff-devel
 BuildRequires:	libungif-devel freetype-devel libtool bzip2-devel
+%ifarch x86_64
+BuildRequires:	perl
+%endif
 
 %package devel
 Summary: 	Development package for %{name}
@@ -39,33 +43,45 @@
 
 %prep
 %setup -q
+%ifarch x86_64
+%patch0 -b .patch0
+%endif
 
 # -----------------------------------------------------------------------------
 
 %build
 %configure \
-%ifarch %{ix86} x86_64 ia64
+  --x-libraries=%{_prefix}/X11R6/%{_lib} \
+  --with-pic \
+%ifarch %{ix86} ia64
   --enable-mmx
+%else
+  --disable-mmx
+%endif
+%ifarch x86_64
+# fix hardcoded rpath im Makefiles on x86_64 due to freetype-config --libs
+# returning "-L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz":
+perl -pi.orig -e 's|-Wl,--rpath -Wl,/usr/lib64||g;' Makefile */Makefile */*/Makefile imlib2-config
 %endif
 
-make %{?_smp_mflags} 
-make -C demo
+make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
 
 # -----------------------------------------------------------------------------
 
 %install
 rm -rf $RPM_BUILD_ROOT __doc
-make install DESTDIR=$RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT -C demo
+make install DESTDIR=$RPM_BUILD_ROOT LIBTOOL=/usr/bin/libtool
 
 cp -a doc __doc
 rm -f __doc/Makefile*
 
 rm -f \
-  $RPM_BUILD_ROOT%{_libdir}/libImlib2.la \
-  $RPM_BUILD_ROOT%{_libdir}/imlib2_loaders/*/*.*a \
+  $RPM_BUILD_ROOT%{_libdir}/imlib2/{loaders,filters}/*.a \
   $RPM_BUILD_ROOT%{_bindir}/{color_spaces,imlib2,*test}
 
+# ship .la files due to a bug in kdelibs (see changelog):
+#  $RPM_BUILD_ROOT%{_libdir}/libImlib2.la \
+
 # -----------------------------------------------------------------------------
 
 %clean
@@ -79,22 +95,62 @@
 %files
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS README ChangeLog TODO __doc/*
-%{_bindir}/imconvert
 %{_bindir}/imlib2_view
+%{_bindir}/imlib2_bumpmap
+%{_bindir}/imlib2_colorspace
+%{_bindir}/imlib2_conv
+%{_bindir}/imlib2_poly
+%{_bindir}/imlib2_show
 %{_libdir}/libImlib2.so.*
-%{_libdir}/imlib2_loaders
+%{_datadir}/imlib2/data/
+%dir %{_libdir}/imlib2/filters/
+%{_libdir}/imlib2/filters/*.so
+%{_libdir}/imlib2/filters/*.la
+%dir %{_libdir}/imlib2/loaders/
+%{_libdir}/imlib2/loaders/*.so
+%{_libdir}/imlib2/loaders/*.la
 
 %files devel
 %defattr(-,root,root,-)
 %{_bindir}/imlib2-config
 %{_includedir}/Imlib2.h
 %{_libdir}/libImlib2.a
+%{_libdir}/libImlib2.la 
 %{_libdir}/libImlib2.so
 %{_libdir}/pkgconfig/imlib2.pc
 
 # -----------------------------------------------------------------------------
 
 %changelog
+* Tue Jan 18 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:1.2.0-4
+- Make this 1.2.0-0.fdr.4 for FC2 and older.
+- Really include libtool archives to fix fedora.us bug #2284.
+
+* Fri Jan 14 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.2.0-3
+- Move filters and loaders back into main package where they belong 
+
+* Mon Jan 10 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.2.0-2
+- Don't ship *.?.a in {_libdir}/imlib/filters/ and loaders/
+
+* Sun Jan 09 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.2.0-1
+- Ship .la files ue to a bug in kdelibs; see
+  https://bugzilla.fedora.us/show_bug.cgi?id=2284
+  http://bugzilla.redhat.com/bugzilla/142244
+  http://bugs.kde.org/93359
+- Use make param LIBTOOL=/usr/bin/libtool - fixes hardcoded rpath on x86_64 
+- fix hardcoded rpath im Makefiles on x86_64 due to freetype-config --libs
+  returning "-L/usr/lib64 -Wl,--rpath -Wl,/usr/lib64 -lfreetype -lz"
+- Update to 1.2.0 -- fixes several security issues 
+- remove explicit libdir=_libdir - 1.2.9 does not need it anymore
+- removeddemo compile/install; 
+- use configure param --x-libraries={_prefix}/X11R6/{_lib} and patch to fix
+  "cannot find -lX11"
+
+* Thu Dec 30 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 0:1.1.2-2
+- Disable mmx on x86_64 (fixes Build error)
+- Add explicit libdir=_libdir to make calls to avoid install errors on x86_64
+- Add --with-pic configure option (taken from Matthias Saou's package)
+
 * Sat Sep 25 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.1.2-0.fdr.1
 - Update to 1.1.2, fixes CAN-2004-0802.
 - Enable MMX on all ix86, x86_64 and ia64, it seems runtime-detected.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/imlib2/FC-2/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	8 Nov 2004 04:35:58 -0000	1.3
+++ sources	29 Jan 2005 22:23:59 -0000	1.4
@@ -1 +1 @@
-3389bad516032c951fda4fe620df0cef  imlib2-1.1.2.tar.gz
+853fb77100ee3c3ca944f52c892ab49b  imlib2-1.2.0.tar.gz




More information about the fedora-extras-commits mailing list