[arch-commits] Commit in gmic/repos (6 files)

Sergej Pupykin spupykin at nymeria.archlinux.org
Wed Feb 20 13:55:49 UTC 2013


    Date: Wednesday, February 20, 2013 @ 14:55:49
  Author: spupykin
Revision: 84605

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  gmic/repos/community-staging-i686/
  gmic/repos/community-staging-i686/PKGBUILD
    (from rev 84604, gmic/trunk/PKGBUILD)
  gmic/repos/community-staging-i686/opencv-buildfix.patch
    (from rev 84604, gmic/trunk/opencv-buildfix.patch)
  gmic/repos/community-staging-x86_64/
  gmic/repos/community-staging-x86_64/PKGBUILD
    (from rev 84604, gmic/trunk/PKGBUILD)
  gmic/repos/community-staging-x86_64/opencv-buildfix.patch
    (from rev 84604, gmic/trunk/opencv-buildfix.patch)

------------------------------------------------+
 community-staging-i686/PKGBUILD                |   58 +++++++++++++++++++++++
 community-staging-i686/opencv-buildfix.patch   |   20 +++++++
 community-staging-x86_64/PKGBUILD              |   58 +++++++++++++++++++++++
 community-staging-x86_64/opencv-buildfix.patch |   20 +++++++
 4 files changed, 156 insertions(+)

Copied: gmic/repos/community-staging-i686/PKGBUILD (from rev 84604, gmic/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2013-02-20 13:55:49 UTC (rev 84605)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: farid <farid at archlinuc-br.org>
+# Contributor: Archie <Mymaud at gmail.com>
+
+pkgbase=gmic
+pkgname=("gmic" "gimp-plugin-gmic" "zart")
+pkgver=1.5.4.0
+pkgrel=2
+arch=("i686" "x86_64")
+url="http://gmic.sourceforge.net"
+license=("custom:CeCILL")
+makedepends=('gimp' 'qt4' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2')
+#options=('!emptydirs')
+source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz"
+        "opencv-buildfix.patch")
+md5sums=('a686719a663b856d4a8b1611d2c90df5'
+         '120319b0d6c81c5af186abe2281b79ca')
+
+build() {
+  cd "${srcdir}/gmic-${pkgver}"
+  patch -p1 -i "${srcdir}/opencv-buildfix.patch"
+  find "${srcdir}/gmic-${pkgver}/zart" -type f -execdir chmod 644 '{}' \;
+  find "${srcdir}/gmic-${pkgver}/zart" -type d -execdir chmod 755 '{}' \;
+  make -C src all
+}
+
+package_gmic() {
+  pkgdesc="GREYC's Magic Image Converter: image processing framework"
+  depends=("fftw" "libtiff" "libjpeg" "libpng" "openexr" "libx11")
+  replaces=("greycstoration")
+
+  cd "${srcdir}/gmic-${pkgver}"
+  make -C src install DESTDIR="$pkgdir" USR="/usr"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -rf "${pkgdir}/usr/"{bin/zart,lib/gimp,share/zart}
+}
+
+package_zart() {
+  pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam"
+  depends=("opencv" "fftw" "qt4")
+
+  cd "${srcdir}/gmic-${pkgver}"
+  make -C src install DESTDIR="$pkgdir" USR="/usr"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -rf "${pkgdir}/usr/"{bin/gmic,include,lib,share/{man,bash-completion}}
+}
+
+package_gimp-plugin-gmic() {
+  pkgdesc="Gimp plugin for the G'MIC image processing framework"
+  depends=("gimp" "fftw")
+  replaces=("gimp-plugin-greycstoration" "gimp-plugin-gmic4gimp")
+
+  cd "${srcdir}/gmic-${pkgver}"
+  install -Dm755 src/gmic_gimp "${pkgdir}/usr/lib/gimp/2.0/plug-ins/gmic_gimp"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: gmic/repos/community-staging-i686/opencv-buildfix.patch (from rev 84604, gmic/trunk/opencv-buildfix.patch)
===================================================================
--- community-staging-i686/opencv-buildfix.patch	                        (rev 0)
+++ community-staging-i686/opencv-buildfix.patch	2013-02-20 13:55:49 UTC (rev 84605)
@@ -0,0 +1,20 @@
+diff -wbBur gmic-1.5.1.7/src/Makefile gmic-1.5.1.7.q/src/Makefile
+--- gmic-1.5.1.7/src/Makefile	2012-07-26 12:59:34.000000000 +0400
++++ gmic-1.5.1.7.q/src/Makefile	2012-08-03 14:03:10.000000000 +0400
+@@ -296,7 +296,7 @@
+ 
+ zart: lib
+ ifneq ($(OS),Darwin)
+-	cd ../zart && qmake-qt4 zart.pro && $(MAKE) && strip zart
++	cd ../zart && qmake zart.pro && $(MAKE) && strip zart
+ else
+ 	cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)"
+ endif
+@@ -403,6 +403,7 @@
+ 	mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/
+ 	cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz
+ 	cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz
++	if test -d /usr/share/bash-completion/completions; then mkdir -p $(DESTDIR)/usr/share/bash-completion/completions/; cp -f gmic_bashcompletion.sh $(DESTDIR)/usr/share/bash-completion/completions/gmic; fi
+ 	if test -d /etc/bash_completion.d/; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi
+ 	if test -d /opt/local/etc/bash_completion.d/; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi
+ 

Copied: gmic/repos/community-staging-x86_64/PKGBUILD (from rev 84604, gmic/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2013-02-20 13:55:49 UTC (rev 84605)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+# Contributor: farid <farid at archlinuc-br.org>
+# Contributor: Archie <Mymaud at gmail.com>
+
+pkgbase=gmic
+pkgname=("gmic" "gimp-plugin-gmic" "zart")
+pkgver=1.5.4.0
+pkgrel=2
+arch=("i686" "x86_64")
+url="http://gmic.sourceforge.net"
+license=("custom:CeCILL")
+makedepends=('gimp' 'qt4' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2')
+#options=('!emptydirs')
+source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz"
+        "opencv-buildfix.patch")
+md5sums=('a686719a663b856d4a8b1611d2c90df5'
+         '120319b0d6c81c5af186abe2281b79ca')
+
+build() {
+  cd "${srcdir}/gmic-${pkgver}"
+  patch -p1 -i "${srcdir}/opencv-buildfix.patch"
+  find "${srcdir}/gmic-${pkgver}/zart" -type f -execdir chmod 644 '{}' \;
+  find "${srcdir}/gmic-${pkgver}/zart" -type d -execdir chmod 755 '{}' \;
+  make -C src all
+}
+
+package_gmic() {
+  pkgdesc="GREYC's Magic Image Converter: image processing framework"
+  depends=("fftw" "libtiff" "libjpeg" "libpng" "openexr" "libx11")
+  replaces=("greycstoration")
+
+  cd "${srcdir}/gmic-${pkgver}"
+  make -C src install DESTDIR="$pkgdir" USR="/usr"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -rf "${pkgdir}/usr/"{bin/zart,lib/gimp,share/zart}
+}
+
+package_zart() {
+  pkgdesc="A GUI for G'MIC real-time manipulations on the output of a webcam"
+  depends=("opencv" "fftw" "qt4")
+
+  cd "${srcdir}/gmic-${pkgver}"
+  make -C src install DESTDIR="$pkgdir" USR="/usr"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  rm -rf "${pkgdir}/usr/"{bin/gmic,include,lib,share/{man,bash-completion}}
+}
+
+package_gimp-plugin-gmic() {
+  pkgdesc="Gimp plugin for the G'MIC image processing framework"
+  depends=("gimp" "fftw")
+  replaces=("gimp-plugin-greycstoration" "gimp-plugin-gmic4gimp")
+
+  cd "${srcdir}/gmic-${pkgver}"
+  install -Dm755 src/gmic_gimp "${pkgdir}/usr/lib/gimp/2.0/plug-ins/gmic_gimp"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}

Copied: gmic/repos/community-staging-x86_64/opencv-buildfix.patch (from rev 84604, gmic/trunk/opencv-buildfix.patch)
===================================================================
--- community-staging-x86_64/opencv-buildfix.patch	                        (rev 0)
+++ community-staging-x86_64/opencv-buildfix.patch	2013-02-20 13:55:49 UTC (rev 84605)
@@ -0,0 +1,20 @@
+diff -wbBur gmic-1.5.1.7/src/Makefile gmic-1.5.1.7.q/src/Makefile
+--- gmic-1.5.1.7/src/Makefile	2012-07-26 12:59:34.000000000 +0400
++++ gmic-1.5.1.7.q/src/Makefile	2012-08-03 14:03:10.000000000 +0400
+@@ -296,7 +296,7 @@
+ 
+ zart: lib
+ ifneq ($(OS),Darwin)
+-	cd ../zart && qmake-qt4 zart.pro && $(MAKE) && strip zart
++	cd ../zart && qmake zart.pro && $(MAKE) && strip zart
+ else
+ 	cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)"
+ endif
+@@ -403,6 +403,7 @@
+ 	mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/
+ 	cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz
+ 	cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/fr/man1/gmic.1.gz
++	if test -d /usr/share/bash-completion/completions; then mkdir -p $(DESTDIR)/usr/share/bash-completion/completions/; cp -f gmic_bashcompletion.sh $(DESTDIR)/usr/share/bash-completion/completions/gmic; fi
+ 	if test -d /etc/bash_completion.d/; then mkdir -p $(DESTDIR)/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/etc/bash_completion.d/gmic; fi
+ 	if test -d /opt/local/etc/bash_completion.d/; then mkdir -p $(DESTDIR)/opt/local/etc/bash_completion.d/; cp -f gmic_bashcompletion.sh $(DESTDIR)/opt/local/etc/bash_completion.d/gmic; fi
+ 




More information about the arch-commits mailing list