diff options
author | Brendan Tildesley <brendan.tildesley@gmail.com> | 2012-06-03 14:09:42 +1000 |
---|---|---|
committer | Brendan Tildesley <brendan.tildesley@gmail.com> | 2012-06-03 14:09:42 +1000 |
commit | b64ed1199e016b3ef3a6596a21082701a5efecff (patch) | |
tree | d25a35120bcc477d485c13238eaeda96d470cfab | |
parent | 986a9406becb9c0aafb51cc2eaf1ff4f26867c15 (diff) | |
parent | 20412037146b0a252716f5ee6386c36d1335c08c (diff) |
guile 2.0.5 for ~brendan repo
-rw-r--r-- | libre/xchat-libre/PKGBUILD | 57 | ||||
-rw-r--r-- | libre/xchat-libre/no-firefox.patch | 2 | ||||
-rw-r--r-- | libre/xchat-libre/remove-non-free-suggestion.patch | 2 | ||||
-rw-r--r-- | libre/xchat-libre/xchat-2.8.8-glib-2.31.patch | 62 | ||||
-rw-r--r-- | libre/xchat-libre/xchat-2.8.8-libnotify07.patch | 1 | ||||
-rw-r--r-- | libre/xchat-libre/xchat-2.8.8-link-against-libnotify.patch | 1 | ||||
-rw-r--r-- | libre/xchat-libre/xchat.install | 11 | ||||
-rw-r--r-- | social/seeks/PKGBUILD | 5 |
8 files changed, 112 insertions, 29 deletions
diff --git a/libre/xchat-libre/PKGBUILD b/libre/xchat-libre/PKGBUILD index f04ec2f47..223eaff72 100644 --- a/libre/xchat-libre/PKGBUILD +++ b/libre/xchat-libre/PKGBUILD @@ -1,10 +1,12 @@ -# Maintainer: Eric Belanger <eric@archlinux.org> -# Maintainer: Henry Jensen <hjensen@connochaetos.org> +# $Id: PKGBUILD 159467 2012-05-24 17:52:29Z eric $ +# Maintainer: Eric Bélanger <eric@archlinux.org> +# Maintainer (ConnochaetOS): Henry Jensen <hjensen@connochaetos.org> +# Maintainet (Parabola): André Silva <andre.paulista@adinet.com.uy> -pkgbasename=xchat +_pkgname=xchat pkgname=xchat-libre pkgver=2.8.8 -pkgrel=7 +pkgrel=10 pkgdesc="A GTK+ based IRC client without non-free browser reference" arch=('i686' 'x86_64') url="http://www.xchat.org/" @@ -12,39 +14,50 @@ provides=("xchat=$pkgver") replaces=('xchat') conflicts=('xchat') license=('GPL') -depends=('gtk2' 'openssl' 'dbus-glib' 'libnotify') -makedepends=('tcl' 'perl' 'python2') +depends=('gtk2' 'openssl' 'dbus-glib' 'libnotify' 'hicolor-icon-theme') +makedepends=('tcl' 'perl' 'python2' 'librsvg') optdepends=('enchant: for spell checking support' 'tcl: for tcl plugin' 'python2: for python plugin') options=('!libtool') -changelog=ChangeLog -source=(http://www.xchat.org/files/source/${pkgver%.*}/${pkgbasename}-${pkgver}.tar.xz +install=xchat.install +source=(http://www.xchat.org/files/source/${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz + http://xchat.org/files/icons/xchat-svg.tar.bz2 xchat-2.8.8-libnotify07.patch xchat-2.8.8-link-against-libnotify.patch + xchat-2.8.8-glib-2.31.patch remove-non-free-suggestion.patch no-firefox.patch) +sha1sums=('e12305da42d1aacc26c2ca25e239f393d4dd3532' + '0d366346cc11e0efb57fc2648fe423c94a3469bd' + 'a053fba4e1911d1ee6a8248fe19e344797920fe3' + '70c3cc29fc55ff35f701ef8ac23078b6e3761ce1' + 'aecaf6176a7cfd62555207b02f2793b360aa39da' + 'ead8947ae0033735803a0353e3b9d23f40fff990' + 'aae58e189481e336825f8b56bf6939d55b2e42f3') build() { - cd "${srcdir}/${pkgbasename}-${pkgver}" - patch -Np1 -i ${srcdir}/remove-non-free-suggestion.patch - patch -Np1 -i ${srcdir}/no-firefox.patch - patch -Np1 -i ${srcdir}/xchat-2.8.8-libnotify07.patch - patch -Np1 -i ${srcdir}/xchat-2.8.8-link-against-libnotify.patch + cd "${srcdir}/${_pkgname}-${pkgver}" + patch -p1 -i "${srcdir}/xchat-2.8.8-libnotify07.patch" + patch -p1 -i "${srcdir}/xchat-2.8.8-link-against-libnotify.patch" + patch -p1 -i "${srcdir}/xchat-2.8.8-glib-2.31.patch" + patch -p1 -i "${srcdir}/remove-non-free-suggestion.patch" + patch -p1 -i "${srcdir}/no-firefox.patch" autoconf autoheader - ./configure --prefix=/usr --sysconfdir=/etc --enable-openssl --enable-dbus \ - --disable-textfe --enable-ipv6 --enable-shm --enable-spell=static + LIBS+="-lgmodule-2.0" ./configure --prefix=/usr --sysconfdir=/etc --datadir=/usr/share \ + --enable-openssl --enable-dbus --disable-textfe --enable-ipv6 --enable-shm --enable-spell=static make } package() { - cd "${srcdir}/${pkgbasename}-${pkgver}" + cd "${srcdir}/${_pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install -} -md5sums=('9a11f13121ff0af787bba3b014378e58' - '8f0ba48dc3d151cd9b4fbef3255e8c95' - '805893e0d8f7c9713d703f34b6bb4b89' - 'd0968310982fa9e30d43dd43536b7387' - 'ba11c3e889509d1b46307d6ebf74509c') + for i in 24 32 48 64 128 256 ; do + install -d "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps" + rsvg-convert -w $i -h $i -o "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/xchat.png" ../xchat-cloned.svg + done + install -D -m644 ../xchat-cloned.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/xchat.svg" + install -D -m644 ../xchat-used.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/xchat2.svg" +} diff --git a/libre/xchat-libre/no-firefox.patch b/libre/xchat-libre/no-firefox.patch index 7fb5190de..f1ecd6631 100644 --- a/libre/xchat-libre/no-firefox.patch +++ b/libre/xchat-libre/no-firefox.patch @@ -5,7 +5,7 @@ /* everything failed, what now? just try firefox */ - if (try_browser ("firefox", NULL, url)) -+ if (try_browser ("icecat", NULL, url)) ++ if (try_browser ("iceweasel", NULL, url)) return; /* fresh out of ideas... */ diff --git a/libre/xchat-libre/remove-non-free-suggestion.patch b/libre/xchat-libre/remove-non-free-suggestion.patch index 943daff60..9383db521 100644 --- a/libre/xchat-libre/remove-non-free-suggestion.patch +++ b/libre/xchat-libre/remove-non-free-suggestion.patch @@ -6,7 +6,7 @@ diff -urN xchat-2.8.8.orig/src/common/xchat.c xchat-2.8.8/src/common/xchat.c static char defaultconf_urlhandlers[] = - "NAME Open Link in Opera\n" "CMD !opera -remote 'openURL(%s)'\n\n"; -+ "NAME Open Link in Web Browser\n" "CMD !icecat '%s'\n\n"; ++ "NAME Open Link in Web Browser\n" "CMD !iceweasel '%s'\n\n"; #ifdef USE_SIGACTION /* Close and open log files on SIGUSR1. Usefull for log rotating */ diff --git a/libre/xchat-libre/xchat-2.8.8-glib-2.31.patch b/libre/xchat-libre/xchat-2.8.8-glib-2.31.patch new file mode 100644 index 000000000..63f562ff8 --- /dev/null +++ b/libre/xchat-libre/xchat-2.8.8-glib-2.31.patch @@ -0,0 +1,62 @@ +Author: Dominique Leuenberger <dimstar@opensuse.org> + +http://sourceforge.net/tracker/?func=detail&aid=3446968&group_id=239&atid=100239 + +glib got stricter in checking includes. Only glib.h (and a few exceptions) +are to be included directly. + +Index: xchat-2.8.8/src/common/servlist.c +=================================================================== +--- xchat-2.8.8.orig/src/common/servlist.c ++++ xchat-2.8.8/src/common/servlist.c +@@ -24,7 +24,7 @@ + #include <unistd.h> + + #include "xchat.h" +-#include <glib/ghash.h> ++#include <glib.h> + + #include "cfgfiles.h" + #include "fe.h" +Index: xchat-2.8.8/src/common/text.c +=================================================================== +--- xchat-2.8.8.orig/src/common/text.c ++++ xchat-2.8.8/src/common/text.c +@@ -28,7 +28,7 @@ + #include <sys/mman.h> + + #include "xchat.h" +-#include <glib/ghash.h> ++#include <glib.h> + #include "cfgfiles.h" + #include "chanopt.h" + #include "plugin.h" +Index: xchat-2.8.8/src/common/util.c +=================================================================== +--- xchat-2.8.8.orig/src/common/util.c ++++ xchat-2.8.8/src/common/util.c +@@ -39,7 +39,7 @@ + #include <errno.h> + #include "xchat.h" + #include "xchatc.h" +-#include <glib/gmarkup.h> ++#include <glib.h> + #include <ctype.h> + #include "util.h" + #include "../../config.h" +Index: xchat-2.8.8/src/common/xchat.h +=================================================================== +--- xchat-2.8.8.orig/src/common/xchat.h ++++ xchat-2.8.8/src/common/xchat.h +@@ -1,10 +1,6 @@ + #include "../../config.h" + +-#include <glib/gslist.h> +-#include <glib/glist.h> +-#include <glib/gutils.h> +-#include <glib/giochannel.h> +-#include <glib/gstrfuncs.h> ++#include <glib.h> + #include <time.h> /* need time_t */ + + #ifndef XCHAT_H diff --git a/libre/xchat-libre/xchat-2.8.8-libnotify07.patch b/libre/xchat-libre/xchat-2.8.8-libnotify07.patch index 95d429542..2a6dce9a2 100644 --- a/libre/xchat-libre/xchat-2.8.8-libnotify07.patch +++ b/libre/xchat-libre/xchat-2.8.8-libnotify07.patch @@ -22,4 +22,3 @@ diff -up xchat-2.8.8/src/fe-gtk/plugin-tray.c.libnotify07 xchat-2.8.8/src/fe-gtk if (!g_module_symbol (nn_mod, "notify_notification_new", (gpointer)&nn_new)) goto bad; if (!g_module_symbol (nn_mod, "notify_notification_show", (gpointer)&nn_show)) - diff --git a/libre/xchat-libre/xchat-2.8.8-link-against-libnotify.patch b/libre/xchat-libre/xchat-2.8.8-link-against-libnotify.patch index 6dad938ea..31e6c0854 100644 --- a/libre/xchat-libre/xchat-2.8.8-link-against-libnotify.patch +++ b/libre/xchat-libre/xchat-2.8.8-link-against-libnotify.patch @@ -341,4 +341,3 @@ diff -p -U8 xchat-2.8.8/src/fe-gtk/plugin-tray.c.libnotifyso4 xchat-2.8.8/src/fe #endif return 1; } - diff --git a/libre/xchat-libre/xchat.install b/libre/xchat-libre/xchat.install new file mode 100644 index 000000000..eab82d16f --- /dev/null +++ b/libre/xchat-libre/xchat.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} diff --git a/social/seeks/PKGBUILD b/social/seeks/PKGBUILD index cdc4a798d..2ff5b8104 100644 --- a/social/seeks/PKGBUILD +++ b/social/seeks/PKGBUILD @@ -1,9 +1,8 @@ -# Co-maintainer: Gitus < git at shroomrider dot com > -# Co-maintainer: Enjolras < 0enjolras0 at laposte dot net > +# Maintainer: Kete < kete at ninthfloor dot org > pkgname=seeks pkgver=0.4.1 -pkgrel=3 +pkgrel=4 pkgdesc="A social decentralized internet overlay for collaborative searches" arch=('i686' 'x86_64' 'mips64el') url="http://www.seeks-project.info/site/" |