From 737832e1bd70820f477143512b5c89a30a6e81d0 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 9 Oct 2013 03:23:29 -0700 Subject: Wed Oct 9 03:18:48 PDT 2013 --- community/celt0.5.1/PKGBUILD | 29 --- community/chicken/PKGBUILD | 11 +- community/cinnamon-desktop/PKGBUILD | 7 +- .../cinnamon-desktop/cinnamon-desktop.install | 11 ++ community/cinnamon-session/PKGBUILD | 18 +- .../cinnamon-session/lightdm_userswitch.patch | 153 +++++++++++++++ .../cinnamon-session/remove_sessionmigration.patch | 18 ++ community/intellij-idea-libs/PKGBUILD | 8 +- community/libraw/PKGBUILD | 6 +- community/libvirt-glib/PKGBUILD | 13 +- community/mpv/PKGBUILD | 9 +- community/pitivi/ChangeLog | 41 +++++ community/pitivi/PKGBUILD | 36 ++++ community/pitivi/pitivi.install | 13 ++ community/python-basemap/PKGBUILD | 12 +- community/qgo/PKGBUILD | 44 +++-- community/qgo/gcc43.patch | 37 ---- community/qgo/gcc45.patch | 205 --------------------- community/qgo/qgo.install | 14 ++ community/qtractor/PKGBUILD | 6 +- community/rtl-sdr/PKGBUILD | 8 +- community/solfege/PKGBUILD | 6 +- community/spice-gtk3/PKGBUILD | 31 ++-- community/spice/PKGBUILD | 26 --- community/splix/PKGBUILD | 29 +-- community/splix/splix-deviceID.patch | 105 +++++++++++ community/splix/splix.install | 10 +- 27 files changed, 508 insertions(+), 398 deletions(-) delete mode 100644 community/celt0.5.1/PKGBUILD create mode 100644 community/cinnamon-desktop/cinnamon-desktop.install create mode 100644 community/cinnamon-session/lightdm_userswitch.patch create mode 100644 community/cinnamon-session/remove_sessionmigration.patch create mode 100644 community/pitivi/ChangeLog create mode 100644 community/pitivi/PKGBUILD create mode 100644 community/pitivi/pitivi.install delete mode 100644 community/qgo/gcc43.patch delete mode 100644 community/qgo/gcc45.patch create mode 100644 community/qgo/qgo.install delete mode 100644 community/spice/PKGBUILD create mode 100644 community/splix/splix-deviceID.patch (limited to 'community') diff --git a/community/celt0.5.1/PKGBUILD b/community/celt0.5.1/PKGBUILD deleted file mode 100644 index f2a4fa2e5..000000000 --- a/community/celt0.5.1/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Contributor: Lauri Niskanen -# Contributor: Ray Rashif -# Contributor: Jon Nordby - -pkgname=celt0.5.1 -_basename=celt -pkgver=0.5.1.3 -pkgrel=1 -pkgdesc="Low-latency audio communication codec - SPICE version" -arch=(i686 x86_64) -url="http://www.celt-codec.org" -license=('BSD') -depends=('libogg') -provides=('celt=0.5.1') -options=('!libtool') -source=(http://downloads.us.xiph.org/releases/celt/celt-$pkgver.tar.gz) -md5sums=('67e7b5e45db57a6f1f0a6962f5ecb190') - -build() { - cd "$srcdir/celt-$pkgver" - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/celt-$pkgver" - make DESTDIR="$pkgdir" install - install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/BSD" -} diff --git a/community/chicken/PKGBUILD b/community/chicken/PKGBUILD index 33400e6a0..1153bca9e 100644 --- a/community/chicken/PKGBUILD +++ b/community/chicken/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 94266 2013-07-18 13:14:30Z arodseth $ +# $Id: PKGBUILD 98342 2013-10-08 19:42:24Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Vesa Kaihlavirta # Contributor: # Contributor: Alexander Rødseth pkgname=chicken -pkgver=4.8.0.4 +pkgver=4.8.0.5 pkgrel=1 pkgdesc='Compiler for R5RS scheme, featuring handy extensions' arch=('x86_64' 'i686') @@ -13,17 +13,14 @@ url='http://call-cc.org/' license=('BSD') depends=('gcc') source=("http://code.call-cc.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.gz") -sha256sums=('cd6c4b05f76a6ac82ff32e8dbd53f7517a283bda32003c6b3baa0c6b24990fb2') +sha256sums=('5b9192951bc61cc19dd4963cceb93908bff46b6868d7927f19850e8973c430fb') build() { - cd "$pkgname-$pkgver" - - make -j1 PLATFORM=linux PREFIX=/usr + make -C "$pkgname-$pkgver" -j1 PLATFORM=linux PREFIX=/usr } package() { cd "$pkgname-$pkgver" - make -j1 PLATFORM=linux PREFIX=/usr DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/community/cinnamon-desktop/PKGBUILD b/community/cinnamon-desktop/PKGBUILD index d9d585db2..2efe73174 100644 --- a/community/cinnamon-desktop/PKGBUILD +++ b/community/cinnamon-desktop/PKGBUILD @@ -4,14 +4,15 @@ pkgname=cinnamon-desktop pkgver=2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="Library with common API for various Cinnamon modules" arch=(i686 x86_64) license=(GPL LGPL) -depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes) -makedepends=(intltool gobject-introspection itstool gnome-common) +depends=(gtk3 libxkbfile) +makedepends=(intltool gobject-introspection gnome-common) url="https://github.com/linuxmint/cinnamon-desktop" options=(!libtool) +install=cinnamon-desktop.install source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-desktop/archive/${pkgver}.tar.gz") sha256sums=('dd4ef4c14699a0566ae8e7e060a7db8574ef65dcdac80751de350788ea99ff3c') diff --git a/community/cinnamon-desktop/cinnamon-desktop.install b/community/cinnamon-desktop/cinnamon-desktop.install new file mode 100644 index 000000000..7e721e827 --- /dev/null +++ b/community/cinnamon-desktop/cinnamon-desktop.install @@ -0,0 +1,11 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/cinnamon-session/PKGBUILD b/community/cinnamon-session/PKGBUILD index c73cb60eb..944ecce02 100644 --- a/community/cinnamon-session/PKGBUILD +++ b/community/cinnamon-session/PKGBUILD @@ -4,27 +4,37 @@ pkgname=cinnamon-session pkgver=2.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="The Cinnamon Session Handler" arch=(i686 x86_64) license=(GPL LGPL) -depends=(systemd dconf gsettings-desktop-schemas gtk3 - hicolor-icon-theme libgl libsm libxtst upower) -makedepends=(intltool mesa json-glib gtk-doc xtrans gnome-common) +depends=(cinnamon-desktop upower) +makedepends=(intltool mesa json-glib xtrans gnome-common) options=('!emptydirs') install=cinnamon-session.install url="https://github.com/linuxmint/cinnamon-session" source=(${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-session/archive/${pkgver}.tar.gz + lightdm_userswitch.patch + remove_sessionmigration.patch timeout.patch) sha256sums=('d1eba64a5484f086f257ee75799d12afd77373fbdb0ced8d3ae48eadcd02a878' + '20e42cbb5504f67b1da5e1867a220629bc2fe1699cfd52be177a557c4096440b' + 'f3c0bc1a3debfaa686230f19ba371b08dd4645064d90ead0c34f465c7d416736' 'ef421a14814c7858490b3a806568ab4ec8a0dc21d390e94f801771c1261bb24a') prepare() { cd $pkgname-$pkgver + # Add support for lightdm user switching + patch -Np1 -i ../lightdm_userswitch.patch + + # Do not try to execute session-migration script (it's specific to Ubuntu) + patch -Np1 -i ../remove_sessionmigration.patch + # Increase timeout, for slow machines patch -Np1 -i ../timeout.patch } + build() { cd $pkgname-$pkgver ./autogen.sh --prefix=/usr --sysconfdir=/etc \ diff --git a/community/cinnamon-session/lightdm_userswitch.patch b/community/cinnamon-session/lightdm_userswitch.patch new file mode 100644 index 000000000..2fc9fe17b --- /dev/null +++ b/community/cinnamon-session/lightdm_userswitch.patch @@ -0,0 +1,153 @@ +diff --git a/cinnamon-session/csm-manager.c b/cinnamon-session/csm-manager.c +index e3388b1..a8e63c5 100644 +--- a/cinnamon-session/csm-manager.c ++++ b/cinnamon-session/csm-manager.c +@@ -1097,44 +1097,20 @@ cancel_end_session (CsmManager *manager) + start_phase (manager); + } + +- +-static void +-manager_switch_user (GdkDisplay *display, +- CsmManager *manager) +-{ +- GError *error; +- char *command; +- GAppLaunchContext *context; +- GAppInfo *app; +- +- /* We have to do this here and in request_switch_user() because this +- * function can be called at a later time, not just directly after +- * request_switch_user(). */ +- if (_switch_user_is_locked_down (manager)) { +- g_warning ("Unable to switch user: User switching has been locked down"); +- return; +- } +- +- command = g_strdup_printf ("%s %s", +- MDM_FLEXISERVER_COMMAND, +- MDM_FLEXISERVER_ARGS); +- +- error = NULL; +- context = (GAppLaunchContext*) gdk_display_get_app_launch_context (display); +- app = g_app_info_create_from_commandline (command, MDM_FLEXISERVER_COMMAND, 0, &error); +- +- if (app) { +- g_app_info_launch (app, NULL, context, &error); +- g_object_unref (app); +- } +- +- g_free (command); +- g_object_unref (context); +- +- if (error) { +- g_debug ("CsmManager: Unable to start MDM greeter: %s", error->message); +- g_error_free (error); +- } ++static gboolean ++process_is_running (const char * name) ++{ ++ int num_processes; ++ char * command = g_strdup_printf ("pidof %s | wc -l", name); ++ FILE *fp = popen(command, "r"); ++ fscanf(fp, "%d", &num_processes); ++ pclose(fp); ++ if (num_processes > 0) { ++ return TRUE; ++ } ++ else { ++ return FALSE; ++ } + } + + static gboolean +@@ -1157,7 +1133,7 @@ manager_perhaps_lock (CsmManager *manager) + + /* do this sync to ensure it's on the screen when we start suspending */ + error = NULL; +- ret = g_spawn_command_line_sync ("gnome-screensaver-command --lock", NULL, NULL, NULL, &error); ++ ret = g_spawn_command_line_sync ("cinnamon-screensaver-command --lock", NULL, NULL, NULL, &error); + if (!ret) { + g_warning ("Couldn't lock screen: %s", error->message); + g_error_free (error); +@@ -1165,6 +1141,80 @@ manager_perhaps_lock (CsmManager *manager) + } + + static void ++manager_switch_user (GdkDisplay *display, ++ CsmManager *manager) ++{ ++ GError *error; ++ char *command; ++ GAppLaunchContext *context; ++ GAppInfo *app; ++ ++ /* We have to do this here and in request_switch_user() because this ++ * function can be called at a later time, not just directly after ++ * request_switch_user(). */ ++ if (_switch_user_is_locked_down (manager)) { ++ g_warning ("Unable to switch user: User switching has been locked down"); ++ return; ++ } ++ ++ if (process_is_running("mdm")) { ++ command = g_strdup_printf ("%s %s", ++ MDM_FLEXISERVER_COMMAND, ++ MDM_FLEXISERVER_ARGS); ++ ++ error = NULL; ++ context = (GAppLaunchContext*) gdk_display_get_app_launch_context (display); ++ app = g_app_info_create_from_commandline (command, MDM_FLEXISERVER_COMMAND, 0, &error); ++ ++ if (app) { ++ g_app_info_launch (app, NULL, context, &error); ++ g_object_unref (app); ++ } ++ ++ g_free (command); ++ g_object_unref (context); ++ ++ if (error) { ++ g_debug ("CsmManager: Unable to start MDM greeter: %s", error->message); ++ g_error_free (error); ++ } ++ } ++ else if (process_is_running("lightdm")) { ++ const gchar *xdg_seat_path = g_getenv ("XDG_SEAT_PATH"); ++ if (xdg_seat_path != NULL) { ++ GDBusProxyFlags flags = G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START; ++ GDBusProxy *proxy = NULL; ++ error = NULL; ++ ++ proxy = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SYSTEM, ++ flags, ++ NULL, ++ "org.freedesktop.DisplayManager", ++ xdg_seat_path, ++ "org.freedesktop.DisplayManager.Seat", ++ NULL, ++ &error); ++ if (proxy != NULL) { ++ manager_perhaps_lock (manager); ++ g_dbus_proxy_call (proxy, ++ "SwitchToGreeter", ++ g_variant_new ("()"), ++ G_DBUS_CALL_FLAGS_NONE, ++ -1, ++ NULL, ++ NULL, ++ NULL); ++ g_object_unref (proxy); ++ } ++ else { ++ g_debug ("GsmManager: Unable to start LightDM greeter: %s", error->message); ++ g_error_free (error); ++ } ++ } ++ } ++} ++ ++static void + manager_attempt_hibernate (CsmManager *manager) + { + if (csm_system_can_hibernate (manager->priv->system)) { diff --git a/community/cinnamon-session/remove_sessionmigration.patch b/community/cinnamon-session/remove_sessionmigration.patch new file mode 100644 index 000000000..0016080dd --- /dev/null +++ b/community/cinnamon-session/remove_sessionmigration.patch @@ -0,0 +1,18 @@ +--- a/cinnamon-session/csm-session-fill.c ++++ b/cinnamon-session/csm-session-fill.c +@@ -228,15 +228,6 @@ + load_standard_apps (CsmManager *manager, + GKeyFile *keyfile) + { +- GError *error; +- +- g_debug ("fill: *** Executing user migration"); +- error = NULL; +- if(!g_spawn_command_line_sync ("session-migration", NULL, NULL, NULL, &error)) { +- g_warning ("Error while executing session-migration: %s", error->message); +- g_error_free (error); +- } +- + g_debug ("fill: *** Adding required components"); + handle_required_components (keyfile, !csm_manager_get_failsafe (manager), + append_required_components_helper, manager); diff --git a/community/intellij-idea-libs/PKGBUILD b/community/intellij-idea-libs/PKGBUILD index 914ee4950..09b2030b5 100644 --- a/community/intellij-idea-libs/PKGBUILD +++ b/community/intellij-idea-libs/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 97952 2013-10-01 19:32:08Z stativ $ +# $Id: PKGBUILD 98333 2013-10-08 15:40:43Z stativ $ # Maintainer: Lukas Jirkovsky pkgname=intellij-idea-libs -pkgver=12.1.5 -_pkgver=129.1328 +pkgver=12.1.6 +_pkgver=129.1359 pkgrel=1 pkgdesc="Architecture dependent libraries needed by the Intellij Idea IDE" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('Apache') depends=('glibc') options=(!strip) source=(http://download.jetbrains.com/idea/ideaIC-$pkgver.tar.gz) -md5sums=('1eadced44ba3dca58f909f9178833a21') +md5sums=('5731ad2d6113ea7e8aedffc011480cb8') package() { install -d -m755 "$pkgdir/usr/share/intellijidea-ce/bin" diff --git a/community/libraw/PKGBUILD b/community/libraw/PKGBUILD index 6d1023661..d329401c8 100644 --- a/community/libraw/PKGBUILD +++ b/community/libraw/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 96733 2013-09-03 17:15:14Z jlichtblau $ +# $Id: PKGBUILD 98350 2013-10-08 20:37:21Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Ionut Biru # Contributor: Joeny Ang @@ -6,13 +6,13 @@ pkgname=libraw pkgver=0.15.4 -pkgrel=1 +pkgrel=2 pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)" arch=('i686' 'x86_64') url="http://www.libraw.org/" license=('CDDL' 'LGPL' 'custom') depends=('lcms') -options=('!makeflags') +options=('!makeflags' '!libtool') changelog=$pkgname.changelog source=(http://www.libraw.org/data/LibRaw-${pkgver}.tar.gz) sha256sums=('b3fcfee33bc34ae5869a9741880e28a62f029f196cb1d1a007ab156f4a110f79') diff --git a/community/libvirt-glib/PKGBUILD b/community/libvirt-glib/PKGBUILD index d5fc7f3cc..ff5edb19c 100644 --- a/community/libvirt-glib/PKGBUILD +++ b/community/libvirt-glib/PKGBUILD @@ -1,24 +1,25 @@ -# $Id: PKGBUILD 96155 2013-08-20 11:52:08Z spupykin $ +# $Id: PKGBUILD 98284 2013-10-08 01:35:38Z bgyorgy $ # Maintainer: Sergej Pupykin # Maintainer: Stefano Facchini pkgname=libvirt-glib pkgver=0.1.7 -pkgrel=1 +pkgrel=2 pkgdesc="GLib bindings for libvirt" arch=('i686' 'x86_64') url="http://libvirt.org" license=('LGPL2.1') -depends=('libvirt' 'glib2' 'gobject-introspection' 'python2') -makedepends=('intltool') +depends=('libvirt') +makedepends=('intltool' 'gobject-introspection' 'vala') options=('!libtool') source=(ftp://libvirt.org/libvirt/glib/$pkgname-$pkgver.tar.gz) -sha256sums=('274b88584db94bb5d404e5398d6b5ef184afad49a2e4b3f4f6c47ba940bf55bf') sha256sums=('39652c07d95f980ff30b39e0fd072e768fb85d778d65432da24b17dee9d36429') build() { cd "$srcdir/$pkgname-$pkgver" - PYTHON=/usr/bin/python2 ./configure --prefix=/usr + ./configure --prefix=/usr \ + --disable-static \ + --with-python=/usr/bin/python2 make } diff --git a/community/mpv/PKGBUILD b/community/mpv/PKGBUILD index 1b211fb4f..a02999b94 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,15 +1,18 @@ -# $Id: PKGBUILD 98183 2013-10-07 12:06:59Z jgc $ +# $Id: PKGBUILD 98298 2013-10-08 06:09:02Z bpiotrowski $ # Maintainer: Bartłomiej Piotrowski # Contributor: Eivind Uggedal pkgname=mpv pkgver=0.1.7 -pkgrel=2 +pkgrel=3 pkgdesc='Video player based on MPlayer/mplayer2' arch=('i686' 'x86_64') license=('GPL') url='http://mpv.io' -depends=('portaudio' 'ffmpeg' 'lcms2' 'libxinerama' 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva') +depends=( + 'portaudio' 'ffmpeg' 'lcms2' 'libdvdread' 'libcdio-paranoia' 'libxinerama' + 'libquvi' 'mpg123' 'libxv' 'libxkbcommon' 'libva' 'lirc-utils' + ) makedepends=('mesa' 'python-docutils') options=(!emptydirs) source=("https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz") diff --git a/community/pitivi/ChangeLog b/community/pitivi/ChangeLog new file mode 100644 index 000000000..4df7843a8 --- /dev/null +++ b/community/pitivi/ChangeLog @@ -0,0 +1,41 @@ +pitivi (0.13.1-2) + + * Update hicolor icon cache. + * Update mime database. + + -- Abhishek Dasgupta Thu, 23 Jul 2009 11:57:49 +0530 + +pitivi (0.13.1-1) + + * New upstream version. + * Removed: fix-as-problems.diff pitivi.desktop + + -- Abhishek Dasgupta Wed, 24 Jun 2009 16:01:42 +0530 + +pitivi (0.11.3-1) + + * New upstream version. + * fix-as-problems.diff: Fixed the problem caused by "as" in + pitivi/timeline/timeline.py + + -- Abhishek Dasgupta Sat, 13 Dec 2008 16:29:24 +0530 + +pitivi (0.11.2-4) + + * Added gnome-icon-theme as dependency. Closes: FS# 12292. + + -- Abhishek Dasgupta Mon, 01 Dec 2008 23:08:28 +0530 + +pitivi (0.11.2-3) + + * fix-as.diff: Fixed the error + in pitivi/objectfactory.py caused by the line + as = self.audio_info_stream + + -- Abhishek Dasgupta Sun, 09 Nov 2008 00:34:22 +0530 + +pitivi (0.11.2-2) + + * Added dbus-python as dependency. + + -- Abhishek Dasgupta Sun, 26 Oct 2008 14:08:06 +0530 diff --git a/community/pitivi/PKGBUILD b/community/pitivi/PKGBUILD new file mode 100644 index 000000000..0a7c76d9f --- /dev/null +++ b/community/pitivi/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 98281 2013-10-07 22:50:21Z bgyorgy $ +# Maintainer: Sergej Pupykin +# Maintainer: Abhishek Dasgupta +# Contributor: Gabor Nyekhelyi (n0gabor) + +pkgname=pitivi +pkgver=0.91 +pkgrel=3 +pkgdesc="Editor for audio/video projects using the GStreamer framework" +arch=('i686' 'x86_64') +url="http://www.pitivi.org/" +license=('LGPL') +depends=('clutter-gtk' 'gnonlin' 'gst-editing-services' 'gst-plugins-good' 'gst-python' + 'libnotify' 'python2-gobject' 'python2-gobject2' 'python2-numpy' 'python2-xdg' + 'gnome-icon-theme' 'desktop-file-utils') +makedepends=('intltool' 'itstool') +optdepends=('frei0r-plugins: additional video effects, clip transformation feature' + 'gst-libav: additional multimedia codecs' + 'gst-plugins-bad: additional multimedia codecs' + 'gst-plugins-ugly: additional multimedia codecs') +options=('!libtool') +install=$pkgname.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/0.91/$pkgname-$pkgver.tar.xz) +md5sums=('30f520587885d231aeb9a7ddb2585e45') + +build() { + cd "$srcdir/$pkgname-$pkgver" + export PYTHON=python2 + ./configure --prefix=/usr --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/community/pitivi/pitivi.install b/community/pitivi/pitivi.install new file mode 100644 index 000000000..a41a84585 --- /dev/null +++ b/community/pitivi/pitivi.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-mime-database usr/share/mime >/dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/python-basemap/PKGBUILD b/community/python-basemap/PKGBUILD index 54f88aece..37fb61e06 100644 --- a/community/python-basemap/PKGBUILD +++ b/community/python-basemap/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 97800 2013-09-29 19:59:55Z jlichtblau $ +# $Id: PKGBUILD 98348 2013-10-08 20:26:40Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Stéphane Gaudreault # Contributor: Matthias Ellmer @@ -6,14 +6,14 @@ pkgbase=python-basemap pkgname=('python-basemap' 'python2-basemap' 'python-basemap-common') -pkgver=1.0.6 -pkgrel=3 +pkgver=1.0.7 +pkgrel=1 arch=('i686' 'x86_64') url="http://matplotlib.org/basemap/" license=('custom') makedepends=('python2-numpy' 'python-numpy' 'geos' 'shapelib') source=("http://downloads.sourceforge.net/project/matplotlib/matplotlib-toolkits/basemap-${pkgver}/basemap-${pkgver}.tar.gz") -sha1sums=('76191964c580b3af33c169cb050bb171328298f9') +sha1sums=('e1d5750aab4b2d2c3191bba078a6ae3e2bafa068') _py2basever=2.7 _py3basever=3.3 @@ -41,7 +41,7 @@ build() { package_python-basemap() { pkgdesc="Toolkit for plotting data on map projections" depends=('python-basemap-common' 'python-matplotlib' 'geos' 'shapelib' 'python-numpy' 'python-httplib2') - optdepends=('python-imaging: Python Imaging Library is only needed for bluemarble and warpimage methods.') + optdepends=('python-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.') cd "${srcdir}"/basemap-${pkgver} @@ -58,7 +58,7 @@ package_python-basemap() { package_python2-basemap() { pkgdesc="Toolkit for plotting data on map projections" depends=('python-basemap-common' 'python2-matplotlib' 'geos' 'shapelib' 'python2-numpy' 'python2-httplib2') - optdepends=('python2-imaging: Python Imaging Library is only needed for bluemarble and warpimage methods.') + optdepends=('python2-pillow: Python Imaging Library is only needed for bluemarble and warpimage methods.') cd "${srcdir}"/basemap-${pkgver}-python2 diff --git a/community/qgo/PKGBUILD b/community/qgo/PKGBUILD index f650f97e7..f58924985 100644 --- a/community/qgo/PKGBUILD +++ b/community/qgo/PKGBUILD @@ -1,35 +1,41 @@ -# $Id: PKGBUILD 88006 2013-04-09 21:47:09Z eric $ +# $Id: PKGBUILD 98278 2013-10-07 22:46:15Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Douglas Soares de Andrade +# Contributor: Magnus Jonsson pkgname=qgo -pkgver=1.5.4 -pkgrel=5 -pkgdesc="Go client and full featured SGF editor" +pkgver=2.0.0.dda95c9 +pkgrel=1 +pkgdesc='Go client and full featured SGF editor' arch=('x86_64' 'i686') url="http://qgo.sourceforge.net/" license=('GPL') -depends=('qt3' 'libsm') -source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver-r3.tar.gz" - 'gcc43.patch' - 'gcc45.patch') -sha256sums=('ddfb66ada7027b844838895061f266bda03b327e8dfec2ee2782e14748bac104' - 'f6ddd28325523e3d5aabac2284334c73114dd823e00bf282aae2646982206e78' - '7f94acfe58d75b57d55bab5b296a801d48f54c8e12dfc1556cd1586abebd3580') +depends=('qt5-multimedia' 'qt5-tools' 'libsm' 'desktop-file-utils' + 'shared-mime-info') +makedepends=('git') +install='qgo.install' +options=('!emptydirs') +source=("$pkgname::git://github.com/pzorin/$pkgname.git") +md5sums=('SKIP') + +pkgver() { + cd "$pkgname" + + # fragments in the git url doesn't seem to work? + git checkout -q qt5 + + echo -n '2.0.0.' + git describe --always | sed 's|-|.|g' +} build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$pkgname" - patch -Np1 -i "$srcdir/gcc43.patch" - patch -Np1 -i "$srcdir/gcc45.patch" - ./configure --prefix=/usr --with-qt-includes=/usr/include/qt3 - make + qmake && make } package() { - cd "$srcdir/$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install + make -C "$pkgname" INSTALL_ROOT="$pkgdir" install } # vim:set ts=2 sw=2 et: diff --git a/community/qgo/gcc43.patch b/community/qgo/gcc43.patch deleted file mode 100644 index 1af8b8bd9..000000000 --- a/community/qgo/gcc43.patch +++ /dev/null @@ -1,37 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## 05_g++-4.3.dpatch by Pierre Habouzit -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: g++-4.3 patch - -@DPATCH@ ---- qgo-1.5.4-r2~/src/matrix.cpp 2004-10-30 20:49:50.000000000 +0000 -+++ qgo-1.5.4-r2/src/matrix.cpp 2008-03-16 23:04:18.306414183 +0000 -@@ -2,12 +2,14 @@ - * matrix.cpp - */ - -+#include - #include "matrix.h" --#include - #ifndef NO_DEBUG --#include -+#include - #endif - -+using namespace std; -+ - Matrix::Matrix(int s) - : size(s) - { ---- qgo-1.5.4-r2~/src/tree.cpp 2005-05-12 20:58:23.000000000 +0000 -+++ qgo-1.5.4-r2/src/tree.cpp 2008-03-16 23:04:50.660267034 +0000 -@@ -5,7 +5,7 @@ - #include "tree.h" - #include "move.h" - #include "qgo.h" --#include -+#include - #include - - Tree::Tree(int board_size) diff --git a/community/qgo/gcc45.patch b/community/qgo/gcc45.patch deleted file mode 100644 index 6c71f92f6..000000000 --- a/community/qgo/gcc45.patch +++ /dev/null @@ -1,205 +0,0 @@ -#! /bin/sh /usr/share/dpatch/dpatch-run -## Description: fix builiding with gcc4.5 -## Origin/Author: Ubuntu -## Bug: http://bugs.launchpad.net/bugs/756004 -## 06_ftbfs_gcc45.dpatch by Andreas Moog -## -## All lines beginning with `## DP:' are a description of the patch. -## DP: fix build with gcc 4.5 - -@DPATCH@ -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' qgo-1.5.4-r3~/src/gamedialog.cpp qgo-1.5.4-r3/src/gamedialog.cpp ---- qgo-1.5.4-r3~/src/gamedialog.cpp 2011-04-12 20:03:12.000000000 +0200 -+++ qgo-1.5.4-r3/src/gamedialog.cpp 2011-04-12 20:03:15.640382627 +0200 -@@ -512,7 +512,7 @@ - if (handicapSpin->value() != val.toInt()) - { - handicapSpin->setValue(val.toInt()); -- handicapSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); -+ handicapSpin->setPaletteBackgroundColor(QColor("cyan")); - } - else - handicapSpin->unsetPalette(); -@@ -521,7 +521,7 @@ - if (boardSizeSpin->value() != val.toInt()) - { - boardSizeSpin->setValue(val.toInt()); -- boardSizeSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); -+ boardSizeSpin->setPaletteBackgroundColor(QColor("cyan")); - } - else - boardSizeSpin->unsetPalette(); -@@ -530,7 +530,7 @@ - if (timeSpin->value() != val.toInt()/60) - { - timeSpin->setValue(val.toInt()/60); -- timeSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); -+ timeSpin->setPaletteBackgroundColor(QColor("cyan")); - } - else - timeSpin->unsetPalette(); -@@ -539,7 +539,7 @@ - if (byoTimeSpin->value() != val.toInt()/60) - { - byoTimeSpin->setValue(val.toInt()/60); -- byoTimeSpin->setPaletteBackgroundColor(QColor::QColor("cyan")); -+ byoTimeSpin->setPaletteBackgroundColor(QColor("cyan")); - } - else - byoTimeSpin->unsetPalette(); -@@ -550,25 +550,25 @@ - val = element(line,0," "); - if ( !(play_nigiri_button->isChecked()) && (val == "N")) - { -- play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -- play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -- play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -+ play_nigiri_button->setPaletteBackgroundColor(QColor("cyan")); -+ play_white_button->setPaletteBackgroundColor(QColor("cyan")); -+ play_black_button->setPaletteBackgroundColor(QColor("cyan")); - play_nigiri_button->setChecked(true); - - } - else if ( (play_black_button->isChecked()) && (val == "B")) - { -- play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -- play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -- play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -+ play_nigiri_button->setPaletteBackgroundColor(QColor("cyan")); -+ play_white_button->setPaletteBackgroundColor(QColor("cyan")); -+ play_black_button->setPaletteBackgroundColor(QColor("cyan")); - play_white_button->setChecked(true); - - } - else if ( (play_white_button->isChecked()) && (val == "W")) - { -- play_nigiri_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -- play_white_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -- play_black_button->setPaletteBackgroundColor(QColor::QColor("cyan")); -+ play_nigiri_button->setPaletteBackgroundColor(QColor("cyan")); -+ play_white_button->setPaletteBackgroundColor(QColor("cyan")); -+ play_black_button->setPaletteBackgroundColor(QColor("cyan")); - play_black_button->setChecked(true); - - } -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' qgo-1.5.4-r3~/src/mainwin.cpp qgo-1.5.4-r3/src/mainwin.cpp ---- qgo-1.5.4-r3~/src/mainwin.cpp 2011-04-12 20:03:12.000000000 +0200 -+++ qgo-1.5.4-r3/src/mainwin.cpp 2011-04-12 20:03:15.640382627 +0200 -@@ -68,35 +68,35 @@ - { - - -- prefsIcon= QPixmap::QPixmap(qembed_findImage("package_settings"));//QPixmap(ICON_PREFS); -+ prefsIcon= QPixmap(qembed_findImage("package_settings"));//QPixmap(ICON_PREFS); - // infoIcon= QPixmap(ICON_GAMEINFO); -- exitIcon = QPixmap::QPixmap(qembed_findImage("exit"));//QPixmap(ICON_EXIT); -- fileNewboardIcon = QPixmap::QPixmap(qembed_findImage("newboard"));//QPixmap(ICON_FILENEWBOARD); -- fileNewIcon = QPixmap::QPixmap(qembed_findImage("filenew"));//QPixmap(ICON_FILENEW); -- fileOpenIcon = QPixmap::QPixmap(qembed_findImage("fileopen"));//QPixmap(ICON_FILEOPEN); -+ exitIcon = QPixmap(qembed_findImage("exit"));//QPixmap(ICON_EXIT); -+ fileNewboardIcon = QPixmap(qembed_findImage("newboard"));//QPixmap(ICON_FILENEWBOARD); -+ fileNewIcon = QPixmap(qembed_findImage("filenew"));//QPixmap(ICON_FILENEW); -+ fileOpenIcon = QPixmap(qembed_findImage("fileopen"));//QPixmap(ICON_FILEOPEN); - // fileSaveIcon = QPixmap(ICON_FILESAVE); - // fileSaveAsIcon = QPixmap(ICON_FILESAVEAS); - // transformIcon = QPixmap(ICON_TRANSFORM); - // charIcon = QPixmap(ICON_CHARSET); -- manualIcon = QPixmap::QPixmap(qembed_findImage("help"));//QPixmap(ICON_MANUAL); -+ manualIcon = QPixmap(qembed_findImage("help"));//QPixmap(ICON_MANUAL); - // autoplayIcon = QPixmap(ICON_AUTOPLAY); -- connectedIcon = QPixmap::QPixmap(qembed_findImage("connected"));//QPixmap(ICON_CONNECTED); -- disconnectedIcon = QPixmap::QPixmap(qembed_findImage("connect_no"));//QPixmap(ICON_DISCONNECTED); -- OpenIcon = QPixmap::QPixmap(qembed_findImage("open"));//QPixmap(ICON_OPEN); -- LookingIcon = QPixmap::QPixmap(qembed_findImage("looking"));//QPixmap(ICON_LOOKING); -- QuietIcon= QPixmap::QPixmap(qembed_findImage("quiet"));//QPixmap(ICON_QUIET); -- NotOpenIcon = QPixmap::QPixmap(qembed_findImage("not_open"));//QPixmap(ICON_NOT_OPEN); -- NotLookingIcon = QPixmap::QPixmap(qembed_findImage("not_looking"));//QPixmap(ICON_NOT_LOOKING); -- NotQuietIcon= QPixmap::QPixmap(qembed_findImage("not_quiet"));//QPixmap(ICON_NOT_QUIET); -- RefreshPlayersIcon = QPixmap::QPixmap(qembed_findImage("refresh_players"));//QPixmap(ICON_REFRESH_PLAYERS); -- RefreshGamesIcon = QPixmap::QPixmap(qembed_findImage("refresh_games"));//QPixmap(ICON_REFRESH_GAMES); -- ComputerPlayIcon = QPixmap::QPixmap(qembed_findImage("computerplay"));//QPixmap(ICON_COMPUTER_PLAY); -- qgoIcon = QPixmap::QPixmap(qembed_findImage("Bowl"));//QPixmap(ICON_COMPUTER_PLAY); -- NotSeekingIcon = QPixmap::QPixmap(qembed_findImage("not_seeking")); -- seekingIcon[0] = QPixmap::QPixmap(qembed_findImage("seeking1")); -- seekingIcon[1] = QPixmap::QPixmap(qembed_findImage("seeking2")); -- seekingIcon[2] = QPixmap::QPixmap(qembed_findImage("seeking3")); -- seekingIcon[3] = QPixmap::QPixmap(qembed_findImage("seeking4")); -+ connectedIcon = QPixmap(qembed_findImage("connected"));//QPixmap(ICON_CONNECTED); -+ disconnectedIcon = QPixmap(qembed_findImage("connect_no"));//QPixmap(ICON_DISCONNECTED); -+ OpenIcon = QPixmap(qembed_findImage("open"));//QPixmap(ICON_OPEN); -+ LookingIcon = QPixmap(qembed_findImage("looking"));//QPixmap(ICON_LOOKING); -+ QuietIcon= QPixmap(qembed_findImage("quiet"));//QPixmap(ICON_QUIET); -+ NotOpenIcon = QPixmap(qembed_findImage("not_open"));//QPixmap(ICON_NOT_OPEN); -+ NotLookingIcon = QPixmap(qembed_findImage("not_looking"));//QPixmap(ICON_NOT_LOOKING); -+ NotQuietIcon= QPixmap(qembed_findImage("not_quiet"));//QPixmap(ICON_NOT_QUIET); -+ RefreshPlayersIcon = QPixmap(qembed_findImage("refresh_players"));//QPixmap(ICON_REFRESH_PLAYERS); -+ RefreshGamesIcon = QPixmap(qembed_findImage("refresh_games"));//QPixmap(ICON_REFRESH_GAMES); -+ ComputerPlayIcon = QPixmap(qembed_findImage("computerplay"));//QPixmap(ICON_COMPUTER_PLAY); -+ qgoIcon = QPixmap(qembed_findImage("Bowl"));//QPixmap(ICON_COMPUTER_PLAY); -+ NotSeekingIcon = QPixmap(qembed_findImage("not_seeking")); -+ seekingIcon[0] = QPixmap(qembed_findImage("seeking1")); -+ seekingIcon[1] = QPixmap(qembed_findImage("seeking2")); -+ seekingIcon[2] = QPixmap(qembed_findImage("seeking3")); -+ seekingIcon[3] = QPixmap(qembed_findImage("seeking4")); - - // init - -@@ -576,7 +576,7 @@ - if (e->timerId() == seekButtonTimer) - { - imagecounter = (imagecounter+1) % 4; -- toolSeek->setIconSet(QIconSet::QIconSet(seekingIcon[imagecounter])); -+ toolSeek->setIconSet(QIconSet(seekingIcon[imagecounter])); - return; - } - -@@ -2950,17 +2950,17 @@ - //tb->setProperty( "geometry", QRect(0, 0, 20, 20)); - - //added the icons -- refreshPlayers->setIconSet(QIconSet::QIconSet(RefreshPlayersIcon)); -- refreshGames->setIconSet(QIconSet::QIconSet(RefreshGamesIcon)); -- fileNew->setIconSet(QIconSet::QIconSet(fileNewIcon)); -- fileNewBoard->setIconSet(QIconSet::QIconSet(fileNewboardIcon)); -- fileOpen->setIconSet(QIconSet::QIconSet(fileOpenIcon)); -- fileQuit->setIconSet(QIconSet::QIconSet(exitIcon)); -- computerPlay->setIconSet(QIconSet::QIconSet(ComputerPlayIcon)); -- Connect->setIconSet(QIconSet::QIconSet(connectedIcon)); -- Disconnect->setIconSet(QIconSet::QIconSet(disconnectedIcon)); -- helpManual->setIconSet(QIconSet::QIconSet(manualIcon)); -- setPreferences->setIconSet(QIconSet::QIconSet(prefsIcon)); -+ refreshPlayers->setIconSet(QIconSet(RefreshPlayersIcon)); -+ refreshGames->setIconSet(QIconSet(RefreshGamesIcon)); -+ fileNew->setIconSet(QIconSet(fileNewIcon)); -+ fileNewBoard->setIconSet(QIconSet(fileNewboardIcon)); -+ fileOpen->setIconSet(QIconSet(fileOpenIcon)); -+ fileQuit->setIconSet(QIconSet(exitIcon)); -+ computerPlay->setIconSet(QIconSet(ComputerPlayIcon)); -+ Connect->setIconSet(QIconSet(connectedIcon)); -+ Disconnect->setIconSet(QIconSet(disconnectedIcon)); -+ helpManual->setIconSet(QIconSet(manualIcon)); -+ setPreferences->setIconSet(QIconSet(prefsIcon)); - setIcon(qgoIcon); - - UserToolbar->show(); -@@ -3218,7 +3218,7 @@ - toolSeek->setOn(false); - toolSeek->setPopup(seekMenu); - toolSeek->setPopupDelay(1); -- toolSeek->setIconSet(QIconSet::QIconSet(NotSeekingIcon)); -+ toolSeek->setIconSet(QIconSet(NotSeekingIcon)); - killTimer(seekButtonTimer); - seekButtonTimer = 0; - } -diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' qgo-1.5.4-r3~/src/qgtp.cpp qgo-1.5.4-r3/src/qgtp.cpp ---- qgo-1.5.4-r3~/src/qgtp.cpp 2011-04-12 20:03:12.000000000 +0200 -+++ qgo-1.5.4-r3/src/qgtp.cpp 2011-04-12 20:03:22.360029899 +0200 -@@ -277,7 +277,7 @@ - _cpt++; - - qDebug(QString("flush -> %1").arg(s)); -- programProcess->writeToStdin(QString::QString(s)); -+ programProcess->writeToStdin(QString(s)); - - - } diff --git a/community/qgo/qgo.install b/community/qgo/qgo.install new file mode 100644 index 000000000..e3a36c814 --- /dev/null +++ b/community/qgo/qgo.install @@ -0,0 +1,14 @@ +post_upgrade() { + update-desktop-database -q + update-mime-database /usr/share/mime +} + +post_install() { + post_upgrade +} + +post_remove() { + post_upgrade +} + +# vim:set ts=2 sw=2 et: diff --git a/community/qtractor/PKGBUILD b/community/qtractor/PKGBUILD index 17f6a97c6..ccd1df61a 100644 --- a/community/qtractor/PKGBUILD +++ b/community/qtractor/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 94309 2013-07-19 17:36:37Z schiv $ +# $Id: PKGBUILD 98346 2013-10-08 20:19:08Z schiv $ # Maintainer: Ray Rashif # Contributor: Philipp Überbacher pkgname=qtractor -pkgver=0.5.10 +pkgver=0.5.11 pkgrel=1 pkgdesc="Audio/MIDI multitrack sequencer" arch=('i686' 'x86_64') @@ -15,7 +15,7 @@ makedepends=('ladspa' 'dssi') [ "$CARCH" = "i686" ] && optdepends=('dssi-vst: win32 VST support') install=qtractor.install source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('54a9c2b4eb0f65e44bdc27c91849a341') +md5sums=('97a07f55ea61747859b1fd6c284a0806') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/rtl-sdr/PKGBUILD b/community/rtl-sdr/PKGBUILD index 63cefd78f..04c8afa7f 100644 --- a/community/rtl-sdr/PKGBUILD +++ b/community/rtl-sdr/PKGBUILD @@ -1,12 +1,12 @@ -# $Id: PKGBUILD 95461 2013-08-12 16:40:03Z kkeen $ +# $Id: PKGBUILD 98280 2013-10-07 22:50:19Z kkeen $ # Maintainer: Kyle Keen # Contributor: Michael Düll pkgname=rtl-sdr # they are just starting to play with tags # consider using tags for the pkgver in the future -pkgver=20130604 -_pkgtag=v0.5.0 +pkgver=20130913 +_commit=4914b5d4314b752 pkgrel=1 pkgdesc="Driver for Realtek RTL2832U, allowing general purpose software defined radio (SDR)." arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ depends=('libusb>=1.0') makedepends=('git' 'cmake') conflicts=('rtl-sdr-git') install=rtl-sdr.install -source=("git://git.osmocom.org/rtl-sdr.git#tag=$_pkgtag" +source=("git://git.osmocom.org/rtl-sdr.git#commit=$_commit" 'rtlsdr.conf') md5sums=('SKIP' '9c65be40f8916a220e3f55b819897331') diff --git a/community/solfege/PKGBUILD b/community/solfege/PKGBUILD index d26440d70..d917d4ca7 100644 --- a/community/solfege/PKGBUILD +++ b/community/solfege/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 93249 2013-06-29 19:58:40Z schiv $ +# $Id: PKGBUILD 98354 2013-10-08 21:01:12Z schiv $ # Maintainer: Ray Rashif # Contributor: Corrado Primier # Contributor: sickhate # TODO: bring in pyalsa, csound, mma pkgname=solfege -pkgver=3.22.0 +pkgver=3.22.2 pkgrel=1 pkgdesc="Music education and ear training software" arch=('i686' 'x86_64') @@ -21,7 +21,7 @@ optdepends=('timidity++: or any MIDI player & MIDI-WAV converter' 'lilypond: for generating print-outs & score sheets' 'texlive-bin: use LaTeX to replace HTML reports with DVI') source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz") -md5sums=('8a5275d6db3ff181068441d7e32ad7f3') +md5sums=('ee9778d2b960b7afb375c5b3c3878222') build() { cd "$srcdir/$pkgname-$pkgver" diff --git a/community/spice-gtk3/PKGBUILD b/community/spice-gtk3/PKGBUILD index bd7afb102..840b6a390 100644 --- a/community/spice-gtk3/PKGBUILD +++ b/community/spice-gtk3/PKGBUILD @@ -1,33 +1,30 @@ -# $Id: PKGBUILD 97529 2013-09-23 16:16:35Z spupykin $ +# $Id: PKGBUILD 98296 2013-10-08 04:33:16Z bgyorgy $ # Maintainer: Sergej Pupykin -# Maintainer: Stefano Facchini +# Contributor: Stefano Facchini # Contributor: Jonathan Lestrelin -# Derived from the spice-gtk PKGBUILD by # Contributor: Lucio Zara pkgname=spice-gtk3 pkgver=0.21 -pkgrel=1 -pkgdesc="A Gtk client and libraries for SPICE remote desktop servers (gtk3 version)." -arch=('x86_64' 'i686') +pkgrel=2 +pkgdesc="Gtk client and libraries for SPICE remote desktop servers (gtk3 version)" +arch=('i686' 'x86_64') url="http://spice-space.org" -license=('GPL') -makedepends=('intltool' 'vala' 'python2-pyparsing' 'python2-gobject') -depends=('libpulse' 'gtk3' 'spice' 'libusb' 'usbredir') -conflicts=('spice-gtk') +license=('LGPL2.1') +depends=('celt0.5.1' 'gtk3' 'libcacard' 'libpulse' 'usbredir') +makedepends=('gobject-introspection' 'intltool' 'python2-pyparsing' 'qemu' 'spice-protocol' 'usbutils' 'vala') options=('!libtool') source=("http://www.spice-space.org/download/gtk/spice-gtk-$pkgver.tar.bz2") -sha256sums=('b1355823b0ceb2e118c1f9a9a602ccab78e1e2edf2d93f71fa42d3bc85ca75df') sha256sums=('73d418ffa97d6cf5edb1920d46f1d51fc40d14a8d4edfab3be6041e25062c564') -build() { +prepare() { cd "$srcdir/spice-gtk-$pkgver" sed -i 's,/usr/bin/env python,/usr/bin/python2,' spice-common/spice_codegen.py - ./configure --prefix=/usr \ - --with-gtk=3.0 \ - --with-python \ - --enable-vala \ - --enable-smartcard=no +} + +build() { + cd "$srcdir/spice-gtk-$pkgver" + PYTHON=python2 ./configure --prefix=/usr --disable-static --enable-vala --with-gtk=3.0 make } diff --git a/community/spice/PKGBUILD b/community/spice/PKGBUILD deleted file mode 100644 index f409fc994..000000000 --- a/community/spice/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# $Id: PKGBUILD 94713 2013-07-29 10:19:34Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: Patryk Kowalczyk < patryk at kowalczyk dot ws> - -pkgname=spice -pkgver=0.12.4 -pkgrel=1 -pkgdesc="SPICE client and server" -arch=('i686' 'x86_64') -url="http://spice-space.org" -license=('GPL') -makedepends=(python2 python2-pyparsing qemu mesa) -depends=(pixman spice-protocol alsa-utils libxrandr libxinerama libsasl openssl celt0.5.1 libgl glu) -source=(http://spice-space.org/download/releases/$pkgname-$pkgver.tar.bz2) -md5sums=('325b1c42ce24e75de45a75876b73a8bd') - -build() { - cd "$srcdir/$pkgname-$pkgver" - PYTHON=python2 ./configure --prefix=/usr --enable-opengl --enable-client - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install -} diff --git a/community/splix/PKGBUILD b/community/splix/PKGBUILD index 9d4f7f6a9..c809681cd 100644 --- a/community/splix/PKGBUILD +++ b/community/splix/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 65457 2012-02-21 05:54:06Z spupykin $ +# $Id: PKGBUILD 98329 2013-10-08 13:33:57Z heftig $ # Maintainer: Sergej Pupykin # Maintainer: Angel 'angvp' Velasquez # Contributor: Francis Carroll (franciscarroll at gmail dot com) pkgname=splix pkgver=2.0.0 -pkgrel=11 +pkgrel=12 pkgdesc="CUPS drivers for SPL (Samsung Printer Language) printers" arch=('i686' 'x86_64') url="http://splix.ap2c.org/" @@ -13,19 +13,24 @@ license=('GPL') depends=('libcups' 'gcc-libs' 'ghostscript>=9.02') makedepends=('libcups' 'jbigkit' 'krb5') install=splix.install -source=(http://downloads.sourceforge.net/splix/$pkgname-$pkgver.tar.bz2) -md5sums=('f3aa735c22a926818b3d8b26c9964186') +source=(svn://svn.code.sf.net/p/splix/code/splix#revision=315 + splix-deviceID.patch) +md5sums=('SKIP' + '674b6880dcee844e0e7f50baae0dc09f') + +prepare() { + cd splix + patch -Np1 -i ../splix-deviceID.patch +} build() { - cd "$srcdir/$pkgname-$pkgver" - sed -i 's#const PPDFile::Value::Value #const PPDFile::Value #' src/ppdfile.cpp - make PSTORASTER=gstoraster + cd splix + CXXFLAGS+=" -fno-strict-aliasing" + make drv + make all DRV_ONLY=1 } package() { - cd "$srcdir/$pkgname-$pkgver" - install -d "$pkgdir/usr/lib/cups/filter" - install -d "$pkgdir/usr/share/cups/model/samsung" - make DESTDIR="$pkgdir" install - ln -s gstoraster $pkgdir/usr/lib/cups/filter/pstoraster + cd splix + make DESTDIR="$pkgdir" install DRV_ONLY=1 } diff --git a/community/splix/splix-deviceID.patch b/community/splix/splix-deviceID.patch new file mode 100644 index 000000000..74822473d --- /dev/null +++ b/community/splix/splix-deviceID.patch @@ -0,0 +1,105 @@ +diff -up splix/ppd/samsung.drv.in.deviceID splix/ppd/samsung.drv.in +--- splix/ppd/samsung.drv.in.deviceID 2013-08-26 21:45:31.000000000 +0200 ++++ splix/ppd/samsung.drv.in 2013-09-02 13:56:57.002669362 +0200 +@@ -39,6 +39,7 @@ Manufacturer "Samsung" + Resolution k 1 0 0 0 "300dpi/300 DPI" + + ModelName "SCX-4200" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:SCX-4200 Series;CMD:GDI;" + PCFileName "scx4200.ppd" + } { + Resolution k 1 0 0 0 "300dpi/300 DPI" +@@ -83,6 +84,7 @@ Manufacturer "Samsung" + PCFileName "ml1520.ppd" + } { + ModelName "ML-1610" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-1610;CMD:GDI;" + PCFileName "ml1610.ppd" + } { + ModelName "ML-1710" +@@ -121,6 +123,7 @@ Manufacturer "Samsung" + Throughput 22 + { + ModelName "ML-2250" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2250;" + PCFileName "ml2250.ppd" + } { + ModelName "ML-2251" +@@ -166,6 +169,7 @@ Manufacturer "Samsung" + PCFileName "ml1640.ppd" + } { + ModelName "ML-2010" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2010;CMD:GDI;" + PCFileName "ml2010.ppd" + } { + ModelName "ML-2015" +@@ -177,6 +181,7 @@ Manufacturer "Samsung" + #import "srtmode.defs" + + ModelName "ML-2510" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2510 Series;CMD:GDI;" + PCFileName "ml2510.ppd" + } + } +@@ -193,15 +198,18 @@ Manufacturer "Samsung" + + { + ModelName "ML-1660" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-1660 Series;CMD:GDI,FWV,EXT;" + PCFileName "ml1660.ppd" + } { + ModelName "ML-1910" + PCFileName "ml1910.ppd" + } { + ModelName "ML-2525" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2525 Series;CMD:GDI,FWV,EXT;" + PCFileName "ml2525.ppd" + } { + ModelName "ML-2525W" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:ML-2525W Series;CMD:GDI,FWV,EXT;" + PCFileName "ml2525w.ppd" + } + } { +@@ -465,6 +473,7 @@ Manufacturer "Samsung" + Attribute General CMSFile "CLP-310" + + ModelName "CLP-310" ++ Attribute "1284DeviceID" "" "MFG:Samsung;MDL:CLP-310 Series;CMD:SPLC,FWV;" + PCFileName "clp310.ppd" + }{ + Attribute General CMSFile "CLP-315" +diff -up splix/ppd/xerox.drv.in.deviceID splix/ppd/xerox.drv.in +--- splix/ppd/xerox.drv.in.deviceID 2013-08-26 17:22:00.000000000 +0200 ++++ splix/ppd/xerox.drv.in 2013-09-02 13:55:22.634957854 +0200 +@@ -66,6 +66,7 @@ Manufacturer "Xerox" + } { + #import "manualduplex.defs" + ModelName "Phaser 3120" ++ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3120;CMD:GDI;" + PCFileName "ph3120.ppd" + } { + #import "manualduplex.defs" +@@ -74,6 +75,7 @@ Manufacturer "Xerox" + } { + #import "manualduplex.defs" + ModelName "Phaser 3130" ++ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3130;CMD:PCL5E,PCL6;" + PCFileName "ph3130.ppd" + } { + // Multi-tray +@@ -118,6 +120,7 @@ Manufacturer "Xerox" + + { + ModelName "Phaser 3117" ++ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3117;CMD:GDI;" + PCFileName "ph3117.ppd" + } { + Resolution k 1 0 0 0 "1200x600dpi/1200x600 DPI" +@@ -131,6 +134,7 @@ Manufacturer "Xerox" + + { + ModelName "Phaser 3124" ++ Attribute "1284DeviceID" "" "MFG:Xerox;MDL:Phaser 3124;CMD:GDI;" + PCFileName "ph3124.ppd" + } + } diff --git a/community/splix/splix.install b/community/splix/splix.install index ee1eb78a3..d0b9b2798 100644 --- a/community/splix/splix.install +++ b/community/splix/splix.install @@ -3,17 +3,13 @@ post_install() { Installation of the color profile for color printers: ----------------------------------------------------- - Color printers needs color profile files to get better results. These + Color printers need color profile files to get better results. These files are provided by your printer manufacturer and you have to install them -manually. To do that, download the linux official drivers and locate the "cms" -directory. Install this directory to "/usr/share/cups/model/\$MANUFACTURER/cms". +manually. To do that, download the official linux drivers and locate the "cms" +directory. Install the contents to "/usr/share/cups/profiles/\$MANUFACTURER". Samsung color profile files are available at: (Then use MANUFACTURER=samsung) http://splix.ap2c.org/samsung_cms.tar.bz2 EOF } - -post_upgrade() { - post_install -} -- cgit v1.2.3-54-g00ecf