[arch-commits] Commit in parcellite/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 9 21:15:51 UTC 2018
Date: Friday, November 9, 2018 @ 21:15:50
Author: felixonmars
Revision: 404573
archrelease: copy trunk to community-staging-x86_64
Added:
parcellite/repos/community-staging-x86_64/
parcellite/repos/community-staging-x86_64/PKGBUILD
(from rev 404572, parcellite/trunk/PKGBUILD)
parcellite/repos/community-staging-x86_64/fix-crash.patch
(from rev 404572, parcellite/trunk/fix-crash.patch)
-----------------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
fix-crash.patch | 11 +++++++++++
2 files changed, 44 insertions(+)
Copied: parcellite/repos/community-staging-x86_64/PKGBUILD (from rev 404572, parcellite/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-11-09 21:15:50 UTC (rev 404573)
@@ -0,0 +1,33 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=parcellite
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="Lightweight GTK+ clipboard manager"
+arch=('x86_64')
+url="http://parcellite.sourceforge.net/"
+license=('GPL3')
+depends=('gtk2' 'xdotool')
+makedepends=('intltool')
+optdepends=('xdotool')
+source=(https://downloads.sourceforge.net/parcellite/parcellite-$pkgver.tar.gz
+ fix-crash.patch)
+sha256sums=('aba1c7c56c7607e219ce9855723eefa552c5376982891aefbfb5a2d3297ef046'
+ '8fe1e86958d371c9fa9474fe64b203ed483f636f3f98152237402ea84b2d2cbd')
+
+prepare() {
+ cd "$srcdir/parcellite-$pkgver"
+ patch -Np1 <"$srcdir"/fix-crash.patch
+}
+
+build() {
+ cd "$srcdir/parcellite-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/parcellite-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
Copied: parcellite/repos/community-staging-x86_64/fix-crash.patch (from rev 404572, parcellite/trunk/fix-crash.patch)
===================================================================
--- community-staging-x86_64/fix-crash.patch (rev 0)
+++ community-staging-x86_64/fix-crash.patch 2018-11-09 21:15:50 UTC (rev 404573)
@@ -0,0 +1,11 @@
+--- a/src/preferences.c.orig 2013-11-11 14:39:32.000000000 +0400
++++ b/src/preferences.c 2013-11-11 14:40:03.970776522 +0400
+@@ -381,7 +381,7 @@
+ }
+ /**now go through and make sure we have no duplicates */
+ for (i=0;NULL != keylist[i].name; ++i){
+- if(0 != keylist[i].keyval[0]){
++ if(NULL != keylist[i].keyval && 0 != keylist[i].keyval[0]){
+ /**see if it exists elsewhere */
+ for (l=0;NULL != keylist[l].name; ++l){
+ if(l!=i && 0 != keylist[l].keyval[0]){
More information about the arch-commits
mailing list