[arch-commits] Commit in leptonica/repos (8 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Fri Nov 1 21:05:04 UTC 2013
Date: Friday, November 1, 2013 @ 22:05:03
Author: spupykin
Revision: 100182
archrelease: copy trunk to community-i686, community-x86_64
Added:
leptonica/repos/community-i686/PKGBUILD
(from rev 100181, leptonica/trunk/PKGBUILD)
leptonica/repos/community-i686/giflib6.patch
(from rev 100181, leptonica/trunk/giflib6.patch)
leptonica/repos/community-x86_64/PKGBUILD
(from rev 100181, leptonica/trunk/PKGBUILD)
leptonica/repos/community-x86_64/giflib6.patch
(from rev 100181, leptonica/trunk/giflib6.patch)
Deleted:
leptonica/repos/community-i686/PKGBUILD
leptonica/repos/community-i686/giflib6.patch
leptonica/repos/community-x86_64/PKGBUILD
leptonica/repos/community-x86_64/giflib6.patch
--------------------------------+
/PKGBUILD | 66 ++++++++++++++++++++++
/giflib6.patch | 112 +++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 33 -----------
community-i686/giflib6.patch | 56 -------------------
community-x86_64/PKGBUILD | 33 -----------
community-x86_64/giflib6.patch | 56 -------------------
6 files changed, 178 insertions(+), 178 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-11-01 21:04:49 UTC (rev 100181)
+++ community-i686/PKGBUILD 2013-11-01 21:05:03 UTC (rev 100182)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Christoph Drexler <chrdr at gmx dot at>
-
-pkgname=leptonica
-pkgver=1.69
-pkgrel=8
-pkgdesc="Software that is broadly useful for image processing and image analysis applications"
-arch=('i686' 'x86_64')
-url="http://www.leptonica.com/"
-license=('custom')
-depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp')
-source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz
- giflib6.patch)
-md5sums=('d4085c302cbcab7f9af9d3d6f004ab22'
- 'f87e1b2c98107fe51544d4f4c44a9733')
-
-prepare() {
- cd ${srcdir}/leptonica-${pkgver}
- patch -p1 <$srcdir/giflib6.patch
-}
-
-build() {
- cd ${srcdir}/leptonica-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${srcdir}/leptonica-${pkgver}
- make DESTDIR=${pkgdir} install
- install -D leptonica-license.txt ${pkgdir}/usr/share/licenses/leptonica/leptonica-license.txt
-}
Copied: leptonica/repos/community-i686/PKGBUILD (from rev 100181, leptonica/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-11-01 21:05:03 UTC (rev 100182)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Christoph Drexler <chrdr at gmx dot at>
+
+pkgname=leptonica
+pkgver=1.69
+pkgrel=9
+pkgdesc="Software that is broadly useful for image processing and image analysis applications"
+arch=('i686' 'x86_64')
+url="http://www.leptonica.com/"
+license=('custom')
+depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp')
+source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz
+ giflib6.patch)
+md5sums=('d4085c302cbcab7f9af9d3d6f004ab22'
+ 'f87e1b2c98107fe51544d4f4c44a9733')
+
+prepare() {
+ cd ${srcdir}/leptonica-${pkgver}
+ patch -p1 <$srcdir/giflib6.patch
+}
+
+build() {
+ cd ${srcdir}/leptonica-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/leptonica-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -D leptonica-license.txt ${pkgdir}/usr/share/licenses/leptonica/leptonica-license.txt
+}
Deleted: community-i686/giflib6.patch
===================================================================
--- community-i686/giflib6.patch 2013-11-01 21:04:49 UTC (rev 100181)
+++ community-i686/giflib6.patch 2013-11-01 21:05:03 UTC (rev 100182)
@@ -1,56 +0,0 @@
-diff -wbBur leptonica-1.69/src/gifio.c /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c
---- leptonica-1.69/src/gifio.c 2012-01-22 22:29:15.000000000 +0400
-+++ /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c 2013-07-30 18:27:19.269137200 +0400
-@@ -100,7 +100,7 @@
- _lseek(fd, 0, SEEK_SET);
- #endif /* _MSC_VER */
-
-- if ((gif = DGifOpenFileHandle(fd)) == NULL)
-+ if ((gif = DGifOpenFileHandle(fd, NULL)) == NULL)
- return (PIX *)ERROR_PTR("invalid file or file not found",
- procName, NULL);
-
-@@ -316,7 +316,7 @@
- }
-
- /* Save the cmap colors in a gif_cmap */
-- if ((gif_cmap = MakeMapObject(gif_ncolor, NULL)) == NULL) {
-+ if ((gif_cmap = GifMakeMapObject(gif_ncolor, NULL)) == NULL) {
- pixDestroy(&pixd);
- return ERROR_INT("failed to create GIF color map", procName, 1);
- }
-@@ -325,7 +325,7 @@
- if (ncolor > 0) {
- if (pixcmapGetColor(cmap, i, &rval, &gval, &bval) != 0) {
- pixDestroy(&pixd);
-- FreeMapObject(gif_cmap);
-+ GifFreeMapObject(gif_cmap);
- return ERROR_INT("failed to get color from color map",
- procName, 1);
- }
-@@ -337,9 +337,9 @@
- }
-
- /* Get the gif file handle */
-- if ((gif = EGifOpenFileHandle(fd)) == NULL) {
-+ if ((gif = EGifOpenFileHandle(fd, NULL)) == NULL) {
- pixDestroy(&pixd);
-- FreeMapObject(gif_cmap);
-+ GifFreeMapObject(gif_cmap);
- return ERROR_INT("failed to create GIF image handle", procName, 1);
- }
-
-@@ -347,11 +347,11 @@
- if (EGifPutScreenDesc(gif, w, h, gif_cmap->BitsPerPixel, 0, gif_cmap)
- != GIF_OK) {
- pixDestroy(&pixd);
-- FreeMapObject(gif_cmap);
-+ GifFreeMapObject(gif_cmap);
- EGifCloseFile(gif);
- return ERROR_INT("failed to write screen description", procName, 1);
- }
-- FreeMapObject(gif_cmap); /* not needed after this point */
-+ GifFreeMapObject(gif_cmap); /* not needed after this point */
-
- if (EGifPutImageDesc(gif, 0, 0, w, h, FALSE, NULL) != GIF_OK) {
- pixDestroy(&pixd);
Copied: leptonica/repos/community-i686/giflib6.patch (from rev 100181, leptonica/trunk/giflib6.patch)
===================================================================
--- community-i686/giflib6.patch (rev 0)
+++ community-i686/giflib6.patch 2013-11-01 21:05:03 UTC (rev 100182)
@@ -0,0 +1,56 @@
+diff -wbBur leptonica-1.69/src/gifio.c /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c
+--- leptonica-1.69/src/gifio.c 2012-01-22 22:29:15.000000000 +0400
++++ /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c 2013-07-30 18:27:19.269137200 +0400
+@@ -100,7 +100,7 @@
+ _lseek(fd, 0, SEEK_SET);
+ #endif /* _MSC_VER */
+
+- if ((gif = DGifOpenFileHandle(fd)) == NULL)
++ if ((gif = DGifOpenFileHandle(fd, NULL)) == NULL)
+ return (PIX *)ERROR_PTR("invalid file or file not found",
+ procName, NULL);
+
+@@ -316,7 +316,7 @@
+ }
+
+ /* Save the cmap colors in a gif_cmap */
+- if ((gif_cmap = MakeMapObject(gif_ncolor, NULL)) == NULL) {
++ if ((gif_cmap = GifMakeMapObject(gif_ncolor, NULL)) == NULL) {
+ pixDestroy(&pixd);
+ return ERROR_INT("failed to create GIF color map", procName, 1);
+ }
+@@ -325,7 +325,7 @@
+ if (ncolor > 0) {
+ if (pixcmapGetColor(cmap, i, &rval, &gval, &bval) != 0) {
+ pixDestroy(&pixd);
+- FreeMapObject(gif_cmap);
++ GifFreeMapObject(gif_cmap);
+ return ERROR_INT("failed to get color from color map",
+ procName, 1);
+ }
+@@ -337,9 +337,9 @@
+ }
+
+ /* Get the gif file handle */
+- if ((gif = EGifOpenFileHandle(fd)) == NULL) {
++ if ((gif = EGifOpenFileHandle(fd, NULL)) == NULL) {
+ pixDestroy(&pixd);
+- FreeMapObject(gif_cmap);
++ GifFreeMapObject(gif_cmap);
+ return ERROR_INT("failed to create GIF image handle", procName, 1);
+ }
+
+@@ -347,11 +347,11 @@
+ if (EGifPutScreenDesc(gif, w, h, gif_cmap->BitsPerPixel, 0, gif_cmap)
+ != GIF_OK) {
+ pixDestroy(&pixd);
+- FreeMapObject(gif_cmap);
++ GifFreeMapObject(gif_cmap);
+ EGifCloseFile(gif);
+ return ERROR_INT("failed to write screen description", procName, 1);
+ }
+- FreeMapObject(gif_cmap); /* not needed after this point */
++ GifFreeMapObject(gif_cmap); /* not needed after this point */
+
+ if (EGifPutImageDesc(gif, 0, 0, w, h, FALSE, NULL) != GIF_OK) {
+ pixDestroy(&pixd);
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-11-01 21:04:49 UTC (rev 100181)
+++ community-x86_64/PKGBUILD 2013-11-01 21:05:03 UTC (rev 100182)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Maintainer: Christoph Drexler <chrdr at gmx dot at>
-
-pkgname=leptonica
-pkgver=1.69
-pkgrel=8
-pkgdesc="Software that is broadly useful for image processing and image analysis applications"
-arch=('i686' 'x86_64')
-url="http://www.leptonica.com/"
-license=('custom')
-depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp')
-source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz
- giflib6.patch)
-md5sums=('d4085c302cbcab7f9af9d3d6f004ab22'
- 'f87e1b2c98107fe51544d4f4c44a9733')
-
-prepare() {
- cd ${srcdir}/leptonica-${pkgver}
- patch -p1 <$srcdir/giflib6.patch
-}
-
-build() {
- cd ${srcdir}/leptonica-${pkgver}
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd ${srcdir}/leptonica-${pkgver}
- make DESTDIR=${pkgdir} install
- install -D leptonica-license.txt ${pkgdir}/usr/share/licenses/leptonica/leptonica-license.txt
-}
Copied: leptonica/repos/community-x86_64/PKGBUILD (from rev 100181, leptonica/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-11-01 21:05:03 UTC (rev 100182)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Christoph Drexler <chrdr at gmx dot at>
+
+pkgname=leptonica
+pkgver=1.69
+pkgrel=9
+pkgdesc="Software that is broadly useful for image processing and image analysis applications"
+arch=('i686' 'x86_64')
+url="http://www.leptonica.com/"
+license=('custom')
+depends=('giflib' 'libjpeg' 'libpng' 'libtiff' 'zlib' 'libwebp')
+source=(http://www.leptonica.com/source/leptonica-${pkgver}.tar.gz
+ giflib6.patch)
+md5sums=('d4085c302cbcab7f9af9d3d6f004ab22'
+ 'f87e1b2c98107fe51544d4f4c44a9733')
+
+prepare() {
+ cd ${srcdir}/leptonica-${pkgver}
+ patch -p1 <$srcdir/giflib6.patch
+}
+
+build() {
+ cd ${srcdir}/leptonica-${pkgver}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/leptonica-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -D leptonica-license.txt ${pkgdir}/usr/share/licenses/leptonica/leptonica-license.txt
+}
Deleted: community-x86_64/giflib6.patch
===================================================================
--- community-x86_64/giflib6.patch 2013-11-01 21:04:49 UTC (rev 100181)
+++ community-x86_64/giflib6.patch 2013-11-01 21:05:03 UTC (rev 100182)
@@ -1,56 +0,0 @@
-diff -wbBur leptonica-1.69/src/gifio.c /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c
---- leptonica-1.69/src/gifio.c 2012-01-22 22:29:15.000000000 +0400
-+++ /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c 2013-07-30 18:27:19.269137200 +0400
-@@ -100,7 +100,7 @@
- _lseek(fd, 0, SEEK_SET);
- #endif /* _MSC_VER */
-
-- if ((gif = DGifOpenFileHandle(fd)) == NULL)
-+ if ((gif = DGifOpenFileHandle(fd, NULL)) == NULL)
- return (PIX *)ERROR_PTR("invalid file or file not found",
- procName, NULL);
-
-@@ -316,7 +316,7 @@
- }
-
- /* Save the cmap colors in a gif_cmap */
-- if ((gif_cmap = MakeMapObject(gif_ncolor, NULL)) == NULL) {
-+ if ((gif_cmap = GifMakeMapObject(gif_ncolor, NULL)) == NULL) {
- pixDestroy(&pixd);
- return ERROR_INT("failed to create GIF color map", procName, 1);
- }
-@@ -325,7 +325,7 @@
- if (ncolor > 0) {
- if (pixcmapGetColor(cmap, i, &rval, &gval, &bval) != 0) {
- pixDestroy(&pixd);
-- FreeMapObject(gif_cmap);
-+ GifFreeMapObject(gif_cmap);
- return ERROR_INT("failed to get color from color map",
- procName, 1);
- }
-@@ -337,9 +337,9 @@
- }
-
- /* Get the gif file handle */
-- if ((gif = EGifOpenFileHandle(fd)) == NULL) {
-+ if ((gif = EGifOpenFileHandle(fd, NULL)) == NULL) {
- pixDestroy(&pixd);
-- FreeMapObject(gif_cmap);
-+ GifFreeMapObject(gif_cmap);
- return ERROR_INT("failed to create GIF image handle", procName, 1);
- }
-
-@@ -347,11 +347,11 @@
- if (EGifPutScreenDesc(gif, w, h, gif_cmap->BitsPerPixel, 0, gif_cmap)
- != GIF_OK) {
- pixDestroy(&pixd);
-- FreeMapObject(gif_cmap);
-+ GifFreeMapObject(gif_cmap);
- EGifCloseFile(gif);
- return ERROR_INT("failed to write screen description", procName, 1);
- }
-- FreeMapObject(gif_cmap); /* not needed after this point */
-+ GifFreeMapObject(gif_cmap); /* not needed after this point */
-
- if (EGifPutImageDesc(gif, 0, 0, w, h, FALSE, NULL) != GIF_OK) {
- pixDestroy(&pixd);
Copied: leptonica/repos/community-x86_64/giflib6.patch (from rev 100181, leptonica/trunk/giflib6.patch)
===================================================================
--- community-x86_64/giflib6.patch (rev 0)
+++ community-x86_64/giflib6.patch 2013-11-01 21:05:03 UTC (rev 100182)
@@ -0,0 +1,56 @@
+diff -wbBur leptonica-1.69/src/gifio.c /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c
+--- leptonica-1.69/src/gifio.c 2012-01-22 22:29:15.000000000 +0400
++++ /home/sergej/tmp/BUILD/staging-i686/sergej/build/leptonica/src/leptonica-1.69/src/gifio.c 2013-07-30 18:27:19.269137200 +0400
+@@ -100,7 +100,7 @@
+ _lseek(fd, 0, SEEK_SET);
+ #endif /* _MSC_VER */
+
+- if ((gif = DGifOpenFileHandle(fd)) == NULL)
++ if ((gif = DGifOpenFileHandle(fd, NULL)) == NULL)
+ return (PIX *)ERROR_PTR("invalid file or file not found",
+ procName, NULL);
+
+@@ -316,7 +316,7 @@
+ }
+
+ /* Save the cmap colors in a gif_cmap */
+- if ((gif_cmap = MakeMapObject(gif_ncolor, NULL)) == NULL) {
++ if ((gif_cmap = GifMakeMapObject(gif_ncolor, NULL)) == NULL) {
+ pixDestroy(&pixd);
+ return ERROR_INT("failed to create GIF color map", procName, 1);
+ }
+@@ -325,7 +325,7 @@
+ if (ncolor > 0) {
+ if (pixcmapGetColor(cmap, i, &rval, &gval, &bval) != 0) {
+ pixDestroy(&pixd);
+- FreeMapObject(gif_cmap);
++ GifFreeMapObject(gif_cmap);
+ return ERROR_INT("failed to get color from color map",
+ procName, 1);
+ }
+@@ -337,9 +337,9 @@
+ }
+
+ /* Get the gif file handle */
+- if ((gif = EGifOpenFileHandle(fd)) == NULL) {
++ if ((gif = EGifOpenFileHandle(fd, NULL)) == NULL) {
+ pixDestroy(&pixd);
+- FreeMapObject(gif_cmap);
++ GifFreeMapObject(gif_cmap);
+ return ERROR_INT("failed to create GIF image handle", procName, 1);
+ }
+
+@@ -347,11 +347,11 @@
+ if (EGifPutScreenDesc(gif, w, h, gif_cmap->BitsPerPixel, 0, gif_cmap)
+ != GIF_OK) {
+ pixDestroy(&pixd);
+- FreeMapObject(gif_cmap);
++ GifFreeMapObject(gif_cmap);
+ EGifCloseFile(gif);
+ return ERROR_INT("failed to write screen description", procName, 1);
+ }
+- FreeMapObject(gif_cmap); /* not needed after this point */
++ GifFreeMapObject(gif_cmap); /* not needed after this point */
+
+ if (EGifPutImageDesc(gif, 0, 0, w, h, FALSE, NULL) != GIF_OK) {
+ pixDestroy(&pixd);
More information about the arch-commits
mailing list