Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=cdcdf556ecc709795f521dafc9bb8e67272dcdc1
commit cdcdf556ecc709795f521dafc9bb8e67272dcdc1 Author: Elentir <elen...@frugalware.org> Date: Sun May 30 23:11:35 2010 +0200 libucil-0.9.8-1-i686 * new package diff --git a/source/xlib-extra/libucil/FrugalBuild b/source/xlib-extra/libucil/FrugalBuild new file mode 100644 index 0000000..eb37928 --- /dev/null +++ b/source/xlib-extra/libucil/FrugalBuild @@ -0,0 +1,19 @@ +# Compiling Time: 0.10 SBU +# Maintainer: Elentir <elen...@frugalware.org> + +pkgname=libucil +pkgver=0.9.8 +pkgrel=1 +pkgdesc="Provides functions to render text and graphic overlays onto video images" +url="http://unicap-imaging.org/" +depends=('alsa-lib' 'libunicap' 'libtheora' 'pango' 'libvorbis') +makedepends=('perl-xml-parser' 'intltool') +groups=('xlib-extra') +archs=('i686' 'x86_64') +up2date="Flasttar $url/download.htm" +source=(http://unicap-imaging.org/downloads/$pkgname-$pkgver.tar.gz \ +$pkgname-libpng14.patch) +sha1sums=('1a03ba08e511a379e59ff38350f6075a87daf30c' \ + '5d7b41051d5adff9ba72eba4ef721b56cdb3e507') + +# optimization OK diff --git a/source/xlib-extra/libucil/libucil-libpng14.patch b/source/xlib-extra/libucil/libucil-libpng14.patch new file mode 100644 index 0000000..6834a2d --- /dev/null +++ b/source/xlib-extra/libucil/libucil-libpng14.patch @@ -0,0 +1,39 @@ +diff -Naur libucil-0.9.8//src/ucil_png.c libucil-0.9.8-2//src/ucil_png.c +--- libucil-0.9.8//src/ucil_png.c 2010-01-17 08:49:29.000000000 +0100 ++++ libucil-0.9.8-2//src/ucil_png.c 2010-05-30 23:09:21.727065919 +0200 +@@ -77,7 +77,7 @@ + if (info_ptr == NULL) + { + fclose(fp); +- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, NULL, NULL); + return( -1 ); + } + +@@ -89,7 +89,7 @@ + if (setjmp(png_jmpbuf(png_ptr))) + { + /* Free all of the memory associated with the png_ptr and info_ptr */ +- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + fclose(fp); + /* If we get here, we had a problem reading the file */ + return( -1 ); +@@ -109,7 +109,7 @@ + * adjustment), then you can read the entire image (including + * pixels) into the info structure with this call: + */ +- png_read_png(png_ptr, info_ptr, PNG_TRANSFORM_IDENTITY, png_voidp_NULL); ++ png_read_png(png_ptr, info_ptr, PNG_TRANSFORM_IDENTITY,NULL); + + /* At this point you have read the entire image */ + +@@ -174,7 +174,7 @@ + } + + /* clean up after the read, and free any memory allocated - REQUIRED */ +- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); ++ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); + + /* close the file */ + fclose(fp); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git