@@ -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()
|
||||
@@ -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@' && \
|
||||
@@ -0,0 +1,104 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>imagemagick</Name>
|
||||
<Homepage>http://www.imagemagick.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>as-is</License>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>A collection of tools and libraries for many image file formats</Summary>
|
||||
<Description>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.</Description>
|
||||
<Archive sha1sum="1db8234c996b5dd1f230f8e043fad27851709b8d" type="tarxz">ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.9.2-0.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>ghostscript-devel</Dependency>
|
||||
<Dependency>fontconfig-devel</Dependency>
|
||||
<Dependency>librsvg-devel</Dependency>
|
||||
<Dependency>openexr-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>libwmf-devel</Dependency>
|
||||
<Dependency>liblqr-devel</Dependency>
|
||||
<Dependency>jasper-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>fftw3-devel</Dependency>
|
||||
<Dependency>lcms2-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>webp-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="0">perlmagick.rpath.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>imagemagick</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>perl</Dependency>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>webp</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>fftw3</Dependency>
|
||||
<Dependency>lcms2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>liblqr</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>libwmf</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>libgomp</Dependency>
|
||||
<Dependency>freetype</Dependency>
|
||||
<Dependency>fontconfig</Dependency>
|
||||
<Dependency>ghostscript</Dependency>
|
||||
<Dependency>libtool-ltdl</Dependency>
|
||||
<Dependency>openexr-libs</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="config">/etc/ImageMagick-6/</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/ImageMagick-*</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>imagemagick-docs</Name>
|
||||
<Summary>HTML documentation for imagemagick</Summary>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc/imagemagick/html</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>imagemagick-devel</Name>
|
||||
<Summary>Development files for imagemagick</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">imagemagick</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="man">/usr/share/man/man3</Path>
|
||||
<Path fileType="man">/usr/share/man/man1/*-config*</Path>
|
||||
<Path fileType="executable">/usr/bin/*-config</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="9">
|
||||
<Date>2014-09-14</Date>
|
||||
<Version>6.9.2.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>imagemagick</Name>
|
||||
<Summary xml:lang="tr">Resimleri işlemek ve göstermek için bir X uygulaması</Summary>
|
||||
<Summary xml:lang="pl">Narzędzie do wyświetlania, konwersji i manipulacji grafikami</Summary>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>imagemagick-docs</Name>
|
||||
<Summary xml:lang="tr">Imagemagick için API belgeleri</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>imagemagick-devel</Name>
|
||||
<Summary xml:lang="tr">imagemagick için geliştirme dosyaları</Summary>
|
||||
<Summary xml:lang="pl">Pliki nagłówkowe imagemagick</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user