Date: Friday, July 5, 2013 @ 17:03:33 Author: spupykin Revision: 93553
archrelease: copy trunk to community-any Added: gramps/repos/community-any/PKGBUILD (from rev 93552, gramps/trunk/PKGBUILD) gramps/repos/community-any/block-changed.patch (from rev 93552, gramps/trunk/block-changed.patch) gramps/repos/community-any/gramps.install (from rev 93552, gramps/trunk/gramps.install) Deleted: gramps/repos/community-any/PKGBUILD gramps/repos/community-any/gramps.install ---------------------+ PKGBUILD | 86 ++++++++++++++++++++++++++------------------------ block-changed.patch | 42 ++++++++++++++++++++++++ gramps.install | 26 +++++++-------- 3 files changed, 100 insertions(+), 54 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-07-05 15:03:21 UTC (rev 93552) +++ PKGBUILD 2013-07-05 15:03:33 UTC (rev 93553) @@ -1,41 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Maintainer: William Rea <sillywi...@gmail.com> -# Contributor: Cory Farmer <rbgk...@ameritech.net> -# Contributor: György Balló <ball...@freestart.hu> - -pkgname=gramps -epoch=1 -pkgver=3.4.5 -pkgrel=1 -pkgdesc="A genealogy program, which helps you track your family tree" -arch=('any') -url="http://gramps-project.org/" -license=('GPL') -depends=('pygtk' 'librsvg' 'desktop-file-utils' 'shared-mime-info' - 'gnome-icon-theme' 'xdg-utils' 'python2-bsddb') -makedepends=('intltool') -optdepends=('python2-gnomevfs: mime functions support' - 'python2-gtkspell: spellchecking support' - 'pywebkitgtk: html rendering support' - 'graphviz: graph exporting support' - 'ttf-freefont: more font support') -# 'python-osmgpsmap: openstreetmap support' -# 'pyexiv2: exif support' -install=$pkgname.install -source=(http://downloads.sourceforge.net/project/gramps/Stable/$pkgver/gramps-$pkgver.tar.gz) -md5sums=('db576b40dcef5bc45390c45aa4d40367') - -build() { - cd "$srcdir/$pkgname-$pkgver" - sed -i "s|register('preferences.use-bsddb3', False)|register('preferences.use-bsddb3', True)|" src/config.py - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-mime-install \ - PYTHON=python2 - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install -} Copied: gramps/repos/community-any/PKGBUILD (from rev 93552, gramps/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-07-05 15:03:33 UTC (rev 93553) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: William Rea <sillywi...@gmail.com> +# Contributor: Cory Farmer <rbgk...@ameritech.net> +# Contributor: György Balló <ball...@freestart.hu> + +pkgname=gramps +pkgver=4.0.1 +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=('pygtk' 'librsvg' 'desktop-file-utils' 'shared-mime-info' + 'gnome-icon-theme' 'xdg-utils' 'python2-bsddb') +makedepends=('intltool' 'python2-distribute') +optdepends=('python2-gnomevfs: mime functions support' + 'python2-gtkspell: spellchecking support' + 'pywebkitgtk: html rendering support' + 'graphviz: graph exporting support' + 'ttf-freefont: more font support') +# 'python-osmgpsmap: openstreetmap support' +# 'pyexiv2: exif support' +install=$pkgname.install +source=(http://downloads.sourceforge.net/project/gramps/Stable/$pkgver/gramps-$pkgver.tar.gz + block-changed.patch) +md5sums=('078ae6f9138570447081b64f8ae8a701' + 'b2443587e08c4951f00e9401d47e1ccc') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + patch -p0 <$srcdir/block-changed.patch +} + +build() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python2 setup.py install --root=$pkgdir + echo -n '/usr/share' >$pkgdir/usr/lib/python2.7/site-packages/gramps/gen/utils/resource-path +} Copied: gramps/repos/community-any/block-changed.patch (from rev 93552, gramps/trunk/block-changed.patch) =================================================================== --- block-changed.patch (rev 0) +++ block-changed.patch 2013-07-05 15:03:33 UTC (rev 93553) @@ -0,0 +1,42 @@ +Index: gramps/gui/widgets/validatedmaskedentry.py +=================================================================== +--- gramps/gui/widgets/validatedmaskedentry.py (revision 22628) ++++ gramps/gui/widgets/validatedmaskedentry.py (revision 22630) +@@ -235,6 +235,7 @@ + __gtype_name__ = 'MaskedEntry' + + def __init__(self): ++ self._block_changed = False + UndoableEntry.__init__(self) + + # connect in UndoableEntry: +@@ -253,7 +254,6 @@ + + self._completion = None + self._exact_completion = False +- self._block_changed = False + self.hasicon = False + ## self._icon = IconEntry(self) + +@@ -1157,10 +1157,10 @@ + self.data_type = None + self.mandatory = False + self.error_icon = error_icon ++ self._block_changed = False + + MaskedEntry.__init__(self) + +- self._block_changed = False + self._valid = True + self._def_error_msg = None + self._fade = FadeOut(self, err_color) +@@ -1171,7 +1171,8 @@ + + # Virtual methods + def do_changed(self): +- if self._block_changed: ++ block_changed = getattr(self, '_block_changed', True) ++ if block_changed: + self.emit_stop_by_name('changed') + return + self.emit('content-changed') Deleted: gramps.install =================================================================== --- gramps.install 2013-07-05 15:03:21 UTC (rev 93552) +++ gramps.install 2013-07-05 15:03:33 UTC (rev 93553) @@ -1,13 +0,0 @@ -post_install() { - update-desktop-database -q - update-mime-database usr/share/mime - xdg-icon-resource forceupdate --theme gnome -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} Copied: gramps/repos/community-any/gramps.install (from rev 93552, gramps/trunk/gramps.install) =================================================================== --- gramps.install (rev 0) +++ gramps.install 2013-07-05 15:03:33 UTC (rev 93553) @@ -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 +}