forked from old/legacy-imlib2
parent
513e5b77a6
commit
ad86b207e6
36
Makefile.am
36
Makefile.am
|
@ -1,22 +1,38 @@
|
|||
## 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 \
|
||||
config.h.in config.sub configure install-sh \
|
||||
ltconfig ltmain.sh missing mkinstalldirs \
|
||||
stamp-h.in imlib2_docs.tar imlib2_docs.tar.gz imlib2.c
|
||||
|
||||
dist-hook:
|
||||
./gendoc; \
|
||||
tar cvf imlib2_docs.tar doc; \
|
||||
rm -f imlib2_docs.tar.gz; \
|
||||
gzip -9 imlib2_docs.tar;
|
||||
|
||||
stamp-h.in build-stamp configure-stamp depcomp \
|
||||
imlib2_docs.tar.gz imlib2.c \
|
||||
README \
|
||||
imlib2.pc \
|
||||
imlib2.spec \
|
||||
imlib2.oe imlib2-native.oe \
|
||||
imlib2.bb imlib2Xnative.bb \
|
||||
debian/changelog
|
||||
|
||||
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
|
||||
pkgconfig_DATA = imlib2.pc
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
###############################################################################
|
||||
# #
|
||||
# I M L I B 2 #
|
||||
# #
|
||||
###############################################################################
|
||||
Imlib2 @VERSION@
|
||||
|
||||
This is the Imlib 2 library - a library that does image file loading and
|
||||
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
|
||||
freetype 2.1.x http://www.freetype.org/
|
||||
|
||||
|
||||
For examples of this library in use, seek:
|
||||
|
||||
Eterm http://www.eterm.org/ (CVS version only, currently)
|
||||
feh http://www.linuxbrit.co.uk/feh.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
|
||||
|
||||
debian/ Debian build files
|
||||
demo/ Demo view program
|
||||
doc/ Documentation for imlib2, primarily in html
|
||||
filters/ Filter shared objects
|
||||
libltdl/ Libtool LGPL-licensed loadable module support library source
|
||||
loaders/ Imlib2's image loader-savers (jpg, png, etc)
|
||||
src/ Imlib2 main source
|
||||
test/ Test program(s)
|
||||
------------------------------------------------------------------------------
|
||||
BUILDING PACKAGES:
|
||||
|
||||
RPM: To build rpm packages:
|
||||
|
||||
sudo rpm -ta @PACKAGE@-@VERSION@.tar.gz
|
||||
|
||||
You will find rpm packages in your system /usr/src/redhat/* dirs (note you may
|
||||
not need to use sudo or root if you have your own ~/.rpmrc. see rpm documents
|
||||
for more details)
|
||||
|
||||
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.
|
11
configure.in
11
configure.in
|
@ -359,6 +359,7 @@ AC_SUBST(requirements)
|
|||
|
||||
AC_OUTPUT([
|
||||
Makefile
|
||||
imlib2.pc
|
||||
src/Makefile
|
||||
src/lib/Makefile
|
||||
src/bin/Makefile
|
||||
|
@ -369,12 +370,16 @@ data/Makefile
|
|||
data/fonts/Makefile
|
||||
data/images/Makefile
|
||||
doc/Makefile
|
||||
debian/Makefile
|
||||
imlib2-config
|
||||
imlib2.pc
|
||||
README
|
||||
imlib2.spec
|
||||
imlib2.oe
|
||||
imlib2-native.oe
|
||||
imlib2.bb
|
||||
imlib2Xnative.bb
|
||||
debian/changelog
|
||||
],[
|
||||
chmod +x imlib2-config
|
||||
touch imlib2_docs.tar.gz
|
||||
])
|
||||
|
||||
#####################################################################
|
||||
|
|
|
@ -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
|
|
@ -1,4 +1,4 @@
|
|||
imlib2 (1.2.1-0cvs20050129) unstable; urgency=low
|
||||
imlib2 (@VERSION@-1) unstable; urgency=low
|
||||
|
||||
* a CVS release
|
||||
|
|
@ -5,7 +5,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
|
|||
SECTION = "e/libs"
|
||||
PRIORITY = "optional"
|
||||
DEPENDS = "freetype libpng jpeg"
|
||||
PV = "1.2.0"
|
||||
PV = "@VERSION@"
|
||||
PR = "1"
|
||||
|
||||
do_prepsources () {
|
|
@ -5,7 +5,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
|
|||
SECTION = "e/libs"
|
||||
PRIORITY = "optional"
|
||||
DEPENDS = "freetype libpng jpeg"
|
||||
PV = "1.2.0"
|
||||
PV = "@VERSION@"
|
||||
PR = "1"
|
||||
|
||||
do_prepsources () {
|
|
@ -1,11 +1,11 @@
|
|||
Summary: Powerful image loading and rendering library
|
||||
Name: imlib2
|
||||
Version: 1.2.0
|
||||
Release: 2.%(date '+%Y%m%d')
|
||||
Version: @VERSION@
|
||||
Release: 1
|
||||
License: BSD
|
||||
Group: System Environment/Libraries
|
||||
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>}
|
||||
Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
|
||||
Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
|
||||
|
@ -123,7 +123,7 @@ gz compressed image loader/saver for Imlib2
|
|||
--disable-mmx \
|
||||
%endif
|
||||
$RPM_CONFIGURE_OPTS
|
||||
%{__make} LDFLAGS="$LDFLAGS -L/usr/X11R6/%{_lib}" %{?_smp_mflags} %{?mflags}
|
||||
%{__make} %{?_smp_mflags} %{?mflags}
|
||||
|
||||
%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
|
||||
%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.*
|
||||
/usr/share/imlib2/data/fonts/*.ttf
|
||||
/usr/share/imlib2/data/images/*.png
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.la
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root, 0755)
|
||||
%{_libdir}/libImlib2.so
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/*.a
|
||||
%{_libdir}/imlib2/loaders/*.a
|
||||
%{_libdir}/imlib2/loaders/*.la
|
||||
%{_libdir}/imlib2/filters/*.a
|
||||
%{_libdir}/imlib2/filters/*.la
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/pkgconfig/imlib2.pc
|
||||
%{_bindir}/imlib2-config
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_includedir}/*
|
||||
|
||||
%files filters
|
Loading…
Reference in New Issue