Date: Sunday, March 26, 2023 @ 23:58:58
Author: spupykin
Revision: 1429319
archrelease: copy trunk to community-x86_64
Added:
parcellite/repos/community-x86_64/PKGBUILD
(from rev 1429318, parcellite/trunk/PKGBUILD)
parcellite/repos/community-x86_64/fix-crash.patch
(from rev 1429318, parcellite/trunk/fix-crash.patch)
Deleted:
parcellite/repos/community-x86_64/PKGBUILD
parcellite/repos/community-x86_64/fix-crash.patch
-----------------+
PKGBUILD | 72 +++++++++++++++++++++++++++++-------------------------
fix-crash.patch | 22 ++++++++--------
2 files changed, 50 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-26 23:58:13 UTC (rev 1429318)
+++ PKGBUILD 2023-03-26 23:58:58 UTC (rev 1429319)
@@ -1,33 +0,0 @@
-# Maintainer: Sergej Pupykin <[email protected]>
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=parcellite
-pkgver=1.2.1
-pkgrel=4
-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-x86_64/PKGBUILD (from rev 1429318,
parcellite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-26 23:58:58 UTC (rev 1429319)
@@ -0,0 +1,39 @@
+# Maintainer: Sergej Pupykin <[email protected]>
+# Maintainer: Alexander Fehr <pizzapunk gmail com>
+
+pkgname=parcellite
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="Lightweight GTK+ clipboard manager"
+arch=('x86_64')
+url="http://parcellite.sourceforge.net/"
+license=('GPL3')
+depends=('gtk2')
+makedepends=('intltool' 'psmisc')
+optdepends=('xdotool')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rickyrockrat/parcellite/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('50c45015c82c75d7b90586d5f4c0fa02568b769806c39afa2369f5713d2f9f49')
+
+prepare() {
+ cd "$srcdir/parcellite-$pkgver"
+ touch src/config.simple.h
+}
+
+build() {
+ cd "$srcdir/parcellite-$pkgver"
+ test -x configure || (
+ # Hack: was not able to avoid final warning easily in gettextize
+ (sleep 5 ; killall gettextize)&
+ ./autogen.sh
+ )
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-appindicator=no
+ make
+}
+
+package() {
+ cd "$srcdir/parcellite-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
Deleted: fix-crash.patch
===================================================================
--- fix-crash.patch 2023-03-26 23:58:13 UTC (rev 1429318)
+++ fix-crash.patch 2023-03-26 23:58:58 UTC (rev 1429319)
@@ -1,11 +0,0 @@
---- 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]){
Copied: parcellite/repos/community-x86_64/fix-crash.patch (from rev 1429318,
parcellite/trunk/fix-crash.patch)
===================================================================
--- fix-crash.patch (rev 0)
+++ fix-crash.patch 2023-03-26 23:58:58 UTC (rev 1429319)
@@ -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]){