diff options
108 files changed, 2962 insertions, 668 deletions
diff --git a/community/acpid/PKGBUILD b/community/acpid/PKGBUILD index 4ae84bafd..12f4ccbf1 100644 --- a/community/acpid/PKGBUILD +++ b/community/acpid/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 97250 2013-09-15 20:35:17Z seblu $ +# $Id: PKGBUILD 104282 2014-01-16 21:18:23Z seblu $ # Maintainer: Sébastien Luttringer # Contributor: xduugu # Contributor: Manolis Tzanidakis # Contributor: Jonathan Schmidt <j.schmidt@archlinux.us pkgname=acpid -pkgver=2.0.20 +pkgver=2.0.21 pkgrel=1 pkgdesc='A daemon for delivering ACPI power management events with netlink support' arch=('i686' 'x86_64') @@ -20,7 +20,7 @@ source=("http://downloads.sourceforge.net/sourceforge/acpid2/$pkgname-$pkgver.ta 'acpid.service' 'anything' 'handler.sh') -md5sums=('1b740e6419cf45aaeb2bd78d589f27f9' +md5sums=('252bb4b3a8053227e743e267d98b8a52' 'd11700eb136e0489835ddaf977a7905b' '79cc7a9dceacdeffd51f070c2ba5f023' '2d37b98d6e74bab815604b8b48c6cfd4' diff --git a/community/docker/PKGBUILD b/community/docker/PKGBUILD index 0dc115f7a..c36b4f942 100644 --- a/community/docker/PKGBUILD +++ b/community/docker/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 103876 2014-01-13 00:32:59Z seblu $ +# $Id: PKGBUILD 104112 2014-01-15 23:41:43Z seblu $ # Maintainer: Sébastien "Seblu" Luttringer pkgname=docker -pkgver=0.7.5 +pkgver=0.7.6 pkgrel=1 epoch=1 pkgdesc='Pack, ship and run any application as a lightweight container' diff --git a/community/hedgewars/PKGBUILD b/community/hedgewars/PKGBUILD index 70ecc64ff..be213374b 100644 --- a/community/hedgewars/PKGBUILD +++ b/community/hedgewars/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 103306 2014-01-02 22:43:13Z spupykin $ +# $Id: PKGBUILD 104154 2014-01-16 11:39:31Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=hedgewars -pkgver=0.9.20.3 +pkgver=0.9.20.5 pkgrel=1 pkgdesc="turn based strategy, artillery, action and comedy game, featuring the antics of pink hedgehogs with attitude as they battle from the depths of hell @@ -23,11 +23,11 @@ makedepends=('fpc' 'cmake' 'haskell-random') source=(http://download.gna.org/hedgewars/hedgewars-src-$pkgver.tar.bz2 hedgewars.png) -md5sums=('cea4def4e212905026ef29e00447b966' +md5sums=('c61eb01466e86da656e1e74ad70a3217' 'eeb14d50df39063549ac5eca9dbc65d1') build() { - cd $pkgname-src-$pkgver + cd $pkgname-src-* cmake \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_INSTALL_PREFIX=/usr \ @@ -37,7 +37,7 @@ build() { } package() { - cd $pkgname-src-$pkgver + cd $pkgname-src-* make DESTDIR=$pkgdir install diff --git a/community/highlight/PKGBUILD b/community/highlight/PKGBUILD index 53e5f6855..a3d703e20 100644 --- a/community/highlight/PKGBUILD +++ b/community/highlight/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 100546 2013-11-05 19:47:43Z bluewind $ +# $Id: PKGBUILD 104278 2014-01-16 20:21:07Z bluewind $ # Maintainer: Florian Pritz <flo@xinu.at> # Contributor: Jan Fader <jan.fader@web.de> pkgbase=highlight pkgname=(highlight highlight-gui) -pkgver=3.16.1 +pkgver=3.17 pkgrel=1 url="http://www.andre-simon.de/doku/highlight/highlight.html" license=('GPL') arch=('i686' 'x86_64') makedepends=(qt4 lua boost) source=(http://www.andre-simon.de/zip/$pkgname-$pkgver.tar.bz2{,.asc}) -md5sums=('688bb537db149dc720b9ef1ffc796ced' +md5sums=('52babb37da6a69867dc295e31d8a721e' 'SKIP') build() { diff --git a/community/libc++/PKGBUILD b/community/libc++/PKGBUILD index 6a4f8c0df..fc27155d1 100644 --- a/community/libc++/PKGBUILD +++ b/community/libc++/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Daniel Micay <danielmicay@gmail.com> # Contributor: MThinkCpp <mtc.maintainer[at]outlook.com> pkgname=libc++ -pkgver=3.3 -pkgrel=3 +pkgver=3.4 +pkgrel=1 pkgdesc='A new implementation of the C++ standard library, targeting C++11.' url='http://libcxx.llvm.org' license=('custom:University of Illinois/NCSA Open Source License') @@ -11,19 +11,19 @@ arch=('i686' 'x86_64') depends=('glibc' 'libc++abi' 'gcc-libs') makedepends=('clang' 'subversion' 'cmake') source=("http://www.llvm.org/releases/${pkgver}/libcxx-${pkgver}.src.tar.gz") -md5sums=('59006e659ffb33f5222a7b79d4cd071e') +md5sums=('85c3c4e2233893b037256bf9f7077857') install=${pkgname}.install build() { - mkdir -p libcxx-${pkgver}.src/build - cd libcxx-${pkgver}.src/build + mkdir -p libcxx-${pkgver}/build + cd libcxx-${pkgver}/build CC=clang CXX=clang++ cmake -G "Unix Makefiles" -DLIBCXX_CXX_ABI=libcxxabi \ -DLIBCXX_LIBCXXABI_INCLUDE_PATHS=/usr/include \ - -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}.src" + -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/libcxx-${pkgver}" make } package() { - install -Dm644 libcxx-${pkgver}.src/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt" - cd libcxx-${pkgver}.src/build + install -Dm644 libcxx-${pkgver}/LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/license.txt" + cd libcxx-${pkgver}/build make DESTDIR="$pkgdir" install } diff --git a/community/libmatekbd/PKGBUILD b/community/libmatekbd/PKGBUILD new file mode 100644 index 000000000..e351ce4b3 --- /dev/null +++ b/community/libmatekbd/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 104170 2014-01-16 15:09:15Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=libmatekbd +pkgver=1.6.2 +pkgrel=1 +pkgdesc="MATE keyboard library" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('dconf' 'gtk2' 'iso-codes' 'libxklavier') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('224eba31dbf6d44f69ae3b75712a0bb90717df68') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/libmatekbd/libmatekbd.install b/community/libmatekbd/libmatekbd.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/libmatekbd/libmatekbd.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/libmatekeyring/PKGBUILD b/community/libmatekeyring/PKGBUILD index 8f506b5d0..54fb88865 100644 --- a/community/libmatekeyring/PKGBUILD +++ b/community/libmatekeyring/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 104095 2014-01-15 14:24:22Z flexiondotorg $ +# $Id: PKGBUILD 104159 2014-01-16 13:02:33Z flexiondotorg $ # Maintainer : Martin Wimpress <code@flexion.org> # Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> # Contributor: Xpander <xpander0@gmail.com> pkgname=libmatekeyring pkgver=1.6.1 -pkgrel=2 +pkgrel=3 pkgdesc="MATE keyring client library" url="http://mate-desktop.org" arch=('i686' 'x86_64') diff --git a/community/libmateweather/PKGBUILD b/community/libmateweather/PKGBUILD new file mode 100644 index 000000000..82d54aebe --- /dev/null +++ b/community/libmateweather/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104174 2014-01-16 15:20:18Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=libmateweather +pkgver=1.6.2 +pkgrel=5 +pkgdesc="Provides access to weather information from the net" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('dconf' 'gtk2' 'libsoup' 'pygtk' 'python2-gobject2') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('56f30e35345864954a37228ad8103350f4bc3651') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --enable-python \ + --enable-locations-compression + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/libmateweather/libmateweather.install b/community/libmateweather/libmateweather.install new file mode 100644 index 000000000..d6813b0f7 --- /dev/null +++ b/community/libmateweather/libmateweather.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/mate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/libmatewnck/PKGBUILD b/community/libmatewnck/PKGBUILD new file mode 100644 index 000000000..40fea7630 --- /dev/null +++ b/community/libmatewnck/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 104172 2014-01-16 15:12:04Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=libmatewnck +pkgver=1.6.1 +pkgrel=5 +pkgdesc="Description: MATE Window Navigator Construction Kit. A library to use for writing pagers and task lists." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('gtk2' 'libxres' 'startup-notification') +makedepends=('gobject-introspection' 'mate-common' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('10e2def928dd74529c49a624803187098ea2b0f6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --disable-static \ + --enable-gtk-doc \ + --enable-startup-notification \ + --enable-introspection + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/liboobs/PKGBUILD b/community/liboobs/PKGBUILD new file mode 100644 index 000000000..8ca3cea23 --- /dev/null +++ b/community/liboobs/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 104269 2014-01-16 18:45:11Z flexiondotorg $ +# Maintainer: Martin Wimpress <code@flexion.org> + +pkgname=liboobs +pkgver=3.0.0 +pkgrel=3 +pkgdesc="GObject based interface to system-tools-backends - shared library" +arch=('i686' 'x86_64') +url="http://developer.gnome.org/liboobs/" +license=('GPL2') +depends=('system-tools-backends') +source=("ftp://ftp.gnome.org/pub/GNOME/sources/liboobs/3.0/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('1e7a327df7dcfa30e0cd3e0d2ffcd9a2c91c7870291dd30434b5da907945c00a') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --disable-static + make +} +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/libvirt/0001-Also-store-user-group-ID-values-in-virIdentity.patch b/community/libvirt/0001-Also-store-user-group-ID-values-in-virIdentity.patch deleted file mode 100644 index 70a613820..000000000 --- a/community/libvirt/0001-Also-store-user-group-ID-values-in-virIdentity.patch +++ /dev/null @@ -1,156 +0,0 @@ -From 02432e3afa32e9866fbf1317069b422ef552d1d4 Mon Sep 17 00:00:00 2001
-From: "Daniel P. Berrange" <berrange@redhat.com>
-Date: Thu, 22 Aug 2013 16:00:01 +0100
-Subject: [PATCH 1/3] Also store user & group ID values in virIdentity
-
-Future improvements to the polkit code will require access to
-the numeric user ID, not merely user name.
-
-Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
----
- src/rpc/virnetserverclient.c | 18 ++++++++++++++++++
- src/util/viridentity.c | 23 +++++++++++++++++++----
- src/util/viridentity.h | 2 ++
- 3 files changed, 39 insertions(+), 4 deletions(-)
-
-diff --git a/src/rpc/virnetserverclient.c b/src/rpc/virnetserverclient.c
-index 83d5cf1..f30dd08 100644
---- a/src/rpc/virnetserverclient.c
-+++ b/src/rpc/virnetserverclient.c
-@@ -652,7 +652,9 @@ virNetServerClientCreateIdentity(virNetServerClientPtr client)
- char *processid = NULL;
- char *processtime = NULL;
- char *username = NULL;
-+ char *userid = NULL;
- char *groupname = NULL;
-+ char *groupid = NULL;
- #if WITH_SASL
- char *saslname = NULL;
- #endif
-@@ -672,8 +674,12 @@ virNetServerClientCreateIdentity(virNetServerClientPtr client)
-
- if (!(username = virGetUserName(uid)))
- goto cleanup;
-+ if (virAsprintf(&userid, "%d", uid) < 0)
-+ goto cleanup;
- if (!(groupname = virGetGroupName(gid)))
- goto cleanup;
-+ if (virAsprintf(&userid, "%d", gid) < 0)
-+ goto cleanup;
- if (virAsprintf(&processid, "%llu",
- (unsigned long long)pid) < 0)
- goto cleanup;
-@@ -710,11 +716,21 @@ virNetServerClientCreateIdentity(virNetServerClientPtr client)
- VIR_IDENTITY_ATTR_UNIX_USER_NAME,
- username) < 0)
- goto error;
-+ if (userid &&
-+ virIdentitySetAttr(ret,
-+ VIR_IDENTITY_ATTR_UNIX_USER_ID,
-+ userid) < 0)
-+ goto error;
- if (groupname &&
- virIdentitySetAttr(ret,
- VIR_IDENTITY_ATTR_UNIX_GROUP_NAME,
- groupname) < 0)
- goto error;
-+ if (groupid &&
-+ virIdentitySetAttr(ret,
-+ VIR_IDENTITY_ATTR_UNIX_GROUP_ID,
-+ groupid) < 0)
-+ goto error;
- if (processid &&
- virIdentitySetAttr(ret,
- VIR_IDENTITY_ATTR_UNIX_PROCESS_ID,
-@@ -745,7 +761,9 @@ virNetServerClientCreateIdentity(virNetServerClientPtr client)
-
- cleanup:
- VIR_FREE(username);
-+ VIR_FREE(userid);
- VIR_FREE(groupname);
-+ VIR_FREE(groupid);
- VIR_FREE(processid);
- VIR_FREE(processtime);
- VIR_FREE(seccontext);
-diff --git a/src/util/viridentity.c b/src/util/viridentity.c
-index 781f660..03c375b 100644
---- a/src/util/viridentity.c
-+++ b/src/util/viridentity.c
-@@ -133,7 +133,9 @@ int virIdentitySetCurrent(virIdentityPtr ident)
- virIdentityPtr virIdentityGetSystem(void)
- {
- char *username = NULL;
-+ char *userid = NULL;
- char *groupname = NULL;
-+ char *groupid = NULL;
- char *seccontext = NULL;
- virIdentityPtr ret = NULL;
- #if WITH_SELINUX
-@@ -147,8 +149,13 @@ virIdentityPtr virIdentityGetSystem(void)
-
- if (!(username = virGetUserName(getuid())))
- goto cleanup;
-+ if (virAsprintf(&userid, "%d", (int)getuid()) < 0)
-+ goto cleanup;
-+
- if (!(groupname = virGetGroupName(getgid())))
- goto cleanup;
-+ if (virAsprintf(&groupid, "%d", (int)getgid()) < 0)
-+ goto cleanup;
-
- #if WITH_SELINUX
- if (getcon(&con) < 0) {
-@@ -166,16 +173,22 @@ virIdentityPtr virIdentityGetSystem(void)
- if (!(ret = virIdentityNew()))
- goto cleanup;
-
-- if (username &&
-- virIdentitySetAttr(ret,
-+ if (virIdentitySetAttr(ret,
- VIR_IDENTITY_ATTR_UNIX_USER_NAME,
- username) < 0)
- goto error;
-- if (groupname &&
-- virIdentitySetAttr(ret,
-+ if (virIdentitySetAttr(ret,
-+ VIR_IDENTITY_ATTR_UNIX_USER_ID,
-+ userid) < 0)
-+ goto error;
-+ if (virIdentitySetAttr(ret,
- VIR_IDENTITY_ATTR_UNIX_GROUP_NAME,
- groupname) < 0)
- goto error;
-+ if (virIdentitySetAttr(ret,
-+ VIR_IDENTITY_ATTR_UNIX_GROUP_ID,
-+ groupid) < 0)
-+ goto error;
- if (seccontext &&
- virIdentitySetAttr(ret,
- VIR_IDENTITY_ATTR_SELINUX_CONTEXT,
-@@ -188,7 +201,9 @@ virIdentityPtr virIdentityGetSystem(void)
-
- cleanup:
- VIR_FREE(username);
-+ VIR_FREE(userid);
- VIR_FREE(groupname);
-+ VIR_FREE(groupid);
- VIR_FREE(seccontext);
- VIR_FREE(processid);
- return ret;
-diff --git a/src/util/viridentity.h b/src/util/viridentity.h
-index 4bae8d6..a240c2d 100644
---- a/src/util/viridentity.h
-+++ b/src/util/viridentity.h
-@@ -29,7 +29,9 @@ typedef virIdentity *virIdentityPtr;
-
- typedef enum {
- VIR_IDENTITY_ATTR_UNIX_USER_NAME,
-+ VIR_IDENTITY_ATTR_UNIX_USER_ID,
- VIR_IDENTITY_ATTR_UNIX_GROUP_NAME,
-+ VIR_IDENTITY_ATTR_UNIX_GROUP_ID,
- VIR_IDENTITY_ATTR_UNIX_PROCESS_ID,
- VIR_IDENTITY_ATTR_UNIX_PROCESS_TIME,
- VIR_IDENTITY_ATTR_SASL_USER_NAME,
---
-1.8.3.1
-
diff --git a/community/libvirt/0002-Ensure-system-identity-includes-process-start-time.patch b/community/libvirt/0002-Ensure-system-identity-includes-process-start-time.patch deleted file mode 100644 index 1fba7d56c..000000000 --- a/community/libvirt/0002-Ensure-system-identity-includes-process-start-time.patch +++ /dev/null @@ -1,70 +0,0 @@ -From f26b6e44bf0c3efe8167a528141224ccb7623b4a Mon Sep 17 00:00:00 2001
-From: "Daniel P. Berrange" <berrange@redhat.com>
-Date: Wed, 28 Aug 2013 15:22:05 +0100
-Subject: [PATCH 2/3] Ensure system identity includes process start time
-
-The polkit access driver will want to use the process start
-time field. This was already set for network identities, but
-not for the system identity.
-
-Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
----
- src/util/viridentity.c | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
-
-diff --git a/src/util/viridentity.c b/src/util/viridentity.c
-index 03c375b..f681f85 100644
---- a/src/util/viridentity.c
-+++ b/src/util/viridentity.c
-@@ -35,6 +35,7 @@
- #include "virthread.h"
- #include "virutil.h"
- #include "virstring.h"
-+#include "virprocess.h"
-
- #define VIR_FROM_THIS VIR_FROM_IDENTITY
-
-@@ -142,11 +143,20 @@ virIdentityPtr virIdentityGetSystem(void)
- security_context_t con;
- #endif
- char *processid = NULL;
-+ unsigned long long timestamp;
-+ char *processtime = NULL;
-
- if (virAsprintf(&processid, "%llu",
- (unsigned long long)getpid()) < 0)
- goto cleanup;
-
-+ if (virProcessGetStartTime(getpid(), ×tamp) < 0)
-+ goto cleanup;
-+
-+ if (timestamp != 0 &&
-+ virAsprintf(&processtime, "%llu", timestamp) < 0)
-+ goto cleanup;
-+
- if (!(username = virGetUserName(getuid())))
- goto cleanup;
- if (virAsprintf(&userid, "%d", (int)getuid()) < 0)
-@@ -198,6 +208,11 @@ virIdentityPtr virIdentityGetSystem(void)
- VIR_IDENTITY_ATTR_UNIX_PROCESS_ID,
- processid) < 0)
- goto error;
-+ if (processtime &&
-+ virIdentitySetAttr(ret,
-+ VIR_IDENTITY_ATTR_UNIX_PROCESS_TIME,
-+ processtime) < 0)
-+ goto error;
-
- cleanup:
- VIR_FREE(username);
-@@ -206,6 +221,7 @@ cleanup:
- VIR_FREE(groupid);
- VIR_FREE(seccontext);
- VIR_FREE(processid);
-+ VIR_FREE(processtime);
- return ret;
-
- error:
---
-1.8.3.1
-
diff --git a/community/libvirt/0003-Add-support-for-using-3-arg-pkcheck-syntax-for-proce.patch b/community/libvirt/0003-Add-support-for-using-3-arg-pkcheck-syntax-for-proce.patch deleted file mode 100644 index 8882f1227..000000000 --- a/community/libvirt/0003-Add-support-for-using-3-arg-pkcheck-syntax-for-proce.patch +++ /dev/null @@ -1,159 +0,0 @@ -From 4a061ec8fe94857dd21acf401c66195ec51b1234 Mon Sep 17 00:00:00 2001
-From: "Daniel P. Berrange" <berrange@redhat.com>
-Date: Wed, 28 Aug 2013 15:25:40 +0100
-Subject: [PATCH 3/3] Add support for using 3-arg pkcheck syntax for process
-
-With the existing pkcheck (pid, start time) tuple for identifying
-the process, there is a race condition, where a process can make
-a libvirt RPC call and in another thread exec a setuid application,
-causing it to change to effective UID 0. This in turn causes polkit
-to do its permission check based on the wrong UID.
-
-To address this, libvirt must get the UID the caller had at time
-of connect() (from SO_PEERCRED) and pass a (pid, start time, uid)
-triple to the pkcheck program.
-
-Signed-off-by: Colin Walters <walters@redhat.com>
-Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
----
- configure.ac | 8 ++++++++
- daemon/remote.c | 21 +++++++++++++++++---
- src/access/viraccessdriverpolkit.c | 40 +++++++++++++++++++++++++++++++++-----
- 3 files changed, 61 insertions(+), 8 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 94a2e19..3dfbb4d 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -1184,6 +1184,14 @@ if test "x$with_polkit" = "xyes" || test "x$with_polkit" = "xcheck"; then
- AC_PATH_PROG([PKCHECK_PATH],[pkcheck], [], [/usr/sbin:$PATH])
- if test "x$PKCHECK_PATH" != "x" ; then
- AC_DEFINE_UNQUOTED([PKCHECK_PATH],["$PKCHECK_PATH"],[Location of pkcheck program])
-+ AC_MSG_CHECKING([whether pkcheck supports uid value])
-+ pkcheck_supports_uid=$($PKG_CONFIG --variable pkcheck_supports_uid polkit-gobject-1)
-+ if test "x$pkcheck_supports_uid" = "xtrue"; then
-+ AC_MSG_RESULT([yes])
-+ AC_DEFINE_UNQUOTED([PKCHECK_SUPPORTS_UID], 1, [Pass uid to pkcheck])
-+ else
-+ AC_MSG_RESULT([no])
-+ fi
- AC_DEFINE_UNQUOTED([WITH_POLKIT], 1,
- [use PolicyKit for UNIX socket access checks])
- AC_DEFINE_UNQUOTED([WITH_POLKIT1], 1,
-diff --git a/daemon/remote.c b/daemon/remote.c
-index 03d5557..6132091 100644
---- a/daemon/remote.c
-+++ b/daemon/remote.c
-@@ -2731,10 +2731,12 @@ remoteDispatchAuthPolkit(virNetServerPtr server ATTRIBUTE_UNUSED,
- int status = -1;
- char *ident = NULL;
- bool authdismissed = 0;
-+ bool supportsuid = 0;
- char *pkout = NULL;
- struct daemonClientPrivate *priv =
- virNetServerClientGetPrivateData(client);
- virCommandPtr cmd = NULL;
-+ static bool polkitInsecureWarned = false;
-
- virMutexLock(&priv->lock);
- action = virNetServerClientGetReadonly(client) ?
-@@ -2756,14 +2758,27 @@ remoteDispatchAuthPolkit(virNetServerPtr server ATTRIBUTE_UNUSED,
- goto authfail;
- }
-
-+ if (timestamp == 0) {
-+ VIR_WARN("Failing polkit auth due to missing client (pid=%lld) start time",
-+ (long long)callerPid);
-+ goto authfail;
-+ }
-+
- VIR_INFO("Checking PID %lld running as %d",
- (long long) callerPid, callerUid);
-
- virCommandAddArg(cmd, "--process");
-- if (timestamp != 0) {
-- virCommandAddArgFormat(cmd, "%lld,%llu", (long long) callerPid, timestamp);
-+# ifdef PKCHECK_SUPPORTS_UID
-+ supportsuid = 1;
-+# endif
-+ if (supportsuid) {
-+ virCommandAddArgFormat(cmd, "%lld,%llu,%lu", (long long) callerPid, timestamp, (unsigned long) callerUid);
- } else {
-- virCommandAddArgFormat(cmd, "%lld", (long long) callerPid);
-+ if (!polkitInsecureWarned) {
-+ VIR_WARN("No support for caller UID with pkcheck. This deployment is known to be insecure.");
-+ polkitInsecureWarned = true;
-+ }
-+ virCommandAddArgFormat(cmd, "%lld,%llu", (long long) callerPid, timestamp);
- }
- virCommandAddArg(cmd, "--allow-user-interaction");
-
-diff --git a/src/access/viraccessdriverpolkit.c b/src/access/viraccessdriverpolkit.c
-index 4c76e64..d980820 100644
---- a/src/access/viraccessdriverpolkit.c
-+++ b/src/access/viraccessdriverpolkit.c
-@@ -72,8 +72,12 @@ static char *
- virAccessDriverPolkitFormatProcess(const char *actionid)
- {
- virIdentityPtr identity = virIdentityGetCurrent();
-- const char *process = NULL;
-+ const char *callerPid = NULL;
-+ const char *callerTime = NULL;
-+ const char *callerUid = NULL;
- char *ret = NULL;
-+ bool supportsuid = 0;
-+ static bool polkitInsecureWarned = false;
-
- if (!identity) {
- virAccessError(VIR_ERR_ACCESS_DENIED,
-@@ -81,17 +85,43 @@ virAccessDriverPolkitFormatProcess(const char *actionid)
- actionid);
- return NULL;
- }
-- if (virIdentityGetAttr(identity, VIR_IDENTITY_ATTR_UNIX_PROCESS_ID, &process) < 0)
-+ if (virIdentityGetAttr(identity, VIR_IDENTITY_ATTR_UNIX_PROCESS_ID, &callerPid) < 0)
-+ goto cleanup;
-+ if (virIdentityGetAttr(identity, VIR_IDENTITY_ATTR_UNIX_PROCESS_TIME, &callerTime) < 0)
-+ goto cleanup;
-+ if (virIdentityGetAttr(identity, VIR_IDENTITY_ATTR_UNIX_USER_ID, &callerUid) < 0)
- goto cleanup;
-
-- if (!process) {
-+ if (!callerPid) {
- virAccessError(VIR_ERR_INTERNAL_ERROR, "%s",
- _("No UNIX process ID available"));
- goto cleanup;
- }
--
-- if (VIR_STRDUP(ret, process) < 0)
-+ if (!callerTime) {
-+ virAccessError(VIR_ERR_INTERNAL_ERROR, "%s",
-+ _("No UNIX process start time available"));
-+ goto cleanup;
-+ }
-+ if (!callerUid) {
-+ virAccessError(VIR_ERR_INTERNAL_ERROR, "%s",
-+ _("No UNIX caller UID available"));
- goto cleanup;
-+ }
-+
-+#ifdef PKCHECK_SUPPORTS_UID
-+ supportsuid = 1;
-+#endif
-+ if (supportsuid) {
-+ if (virAsprintf(&ret, "%s,%s,%s", callerPid, callerTime, callerUid) < 0)
-+ goto cleanup;
-+ } else {
-+ if (!polkitInsecureWarned) {
-+ VIR_WARN("No support for caller UID with pkcheck. This deployment is known to be insecure.");
-+ polkitInsecureWarned = true;
-+ }
-+ if (virAsprintf(&ret, "%s,%s", callerPid, callerTime) < 0)
-+ goto cleanup;
-+ }
-
- cleanup:
- virObjectUnref(identity);
---
-1.8.3.1
-
diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index a19d67276..e8f834235 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 101981 2013-12-03 09:49:12Z spupykin $ +# $Id: PKGBUILD 104165 2014-01-16 14:47:41Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jonathan Wiersma <archaur at jonw dot org> pkgname=libvirt -pkgver=1.2.0 +pkgver=1.2.1 pkgrel=1 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2' 'avahi' 'yajl' 'libpciaccess' 'udev' 'dbus-core' 'libxau' 'libxdmcp' 'libpcap' 'curl' 'libsasl' 'libgcrypt' 'libgpg-error' 'openssl' 'libxcb' 'gcc-libs' 'iproute2' 'libnl' 'libx11' 'audit' 'numactl') -makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq') +makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq' 'lxc') optdepends=('bridge-utils: for briged networking (default)' 'dnsmasq: for NAT/DHCP for guests' 'openbsd-netcat: for remote management over ssh' @@ -33,7 +33,7 @@ source=("http://libvirt.org/sources/$pkgname-$pkgver.tar.gz" libvirtd.conf.d libvirtd-guests.conf.d libvirt.tmpfiles.d) -md5sums=('f74f78059def4e68d69b975ad6e6c3e2' +md5sums=('cce374220f67895afb6331bd2ddedbfd' '3ed0e24f5b5e25bf553f5427d64915e6' '0a96ed876ffb1fcb9dff5a9b3a609c1e' '020971887442ebbf1b6949e031c8dd3f') @@ -54,7 +54,7 @@ build() { --with-storage-lvm --without-xen --with-udev --without-hal --disable-static \ --with-init-script=systemd --with-audit \ --with-qemu-user=nobody --with-qemu-group=nobody \ - --without-netcf --with-interface + --without-netcf --with-interface --with-lxc make sed -i 's|/etc/sysconfig/|/etc/conf.d/|' daemon/libvirtd.service tools/libvirt-guests.service diff --git a/community/libvirt/libvirt.install b/community/libvirt/libvirt.install index efb652a88..b75d85ec8 100644 --- a/community/libvirt/libvirt.install +++ b/community/libvirt/libvirt.install @@ -13,7 +13,3 @@ post_upgrade() { echo ">>> libvirt runs qemu from nobody:nobody by default" echo ">>> change it in /etc/libvirt/qemu.conf" } - -post_remove() { - rm -f /usr/lib/python[0-9].[0-9]/site-packages/libvirt.pyc -} diff --git a/community/libxnvctrl/10_libxnvctrl_so_0.diff b/community/libxnvctrl/10_libxnvctrl_so_0.diff new file mode 100644 index 000000000..02673675a --- /dev/null +++ b/community/libxnvctrl/10_libxnvctrl_so_0.diff @@ -0,0 +1,55 @@ +Author: Andreas Beckmann <debian@abeckmann.de> +Description: build a shared library for libXNVCtrl +Bug-Debian: http://bugs.debian.org/666909 + +--- a/src/Makefile ++++ b/src/Makefile +@@ -79,6 +79,9 @@ + + XNVCTRL_DIR ?= libXNVCtrl + XNVCTRL_ARCHIVE ?= $(XNVCTRL_DIR)/libXNVCtrl.a ++XNVCTRL_SHARED ?= $(XNVCTRL_DIR)/libXNVCtrl.so.0 ++#XNVCTRL_LIB ?= $(XNVCTRL_ARCHIVE) ++XNVCTRL_LIB ?= $(XNVCTRL_SHARED) + XCONFIG_PARSER_DIR ?= XF86Config-parser + COMMON_UTILS_DIR ?= common-utils + COMMON_UNIX_DIR ?= common-unix +@@ -179,9 +182,12 @@ + $(MKDIR) $(BINDIR) + $(INSTALL) $(INSTALL_BIN_ARGS) $< $(BINDIR)/$(notdir $<) + +-$(NVIDIA_SETTINGS): $(OBJS) $(XNVCTRL_ARCHIVE) ++$(XNVCTRL_ARCHIVE) $(XNVCTRL_SHARED): ++ $(MAKE) -C $(XNVCTRL_DIR) ++ ++$(NVIDIA_SETTINGS): $(OBJS) $(XNVCTRL_LIB) + $(call quiet_cmd,LINK) $(CFLAGS) $(LDFLAGS) $(BIN_LDFLAGS) -o $@ $(OBJS) \ +- $(XNVCTRL_ARCHIVE) $(LIBS) ++ $(XNVCTRL_LIB) $(LIBS) + $(call quiet_cmd,STRIP_CMD) $@ + + # define the rule to build each object file +--- a/src/libXNVCtrl/Makefile ++++ b/src/libXNVCtrl/Makefile +@@ -22,12 +22,21 @@ + RANLIB ?= ranlib + CFLAGS += -fPIC + ++all: libXNVCtrl.a libXNVCtrl.so ++ + libXNVCtrl.a : libXNVCtrl.a(NVCtrl.o) + $(RANLIB) $@ + ++libXNVCtrl.so: NVCtrl.o ++ $(RM) $@ $@.* ++ $(CC) -shared -Wl,-soname=$@.0 -o $@.0.0.0 $(LDFLAGS) $^ -lXext -lX11 ++ ln -s $@.0.0.0 $@.0 ++ ln -s $@.0 $@ ++ + NVCtrl.o : NVCtrl.h nv_control.h NVCtrlLib.h + .INTERMEDIATE: NVCtrl.o + + clean :: + rm -f libXNVCtrl.a *.o ++ rm -f libXNVCtrl.so libXNVCtrl.so.* + .PHONY: clean diff --git a/community/libxnvctrl/PKGBUILD b/community/libxnvctrl/PKGBUILD new file mode 100644 index 000000000..8cb63ad56 --- /dev/null +++ b/community/libxnvctrl/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 104245 2014-01-16 17:59:46Z flexiondotorg $ +# Maintainer: Martin Wimpress <code@flexion.org> +# Contributor: Alessio Sergi <asergi at archlinux dot us> + +pkgname=libxnvctrl +pkgver=331.20 +pkgrel=2 +pkgdesc="NVIDIA X Ctrl library" +arch=('i686' 'x86_64') +url="http://www.nvidia.com/" +license=('GPL2') +depends=('libxext') +source=("http://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-${pkgver}.tar.bz2" + "10_libxnvctrl_so_0.diff") +sha1sums=('a42cd2e821bce5061532d38d9f84a45d2986ba58' + '84146494a08d4b691e2cff84d1551210eee584dd') + +prepare() { + cd "nvidia-settings-$pkgver" + patch -Np1 -i "${srcdir}/10_libxnvctrl_so_0.diff" +} + +build() { + cd "nvidia-settings-$pkgver/src/libXNVCtrl" + make clean + make +} + +package() { + cd "nvidia-settings-$pkgver/src/libXNVCtrl" + # install libXNVCtrl and headers + install -d -m 755 "$pkgdir"/usr/{include/NVCtrl,lib} + install -m 644 nv_control.h NVCtrl{,Lib}.h "$pkgdir"/usr/include/NVCtrl/ + install -m 644 libXNVCtrl.so.0.0.0 "$pkgdir"/usr/lib/ + cd "$pkgdir"/usr/lib/ + ln -s libXNVCtrl.so.0.0.0 libXNVCtrl.so.0 + ln -s libXNVCtrl.so.0 libXNVCtrl.so +} diff --git a/community/mate-applet-lockkeys/PKGBUILD b/community/mate-applet-lockkeys/PKGBUILD new file mode 100644 index 000000000..190ad0bb5 --- /dev/null +++ b/community/mate-applet-lockkeys/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 104265 2014-01-16 18:34:55Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgname=mate-applet-lockkeys +pkgver=0.2.3 +pkgrel=1 +pkgdesc="A MATE panel applet that shows which of the CapsLock, NumLock and ScrollLock keys are on and which are off." +url="http://www.zavedil.com/mate-lock-keys-applet/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2' 'mate-panel') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +source=("http://www.zavedil.com/wp-content/uploads/2013/12/${pkgname}-${pkgver}.tar.gz") +md5sums=('84515b805609daf1998590ee5f1fcb6a') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled" +} diff --git a/community/mate-applet-lockkeys/mate-applet-lockkeys.install b/community/mate-applet-lockkeys/mate-applet-lockkeys.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-applet-lockkeys/mate-applet-lockkeys.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-applet-softupd/PKGBUILD b/community/mate-applet-softupd/PKGBUILD new file mode 100644 index 000000000..962ac9b1f --- /dev/null +++ b/community/mate-applet-softupd/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 104262 2014-01-16 18:29:31Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgname=mate-applet-softupd +pkgver=0.2.10 +pkgrel=2 +pkgdesc="A MATE panel applet to notify when software updates become available." +url="http://www.zavedil.com/mate-software-updates-applet/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gnome-packagekit' 'gtk2' 'libnotify' 'mate-panel') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +source=("http://www.zavedil.com/wp-content/uploads/2013/10/${pkgname}-${pkgver}.tar.gz") +md5sums=('f15f61c05a6701d8f987179f61c7bc0f') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled" +} diff --git a/community/mate-applet-softupd/mate-applet-softupd.install b/community/mate-applet-softupd/mate-applet-softupd.install new file mode 100644 index 000000000..71d138f2d --- /dev/null +++ b/community/mate-applet-softupd/mate-applet-softupd.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-applet-streamer/PKGBUILD b/community/mate-applet-streamer/PKGBUILD new file mode 100644 index 000000000..a50677f44 --- /dev/null +++ b/community/mate-applet-streamer/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 104264 2014-01-16 18:30:19Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgname=mate-applet-streamer +pkgver=0.0.5 +pkgrel=1 +pkgdesc="A MATE panel applet to let you play your favourite online radio station with a single click." +url="http://www.zavedil.com/online-radio-applet/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gst-plugins-base' 'gtk2' 'libnotify' 'mate-panel' 'sqlite') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +source=("http://www.zavedil.com/wp-content/uploads/2013/12/${pkgname}-${pkgver}.tar.gz") +md5sums=('c974612d6ef8138c472511dbc6587013') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled" +} diff --git a/community/mate-applet-streamer/mate-applet-streamer.install b/community/mate-applet-streamer/mate-applet-streamer.install new file mode 100644 index 000000000..71d138f2d --- /dev/null +++ b/community/mate-applet-streamer/mate-applet-streamer.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-applets/PKGBUILD b/community/mate-applets/PKGBUILD new file mode 100644 index 000000000..67c628807 --- /dev/null +++ b/community/mate-applets/PKGBUILD @@ -0,0 +1,55 @@ +# $Id: PKGBUILD 104220 2014-01-16 17:30:37Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-applets +pkgver=1.6.2 +pkgrel=1 +pkgdesc="Applets for MATE panel" +arch=('i686' 'x86_64') +url="http://mate-desktop.org" +license=('GPL') +depends=('mate-character-map' 'mate-panel' 'python2-dbus' 'python2-gobject' + 'upower') +makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'mate-doc-utils' + 'networkmanager' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz" + "https://github.com/mate-desktop/mate-applets/commit/98dfd949e9209eefc0722fb232761f01b4fe2d7e.diff" + "https://github.com/mate-desktop/mate-applets/commit/6fca38a74cc9e6b4ce107496f2e0e7d203c43d2b.diff") +sha1sums=('2978918a0b995b3f3dd98ad7ca159b0d7bcd245a' + 'c4d7f2d7952b53d8ac616ced55a4cf3da25c0fc4' + '36c4507e54b21fbcff49732077912dbc5283807a') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + #upower: fix upower version + patch -Np1 -i "${srcdir}/98dfd949e9209eefc0722fb232761f01b4fe2d7e.diff" + #battstat: use g_signal notify for upower-1.0 + patch -Np1 -i "${srcdir}/6fca38a74cc9e6b4ce107496f2e0e7d203c43d2b.diff" + # Use python2 + sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart} + sed -i 's/env python/env python2/' timer-applet/src/timer-applet +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/${pkgname} \ + --enable-polkit \ + --enable-networkmanager \ + --enable-ipv6 \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-applets/mate-applets.install b/community/mate-applets/mate-applets.install new file mode 100644 index 000000000..fd1a71ca6 --- /dev/null +++ b/community/mate-applets/mate-applets.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + gtk-update-icon-cache -q -t -f /usr/share/icons/mate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-calc/PKGBUILD b/community/mate-calc/PKGBUILD new file mode 100644 index 000000000..b29109c66 --- /dev/null +++ b/community/mate-calc/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 104222 2014-01-16 17:33:47Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-calc +pkgver=1.6.0 +pkgrel=4 +pkgdesc="Calculator for the Mate desktop environment" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('LGPL' 'GPL') +depends=('dconf' 'gtk2') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('c793118595cd370ccca9875880e0e6760f6c5a08') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-calc/mate-calc.install b/community/mate-calc/mate-calc.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-calc/mate-calc.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/mate-character-map/PKGBUILD b/community/mate-character-map/PKGBUILD new file mode 100644 index 000000000..f7e511a3d --- /dev/null +++ b/community/mate-character-map/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104218 2014-01-16 17:20:32Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-character-map +pkgver=1.6.0 +pkgrel=5 +pkgdesc="MATE Unicode Charmap" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dconf' 'gtk2' 'pygtk' 'python2') +makedepends=('gobject-introspection' 'mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs' ) +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('e378e26ebe493d3f849771d10930504b8980448e') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./autogen.sh \ + --prefix=/usr \ + --enable-charmap \ + --enable-python-bindings \ + --enable-introspection \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-character-map/mate-character-map.install b/community/mate-character-map/mate-character-map.install new file mode 100644 index 000000000..9f6e9c08b --- /dev/null +++ b/community/mate-character-map/mate-character-map.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/mate-control-center/PKGBUILD b/community/mate-control-center/PKGBUILD new file mode 100644 index 000000000..94620fbaa --- /dev/null +++ b/community/mate-control-center/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 104207 2014-01-16 16:54:02Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> +# Contributor: hekel <hekel@archlinux.info> + +pkgname=mate-control-center +pkgver=1.6.2 +pkgrel=1 +pkgdesc="The Control Center for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'dconf' 'desktop-file-utils' 'gsettings-desktop-schemas' + 'gtk2' 'mate-desktop' 'mate-file-manager' 'mate-icon-theme' 'mate-menus' + 'mate-settings-daemon' 'mate-window-manager' 'libgtop' 'libmatekbd' + 'libunique' 'librsvg' 'libxss' 'libxt' 'startup-notification') +makedepends=('docbook2x' 'mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('d3aa9434dde63bd176e995cbb8408fd673f6eed5') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --sbindir=/usr/bin \ + --localstatedir=/var \ + --disable-static \ + --disable-scrollkeeper \ + --disable-update-mimedb + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/share/applications/mimeinfo.cache" +} diff --git a/community/mate-control-center/mate-control-center.install b/community/mate-control-center/mate-control-center.install new file mode 100644 index 000000000..d5a70db20 --- /dev/null +++ b/community/mate-control-center/mate-control-center.install @@ -0,0 +1,14 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + update-mime-database /usr/share/mime/ > /dev/null + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-dialogs/PKGBUILD b/community/mate-dialogs/PKGBUILD new file mode 100644 index 000000000..8feff3f1d --- /dev/null +++ b/community/mate-dialogs/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 104188 2014-01-16 16:13:01Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-dialogs +pkgver=1.6.2 +pkgrel=3 +pkgdesc="Display graphical dialog boxes from shell scripts" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('gtk2' 'libnotify') +makedepends=('docbook-xml' 'mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('64601ae71671911dbc83d1fab2a837da0b218cf9') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-document-viewer/PKGBUILD b/community/mate-document-viewer/PKGBUILD new file mode 100644 index 000000000..524ed6242 --- /dev/null +++ b/community/mate-document-viewer/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 104224 2014-01-16 17:39:19Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-document-viewer +pkgver=1.6.1 +pkgrel=5 +pkgdesc="Simply a document viewer" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dconf' 'dbus' 'desktop-file-utils' 'gtk2' 'libmatekeyring' 'libsm' + 'libspectre' 'mate-icon-theme' 'poppler-glib' 'zlib') +makedepends=('djvulibre' 'gobject-introspection' 'libgxps' 'mate-common' + 'mate-doc-utils' 'mate-file-manager' 'perl-xml-parser' 'texlive-bin') +optdepends=('djvulibre: DjVu support' + 'libgxps: XPS support' + 'mate-file-manager: Document Properties extension' + 'p7zip: cbz and cb7 compressed comic books' + 'texlive-bin: DVI support' + 'unrar: cbr compressed comic books') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('5b3d1643b7945d56214ec13dc38cb641dfb688e1') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --enable-gtk-doc \ + --enable-djvu \ + --enable-dvi \ + --enable-t1lib \ + --enable-pixbuf \ + --enable-comics \ + --enable-introspection \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + ln -s atril "${pkgdir}/usr/bin/mate-document-viewer" +} diff --git a/community/mate-document-viewer/mate-document-viewer.install b/community/mate-document-viewer/mate-document-viewer.install new file mode 100644 index 000000000..bf6781f93 --- /dev/null +++ b/community/mate-document-viewer/mate-document-viewer.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-file-archiver/PKGBUILD b/community/mate-file-archiver/PKGBUILD new file mode 100644 index 000000000..33bf4e4d3 --- /dev/null +++ b/community/mate-file-archiver/PKGBUILD @@ -0,0 +1,51 @@ +# $Id: PKGBUILD 104212 2014-01-16 17:08:48Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Alessio Sergi <asergi at archlinux dot us> +# Contributor: Xpander <xpander0@gmail.com> +# Contributor: hekel <hekel(at)archlinux.info> + +pkgname=mate-file-archiver +pkgver=1.6.0 +pkgrel=7 +pkgdesc="Archive manipulator for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('bzip2' 'desktop-file-utils' 'gtk2' 'gzip' 'libarchive' + 'mate-file-manager' 'tar') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +optdepends=('unrar: for RAR uncompression' +'zip: for ZIP archives' 'unzip: for ZIP archives' +'p7zip: 7zip compression utility' 'arj: for ARJ archives' +'unace: extraction tool for the proprietary ace archive format') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz" + fr-rpm-bsdtar.patch) +sha1sums=('c7df115b532a14fb7be193113da32cda4a2218e8' + '219b05a979bf6f249aaae27964f02345fd81168d') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + # This patch 'depends' on libarchive + patch -Np1 -i "${srcdir}/fr-rpm-bsdtar.patch" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-static \ + --disable-scrollkeeper \ + --disable-packagekit + mate-doc-prepare --force + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-file-archiver/fr-rpm-bsdtar.patch b/community/mate-file-archiver/fr-rpm-bsdtar.patch new file mode 100644 index 000000000..93a783176 --- /dev/null +++ b/community/mate-file-archiver/fr-rpm-bsdtar.patch @@ -0,0 +1,60 @@ +This makes Engrampa use bsdtar to extract .RPM packages instead of using cpio. +It is useful on systems that do not have cpio or RPM/YUM +This patch was created for Arch Linux, however should work on any system that has bsdtar capable of handling cpio archives. + +------------------+ + rpm2cpio.c | 2 +- + fr-command-rpm.c | 8 ++++---- + 2 files changed, 5 insertions(+), 5 deletions(-) + +Index: src/commands/rpm2cpio.c +================================ +--- mate-file-archiver-1.6.0/src/commands/rpm2cpio.c 2013-03-31 ++++ mate-file-archiver-1.6.0/src/commands/rpm2cpio.c 2013-07-26 +@@ -128,7 +128,7 @@ + archive_command = "bzip2 -dc"; + fclose (stream); + +- command = g_strdup_printf ("sh -c \"dd if=%s ibs=%u skip=1 2>/dev/null | %s | cpio %s\"", g_shell_quote (filename), offset, archive_command, cpio_args->str); ++ command = g_strdup_printf ("sh -c \"dd if=%s ibs=%u skip=1 2>/dev/null | %s | bsdtar %s\"", g_shell_quote (filename), offset, archive_command, cpio_args->str); + + return system (command); + } +Index: src/fr-command-rpm.c +================================ +--- mate-file-archiver-1.6.0/src/fr-command-rpm.c 2013-03-31 ++++ mate-file-archiver-1.6.0/src/fr-command-rpm.c 2013-07-26 +@@ -175,7 +175,7 @@ + + fr_process_begin_command (comm->process, "sh"); + fr_process_add_arg (comm->process, "-c"); +- fr_process_add_arg_concat (comm->process, PRIVEXECDIR "rpm2cpio ", comm->e_filename, " -itv", NULL); ++ fr_process_add_arg_concat (comm->process, PRIVEXECDIR "rpm2cpio ", comm->e_filename, " -tvf -", NULL); + fr_process_end_command (comm->process); + fr_process_start (comm->process); + } +@@ -200,7 +200,7 @@ + + cmd = g_string_new (PRIVEXECDIR "rpm2cpio "); + g_string_append (cmd, comm->e_filename); +- g_string_append (cmd, " -idu "); ++ g_string_append (cmd, " -xf - "); + for (scan = file_list; scan; scan = scan->next) { + char *filename = g_shell_quote (scan->data); + g_string_append (cmd, filename); +@@ -233,7 +233,7 @@ + FrCommandCap capabilities; + + capabilities = FR_COMMAND_CAN_ARCHIVE_MANY_FILES; +- if (is_program_available ("cpio", check_command)) ++ if (is_program_available ("bsdtar", check_command)) + capabilities |= FR_COMMAND_CAN_READ; + + return capabilities; +@@ -244,7 +244,7 @@ + fr_command_rpm_get_packages (FrCommand *comm, + const char *mime_type) + { +- return PACKAGES ("cpio,rpm"); ++ return PACKAGES ("bsdtar,rpm"); + } diff --git a/community/mate-file-archiver/mate-file-archiver.install b/community/mate-file-archiver/mate-file-archiver.install new file mode 100644 index 000000000..bf6781f93 --- /dev/null +++ b/community/mate-file-archiver/mate-file-archiver.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-file-manager-gksu/PKGBUILD b/community/mate-file-manager-gksu/PKGBUILD new file mode 100644 index 000000000..c9e407950 --- /dev/null +++ b/community/mate-file-manager-gksu/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 104226 2014-01-16 17:40:52Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-file-manager-gksu +pkgver=1.6.0 +pkgrel=7 +pkgdesc="A Caja extension for executing files with elevated privileges." +url="http://mate-desktop.org/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gksu' 'gtk2' 'mate-file-manager') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('fd6e6268e5e00706fbe5d20090aff94d2ce57302') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-file-manager-image-converter/PKGBUILD b/community/mate-file-manager-image-converter/PKGBUILD new file mode 100644 index 000000000..85b106344 --- /dev/null +++ b/community/mate-file-manager-image-converter/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 104228 2014-01-16 17:41:51Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-file-manager-image-converter +pkgver=1.6.0 +pkgrel=6 +pkgdesc="A Caja extension for simple image conversions." +url="http://mate-desktop.org/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2' 'imagemagick' 'mate-file-manager') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('ab3b248e93f4c7322296d5856a8439d0a2515f53') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-file-manager-open-terminal/PKGBUILD b/community/mate-file-manager-open-terminal/PKGBUILD new file mode 100644 index 000000000..ef1c1a70c --- /dev/null +++ b/community/mate-file-manager-open-terminal/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 104230 2014-01-16 17:42:41Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-file-manager-open-terminal +pkgver=1.6.0 +pkgrel=7 +pkgdesc="A Caja extension for opening terminals in arbitrary local paths." +url="http://mate-desktop.org/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2' 'mate-desktop' 'mate-file-manager') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('8695ac9d0acbc27173d024340f121cd298aff0b9') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-file-manager-open-terminal/mate-file-manager-open-terminal.install b/community/mate-file-manager-open-terminal/mate-file-manager-open-terminal.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-file-manager-open-terminal/mate-file-manager-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/mate-file-manager-sendto/PKGBUILD b/community/mate-file-manager-sendto/PKGBUILD new file mode 100644 index 000000000..e986477b5 --- /dev/null +++ b/community/mate-file-manager-sendto/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104232 2014-01-16 17:43:59Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-file-manager-sendto +pkgver=1.6.0 +pkgrel=4 +pkgdesc="A Caja extension for sending files." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'gupnp' 'gtk2' 'mate-file-manager') +makedepends=('mate-common' 'perl-xml-parser') +optdepends=('pidgin: Support for sending to instant messaging networks.' + 'gajim: Support for sending to Jabber.' + 'mate-bluetooth: Support for sending to bluetooth.') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('cf81a12d6d5d90f431d96fd67eed893f472b36f0') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr \ + --with-plugins=gajim,pidgin,removable-devices,upnp,emailclient + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-file-manager-sendto/mate-file-manager-sendto.install b/community/mate-file-manager-sendto/mate-file-manager-sendto.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-file-manager-sendto/mate-file-manager-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/mate-file-manager-share/PKGBUILD b/community/mate-file-manager-share/PKGBUILD new file mode 100644 index 000000000..96e1668a7 --- /dev/null +++ b/community/mate-file-manager-share/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 104234 2014-01-16 17:45:59Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-file-manager-share +pkgver=1.6.0 +pkgrel=7 +pkgdesc="A Caja extension to quickly share a folder." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('mate-file-manager' 'samba') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('28e8ec54330e41aa44866107c23f48b47ea198e4') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./autogen.sh \ + --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-file-manager/PKGBUILD b/community/mate-file-manager/PKGBUILD new file mode 100644 index 000000000..0203916d6 --- /dev/null +++ b/community/mate-file-manager/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 104181 2014-01-16 15:54:41Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-file-manager +pkgver=1.6.3 +pkgrel=1 +pkgdesc="The MATE shell and file manager" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus' 'desktop-file-utils' 'exempi' 'gtk2' 'gvfs' 'libexif' + 'libunique' 'libxt' 'mate-desktop' 'mate-icon-theme' 'startup-notification') +makedepends=('gobject-introspection' 'mate-common' 'pangox-compat') +optdepends=('gstreamer0.10-good-plugins: automatic media playback when mouseover') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('ea52cfef3d728e4d5e135bff88452c02de05e960') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/caja \ + --enable-unique \ + --enable-introspection \ + --disable-static \ + --disable-update-mimedb + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-file-manager/mate-file-manager.install b/community/mate-file-manager/mate-file-manager.install new file mode 100644 index 000000000..d5a70db20 --- /dev/null +++ b/community/mate-file-manager/mate-file-manager.install @@ -0,0 +1,14 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + update-mime-database /usr/share/mime/ > /dev/null + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-image-viewer/PKGBUILD b/community/mate-image-viewer/PKGBUILD new file mode 100644 index 000000000..6d17b27cb --- /dev/null +++ b/community/mate-image-viewer/PKGBUILD @@ -0,0 +1,43 @@ +# $Id: PKGBUILD 104205 2014-01-16 16:49:55Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-image-viewer +pkgver=1.6.2 +pkgrel=1 +pkgdesc="An image viewing and cataloging program for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'desktop-file-utils' 'gtk2' 'exempi' 'lcms' 'libexif' + 'libjpeg-turbo' 'mate-desktop' 'mate-icon-theme' 'pygtk' 'python2' + 'python2-gobject2' 'startup-notification' 'zlib') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz" + "https://github.com/mate-desktop/eom/commit/e62ed087493c8a529d4eeab46c7d68a2047ac81a.diff") +sha1sums=('37e638790329350bb772a40549741f89ed43952c' + 'a2f0810a48d81023e9bae29d80b682ae0fe9faac') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + #Use GETTEXT_PACKAGE instead of PACKAGE + patch -Np1 -i "${srcdir}/e62ed087493c8a529d4eeab46c7d68a2047ac81a.diff" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --localstatedir=/var \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-image-viewer/mate-image-viewer.install b/community/mate-image-viewer/mate-image-viewer.install new file mode 100644 index 000000000..bf6781f93 --- /dev/null +++ b/community/mate-image-viewer/mate-image-viewer.install @@ -0,0 +1,13 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-keyring/PKGBUILD b/community/mate-keyring/PKGBUILD new file mode 100644 index 000000000..7b67fa117 --- /dev/null +++ b/community/mate-keyring/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 104168 2014-01-16 15:04:52Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-keyring +pkgver=1.6.1 +pkgrel=3 +pkgdesc="MATE Password Management daemon" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL') +depends=('dbus' 'dconf' 'gtk2' 'libtasn1' 'pam') +makedepends=('docbook-xml' 'mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('7b2e0201d4f4eb0f728dbf1626d5aa05b2d05675') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Prevent gck conflict with gnome gcr lib + sed -e 's/DOC_MODULE=gck/DOC_MODULE=mate-gck/' -i docs/reference/gck/Makefile.am + autoreconf -fi + intltoolize -c -f +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --with-pam-dir=/usr/lib/security \ + --with-root-certs=/etc/ssl/certs \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-keyring/mate-keyring.install b/community/mate-keyring/mate-keyring.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-keyring/mate-keyring.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/mate-media/PKGBUILD b/community/mate-media/PKGBUILD new file mode 100644 index 000000000..33c3510e2 --- /dev/null +++ b/community/mate-media/PKGBUILD @@ -0,0 +1,75 @@ +# $Id: PKGBUILD 104197 2014-01-16 16:38:43Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgbase=mate-media +pkgname=("${pkgbase}-pulseaudio" "${pkgbase}-gstreamer") +pkgver=1.6.1 +pkgrel=1 +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gstreamer0.10-base-plugins' 'gtk2' 'libcanberra-pulse' 'libunique' + 'mate-desktop' 'mate-window-manager' 'pulseaudio') +makedepends=('mate-common' 'mate-doc-utils' 'mate-panel' + 'mate-settings-daemon-gstreamer' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgbase}-${pkgver}.tar.xz") +sha1sums=('39acbf670a384325b5f68487e62bb1bdddb7d68f') + +build() { + cd "${srcdir}" + cp -a ${pkgbase}-${pkgver}{,-gstreamer} + + # build for pulseaudio + cd "${srcdir}/${pkgbase}-${pkgver}" + ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/${pkgbase} \ + --localstatedir=/var \ + --enable-pulseaudio \ + --disable-gstmix \ + --disable-gst-mixer-applet \ + --disable-static \ + --disable-scrollkeeper + make + + # build for gstreamer + cd "${srcdir}/${pkgbase}-${pkgver}-gstreamer" + ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libexecdir=/usr/lib/${pkgbase} \ + --localstatedir=/var \ + --enable-gstmix \ + --enable-gst-mixer-applet \ + --enable-deprecated \ + --disable-pulseaudio \ + --disable-static \ + --disable-scrollkeeper + make +} + +package_mate-media-pulseaudio() { + groups=('mate-extra') + pkgdesc="MATE Media Tools (pulseaudio)" + depends=('libcanberra-pulse' 'libunique' 'mate-desktop' 'mate-window-manager' + 'pulseaudio') + conflicts=("${pkgbase}-gstreamer" 'mate-settings-daemon-gstreamer') + provides=("${pkgbase}") + replaces=("${pkgbase}") + cd "${srcdir}/${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +package_mate-media-gstreamer() { + pkgdesc="MATE Media Tools (GStreamer)" + depends=('gstreamer0.10-base-plugins' 'gtk2' 'libcanberra' 'mate-desktop' + 'mate-window-manager') + optdepends=('mate-panel: Volume control for the panel') + conflicts=("${pkgbase}-pulseaudio" 'mate-settings-daemon-pulseaudio') + provides=("${pkgbase}") + install=${pkgbase}-gstreamer.install + cd "${srcdir}/${pkgbase}-${pkgver}-gstreamer" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-media/mate-media-gstreamer.install b/community/mate-media/mate-media-gstreamer.install new file mode 100644 index 000000000..d6813b0f7 --- /dev/null +++ b/community/mate-media/mate-media-gstreamer.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/mate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-menus/PKGBUILD b/community/mate-menus/PKGBUILD new file mode 100644 index 000000000..d236e328e --- /dev/null +++ b/community/mate-menus/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 104193 2014-01-16 16:26:41Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-menus +pkgver=1.6.0 +pkgrel=3 +pkgdesc="MATE menu specifications" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('glib2' 'python2') +makedepends=('gobject-introspection' 'mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('798e1e96e8dea48d93f1db90b6fbe69d0a3f3ea5') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-python \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-netbook/PKGBUILD b/community/mate-netbook/PKGBUILD new file mode 100644 index 000000000..eaba0ab36 --- /dev/null +++ b/community/mate-netbook/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 104240 2014-01-16 17:53:25Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-netbook +pkgver=1.6.1 +pkgrel=1 +pkgdesc="A simple window management tool." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2' 'libfakekey' 'libmatewnck' 'libunique' 'mate-panel') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('8aa6f4802bbe5ef7aef9d601a4172d1304d6bb86') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexec=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-netbook/mate-netbook.install b/community/mate-netbook/mate-netbook.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-netbook/mate-netbook.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/mate-netspeed/PKGBUILD b/community/mate-netspeed/PKGBUILD new file mode 100644 index 000000000..37dfa6017 --- /dev/null +++ b/community/mate-netspeed/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 104242 2014-01-16 17:54:33Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-netspeed +pkgver=1.6.1 +pkgrel=1 +pkgdesc="A MATE applet that shows how much traffic occurs on a specified network device." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2' 'libgtop' 'mate-panel' 'wireless_tools') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('4b9c8b7f7ff59ef8ad989821fe360f5f459c66ed') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-netspeed/mate-netspeed.install b/community/mate-netspeed/mate-netspeed.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-netspeed/mate-netspeed.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-notification-daemon/PKGBUILD b/community/mate-notification-daemon/PKGBUILD new file mode 100644 index 000000000..0201510a6 --- /dev/null +++ b/community/mate-notification-daemon/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 104203 2014-01-16 16:45:28Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-notification-daemon +pkgver=1.6.1 +pkgrel=3 +pkgdesc="Notification daemon for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL') +depends=('dconf' 'dbus-glib' 'gtk2' 'libcanberra' 'libmatewnck' 'libnotify') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +provides=('notification-daemon') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('b911efdc4e37dc0b521165168fee03889f776c12') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-notification-daemon/mate-notification-daemon.install b/community/mate-notification-daemon/mate-notification-daemon.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-notification-daemon/mate-notification-daemon.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-panel/PKGBUILD b/community/mate-panel/PKGBUILD new file mode 100644 index 000000000..5319266e0 --- /dev/null +++ b/community/mate-panel/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 104195 2014-01-16 16:33:39Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-panel +pkgver=1.6.1 +pkgrel=4 +pkgdesc="The MATE Panel" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'dconf' 'gtk2' 'libmatewnck' 'libcanberra' 'libice' + 'libmateweather' 'librsvg' 'libsm' + 'libsoup' 'libxau' 'mate-desktop' 'mate-file-manager' + 'mate-menus' 'mate-session-manager' 'mate-window-manager') +makedepends=('gobject-introspection' 'mate-common' 'mate-doc-utils' + 'networkmanager' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('ccd8d01e14d12d09a9c807b98990c02868323c71') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-introspection \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-panel/mate-panel.install b/community/mate-panel/mate-panel.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-panel/mate-panel.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-polkit/PKGBUILD b/community/mate-polkit/PKGBUILD new file mode 100644 index 000000000..67d8f1963 --- /dev/null +++ b/community/mate-polkit/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104183 2014-01-16 15:57:10Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-polkit +pkgver=1.6.1 +pkgrel=1 +pkgdesc="PolicyKit integration for the MATE desktop" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('gtk2' 'polkit') +makedepends=('gobject-introspection' 'mate-common' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('43afbbb0a9e4c1295bdd0f788ad7effd776dccf2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/polkit-mate \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-introspection \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-power-manager/PKGBUILD b/community/mate-power-manager/PKGBUILD new file mode 100644 index 000000000..74d83b619 --- /dev/null +++ b/community/mate-power-manager/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 104214 2014-01-16 17:11:58Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> +# Contributor: hekel <hekel@archlinux.info> + +pkgname=mate-power-manager +pkgver=1.6.3 +pkgrel=3 +pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system for Mate Desktop" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'dconf' 'libcanberra' 'libmatekeyring' 'libnotify' + 'libunique' 'upower') +makedepends=('docbook2x' 'docbook-xml' 'mate-common' 'mate-doc-utils' + 'mate-panel' 'perl-xml-parser' 'xmlto') +optdepends=('mate-panel: Set brightness and inhibit power management from the panel') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('a949e34494cb70bcb2fa349dcc35847f022be187') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + #Work around a problem where the .sgml fail to parse. + sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' -i man/Makefile.in +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --sbindir=/usr/bin \ + --enable-applets \ + --enable-unique \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-power-manager/mate-power-manager.install b/community/mate-power-manager/mate-power-manager.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-power-manager/mate-power-manager.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-screensaver/PKGBUILD b/community/mate-screensaver/PKGBUILD new file mode 100644 index 000000000..f15ac9bd5 --- /dev/null +++ b/community/mate-screensaver/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 104210 2014-01-16 17:01:37Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-screensaver +pkgver=1.6.1 +pkgrel=6 +pkgdesc='Screensaver for MATE' +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'libmatekbd' 'libnotify' 'libxss' 'mate-desktop' + 'mate-menus' 'mate-session-manager') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser' 'xmlto') +optdepends=('mate-power-manager: Add power management support.') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz" + mate-screensaver.pam) +sha1sums=('3b4c0c1554fdf96def14efa8f9e100d29dc05984' + '9d88ef9b5a494f3914858bed89e0f94e412dfced') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --with-xscreensaverdir=/usr/share/xscreensaver/config \ + --with-xscreensaverhackdir=/usr/lib/xscreensaver \ + --with-mit-ext \ + --with-libnotify \ + --enable-locking \ + --disable-static + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-screensaver/mate-screensaver.install b/community/mate-screensaver/mate-screensaver.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-screensaver/mate-screensaver.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/mate-screensaver/mate-screensaver.pam b/community/mate-screensaver/mate-screensaver.pam new file mode 100644 index 000000000..c776a5410 --- /dev/null +++ b/community/mate-screensaver/mate-screensaver.pam @@ -0,0 +1,3 @@ +#%PAM-1.0 +auth required pam_unix_auth.so +auth optional pam_gnome_keyring.so diff --git a/community/mate-sensors-applet/PKGBUILD b/community/mate-sensors-applet/PKGBUILD new file mode 100644 index 000000000..c78432fa8 --- /dev/null +++ b/community/mate-sensors-applet/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 104246 2014-01-16 18:03:24Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-sensors-applet +pkgver=1.6.1 +pkgrel=1 +pkgdesc="A MATE Panel applet to display readings from hardware sensors, including CPU temperature, fan speeds and voltage readings." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus' 'gtk2' 'libatasmart' 'libnotify' 'libxnvctrl' 'lm_sensors' 'mate-panel' ) +makedepends=('docbook-xml' 'mate-common' 'mate-doc-utils' 'perl-xml-parser' 'rarian') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('3b57d8e4b47ff2b25bbcee465c0ef7c37bcff1f7') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-sensors-applet/mate-sensors-applet.install b/community/mate-sensors-applet/mate-sensors-applet.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-sensors-applet/mate-sensors-applet.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-session-manager/PKGBUILD b/community/mate-session-manager/PKGBUILD new file mode 100644 index 000000000..f068aafd5 --- /dev/null +++ b/community/mate-session-manager/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 104191 2014-01-16 16:24:45Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=mate-session-manager +pkgver=1.6.1 +pkgrel=9 +pkgdesc="The MATE Session Handler" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL' 'LGPL') +depends=('dbus-glib' 'gtk2' 'libsm' 'libxtst' 'mate-desktop' 'mate-polkit' + 'mate-settings-daemon') +makedepends=('mate-common' 'perl-xml-parser' 'xmlto') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz" + f0b5b1ab78879d64f80117415aacf029359afea5.diff + e934e91226e9a93956121c9c84ecf3664fcd68be.diff) +sha1sums=('46188f6c02cc5978688af9d5db4be09f1b9199a5' + '20fb99c29731d05191cd0029d0573db784b06ccf' + '4312495bcd12ca5a20f7d5442b7517902605534c') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + # fix systemd-login1 support for hibernate/suspend + # https://github.com/mate-desktop/mate-session-manager/commit/f0b5b1ab78879d64f80117415aacf029359afea5 + patch -Np1 -i "${srcdir}/f0b5b1ab78879d64f80117415aacf029359afea5.diff" + + # Make upower optional + # https://github.com/mate-desktop/mate-session-manager/commit/e934e91226e9a93956121c9c84ecf3664fcd68be + patch -Np1 -i "${srcdir}/e934e91226e9a93956121c9c84ecf3664fcd68be.diff" + + # Recreate the build system because configure.ac was patched. + autoreconf -fi +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-upower + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-session-manager/e934e91226e9a93956121c9c84ecf3664fcd68be.diff b/community/mate-session-manager/e934e91226e9a93956121c9c84ecf3664fcd68be.diff new file mode 100644 index 000000000..bd42a4722 --- /dev/null +++ b/community/mate-session-manager/e934e91226e9a93956121c9c84ecf3664fcd68be.diff @@ -0,0 +1,293 @@ +diff --git a/configure.ac b/configure.ac +index 37bb191..a9e20ef 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -70,7 +70,6 @@ PKG_CHECK_MODULES(MATE_SESSION, + gio-2.0 >= $GIO_REQUIRED + gtk+-$GTK_API_VERSION >= $GTK_REQUIRED + dbus-glib-1 >= $DBUS_GLIB_REQUIRED +- upower-glib >= $UPOWER_REQUIRED + ) + + PKG_CHECK_MODULES(SESSION_PROPERTIES, +@@ -128,6 +127,24 @@ AM_CONDITIONAL(HAVE_SYSTEMD, test "x$use_systemd" = "xyes") + AC_SUBST(HAVE_SYSTEMD) + + dnl ==================================================================== ++dnl UPOWER ++dnl ==================================================================== ++ ++AC_ARG_ENABLE(upower, ++ AS_HELP_STRING([--enable-upower], ++ [Use upower to suspend/hibernate]), ++ enable_upower=$enableval, ++ enable_upower=yes) ++if test "x$enable_upower" = "xyes"; then ++ PKG_CHECK_MODULES(UPOWER, upower-glib >= $UPOWER_REQUIRED, has_upower=yes, has_upower=no) ++ AC_DEFINE(HAVE_UPOWER, 1, [upower support]) ++ AC_SUBST(UPOWER_CFLAGS) ++ AC_SUBST(UPOWER_LIBS) ++fi ++AM_CONDITIONAL(HAVE_UPOWER, test "x$enable_upower" = "xyes") ++AC_SUBST(HAVE_UPOWER) ++ ++dnl ==================================================================== + dnl X development libraries check + dnl ==================================================================== + +@@ -385,6 +402,7 @@ echo " + GTK+ version: ${with_gtk} + Default WM: ${with_default_wm} + Systemd support: ${use_systemd} ++ Upower support: ${enable_upower} + IPv6 support: ${have_full_ipv6} + Backtrace support: ${have_backtrace} + XRender support: ${have_xrender} +diff --git a/mate-session/Makefile.am b/mate-session/Makefile.am +index f37a0e2..53f0fc7 100644 +--- a/mate-session/Makefile.am ++++ b/mate-session/Makefile.am +@@ -7,6 +7,7 @@ noinst_PROGRAMS = \ + AM_CPPFLAGS = \ + $(MATE_SESSION_CFLAGS) \ + $(SYSTEMD_CFLAGS) \ ++ $(UPOWER_CFLAGS) \ + $(DISABLE_DEPRECATED_CFLAGS) + + AM_CFLAGS = $(WARN_CFLAGS) +@@ -76,6 +77,7 @@ mate_session_LDADD = \ + $(XEXT_LIBS) \ + $(MATE_SESSION_LIBS) \ + $(SYSTEMD_LIBS) \ ++ $(UPOWER_LIBS) \ + $(EXECINFO_LIBS) + + libgsmutil_la_SOURCES = \ +diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c +index 1a79875..323f123 100644 +--- a/mate-session/gsm-logout-dialog.c ++++ b/mate-session/gsm-logout-dialog.c +@@ -27,7 +27,9 @@ + #include <glib/gi18n.h> + #include <gtk/gtk.h> + ++#ifdef HAVE_UPOWER + #include <upower.h> ++#endif + + #include "gsm-logout-dialog.h" + #ifdef HAVE_SYSTEMD +@@ -52,8 +54,9 @@ + struct _GsmLogoutDialogPrivate + { + GsmDialogLogoutType type; +- ++#ifdef HAVE_UPOWER + UpClient *up_client; ++#endif + #ifdef HAVE_SYSTEMD + GsmSystemd *systemd; + #endif +@@ -147,9 +150,9 @@ enum { + gtk_window_set_skip_taskbar_hint (GTK_WINDOW (logout_dialog), TRUE); + gtk_window_set_keep_above (GTK_WINDOW (logout_dialog), TRUE); + gtk_window_stick (GTK_WINDOW (logout_dialog)); +- ++#ifdef HAVE_UPOWER + logout_dialog->priv->up_client = up_client_new (); +- ++#endif + #ifdef HAVE_SYSTEMD + if (LOGIND_RUNNING()) + logout_dialog->priv->systemd = gsm_get_systemd (); +@@ -176,12 +179,12 @@ enum { + g_source_remove (logout_dialog->priv->timeout_id); + logout_dialog->priv->timeout_id = 0; + } +- ++#ifdef HAVE_UPOWER + if (logout_dialog->priv->up_client) { + g_object_unref (logout_dialog->priv->up_client); + logout_dialog->priv->up_client = NULL; + } +- ++#endif + #ifdef HAVE_SYSTEMD + if (logout_dialog->priv->systemd) { + g_object_unref (logout_dialog->priv->systemd); +@@ -201,13 +204,17 @@ enum { + gsm_logout_supports_system_suspend (GsmLogoutDialog *logout_dialog) + { + gboolean ret; ++ ret = FALSE; + #ifdef HAVE_SYSTEMD + if (LOGIND_RUNNING()) + ret = gsm_systemd_can_suspend (logout_dialog->priv->systemd); ++#endif ++#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) + else + #endif ++#ifdef HAVE_UPOWER + ret = up_client_get_can_suspend (logout_dialog->priv->up_client); +- ++#endif + return ret; + } + +@@ -215,13 +222,17 @@ enum { + gsm_logout_supports_system_hibernate (GsmLogoutDialog *logout_dialog) + { + gboolean ret; ++ ret = FALSE; + #ifdef HAVE_SYSTEMD + if (LOGIND_RUNNING()) + ret = gsm_systemd_can_hibernate (logout_dialog->priv->systemd); ++#endif ++#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) + else + #endif ++#ifdef HAVE_UPOWER + ret = up_client_get_can_hibernate (logout_dialog->priv->up_client); +- ++#endif + return ret; + } + +diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c +index 79d0829..17a20b8 100644 +--- a/mate-session/gsm-manager.c ++++ b/mate-session/gsm-manager.c +@@ -38,7 +38,9 @@ + #include <dbus/dbus-glib.h> + #include <dbus/dbus-glib-lowlevel.h> + ++#ifdef HAVE_UPOWER + #include <upower.h> ++#endif + + #include <gtk/gtk.h> /* for logout dialog */ + #include <gio/gio.h> /* for gsettings */ +@@ -144,9 +146,10 @@ struct GsmManagerPrivate + + DBusGProxy *bus_proxy; + DBusGConnection *connection; +- ++#ifdef HAVE_UPOWER + /* Interface with other parts of the system */ + UpClient *up_client; ++#endif + }; + + enum { +@@ -1097,10 +1100,11 @@ enum { + static void + manager_attempt_hibernate (GsmManager *manager) + { ++#ifdef HAVE_UPOWER + gboolean can_hibernate; + GError *error; + gboolean ret; +- ++#endif + #ifdef HAVE_SYSTEMD + if (LOGIND_RUNNING()) { + +@@ -1113,8 +1117,11 @@ enum { + + gsm_systemd_attempt_hibernate (systemd); + } ++#endif ++#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) + else { + #endif ++#ifdef HAVE_UPOWER + can_hibernate = up_client_get_can_hibernate (manager->priv->up_client); + if (can_hibernate) { + +@@ -1129,7 +1136,8 @@ enum { + g_error_free (error); + } + } +-#ifdef HAVE_SYSTEMD ++#endif ++#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) + } + #endif + } +@@ -1137,10 +1145,11 @@ enum { + static void + manager_attempt_suspend (GsmManager *manager) + { ++#ifdef HAVE_UPOWER + gboolean can_suspend; + GError *error; + gboolean ret; +- ++#endif + #ifdef HAVE_SYSTEMD + if (LOGIND_RUNNING()) { + +@@ -1153,8 +1162,11 @@ enum { + + gsm_systemd_attempt_suspend (systemd); + } ++#endif ++#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) + else { + #endif ++#ifdef HAVE_UPOWER + can_suspend = up_client_get_can_suspend (manager->priv->up_client); + if (can_suspend) { + +@@ -1169,7 +1181,8 @@ enum { + g_error_free (error); + } + } +-#ifdef HAVE_SYSTEMD ++#endif ++#if defined(HAVE_SYSTEMD) && defined(HAVE_UPOWER) + } + #endif + } +@@ -2341,12 +2354,12 @@ enum { + g_object_unref (manager->priv->settings_screensaver); + manager->priv->settings_screensaver = NULL; + } +- ++#ifdef HAVE_UPOWER + if (manager->priv->up_client != NULL) { + g_object_unref (manager->priv->up_client); + manager->priv->up_client = NULL; + } +- ++#endif + G_OBJECT_CLASS (gsm_manager_parent_class)->dispose (object); + } + +@@ -2553,9 +2566,9 @@ enum { + "status-changed", + G_CALLBACK (on_presence_status_changed), + manager); +- ++#ifdef HAVE_UPOWER + manager->priv->up_client = up_client_new (); +- ++#endif + g_signal_connect (manager->priv->settings_session, + "changed", + G_CALLBACK (on_gsettings_key_changed), +@@ -3224,12 +3237,12 @@ enum { + #endif + gboolean can_suspend; + gboolean can_hibernate; +- ++#ifdef HAVE_UPOWER + g_object_get (manager->priv->up_client, + "can-suspend", &can_suspend, + "can-hibernate", &can_hibernate, + NULL); +- ++#endif + g_debug ("GsmManager: CanShutdown called"); + + g_return_val_if_fail (GSM_IS_MANAGER (manager), FALSE); diff --git a/community/mate-session-manager/f0b5b1ab78879d64f80117415aacf029359afea5.diff b/community/mate-session-manager/f0b5b1ab78879d64f80117415aacf029359afea5.diff new file mode 100644 index 000000000..ffbe19a5d --- /dev/null +++ b/community/mate-session-manager/f0b5b1ab78879d64f80117415aacf029359afea5.diff @@ -0,0 +1,271 @@ +diff --git a/mate-session/gsm-logout-dialog.c b/mate-session/gsm-logout-dialog.c +index 2d2947c..1a79875 100644 +--- a/mate-session/gsm-logout-dialog.c ++++ b/mate-session/gsm-logout-dialog.c +@@ -200,13 +200,29 @@ enum { + static gboolean + gsm_logout_supports_system_suspend (GsmLogoutDialog *logout_dialog) + { +- return up_client_get_can_suspend (logout_dialog->priv->up_client); ++ gboolean ret; ++#ifdef HAVE_SYSTEMD ++ if (LOGIND_RUNNING()) ++ ret = gsm_systemd_can_suspend (logout_dialog->priv->systemd); ++ else ++#endif ++ ret = up_client_get_can_suspend (logout_dialog->priv->up_client); ++ ++ return ret; + } + + static gboolean + gsm_logout_supports_system_hibernate (GsmLogoutDialog *logout_dialog) + { +- return up_client_get_can_hibernate (logout_dialog->priv->up_client); ++ gboolean ret; ++#ifdef HAVE_SYSTEMD ++ if (LOGIND_RUNNING()) ++ ret = gsm_systemd_can_hibernate (logout_dialog->priv->systemd); ++ else ++#endif ++ ret = up_client_get_can_hibernate (logout_dialog->priv->up_client); ++ ++ return ret; + } + + static gboolean +diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c +index 8143d1f..b4986ac 100644 +--- a/mate-session/gsm-manager.c ++++ b/mate-session/gsm-manager.c +@@ -1109,6 +1109,20 @@ enum { + GError *error; + gboolean ret; + ++#ifdef HAVE_SYSTEMD ++ if (LOGIND_RUNNING()) { ++ ++ GsmSystemd *systemd; ++ ++ systemd = gsm_get_systemd (); ++ ++ /* lock the screen before we suspend */ ++ manager_perhaps_lock (manager); ++ ++ gsm_systemd_attempt_hibernate (systemd); ++ } ++ else { ++#endif + can_hibernate = up_client_get_can_hibernate (manager->priv->up_client); + if (can_hibernate) { + +@@ -1123,6 +1137,9 @@ enum { + g_error_free (error); + } + } ++#ifdef HAVE_SYSTEMD ++ } ++#endif + } + + static void +@@ -1132,6 +1149,20 @@ enum { + GError *error; + gboolean ret; + ++#ifdef HAVE_SYSTEMD ++ if (LOGIND_RUNNING()) { ++ ++ GsmSystemd *systemd; ++ ++ systemd = gsm_get_systemd (); ++ ++ /* lock the screen before we suspend */ ++ manager_perhaps_lock (manager); ++ ++ gsm_systemd_attempt_suspend (systemd); ++ } ++ else { ++#endif + can_suspend = up_client_get_can_suspend (manager->priv->up_client); + if (can_suspend) { + +@@ -1146,6 +1177,9 @@ enum { + g_error_free (error); + } + } ++#ifdef HAVE_SYSTEMD ++ } ++#endif + } + + static void +diff --git a/mate-session/gsm-systemd.c b/mate-session/gsm-systemd.c +index 377f026..dbe8ea0 100644 +--- a/mate-session/gsm-systemd.c ++++ b/mate-session/gsm-systemd.c +@@ -725,6 +725,141 @@ static void gsm_systemd_on_name_owner_changed (DBusGProxy *bus_proxy, + return can_stop; + } + ++gboolean ++gsm_systemd_can_hibernate (GsmSystemd *manager) ++{ ++ gboolean res; ++ gchar *value; ++ gboolean can_hibernate; ++ GError *error; ++ ++ error = NULL; ++ ++ if (!gsm_systemd_ensure_sd_connection (manager, &error)) { ++ g_warning ("Could not connect to Systemd: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++ ++ res = dbus_g_proxy_call_with_timeout (manager->priv->sd_proxy, ++ "CanHibernate", ++ INT_MAX, ++ &error, ++ G_TYPE_INVALID, ++ G_TYPE_STRING, &value, ++ G_TYPE_INVALID); ++ if (res == FALSE) { ++ g_warning ("Could not make DBUS call: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++ ++ can_hibernate = g_strcmp0 (value, "yes") == 0 || ++ g_strcmp0 (value, "challenge") == 0; ++ g_free (value); ++ return can_hibernate; ++} ++ ++gboolean ++gsm_systemd_can_suspend (GsmSystemd *manager) ++{ ++ gboolean res; ++ gchar *value; ++ gboolean can_suspend; ++ GError *error; ++ ++ error = NULL; ++ ++ if (!gsm_systemd_ensure_sd_connection (manager, &error)) { ++ g_warning ("Could not connect to Systemd: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++ ++ res = dbus_g_proxy_call_with_timeout (manager->priv->sd_proxy, ++ "CanSuspend", ++ INT_MAX, ++ &error, ++ G_TYPE_INVALID, ++ G_TYPE_STRING, &value, ++ G_TYPE_INVALID); ++ if (res == FALSE) { ++ g_warning ("Could not make DBUS call: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++ ++ can_suspend = g_strcmp0 (value, "yes") == 0 || ++ g_strcmp0 (value, "challenge") == 0; ++ g_free (value); ++ return can_suspend; ++} ++ ++void ++gsm_systemd_attempt_hibernate (GsmSystemd *manager) ++{ ++ gboolean res; ++ GError *error; ++ ++ error = NULL; ++ ++ if (!gsm_systemd_ensure_sd_connection (manager, &error)) { ++ g_warning ("Could not connect to Systemd: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++ ++ res = dbus_g_proxy_call_with_timeout (manager->priv->sd_proxy, ++ "Hibernate", ++ INT_MAX, ++ &error, ++ G_TYPE_BOOLEAN, TRUE, /* interactive */ ++ G_TYPE_INVALID, ++ G_TYPE_INVALID); ++ if (res == FALSE) { ++ g_warning ("Could not make DBUS call: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++ ++} ++ ++void ++gsm_systemd_attempt_suspend (GsmSystemd *manager) ++{ ++ gboolean res; ++ GError *error; ++ ++ error = NULL; ++ ++ if (!gsm_systemd_ensure_sd_connection (manager, &error)) { ++ g_warning ("Could not connect to Systemd: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++ ++ res = dbus_g_proxy_call_with_timeout (manager->priv->sd_proxy, ++ "Suspend", ++ INT_MAX, ++ &error, ++ G_TYPE_BOOLEAN, TRUE, /* interactive */ ++ G_TYPE_INVALID, ++ G_TYPE_INVALID); ++ if (res == FALSE) { ++ g_warning ("Could not make DBUS call: %s", ++ error->message); ++ g_error_free (error); ++ return FALSE; ++ } ++} ++ + gchar * + gsm_systemd_get_current_session_type (GsmSystemd *manager) + { +diff --git a/mate-session/gsm-systemd.h b/mate-session/gsm-systemd.h +index 8e886ba..e0e21c4 100644 +--- a/mate-session/gsm-systemd.h ++++ b/mate-session/gsm-systemd.h +@@ -89,10 +89,18 @@ enum _GsmSystemdError { + + gboolean gsm_systemd_can_restart (GsmSystemd *manager); + ++gboolean gsm_systemd_can_hibernate (GsmSystemd *manager); ++ ++gboolean gsm_systemd_can_suspend (GsmSystemd *manager); ++ + void gsm_systemd_attempt_stop (GsmSystemd *manager); + + void gsm_systemd_attempt_restart (GsmSystemd *manager); + ++void gsm_systemd_attempt_hibernate (GsmSystemd *manager); ++ ++void gsm_systemd_attempt_suspend (GsmSystemd *manager); ++ + void gsm_systemd_set_session_idle (GsmSystemd *manager, + gboolean is_idle); + diff --git a/community/mate-session-manager/mate-session-manager.install b/community/mate-session-manager/mate-session-manager.install new file mode 100644 index 000000000..b30edffe9 --- /dev/null +++ b/community/mate-session-manager/mate-session-manager.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-settings-daemon/PKGBUILD b/community/mate-settings-daemon/PKGBUILD new file mode 100644 index 000000000..3362cab7c --- /dev/null +++ b/community/mate-settings-daemon/PKGBUILD @@ -0,0 +1,71 @@ +# $Id: PKGBUILD 104187 2014-01-16 16:09:53Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> + +pkgbase=mate-settings-daemon +pkgname=("${pkgbase}-pulseaudio" "${pkgbase}-gstreamer") +pkgver=1.6.2 +pkgrel=5 +pkgdesc="The MATE Settings daemon" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus-glib' 'dconf' 'fontconfig' 'gstreamer0.10-base' 'gtk2' + 'libcanberra-pulse' 'libmatekbd' 'libnotify' 'libxt' 'mate-desktop' + 'nss' 'polkit' 'pulseaudio-alsa') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgbase}-${pkgver}.tar.xz") +sha1sums=('76c50bddcffd6b0415b058c828784bcd11c034ee') +install=${pkgbase}.install + +build() { + cd "${srcdir}" + cp -a ${pkgbase}-${pkgver}{,-gstreamer} + + # build for pulseaudio + cd "${srcdir}/${pkgbase}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgbase} \ + --sysconfdir=/etc \ + --enable-polkit \ + --enable-pulse \ + --disable-gstreamer \ + --disable-static + make + + # build for gstreamer + cd "${srcdir}/${pkgbase}-${pkgver}-gstreamer" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgbase} \ + --sysconfdir=/etc \ + --enable-polkit \ + --enable-gstreamer \ + --disable-pulse \ + --disable-static + make +} + +package_mate-settings-daemon-pulseaudio() { + groups=('mate') + pkgdesc="The MATE Settings daemon (pulseaudio)" + depends=('dbus-glib' 'dconf' 'fontconfig' 'gtk2' 'libcanberra-pulse' + 'libmatekbd' 'libnotify' 'libxt' 'mate-desktop' 'nss' 'polkit' + 'pulseaudio-alsa') + conflicts=("${pkgbase}-gstreamer" 'mate-media-gstreamer') + provides=("${pkgbase}") + replaces=("${pkgbase}") + cd "${srcdir}/${pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install +} + +package_mate-settings-daemon-gstreamer() { + pkgdesc="The MATE Settings daemon (GStreamer)" + depends=('dbus-glib' 'dconf' 'fontconfig' 'gstreamer0.10-base' 'gtk2' + 'libmatekbd' 'libnotify' 'libxt' 'mate-desktop' 'nss' 'polkit') + conflicts=("${pkgbase}-pulseaudio" 'mate-media-pulseaudio') + provides=("${pkgbase}") + cd "${srcdir}/${pkgbase}-${pkgver}-gstreamer" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-settings-daemon/mate-settings-daemon.install b/community/mate-settings-daemon/mate-settings-daemon.install new file mode 100644 index 000000000..d6813b0f7 --- /dev/null +++ b/community/mate-settings-daemon/mate-settings-daemon.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/mate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-system-monitor/PKGBUILD b/community/mate-system-monitor/PKGBUILD new file mode 100644 index 000000000..9741948c9 --- /dev/null +++ b/community/mate-system-monitor/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104271 2014-01-16 18:56:12Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-system-monitor +pkgver=1.6.1 +pkgrel=6 +pkgdesc="A system monitor for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dconf' 'dbus-glib' 'glibmm' 'gtk2' 'gtkmm' 'libgtop' 'libmatewnck' 'librsvg' + 'mate-icon-theme') +makedepends=('docbook2x' 'mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('84b6e8f3557bdadada026aeb349f6e9e90b59c6a') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --localstatedir=/var \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-system-monitor/mate-system-monitor.install b/community/mate-system-monitor/mate-system-monitor.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-system-monitor/mate-system-monitor.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/mate-system-tools/PKGBUILD b/community/mate-system-tools/PKGBUILD new file mode 100644 index 000000000..55f89914e --- /dev/null +++ b/community/mate-system-tools/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 104274 2014-01-16 19:22:48Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-system-tools +pkgver=1.6.0 +pkgrel=8 +pkgdesc="Suite of tools for MATE to simplify configuring workstations." +url="http://mate-desktop.org/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dconf' 'gtk2' 'liboobs' 'mate-polkit' 'system-tools-backends' + 'wireless_tools') +makedepends=('mate-common' 'mate-doc-utils' 'mate-file-manager' 'perl-xml-parser') +optdepends=('ntp: Automatic time synchronisation.' + 'mate-file-manager: provides Caja Shares extension') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('89d53c22171f6181ad4fb89387d4fa3300bb27b2') +install=${pkgname}.install + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + # Modify the groups for Arch + # - https://wiki.archlinux.org/index.php/Users_and_Groups + # - https://wiki.archlinux.org/index.php/Systemd#Supplementary_information + # - https://bbs.archlinux.org/viewtopic.php?pid=1183332 + # Desktop user + sed -i 's/cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,audio,scanner,fuse,video/adm,log,sys,users,uucp/' src/users/user-profiles.conf.in + + # Administrator + sed -i 's/cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,audio,scanner,fuse,admin,sambashare,lpadmin,video/adm,disk,locate,log,sys,users,uucp,wheel/' src/users/user-profiles.conf.in +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./autogen.sh \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-scrollkeeper \ + LIBS="-lm" # Required for MATE 1.6 but can be removed in MATE 1.7/1.8 + 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/mate-system-tools/mate-system-tools.install b/community/mate-system-tools/mate-system-tools.install new file mode 100644 index 000000000..d6813b0f7 --- /dev/null +++ b/community/mate-system-tools/mate-system-tools.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/mate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-terminal/PKGBUILD b/community/mate-terminal/PKGBUILD new file mode 100644 index 000000000..8787ef79a --- /dev/null +++ b/community/mate-terminal/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 104248 2014-01-16 18:05:57Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-terminal +pkgver=1.6.2 +pkgrel=1 +pkgdesc="The MATE Terminal Emulator" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('dbus' 'dconf' 'gtk2' 'libsm' 'mate-desktop' 'vte') +makedepends=('docbook2x' 'mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('951c006c5ee31da0d0da1ebad4d1e6648fe0e41b') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-terminal/mate-terminal.install b/community/mate-terminal/mate-terminal.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-terminal/mate-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/mate-text-editor/PKGBUILD b/community/mate-text-editor/PKGBUILD new file mode 100644 index 000000000..2c384761e --- /dev/null +++ b/community/mate-text-editor/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104251 2014-01-16 18:10:47Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-text-editor +pkgver=1.6.2 +pkgrel=1 +pkgdesc="A powerful text editor for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('desktop-file-utils' 'enchant' 'gtk2' 'gtksourceview2' 'iso-codes' + 'libsm' 'mate-desktop' 'mate-file-manager' 'python2' 'python2-gobject2' + 'pygtksourceview2') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('64e34ae5724608fcc5adff195515b74e1e3e5bd6') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib \ + --enable-python \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-text-editor/mate-text-editor.install b/community/mate-text-editor/mate-text-editor.install new file mode 100644 index 000000000..ed73415a4 --- /dev/null +++ b/community/mate-text-editor/mate-text-editor.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-text-editor/pluma_gettext_fix.diff b/community/mate-text-editor/pluma_gettext_fix.diff new file mode 100644 index 000000000..b6829835a --- /dev/null +++ b/community/mate-text-editor/pluma_gettext_fix.diff @@ -0,0 +1,18 @@ +diff --git a/configure.ac b/configure.ac +index be832f7..485c574 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -155,10 +155,11 @@ dnl Gettext stuff. + dnl ================================================================ + + IT_PROG_INTLTOOL([0.40.0]) +-AC_SUBST([GETTEXT_PACKAGE], [pluma]) ++GETTEXT_PACKAGE=pluma ++AC_SUBST([GETTEXT_PACKAGE]) + AM_GNU_GETTEXT_VERSION([0.17]) + AM_GLIB_GNU_GETTEXT +-AC_DEFINE([GETTEXT_PACKAGE],[PACKAGE_TARNAME], [Define to the gettext package name.]) ++AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Define to the Gettext package name]) + + dnl ================================================================ + dnl Use gvfs metadata or the old xml file store. diff --git a/community/mate-user-share/PKGBUILD b/community/mate-user-share/PKGBUILD new file mode 100644 index 000000000..a78fb028f --- /dev/null +++ b/community/mate-user-share/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 104276 2014-01-16 19:31:39Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-user-share +pkgver=1.6.1 +pkgrel=4 +pkgdesc="User level public file sharing via WebDAV." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('apache' 'dbus-glib' 'dconf' 'libunique' 'mod_dnssd') +makedepends=('libcanberra' 'libnotify' 'mate-common' 'mate-doc-utils' + 'mate-file-manager' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate-extra') +install=${pkgname}.install +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz" + "https://github.com/mate-desktop/mate-user-share/commit/7a0305478295e9e7c284372677a4cbc382444482.diff") +sha1sums=('83f161dee79ea0ae4345c54a5b1339f673f68e8f' + 'ffa10ae69f5edf08d605418182f3c5bc975eb3cf') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + # do not use download dir for incoming bluetooth downloads if mate-bluetooth isn't installed + patch -Np1 -i "${srcdir}/7a0305478295e9e7c284372677a4cbc382444482.diff" +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --libexec=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --disable-static \ + --disable-scrollkeeper \ + --disable-bluetooth + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + rm -f "${pkgdir}/usr/share/mate-user-share/dav_user_2.0.conf" +} diff --git a/community/mate-user-share/mate-user-share.install b/community/mate-user-share/mate-user-share.install new file mode 100644 index 000000000..7af080f58 --- /dev/null +++ b/community/mate-user-share/mate-user-share.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-utils/422504e251442ca9921c4218151cffb6548280e6.diff b/community/mate-utils/422504e251442ca9921c4218151cffb6548280e6.diff new file mode 100644 index 000000000..fd71dbb57 --- /dev/null +++ b/community/mate-utils/422504e251442ca9921c4218151cffb6548280e6.diff @@ -0,0 +1,62 @@ +diff --git a/mate-screenshot/mate-screenshot.c b/mate-screenshot/mate-screenshot.c +index 63ec5d9..6510f7f 100644 +--- a/mate-screenshot/mate-screenshot.c ++++ b/mate-screenshot/mate-screenshot.c +@@ -809,13 +809,14 @@ enum + finish_prepare_screenshot (char *initial_uri, GdkWindow *window, GdkRectangle *rectangle) + { + ScreenshotDialog *dialog; ++ gboolean include_mask = (!take_window_shot && !take_area_shot); + + /* always disable window border for full-desktop or selected-area screenshots */ + if (!take_window_shot) +- screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, FALSE); ++ screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, FALSE, include_mask); + else + { +- screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, include_border); ++ screenshot = screenshot_get_pixbuf (window, rectangle, include_pointer, include_border, include_mask); + + switch (border_effect[0]) + { +diff --git a/mate-screenshot/screenshot-utils.c b/mate-screenshot/screenshot-utils.c +index b41ae4b..faed676 100644 +--- a/mate-screenshot/screenshot-utils.c ++++ b/mate-screenshot/screenshot-utils.c +@@ -670,7 +670,8 @@ + screenshot_get_pixbuf (GdkWindow *window, + GdkRectangle *rectangle, + gboolean include_pointer, +- gboolean include_border) ++ gboolean include_border, ++ gboolean include_mask) + { + GdkWindow *root; + GdkPixbuf *screenshot; +@@ -738,7 +739,11 @@ + x_orig, y_orig, 0, 0, + width, height); + +- mask_monitors (screenshot, root); ++ /* ++ * Masking currently only works properly with full-screen shots ++ */ ++ if (include_mask) ++ mask_monitors (screenshot, root); + + #ifdef HAVE_X11_EXTENSIONS_SHAPE_H + if (include_border) +diff --git a/mate-screenshot/screenshot-utils.h b/mate-screenshot/screenshot-utils.h +index 0af2ba3..5404bde 100644 +--- a/mate-screenshot/screenshot-utils.h ++++ b/mate-screenshot/screenshot-utils.h +@@ -36,7 +36,8 @@ gboolean screenshot_select_area (int *px, + GdkPixbuf *screenshot_get_pixbuf (GdkWindow *win, + GdkRectangle *rectangle, + gboolean include_pointer, +- gboolean include_border); ++ gboolean include_border, ++ gboolean include_mask); + + void screenshot_show_error_dialog (GtkWindow *parent, + const gchar *message, diff --git a/community/mate-utils/PKGBUILD b/community/mate-utils/PKGBUILD new file mode 100644 index 000000000..66b8ddd6c --- /dev/null +++ b/community/mate-utils/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 104256 2014-01-16 18:15:52Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-utils +pkgver=1.6.1 +pkgrel=1 +pkgdesc="Common MATE utilities for viewing disk usage, logs and fonts, taking screenshots, managing dictionaries and searching files" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2' 'libcanberra' 'libgtop' 'libsm' 'mate-desktop' 'zlib') +makedepends=('mate-common' 'mate-doc-utils' 'mate-panel' 'perl-xml-parser' + 'rarian') +optdepends=('mate-panel: Look up words in dictionaries from the panel') +options=('!emptydirs') +groups=('mate-extra') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('c765c53cd4b279155d30ed057a78a584e5b2addc') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --libexecdir=/usr/lib/${pkgname} \ + --sysconfdir=/etc \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-utils/mate-utils.install b/community/mate-utils/mate-utils.install new file mode 100644 index 000000000..d6813b0f7 --- /dev/null +++ b/community/mate-utils/mate-utils.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/mate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/mate-utils/patch.diff b/community/mate-utils/patch.diff new file mode 100644 index 000000000..6971c219e --- /dev/null +++ b/community/mate-utils/patch.diff @@ -0,0 +1,34 @@ +From a59fda7d006b856ac5982750f2ffdefd24191be0 Mon Sep 17 00:00:00 2001 +From: Stefano Karapetsas <stefano@karapetsas.com> +Date: Thu, 11 Jul 2013 11:14:38 +0000 +Subject: mate-screenshot: Fix save path selection + +Closes #32 +https://github.com/mate-desktop/mate-utils/issues/32 + +Fix from https://bugzilla.gnome.org/show_bug.cgi?id=579232 +--- +diff --git a/mate-screenshot/screenshot-dialog.c b/mate-screenshot/screenshot-dialog.c +index bcac343..b5b2be5 100644 +--- a/mate-screenshot/screenshot-dialog.c ++++ b/mate-screenshot/screenshot-dialog.c +@@ -338,7 +338,7 @@ screenshot_dialog_get_uri (ScreenshotDialog *dialog) + gchar *uri, *file, *tmp; + GError *error; + +- folder = gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (dialog->save_widget)); ++ folder = gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog->save_widget)); + file_name = gtk_entry_get_text (GTK_ENTRY (dialog->filename_entry)); + + error = NULL; +@@ -366,7 +366,7 @@ screenshot_dialog_get_uri (ScreenshotDialog *dialog) + char * + screenshot_dialog_get_folder (ScreenshotDialog *dialog) + { +- return gtk_file_chooser_get_current_folder_uri (GTK_FILE_CHOOSER (dialog->save_widget)); ++ return gtk_file_chooser_get_uri (GTK_FILE_CHOOSER (dialog->save_widget)); + } + + GdkPixbuf * +-- +cgit diff --git a/community/mate-window-manager/PKGBUILD b/community/mate-window-manager/PKGBUILD new file mode 100644 index 000000000..fa498c203 --- /dev/null +++ b/community/mate-window-manager/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 104189 2014-01-16 16:18:35Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni Ricciardi <kar98k.sniper@gmail.com> + +pkgname=mate-window-manager +pkgver=1.6.2 +pkgrel=4 +pkgdesc="A window manager for MATE" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('gtk2' 'libcanberra' 'libgtop' 'libice' 'libsm' 'libxt' 'mate-desktop' + 'mate-dialogs' 'startup-notification') +makedepends=('mate-common' 'mate-doc-utils' 'perl-xml-parser') +options=('!emptydirs') +groups=('mate') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('dce0fd1953d75b4aad88d4818228eac677fb1d7b') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-startup-notification \ + --disable-static \ + --disable-scrollkeeper + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/mate-window-manager/mate-window-manager.install b/community/mate-window-manager/mate-window-manager.install new file mode 100644 index 000000000..3a06d45b9 --- /dev/null +++ b/community/mate-window-manager/mate-window-manager.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/mpv/PKGBUILD b/community/mpv/PKGBUILD index ae6e65128..96ad7e1b2 100644 --- a/community/mpv/PKGBUILD +++ b/community/mpv/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 103520 2014-01-07 07:23:00Z bpiotrowski $ -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# $Id: PKGBUILD 104128 2014-01-16 07:25:21Z bpiotrowski $ +# Maintainer: Bartłomiej Piotrowski <bpiotrowski@archlinux.org> # Contributor: Eivind Uggedal <eivind@uggedal.com> pkgname=mpv -pkgver=0.3.2 +pkgver=0.3.3 pkgrel=1 pkgdesc='Video player based on MPlayer/mplayer2' arch=('i686' 'x86_64') @@ -18,7 +18,7 @@ makedepends=('mesa' 'python-docutils' 'waf') options=('!emptydirs' '!buildflags') install=mpv.install source=(https://github.com/mpv-player/$pkgname/archive/v$pkgver.tar.gz) -md5sums=('516f2eeec1d1f69905d11c1feec8166e') +md5sums=('bdf40570d1fc025058f9f2aabb91899f') build() { cd $pkgname-$pkgver diff --git a/community/pokerth/PKGBUILD b/community/pokerth/PKGBUILD index b6985cc64..afd1d9749 100644 --- a/community/pokerth/PKGBUILD +++ b/community/pokerth/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 103925 2014-01-13 17:16:59Z andyrtr $ +# $Id: PKGBUILD 104126 2014-01-16 06:37:17Z svenstaro $ # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Mateusz Herych <heniekk@gmail.com> # Contributor: Bartłomiej Piotrowski <barthalion@gmail.com> @@ -7,7 +7,7 @@ pkgname=pokerth _realname=PokerTH -pkgver=1.1 +pkgver=1.1.1 pkgrel=1 pkgdesc="Poker game written in C++/Qt4" arch=('i686' 'x86_64') @@ -17,7 +17,7 @@ depends=('curl' 'boost-libs' 'gsasl' 'gnutls' 'protobuf' 'qt5-base' 'sdl_mixer' 'libircclient' 'tinyxml') makedepends=('boost') source=("http://downloads.sourceforge.net/sourceforge/pokerth/$_realname-$pkgver-src.tar.bz2") -md5sums=('7f577fdb04c697ac7227c1a0d4311ffc') +md5sums=('a7f76f95782099f966e5f2b6809f502a') build() { cd "$srcdir/$_realname-$pkgver-src" diff --git a/community/python2-caja/PKGBUILD b/community/python2-caja/PKGBUILD new file mode 100644 index 000000000..3b78035af --- /dev/null +++ b/community/python2-caja/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 104258 2014-01-16 18:22:07Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=python2-caja +_pkgname=python-caja +pkgver=1.6.0 +pkgrel=6 +pkgdesc="Python binding for Caja, to allow Caja property page and menu item extensions to be written in Python." +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('GPL') +depends=('mate-file-manager' 'python2' 'python2-gobject') +makedepends=('mate-common') +options=('!emptydirs') +replaces=('python-caja') +provides=('python-caja') +source=("http://pub.mate-desktop.org/releases/1.6/${_pkgname}-${pkgver}.tar.xz") +sha1sums=('a7dbcff03b9dbdf2f33dbea96946426097eb9e56') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./autogen.sh \ + --prefix=/usr \ + --disable-static + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/sshfs/PKGBUILD b/community/sshfs/PKGBUILD index b42fa1d1d..30ad20f67 100644 --- a/community/sshfs/PKGBUILD +++ b/community/sshfs/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 102191 2013-12-06 12:45:33Z giovanni $ +# $Id: PKGBUILD 104110 2014-01-15 23:34:26Z giovanni $ # Maintainer: Giovanni Scafora <giovanni@archlinux.org> pkgname=sshfs -pkgver=2.4 +pkgver=2.5 pkgrel=1 pkgdesc="FUSE client based on the SSH File Transfer Protocol" arch=('i686' 'x86_64') @@ -11,7 +11,7 @@ license=('GPL') depends=('fuse' 'glib2' 'openssh') makedepends=('pkg-config') source=("http://downloads.sourceforge.net/sourceforge/fuse/${pkgname}-fuse-${pkgver}.tar.gz") -md5sums=('3c7c3647c52ce84d09486f1da3a3ce24') +md5sums=('17494910db8383a366b1301e5f5148a9') build() { cd "${srcdir}/${pkgname}-fuse-${pkgver}" diff --git a/community/system-tools-backends/PKGBUILD b/community/system-tools-backends/PKGBUILD new file mode 100644 index 000000000..49dffb894 --- /dev/null +++ b/community/system-tools-backends/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104267 2014-01-16 18:40:20Z flexiondotorg $ +# Maintainer : Ionut Biru <ibiru@archlinux.org> +# Contributor: Hugo Doria <hugo@archlinux.org> +# Contributor: Martin Wimpress <code@flexion.org> + +pkgname=system-tools-backends +pkgver=2.10.2 +pkgrel=4 +pkgdesc='Backends for Gnome/MATE System Tools.' +arch=('i686' 'x86_64') +url='http://system-tools-backends.freedesktop.org/' +license=('GPL') +depends=('dbus-glib' 'perl' 'perl-net-dbus' 'polkit') +makedepends=('intltool' 'perl-xml-parser') +source=("http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.10/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('1dbe5177df46a9c7250735e05e77129fe7ec04840771accfa87690111ca2c670') + +build() { + cd "${pkgname}-${pkgver}" + ./configure \ + --prefix=/usr \ + --with-dbus-sys=/etc/dbus-1/system.d \ + --localstatedir=/var \ + --mandir=/usr/share \ + --sbindir=/usr/bin \ + --disable-static + make +} + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + #clean up man + rm -rf "${pkgdir}/usr/share/system-tools-backends-2.0/modules/share/" +} diff --git a/community/uwsgi/PKGBUILD b/community/uwsgi/PKGBUILD index cce6fe1a9..2d2f92115 100644 --- a/community/uwsgi/PKGBUILD +++ b/community/uwsgi/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 102953 2013-12-24 23:07:41Z dwallace $ +# $Id: PKGBUILD 104119 2014-01-16 05:24:03Z dwallace $ # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: Valentin Hăloiu <vially.ichb+aur@gmail.com> # Contributor: Angel Velasquez <angvp@archlinux.org> @@ -14,7 +14,6 @@ pkgname=(uwsgi uwsgi-plugin-python uwsgi-plugin-nagios uwsgi-plugin-router - uwsgi-plugin-admin uwsgi-plugin-php uwsgi-plugin-lua51 uwsgi-plugin-carbon @@ -23,7 +22,8 @@ pkgname=(uwsgi uwsgi-plugin-zergpool ) #uwsgi-plugin-erlang -pkgver=1.9.21.1 + #uwsgi-plugin-admin +pkgver=2.0 pkgrel=1 arch=(i686 x86_64) url="http://projects.unbit.it/$pkgbase" @@ -41,8 +41,8 @@ source=(http://projects.unbit.it/downloads/$pkgbase-$pkgver.tar.gz uwsgi_ruby20_compatibility.patch uwsgi_trick_chroot.patch) -md5sums=('82df3eeacc0d4e661459bc50d50e757b' - '2f21e871e81698c88c7ec2dbb4e3833e' +md5sums=('e4ab884be53a18c40975da1f9f14ef3d' + 'a0749da07b545efcbb0276f52be22652' 'b05ba1d796e1ea608a40635bc4f3ec67' '740a7718bd341b03d916a13ddbbbe694' 'db70315bbc8cb886a278ba59d5fd8d57' @@ -155,13 +155,13 @@ package_uwsgi-plugin-router(){ install -Dm755 router_basicauth_plugin.so $pkgdir/usr/lib/uwsgi/basicauth_plugin.so } -package_uwsgi-plugin-admin(){ - depends=( uwsgi-plugin-common) - pkgdesc="Plugin for Admin support" - install -dm755 $pkgdir/usr/bin - install -Dm755 $pkgbase-$pkgver/admin_plugin.so $pkgdir/usr/lib/uwsgi/admin_plugin.so - ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-} -} +#package_uwsgi-plugin-admin(){ +# depends=( uwsgi-plugin-common) +# pkgdesc="Plugin for Admin support" +# install -dm755 $pkgdir/usr/bin +# install -Dm755 $pkgbase-$pkgver/admin_plugin.so $pkgdir/usr/lib/uwsgi/admin_plugin.so +# ln -s uwsgi $pkgdir/usr/bin/uwsgi_${pkgname#uwsgi-plugin-} +#} package_uwsgi-plugin-lua51(){ depends=(lua51 uwsgi-plugin-common) diff --git a/community/uwsgi/archlinux.ini b/community/uwsgi/archlinux.ini index f2550757f..4e689849f 100644 --- a/community/uwsgi/archlinux.ini +++ b/community/uwsgi/archlinux.ini @@ -14,4 +14,4 @@ yaml_implementation = auto malloc_implementation = libc embedded_plugins = echo, ping, http, corerouter plugin_dir = /usr/lib/uwsgi -plugins = echo, ping, http, rack, psgi, corerouter, rbthreads, fiber, python, nagios, admin, lua, cache, cgi, rpc, ugreen, carbon, rrdtool, pam, systemd_logger, php, fastrouter, router_uwsgi, router_redirect, router_basicauth, zergpool, router_rewrite, router_http, router_cache, rawrouter, router_static, sslrouter +plugins = echo, ping, http, rack, psgi, corerouter, rbthreads, fiber, python, nagios, lua, cache, cgi, rpc, ugreen, carbon, rrdtool, pam, systemd_logger, php, fastrouter, router_uwsgi, router_redirect, router_basicauth, zergpool, router_rewrite, router_http, router_cache, rawrouter, router_static, sslrouter diff --git a/extra/gnome-shell/PKGBUILD b/extra/gnome-shell/PKGBUILD index 6db41cfe3..7e5d71aec 100644 --- a/extra/gnome-shell/PKGBUILD +++ b/extra/gnome-shell/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 202388 2013-12-21 15:05:12Z heftig $ +# $Id: PKGBUILD 204299 2014-01-16 21:00:27Z heftig $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Flamelab <panosfilip@gmail.com pkgname=gnome-shell -pkgver=3.10.2.1 -pkgrel=4 +pkgver=3.10.3 +pkgrel=1 pkgdesc="The next generation GNOME Shell" arch=(i686 x86_64) url="http://live.gnome.org/GnomeShell" @@ -19,20 +19,15 @@ optdepends=('gnome-control-center: System settings' install=gnome-shell.install groups=(gnome) source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz - nm-libexecdir.patch - git-fixes.patch) -sha256sums=('d28cedc4f7dbcbd979ef2a0b80f722ff507989fce193fe59351b1d048d17c44c' - 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607' - '192d95387dff5ac772968680cb77abef135b3ad7218676ad51c997d474642cc5') + nm-libexecdir.patch) +sha256sums=('4b14b9ffde08ccee6d972dea353b5f7ed8bbd12e52cb2252c31bcfe59d8242bc' + 'e5bb10ad2e5c3e0fde3d05babd1bfdda701e553e02d493f7e54cb7832ce7e607') prepare() { cd $pkgname-$pkgver # FS#30747 FS#32730 Problems due to libexecdir different from NM patch -Np1 -i ../nm-libexecdir.patch - - # Upstream fixes from 3-10 branch. Includes security bugfix for FS#37930 - patch -Np1 -i ../git-fixes.patch } build() { diff --git a/extra/gnome-shell/git-fixes.patch b/extra/gnome-shell/git-fixes.patch deleted file mode 100644 index 8dbf02d25..000000000 --- a/extra/gnome-shell/git-fixes.patch +++ /dev/null @@ -1,195 +0,0 @@ -diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js -index 1880e36..996b363 100644 ---- a/js/gdm/authPrompt.js -+++ b/js/gdm/authPrompt.js -@@ -263,10 +263,8 @@ const AuthPrompt = new Lang.Class({ - }, - - _onReset: function() { -- if (this.verificationStatus != AuthPromptStatus.VERIFICATION_SUCCEEDED) { -- this.verificationStatus = AuthPromptStatus.NOT_VERIFYING; -- this.reset(); -- } -+ this.verificationStatus = AuthPromptStatus.NOT_VERIFYING; -+ this.reset(); - }, - - addActorToDefaultButtonWell: function(actor) { -diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js -index eb94554..fb3cf70 100644 ---- a/js/gdm/loginDialog.js -+++ b/js/gdm/loginDialog.js -@@ -907,6 +907,10 @@ const LoginDialog = new Lang.Class({ - Main.ctrlAltTabManager.removeGroup(this.dialogLayout); - }, - -+ cancel: function() { -+ this._authPrompt.cancel(); -+ }, -+ - addCharacter: function(unichar) { - this._authPrompt.addCharacter(unichar); - }, -diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js -index a929451..dde7b82 100644 ---- a/js/ui/extensionSystem.js -+++ b/js/ui/extensionSystem.js -@@ -76,7 +76,11 @@ function disableExtension(uuid) { - theme.unload_stylesheet(extension.stylesheet.get_path()); - } - -- extension.stateObj.disable(); -+ try { -+ extension.stateObj.disable(); -+ } catch(e) { -+ logExtensionError(uuid, e); -+ } - - for (let i = 0; i < order.length; i++) { - let uuid = order[i]; -@@ -89,8 +93,10 @@ function disableExtension(uuid) { - - extensionOrder.splice(orderIdx, 1); - -- extension.state = ExtensionState.DISABLED; -- _signals.emit('extension-state-changed', extension); -+ if ( extension.state != ExtensionState.ERROR ) { -+ extension.state = ExtensionState.DISABLED; -+ _signals.emit('extension-state-changed', extension); -+ } - } - - function enableExtension(uuid) { -@@ -117,10 +123,15 @@ function enableExtension(uuid) { - } - } - -- extension.stateObj.enable(); -- -- extension.state = ExtensionState.ENABLED; -- _signals.emit('extension-state-changed', extension); -+ try { -+ extension.stateObj.enable(); -+ extension.state = ExtensionState.ENABLED; -+ _signals.emit('extension-state-changed', extension); -+ return; -+ } catch(e) { -+ logExtensionError(uuid, e); -+ return; -+ } - } - - function logExtensionError(uuid, error) { -@@ -150,7 +161,8 @@ function loadExtension(extension) { - } else { - let enabled = enabledExtensions.indexOf(extension.uuid) != -1; - if (enabled) { -- initExtension(extension.uuid); -+ if (!initExtension(extension.uuid)) -+ return; - if (extension.state == ExtensionState.DISABLED) - enableExtension(extension.uuid); - } else { -@@ -205,7 +217,12 @@ function initExtension(uuid) { - extensionModule = extension.imports.extension; - - if (extensionModule.init) { -- extensionState = extensionModule.init(extension); -+ try { -+ extensionState = extensionModule.init(extension); -+ } catch(e) { -+ logExtensionError(uuid, e); -+ return false; -+ } - } - - if (!extensionState) -@@ -214,6 +231,7 @@ function initExtension(uuid) { - - extension.state = ExtensionState.DISABLED; - _signals.emit('extension-loaded', uuid); -+ return true; - } - - function getEnabledExtensions() { -@@ -235,11 +253,7 @@ function onEnabledExtensionsChanged() { - newEnabledExtensions.filter(function(uuid) { - return enabledExtensions.indexOf(uuid) == -1; - }).forEach(function(uuid) { -- try { - enableExtension(uuid); -- } catch(e) { -- logExtensionError(uuid, e); -- } - }); - - // Find and disable all the newly disabled extensions: UUIDs found in the -@@ -247,11 +261,7 @@ function onEnabledExtensionsChanged() { - enabledExtensions.filter(function(item) { - return newEnabledExtensions.indexOf(item) == -1; - }).forEach(function(uuid) { -- try { - disableExtension(uuid); -- } catch(e) { -- logExtensionError(uuid, e); -- } - }); - - enabledExtensions = newEnabledExtensions; -@@ -263,11 +273,7 @@ function _loadExtensions() { - - let finder = new ExtensionUtils.ExtensionFinder(); - finder.connect('extension-found', function(signals, extension) { -- try { -- loadExtension(extension); -- } catch(e) { -- logExtensionError(extension.uuid, e); -- } -+ loadExtension(extension); - }); - finder.scanExtensions(); - } -diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js -index c66c9f6..d290a3d 100644 ---- a/js/ui/messageTray.js -+++ b/js/ui/messageTray.js -@@ -2392,6 +2392,13 @@ const MessageTray = new Lang.Class({ - // _updateState() figures out what (if anything) needs to be done - // at the present time. - _updateState: function() { -+ // If our state changes caused _updateState to be called, -+ // just exit now to prevent reentrancy issues. -+ if (this._updatingState) -+ return; -+ -+ this._updatingState = true; -+ - // Filter out acknowledged notifications. - this._notificationQueue = this._notificationQueue.filter(function(n) { - return !n.acknowledged; -@@ -2474,6 +2481,8 @@ const MessageTray = new Lang.Class({ - } else if (desktopCloneIsVisible && !desktopCloneShouldBeVisible) { - this._hideDesktopClone(); - } -+ -+ this._updatingState = false; - }, - - _tween: function(actor, statevar, value, params) { -@@ -2838,13 +2847,13 @@ const MessageTray = new Lang.Class({ - Lang.bind(this, this._onSourceDoneDisplayingContent)); - - this._summaryBoxPointer.bin.child = child; -- this._grabHelper.grab({ actor: this._summaryBoxPointer.bin.child, -- onUngrab: Lang.bind(this, this._onSummaryBoxPointerUngrabbed) }); -- - this._summaryBoxPointer.actor.opacity = 0; - this._summaryBoxPointer.actor.show(); - this._adjustSummaryBoxPointerPosition(); - -+ this._grabHelper.grab({ actor: this._summaryBoxPointer.bin.child, -+ onUngrab: Lang.bind(this, this._onSummaryBoxPointerUngrabbed) }); -+ - this._summaryBoxPointerState = State.SHOWING; - this._summaryBoxPointer.show(BoxPointer.PopupAnimation.FULL, Lang.bind(this, function() { - this._summaryBoxPointerState = State.SHOWN; diff --git a/extra/kdeutils-kgpg/PKGBUILD b/extra/kdeutils-kgpg/PKGBUILD index 3d55aef40..ccc41a45b 100644 --- a/extra/kdeutils-kgpg/PKGBUILD +++ b/extra/kdeutils-kgpg/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 204237 2014-01-15 10:19:05Z svenstaro $ +# $Id: PKGBUILD 204295 2014-01-16 14:18:05Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=kdeutils-kgpg @@ -9,15 +9,17 @@ url='http://kde.org/applications/utilities/kgpg/' arch=('i686' 'x86_64') license=('GPL' 'LGPL' 'FDL') depends=('kdebase-runtime' 'kdepimlibs' 'kde-agent') -makedepends=('cmake' 'automoc4') +makedepends=('cmake' 'automoc4' 'boost') groups=('kde' 'kdeutils') install=${pkgname}.install source=("http://download.kde.org/stable/${pkgver}/src/kgpg-${pkgver}.tar.xz") sha1sums=('40622c63b2286685c44b2984e0438abcbdf82055') -build() { - cd "${srcdir}" +prepare() { mkdir build +} + +build() { cd build cmake ../kgpg-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ @@ -27,6 +29,6 @@ build() { } package() { - cd $srcdir/build + cd build make DESTDIR=$pkgdir install } diff --git a/extra/mutter/PKGBUILD b/extra/mutter/PKGBUILD index 157c63725..2ce5ac7ac 100644 --- a/extra/mutter/PKGBUILD +++ b/extra/mutter/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 199787 2013-11-16 12:16:33Z heftig $ +# $Id: PKGBUILD 204298 2014-01-16 20:59:19Z heftig $ # Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: Michael Kanis <mkanis_at_gmx_dot_de> pkgname=mutter -pkgver=3.10.2 -pkgrel=2 +pkgver=3.10.3 +pkgrel=1 pkgdesc="A window manager for GNOME" arch=(i686 x86_64) license=('GPL') @@ -17,7 +17,7 @@ options=('!emptydirs') install=mutter.install source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver:0:4}/$pkgname-$pkgver.tar.xz 0001-monitor-expose-min-backlight-step.patch) -sha256sums=('438163bc7fbab88366b589cab895a1df79eeac389e012c6e26ec559316651100' +sha256sums=('7b19eda620d11e0638e3be33455998d65bdee3ff6556b562df937978efb8830c' 'f1ef173d96ac27abdcf765972d2ac434f63bf4629b8bd51c177e8963d07f5eb7') prepare() { diff --git a/extra/postfix/PKGBUILD b/extra/postfix/PKGBUILD index 4e042d879..f2072d45d 100644 --- a/extra/postfix/PKGBUILD +++ b/extra/postfix/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 193923 2013-09-06 07:17:49Z bisson $ +# $Id: PKGBUILD 204270 2014-01-16 03:05:57Z bisson $ # Contributor: Jeff Brodnax <tullyarcher@bellsouth.net> # Contributor: Paul Mattal <paul@archlinux.org> # Maintainer: Gaetan Bisson <bisson@archlinux.org> pkgname=postfix -pkgver=2.10.2 +pkgver=2.11.0 pkgrel=1 pkgdesc='Fast, easy to administer, secure mail server' url='http://www.postfix.org/' @@ -16,7 +16,7 @@ backup=('etc/postfix/'{access,aliases,canonical,generic,header_checks,main.cf,ma source=("ftp://ftp.porcupine.org/mirrors/postfix-release/official/${pkgname}-${pkgver}.tar.gz"{,.sig} 'aliases.patch' 'service') -sha1sums=('4721024784d071c3e663d610db17f8bd99821f3d' 'SKIP' +sha1sums=('bc1fd50412742d9c28232b07c7d2139e37d3de28' 'SKIP' '5fc3de6c7df1e5851a0a379e825148868808318b' 'dd12885d367bebaf0fc9d2e9823a7f82086b6ee9') diff --git a/libre/midori-gtk3-libre/PKGBUILD b/libre/midori-gtk3-libre/PKGBUILD index 66083d847..9d6fc881b 100644 --- a/libre/midori-gtk3-libre/PKGBUILD +++ b/libre/midori-gtk3-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 101601 2013-11-28 22:21:02Z arodseth $ +# $Id: PKGBUILD 104163 2014-01-16 14:14:27Z arodseth $ # Maintainer: Alexander Rødseth <rodseth@gmail.com> # Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Andreas Radke <andyrtr@archlinux.org> @@ -9,8 +9,8 @@ _pkgname=midori-gtk3 pkgname=midori-gtk3-libre -pkgver=0.5.6 -pkgrel=2 +pkgver=0.5.7 +pkgrel=1 pkgdesc='Lightweight web browser (GTK3), without non-privacy search providers' arch=('x86_64' 'i686') url='http://www.midori-browser.org/' @@ -27,7 +27,7 @@ optdepends=('gst-plugins-base: HTML5 OGG videos support' 'aria2: download utility') options=('!emptydirs') source=("http://www.midori-browser.org/downloads/${_pkgname/-gtk3}_${pkgver}_all_.tar.bz2") -sha256sums=('c5be1b5d9933776f09c5cab7945a073a820d65555e51fda9ff55fd063843f24a') +sha256sums=('2875bb2aa8a8a0cce342178f04700d4ebccd13bf1b2ad4cb3ba9fec7e2bd0b4d') prepare() { cd "${_pkgname/-gtk3}-$pkgver" diff --git a/libre/midori-libre/PKGBUILD b/libre/midori-libre/PKGBUILD index 42d597740..ce506078d 100644 --- a/libre/midori-libre/PKGBUILD +++ b/libre/midori-libre/PKGBUILD @@ -1,6 +1,6 @@ -# $Id: PKGBUILD 101597 2013-11-28 20:54:40Z arodseth $ -# Maintainer: Alexander Rødseth <rodseth@gmail.com> -# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> +# $Id: PKGBUILD 104157 2014-01-16 12:49:27Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl> # Contributor: Andreas Radke <andyrtr@archlinux.org> # Contributor: rabyte <rabyte.at.gmail.dot.com> # Contributor: Johannes Krampf <wuischke.at.amule.dot.org> @@ -9,8 +9,8 @@ _pkgname=midori pkgname=midori-libre -pkgver=0.5.6 -pkgrel=2 +pkgver=0.5.7 +pkgrel=1 pkgdesc='Lightweight web browser (GTK2), without non-privacy search providers' arch=('x86_64' 'i686') url='http://www.midori-browser.org/' @@ -27,7 +27,7 @@ optdepends=('gstreamer0.10-base-plugins: HTML5 OGG videos support' 'aria2: download utility') options=('!emptydirs') source=("http://www.midori-browser.org/downloads/${_pkgname}_${pkgver}_all_.tar.bz2") -sha256sums=('c5be1b5d9933776f09c5cab7945a073a820d65555e51fda9ff55fd063843f24a') +sha256sums=('2875bb2aa8a8a0cce342178f04700d4ebccd13bf1b2ad4cb3ba9fec7e2bd0b4d') prepare() { cd "$_pkgname-$pkgver" |