auto-package imlib2...

SVN revision: 13591
This commit is contained in:
Carsten Haitzler 2005-03-03 14:28:52 +00:00
parent 513e5b77a6
commit ad86b207e6
10 changed files with 75 additions and 57 deletions

View File

@ -1,22 +1,38 @@
## Process this file with automake to produce Makefile.in ## Process this file with automake to produce Makefile.in
SUBDIRS = src data doc debian SUBDIRS = src data doc
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
config.h.in config.sub configure install-sh \ config.h.in config.sub configure install-sh \
ltconfig ltmain.sh missing mkinstalldirs \ ltconfig ltmain.sh missing mkinstalldirs \
stamp-h.in imlib2_docs.tar imlib2_docs.tar.gz imlib2.c stamp-h.in build-stamp configure-stamp depcomp \
imlib2_docs.tar.gz imlib2.c \
dist-hook: README \
./gendoc; \ imlib2.pc \
tar cvf imlib2_docs.tar doc; \ imlib2.spec \
rm -f imlib2_docs.tar.gz; \ imlib2.oe imlib2-native.oe \
gzip -9 imlib2_docs.tar; imlib2.bb imlib2Xnative.bb \
debian/changelog
bin_SCRIPTS = imlib2-config bin_SCRIPTS = imlib2-config
EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN TODO imlib2.spec imlib2.c.in imlib2.pc.in gendoc Doxyfile imlib2_docs.tar.gz EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN imlib2.spec imlib2.spec.in gendoc \
Doxyfile \
README.in README \
imlib2.pc.in \
imlib2.spec.in imlib2.spec \
imlib2.oe.in imlib2.oe imlib2-native.oe.in imlib2-native.oe \
imlib2.bb.in imlib2.bb imlib2Xnative.bb.in imlib2Xnative.bb \
debian/changelog.in debian/changelog \
debian/control \
debian/copyright \
debian/imlib2-config.1 \
debian/imlib2-demo.install \
debian/imlib2-test.install \
debian/libimlib2-dev.doc-base \
debian/libimlib2-dev.install \
debian/libimlib2.install \
debian/rules
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = imlib2.pc pkgconfig_DATA = imlib2.pc

View File

@ -1,8 +1,4 @@
############################################################################### Imlib2 @VERSION@
# #
# I M L I B 2 #
# #
###############################################################################
This is the Imlib 2 library - a library that does image file loading and This is the Imlib 2 library - a library that does image file loading and
saving as well as rendering, manipulation, arbitrary polygon support, etc. saving as well as rendering, manipulation, arbitrary polygon support, etc.
@ -21,21 +17,38 @@ libjpeg http://www.ijg.org/
libpng http://www.libpng.org/pub/png/libpng.html libpng http://www.libpng.org/pub/png/libpng.html
freetype 2.1.x http://www.freetype.org/ freetype 2.1.x http://www.freetype.org/
For examples of this library in use, seek: For examples of this library in use, seek:
Eterm http://www.eterm.org/ (CVS version only, currently) Eterm http://www.eterm.org/ (CVS version only, currently)
feh http://www.linuxbrit.co.uk/feh.html feh http://www.linuxbrit.co.uk/feh.html
geist http://www.linuxbrit.co.uk/geist.html geist http://www.linuxbrit.co.uk/geist.html
------------------------------------------------------------------------------
COMPILING AND INSTALLING:
A blurb about each of the directories: ./configure
make
(as root unless youa re installing in your users directories):
make install
------------------------------------------------------------------------------
BUILDING PACKAGES:
debian/ Debian build files RPM: To build rpm packages:
demo/ Demo view program
doc/ Documentation for imlib2, primarily in html sudo rpm -ta @PACKAGE@-@VERSION@.tar.gz
filters/ Filter shared objects
libltdl/ Libtool LGPL-licensed loadable module support library source You will find rpm packages in your system /usr/src/redhat/* dirs (note you may
loaders/ Imlib2's image loader-savers (jpg, png, etc) not need to use sudo or root if you have your own ~/.rpmrc. see rpm documents
src/ Imlib2 main source for more details)
test/ Test program(s)
DEB: To build deb packages:
tar zvf @PACKAGE@-@VERSION@.tar.gz
cd @PACKAGE@-@VERSION@
dpkg-buildpackage -us -uc -rfakeroot
cd ..
rm -rf @PACKAGE@-@VERSION@
You will find all the debian source, binary etc. packages put in the directory
where you first untarred the source tarball.

View File

@ -359,6 +359,7 @@ AC_SUBST(requirements)
AC_OUTPUT([ AC_OUTPUT([
Makefile Makefile
imlib2.pc
src/Makefile src/Makefile
src/lib/Makefile src/lib/Makefile
src/bin/Makefile src/bin/Makefile
@ -369,12 +370,16 @@ data/Makefile
data/fonts/Makefile data/fonts/Makefile
data/images/Makefile data/images/Makefile
doc/Makefile doc/Makefile
debian/Makefile
imlib2-config imlib2-config
imlib2.pc README
imlib2.spec
imlib2.oe
imlib2-native.oe
imlib2.bb
imlib2Xnative.bb
debian/changelog
],[ ],[
chmod +x imlib2-config chmod +x imlib2-config
touch imlib2_docs.tar.gz
]) ])
##################################################################### #####################################################################

11
debian/Makefile.am vendored
View File

@ -1,11 +0,0 @@
EXTRA_DIST = \
changelog \
control \
copyright \
imlib2-config.1 \
imlib2-demo.install \
imlib2-test.install \
libimlib2-dev.doc-base \
libimlib2-dev.install \
libimlib2.install \
rules

View File

@ -1,4 +1,4 @@
imlib2 (1.2.1-0cvs20050129) unstable; urgency=low imlib2 (@VERSION@-1) unstable; urgency=low
* a CVS release * a CVS release

View File

@ -5,7 +5,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
SECTION = "e/libs" SECTION = "e/libs"
PRIORITY = "optional" PRIORITY = "optional"
DEPENDS = "freetype libpng jpeg" DEPENDS = "freetype libpng jpeg"
PV = "1.2.0" PV = "@VERSION@"
PR = "1" PR = "1"
do_prepsources () { do_prepsources () {

View File

@ -5,7 +5,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
SECTION = "e/libs" SECTION = "e/libs"
PRIORITY = "optional" PRIORITY = "optional"
DEPENDS = "freetype libpng jpeg" DEPENDS = "freetype libpng jpeg"
PV = "1.2.0" PV = "@VERSION@"
PR = "1" PR = "1"
do_prepsources () { do_prepsources () {

View File

@ -1,11 +1,11 @@
Summary: Powerful image loading and rendering library Summary: Powerful image loading and rendering library
Name: imlib2 Name: imlib2
Version: 1.2.0 Version: @VERSION@
Release: 2.%(date '+%Y%m%d') Release: 1
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.enlightenment.org URL: http://www.enlightenment.org
Source: ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/%{name}-%{version}.tar.gz Source: %{name}-%{version}.tar.gz
Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>} Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)} Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}} Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
@ -123,7 +123,7 @@ gz compressed image loader/saver for Imlib2
--disable-mmx \ --disable-mmx \
%endif %endif
$RPM_CONFIGURE_OPTS $RPM_CONFIGURE_OPTS
%{__make} LDFLAGS="$LDFLAGS -L/usr/X11R6/%{_lib}" %{?_smp_mflags} %{?mflags} %{__make} %{?_smp_mflags} %{?mflags}
%install %install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
@ -139,22 +139,17 @@ test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc AUTHORS COPYING README ChangeLog doc/index.html doc/imlib2.gif doc/blank.gif %doc AUTHORS COPYING COPYING-PLAIN README
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
/usr/share/imlib2/data/fonts/*.ttf %{_libdir}/*.la
/usr/share/imlib2/data/images/*.png %{_datadir}/%{name}
%{_bindir}/*
%files devel %files devel
%defattr(-, root, root, 0755) %defattr(-, root, root, 0755)
%{_libdir}/libImlib2.so %{_libdir}/*.so
%{_libdir}/*.a %{_libdir}/*.a
%{_libdir}/imlib2/loaders/*.a %{_bindir}/imlib2-config
%{_libdir}/imlib2/loaders/*.la %{_libdir}/pkgconfig/*
%{_libdir}/imlib2/filters/*.a
%{_libdir}/imlib2/filters/*.la
%{_libdir}/*.la
%{_libdir}/pkgconfig/imlib2.pc
%{_includedir}/* %{_includedir}/*
%files filters %files filters