summaryrefslogtreecommitdiff
path: root/community/parcellite
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/parcellite
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/parcellite')
-rw-r--r--community/parcellite/ChangeLog17
-rw-r--r--community/parcellite/PKGBUILD22
-rw-r--r--community/parcellite/history_menu_crash_patch39
3 files changed, 0 insertions, 78 deletions
diff --git a/community/parcellite/ChangeLog b/community/parcellite/ChangeLog
deleted file mode 100644
index aff4a9e4b..000000000
--- a/community/parcellite/ChangeLog
+++ /dev/null
@@ -1,17 +0,0 @@
-2009-05-05 Biru Ionut <biru.ionut at gmail.com>
- * parcellite-0.9.1-1:
- New upstream release.
-
-2008-12-14 Alexander Fehr <pizzapunk gmail com>
-
- * parcellite-0.9-1:
- New upstream release.
-
-2008-08-14 Alexander Fehr <pizzapunk gmail com>
-
- * parcellite-0.8-1:
- New upstream release.
- Changed url.
- Added make dependency on intltool.
- Changed download location to downloads.sourceforge.net.
- Added ChangeLog.
diff --git a/community/parcellite/PKGBUILD b/community/parcellite/PKGBUILD
deleted file mode 100644
index 7a3c72c2d..000000000
--- a/community/parcellite/PKGBUILD
+++ /dev/null
@@ -1,22 +0,0 @@
-# $Id: PKGBUILD 83205 2013-01-28 10:08:03Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: Alexander Fehr <pizzapunk gmail com>
-
-pkgname=parcellite
-pkgver=1.1.4
-pkgrel=1
-pkgdesc="Lightweight GTK+ clipboard manager"
-arch=('i686' 'x86_64')
-url="http://parcellite.sourceforge.net/"
-license=('GPL3')
-depends=('gtk2')
-makedepends=('intltool')
-source=(http://downloads.sourceforge.net/parcellite/parcellite-$pkgver.tar.gz)
-md5sums=('81633e87f096030e1f23904927f4c32f')
-
-build() {
- cd "$srcdir/parcellite-$pkgver"
- ./configure --prefix=/usr --sysconfdir=/etc
- make
- make DESTDIR="$pkgdir" install
-}
diff --git a/community/parcellite/history_menu_crash_patch b/community/parcellite/history_menu_crash_patch
deleted file mode 100644
index 961106839..000000000
--- a/community/parcellite/history_menu_crash_patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Index: main.c
-===================================================================
---- main.c (revision 232)
-+++ main.c (working copy)
-@@ -1199,24 +1199,28 @@
- {
- GString* string = g_string_new((gchar*)element->data);
- /* Ellipsize text */
-- if (string->len > prefs.item_length)
-+ glong len = g_utf8_strlen(string->str, string->len);
-+ if (len > prefs.item_length)
- {
- switch (prefs.ellipsize)
- {
- case PANGO_ELLIPSIZE_START:
-- string = g_string_erase(string, 0, string->len-(prefs.item_length));
-+ string = g_string_erase(string, 0, g_utf8_offset_to_pointer(string->str, len - prefs.item_length) - string->str);
- string = g_string_prepend(string, "...");
- break;
- case PANGO_ELLIPSIZE_MIDDLE:
-- string = g_string_erase(string, (prefs.item_length/2), string->len-(prefs.item_length));
-- string = g_string_insert(string, (string->len/2), "...");
-+ ; /* to avoid wierd gcc error */
-+ gchar* p1 = g_utf8_offset_to_pointer(string->str, prefs.item_length / 2);
-+ gchar* p2 = g_utf8_offset_to_pointer(string->str, len - prefs.item_length / 2);
-+ string = g_string_erase(string, p1 - string->str, p2 - p1);
-+ string = g_string_insert(string, p1 - string->str, "...");
- break;
- case PANGO_ELLIPSIZE_END:
-- string = g_string_truncate(string, prefs.item_length);
-+ string = g_string_truncate(string, g_utf8_offset_to_pointer(string->str, prefs.item_length) - string->str);
- string = g_string_append(string, "...");
- break;
- }
-- }
-+ }
- /* Remove control characters */
- gsize i = 0;
- while (i < string->len)