diff options
author | Chris Severance | 2021-01-21 21:54:06 -0500 |
---|---|---|
committer | Chris Severance | 2021-01-21 21:54:06 -0500 |
commit | 0db791abce30fde82f5a80097a5280a20f935d0c (patch) | |
tree | 780deac1dc4d126ef3562080110addba8d209f20 | |
parent | 749541945bfa5eb1c12f2d8716b533e4b06d5d64 (diff) | |
download | aur-imagemagick-git.tar.gz |
autu: Update to 7.0.10.59.r18323.gf548a590c-1
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 22 insertions, 19 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Tue May 14 05:05:43 UTC 2019 pkgbase = imagemagick-git pkgdesc = An image viewing/manipulation program - pkgver = 7.0.8.45.r15636.g909488f04 + pkgver = 7.0.10.59.r18323.gf548a590c pkgrel = 1 url = https://www.imagemagick.org/ arch = x86_64 @@ -18,6 +16,7 @@ pkgbase = imagemagick-git makedepends = libraw makedepends = opencl-headers makedepends = libwebp + makedepends = libzip makedepends = chrpath makedepends = ocl-icd makedepends = glu @@ -30,14 +29,15 @@ pkgbase = imagemagick-git makedepends = liblqr makedepends = libraqm makedepends = libpng + makedepends = djvulibre makedepends = patch makedepends = git source = git+https://github.com/ImageMagick/ImageMagick.git - source = arch-fonts.diff::https://projects.archlinux.org/svntogit/packages.git/plain/trunk/arch-fonts.diff?h=packages/imagemagick - source = IM7-GS-policy.patch::https://projects.archlinux.org/svntogit/packages.git/plain/trunk/IM7-GS-policy.patch?h=packages/imagemagick + source = https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/imagemagick/trunk/arch-fonts.diff + md5sums = SKIP + md5sums = 9772162111fe9c74b3299cadc973a889 sha256sums = SKIP sha256sums = a85b744c61b1b563743ecb7c7adad999d7ed9a8af816650e3ab9321b2b102e73 - sha256sums = f20c09860da65a4259ec9627ceeca7d993949b7460fa199c5ffd874633814cf6 pkgname = imagemagick-git depends = libltdl @@ -58,10 +58,11 @@ pkgname = imagemagick-git optdepends = ocl-icd: OpenCL support optdepends = openexr: OpenEXR support optdepends = openjpeg2: JPEG2000 support + optdepends = djvulibre: DJVU support optdepends = pango: Text rendering optdepends = imagemagick-doc: manual and API docs provides = libmagick - provides = imagemagick=7.0.8.45 + provides = imagemagick=7.0.10.59 conflicts = imagemagick6 conflicts = imagemagick replaces = imagemagick6 @@ -11,29 +11,29 @@ pkgbase="${_pkgname}-git" #_srcdir="${pkgbase}" _srcdir='ImageMagick' pkgname=("${pkgbase}"{,-doc}) -pkgver=7.0.8.45.r15636.g909488f04 +pkgver=7.0.10.59.r18323.gf548a590c pkgrel=1 pkgdesc='An image viewing/manipulation program' arch=('x86_64') url="https://www.imagemagick.org/" license=(custom) -makedepends=('ghostscript' 'openexr' 'libwmf' 'librsvg' 'libxml2' 'openjpeg2' 'libraw' 'opencl-headers' 'libwebp' - 'chrpath' 'ocl-icd' 'glu' 'ghostpcl' 'ghostxps' 'libheif' 'jbigkit' 'lcms2' 'libxext' 'liblqr' 'libraqm' 'libpng') +makedepends=('ghostscript' 'openexr' 'libwmf' 'librsvg' 'libxml2' 'openjpeg2' 'libraw' 'opencl-headers' 'libwebp' 'libzip' + 'chrpath' 'ocl-icd' 'glu' 'ghostpcl' 'ghostxps' 'libheif' 'jbigkit' 'lcms2' 'libxext' 'liblqr' 'libraqm' 'libpng' 'djvulibre') #makedepends+=('libltdl' 'libxt' 'fontconfig') makedepends+=('patch' 'git') checkdepends=(gsfonts ttf-dejavu) _relname=ImageMagick-${pkgver%%.*} _verwatch=("${url/script/download/}" 'ImageMagick-\([-0-9\.]\+\)\.tar\.bz2' 'l') -_archlink="@@@::https://projects.archlinux.org/svntogit/packages.git/plain/trunk/@@@?h=packages/${_pkgname}" +_archlink='https://raw.githubusercontent.com/archlinux/svntogit-packages/packages/imagemagick/trunk/@@@' source=( #"${_srcdir}::git+http://git.imagemagick.org/repos/ImageMagick.git" "git+https://github.com/ImageMagick/ImageMagick.git" "${_archlink//@@@/arch-fonts.diff}" - "${_archlink//@@@/IM7-GS-policy.patch}" ) +md5sums=('SKIP' + '9772162111fe9c74b3299cadc973a889') sha256sums=('SKIP' - 'a85b744c61b1b563743ecb7c7adad999d7ed9a8af816650e3ab9321b2b102e73' - 'f20c09860da65a4259ec9627ceeca7d993949b7460fa199c5ffd874633814cf6') + 'a85b744c61b1b563743ecb7c7adad999d7ed9a8af816650e3ab9321b2b102e73') #validpgpkeys=('D8272EF51DA223E4D05B466989AB63D48277377A') # Lexie Parsimoniae pkgver() { @@ -53,8 +53,6 @@ prepare() { # Fix up typemaps to match our packages, where possible patch -p1 -i ../arch-fonts.diff - # Work around ghostscript security issues https://bugs.archlinux.org/task/59778 - patch -p1 -i ../IM7-GS-policy.patch set +u } @@ -66,6 +64,7 @@ if [ ! -s 'Makefile' ]; then ./configure \ --prefix='/usr' \ --sysconfdir='/etc' \ + --enable-shared \ --with-dejavu-font-dir='/usr/share/fonts/TTF' \ --with-gs-font-dir='/usr/share/fonts/gsfonts' \ PSDelegate='/usr/bin/gs' \ @@ -73,7 +72,8 @@ if [ ! -s 'Makefile' ]; then PCLDelegate='/usr/bin/gpcl6' \ --enable-hdri \ --enable-opencl \ - --with-gslib \ + --without-gslib \ + --with-djvu \ --with-lqr \ --with-modules \ --with-openexr \ @@ -85,7 +85,6 @@ if [ ! -s 'Makefile' ]; then --with-wmf \ --with-xml \ --without-autotrace \ - --without-djvu \ --without-dps \ --without-fftw \ --without-fpx \ @@ -109,7 +108,6 @@ build() { check_disabled() { cd "${_srcdir}" ulimit -n 4096 - sed -e '/validate-formats/d' -i Makefile # these fail due to the security patch make -s -j1 check } @@ -126,6 +124,7 @@ package_imagemagick-git() { 'ocl-icd: OpenCL support' 'openexr: OpenEXR support' 'openjpeg2: JPEG2000 support' + 'djvulibre: DJVU support' 'pango: Text rendering' 'imagemagick-doc: manual and API docs') options=(!emptydirs libtool) @@ -147,6 +146,9 @@ package_imagemagick-git() { # Split docs mv "${pkgdir}/usr/share/doc" "${srcdir}/docpkg/usr/share/" + +# Harden security policy https://bugs.archlinux.org/task/62785 + sed -e '/<\/policymap>/i \ \ <policy domain="delegate" rights="none" pattern="gs" \/>' -i "$pkgdir"/etc/ImageMagick-7/policy.xml set +u } |