From 27eb8178d711f7b4f3bb3c9f1ee8ec39157f11ba Mon Sep 17 00:00:00 2001 From: aydemir Date: Fri, 28 Aug 2015 15:48:47 +0300 Subject: [PATCH 1/4] imagemagic add repo --- multimedia/graphics/imagemagick/actions.py | 60 ++++++++++ .../imagemagick/files/perlmagick.rpath.patch | 11 ++ multimedia/graphics/imagemagick/pspec.xml | 104 ++++++++++++++++++ .../graphics/imagemagick/translations.xml | 19 ++++ 4 files changed, 194 insertions(+) create mode 100644 multimedia/graphics/imagemagick/actions.py create mode 100644 multimedia/graphics/imagemagick/files/perlmagick.rpath.patch create mode 100644 multimedia/graphics/imagemagick/pspec.xml create mode 100644 multimedia/graphics/imagemagick/translations.xml diff --git a/multimedia/graphics/imagemagick/actions.py b/multimedia/graphics/imagemagick/actions.py new file mode 100644 index 0000000000..098b0eef8a --- /dev/null +++ b/multimedia/graphics/imagemagick/actions.py @@ -0,0 +1,60 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import perlmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +KeepSpecial=["libtool"] + +def setup(): + pisitools.dosed("configure.ac", "AC_PATH_XTRA") + autotools.autoreconf("-fi") + + pisitools.dosed("configure", "DOCUMENTATION_RELATIVE_PATH=.*", "DOCUMENTATION_RELATIVE_PATH=%s/html" % get.srcNAME()) + autotools.configure("--with-gs-font-dir=/usr/share/fonts/default/ghostscript \ + --docdir=/usr/share/doc/imagemagick \ + --enable-hdri \ + --enable-shared \ + --disable-static \ + --with-modules \ + --with-perl \ + --with-perl-options='INSTALLDIRS=vendor' \ + --with-x \ + --with-threads \ + --with-magick_plus_plus \ + --with-gslib \ + --with-wmf \ + --with-lcms2 \ + --with-rsvg \ + --with-xml \ + --with-djvu \ + --with-bzlib \ + --with-zlib \ + --with-fpx \ + --with-tiff \ + --with-jp2 \ + --with-jpeg \ + --without-jbig \ + --without-fpx \ + --without-dps") + + pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS.txt", "ChangeLog", "LICENSE", "NEWS.txt") + + pisitools.remove("/usr/lib/*.la") + + perlmodules.removePacklist() + perlmodules.removePodfiles() \ No newline at end of file diff --git a/multimedia/graphics/imagemagick/files/perlmagick.rpath.patch b/multimedia/graphics/imagemagick/files/perlmagick.rpath.patch new file mode 100644 index 0000000000..a5b1a82e23 --- /dev/null +++ b/multimedia/graphics/imagemagick/files/perlmagick.rpath.patch @@ -0,0 +1,11 @@ +--- Makefile.in.orig 2013-02-21 03:26:56.785156600 -0500 ++++ Makefile.in 2013-02-21 03:39:03.102411457 -0500 +@@ -10469,6 +10469,8 @@ + + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@$(PERLMAKEFILE): perl-sources $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(PERLMAKEMAKER) + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS) ++@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @SED@ -i 's|LD_RUN_PATH|DIE_LD_RUN_PATH_DIE|g' Makefile ++@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @SED@ -i 's|LD_RUN_PATH|DIE_LD_RUN_PATH_DIE|g' quantum/Makefile + + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@install-exec-perl: $(PERLMAKEFILE) + @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ ( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' && \ diff --git a/multimedia/graphics/imagemagick/pspec.xml b/multimedia/graphics/imagemagick/pspec.xml new file mode 100644 index 0000000000..db739cf4cb --- /dev/null +++ b/multimedia/graphics/imagemagick/pspec.xml @@ -0,0 +1,104 @@ + + + + + imagemagick + http://www.imagemagick.org/ + + PisiLinux Community + admins@pisilinux.org + + as-is + app:gui + A collection of tools and libraries for many image file formats + ImageMagick is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. You can use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves. + ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.9.2-0.tar.xz + + ghostscript-devel + fontconfig-devel + librsvg-devel + openexr-devel + libXext-devel + libwmf-devel + liblqr-devel + jasper-devel + cairo-devel + fftw3-devel + lcms2-devel + tiff-devel + webp-devel + libjpeg-turbo-devel + libpng-devel + + + perlmagick.rpath.patch + + + + + imagemagick + + perl + tiff + webp + zlib + bzip2 + fftw3 + lcms2 + libX11 + libgcc + liblqr + libpng + libwmf + libXext + libgomp + freetype + fontconfig + ghostscript + libtool-ltdl + openexr-libs + libjpeg-turbo + + + /usr/bin + /etc/ImageMagick-6/ + /usr/lib + /usr/share/ImageMagick-* + /usr/share/man + /usr/share/doc + + + + + imagemagick-docs + HTML documentation for imagemagick + + /usr/share/doc/imagemagick/html + + + + + imagemagick-devel + Development files for imagemagick + + imagemagick + + + /usr/include + /usr/lib/pkgconfig + /usr/share/man/man3 + /usr/share/man/man1/*-config* + /usr/bin/*-config + + + + + + 2014-09-14 + 6.9.2.0 + Version bump. + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + \ No newline at end of file diff --git a/multimedia/graphics/imagemagick/translations.xml b/multimedia/graphics/imagemagick/translations.xml new file mode 100644 index 0000000000..85e3441754 --- /dev/null +++ b/multimedia/graphics/imagemagick/translations.xml @@ -0,0 +1,19 @@ + + + + imagemagick + Resimleri işlemek ve göstermek için bir X uygulaması + Narzędzie do wyświetlania, konwersji i manipulacji grafikami + + + + imagemagick-docs + Imagemagick için API belgeleri + + + + imagemagick-devel + imagemagick için geliştirme dosyaları + Pliki nagłówkowe imagemagick + + \ No newline at end of file From cfc6ca6a0d692909e87b806b15c39a6c143aaa82 Mon Sep 17 00:00:00 2001 From: aydemir Date: Fri, 28 Aug 2015 16:32:26 +0300 Subject: [PATCH 2/4] gsl add repo --- science/mathematics/gsl/actions.py | 24 +++++++++++ science/mathematics/gsl/pspec.xml | 52 ++++++++++++++++++++++++ science/mathematics/gsl/translations.xml | 15 +++++++ 3 files changed, 91 insertions(+) create mode 100644 science/mathematics/gsl/actions.py create mode 100644 science/mathematics/gsl/pspec.xml create mode 100644 science/mathematics/gsl/translations.xml diff --git a/science/mathematics/gsl/actions.py b/science/mathematics/gsl/actions.py new file mode 100644 index 0000000000..1f74aed0c3 --- /dev/null +++ b/science/mathematics/gsl/actions.py @@ -0,0 +1,24 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +def setup(): + shelltools.export("CFLAGS","%s -fwrapv" % get.CFLAGS()) + + autotools.autoreconf("-vfi") + autotools.configure("--disable-static") + +def build(): + autotools.make() + +def install(): + autotools.install() + + pisitools.dodoc("README","BUGS","ChangeLog","NEWS","THANKS") \ No newline at end of file diff --git a/science/mathematics/gsl/pspec.xml b/science/mathematics/gsl/pspec.xml new file mode 100644 index 0000000000..43acc4c3b6 --- /dev/null +++ b/science/mathematics/gsl/pspec.xml @@ -0,0 +1,52 @@ + + + + + gsl + http://www.gnu.org/software/gsl/ + + PisiLinux Community + admins@pisilinux.org + + GPLv3 + library + GNU scientific library + The GNU Scientific Library (GSL) is a numerical library for C and C++ programmers. + http://ftp.gnu.org/gnu/gsl/gsl-1.16.tar.gz + + + + gsl + + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/info + /usr/share/man + + + + + gsl-devel + Development files for gsl + + gsl + + + /usr/include + /usr/share/aclocal + /usr/share/man/man3 + /usr/lib/pkgconfig + + + + + + 2014-05-30 + 1.16 + Version bump. + Stefan Gronewold(groni) + groni@pisilinux.org + + + \ No newline at end of file diff --git a/science/mathematics/gsl/translations.xml b/science/mathematics/gsl/translations.xml new file mode 100644 index 0000000000..2a687b6d66 --- /dev/null +++ b/science/mathematics/gsl/translations.xml @@ -0,0 +1,15 @@ + + + + gsl + GNU bilimsel kütüphane + C ve C++ programcıları tarafından kullanılan nümerik kütüphane + La librairie scientifique GNU (GSL) est une librairie numérique pour programmes C et C++. + GNU Scientific Library (GSL) es una libería numérica para programadores C y C++. + + + + gsl-devel + gsl için geliştirme dosyaları + + \ No newline at end of file From 774a43ef4ca97612b874434aceb07d6384d9f400 Mon Sep 17 00:00:00 2001 From: aydemir Date: Fri, 28 Aug 2015 17:39:12 +0300 Subject: [PATCH 3/4] vigra rebuild for openexr --- programming/misc/vigra/pspec.xml | 39 ++------------------------------ 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/programming/misc/vigra/pspec.xml b/programming/misc/vigra/pspec.xml index 658196bec8..b6b69c7fbd 100644 --- a/programming/misc/vigra/pspec.xml +++ b/programming/misc/vigra/pspec.xml @@ -67,47 +67,12 @@ - + 2015-02-03 1.10.0 - Rebuild for hdf5 + Rebuild for openexr Yusuf Aydemir yusuf.aydemir@gmail.com - - 2014-12-28 - 1.10.0 - Rebuild for boost, with openexr - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2014-05-30 - 1.10.0 - Rebuild. - Ertuğrul Erata - ertugrulerata@gmail.com - - - 2014-01-23 - 1.10.0 - Version bump - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2013-11-09 - 1.9.0 - Rebuild for boost 1.54.0 - Yusuf Aydemir - yusuf.aydemir@pisilinux.org - - - 2012-11-21 - 1.9.0 - First release - PisiLinux Community - admins@pisilinux.org - \ No newline at end of file From ff309c00afddc3f9da467d69c8a7d0acae14a2b3 Mon Sep 17 00:00:00 2001 From: aydemir Date: Fri, 28 Aug 2015 17:40:57 +0300 Subject: [PATCH 4/4] enblend add repo --- multimedia/graphics/enblend/actions.py | 21 ++++++ .../enblend/files/gentoo_prepare.patch | 24 ++++++ multimedia/graphics/enblend/pspec.xml | 73 +++++++++++++++++++ multimedia/graphics/enblend/translations.xml | 8 ++ 4 files changed, 126 insertions(+) create mode 100644 multimedia/graphics/enblend/actions.py create mode 100644 multimedia/graphics/enblend/files/gentoo_prepare.patch create mode 100644 multimedia/graphics/enblend/pspec.xml create mode 100644 multimedia/graphics/enblend/translations.xml diff --git a/multimedia/graphics/enblend/actions.py b/multimedia/graphics/enblend/actions.py new file mode 100644 index 0000000000..c3a2d996d1 --- /dev/null +++ b/multimedia/graphics/enblend/actions.py @@ -0,0 +1,21 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import get +from pisi.actionsapi import cmaketools +from pisi.actionsapi import pisitools + + +def setup(): + cmaketools.configure() + +def build(): + cmaketools.make() + +def install(): + cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) + + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README") \ No newline at end of file diff --git a/multimedia/graphics/enblend/files/gentoo_prepare.patch b/multimedia/graphics/enblend/files/gentoo_prepare.patch new file mode 100644 index 0000000000..4e352420c2 --- /dev/null +++ b/multimedia/graphics/enblend/files/gentoo_prepare.patch @@ -0,0 +1,24 @@ +diff -Nuar enblend-enfuse-4.1.3.orig/CMakeLists.txt enblend-enfuse-4.1.3/CMakeLists.txt +--- enblend-enfuse-4.1.3.orig/CMakeLists.txt 2013-01-18 11:01:29.000000000 +0200 ++++ enblend-enfuse-4.1.3/CMakeLists.txt 2014-06-01 09:45:16.180117386 +0300 +@@ -124,7 +124,7 @@ + + # Compiler specific tweaks and optimizations + IF(CMAKE_COMPILER_IS_GNUCXX) +- SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3 -ffast-math -DNDEBUG -Wall") ++ SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -ffast-math -DNDEBUG -Wall") + IF(APPLE AND CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION LESS 5) + ## Add needed Compiler and Linker flags for OSX + SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -flat_namespace -undefined suppress") +diff -Nuar enblend-enfuse-4.1.3.orig/doc/CMakeLists.txt enblend-enfuse-4.1.3/doc/CMakeLists.txt +--- enblend-enfuse-4.1.3.orig/doc/CMakeLists.txt 2013-01-01 11:49:53.000000000 +0200 ++++ enblend-enfuse-4.1.3/doc/CMakeLists.txt 2014-06-01 09:45:29.373117879 +0300 +@@ -8,7 +8,7 @@ + IF(WIN32) + set(DocumentsDirectory "doc") + ELSE(WIN32) +-set(DocumentsDirectory "doc/enblend") ++set(DocumentsDirectory "doc/") + ENDIF(WIN32) + + include(${TOP_SRC_DIR}/doc/macros.cmake) diff --git a/multimedia/graphics/enblend/pspec.xml b/multimedia/graphics/enblend/pspec.xml new file mode 100644 index 0000000000..845603439a --- /dev/null +++ b/multimedia/graphics/enblend/pspec.xml @@ -0,0 +1,73 @@ + + + + + enblend + http://enblend.sourceforge.net/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + app:console + Image blending with multiresolution splines + enblend is a tool for compositing images. Given a set of images that overlap in some irregular way, enblend overlays them in such a way that the seam between the images is invisible, or at least very difficult to see. + mirrors://sourceforge/enblend/enblend-enfuse/enblend-enfuse-4.1/enblend-enfuse-4.1.3.tar.gz + + boost-devel + imagemagick-devel + openexr-devel + ilmbase-devel + freeglut-devel + mesa-devel + glew-devel + lcms-devel + tiff-devel + libjpeg-turbo-devel + help2man + gsl-devel + vigra-devel + lcms2-devel + cmake + + + gentoo_prepare.patch + + + + + enblend + + plotutils + openexr-libs + ilmbase + boost + freeglut + mesa + glew + lcms + libjpeg-turbo + tiff + vigra + gsl + lcms2 + mesa-glu + + + /usr/bin + /usr/share/man + /usr/share/doc + /usr/share/info + + + + + + 2014-12-27 + 4.1.3 + Rebuild + Yusuf Aydemir + yusuf.aydemir@pisilinux.org + + + diff --git a/multimedia/graphics/enblend/translations.xml b/multimedia/graphics/enblend/translations.xml new file mode 100644 index 0000000000..f4380dd980 --- /dev/null +++ b/multimedia/graphics/enblend/translations.xml @@ -0,0 +1,8 @@ + + + + enblend + Resim harmanlama aracı + enblend, resimleri birleştirmek için kullanılan bir araçtır. Düzensiz bir şekilde üstüste binen bir resim grubunu, resimlerin arasındaki düğüm noktaları anlaşılmayacak şekilde harmanlar. + +