update to 1.4.5 [release 1.4.5-1mamba;Sun Sep 02 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 04:39:03 +01:00
parent 26dc96fb2c
commit 8b0e020115
3 changed files with 264 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libimlib2 # libimlib2
Imlib2 is an advanced replacement library for libraries like libXpm that provides many more features with much greater flexibility and speed than standard libraries, including font rasterization, rotation, RGBA space rendering and blending, dynamic binary filters, scripting, and more.

View File

@ -0,0 +1,98 @@
diff -Naur imlib2-1.2.0/src/modules/filters/Makefile.am imlib2-1.2.0.new/src/modules/filters/Makefile.am
--- imlib2-1.2.0/src/modules/filters/Makefile.am 2004-11-02 04:03:49.000000000 +0100
+++ imlib2-1.2.0.new/src/modules/filters/Makefile.am 2005-03-24 11:38:16.023759914 +0100
@@ -11,11 +11,14 @@
pkg_LTLIBRARIES = testfilter.la bumpmap.la colormod.la
testfilter_la_SOURCES = filter_test.c
-testfilter_la_LDFLAGS = -module -avoid-version
+testfilter_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+testfilter_la_LIBADD = -lImlib2
bumpmap_la_SOURCES = filter_bumpmap.c
-bumpmap_la_LDFLAGS = -module -avoid-version
+bumpmap_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+bumpmap_la_LIBADD = -lImlib2
colormod_la_SOURCES = filter_colormod.c
-colormod_la_LDFLAGS = -module -avoid-version
+colormod_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+colormod_la_LIBADD = -lImlib2
diff -Naur imlib2-1.2.0/src/modules/loaders/Makefile.am imlib2-1.2.0.new/src/modules/loaders/Makefile.am
--- imlib2-1.2.0/src/modules/loaders/Makefile.am 2004-11-02 04:04:05.000000000 +0100
+++ imlib2-1.2.0.new/src/modules/loaders/Makefile.am 2005-03-24 11:33:37.225049469 +0100
@@ -43,49 +43,49 @@
lbm.la
jpeg_la_SOURCES = loader_jpeg.c
-jpeg_la_LDFLAGS = -module -avoid-version
-jpeg_la_LIBADD = @JPEGLIBS@
+jpeg_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+jpeg_la_LIBADD = @JPEGLIBS@ -lImlib2
png_la_SOURCES = loader_png.c
-png_la_LDFLAGS = -module -avoid-version
-png_la_LIBADD = @PNGLIBS@
+png_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+png_la_LIBADD = @PNGLIBS@ -lImlib2
tiff_la_SOURCES = loader_tiff.c
-tiff_la_LDFLAGS = -module -avoid-version
-tiff_la_LIBADD = @TIFFLIBS@
+tiff_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+tiff_la_LIBADD = @TIFFLIBS@ -lImlib2
gif_la_SOURCES = loader_gif.c
-gif_la_LDFLAGS = -module -avoid-version
-gif_la_LIBADD = @GIFLIBS@
+gif_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+gif_la_LIBADD = @GIFLIBS@ -lImlib2
zlib_la_SOURCES = loader_zlib.c
-zlib_la_LDFLAGS = -module -avoid-version
-zlib_la_LIBADD = @ZLIBLIBS@
+zlib_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+zlib_la_LIBADD = @ZLIBLIBS@ -lImlib2
bz2_la_SOURCES = loader_bz2.c
-bz2_la_LDFLAGS = -module -avoid-version
-bz2_la_LIBADD = @BZ2LIBS@
+bz2_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+bz2_la_LIBADD = @BZ2LIBS@ -lImlib2
pnm_la_SOURCES = loader_pnm.c
-pnm_la_LDFLAGS = -module -avoid-version
-pnm_la_LIBADD =
+pnm_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+pnm_la_LIBADD = -lImlib2
argb_la_SOURCES = loader_argb.c
-argb_la_LDFLAGS = -module -avoid-version
-argb_la_LIBADD =
+argb_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+argb_la_LIBADD = -lImlib2
bmp_la_SOURCES = loader_bmp.c
-bmp_la_LDFLAGS = -module -avoid-version
-bmp_la_LIBADD =
+bmp_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+bmp_la_LIBADD = -lImlib2
xpm_la_SOURCES = loader_xpm.c
-xpm_la_LDFLAGS = -module -avoid-version
-xpm_la_LIBADD =
+xpm_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+xpm_la_LIBADD = -lImlib2
tga_la_SOURCES = loader_tga.c
-tga_la_LDFLAGS = -module -avoid-version
-tga_la_LIBADD =
+tga_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+tga_la_LIBADD = -lImlib2
lbm_la_SOURCES = loader_lbm.c
-lbm_la_LDFLAGS = -module -avoid-version
-lbm_la_LIBADD =
+lbm_la_LDFLAGS = -module -avoid-version -L$(top_builddir)/src/lib/
+lbm_la_LIBADD = -lImlib2

164
libimlib2.spec Normal file
View File

@ -0,0 +1,164 @@
%define with_imlib2_loaders 0
Name: libimlib2
Version: 1.4.5
Release: 1mamba
Summary: A powerful image loading and rendering library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.rasterman.com/imlib.html
Source0: http://download.sourceforge.net/sourceforge/enlightenment/imlib2-%{version}.tar.gz
Source1: http://download.sourceforge.net/sourceforge/enlightenment/imlib2_loaders-%{version}.tar.gz
Patch: %{name}-1.2.0-dload.patch
License: BSD
Requires: %{name}-filters = %{version}-%{release}
Requires: %{name}-loaders = %{version}-%{release}
## AUTOBUILDREQ-BEGIN
BuildRequires: bash
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbzip2-devel
BuildRequires: libfreetype-devel
BuildRequires: libid3tag-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: libungif-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Obsoletes: imlib2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Imlib2 is an advanced replacement library for libraries like libXpm that provides many more features with much greater flexibility and speed than standard libraries, including font rasterization, rotation, RGBA space rendering and blending, dynamic binary filters, scripting, and more.
%package devel
Summary: Imlib2 header, static libraries and documentation
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Obsoletes: imlib2-devel
%description devel
Imlib2 is an advanced replacement library for libraries like libXpm that provides many more features with much greater flexibility and speed than standard libraries, including font rasterization, rotation, RGBA space rendering and blending, dynamic binary filters, scripting, and more.
Header, static libraries and documentation for Imlib2.
%package filters
Summary: Imlib2 basic plugin filters set
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description filters
This package contains Imlib2 basic set of plugin filters.
%package loaders
Summary: Imlib2 loader for various graphic formats
Group: System/Libraries
Requires: %{name} = %{version}-%{release}
%description loaders
This package contains Imlib2 image loader/saver for various graphic formats, such as jpeg, gif, tiff, xpm etc.
%prep
%setup -q -n imlib2-%{version} -a1
#%patch -p1
%build
%configure \
%if "%{_target_cpu}" == "i586"
--enable-mmx
%endif
%make
%if %{with_imlib2_loaders}
# additional loaders
cd imlib2_loaders-%{version}
%configure
%make
%endif
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall
%if %{with_imlib2_loaders}
cd imlib2_loaders-%{version}
%makeinstall
%endif
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/*.so.*
%dir %{_datadir}/imlib2/
%{_datadir}/imlib2/data/fonts/*
%{_datadir}/imlib2/data/images/*
%doc AUTHORS ChangeLog COPYING README TODO doc/{index.html,*.gif}
%files devel
%defattr(-, root, root)
%{_bindir}/*
%{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%files filters
%defattr(-,root,root)
%dir %{_libdir}/imlib2
%dir %{_libdir}/imlib2/filters/
%{_libdir}/imlib2/filters/*
%files loaders
%defattr(-,root,root)
%dir %{_libdir}/imlib2
%dir %{_libdir}/imlib2/loaders/
%{_libdir}/imlib2/loaders/*
%changelog
* Sun Sep 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-1mamba
- update to 1.4.5
* Fri Nov 12 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.4-2mamba
- rebuilt with libpng 1.4
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
- automatic update by autodist
* Wed Jul 08 2009 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
- automatic update by autodist
* Thu Dec 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
- update to 1.4.0
- changed package maintainer
* Mon Jun 12 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.0-2qilnx
- added support for ppc platform
* Thu Apr 14 2005 Davide Madrisan <davide.madrisan@qiinux.it> 1.2.0-1qilnx
- drop all patches (merged upstream)
- added missing build requirements
- new packages filters and loaders
- fix issue with dynamic loading that broke perl bindings (patch from
Debian; see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=293815)
* Thu Oct 14 2004 Davide Madrisan <davide.madrisan@qiinux.it> 1.1.0-3qilnx
- security fix: CAN-2004-0802
* Fri Oct 01 2004 Davide Madrisan <davide.madrisan@qiinux.it> 1.1.0-2qilnx
- specfile fixed and modified to match QiLinux standards
- added a patch to solve some gcc-3.4 compilation errors
- library name modified (was imlib2)
* Mon Sep 13 2004 Matteo Bernasconi <voyagernm@virgilio.it> 1.1.0-1
- first build