From 7e108c74958ec076a3734822f61f145d0d69547f Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Thu, 20 Mar 2014 04:04:36 +0000 Subject: Thu Mar 20 04:00:11 UTC 2014 --- community/bitcoin/PKGBUILD | 53 +- community/caja-extensions/PKGBUILD | 91 +++- community/caja-extensions/caja-extensions.install | 19 - .../caja-extensions/caja-open-terminal.install | 11 + community/caja-extensions/caja-sendto.install | 11 + community/cinnamon-screensaver/PKGBUILD | 11 +- .../lock_screen_on_suspend.patch | 51 -- community/cinnamon-settings-daemon/PKGBUILD | 9 +- .../cinnamon-settings-daemon/systemd-support.patch | 535 +++++++++++++++++++++ community/dbmail/PKGBUILD | 6 +- community/galculator/PKGBUILD | 38 +- community/gmic/PKGBUILD | 18 +- community/gmic/opencv-buildfix.patch | 9 - community/gnome-commander/PKGBUILD | 10 +- .../gnome-commander/gnome-commander.changelog | 3 + community/mate-system-tools/PKGBUILD | 13 +- community/mtd-utils/PKGBUILD | 22 + community/musescore/PKGBUILD | 15 +- community/musescore/mscore-docs.patch | 21 - community/musescore/mscore-paths.patch | 61 +++ community/nbd/PKGBUILD | 6 +- community/pax-utils/PKGBUILD | 9 +- community/pluma/PKGBUILD | 10 +- community/python2-systemd/PKGBUILD | 8 +- community/radvd/PKGBUILD | 6 +- community/read-edid/PKGBUILD | 28 ++ community/shotwell/PKGBUILD | 12 +- community/vagrant/PKGBUILD | 12 +- 28 files changed, 870 insertions(+), 228 deletions(-) delete mode 100644 community/caja-extensions/caja-extensions.install create mode 100644 community/caja-extensions/caja-open-terminal.install create mode 100644 community/caja-extensions/caja-sendto.install delete mode 100644 community/cinnamon-screensaver/lock_screen_on_suspend.patch create mode 100644 community/cinnamon-settings-daemon/systemd-support.patch create mode 100644 community/mtd-utils/PKGBUILD delete mode 100755 community/musescore/mscore-docs.patch create mode 100755 community/musescore/mscore-paths.patch create mode 100644 community/read-edid/PKGBUILD (limited to 'community') diff --git a/community/bitcoin/PKGBUILD b/community/bitcoin/PKGBUILD index a3d3c0cbe..4edfc1784 100644 --- a/community/bitcoin/PKGBUILD +++ b/community/bitcoin/PKGBUILD @@ -1,40 +1,49 @@ -# $Id: PKGBUILD 105855 2014-02-16 14:27:32Z bpiotrowski $ +# $Id: PKGBUILD 107792 2014-03-19 17:23:43Z tredaelli $ # Maintainer: Timothy Redaelli # Contributor: shahid pkgbase=bitcoin pkgname=('bitcoin-daemon' 'bitcoin-qt') -pkgver=0.8.6 -pkgrel=2 +pkgver=0.9.0 +pkgrel=1 arch=('i686' 'x86_64') url="http://www.bitcoin.org/" -makedepends=('boost' 'automoc4' 'qrencode' 'miniupnpc') +makedepends=('boost' 'automoc4' 'qrencode' 'miniupnpc' 'protobuf') license=('MIT') -source=(http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-$pkgver/bitcoin-$pkgver-linux.tar.gz) -sha256sums=('73495de53d1a30676884961e39ff46c3851ff770eeaa767331d065ff0ce8dd0c') +source=(http://bitcoin.org/bin/$pkgver/bitcoin-$pkgver-linux.tar.gz + https://raw.github.com/bitcoin/bitcoin/v$pkgver/contrib/debian/bitcoin-qt.desktop + https://raw.github.com/bitcoin/bitcoin/v$pkgver/share/pixmaps/bitcoin128.png + https://raw.github.com/bitcoin/bitcoin/v$pkgver/contrib/debian/examples/bitcoin.conf + https://raw.github.com/bitcoin/bitcoin/v$pkgver/contrib/debian/manpages/bitcoind.1 + https://raw.github.com/bitcoin/bitcoin/v$pkgver/contrib/debian/manpages/bitcoin.conf.5) +sha256sums=('0f767c13b2c670939750a26558cbb40a7f89ff5ba7d42ce63da0bcc0b701642d' + 'b65b377c0d9ecae9eea722843bca0add6bdb7e50929a7e1f751b79b6621c6073' + 'ad880c8459ecfdb96abe6a4689af06bdd27906e0edcd39d0915482f2da91e722' + 'e141088b07641e4e58cc750f93bbdda1ca0e8f07262fce66b73524c1ed97480e' + '881dcc53ebe2d2a4f8647eb206fd355c69e4186f225e2dcfce19d276381e613a' + 'f4598dcff7056a699b62a079b76e74d54435db22e05723bab995e22ae71c7f79') -build() { +prepare() { cd "$srcdir/$pkgbase-$pkgver-linux/src" + tar xf $pkgbase-$pkgver.tar.gz +} - # and make qt gui - qmake-qt4 USE_QRCODE=1 +build() { + cd "$srcdir/$pkgbase-$pkgver-linux/src/$pkgbase-$pkgver" + ./configure --prefix=/usr --with-incompatible-bdb --with-gui=qt4 make - - # make bitcoind - make -f makefile.unix -C src CXXFLAGS="$CXXFLAGS" } - package_bitcoin-qt() { pkgdesc="Bitcoin is a peer-to-peer network based digital currency - Qt" - depends=(boost-libs qt4 miniupnpc qrencode) + depends=(boost-libs qt4 miniupnpc qrencode protobuf) install=bitcoin-qt.install - cd "$srcdir/$pkgbase-$pkgver-linux/src" - install -Dm755 bitcoin-qt "$pkgdir"/usr/bin/bitcoin-qt - install -Dm644 contrib/debian/bitcoin-qt.desktop \ + cd "$srcdir/$pkgbase-$pkgver-linux/src/$pkgbase-$pkgver" + install -Dm755 src/qt/bitcoin-qt "$pkgdir"/usr/bin/bitcoin-qt + install -Dm644 "$srcdir"/bitcoin-qt.desktop \ "$pkgdir"/usr/share/applications/bitcoin.desktop - install -Dm644 share/pixmaps/bitcoin128.png \ + install -Dm644 "$srcdir"/bitcoin128.png \ "$pkgdir"/usr/share/pixmaps/bitcoin128.png install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" @@ -44,13 +53,13 @@ package_bitcoin-daemon() { pkgdesc="Bitcoin is a peer-to-peer network based digital currency - daemon" depends=(boost-libs miniupnpc openssl) - cd "$srcdir/$pkgbase-$pkgver-linux/src" + cd "$srcdir/$pkgbase-$pkgver-linux/src/$pkgbase-$pkgver" install -Dm755 src/bitcoind "$pkgdir"/usr/bin/bitcoind - install -Dm644 contrib/debian/examples/bitcoin.conf \ + install -Dm644 "$srcdir"/bitcoin.conf \ "$pkgdir/usr/share/doc/$pkgname/examples/bitcoin.conf" - install -Dm644 contrib/debian/manpages/bitcoind.1 \ + install -Dm644 "$srcdir"/bitcoind.1 \ "$pkgdir"/usr/share/man/man1/bitcoind.1 - install -Dm644 contrib/debian/manpages/bitcoin.conf.5 \ + install -Dm644 "$srcdir"/bitcoin.conf.5 \ "$pkgdir"/usr/share/man/man5/bitcoin.conf.5 install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" } diff --git a/community/caja-extensions/PKGBUILD b/community/caja-extensions/PKGBUILD index 338210041..32c369006 100644 --- a/community/caja-extensions/PKGBUILD +++ b/community/caja-extensions/PKGBUILD @@ -1,34 +1,91 @@ -# $Id: PKGBUILD 106660 2014-03-06 11:40:34Z flexiondotorg $ +# $Id: PKGBUILD 107790 2014-03-19 16:23:03Z flexiondotorg $ # Maintainer : Martin Wimpress -pkgname=caja-extensions +pkgbase=caja-extensions +pkgname=(caja-extensions-common caja-gksu caja-image-converter caja-open-terminal caja-sendto caja-share) pkgver=1.8.0 -pkgrel=1 -pkgdesc="Caja extensions." +pkgrel=3 url="http://mate-desktop.org" arch=('i686' 'x86_64') license=('GPL') -depends=('caja' 'dbus-glib' 'gksu' 'gtk2' 'gupnp' 'imagemagick' 'samba') +depends=('caja' 'dbus-glib' 'gksu' 'gupnp' 'imagemagick' 'samba') makedepends=('mate-common' 'perl-xml-parser') -optdepends=('pidgin: Support for sending to instant messaging networks.' - 'gajim: Support for sending to Jabber.') -conflicts=('mate-file-manager-gksu' 'mate-file-manager-image-converter' 'mate-file-manager-open-terminal' 'mate-file-manager-sendto' 'mate-file-manager-share') -replaces=('mate-file-manager-gksu' 'mate-file-manager-image-converter' 'mate-file-manager-open-terminal' 'mate-file-manager-sendto' 'mate-file-manager-share') -options=('!emptydirs') -groups=('mate-extra') -source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz") +source=("http://pub.mate-desktop.org/releases/1.8/${pkgbase}-${pkgver}.tar.xz") sha1sums=('b4872265988745bfc39531e2eb6ac6d41a01a645') -install=${pkgname}.install build() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd "${srcdir}/${pkgbase}-${pkgver}" PYTHON=/usr/bin/python2 ./configure \ --prefix=/usr \ --with-gtk=2.0 make } -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install +package_caja-extensions-common() { + pkgdesc="Common files for Caja extensions." + depends=() + conflicts=('caja-extensions') + replaces=('caja-extensions') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C po DESTDIR="${pkgdir}" install +} + +package_caja-gksu() { + pkgdesc="A Caja extension for executing files with elevated privileges." + depends=('caja' 'caja-extensions-common' 'gksu') + groups=('mate-extra') + conflicts=('mate-file-manager-gksu') + replaces=('mate-file-manager-gksu') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C gksu DESTDIR="${pkgdir}" install +} + +package_caja-image-converter() { + pkgdesc="A Caja extension for simple image conversions." + depends=('caja' 'caja-extensions-common' 'imagemagick') + groups=('mate-extra') + conflicts=('mate-file-manager-image-converter') + replaces=('mate-file-manager-image-converter') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C image-converter DESTDIR="${pkgdir}" install +} + +package_caja-open-terminal() { + pkgdesc="A Caja extension for opening terminals in arbitrary local paths." + depends=('caja' 'caja-extensions-common') + groups=('mate-extra') + conflicts=('mate-file-manager-open-terminal') + replaces=('mate-file-manager-open-terminal') + install=caja-open-terminal.install + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C open-terminal DESTDIR="${pkgdir}" install +} + +package_caja-sendto() { + pkgdesc="A Caja extension for sending files." + depends=('caja' 'caja-extensions-common' 'dbus-glib' 'gupnp') + groups=('mate-extra') + optdepends=('pidgin: Support for sending to instant messaging networks.' + 'gajim: Support for sending to Jabber.') + conflicts=('mate-file-manager-sendto') + replaces=('mate-file-manager-sendto') + install=caja-sendto.install + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C sendto DESTDIR="${pkgdir}" install +} + +package_caja-share() { + pkgdesc="A Caja extension to quickly share a folder." + depends=('caja' 'caja-extensions-common' 'samba') + groups=('mate-extra') + conflicts=('mate-file-manager-share') + replaces=('mate-file-manager-share') + + cd "${srcdir}/${pkgbase}-${pkgver}" + make -C share DESTDIR="${pkgdir}" install } diff --git a/community/caja-extensions/caja-extensions.install b/community/caja-extensions/caja-extensions.install deleted file mode 100644 index 8fa189f58..000000000 --- a/community/caja-extensions/caja-extensions.install +++ /dev/null @@ -1,19 +0,0 @@ -post_install() { - glib-compile-schemas /usr/share/glib-2.0/schemas/ -} - -pre_upgrade() { - pre_remove -} - -post_upgrade() { - post_install -} - -pre_remove() { - glib-compile-schemas /usr/share/glib-2.0/schemas/ -} - -post_remove() { - : -} diff --git a/community/caja-extensions/caja-open-terminal.install b/community/caja-extensions/caja-open-terminal.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/caja-extensions/caja-open-terminal.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/caja-extensions/caja-sendto.install b/community/caja-extensions/caja-sendto.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/caja-extensions/caja-sendto.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-screensaver/PKGBUILD b/community/cinnamon-screensaver/PKGBUILD index a58fa0bfe..a89b7ce9c 100644 --- a/community/cinnamon-screensaver/PKGBUILD +++ b/community/cinnamon-screensaver/PKGBUILD @@ -5,7 +5,7 @@ pkgname=cinnamon-screensaver pkgver=2.0.3 -pkgrel=3 +pkgrel=4 pkgdesc="Screensaver designed to integrate well with the Cinnamon desktop." arch=('i686' 'x86_64') license=('GPL') @@ -16,13 +16,11 @@ makedepends=('intltool' 'gnome-common') source=($pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-screensaver/archive/$pkgver.tar.gz cinnamon-screensaver.pam away-message-fixes.patch - fix-systemd-lock.patch - lock_screen_on_suspend.patch) + fix-systemd-lock.patch) sha256sums=('00c866e98994afc8939d1d347de631cebaa6ec34ad59646a7ccd223bd757cc7d' 'b6ea9e2eb586d94bcabb617a8f1c2958111df87afdbb51f645882bccdc15cbda' 'f9f3d555b0c325322469be765b488da599fc850f8ff5a74f72fdf69f68e04c96' - '14d3301a03883330bf044a40ea4dce74a829b03174833d21efe66ebeb940dc0c' - '54f281eeb0e97c8c46250e287719051e0a580f6c0de384760aaa3532b42616f1') + '14d3301a03883330bf044a40ea4dce74a829b03174833d21efe66ebeb940dc0c') prepare() { cd $pkgname-$pkgver @@ -32,9 +30,6 @@ prepare() { # Use the session path instead of the session id patch -Np1 -i ../fix-systemd-lock.patch - - # Lock screen on suspend with systemd - patch -Np1 -i ../lock_screen_on_suspend.patch } build() { diff --git a/community/cinnamon-screensaver/lock_screen_on_suspend.patch b/community/cinnamon-screensaver/lock_screen_on_suspend.patch deleted file mode 100644 index a6019a503..000000000 --- a/community/cinnamon-screensaver/lock_screen_on_suspend.patch +++ /dev/null @@ -1,51 +0,0 @@ -From f8f9beb6a3bf81240d36bfec43e5db9b102ea91e Mon Sep 17 00:00:00 2001 -From: Martin Pitt -Date: Wed, 1 May 2013 10:55:49 -0700 -Subject: [PATCH] Lock screen on suspend - -Listen for logind's PrepareForSleep signal, and lock the screen (if configured -to do so). This mirrors what gnome-shell's screensaver does. ---- - src/gs-listener-dbus.c | 28 ++++++++++++++++++++++++++++ - src/gs-listener-dbus.h | 1 + - src/gs-monitor.c | 20 ++++++++++++++++++++ - 3 files changed, 49 insertions(+) - -diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c -index 7f718fa..49586fd 100644 ---- a/src/gs-listener-dbus.c -+++ b/src/gs-listener-dbus.c -@@ -871,6 +872,17 @@ listener_dbus_handle_system_message (DBusConnection *connection, - } - - return DBUS_HANDLER_RESULT_HANDLED; -+ } else if (dbus_message_is_signal (message, SYSTEMD_LOGIND_INTERFACE, "PrepareForSleep")) { -+ gboolean active; -+ if (dbus_message_get_args (message, NULL, -+ DBUS_TYPE_BOOLEAN, &active, -+ DBUS_TYPE_INVALID) && active) { -+ gs_debug ("systemd notified that system is about to sleep"); -+ g_signal_emit (listener, signals [LOCK], 0, ""); -+ } else { -+ gs_debug ("cannot parse PrepareForSleep"); -+ } -+ return DBUS_HANDLER_RESULT_HANDLED; - } else if (dbus_message_is_signal (message, DBUS_INTERFACE_PROPERTIES, "PropertiesChanged")) { - - if (_listener_message_path_is_our_session (listener, message)) { -@@ -1370,6 +1392,12 @@ gs_listener_acquire (GSListener *listener, - ",interface='"DBUS_INTERFACE_PROPERTIES"'" - ",member='PropertiesChanged'", - NULL); -+ dbus_bus_add_match (listener->priv->system_connection, -+ "type='signal'" -+ ",sender='"SYSTEMD_LOGIND_SERVICE"'" -+ ",interface='"SYSTEMD_LOGIND_INTERFACE"'" -+ ",member='PrepareForSleep'", -+ NULL); - - return (res != -1); - } --- -1.8.1.2 - diff --git a/community/cinnamon-settings-daemon/PKGBUILD b/community/cinnamon-settings-daemon/PKGBUILD index 557acc308..4dbfb4e75 100644 --- a/community/cinnamon-settings-daemon/PKGBUILD +++ b/community/cinnamon-settings-daemon/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 106945 2014-03-10 21:09:06Z faidoc $ +# $Id: PKGBUILD 107735 2014-03-19 00:56:51Z bgyorgy $ # Maintainer: Alexandre Filgueira (faidoc) # Contributor: Jan Alexander Steffens (heftig) pkgname=cinnamon-settings-daemon pkgver=2.0.8 -pkgrel=3 +pkgrel=4 pkgdesc="The Cinnamon Settings daemon" arch=('i686' 'x86_64') license=('GPL') @@ -15,10 +15,12 @@ install=cinnamon-settings-daemon.install url="https://github.com/linuxmint/cinnamon-settings-daemon" source=("${pkgname}-${pkgver}.tar.gz::https://github.com/linuxmint/cinnamon-settings-daemon/archive/${pkgver}.tar.gz" keyboard.patch + systemd-support.patch automount-plugin.patch dpms.patch) sha256sums=('6889f021acab93d146c78fe8aa540a83a12260232e1ea5f697037a7c94c877fd' '3c05b978cb414c8fc1530f211bab58627a64ac9c156630c9d486f5926a85109c' + '28c002628bc97e8b4a2aa7e8a8141bcc8388b250a6c3ebc09a640e110ae815a9' '4fc2b3a354b53d41d92d7f95d175a6a18382330353a0579d29c2d33b9400a837' '194cc704320a2d6be636191e96f62514f2b5f97655c200991b5690fbf3006026') @@ -28,6 +30,9 @@ prepare() { # Fix crasher patch -Np1 -i ../keyboard.patch + # Add systemd support for power and media-keys plugins + patch -Np1 -i ../systemd-support.patch + # Turn automount helper into a plugin patch -Np1 -i ../automount-plugin.patch diff --git a/community/cinnamon-settings-daemon/systemd-support.patch b/community/cinnamon-settings-daemon/systemd-support.patch new file mode 100644 index 000000000..3c8b115e8 --- /dev/null +++ b/community/cinnamon-settings-daemon/systemd-support.patch @@ -0,0 +1,535 @@ +diff --git a/plugins/media-keys/csd-media-keys-manager.c b/plugins/media-keys/csd-media-keys-manager.c +index 02930a3..7c1c519 100644 +--- a/plugins/media-keys/csd-media-keys-manager.c ++++ b/plugins/media-keys/csd-media-keys-manager.c +@@ -39,6 +39,7 @@ + #include + #include + #include ++#include + + #ifdef HAVE_GUDEV + #include +@@ -121,6 +122,10 @@ static const gchar kb_introspection_xml[] = + #define VOLUME_STEP 5 /* percents for one volume button press */ + #define MAX_VOLUME 65536.0 + ++#define SYSTEMD_DBUS_NAME "org.freedesktop.login1" ++#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1" ++#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager" ++ + #define CSD_MEDIA_KEYS_MANAGER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), CSD_TYPE_MEDIA_KEYS_MANAGER, CsdMediaKeysManagerPrivate)) + + typedef struct { +@@ -167,6 +172,10 @@ struct CsdMediaKeysManagerPrivate + GDBusProxy *power_screen_proxy; + GDBusProxy *power_keyboard_proxy; + ++ /* systemd stuff */ ++ GDBusProxy *logind_proxy; ++ gint inhibit_keys_fd; ++ + /* Multihead stuff */ + GdkScreen *current_screen; + GSList *screens; +@@ -2213,6 +2222,11 @@ csd_media_keys_manager_stop (CsdMediaKeysManager *manager) + } + #endif /* HAVE_GUDEV */ + ++ if (priv->logind_proxy) { ++ g_object_unref (priv->logind_proxy); ++ priv->logind_proxy = NULL; ++ } ++ + if (priv->settings) { + g_object_unref (priv->settings); + priv->settings = NULL; +@@ -2356,9 +2370,85 @@ csd_media_keys_manager_class_init (CsdMediaKeysManagerClass *klass) + } + + static void ++inhibit_done (GObject *source, ++ GAsyncResult *result, ++ gpointer user_data) ++{ ++ GDBusProxy *proxy = G_DBUS_PROXY (source); ++ CsdMediaKeysManager *manager = CSD_MEDIA_KEYS_MANAGER (user_data); ++ GError *error = NULL; ++ GVariant *res; ++ GUnixFDList *fd_list = NULL; ++ gint idx; ++ ++ res = g_dbus_proxy_call_with_unix_fd_list_finish (proxy, &fd_list, result, &error); ++ if (res == NULL) { ++ g_warning ("Unable to inhibit keypresses: %s", error->message); ++ g_error_free (error); ++ } else { ++ g_variant_get (res, "(h)", &idx); ++ manager->priv->inhibit_keys_fd = g_unix_fd_list_get (fd_list, idx, &error); ++ if (manager->priv->inhibit_keys_fd == -1) { ++ g_warning ("Failed to receive system inhibitor fd: %s", error->message); ++ g_error_free (error); ++ } ++ g_debug ("System inhibitor fd is %d", manager->priv->inhibit_keys_fd); ++ g_object_unref (fd_list); ++ g_variant_unref (res); ++ } ++} ++ ++static void + csd_media_keys_manager_init (CsdMediaKeysManager *manager) + { ++ GError *error; ++ GDBusConnection *bus; ++ ++ error = NULL; + manager->priv = CSD_MEDIA_KEYS_MANAGER_GET_PRIVATE (manager); ++ ++ bus = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, &error); ++ if (bus == NULL) { ++ g_warning ("Failed to connect to system bus: %s", ++ error->message); ++ g_error_free (error); ++ return; ++ } ++ ++ manager->priv->logind_proxy = ++ g_dbus_proxy_new_sync (bus, ++ 0, ++ NULL, ++ SYSTEMD_DBUS_NAME, ++ SYSTEMD_DBUS_PATH, ++ SYSTEMD_DBUS_INTERFACE, ++ NULL, ++ &error); ++ ++ if (manager->priv->logind_proxy == NULL) { ++ g_warning ("Failed to connect to systemd: %s", ++ error->message); ++ g_error_free (error); ++ } ++ ++ g_object_unref (bus); ++ ++ g_debug ("Adding system inhibitors for power keys"); ++ manager->priv->inhibit_keys_fd = -1; ++ g_dbus_proxy_call_with_unix_fd_list (manager->priv->logind_proxy, ++ "Inhibit", ++ g_variant_new ("(ssss)", ++ "handle-power-key:handle-suspend-key:handle-hibernate-key", ++ g_get_user_name (), ++ "Cinnamon handling keypresses", ++ "block"), ++ 0, ++ G_MAXINT, ++ NULL, ++ NULL, ++ inhibit_done, ++ manager); ++ + } + + static void +@@ -2375,6 +2465,8 @@ csd_media_keys_manager_finalize (GObject *object) + + if (media_keys_manager->priv->start_idle_id != 0) + g_source_remove (media_keys_manager->priv->start_idle_id); ++ if (media_keys_manager->priv->inhibit_keys_fd != -1) ++ close (media_keys_manager->priv->inhibit_keys_fd); + + G_OBJECT_CLASS (csd_media_keys_manager_parent_class)->finalize (object); + } +diff --git a/plugins/power/csd-power-manager.c b/plugins/power/csd-power-manager.c +index b54cb5b..b9c5429 100644 +--- a/plugins/power/csd-power-manager.c ++++ b/plugins/power/csd-power-manager.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #include + +@@ -79,6 +80,10 @@ + #define CSD_POWER_MANAGER_CRITICAL_ALERT_TIMEOUT 5 /* seconds */ + #define CSD_POWER_MANAGER_LID_CLOSE_SAFETY_TIMEOUT 30 /* seconds */ + ++#define SYSTEMD_DBUS_NAME "org.freedesktop.login1" ++#define SYSTEMD_DBUS_PATH "/org/freedesktop/login1" ++#define SYSTEMD_DBUS_INTERFACE "org.freedesktop.login1.Manager" ++ + /* Keep this in sync with gnome-shell */ + #define SCREENSAVER_FADE_TIME 10 /* seconds */ + +@@ -203,6 +208,13 @@ struct CsdPowerManagerPrivate + GtkStatusIcon *status_icon; + guint xscreensaver_watchdog_timer_id; + gboolean is_virtual_machine; ++ ++ /* systemd stuff */ ++ GDBusProxy *logind_proxy; ++ gint inhibit_lid_switch_fd; ++ gboolean inhibit_lid_switch_taken; ++ gint inhibit_suspend_fd; ++ gboolean inhibit_suspend_taken; + }; + + enum { +@@ -3350,30 +3362,6 @@ lock_screensaver (CsdPowerManager *manager) + if (!do_lock) + return; + +- /* connect to the screensaver first */ +- g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION, +- G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, +- NULL, +- GS_DBUS_NAME, +- GS_DBUS_PATH, +- GS_DBUS_INTERFACE, +- NULL, +- sleep_cb_screensaver_proxy_ready_cb, +- manager); +-} +- +-static void +-upower_notify_sleep_cb (UpClient *client, +- UpSleepKind sleep_kind, +- CsdPowerManager *manager) +-{ +- gboolean do_lock; +- +- do_lock = g_settings_get_boolean (manager->priv->settings, +- "lock-on-suspend"); +- if (!do_lock) +- return; +- + /* connect to the screensaver first */ + g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION, + G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, +@@ -3384,46 +3372,6 @@ upower_notify_sleep_cb (UpClient *client, + NULL, + sleep_cb_screensaver_proxy_ready_cb, + manager); +- +-} +- +-static void +-upower_notify_resume_cb (UpClient *client, +- UpSleepKind sleep_kind, +- CsdPowerManager *manager) +-{ +- gboolean ret; +- GError *error = NULL; +- +- /* this displays the unlock dialogue so the user doesn't have +- * to move the mouse or press any key before the window comes up */ +- if (manager->priv->screensaver_proxy != NULL) { +- g_dbus_proxy_call (manager->priv->screensaver_proxy, +- "SimulateUserActivity", +- NULL, +- G_DBUS_CALL_FLAGS_NONE, +- -1, NULL, NULL, NULL); +- } +- +- if (manager->priv->screensaver_proxy != NULL) { +- g_object_unref (manager->priv->screensaver_proxy); +- manager->priv->screensaver_proxy = NULL; +- } +- +- /* close existing notifications on resume, the system power +- * state is probably different now */ +- notify_close_if_showing (manager->priv->notification_low); +- notify_close_if_showing (manager->priv->notification_discharging); +- +- /* ensure we turn the panel back on after resume */ +- ret = gnome_rr_screen_set_dpms_mode (manager->priv->x11_screen, +- GNOME_RR_DPMS_ON, +- &error); +- if (!ret) { +- g_warning ("failed to turn the panel on after resume: %s", +- error->message); +- g_error_free (error); +- } + } + + static void +@@ -3582,6 +3530,219 @@ disable_builtin_screensaver (gpointer unused) + return TRUE; + } + ++static void ++inhibit_lid_switch_done (GObject *source, ++ GAsyncResult *result, ++ gpointer user_data) ++{ ++ GDBusProxy *proxy = G_DBUS_PROXY (source); ++ CsdPowerManager *manager = CSD_POWER_MANAGER (user_data); ++ GError *error = NULL; ++ GVariant *res; ++ GUnixFDList *fd_list = NULL; ++ gint idx; ++ ++ res = g_dbus_proxy_call_with_unix_fd_list_finish (proxy, &fd_list, result, &error); ++ if (res == NULL) { ++ g_warning ("Unable to inhibit lid switch: %s", error->message); ++ g_error_free (error); ++ } else { ++ g_variant_get (res, "(h)", &idx); ++ manager->priv->inhibit_lid_switch_fd = g_unix_fd_list_get (fd_list, idx, &error); ++ if (manager->priv->inhibit_lid_switch_fd == -1) { ++ g_warning ("Failed to receive system inhibitor fd: %s", error->message); ++ g_error_free (error); ++ } ++ g_debug ("System inhibitor fd is %d", manager->priv->inhibit_lid_switch_fd); ++ g_object_unref (fd_list); ++ g_variant_unref (res); ++ } ++} ++ ++static void ++inhibit_lid_switch (CsdPowerManager *manager) ++{ ++ GVariant *params; ++ ++ if (manager->priv->inhibit_lid_switch_taken) { ++ g_debug ("already inhibited lid-switch"); ++ return; ++ } ++ g_debug ("Adding lid switch system inhibitor"); ++ manager->priv->inhibit_lid_switch_taken = TRUE; ++ ++ params = g_variant_new ("(ssss)", ++ "handle-lid-switch", ++ g_get_user_name (), ++ "Multiple displays attached", ++ "block"); ++ g_dbus_proxy_call_with_unix_fd_list (manager->priv->logind_proxy, ++ "Inhibit", ++ params, ++ 0, ++ G_MAXINT, ++ NULL, ++ NULL, ++ inhibit_lid_switch_done, ++ manager); ++} ++ ++static void ++inhibit_suspend_done (GObject *source, ++ GAsyncResult *result, ++ gpointer user_data) ++{ ++ GDBusProxy *proxy = G_DBUS_PROXY (source); ++ CsdPowerManager *manager = CSD_POWER_MANAGER (user_data); ++ GError *error = NULL; ++ GVariant *res; ++ GUnixFDList *fd_list = NULL; ++ gint idx; ++ ++ res = g_dbus_proxy_call_with_unix_fd_list_finish (proxy, &fd_list, result, &error); ++ if (res == NULL) { ++ g_warning ("Unable to inhibit suspend: %s", error->message); ++ g_error_free (error); ++ } else { ++ g_variant_get (res, "(h)", &idx); ++ manager->priv->inhibit_suspend_fd = g_unix_fd_list_get (fd_list, idx, &error); ++ if (manager->priv->inhibit_suspend_fd == -1) { ++ g_warning ("Failed to receive system inhibitor fd: %s", error->message); ++ g_error_free (error); ++ } ++ g_debug ("System inhibitor fd is %d", manager->priv->inhibit_suspend_fd); ++ g_object_unref (fd_list); ++ g_variant_unref (res); ++ } ++} ++ ++/* We take a delay inhibitor here, which causes logind to send a ++ * PrepareToSleep signal, which gives us a chance to lock the screen ++ * and do some other preparations. ++ */ ++static void ++inhibit_suspend (CsdPowerManager *manager) ++{ ++ if (manager->priv->inhibit_suspend_taken) { ++ g_debug ("already inhibited lid-switch"); ++ return; ++ } ++ g_debug ("Adding suspend delay inhibitor"); ++ manager->priv->inhibit_suspend_taken = TRUE; ++ g_dbus_proxy_call_with_unix_fd_list (manager->priv->logind_proxy, ++ "Inhibit", ++ g_variant_new ("(ssss)", ++ "sleep", ++ g_get_user_name (), ++ "Cinnamon needs to lock the screen", ++ "delay"), ++ 0, ++ G_MAXINT, ++ NULL, ++ NULL, ++ inhibit_suspend_done, ++ manager); ++} ++ ++static void ++uninhibit_suspend (CsdPowerManager *manager) ++{ ++ if (manager->priv->inhibit_suspend_fd == -1) { ++ g_debug ("no suspend delay inhibitor"); ++ return; ++ } ++ g_debug ("Removing suspend delay inhibitor"); ++ close (manager->priv->inhibit_suspend_fd); ++ manager->priv->inhibit_suspend_fd = -1; ++ manager->priv->inhibit_suspend_taken = FALSE; ++} ++ ++static void ++handle_suspend_actions (CsdPowerManager *manager) ++{ ++ gboolean do_lock; ++ ++ do_lock = g_settings_get_boolean (manager->priv->settings, ++ "lock-on-suspend"); ++ if (do_lock) ++ lock_screensaver (manager); ++ ++ /* lift the delay inhibit, so logind can proceed */ ++ uninhibit_suspend (manager); ++} ++ ++static void ++handle_resume_actions (CsdPowerManager *manager) ++{ ++ gboolean ret; ++ GError *error = NULL; ++ ++ /* this displays the unlock dialogue so the user doesn't have ++ * to move the mouse or press any key before the window comes up */ ++ g_dbus_connection_call (manager->priv->connection, ++ GS_DBUS_NAME, ++ GS_DBUS_PATH, ++ GS_DBUS_INTERFACE, ++ "SimulateUserActivity", ++ NULL, NULL, ++ G_DBUS_CALL_FLAGS_NONE, -1, ++ NULL, NULL, NULL); ++ ++ /* close existing notifications on resume, the system power ++ * state is probably different now */ ++ notify_close_if_showing (manager->priv->notification_low); ++ notify_close_if_showing (manager->priv->notification_discharging); ++ ++ /* ensure we turn the panel back on after resume */ ++ ret = gnome_rr_screen_set_dpms_mode (manager->priv->x11_screen, ++ GNOME_RR_DPMS_ON, ++ &error); ++ if (!ret) { ++ g_warning ("failed to turn the panel on after resume: %s", ++ error->message); ++ g_error_free (error); ++ } ++ ++ /* set up the delay again */ ++ inhibit_suspend (manager); ++} ++ ++static void ++upower_notify_sleep_cb (UpClient *client, ++ UpSleepKind sleep_kind, ++ CsdPowerManager *manager) ++{ ++ handle_suspend_actions (manager); ++} ++ ++static void ++upower_notify_resume_cb (UpClient *client, ++ UpSleepKind sleep_kind, ++ CsdPowerManager *manager) ++{ ++ handle_resume_actions (manager); ++} ++ ++static void ++logind_proxy_signal_cb (GDBusProxy *proxy, ++ const gchar *sender_name, ++ const gchar *signal_name, ++ GVariant *parameters, ++ gpointer user_data) ++{ ++ CsdPowerManager *manager = CSD_POWER_MANAGER (user_data); ++ gboolean is_about_to_suspend; ++ ++ if (g_strcmp0 (signal_name, "PrepareForSleep") != 0) ++ return; ++ g_variant_get (parameters, "(b)", &is_about_to_suspend); ++ if (is_about_to_suspend) { ++ handle_suspend_actions (manager); ++ } else { ++ handle_resume_actions (manager); ++ } ++} ++ + static gboolean + is_hardware_a_virtual_machine (void) + { +@@ -3647,6 +3808,26 @@ csd_power_manager_start (CsdPowerManager *manager, + if (manager->priv->x11_screen == NULL) + return FALSE; + ++ /* Set up the logind proxy */ ++ manager->priv->logind_proxy = ++ g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM, ++ 0, ++ NULL, ++ SYSTEMD_DBUS_NAME, ++ SYSTEMD_DBUS_PATH, ++ SYSTEMD_DBUS_INTERFACE, ++ NULL, ++ error); ++ g_signal_connect (manager->priv->logind_proxy, "g-signal", ++ G_CALLBACK (logind_proxy_signal_cb), ++ manager); ++ ++ /* Set up a delay inhibitor to be informed about suspend attempts */ ++ inhibit_suspend (manager); ++ ++ /* Disable logind's lid handling while g-s-d is active */ ++ inhibit_lid_switch (manager); ++ + /* track the active session */ + manager->priv->session = cinnamon_settings_session_new (); + g_signal_connect (manager->priv->session, "notify::state", +@@ -3856,6 +4037,22 @@ csd_power_manager_stop (CsdPowerManager *manager) + manager->priv->up_client = NULL; + } + ++ if (manager->priv->inhibit_lid_switch_fd != -1) { ++ close (manager->priv->inhibit_lid_switch_fd); ++ manager->priv->inhibit_lid_switch_fd = -1; ++ manager->priv->inhibit_lid_switch_taken = FALSE; ++ } ++ if (manager->priv->inhibit_suspend_fd != -1) { ++ close (manager->priv->inhibit_suspend_fd); ++ manager->priv->inhibit_suspend_fd = -1; ++ manager->priv->inhibit_suspend_taken = FALSE; ++ } ++ ++ if (manager->priv->logind_proxy != NULL) { ++ g_object_unref (manager->priv->logind_proxy); ++ manager->priv->logind_proxy = NULL; ++ } ++ + if (manager->priv->x11_screen != NULL) { + g_object_unref (manager->priv->x11_screen); + manager->priv->x11_screen = NULL; +@@ -3928,6 +4125,8 @@ static void + csd_power_manager_init (CsdPowerManager *manager) + { + manager->priv = CSD_POWER_MANAGER_GET_PRIVATE (manager); ++ manager->priv->inhibit_lid_switch_fd = -1; ++ manager->priv->inhibit_suspend_fd = -1; + } + + static void diff --git a/community/dbmail/PKGBUILD b/community/dbmail/PKGBUILD index 25989d34b..a5b65c902 100644 --- a/community/dbmail/PKGBUILD +++ b/community/dbmail/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 106511 2014-03-05 09:58:14Z spupykin $ +# $Id: PKGBUILD 107773 2014-03-19 12:02:14Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Sebastian Faltoni pkgname=dbmail -pkgver=3.1.12 +pkgver=3.1.13 pkgrel=1 pkgdesc="Fast and scalable sql based mail services" arch=('i686' 'x86_64') @@ -27,7 +27,7 @@ source=("http://www.dbmail.org/download/3.1/dbmail-${pkgver}.tar.gz" "dbmail-pop3d.xinetd" "dbmail-timsieved.xinetd" "dbmail-7-systemd.diff") -md5sums=('a17f22e113e26dda8fc1461690054163' +md5sums=('528f718a9c3909fbd5c0d77f9dfcb68b' '890de13361afbdf4fed12d6d7eb53e66' '961593658cd596297d03d25eb9c9e98f' '4cb764894abd3914802e90602bf90a0c' diff --git a/community/galculator/PKGBUILD b/community/galculator/PKGBUILD index ede9b5151..20ed8b014 100644 --- a/community/galculator/PKGBUILD +++ b/community/galculator/PKGBUILD @@ -1,5 +1,6 @@ -# $Id: PKGBUILD 107224 2014-03-14 16:49:24Z bgyorgy $ -# Maintainer: Balló György +# $Id: PKGBUILD 107795 2014-03-19 18:01:16Z flexiondotorg $ +# Maintainer : Martin Wimpress +# Contributor: Balló György # Contributor: Bartłomiej Piotrowski # Contributor: SpepS # Contributor: Alexander Fehr @@ -7,45 +8,50 @@ pkgbase=galculator pkgname=(galculator galculator-gtk2) pkgver=2.1.3 -pkgrel=1 +pkgrel=2 pkgdesc='GTK+ based scientific calculator' arch=('i686' 'x86_64') url='http://galculator.sourceforge.net/' license=('GPL') -depends=('gtk3' 'gtk2') +depends=('gtk2' 'gtk3') makedepends=('intltool') -install=$pkgname.install -source=(http://downloads.sourceforge.net/galculator/galculator-$pkgver.tar.bz2) +install=${pkgname}.install +source=("http://downloads.sourceforge.net/${pkgbase}/${pkgbase}-${pkgver}.tar.bz2") sha256sums=('91ac62d6d74da910cb79c68f7bf3f4505ac0efe51091150c4ea54fe1c1306235') build() { # GTK3 version - cd $pkgname-$pkgver - [ -e gtk3 ] || mkdir gtk3 + cd "${srcdir}/${pkgbase}-${pkgver}" + [ -d gtk3 ] || mkdir gtk3 cd gtk3 - ../configure --prefix=/usr + ../configure \ + --prefix=/usr make # GTK2 version - cd $srcdir/$pkgname-$pkgver - [ -e gtk2 ] || mkdir gtk2 + cd "${srcdir}/${pkgbase}-${pkgver}" + [ -d gtk2 ] || mkdir gtk2 cd gtk2 - ../configure --prefix=/usr --disable-gtk3 + ../configure \ + --prefix=/usr \ + --disable-gtk3 make } package_galculator() { depends=('gtk3') - - cd $pkgbase-$pkgver/gtk3 + + cd "${pkgbase}-${pkgver}/gtk3" make DESTDIR="$pkgdir" install } package_galculator-gtk2() { pkgdesc+=' (GTK2 version)' depends=('gtk2') - conflicts=('galculator') + groups=('mate-extra') + replaces=('mate-calc') + conflicts=('galculator' 'mate-calc') - cd $pkgbase-$pkgver/gtk2 + cd "${pkgbase}-${pkgver}/gtk2" make DESTDIR="$pkgdir" install } diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD index ccc81c138..8d2981a69 100644 --- a/community/gmic/PKGBUILD +++ b/community/gmic/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 105557 2014-02-10 11:18:20Z spupykin $ +# $Id: PKGBUILD 107782 2014-03-19 15:31:11Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Jan "heftig" Steffens # Contributor: farid @@ -6,27 +6,25 @@ pkgbase=gmic pkgname=("gmic" "gimp-plugin-gmic" "zart") -pkgver=1.5.8.3 +pkgver=1.5.8.4 pkgrel=1 arch=("i686" "x86_64") url="http://gmic.sourceforge.net" license=("custom:CeCILL") makedepends=('gimp' 'qt4' 'fftw' 'openexr' 'opencv' 'mesa' 'gtk2') -#options=('!emptydirs') -source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz" - "opencv-buildfix.patch") -md5sums=('ee80a2dc1a2441a6c0adf92e9bea623b' - '120319b0d6c81c5af186abe2281b79ca') +source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_${pkgver}.tar.gz") +md5sums=('103ffe6606981c5d0bedaffd0f466bc2') prepare() { cd "${srcdir}/gmic-${pkgver}" - patch -p1 -i "${srcdir}/opencv-buildfix.patch" - sed -i 's|qmake zart.pro|qmake-qt4 zart.pro|g' src/Makefile - sed -i 's|/usr/bin/qmake|/usr/bin/qmake-qt4|g' zart/Makefile + sed -i -e 's|qmake zart.pro|qmake-qt4 zart.pro|g' \ + -e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' \ + src/Makefile } build() { cd "${srcdir}/gmic-${pkgver}" + (cd zart && qmake-qt4 -o Makefile zart.pro) make -C src all make -C zart all } diff --git a/community/gmic/opencv-buildfix.patch b/community/gmic/opencv-buildfix.patch index ae6f71487..c45ab09f2 100644 --- a/community/gmic/opencv-buildfix.patch +++ b/community/gmic/opencv-buildfix.patch @@ -1,15 +1,6 @@ diff -wbBur gmic-1.5.1.7/src/Makefile gmic-1.5.1.7.q/src/Makefile --- gmic-1.5.1.7/src/Makefile 2012-07-26 12:59:34.000000000 +0400 +++ gmic-1.5.1.7.q/src/Makefile 2012-08-03 14:03:10.000000000 +0400 -@@ -296,7 +296,7 @@ - - zart: lib - ifneq ($(OS),Darwin) -- cd ../zart && qmake-qt4 zart.pro && $(MAKE) && strip zart -+ cd ../zart && qmake zart.pro && $(MAKE) && strip zart - else - cd ../zart && qmake zart.pro && $(MAKE) "CFLAGS=$(STD_MACOSX_CFLAGS) $(OPT_CFLAGS)" "LDFLAGS=$(STD_MACOSX_LDFLAGS) $(OPT_LDFLAGS)" - endif @@ -403,6 +403,7 @@ mkdir -p $(DESTDIR)$(USR)/share/man/fr/man1/ cp -f ../man/gmic.1.gz $(DESTDIR)$(USR)/share/man/man1/gmic.1.gz diff --git a/community/gnome-commander/PKGBUILD b/community/gnome-commander/PKGBUILD index 677dc72c7..093022680 100644 --- a/community/gnome-commander/PKGBUILD +++ b/community/gnome-commander/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 104056 2014-01-14 22:32:49Z jlichtblau $ +# $Id: PKGBUILD 107765 2014-03-19 10:09:28Z jlichtblau $ # Maintainer: Jaroslav Lichtblau # Contributor: Alexander Rødseth # Contributor: Ionut Biru @@ -6,18 +6,18 @@ # Contributor: Johannes Sjolund pkgname=gnome-commander -pkgver=1.2.8.17 +pkgver=1.4.0 pkgrel=1 pkgdesc='Graphical two-pane filemanager for Gnome' arch=('i686' 'x86_64') url='http://gcmd.github.io/' license=('GPL') -depends=('libgnomeui' 'gnome-vfs' 'gconf' 'python2' 'libsm') +depends=('libgnomeui' 'gnome-vfs' 'gconf' 'python2' 'libsm' 'libunique') makedepends=('perl-xml-parser' 'gnome-doc-utils' 'intltool') install=$pkgname.install changelog=$pkgname.changelog -source=(ftp://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/$pkgname-$pkgver.tar.xz) -sha256sums=('135033ad2073c9d6fee51a52f1e7a56358b8e3a6fa46d64188dc3feebfe00606') +source=(ftp://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.4/$pkgname-$pkgver.tar.xz) +sha256sums=('ffd1062dd61ca993271e6d013dccf179fd8291f3507907c873facdf893ef6fc1') build() { cd "$pkgname-$pkgver" diff --git a/community/gnome-commander/gnome-commander.changelog b/community/gnome-commander/gnome-commander.changelog index a562c5ae7..2ca4303b5 100644 --- a/community/gnome-commander/gnome-commander.changelog +++ b/community/gnome-commander/gnome-commander.changelog @@ -1,2 +1,5 @@ +2014-03-19 Jaroslav Lichtblau (Dragonlord) + * gnome-commander 1.4.0-1 + 2014-01-14 Jaroslav Lichtblau (Dragonlord) * gnome-commander 1.2.8.17-1 diff --git a/community/mate-system-tools/PKGBUILD b/community/mate-system-tools/PKGBUILD index d581047b4..0ec43de02 100644 --- a/community/mate-system-tools/PKGBUILD +++ b/community/mate-system-tools/PKGBUILD @@ -2,15 +2,14 @@ pkgname=mate-system-tools pkgver=1.8.0 -pkgrel=1 +pkgrel=2 pkgdesc="Suite of tools for MATE to simplify configuring workstations." url="http://mate-desktop.org/" arch=('i686' 'x86_64') license=('GPL') -depends=('dconf' 'liboobs' 'mate-polkit' 'system-tools-backends' 'wireless_tools') +depends=('dconf' 'liboobs' 'mate-polkit' 'system-tools-backends') makedepends=('caja' 'mate-common' 'perl-xml-parser' 'yelp-tools') -optdepends=('ntp: Automatic time synchronisation.' - 'caja: provides Caja Shares extension' +optdepends=('caja: provides Caja Shares extension' 'yelp: for reading MATE help documents') source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz") sha1sums=('11a8d72cf265834867352ad67a2d32485dbc98e0') @@ -20,12 +19,14 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure \ --prefix=/usr \ - --sysconfdir=/etc + --sysconfdir=/etc \ + --disable-network \ + --disable-services \ + --disable-time make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - rm -f "${pkgdir}/usr/lib/caja/extensions-2.0/libcaja-gst-shares.a" } diff --git a/community/mtd-utils/PKGBUILD b/community/mtd-utils/PKGBUILD new file mode 100644 index 000000000..5e98e0d9c --- /dev/null +++ b/community/mtd-utils/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 107779 2014-03-19 14:32:31Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski +# Contributor: Phil Pirozhkov + +pkgname=mtd-utils +pkgver=1.5.0 +pkgrel=3 +pkgdesc='Utilities for dealing with MTD devices' +arch=('i686' 'x86_64') +url='http://www.linux-mtd.infradead.org/' +license=('GPL2') +depends=('lzo2' 'util-linux') +source=(ftp://ftp.infradead.org/pub/mtd-utils/$pkgname-$pkgver.tar.bz2) +md5sums=('7332f1143be4ba8ee2de3096cbd3b03b') + +build() { + make -C $pkgname-$pkgver +} + +package() { + make -C $pkgname-$pkgver DESTDIR="$pkgdir" install +} diff --git a/community/musescore/PKGBUILD b/community/musescore/PKGBUILD index f2e8fe475..7f72a13f5 100755 --- a/community/musescore/PKGBUILD +++ b/community/musescore/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 97939 2013-10-01 16:51:03Z alucryd $ +# $Id: PKGBUILD 107771 2014-03-19 11:44:37Z alucryd $ # Maintainer: Maxime Gauduin # Contributor: Stefan Husmann # Contributor: Cristian Maureira @@ -7,24 +7,21 @@ pkgbase=musescore pkgname=('musescore' 'musescore-docs') pkgver=1.3 -pkgrel=5 +pkgrel=6 pkgdesc="Create, play and print beautiful sheet music" arch=('i686' 'x86_64') url="http://musescore.org/" license=('GPL') makedepends=('cmake' 'doxygen' 'portaudio' 'qtscriptgenerator' 'texlive-core') source=("http://downloads.sourceforge.net/mscore/mscore-${pkgver}.tar.bz2" - 'mscore-docs.patch') + 'mscore-paths.patch') sha256sums=('a0b60cc892ac0266c58fc6392be72c0a21c3aa7fd0b6e4f1dddad1c8b36be683' - 'ea4c25e8998c1666103d48fb3bcb5a8d7c9601e971195ef23c2f535c1191585d') + '00984b9a2bb020b4f907cee7e6f95a8f2f0318613acfe79ad6ad9732e85b5150') prepare() { cd mscore-${pkgver}/mscore - patch -Np1 -i ../../mscore-docs.patch - sed 's/COMMAND lupdate/COMMAND lupdate-qt4/g - s/COMMAND lrelease/COMMAND lrelease-qt4/g - s/set(BUILD_SCRIPTGEN TRUE)/set(BUILD_SCRIPTGEN FALSE)/' -i CMakeLists.txt + patch -Np2 -i ../../mscore-paths.patch } build() { @@ -35,7 +32,7 @@ build() { fi mkdir build && cd build - cmake .. -DCMAKE_INSTALL_PREFIX='/usr' + cmake .. -DCMAKE_INSTALL_PREFIX='/usr' -DBUILD_SCRIPTGEN='FALSE' make lupdate make lrelease make diff --git a/community/musescore/mscore-docs.patch b/community/musescore/mscore-docs.patch deleted file mode 100755 index 544dffd86..000000000 --- a/community/musescore/mscore-docs.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/mscore/mscore.cpp -+++ b/mscore/mscore.cpp -@@ -919,15 +919,15 @@ - if (debugMode) - printf("open handbook for language <%s>\n", qPrintable(lang)); - -- QFileInfo mscoreHelp(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf")); -+ QFileInfo mscoreHelp(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf")); - if (!mscoreHelp.isReadable()) { - if (debugMode) { - printf("cannot open doc <%s>\n", qPrintable(mscoreHelp.filePath())); - } - lang = lang.left(2); -- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf")); -+ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf")); - if(!mscoreHelp.isReadable()){ -- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-en.pdf")); -+ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-en.pdf")); - if (!mscoreHelp.isReadable()) { - QString info(tr("MuseScore handbook not found at: \n")); - info += mscoreHelp.filePath(); diff --git a/community/musescore/mscore-paths.patch b/community/musescore/mscore-paths.patch new file mode 100755 index 000000000..b14081126 --- /dev/null +++ b/community/musescore/mscore-paths.patch @@ -0,0 +1,61 @@ +--- a/mscore/CMakeLists.txt ++++ b/mscore/CMakeLists.txt +@@ -32,7 +32,7 @@ set(GCC_VISIBILITY TRUE) + set(HAS_AUDIOFILE TRUE) # requires libsndfile + set(OSC TRUE) # osc remote control + +-set(BUILD_SCRIPTGEN TRUE) #Generate Qt script bindings. (collides with qtscriptgenerator project on several distrib) ++set(BUILD_SCRIPTGEN FALSE) #Generate Qt script bindings. (collides with qtscriptgenerator project on several distrib) + set(STATIC_SCRIPT_BINDINGS FALSE) + set(USE_SSE FALSE) + +@@ -421,14 +421,14 @@ include (CPack) + + add_custom_target(lupdate + COMMAND ${PROJECT_SOURCE_DIR}/gen-qt-projectfile ${PROJECT_SOURCE_DIR} > mscore.pro +- COMMAND lupdate -noobsolete ${PROJECT_BINARY_DIR}/mscore.pro ++ COMMAND lupdate-qt4 -noobsolete ${PROJECT_BINARY_DIR}/mscore.pro + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) + + add_custom_target(lrelease + COMMAND ${PROJECT_SOURCE_DIR}/gen-qt-projectfile ${PROJECT_SOURCE_DIR} > mscore.pro +- COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/locale/*.ts +- COMMAND lrelease ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts ++ COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/locale/*.ts ++ COMMAND lrelease-qt4 ${PROJECT_SOURCE_DIR}/share/plugins/musescore.com/translations/*.ts + WORKING_DIRECTORY ${PROJECT_BINARY_DIR} + ) + +--- a/mscore/mscore/genft.cpp ++++ b/mscore/mscore/genft.cpp +@@ -27,7 +27,7 @@ + + #include + #include FT_FREETYPE_H +-#include ++#include + #include "al/xml.h" + + QMap codemap; +--- a/mscore/mscore/mscore.cpp ++++ b/mscore/mscore/mscore.cpp +@@ -919,15 +919,15 @@ + if (debugMode) + printf("open handbook for language <%s>\n", qPrintable(lang)); + +- QFileInfo mscoreHelp(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf")); ++ QFileInfo mscoreHelp(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf")); + if (!mscoreHelp.isReadable()) { + if (debugMode) { + printf("cannot open doc <%s>\n", qPrintable(mscoreHelp.filePath())); + } + lang = lang.left(2); +- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-") + lang + QString(".pdf")); ++ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-") + lang + QString(".pdf")); + if(!mscoreHelp.isReadable()){ +- mscoreHelp.setFile(mscoreGlobalShare + QString("man/MuseScore-en.pdf")); ++ mscoreHelp.setFile(("/usr/share/doc/musescore/MuseScore-en.pdf")); + if (!mscoreHelp.isReadable()) { + QString info(tr("MuseScore handbook not found at: \n")); + info += mscoreHelp.filePath(); diff --git a/community/nbd/PKGBUILD b/community/nbd/PKGBUILD index be216947b..7d35e5316 100644 --- a/community/nbd/PKGBUILD +++ b/community/nbd/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 104524 2014-01-22 10:03:16Z svenstaro $ +# $Id: PKGBUILD 107808 2014-03-19 20:59:30Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Christian Hesse # Contributor: Ionut Biru # Contributor: Gerhard Brauer pkgname=nbd -pkgver=3.7 +pkgver=3.8 pkgrel=1 pkgdesc="tools for network block devices, allowing you to use remote block devices over TCP/IP" arch=('i686' 'x86_64') @@ -16,7 +16,7 @@ source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.xz backup=('etc/nbd-server/config') depends=('glib2') install=nbd.install -md5sums=('09a17fd19596b6908bff8b7db74141fc' +md5sums=('e9bcdb3e18af815573880ccbaee02646' '2d05d426b8c2708d5f8a0d028fcbae05' '5d1acc143018117174f79eff15afa038') diff --git a/community/pax-utils/PKGBUILD b/community/pax-utils/PKGBUILD index 6298b812a..d30618b7a 100644 --- a/community/pax-utils/PKGBUILD +++ b/community/pax-utils/PKGBUILD @@ -1,17 +1,16 @@ -# $Id: PKGBUILD 88483 2013-04-18 13:24:39Z tredaelli $ +# $Id: PKGBUILD 107777 2014-03-19 12:12:22Z tredaelli $ # Maintainer: Timothy Redaelli # Contributor: sh0 # Contributor: Maxwel pkgname=pax-utils pkgver=0.7 -pkgrel=1 +pkgrel=2 pkgdesc='ELF related utils for ELF 32/64 binaries that can check files for security relevant properties' url='http://hardened.gentoo.org/pax-utils.xml' arch=('i686' 'x86_64') license=('GPL') -depends=('bash' 'libcap') -checkdepends=('python') +depends=('bash' 'libcap' 'python-pyelftools') source=("http://distfiles.gentoo.org/distfiles/${pkgname}-${pkgver}.tar.xz") sha256sums=('1ac4cee9a9ca97a723505eb29a25e50adeccffba3f0f0ef4f035cf082caf3b84') @@ -27,5 +26,5 @@ check() { package() { cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + make USE_PYTHON='yes' DESTDIR="${pkgdir}" install } diff --git a/community/pluma/PKGBUILD b/community/pluma/PKGBUILD index 82e1c9c18..f9594715d 100644 --- a/community/pluma/PKGBUILD +++ b/community/pluma/PKGBUILD @@ -1,22 +1,20 @@ -# $Id: PKGBUILD 106671 2014-03-06 11:42:20Z flexiondotorg $ +# $Id: PKGBUILD 107797 2014-03-19 18:14:08Z flexiondotorg $ # Maintainer : Martin Wimpress pkgname=pluma pkgver=1.8.0 -pkgrel=1 +pkgrel=3 pkgdesc="A powerful text editor for MATE" url="http://mate-desktop.org" arch=('i686' 'x86_64') license=('GPL') -depends=('caja' 'desktop-file-utils' 'enchant' 'gtk2' 'gtksourceview2' - 'iso-codes' 'libsm' 'mate-desktop' 'python2' 'python2-gobject2' - 'pygtksourceview2') +depends=('desktop-file-utils' 'enchant' 'gtk2' 'iso-codes' 'libsm' + 'mate-desktop' 'mate-dialogs' 'pygtksourceview2' 'python2-gobject2') makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools') optdepends=('yelp: for reading MATE help documents') replaces=('mate-text-editor') provides=('mate-text-editor') conflicts=('mate-text-editor') -options=('!emptydirs') groups=('mate-extra') source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz") sha1sums=('858e3edaee698b3f99189d3285061ab56b21828c') diff --git a/community/python2-systemd/PKGBUILD b/community/python2-systemd/PKGBUILD index 8b420df5e..72fa0f450 100644 --- a/community/python2-systemd/PKGBUILD +++ b/community/python2-systemd/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 106496 2014-03-05 02:09:28Z dwallace $ +# $Id: PKGBUILD 107756 2014-03-19 05:20:19Z dwallace $ # Maintainer: Daniel Wallace =$pkgver" 'python2-lxml') makedepends=('intltool' 'gperf') source=("http://www.freedesktop.org/software/$_pkgname/$_pkgname-$pkgver.tar.xz") -md5sums=('03efddf8c9eca36d4d590f9967e7e818') +md5sums=('0a70c382b6089526f98073b4ee85ef75') build() { diff --git a/community/radvd/PKGBUILD b/community/radvd/PKGBUILD index ec5ac658b..8db014feb 100644 --- a/community/radvd/PKGBUILD +++ b/community/radvd/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 106348 2014-02-28 21:36:16Z seblu $ +# $Id: PKGBUILD 107802 2014-03-19 19:39:48Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: Kaiting Chen # Contributor: Mark Smith pkgname=radvd -pkgver=1.9.9 +pkgver=1.10.0 pkgrel=1 pkgdesc='IPv6 Router Advertisement Daemon' url='http://www.litech.org/radvd/' @@ -14,7 +14,7 @@ arch=('i686' 'x86_64') backup=('etc/radvd.conf') source=("http://www.litech.org/radvd/dist/$pkgname-$pkgver.tar.xz"{,.asc} "$pkgname.service") -sha1sums=('373f7b1b6b2c6efbf8dc253f90b466703526d9b4' +sha1sums=('b691a2c36863405191010e6275740e5c1a48705d' 'SKIP' '2fdba3b0ed28c67dc1c04bfd1439fa4dece88bbc') build() { diff --git a/community/read-edid/PKGBUILD b/community/read-edid/PKGBUILD new file mode 100644 index 000000000..6ea804480 --- /dev/null +++ b/community/read-edid/PKGBUILD @@ -0,0 +1,28 @@ +# $Id: PKGBUILD 107759 2014-03-19 07:00:43Z kkeen $ +# Maintainer: Kyle Keen +# Contributor: LaraCraft304 +# Contributor: Mateusz Herych + +pkgname=read-edid +pkgver=3.0.1 +pkgrel=1 +pkgdesc="Program that can get information from a PNP monitor" +arch=('i686' 'x86_64') +url="http://www.polypux.org/projects/read-edid/" +license=('GPL') +depends=('libx86>=0.99') +makedepends=('cmake') +source=("http://www.polypux.org/projects/$pkgname/$pkgname-$pkgver.tar.gz") +md5sums=('81f6a57162127ab9e969da53bc290e63') + +build() { + mkdir $pkgname-build + cd $pkgname-build + cmake "$srcdir/$pkgname-$pkgver" -DCMAKE_INSTALL_PREFIX="/usr" + make +} + +package() { + cd $pkgname-build + make DESTDIR="$pkgdir/" install +} diff --git a/community/shotwell/PKGBUILD b/community/shotwell/PKGBUILD index 4ebf7067a..602025130 100644 --- a/community/shotwell/PKGBUILD +++ b/community/shotwell/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 104606 2014-01-23 13:18:27Z andrea $ +# $Id: PKGBUILD 107775 2014-03-19 12:02:32Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer : Ionut Biru # Contributor: Joeny Ang pkgname=shotwell -pkgver=0.15.1 -pkgrel=2 +pkgver=0.18.0 +pkgrel=1 pkgdesc="A digital photo organizer designed for the GNOME desktop environment" arch=('i686' 'x86_64') url="http://yorba.org/shotwell/" @@ -13,10 +13,10 @@ license=('LGPL2.1') depends=('libgee' 'webkitgtk' 'libgexiv2' 'libraw' 'rest' 'desktop-file-utils' 'dconf' 'hicolor-icon-theme' 'json-glib' 'gst-plugins-base' 'libgphoto2') -makedepends=('intltool' 'vala>=0.17.2' 'libunique3') +makedepends=('intltool' 'vala>=0.17.2' 'libunique3' 'gnome-doc-utils') install=shotwell.install -source=("http://yorba.org/download/shotwell/stable/shotwell-$pkgver.tar.xz") -md5sums=('5af4cfb819249a879a4649a9c7d089e5') +source=("https://download.gnome.org/sources/shotwell/0.18/shotwell-$pkgver.tar.xz") +md5sums=('856b69fe67bc8bd42a6985e042041daf') build() { cd "${srcdir}/${pkgname}-${pkgver}" diff --git a/community/vagrant/PKGBUILD b/community/vagrant/PKGBUILD index a9731c993..b9af83136 100644 --- a/community/vagrant/PKGBUILD +++ b/community/vagrant/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 107722 2014-03-18 20:52:15Z jsteel $ +# $Id: PKGBUILD 107806 2014-03-19 20:47:07Z jsteel $ # Maintainer: Jonathan Steel # Contributor: Ido Rosen # Contributor: Brett Hoerner @@ -11,7 +11,7 @@ pkgname=vagrant pkgver=1.5.1 -pkgrel=3 +pkgrel=4 pkgdesc="Build and distribute virtualized development environments" arch=('i686' 'x86_64') url="http://vagrantup.com" @@ -35,9 +35,15 @@ build() { } package() { - install -d "$pkgdir"/{opt/,usr/bin/} + install -d "$pkgdir"/{opt/,usr/bin/,usr/share/bash-completion/completions/} cp -r "$srcdir"/substrate/ "$pkgdir"/opt/$pkgname/ ln -s /opt/$pkgname/bin/$pkgname "$pkgdir"/usr/bin/$pkgname + + ln -s /opt/$pkgname/embedded/gems/gems/$pkgname-$pkgver/contrib/bash/completion.sh \ + "$pkgdir"/usr/share/bash-completion/completions/$pkgname + + install -Dm644 "$srcdir"/$pkgname/LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } -- cgit v1.2.3-54-g00ecf