Date: Friday, July 19, 2013 @ 17:21:24 Author: spupykin Revision: 94305
archrelease: copy trunk to community-i686, community-x86_64 Added: parcellite/repos/community-i686/ChangeLog (from rev 94304, parcellite/trunk/ChangeLog) parcellite/repos/community-i686/PKGBUILD (from rev 94304, parcellite/trunk/PKGBUILD) parcellite/repos/community-i686/history_menu_crash_patch (from rev 94304, parcellite/trunk/history_menu_crash_patch) parcellite/repos/community-x86_64/ChangeLog (from rev 94304, parcellite/trunk/ChangeLog) parcellite/repos/community-x86_64/PKGBUILD (from rev 94304, parcellite/trunk/PKGBUILD) parcellite/repos/community-x86_64/history_menu_crash_patch (from rev 94304, parcellite/trunk/history_menu_crash_patch) Deleted: parcellite/repos/community-i686/ChangeLog parcellite/repos/community-i686/PKGBUILD parcellite/repos/community-i686/history_menu_crash_patch parcellite/repos/community-x86_64/ChangeLog parcellite/repos/community-x86_64/PKGBUILD parcellite/repos/community-x86_64/history_menu_crash_patch -------------------------------------------+ /ChangeLog | 34 ++++++++++++ /PKGBUILD | 52 ++++++++++++++++++ /history_menu_crash_patch | 78 ++++++++++++++++++++++++++++ community-i686/ChangeLog | 17 ------ community-i686/PKGBUILD | 22 ------- community-i686/history_menu_crash_patch | 39 -------------- community-x86_64/ChangeLog | 17 ------ community-x86_64/PKGBUILD | 22 ------- community-x86_64/history_menu_crash_patch | 39 -------------- 9 files changed, 164 insertions(+), 156 deletions(-) Deleted: community-i686/ChangeLog =================================================================== --- community-i686/ChangeLog 2013-07-19 15:21:05 UTC (rev 94304) +++ community-i686/ChangeLog 2013-07-19 15:21:24 UTC (rev 94305) @@ -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. Copied: parcellite/repos/community-i686/ChangeLog (from rev 94304, parcellite/trunk/ChangeLog) =================================================================== --- community-i686/ChangeLog (rev 0) +++ community-i686/ChangeLog 2013-07-19 15:21:24 UTC (rev 94305) @@ -0,0 +1,17 @@ +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. Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-07-19 15:21:05 UTC (rev 94304) +++ community-i686/PKGBUILD 2013-07-19 15:21:24 UTC (rev 94305) @@ -1,22 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@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 -} Copied: parcellite/repos/community-i686/PKGBUILD (from rev 94304, parcellite/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-07-19 15:21:24 UTC (rev 94305) @@ -0,0 +1,26 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Alexander Fehr <pizzapunk gmail com> + +pkgname=parcellite +pkgver=1.1.5 +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=('62f96188afc1cc2fe5b48f334bd4c99f') + +build() { + cd "$srcdir/parcellite-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "$srcdir/parcellite-$pkgver" + make DESTDIR="$pkgdir" install +} Deleted: community-i686/history_menu_crash_patch =================================================================== --- community-i686/history_menu_crash_patch 2013-07-19 15:21:05 UTC (rev 94304) +++ community-i686/history_menu_crash_patch 2013-07-19 15:21:24 UTC (rev 94305) @@ -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) Copied: parcellite/repos/community-i686/history_menu_crash_patch (from rev 94304, parcellite/trunk/history_menu_crash_patch) =================================================================== --- community-i686/history_menu_crash_patch (rev 0) +++ community-i686/history_menu_crash_patch 2013-07-19 15:21:24 UTC (rev 94305) @@ -0,0 +1,39 @@ +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) Deleted: community-x86_64/ChangeLog =================================================================== --- community-x86_64/ChangeLog 2013-07-19 15:21:05 UTC (rev 94304) +++ community-x86_64/ChangeLog 2013-07-19 15:21:24 UTC (rev 94305) @@ -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. Copied: parcellite/repos/community-x86_64/ChangeLog (from rev 94304, parcellite/trunk/ChangeLog) =================================================================== --- community-x86_64/ChangeLog (rev 0) +++ community-x86_64/ChangeLog 2013-07-19 15:21:24 UTC (rev 94305) @@ -0,0 +1,17 @@ +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. Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-07-19 15:21:05 UTC (rev 94304) +++ community-x86_64/PKGBUILD 2013-07-19 15:21:24 UTC (rev 94305) @@ -1,22 +0,0 @@ -# $Id$ -# Maintainer: Sergej Pupykin <pupykin.s+a...@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 -} Copied: parcellite/repos/community-x86_64/PKGBUILD (from rev 94304, parcellite/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-07-19 15:21:24 UTC (rev 94305) @@ -0,0 +1,26 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Alexander Fehr <pizzapunk gmail com> + +pkgname=parcellite +pkgver=1.1.5 +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=('62f96188afc1cc2fe5b48f334bd4c99f') + +build() { + cd "$srcdir/parcellite-$pkgver" + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "$srcdir/parcellite-$pkgver" + make DESTDIR="$pkgdir" install +} Deleted: community-x86_64/history_menu_crash_patch =================================================================== --- community-x86_64/history_menu_crash_patch 2013-07-19 15:21:05 UTC (rev 94304) +++ community-x86_64/history_menu_crash_patch 2013-07-19 15:21:24 UTC (rev 94305) @@ -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) Copied: parcellite/repos/community-x86_64/history_menu_crash_patch (from rev 94304, parcellite/trunk/history_menu_crash_patch) =================================================================== --- community-x86_64/history_menu_crash_patch (rev 0) +++ community-x86_64/history_menu_crash_patch 2013-07-19 15:21:24 UTC (rev 94305) @@ -0,0 +1,39 @@ +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)