summaryrefslogtreecommitdiff
path: root/extra/cinepaint
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-22 00:02:56 +0000
committerroot <root@rshg054.dnsready.net>2012-04-22 00:02:56 +0000
commitaf1e6c210b43ea6b8e043524edccb1d0befd257f (patch)
tree39338a1d60483354554ee34df2afa262f8f201c0 /extra/cinepaint
parent905dec08e7144fe77aad1161778a6c3b74ff305c (diff)
Sun Apr 22 00:02:56 UTC 2012
Diffstat (limited to 'extra/cinepaint')
-rw-r--r--extra/cinepaint/PKGBUILD18
-rw-r--r--extra/cinepaint/cinepaint-missing-include.patch11
2 files changed, 21 insertions, 8 deletions
diff --git a/extra/cinepaint/PKGBUILD b/extra/cinepaint/PKGBUILD
index 3b9e8e03d..50dfc9f94 100644
--- a/extra/cinepaint/PKGBUILD
+++ b/extra/cinepaint/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 148694 2012-02-05 11:47:14Z ibiru $
+# $Id: PKGBUILD 156562 2012-04-21 01:56:35Z eric $
# Maintainer: tobias [tobias.archlinux.org]
# Contributor: tobias [tobias.justdreams.de]
pkgname=cinepaint
-pkgver=1.0
-pkgrel=2
+pkgver=1.3
+pkgrel=1
pkgdesc="Sophisticated graphics manipulation programm supporting > 8bit pictures"
arch=('i686' 'x86_64')
license=('LGPL' 'GPL' 'MIT')
@@ -16,15 +16,17 @@ optdepends=('python2: for python plug-ins'
'ghostscript: for pdf plug-ins')
options=('!libtool')
install=cinepaint.install
-source=(http://sourceforge.net/projects/cinepaint/files/CinePaint/${pkgname}-${pkgver}.tgz
- LICENSE cinepaint-libpng15.patch)
-md5sums=('7dfdb005d246578392ac9bd500534804'
- '169085743f667c250ea2e4022efecf5f'
- '682de65ad358512d00a8b76730453664')
+source=(http://downloads.sourceforge.net/project/cinepaint/CinePaint/CinePaint-${pkgver}/${pkgname}-${pkgver}.tgz
+ LICENSE cinepaint-libpng15.patch cinepaint-missing-include.patch)
+sha1sums=('1982e32b0f461f4fd0ff0fe17a2e81ccd8dbd52b'
+ 'ca8411db87f3fc51bbdfade22f4e1f555b2ee19e'
+ '3dfc9f06f02791aee59b60d33ddf9d305b0f1de5'
+ 'a4f43aabdbb33d059f1a38442cd6625e4f00c5b9')
build() {
cd "${srcdir}/${pkgname}"
patch -p1 -i ../cinepaint-libpng15.patch
+ patch -p1 -i ../cinepaint-missing-include.patch
find plug-ins/pygimp -type f -exec sed -i 's#env python#env python2#' {} +
sed -i 's|$(LDFLAGS) -o|$(LDFLAGS) $(GTK_LIBS) -o|' lib/Makefile.in
diff --git a/extra/cinepaint/cinepaint-missing-include.patch b/extra/cinepaint/cinepaint-missing-include.patch
new file mode 100644
index 000000000..ed159213a
--- /dev/null
+++ b/extra/cinepaint/cinepaint-missing-include.patch
@@ -0,0 +1,11 @@
+diff -Naur cinepaint-orig/plug-ins/icc_examin/icc_examin/icc_modell_beobachter.cpp cinepaint/plug-ins/icc_examin/icc_examin/icc_modell_beobachter.cpp
+--- cinepaint-orig/plug-ins/icc_examin/icc_examin/icc_modell_beobachter.cpp 2012-04-20 18:51:10.625503826 -0400
++++ cinepaint/plug-ins/icc_examin/icc_examin/icc_modell_beobachter.cpp 2012-04-20 18:52:04.478835055 -0400
+@@ -32,6 +32,7 @@
+
+ #include <list>
+ #include <string>
++#include <unistd.h>
+
+ #include "icc_modell_beobachter.h"
+