[arch-commits] Commit in colord/repos (6 files)

Jan de Groot jgc at archlinux.org
Mon Mar 21 13:45:19 UTC 2016


    Date: Monday, March 21, 2016 @ 14:45:19
  Author: jgc
Revision: 262167

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  colord/repos/gnome-unstable-i686/
  colord/repos/gnome-unstable-i686/PKGBUILD
    (from rev 262166, colord/trunk/PKGBUILD)
  colord/repos/gnome-unstable-i686/colord.install
    (from rev 262166, colord/trunk/colord.install)
  colord/repos/gnome-unstable-x86_64/
  colord/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 262166, colord/trunk/PKGBUILD)
  colord/repos/gnome-unstable-x86_64/colord.install
    (from rev 262166, colord/trunk/colord.install)

--------------------------------------+
 gnome-unstable-i686/PKGBUILD         |   46 +++++++++++++++++++++++++++++++++
 gnome-unstable-i686/colord.install   |   15 ++++++++++
 gnome-unstable-x86_64/PKGBUILD       |   46 +++++++++++++++++++++++++++++++++
 gnome-unstable-x86_64/colord.install |   15 ++++++++++
 4 files changed, 122 insertions(+)

Copied: colord/repos/gnome-unstable-i686/PKGBUILD (from rev 262166, colord/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2016-03-21 13:45:19 UTC (rev 262167)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.3.2
+pkgrel=1
+pkgdesc="System daemon for managing color devices"
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/software/colord"
+license=(GPL2)
+depends=(lcms2 libgusb polkit sqlite systemd dconf dbus libgudev)
+makedepends=(intltool gobject-introspection vala docbook2x sane bash-completion
+             argyllcms)
+optdepends=('sane: scanner support'
+            'argyllcms: color profiling')
+replaces=('shared-color-profiles')
+install=colord.install
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+sha1sums=('6e921b03c3575bf4b1f9adfddcd2891541e8ef82'
+          'SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --disable-static \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --enable-vala --enable-sane --with-daemon-user=colord
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # the build system has no colord user, so the chown fails
+  chown -R 124:124 "$pkgdir/var/lib/colord"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: colord/repos/gnome-unstable-i686/colord.install (from rev 262166, colord/trunk/colord.install)
===================================================================
--- gnome-unstable-i686/colord.install	                        (rev 0)
+++ gnome-unstable-i686/colord.install	2016-03-21 13:45:19 UTC (rev 262167)
@@ -0,0 +1,15 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  if ! getent passwd colord >/dev/null; then
+    groupadd -g 124 colord
+    useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord
+  fi
+}
+
+post_upgrade() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_remove() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+}

Copied: colord/repos/gnome-unstable-x86_64/PKGBUILD (from rev 262166, colord/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2016-03-21 13:45:19 UTC (rev 262167)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=colord
+pkgver=1.3.2
+pkgrel=1
+pkgdesc="System daemon for managing color devices"
+arch=(i686 x86_64)
+url="http://www.freedesktop.org/software/colord"
+license=(GPL2)
+depends=(lcms2 libgusb polkit sqlite systemd dconf dbus libgudev)
+makedepends=(intltool gobject-introspection vala docbook2x sane bash-completion
+             argyllcms)
+optdepends=('sane: scanner support'
+            'argyllcms: color profiling')
+replaces=('shared-color-profiles')
+install=colord.install
+source=($url/releases/$pkgname-$pkgver.tar.xz{,.asc})
+sha1sums=('6e921b03c3575bf4b1f9adfddcd2891541e8ef82'
+          'SKIP')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17')
+
+prepare() {
+  cd $pkgname-$pkgver
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/$pkgname --disable-static \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system \
+    --enable-vala --enable-sane --with-daemon-user=colord
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  # the build system has no colord user, so the chown fails
+  chown -R 124:124 "$pkgdir/var/lib/colord"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: colord/repos/gnome-unstable-x86_64/colord.install (from rev 262166, colord/trunk/colord.install)
===================================================================
--- gnome-unstable-x86_64/colord.install	                        (rev 0)
+++ gnome-unstable-x86_64/colord.install	2016-03-21 13:45:19 UTC (rev 262167)
@@ -0,0 +1,15 @@
+post_install() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+  if ! getent passwd colord >/dev/null; then
+    groupadd -g 124 colord
+    useradd -d /var/lib/colord -u 124 -g colord -s /bin/false colord
+  fi
+}
+
+post_upgrade() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+}
+
+post_remove() {
+  glib-compile-schemas /usr/share/glib-2.0/schemas
+}



More information about the arch-commits mailing list