[arch-commits] Commit in gramps/repos (4 files)

Jelle van der Waa jelle at archlinux.org
Sun Sep 20 16:02:14 UTC 2015


    Date: Sunday, September 20, 2015 @ 18:02:13
  Author: jelle
Revision: 141300

archrelease: copy trunk to community-staging-any

Added:
  gramps/repos/community-staging-any/
  gramps/repos/community-staging-any/PKGBUILD
    (from rev 141299, gramps/trunk/PKGBUILD)
  gramps/repos/community-staging-any/gramps.install
    (from rev 141299, gramps/trunk/gramps.install)
  gramps/repos/community-staging-any/ignore_intltool_errors.patch
    (from rev 141299, gramps/trunk/ignore_intltool_errors.patch)

------------------------------+
 PKGBUILD                     |   48 +++++++++++++++++++++++++++++++++++++++++
 gramps.install               |   13 +++++++++++
 ignore_intltool_errors.patch |   12 ++++++++++
 3 files changed, 73 insertions(+)

Copied: gramps/repos/community-staging-any/PKGBUILD (from rev 141299, gramps/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-20 16:02:13 UTC (rev 141300)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: William Rea <sillywilly at gmail.com>
+# Contributor: Cory Farmer <rbgkofi at ameritech.net>
+# Contributor: György Balló <ballogy at freestart.hu>
+
+pkgname=gramps
+pkgver=4.2.0
+pkgrel=1
+epoch=2
+pkgdesc="A genealogy program, which helps you track your family tree"
+arch=('any')
+url="http://gramps-project.org/"
+license=('GPL')
+depends=('goocanvas' 'gtk3' 'python-gobject' 'librsvg' 'xdg-utils' 
+	 'python-bsddb' 'gnome-icon-theme' 'desktop-file-utils'
+	 'shared-mime-info' 'python-cairo')
+makedepends=('intltool')
+optdepends=('graphviz: enable creation of graphs (required for tree reports)'
+	    'gtkspell3: enable spell checking in the notes'
+	    'rcs: manage multiple revisions of your family trees'
+	    'python-pillow: crop and convert images to JPG'
+	    'libgexiv2: manage Exif metadata embedded in your media'
+	    'ttf-freefont: more font support in the reports')
+#	    'python-osmgpsmap: show maps in the geography view'
+#	    'python-pyicu: improves localised sorting'
+#	    'webkitgtk: allows websites to be opened in Gramps'
+install=$pkgname.install
+source=(http://downloads.sourceforge.net/project/gramps/Stable/$pkgver/gramps-$pkgver.tar.gz ignore_intltool_errors.patch)
+md5sums=('2c59c91166740311ce15af4b0b5229e1'
+         '64af41dab4d7fe4765a9d48f27b20350')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+  patch -Np1 -i $srcdir/ignore_intltool_errors.patch
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+_pyver=`pacman -Q python | cut -f2 -d' ' | cut -f1,2 -d.`
+  cd "$srcdir/$pkgname-$pkgver"
+  python setup.py install --root=$pkgdir
+  echo -n '/usr/share' >$pkgdir/usr/lib/python${_pyver}/site-packages/gramps/gen/utils/resource-path
+}

Copied: gramps/repos/community-staging-any/gramps.install (from rev 141299, gramps/trunk/gramps.install)
===================================================================
--- community-staging-any/gramps.install	                        (rev 0)
+++ community-staging-any/gramps.install	2015-09-20 16:02:13 UTC (rev 141300)
@@ -0,0 +1,13 @@
+post_install() {
+  update-desktop-database -q &>/dev/null &
+  update-mime-database usr/share/mime &>/dev/null &
+  xdg-icon-resource forceupdate --theme gnome &>/dev/null &
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  post_install $1
+}

Copied: gramps/repos/community-staging-any/ignore_intltool_errors.patch (from rev 141299, gramps/trunk/ignore_intltool_errors.patch)
===================================================================
--- community-staging-any/ignore_intltool_errors.patch	                        (rev 0)
+++ community-staging-any/ignore_intltool_errors.patch	2015-09-20 16:02:13 UTC (rev 141300)
@@ -0,0 +1,12 @@
+diff -aur gramps-4.2.0/setup.py gramps-4.2.0.new/setup.py
+--- gramps-4.2.0/setup.py	2015-07-29 20:53:06.000000000 +0200
++++ gramps-4.2.0.new/setup.py	2015-09-20 17:58:17.035215951 +0200
+@@ -91,7 +91,7 @@
+         except:
+             return (0,0,0)
+     else:
+-        cmd = 'intltool-update --version | head -1 | cut -d" " -f3'
++        cmd = 'intltool-update --version 2> /dev/null | head -1 | cut -d" " -f3'
+         retcode, version_str = subprocess.getstatusoutput(cmd)
+         if retcode != 0:
+             return None



More information about the arch-commits mailing list