summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-07-01 00:23:54 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-07-01 00:23:54 -0300
commitda8c861ca2d2f2eb336bab5899f2c341a6f86458 (patch)
tree334c547b28363f0078583cb785b1b84e426cf888
parent5383769e2718a8750f6bd565ba86372634319fe6 (diff)
parentfab493b2e4893382a91050101c622dc3cc6e81b4 (diff)
downloadabslibre-da8c861ca2d2f2eb336bab5899f2c341a6f86458.tar.gz
abslibre-da8c861ca2d2f2eb336bab5899f2c341a6f86458.tar.bz2
abslibre-da8c861ca2d2f2eb336bab5899f2c341a6f86458.zip
Merge branch 'master' of git://projects.parabolagnulinux.org/abslibre
-rw-r--r--libre-testing/libretools/PKGBUILD108
-rw-r--r--libre-testing/libretools/libretools.install72
-rw-r--r--libre/libretools/PKGBUILD2
-rw-r--r--libre/unzip-libre/PKGBUILD4
-rw-r--r--nonprism/kdepim-kmail-nonprism/PKGBUILD47
-rw-r--r--nonprism/kdepim-kmail-nonprism/kdepim-kmail.install12
-rw-r--r--pcr/imagemagick-nox/PKGBUILD (renamed from pcr/imagemagick-srv/PKGBUILD)63
-rw-r--r--pcr/imagemagick-nox/perlmagick.rpath.patch (renamed from pcr/imagemagick-srv/perlmagick.rpath.patch)0
8 files changed, 282 insertions, 26 deletions
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 <lukeshu@sbcglobal.net>
+# Contributor: Joshua Ismael Haase Hernández (xihh) <hahj87@gmail.com>
+# Contributor: fauno <fauno@kiwwwi.com.ar>
+# Contributor: Márcio Silva <coadde@parabola.nu>
+
+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
+}
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 <lukeshu@sbcglobal.net>
-# Contributor (Arch): Joshua Haase <hahj87@gmail.com>
+# Contributor: Joshua Ismael Haase Hernández (xihh) <hahj87@gmail.com>
# Contributor: fauno <fauno@kiwwwi.com.ar>
# Contributor: Márcio Silva <coadde@parabola.nu>
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')
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 <andrea@archlinux.org>
+# Contributor (Arch): Pierre Schmitz <pierre@archlinux.de>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+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
+}
diff --git a/pcr/imagemagick-srv/PKGBUILD b/pcr/imagemagick-nox/PKGBUILD
index 68cd9e607..403e8d84d 100644
--- a/pcr/imagemagick-srv/PKGBUILD
+++ b/pcr/imagemagick-nox/PKGBUILD
@@ -1,26 +1,30 @@
-# $Id$
+# $Id: PKGBUILD 215482 2014-06-26 17:44:45Z eric $
# Maintainer (Arch): Eric Bélanger <eric@archlinux.org>
# Maintainer: Márcio Silva <coadde@parabola.nu>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
-pkgbase=imagemagick
-pkgname=imagemagick-srv
-pkgver=6.8.8.9
+_pkgname=imagemagick
+pkgname=imagemagick-nox
+pkgver=6.8.9.4
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
+# 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=('3ad2deadbc7e7c6e61eb5590fcc49d71fd96b247'
+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
@@ -33,30 +37,34 @@ build() {
[[ $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 \
+
+ 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 --without-gvc --without-djvu --without-autotrace \
+ --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##*.}
+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')
+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'
+ 'ghostscript: for Ghostscript support'
'openexr: for OpenEXR support'
+ 'openjpeg2: for JP2 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"
@@ -76,9 +84,18 @@ package_imagemagick-srv() {
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"
+ 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-srv/perlmagick.rpath.patch b/pcr/imagemagick-nox/perlmagick.rpath.patch
index a5b1a82e2..a5b1a82e2 100644
--- a/pcr/imagemagick-srv/perlmagick.rpath.patch
+++ b/pcr/imagemagick-nox/perlmagick.rpath.patch