Date: Tuesday, March 11, 2014 @ 12:34:21 Author: tredaelli Revision: 107019
archrelease: copy trunk to community-i686, community-x86_64 Added: argyllcms/repos/community-i686/PKGBUILD (from rev 107018, argyllcms/trunk/PKGBUILD) argyllcms/repos/community-i686/argyllcms.install (from rev 107018, argyllcms/trunk/argyllcms.install) argyllcms/repos/community-x86_64/PKGBUILD (from rev 107018, argyllcms/trunk/PKGBUILD) argyllcms/repos/community-x86_64/argyllcms.install (from rev 107018, argyllcms/trunk/argyllcms.install) Deleted: argyllcms/repos/community-i686/PKGBUILD argyllcms/repos/community-i686/argyllcms.install argyllcms/repos/community-x86_64/PKGBUILD argyllcms/repos/community-x86_64/argyllcms.install ------------------------------------+ /PKGBUILD | 104 +++++++++++++++++++++++++++++++++++ /argyllcms.install | 78 ++++++++++++++++++++++++++ community-i686/PKGBUILD | 57 ------------------- community-i686/argyllcms.install | 39 ------------- community-x86_64/PKGBUILD | 57 ------------------- community-x86_64/argyllcms.install | 39 ------------- 6 files changed, 182 insertions(+), 192 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2014-03-11 11:34:11 UTC (rev 107018) +++ community-i686/PKGBUILD 2014-03-11 11:34:21 UTC (rev 107019) @@ -1,57 +0,0 @@ -# $Id$ -# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> -# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) - -pkgname=argyllcms -_pkgname=Argyll -pkgver=1.6.3 -_pkgver="V${pkgver}" -pkgrel=2 -pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" -arch=(i686 x86_64) -depends=('libxss' 'libxinerama' 'libxxf86vm' 'libxrandr') -makedepends=('ftjam' 'zip' 'unzip') -# You need to fake an UserAgent or it doesn't download -source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip) -url="http://www.argyllcms.com/" -license=("GPL" "AGPL") -install=${pkgname}.install -sha256sums=('188beaa03dd2459403415023f8f8f9aab362bf3062a9822b3622dde6902e4b84') - -build() { - cd ${_pkgname}_${_pkgver} - echo "***running makeall.sh***" - sh ./makeall.sh - echo "***running makeinstall.sh***" - sh ./makeinstall.sh - echo "***running makepackagebin.sh***" - sh ./makepackagebin.sh - rm {bin,ref}/License.txt - rm {doc,ref}/afiles -} - -package() { - mkdir -p "${pkgdir}"/usr/bin - install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin - mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref - # Because there is just html documentation we have to move it - mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs - install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs - install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc - mkdir -p "${pkgdir}"/usr/lib/udev/rules.d - install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - sed -i 's|^IMPORT{program}="usb|#IMPORT{program}="usb|' "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - cat <<EOF >>"${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - -# As mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=859244 and https://bbs.archlinux.org/viewtopic.php?id=155589 -# I've commented out the line: -# IMPORT{program}="usb-db %p" -# to prevent the error messages: -# systemd-udevd[242]: failed to execute '/usr/lib/udev/usb-db'... -EOF -} - -# vim:set ts=2 sw=2 et: Copied: argyllcms/repos/community-i686/PKGBUILD (from rev 107018, argyllcms/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2014-03-11 11:34:21 UTC (rev 107019) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) + +pkgname=argyllcms +_pkgname=Argyll +pkgver=1.6.3 +_pkgver="V${pkgver}" +pkgrel=3 +pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" +arch=(i686 x86_64) +depends=('libxss' 'libxinerama' 'libxxf86vm' 'libxrandr') +makedepends=('ftjam' 'zip' 'unzip') +# You need to fake an UserAgent or it doesn't download +source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip) +url="http://www.argyllcms.com/" +license=("GPL" "AGPL") +install=${pkgname}.install +sha256sums=('188beaa03dd2459403415023f8f8f9aab362bf3062a9822b3622dde6902e4b84') + +prepare() { + sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' ${_pkgname}_${_pkgver}/usb/55-Argyll.rules +} + +build() { + cd ${_pkgname}_${_pkgver} + echo "***running makeall.sh***" + sh ./makeall.sh + echo "***running makeinstall.sh***" + sh ./makeinstall.sh + echo "***running makepackagebin.sh***" + sh ./makepackagebin.sh + rm {bin,ref}/License.txt + rm {doc,ref}/afiles +} + +package() { + mkdir -p "${pkgdir}"/usr/bin + install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin + mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref + install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref + install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref + install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref + # Because there is just html documentation we have to move it + mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs + install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs + install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc + mkdir -p "${pkgdir}"/usr/lib/udev/rules.d + install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules +} + +# vim:set ts=2 sw=2 et: Deleted: community-i686/argyllcms.install =================================================================== --- community-i686/argyllcms.install 2014-03-11 11:34:11 UTC (rev 107018) +++ community-i686/argyllcms.install 2014-03-11 11:34:21 UTC (rev 107019) @@ -1,39 +0,0 @@ -post_install() { - cat << EOF - -NOTE for argyllcms: ----- - ==> The documentaion is only available as html! - ==> You will find it in /usr/share/argyllcms/doc - ==> Color charts located in /usr/share/argyllcms/ref - ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed! -EOF - -/usr/sbin/groupadd plugdev &> /dev/null -RETVAL=$? -if [ $RETVAL -eq 0 ] ; then - /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <==" -elif [ $RETVAL -eq 9 ] ; then - /bin/echo "==> Please add your argyllcms user to plugdev group! <==" -else - /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <==" -fi -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - /bin/true -} - -post_remove() { - /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <==" - /bin/true -} - -op=$1 -shift - -$op $* Copied: argyllcms/repos/community-i686/argyllcms.install (from rev 107018, argyllcms/trunk/argyllcms.install) =================================================================== --- community-i686/argyllcms.install (rev 0) +++ community-i686/argyllcms.install 2014-03-11 11:34:21 UTC (rev 107019) @@ -0,0 +1,39 @@ +post_install() { + cat << EOF + +NOTE for argyllcms: +---- + ==> The documentaion is only available as html! + ==> You will find it in /usr/share/argyllcms/doc + ==> Color charts located in /usr/share/argyllcms/ref + ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed! +EOF + +/usr/sbin/groupadd plugdev &> /dev/null +RETVAL=$? +if [ $RETVAL -eq 0 ] ; then + /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <==" +elif [ $RETVAL -eq 9 ] ; then + /bin/echo "==> Please add your argyllcms user to plugdev group! <==" +else + /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <==" +fi +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + /bin/true +} + +post_remove() { + /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <==" + /bin/true +} + +op=$1 +shift + +$op $* Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2014-03-11 11:34:11 UTC (rev 107018) +++ community-x86_64/PKGBUILD 2014-03-11 11:34:21 UTC (rev 107019) @@ -1,57 +0,0 @@ -# $Id$ -# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> -# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) - -pkgname=argyllcms -_pkgname=Argyll -pkgver=1.6.3 -_pkgver="V${pkgver}" -pkgrel=2 -pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" -arch=(i686 x86_64) -depends=('libxss' 'libxinerama' 'libxxf86vm' 'libxrandr') -makedepends=('ftjam' 'zip' 'unzip') -# You need to fake an UserAgent or it doesn't download -source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip) -url="http://www.argyllcms.com/" -license=("GPL" "AGPL") -install=${pkgname}.install -sha256sums=('188beaa03dd2459403415023f8f8f9aab362bf3062a9822b3622dde6902e4b84') - -build() { - cd ${_pkgname}_${_pkgver} - echo "***running makeall.sh***" - sh ./makeall.sh - echo "***running makeinstall.sh***" - sh ./makeinstall.sh - echo "***running makepackagebin.sh***" - sh ./makepackagebin.sh - rm {bin,ref}/License.txt - rm {doc,ref}/afiles -} - -package() { - mkdir -p "${pkgdir}"/usr/bin - install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin - mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref - install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref - # Because there is just html documentation we have to move it - mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs - install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs - install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc - mkdir -p "${pkgdir}"/usr/lib/udev/rules.d - install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - sed -i 's|^IMPORT{program}="usb|#IMPORT{program}="usb|' "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - cat <<EOF >>"${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules - -# As mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=859244 and https://bbs.archlinux.org/viewtopic.php?id=155589 -# I've commented out the line: -# IMPORT{program}="usb-db %p" -# to prevent the error messages: -# systemd-udevd[242]: failed to execute '/usr/lib/udev/usb-db'... -EOF -} - -# vim:set ts=2 sw=2 et: Copied: argyllcms/repos/community-x86_64/PKGBUILD (from rev 107018, argyllcms/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2014-03-11 11:34:21 UTC (rev 107019) @@ -0,0 +1,52 @@ +# $Id$ +# Maintainer: Timothy Redaelli <timothy.redae...@gmail.com> +# Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com) + +pkgname=argyllcms +_pkgname=Argyll +pkgver=1.6.3 +_pkgver="V${pkgver}" +pkgrel=3 +pkgdesc="An ICC compatible color management system with support for different colorimeter hardware" +arch=(i686 x86_64) +depends=('libxss' 'libxinerama' 'libxxf86vm' 'libxrandr') +makedepends=('ftjam' 'zip' 'unzip') +# You need to fake an UserAgent or it doesn't download +source=(http://www.argyllcms.com/${_pkgname}_${_pkgver}_src.zip) +url="http://www.argyllcms.com/" +license=("GPL" "AGPL") +install=${pkgname}.install +sha256sums=('188beaa03dd2459403415023f8f8f9aab362bf3062a9822b3622dde6902e4b84') + +prepare() { + sed -i 's:^TEST=="/lib/udev/usb-db", IMPORT{program}="usb-db %p":IMPORT{builtin}="hwdb --subsystem=usb":' ${_pkgname}_${_pkgver}/usb/55-Argyll.rules +} + +build() { + cd ${_pkgname}_${_pkgver} + echo "***running makeall.sh***" + sh ./makeall.sh + echo "***running makeinstall.sh***" + sh ./makeinstall.sh + echo "***running makepackagebin.sh***" + sh ./makepackagebin.sh + rm {bin,ref}/License.txt + rm {doc,ref}/afiles +} + +package() { + mkdir -p "${pkgdir}"/usr/bin + install -m755 ${_pkgname}_${_pkgver}/bin/* "${pkgdir}"/usr/bin + mkdir -p "${pkgdir}"/usr/share/${pkgname}/ref + install -m644 ${_pkgname}_${_pkgver}/ref/*.* "${pkgdir}"/usr/share/${pkgname}/ref + install -m644 ${_pkgname}_${_pkgver}/profile/*.sp "${pkgdir}"/usr/share/${pkgname}/ref + install -m644 ${_pkgname}_${_pkgver}/scanin/*.c?? "${pkgdir}"/usr/share/${pkgname}/ref + # Because there is just html documentation we have to move it + mkdir -p "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs + install -m644 ${_pkgname}_${_pkgver}/doc/ccmxs/*.ccmx "${pkgdir}"/usr/share/${pkgname}/doc/ccmxs + install -m644 ${_pkgname}_${_pkgver}/doc/*.* "${pkgdir}"/usr/share/${pkgname}/doc + mkdir -p "${pkgdir}"/usr/lib/udev/rules.d + install -m644 ${_pkgname}_${_pkgver}/usb/55-Argyll.rules "${pkgdir}"/usr/lib/udev/rules.d/55-Argyll.rules +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/argyllcms.install =================================================================== --- community-x86_64/argyllcms.install 2014-03-11 11:34:11 UTC (rev 107018) +++ community-x86_64/argyllcms.install 2014-03-11 11:34:21 UTC (rev 107019) @@ -1,39 +0,0 @@ -post_install() { - cat << EOF - -NOTE for argyllcms: ----- - ==> The documentaion is only available as html! - ==> You will find it in /usr/share/argyllcms/doc - ==> Color charts located in /usr/share/argyllcms/ref - ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed! -EOF - -/usr/sbin/groupadd plugdev &> /dev/null -RETVAL=$? -if [ $RETVAL -eq 0 ] ; then - /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <==" -elif [ $RETVAL -eq 9 ] ; then - /bin/echo "==> Please add your argyllcms user to plugdev group! <==" -else - /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <==" -fi -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - /bin/true -} - -post_remove() { - /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <==" - /bin/true -} - -op=$1 -shift - -$op $* Copied: argyllcms/repos/community-x86_64/argyllcms.install (from rev 107018, argyllcms/trunk/argyllcms.install) =================================================================== --- community-x86_64/argyllcms.install (rev 0) +++ community-x86_64/argyllcms.install 2014-03-11 11:34:21 UTC (rev 107019) @@ -0,0 +1,39 @@ +post_install() { + cat << EOF + +NOTE for argyllcms: +---- + ==> The documentaion is only available as html! + ==> You will find it in /usr/share/argyllcms/doc + ==> Color charts located in /usr/share/argyllcms/ref + ==> Since release 1.5.0 ColorHug support is enabled by default. The environment variable "ENABLE_COLORHUG" is not longer needed! +EOF + +/usr/sbin/groupadd plugdev &> /dev/null +RETVAL=$? +if [ $RETVAL -eq 0 ] ; then + /bin/echo "==> Added group plugdev. Please add your argyllcms user to this group! <==" +elif [ $RETVAL -eq 9 ] ; then + /bin/echo "==> Please add your argyllcms user to plugdev group! <==" +else + /bin/echo "==> Please create group plugdev and add your argyllcms user to this group! <==" +fi +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + /bin/true +} + +post_remove() { + /bin/echo "==> Please check if group plugdev and your assigned argyllcms user is still required! <==" + /bin/true +} + +op=$1 +shift + +$op $*