From 307ee8f0197957a20f6513fa32ea8a6c505d2932 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 29 Jun 2014 22:50:47 -0400 Subject: libre/libretools: xihh isn't a contributor from Arch! --- libre/libretools/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD index f1fdd8ebf..5e4a3267a 100644 --- a/libre/libretools/PKGBUILD +++ b/libre/libretools/PKGBUILD @@ -1,5 +1,5 @@ # Maintainer: Luke Shumaker -# Contributor (Arch): Joshua Haase +# Contributor: Joshua Ismael Haase Hernández (xihh) # Contributor: fauno # Contributor: Márcio Silva -- cgit v1.2.3-2-g168b From a8518ac368af6b36afeaae84eb5a24f78bfdbf84 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 29 Jun 2014 22:51:24 -0400 Subject: libre-testing/libretools: New testing release (because of XBS) --- libre-testing/libretools/PKGBUILD | 108 ++++++++++++++++++++++++++++ libre-testing/libretools/libretools.install | 72 +++++++++++++++++++ 2 files changed, 180 insertions(+) create mode 100644 libre-testing/libretools/PKGBUILD create mode 100644 libre-testing/libretools/libretools.install diff --git a/libre-testing/libretools/PKGBUILD b/libre-testing/libretools/PKGBUILD new file mode 100644 index 000000000..a034a412b --- /dev/null +++ b/libre-testing/libretools/PKGBUILD @@ -0,0 +1,108 @@ +# Maintainer: Luke Shumaker +# Contributor: Joshua Ismael Haase Hernández (xihh) +# Contributor: fauno +# Contributor: Márcio Silva + +pkgbase=libretools +pkgname=(libretools libretools-mips64el librelib gitget xbs) +pkgdesc="Programs for Parabola development" +url="https://projects.parabolagnulinux.org/packages/libretools.git/" +license=('GPL3' 'GPL2') + +pkgver=20140630 +_libretools_commit=5a84f3c84a1f3275f5b3ab51b1cf90327f52b9b2 +_devtools_commit=d732aae2ca57430f3dd95c0ed4dcc05df4014f91 +md5sums=('14a272e6b69c05493b16d84a247a1e17' + '615db785531757d3a849614bb117fba4') + +_packages_url=https://projects.parabolagnulinux.org/packages +source=($_packages_url/libretools.git/snapshot/libretools-$_libretools_commit.tar.bz2 + $_packages_url/devtools-par.git/snapshot/devtools-par-$_devtools_commit.tar.bz2) + +pkgrel=1 +arch=('any') +makedepends=(emacs ronn) # emacs --batch is used during the build to process text +checkdepends=(sh-roundup) + +build() { + cd "$srcdir" + ln -sf devtools-par-$_devtools_commit devtools-par + cd "$srcdir/$pkgbase-$_libretools_commit" + make build-libretools build-libretools-mips64el build-librelib build-doc +} + +check() { + cd "$srcdir/$pkgbase-$_libretools_commit" + + SUDO_USER= make check TESTENVFLAGS='--no-network --no-sudo' +} + +package_librelib() { + pkgdesc="The shell library portion of libretools" + license=(GPL2) + depends=( + wget # `blacklist` + ) + + cd "$srcdir/$pkgbase-$_libretools_commit" + make install-librelib DESTDIR="$pkgdir" +} + +package_gitget() { + pkgdesc="A simple to use downloader for git URLs" + license=(GPL2) + depends=("librelib=$pkgver" git) + + provides=("libregit=$pkgver") + conflicts=("libregit") + replaces=("libregit") + + cd "$srcdir/$pkgbase-$_libretools_commit" + make install-gitget DESTDIR="$pkgdir" +} + +package_xbs() { + pkgdesc='A tool for working with arbitrary ABS-like build systems' + license=(GPL2) + depends=( + "gitget=$pkgver" # for helper-abslibre + "librelib=$pkgver" + ) + + cd "$srcdir/$pkgbase-$_libretools_commit" + make install-xbs DESTDIR="$pkgdir" +} + +package_libretools() { + backup=(etc/libretools.conf etc/libretools.d/chroot.conf etc/libretools.d/librefetch.conf) + install=libretools.install + replaces=(chroottools) + conflicts=(devtools chroottools) + + depends=( + "librelib=$pkgver" + "xbs=$pkgver" # `createworkdir`, `librestage` + "systemd>=212" # force newer systemd + arch-install-scripts # `archroot` uses `pacstrap` + openssh # `librerelease` + rsync # `librerelease` and `makechrootpkg.sh` + subversion # `diff-unfree` + tokyocabinet # `treepkg` + wget # `aur` + ) + optdepends=('namcap: to check package files') + + cd "$srcdir/$pkgbase-$_libretools_commit" + make install-libretools install-doc DESTDIR="$pkgdir" +} + +package_libretools-mips64el() { + pkgdesc="Scripts for Parabola development (for mips64el architecture)" + license=(GPL3) + depends=("$pkgbase=$pkgver" + git # mips-add + ) + + cd "$srcdir/$pkgbase-$_libretools_commit" + make install-libretools-mips64el DESTDIR="$pkgdir" +} diff --git a/libre-testing/libretools/libretools.install b/libre-testing/libretools/libretools.install new file mode 100644 index 000000000..35edf68c7 --- /dev/null +++ b/libre-testing/libretools/libretools.install @@ -0,0 +1,72 @@ +#!/bin/sh + +_edit_code=" 'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'" +_edit_cmnt='#%s # commented out by the libretools post_install script' + +_add_cmnt='# The following line is added by the libretools post_install script' +_add_code='DLAGENTS+=({https,libre}'\''::/usr/bin/librefetch -p "$BUILDFILE" -- %u %o'\'')' + +# These lines were installed by previous versions of this script +_old_code=( + '[[ ! -x /usr/bin/librefetch ]] || DLAGENTS+=("libre::/usr/bin/librefetch -p \"\$BUILDFILE\" %u %o")' + '[[ ! -x /usr/bin/librefetch ]] || DLAGENTS+=({https,libre}"::/usr/bin/librefetch -p \"\$BUILDFILE\" -- %u %o")' + 'DLAGENTS+=({https,libre}"::/usr/bin/librefetch -p $(printf "%q" "$BUILDFILE") -- %u %o")' +) + +# has_line $line +has_line() { grep -Fxq -- "$1" etc/makepkg.conf; } +# add_line $line +add_line() { printf '%s\n' "$1" >> etc/makepkg.conf; } +# del_line $line +del_line() { + local lineno=($(grep -Fxn -- "$1" etc/makepkg.conf | cut -d: -f1)) + if [[ "${#lineno[@]}" -gt 0 ]]; then + sed -i "$(printf '%dd;' "${lineno[@]}")" etc/makepkg.conf; + fi +} +# rep_line $orig $replacement_bre +rep_line() { + local lineno=($(grep -Fxn -- "$1" etc/makepkg.conf | cut -d: -f1)) + if [[ "${#lineno[@]}" == 1 ]]; then + sed -i "${lineno}s|.*|${2//|/\\|}|" etc/makepkg.conf; + fi +} + +# arg 1: the new package version +post_install() { + if grep -q 'librefetch' etc/makepkg.conf; then + libremessages msg2 "libretools: librefetch is already in /etc/makepkg.conf" + local line del=false + for line in "${_old_code[@]}"; do + if has_line "$line"; then + pre_remove + post_install + return $? + fi + done + else + libremessages msg2 "libretools: adding librefetch to /etc/makepkg.conf" + rep_line "$_edit_code" "$(printf "$_edit_cmnt" '&')" + add_line "$_add_cmnt" + add_line "$_add_code" + fi +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + post_install +} + +pre_remove() { + libremessages msg2 "libretools: removing librefetch from /etc/makepkg.conf" + + rep_line "$(printf "$_edit_cmnt" "$_edit_code")" "$_edit_code" + del_line "$_add_cmnt" + del_line "$_add_code" + + local line + for line in "${_old_code[@]}"; do + del_line "$line" + done +} -- cgit v1.2.3-2-g168b From d9030f1e884d506bb8b4f1daeb122c2a4e0e0ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 30 Jun 2014 15:55:41 -0300 Subject: unzip-libre: fix issue on mksource and source --- libre/unzip-libre/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip-libre/PKGBUILD index 6cdb2159d..933fc8a6a 100644 --- a/libre/unzip-libre/PKGBUILD +++ b/libre/unzip-libre/PKGBUILD @@ -16,9 +16,9 @@ depends=('bzip2' 'bash') provides=("${_pkgname}=${pkgver}") conflicts=("${_pkgname}") replaces=("${_pkgname}") -mksource=('http://downloads.sourceforge.net/infozip/${_pkgname}${_pkgver}.tar.gz' +mksource=("http://downloads.sourceforge.net/infozip/${_pkgname}${_pkgver}.tar.gz" 'match.patch') -source=('https://repo.parabolagnulinux.org/other/${pkgname}/${_pkgname}${_pkgver}-libre.tar.gz') +source=("https://repo.parabolagnulinux.org/other/${pkgname}/${_pkgname}${_pkgver}-libre.tar.gz") mkmd5sums=('62b490407489521db863b523a7f86375' 'e6d9f0c204c2abe6a57dc5e1637d5140') md5sums=('bbe4b7f4d48b2f939b5e43fde0ac7762') -- cgit v1.2.3-2-g168b From fb06700e803e92c6e67caf33a1b9aac95ba90cc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 30 Jun 2014 20:22:50 -0300 Subject: kdepim-kmail-nonprism: add new package to [nonprism], fix issue #564 => https://labs.parabola.nu/issues/564 --- nonprism/kdepim-kmail-nonprism/PKGBUILD | 47 ++++++++++++++++++++++ .../kdepim-kmail-nonprism/kdepim-kmail.install | 12 ++++++ 2 files changed, 59 insertions(+) create mode 100644 nonprism/kdepim-kmail-nonprism/PKGBUILD create mode 100644 nonprism/kdepim-kmail-nonprism/kdepim-kmail.install diff --git a/nonprism/kdepim-kmail-nonprism/PKGBUILD b/nonprism/kdepim-kmail-nonprism/PKGBUILD new file mode 100644 index 000000000..517d629ae --- /dev/null +++ b/nonprism/kdepim-kmail-nonprism/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 214668 2014-06-09 03:18:28Z svenstaro $ +# Maintainer (Arch): Andrea Scarpino +# Contributor (Arch): Pierre Schmitz +# Maintainer: André Silva + +pkgbase=kdepim +pkgname=kdepim-kmail-nonprism +pkgver=4.13.2 +pkgrel=1 +arch=('i686' 'x86_64') +url='http://pim.kde.org' +license=('GPL' 'LGPL' 'FDL') +groups=('kde' 'kdepim') +makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime-nonprism' 'libxss' 'pilot-link' + 'baloo' 'link-grammar') +source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz") +sha1sums=('ecc10cdec4fbe9a8b2c8179921403cf9b3aedac9') + +build() { + mkdir build + cd build + cmake ../${pkgbase}-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE4_BUILD_TESTS=OFF \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDEPIM_BUILD_MOBILE=OFF + make +} + +package_kdepim-kmail-nonprism() { + pkgdesc='Mail Client, without libkgapi support' + depends=('kdepim-libkdepim' 'kde-agent') + url="http://kde.org/applications/internet/kmail/" + install='kdepim-kmail.install' + conflicts=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve' + 'kdepim-mimelib' 'kdepim-plugins' 'kdepim-kmail') + replaces=('kdepim-kmailcvt' 'kdepim-ksendemail' 'kdepim-libksieve' + 'kdepim-mimelib' 'kdepim-plugins' 'kdepim-kmail') + provides=("kdepim-kmail=$pkgver") + for i in kmail kmailcvt agents/archivemailagent storageservicemanager\ + agents/mailfilteragent importwizard ksendemail libksieve messagelist \ + kontact/plugins/kmail headerthemeeditor mboximporter; do + cd "${srcdir}"/build/${i} + make DESTDIR="${pkgdir}" install + done +} diff --git a/nonprism/kdepim-kmail-nonprism/kdepim-kmail.install b/nonprism/kdepim-kmail-nonprism/kdepim-kmail.install new file mode 100644 index 000000000..5787df72f --- /dev/null +++ b/nonprism/kdepim-kmail-nonprism/kdepim-kmail.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-2-g168b From fab493b2e4893382a91050101c622dc3cc6e81b4 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 30 Jun 2014 20:39:50 -0400 Subject: Update pcr/imagemagick-srv as pcr/imagemagick-nox --- pcr/imagemagick-nox/PKGBUILD | 101 +++++++++++++++++++++++++++++ pcr/imagemagick-nox/perlmagick.rpath.patch | 11 ++++ pcr/imagemagick-srv/PKGBUILD | 84 ------------------------ pcr/imagemagick-srv/perlmagick.rpath.patch | 11 ---- 4 files changed, 112 insertions(+), 95 deletions(-) create mode 100644 pcr/imagemagick-nox/PKGBUILD create mode 100644 pcr/imagemagick-nox/perlmagick.rpath.patch delete mode 100644 pcr/imagemagick-srv/PKGBUILD delete mode 100644 pcr/imagemagick-srv/perlmagick.rpath.patch diff --git a/pcr/imagemagick-nox/PKGBUILD b/pcr/imagemagick-nox/PKGBUILD new file mode 100644 index 000000000..403e8d84d --- /dev/null +++ b/pcr/imagemagick-nox/PKGBUILD @@ -0,0 +1,101 @@ +# $Id: PKGBUILD 215482 2014-06-26 17:44:45Z eric $ +# Maintainer (Arch): Eric Bélanger +# Maintainer: Márcio Silva +# Contributor: Luke Shumaker + +_pkgname=imagemagick +pkgname=imagemagick-nox +pkgver=6.8.9.4 +pkgrel=1 +arch=('i686' 'x86_64' 'mips64el') +url="http://www.imagemagick.org/" +license=('custom') +# Remove libxt, libxext, opencl-headers, libcl +makedepends=('libltdl' 'lcms2' 'fontconfig' 'ghostscript' + 'openexr' 'libwmf' 'librsvg' 'libxml2' 'liblqr' 'openjpeg2' + 'libwebp' 'subversion') +#source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} +source=(ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} + perlmagick.rpath.patch) +sha1sums=('b3aa7b95f8db8a863602fa4c205420ad1d5a69b7' + 'SKIP' + 'e143cf9d530fabf3b58023899b5cc544ba93daec') + +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +replaces=("imagemagick-srv") + +prepare() { + cd ImageMagick-${pkgver%.*}-${pkgver##*.} + sed '/AC_PATH_XTRA/d' -i configure.ac + autoreconf --force --install + patch -p0 -i "${srcdir}/perlmagick.rpath.patch" +} + +build() { + cd ImageMagick-${pkgver%.*}-${pkgver##*.} + [[ $CARCH = "i686" ]] && EXTRAOPTS="--with-gcc-arch=i686" + [[ $CARCH = "x86_64" ]] && EXTRAOPTS="--with-gcc-arch=x86-64" + [[ $CARCH = "mips64el" ]] && EXTRAOPTS="--with-gcc-arch=mips64el" + + no_x=yes with_x=no \ + ./configure --prefix=/usr --sysconfdir=/etc --with-modules \ + --enable-hdri --with-wmf --with-openexr --with-xml --with-lcms2 \ + --with-webp --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \ + --with-perl --with-perl-options="INSTALLDIRS=vendor" --with-lqr --with-rsvg \ + --disable-opencl --with-openjp2 --without-gvc --without-djvu --without-autotrace \ + --without-jbig --without-fpx --without-dps --without-fftw $EXTRAOPTS + make +} + +check() { + cd ImageMagick-${pkgver%.*}-${pkgver##*.} +# make check +} + +package() { + pkgdesc="An image viewing/manipulation program" + pkgdesc+=" (without X11; for servers)" + # Remove libxt, libxext, libcl + depends=('perl' 'libltdl' 'lcms2' 'fontconfig' 'liblqr') + optdepends=('imagemagick-doc: for additional information' + 'ghostscript: for Ghostscript support' + 'openexr: for OpenEXR support' + 'openjpeg2: for JP2 support' + 'libwmf: for WMF support' + 'librsvg: for SVG support' + 'libxml2: for XML support' + 'libpng: for PNG support' + 'libwebp: for WEBP support') + backup=("etc/ImageMagick-${pkgver%%.*}/coder.xml" + "etc/ImageMagick-${pkgver%%.*}/colors.xml" + "etc/ImageMagick-${pkgver%%.*}/delegates.xml" + "etc/ImageMagick-${pkgver%%.*}/log.xml" + "etc/ImageMagick-${pkgver%%.*}/magic.xml" + "etc/ImageMagick-${pkgver%%.*}/mime.xml" + "etc/ImageMagick-${pkgver%%.*}/policy.xml" + "etc/ImageMagick-${pkgver%%.*}/quantization-table.xml" + "etc/ImageMagick-${pkgver%%.*}/thresholds.xml" + "etc/ImageMagick-${pkgver%%.*}/type.xml" + "etc/ImageMagick-${pkgver%%.*}/type-dejavu.xml" + "etc/ImageMagick-${pkgver%%.*}/type-ghostscript.xml" + "etc/ImageMagick-${pkgver%%.*}/type-windows.xml") + options=('!docs' 'libtool' '!emptydirs') + + cd ImageMagick-${pkgver%.*}-${pkgver##*.} + make -j1 DESTDIR="${pkgdir}" install + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 NOTICE "${pkgdir}/usr/share/licenses/${pkgname}/NOTICE" + +#Cleaning + rm -f "${pkgdir}"/usr/lib/*.la +} + +package_imagemagick-doc() { + pkgdesc="The ImageMagick documentation (utilities manuals and libraries API)" + + cd ImageMagick-${pkgver%.*}-${pkgver##*.} + make DESTDIR="${pkgdir}" install-data-html + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/imagemagick-doc/LICENSE" + install -Dm644 NOTICE "${pkgdir}/usr/share/licenses/imagemagick-doc/NOTICE" +} diff --git a/pcr/imagemagick-nox/perlmagick.rpath.patch b/pcr/imagemagick-nox/perlmagick.rpath.patch new file mode 100644 index 000000000..a5b1a82e2 --- /dev/null +++ b/pcr/imagemagick-nox/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/pcr/imagemagick-srv/PKGBUILD b/pcr/imagemagick-srv/PKGBUILD deleted file mode 100644 index 68cd9e607..000000000 --- a/pcr/imagemagick-srv/PKGBUILD +++ /dev/null @@ -1,84 +0,0 @@ -# $Id$ -# Maintainer (Arch): Eric Bélanger -# Maintainer: Márcio Silva - -pkgbase=imagemagick -pkgname=imagemagick-srv -pkgver=6.8.8.9 -pkgrel=1 -arch=('i686' 'x86_64' 'mips64el') -url="http://www.imagemagick.org/" -license=('custom') -provides=("$pkgbase=$pkgver") -conflicts=($pkgbase) -makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript' \ - 'openexr' 'libwmf' 'librsvg' 'libxml2' 'jasper' 'liblqr' \ - 'libwebp') # libcl opencl-headers -#source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} -source=(ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz{,.asc} - perlmagick.rpath.patch) -sha1sums=('3ad2deadbc7e7c6e61eb5590fcc49d71fd96b247' - 'SKIP' - 'e143cf9d530fabf3b58023899b5cc544ba93daec') - -prepare() { - cd ImageMagick-${pkgver%.*}-${pkgver##*.} - sed '/AC_PATH_XTRA/d' -i configure.ac - autoreconf --force --install - patch -p0 -i "${srcdir}/perlmagick.rpath.patch" -} - -build() { - cd ImageMagick-${pkgver%.*}-${pkgver##*.} - [[ $CARCH = "i686" ]] && EXTRAOPTS="--with-gcc-arch=i686" - [[ $CARCH = "x86_64" ]] && EXTRAOPTS="--with-gcc-arch=x86-64" - [[ $CARCH = "mips64el" ]] && EXTRAOPTS="--with-gcc-arch=mips64el" - ./configure --prefix=/usr --sysconfdir=/etc --with-modules --disable-static \ - --disable-hdri --with-wmf --with-openexr --with-xml --with-lcms2 --with-jp2 \ - --with-webp --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \ - --with-perl --with-perl-options="INSTALLDIRS=vendor" --with-lqr --with-rsvg \ - --disable-opencl --without-gvc --without-djvu --without-autotrace \ - --without-jbig --without-fpx --without-dps --without-fftw $EXTRAOPTS - make -} - -#check() { -# cd ImageMagick-${pkgver%.*}-${pkgver##*.} -# make check -#} - -package_imagemagick-srv() { - pkgdesc="An image viewing/manipulation program (for web servers)" - depends=('perl' 'libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'liblqr') # 'libcl') - optdepends=('imagemagick-doc: for additional information' - 'ghostscript: for Ghostscript support' - 'openexr: for OpenEXR support' - 'libwmf: for WMF support' - 'librsvg: for SVG support' - 'libxml2: for XML support' - 'jasper: for JPEG-2000 support' - 'libpng: for PNG support' - 'libwebp: for WEBP support') - backup=("etc/ImageMagick-${pkgver%%.*}/coder.xml" - "etc/ImageMagick-${pkgver%%.*}/colors.xml" - "etc/ImageMagick-${pkgver%%.*}/delegates.xml" - "etc/ImageMagick-${pkgver%%.*}/log.xml" - "etc/ImageMagick-${pkgver%%.*}/magic.xml" - "etc/ImageMagick-${pkgver%%.*}/mime.xml" - "etc/ImageMagick-${pkgver%%.*}/policy.xml" - "etc/ImageMagick-${pkgver%%.*}/quantization-table.xml" - "etc/ImageMagick-${pkgver%%.*}/thresholds.xml" - "etc/ImageMagick-${pkgver%%.*}/type.xml" - "etc/ImageMagick-${pkgver%%.*}/type-dejavu.xml" - "etc/ImageMagick-${pkgver%%.*}/type-ghostscript.xml" - "etc/ImageMagick-${pkgver%%.*}/type-windows.xml") - options=('!docs' 'libtool' '!emptydirs') - - cd ImageMagick-${pkgver%.*}-${pkgver##*.} - make -j1 DESTDIR="${pkgdir}" install - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/imagemagick/LICENSE" - install -Dm644 NOTICE "${pkgdir}/usr/share/licenses/imagemagick/NOTICE" - -#Cleaning - rm -f "${pkgdir}"/usr/lib/*.la -} diff --git a/pcr/imagemagick-srv/perlmagick.rpath.patch b/pcr/imagemagick-srv/perlmagick.rpath.patch deleted file mode 100644 index a5b1a82e2..000000000 --- a/pcr/imagemagick-srv/perlmagick.rpath.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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@' && \ -- cgit v1.2.3-2-g168b