[arch-commits] Commit in gcr/repos (10 files)

Jan Steffens heftig at nymeria.archlinux.org
Wed Apr 10 19:12:07 UTC 2013


    Date: Wednesday, April 10, 2013 @ 21:12:07
  Author: heftig
Revision: 182478

db-move: moved gcr from [staging] to [testing] (i686, x86_64)

Added:
  gcr/repos/testing-i686/
  gcr/repos/testing-i686/10-gcr.conf
    (from rev 182430, gcr/repos/staging-i686/10-gcr.conf)
  gcr/repos/testing-i686/PKGBUILD
    (from rev 182430, gcr/repos/staging-i686/PKGBUILD)
  gcr/repos/testing-i686/gcr.install
    (from rev 182430, gcr/repos/staging-i686/gcr.install)
  gcr/repos/testing-x86_64/
  gcr/repos/testing-x86_64/10-gcr.conf
    (from rev 182430, gcr/repos/staging-x86_64/10-gcr.conf)
  gcr/repos/testing-x86_64/PKGBUILD
    (from rev 182430, gcr/repos/staging-x86_64/PKGBUILD)
  gcr/repos/testing-x86_64/gcr.install
    (from rev 182430, gcr/repos/staging-x86_64/gcr.install)
Deleted:
  gcr/repos/staging-i686/
  gcr/repos/staging-x86_64/

----------------------------+
 testing-i686/10-gcr.conf   |    3 +++
 testing-i686/PKGBUILD      |   40 ++++++++++++++++++++++++++++++++++++++++
 testing-i686/gcr.install   |   14 ++++++++++++++
 testing-x86_64/10-gcr.conf |    3 +++
 testing-x86_64/PKGBUILD    |   40 ++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/gcr.install |   14 ++++++++++++++
 6 files changed, 114 insertions(+)

Copied: gcr/repos/testing-i686/10-gcr.conf (from rev 182430, gcr/repos/staging-i686/10-gcr.conf)
===================================================================
--- testing-i686/10-gcr.conf	                        (rev 0)
+++ testing-i686/10-gcr.conf	2013-04-10 19:12:07 UTC (rev 182478)
@@ -0,0 +1,3 @@
+ at users - memlock 1024
+
+# vim:set ft=limits:

Copied: gcr/repos/testing-i686/PKGBUILD (from rev 182430, gcr/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2013-04-10 19:12:07 UTC (rev 182478)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gcr
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="A library for bits of crypto UI and parsing"
+arch=(i686 x86_64)
+url="http://www.gnome.org"
+license=('GPL2')
+depends=('dconf' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libgcrypt')
+makedepends=('intltool' 'gobject-introspection' 'python')
+options=(!libtool)
+install=gcr.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz
+        10-gcr.conf)
+sha256sums=('3d9ff72a7d5f0c26e42f7f4195fa6f82d384e255a07cfcf00f898b18334b8650'
+            '5f2eda7175ae9f23ee0e09d2beceb24fd2f6daafd7bddfcc1c1f5a3734eb60fc')
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+    --libexec=/usr/lib/gcr \
+    --disable-static \
+    --disable-update-mime \
+    --disable-schemas-compile
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # gcr wants to lock some memory to prevent swapping out private keys
+  # https://bugs.archlinux.org/task/32616
+  # https://bugzilla.gnome.org/show_bug.cgi?id=688161
+  install -Dm644 ../10-gcr.conf "$pkgdir/etc/security/limits.d/10-gcr.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gcr/repos/testing-i686/gcr.install (from rev 182430, gcr/repos/staging-i686/gcr.install)
===================================================================
--- testing-i686/gcr.install	                        (rev 0)
+++ testing-i686/gcr.install	2013-04-10 19:12:07 UTC (rev 182478)
@@ -0,0 +1,14 @@
+post_install () {
+    glib-compile-schemas /usr/share/glib-2.0/schemas
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+    update-mime-database /usr/share/mime &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade () {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Copied: gcr/repos/testing-x86_64/10-gcr.conf (from rev 182430, gcr/repos/staging-x86_64/10-gcr.conf)
===================================================================
--- testing-x86_64/10-gcr.conf	                        (rev 0)
+++ testing-x86_64/10-gcr.conf	2013-04-10 19:12:07 UTC (rev 182478)
@@ -0,0 +1,3 @@
+ at users - memlock 1024
+
+# vim:set ft=limits:

Copied: gcr/repos/testing-x86_64/PKGBUILD (from rev 182430, gcr/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2013-04-10 19:12:07 UTC (rev 182478)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gcr
+pkgver=3.8.0
+pkgrel=1
+pkgdesc="A library for bits of crypto UI and parsing"
+arch=(i686 x86_64)
+url="http://www.gnome.org"
+license=('GPL2')
+depends=('dconf' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libgcrypt')
+makedepends=('intltool' 'gobject-introspection' 'python')
+options=(!libtool)
+install=gcr.install
+source=(http://download.gnome.org/sources/$pkgname/${pkgver::3}/$pkgname-$pkgver.tar.xz
+        10-gcr.conf)
+sha256sums=('3d9ff72a7d5f0c26e42f7f4195fa6f82d384e255a07cfcf00f898b18334b8650'
+            '5f2eda7175ae9f23ee0e09d2beceb24fd2f6daafd7bddfcc1c1f5a3734eb60fc')
+
+build() {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+    --libexec=/usr/lib/gcr \
+    --disable-static \
+    --disable-update-mime \
+    --disable-schemas-compile
+  make
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+
+  # gcr wants to lock some memory to prevent swapping out private keys
+  # https://bugs.archlinux.org/task/32616
+  # https://bugzilla.gnome.org/show_bug.cgi?id=688161
+  install -Dm644 ../10-gcr.conf "$pkgdir/etc/security/limits.d/10-gcr.conf"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: gcr/repos/testing-x86_64/gcr.install (from rev 182430, gcr/repos/staging-x86_64/gcr.install)
===================================================================
--- testing-x86_64/gcr.install	                        (rev 0)
+++ testing-x86_64/gcr.install	2013-04-10 19:12:07 UTC (rev 182478)
@@ -0,0 +1,14 @@
+post_install () {
+    glib-compile-schemas /usr/share/glib-2.0/schemas
+    gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+    update-mime-database /usr/share/mime &> /dev/null
+    update-desktop-database -q
+}
+
+post_upgrade () {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list