From 1a136cf48dd7f710f38ff998182508f5a0d41c35 Mon Sep 17 00:00:00 2001 From: Parabola Date: Thu, 20 Oct 2011 13:50:49 +0000 Subject: Thu Oct 20 13:50:46 UTC 2011 --- community/collectd/libnotify-0.7.patch | 12 ---- community/collectd/yajl-2.x.patch | 57 --------------- community/ekg/ChangeLog | 5 -- .../ibus-chewing-696864-abrt-ibus-1.4.patch | 84 ---------------------- community/python-cheetah/PKGBUILD | 32 --------- 5 files changed, 190 deletions(-) delete mode 100644 community/collectd/libnotify-0.7.patch delete mode 100644 community/collectd/yajl-2.x.patch delete mode 100644 community/ekg/ChangeLog delete mode 100644 community/ibus-chewing/ibus-chewing-696864-abrt-ibus-1.4.patch delete mode 100755 community/python-cheetah/PKGBUILD (limited to 'community') diff --git a/community/collectd/libnotify-0.7.patch b/community/collectd/libnotify-0.7.patch deleted file mode 100644 index 5ea67047a..000000000 --- a/community/collectd/libnotify-0.7.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -aur old/src/notify_desktop.c new/src/notify_desktop.c ---- old/src/notify_desktop.c 2011-03-07 23:50:24.096691200 +0100 -+++ new/src/notify_desktop.c 2011-03-07 23:52:35.486691201 +0100 -@@ -95,7 +95,7 @@ - : (NOTIF_WARNING == n->severity) ? "WARNING" - : (NOTIF_OKAY == n->severity) ? "OKAY" : "UNKNOWN"); - -- notification = notify_notification_new (summary, n->message, NULL, NULL); -+ notification = notify_notification_new (summary, n->message, NULL); - if (NULL == notification) { - log_err ("Failed to create a new notification."); - return -1; diff --git a/community/collectd/yajl-2.x.patch b/community/collectd/yajl-2.x.patch deleted file mode 100644 index b90543dfe..000000000 --- a/community/collectd/yajl-2.x.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- old/src/curl_json.c 2011-04-25 20:43:00.972938855 -0400 -+++ new/src/curl_json.c 2011-04-25 20:46:03.859938860 -0400 -@@ -98,8 +98,7 @@ - return (0); - - status = yajl_parse(db->yajl, (unsigned char *)buf, len); -- if ((status != yajl_status_ok) -- && (status != yajl_status_insufficient_data)) -+ if ((status != yajl_status_ok)) - { - unsigned char *msg = - yajl_get_error(db->yajl, /* verbose = */ 1, -@@ -130,7 +129,7 @@ - /* "number" may not be null terminated, so copy it into a buffer before - * parsing. */ - static int cj_cb_number (void *ctx, -- const char *number, unsigned int number_len) -+ const char *number, size_t number_len) - { - char buffer[number_len + 1]; - -@@ -159,7 +158,7 @@ - } /* int cj_cb_number */ - - static int cj_cb_map_key (void *ctx, const unsigned char *val, -- unsigned int len) -+ size_t len) - { - cj_t *db = (cj_t *)ctx; - c_avl_tree_t *tree; -@@ -187,7 +186,7 @@ - } - - static int cj_cb_string (void *ctx, const unsigned char *val, -- unsigned int len) -+ size_t len) - { - cj_t *db = (cj_t *)ctx; - char str[len + 1]; -@@ -697,7 +696,7 @@ - char *url; - yajl_handle yprev = db->yajl; - -- db->yajl = yajl_alloc (&ycallbacks, NULL, NULL, (void *)db); -+ db->yajl = yajl_alloc (&ycallbacks, NULL, (void *)db); - if (db->yajl == NULL) - { - ERROR ("curl_json plugin: yajl_alloc failed."); -@@ -730,7 +729,7 @@ - return (-1); - } - -- status = yajl_parse_complete (db->yajl); -+ status = yajl_complete_parse (db->yajl); - if (status != yajl_status_ok) - { - unsigned char *errmsg; diff --git a/community/ekg/ChangeLog b/community/ekg/ChangeLog deleted file mode 100644 index 717d49b5d..000000000 --- a/community/ekg/ChangeLog +++ /dev/null @@ -1,5 +0,0 @@ -2009-03-16 Mateusz Herych -* Rebuild against python 2.6 -2007-07-02 tardo -* Built for x86_64 - diff --git a/community/ibus-chewing/ibus-chewing-696864-abrt-ibus-1.4.patch b/community/ibus-chewing/ibus-chewing-696864-abrt-ibus-1.4.patch deleted file mode 100644 index fc2be85d7..000000000 --- a/community/ibus-chewing/ibus-chewing-696864-abrt-ibus-1.4.patch +++ /dev/null @@ -1,84 +0,0 @@ -From ff138d7a18b7577e5f04f852bd3caf87cbc9e7cc Mon Sep 17 00:00:00 2001 -From: Ding-Yi Chen -Date: Thu, 20 Jan 2011 17:03:07 +1000 -Subject: [PATCH] Addressed comments of yusake - ---- - src/IBusChewingEngine-def.c | 30 ++++++++++++++++++++++-------- - 1 files changed, 22 insertions(+), 8 deletions(-) - -diff --git a/src/IBusChewingEngine-def.c b/src/IBusChewingEngine-def.c -index 90c0384..8c90766 100644 ---- a/src/IBusChewingEngine-def.c -+++ b/src/IBusChewingEngine-def.c -@@ -391,21 +391,29 @@ this option determines how these status be synchronized. Valid values:\n\ - void g_variant_to_g_value(GVariant *gVar, GValue *gValue){ - const GVariantType *gVType=g_variant_get_type(gVar); - if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_BOOLEAN)){ -+ g_value_init(gValue, G_TYPE_BOOLEAN); - g_value_set_boolean(gValue, g_variant_get_boolean(gVar)); - }else if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_UINT16)){ -+ g_value_init(gValue, G_TYPE_UINT); - g_value_set_uint(gValue, g_variant_get_uint16(gVar)); - }else if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_UINT32)){ -+ g_value_init(gValue, G_TYPE_UINT); - g_value_set_uint(gValue, g_variant_get_uint32(gVar)); - }else if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_UINT64)){ -+ g_value_init(gValue, G_TYPE_UINT64); - g_value_set_uint64(gValue, g_variant_get_uint64(gVar)); - }else if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_INT16)){ -+ g_value_init(gValue, G_TYPE_INT); - g_value_set_int(gValue, g_variant_get_int16(gVar)); - }else if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_INT32)){ -+ g_value_init(gValue, G_TYPE_INT); - g_value_set_int(gValue, g_variant_get_int32(gVar)); - }else if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_INT64)){ -+ g_value_init(gValue, G_TYPE_INT); - g_value_set_int64(gValue, g_variant_get_int64(gVar)); - }else if (g_variant_type_is_subtype_of(gVType, G_VARIANT_TYPE_STRING)){ -- g_value_set_int64(gValue, g_variant_get_string(gVar, NULL)); -+ g_value_init(gValue, G_TYPE_STRING); -+ g_value_set_string(gValue, g_variant_get_string(gVar, NULL)); - } - } - -@@ -419,8 +427,14 @@ GVariant *g_value_to_g_variant(GValue *gValue){ - case G_TYPE_UINT: - gVar=g_variant_new_uint32(g_value_get_uint(gValue)); - break; -+ case G_TYPE_UINT64: -+ gVar=g_variant_new_uint64(g_value_get_uint(gValue)); -+ break; - case G_TYPE_INT: -- gVar=g_variant_new_int32(g_value_get_int(gValue)); -+ gVar=g_variant_new_int32(g_value_get_uint(gValue)); -+ break; -+ case G_TYPE_INT64: -+ gVar=g_variant_new_int64(g_value_get_uint(gValue)); - break; - case G_TYPE_STRING: - gVar=g_variant_new_string(g_value_get_string(gValue)); -@@ -435,14 +449,14 @@ GVariant *g_value_to_g_variant(GValue *gValue){ - - static gboolean ibus_chewing_config_get_value(IBusConfig *config, const gchar *section, const gchar *key, GValue *gValue){ - #if IBUS_VERSION >= 10399 -- GVariant *gVar=g_variant_ref_sink(ibus_config_get_value(config, section, key)); -- if (gVar!=NULL){ -- g_variant_to_g_value(gVar, gValue); -- g_variant_unref(gVar); -- return TRUE; -- }else{ -+ GVariant *gVar=ibus_config_get_value(config, section, key); -+ if (gVar==NULL){ - return FALSE; - } -+ g_variant_ref_sink(gVar); -+ g_variant_to_g_value(gVar, gValue); -+ g_variant_unref(gVar); -+ return TRUE; - #else - return ibus_config_get_value(config, section, key, gValue); - #endif --- -1.7.4.4 - diff --git a/community/python-cheetah/PKGBUILD b/community/python-cheetah/PKGBUILD deleted file mode 100755 index 020eb7869..000000000 --- a/community/python-cheetah/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# $Id: PKGBUILD 40317 2011-02-22 19:44:06Z foutrelis $ -# Contributor: James Rayner -# Contributor: Todd Maynard - -pkgname=python-cheetah -pkgver=2.4.4 -pkgrel=2 -pkgdesc="A Python-powered template engine and code generator" -arch=('i686' 'x86_64') -url="http://www.cheetahtemplate.org/" -license=('custom') -depends=('python2' 'python-markdown') -makedepends=('python2-distribute') -optdepends=('python2-pygments: for the CodeHighlighter filter') -provides=('cheetah') -conflicts=('cheetah') -source=(http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${pkgver}.tar.gz) -md5sums=('853917116e731afbc8c8a43c37e6ddba') - -build() { - cd "${srcdir}/Cheetah-${pkgver}" - python2 setup.py build -} - -package() { - cd "${srcdir}/Cheetah-${pkgver}" - python2 setup.py install --root="${pkgdir}" - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - find $pkgdir/usr/lib/python2.7/site-packages/Cheetah/ -name '*.py' | \ - xargs sed -i "s|#!/usr/bin/env python|#!/usr/bin/env python2|" -} -- cgit v1.2.3-54-g00ecf