imlib2: update to 1.4.7.
This commit is contained in:
parent
f55b7554bb
commit
6609934a84
2 changed files with 6 additions and 37 deletions
|
@ -1,24 +0,0 @@
|
|||
Adapt DGifOpenFileHandle() to the 5.x API.
|
||||
|
||||
--- src/modules/loaders/loader_gif.c.orig 2012-10-15 16:29:26.667044054 +0200
|
||||
+++ src/modules/loaders/loader_gif.c 2012-10-15 16:29:43.329649211 +0200
|
||||
@@ -19,7 +19,7 @@ load(ImlibImage * im, ImlibProgressFunct
|
||||
int intoffset[] = { 0, 4, 2, 1 };
|
||||
int intjump[] = { 8, 8, 4, 2 };
|
||||
int transp;
|
||||
- int fd;
|
||||
+ int fd, err = 0;
|
||||
|
||||
done = 0;
|
||||
rows = NULL;
|
||||
@@ -36,8 +36,8 @@ load(ImlibImage * im, ImlibProgressFunct
|
||||
#endif
|
||||
if (fd < 0)
|
||||
return 0;
|
||||
- gif = DGifOpenFileHandle(fd);
|
||||
- if (!gif)
|
||||
+ gif = DGifOpenFileHandle(fd, &err);
|
||||
+ if (err)
|
||||
{
|
||||
close(fd);
|
||||
return 0;
|
|
@ -1,10 +1,10 @@
|
|||
# Template build file for 'imlib2'.
|
||||
pkgname=imlib2
|
||||
version=1.4.6
|
||||
revision=4
|
||||
version=1.4.7
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --sysconfdir=/etc/imlib2 --enable-visibility-hiding"
|
||||
hostmakedepends="libtool autoconf pkg-config"
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="freetype-devel libjpeg-turbo-devel libpng-devel
|
||||
tiff-devel libid3tag-devel giflib-devel libXext-devel libSM-devel"
|
||||
short_desc="Image manipulation library"
|
||||
|
@ -12,16 +12,10 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
distfiles="${SOURCEFORGE_SITE}/enlightenment/imlib2-$version.tar.gz"
|
||||
homepage="http://sourceforge.net/projects/enlightenment/"
|
||||
license="BSD"
|
||||
checksum=17cc128c0e61974d59c423b59d0fb5cb85c97169adf5b05184cc58f7c87b4f4e
|
||||
checksum=48e98337a560d8904f685447f41c43914fec1f8cd3745a9fd86cba9fd24a6563
|
||||
|
||||
pre_configure() {
|
||||
libtoolize -f
|
||||
# prevent regenerating Makefile.in and aclocal.m4
|
||||
touch aclocal.m4 Makefile.in
|
||||
# make it build with giflib-5.1.0
|
||||
# see http://wiki.linuxfromscratch.org/blfs/ticket/5076#comment:2
|
||||
sed -i "/DGifCloseFile/s:gif:&, NULL:g" src/modules/loaders/loader_gif.c
|
||||
sed -e 's,@my_libs@,@LIBS@,g' -i imlib2-config.in
|
||||
autoreconf -fi
|
||||
}
|
||||
|
||||
imlib2-tools_package() {
|
||||
|
@ -30,9 +24,8 @@ imlib2-tools_package() {
|
|||
vmove usr/bin
|
||||
}
|
||||
}
|
||||
|
||||
imlib2-devel_package() {
|
||||
depends="imlib2>=${version}_${revision}"
|
||||
depends="${sourcepkg}-${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/bin/imlib2-config
|
||||
|
|
Loading…
Reference in a new issue