[arch-commits] Commit in mate-color-manager/repos (8 files)
Martin Wimpress
flexiondotorg at archlinux.org
Tue Jul 14 13:34:23 UTC 2015
Date: Tuesday, July 14, 2015 @ 15:34:23
Author: flexiondotorg
Revision: 136877
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mate-color-manager/repos/community-staging-i686/
mate-color-manager/repos/community-staging-i686/PKGBUILD
(from rev 136876, mate-color-manager/trunk/PKGBUILD)
mate-color-manager/repos/community-staging-i686/adapt-materr.diff
(from rev 136876, mate-color-manager/trunk/adapt-materr.diff)
mate-color-manager/repos/community-staging-i686/mate-color-manager.install
(from rev 136876, mate-color-manager/trunk/mate-color-manager.install)
mate-color-manager/repos/community-staging-x86_64/
mate-color-manager/repos/community-staging-x86_64/PKGBUILD
(from rev 136876, mate-color-manager/trunk/PKGBUILD)
mate-color-manager/repos/community-staging-x86_64/adapt-materr.diff
(from rev 136876, mate-color-manager/trunk/adapt-materr.diff)
mate-color-manager/repos/community-staging-x86_64/mate-color-manager.install
(from rev 136876, mate-color-manager/trunk/mate-color-manager.install)
-----------------------------------------------------+
community-staging-i686/PKGBUILD | 42 ++++++++++++++++++
community-staging-i686/adapt-materr.diff | 28 ++++++++++++
community-staging-i686/mate-color-manager.install | 13 +++++
community-staging-x86_64/PKGBUILD | 42 ++++++++++++++++++
community-staging-x86_64/adapt-materr.diff | 28 ++++++++++++
community-staging-x86_64/mate-color-manager.install | 13 +++++
6 files changed, 166 insertions(+)
Copied: mate-color-manager/repos/community-staging-i686/PKGBUILD (from rev 136876, mate-color-manager/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-07-14 13:34:23 UTC (rev 136877)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=mate-color-manager
+pkgver=1.8.0
+pkgrel=2
+pkgdesc="Color management application for MATE."
+url="https://github.com/NiceandGently/${pkgname}"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dbus' 'desktop-file-utils' 'exiv2' 'gtk2' 'lcms2' 'libcanberra' 'libcups' 'libexif'
+ 'libgudev' 'libnotify' 'libtiff' 'libunique' 'mate-desktop>=1.10' 'sane' 'vte')
+makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/NiceandGently/${pkgname}/archive/v${pkgver}.tar.gz"
+ "adapt-materr.diff")
+sha1sums=('9727991077ca740eb050eb7a64cc7a6f5dd0e3ae'
+ 'f4b910418866c90530ff990564d992c802d9ba05')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # https://github.com/NiceandGently/mate-color-manager/commit/2512d5c1cf10b3a3903045c5ca5a8d411ea0ef32
+ patch -p1 < "${srcdir}/adapt-materr.diff"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib/${pkgname} \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-color-manager/repos/community-staging-i686/adapt-materr.diff (from rev 136876, mate-color-manager/trunk/adapt-materr.diff)
===================================================================
--- community-staging-i686/adapt-materr.diff (rev 0)
+++ community-staging-i686/adapt-materr.diff 2015-07-14 13:34:23 UTC (rev 136877)
@@ -0,0 +1,28 @@
+diff --git a/src/mcm-screen.c b/src/mcm-screen.c
+index d555a37..aeec5b9 100644
+--- a/src/mcm-screen.c
++++ b/src/mcm-screen.c
+@@ -91,11 +91,13 @@ mcm_screen_ensure_instance (McmScreen *screen, GError **error)
+ goto out;
+
+ /* get screen (this is slow) */
+- priv->rr_screen = mate_rr_screen_new (gdk_screen_get_default (), (MateRRScreenChanged) mcm_screen_randr_event_cb, screen, error);
++ priv->rr_screen = mate_rr_screen_new (gdk_screen_get_default (), error);
+ if (priv->rr_screen == NULL) {
+ ret = FALSE;
+ goto out;
+ }
++
++ g_signal_connect (priv->rr_screen, "changed", G_CALLBACK (mcm_screen_randr_event_cb), screen);
+ out:
+ return ret;
+ }
+@@ -196,7 +198,7 @@ mcm_screen_finalize (GObject *object)
+ McmScreenPrivate *priv = screen->priv;
+
+ if (priv->rr_screen != NULL)
+- mate_rr_screen_destroy (priv->rr_screen);
++ g_object_unref (priv->rr_screen);
+
+ G_OBJECT_CLASS (mcm_screen_parent_class)->finalize (object);
+ }
Copied: mate-color-manager/repos/community-staging-i686/mate-color-manager.install (from rev 136876, mate-color-manager/trunk/mate-color-manager.install)
===================================================================
--- community-staging-i686/mate-color-manager.install (rev 0)
+++ community-staging-i686/mate-color-manager.install 2015-07-14 13:34:23 UTC (rev 136877)
@@ -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/mate
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: mate-color-manager/repos/community-staging-x86_64/PKGBUILD (from rev 136876, mate-color-manager/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-07-14 13:34:23 UTC (rev 136877)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=mate-color-manager
+pkgver=1.8.0
+pkgrel=2
+pkgdesc="Color management application for MATE."
+url="https://github.com/NiceandGently/${pkgname}"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('dbus' 'desktop-file-utils' 'exiv2' 'gtk2' 'lcms2' 'libcanberra' 'libcups' 'libexif'
+ 'libgudev' 'libnotify' 'libtiff' 'libunique' 'mate-desktop>=1.10' 'sane' 'vte')
+makedepends=('mate-common' 'perl-xml-parser' 'yelp-tools')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/NiceandGently/${pkgname}/archive/v${pkgver}.tar.gz"
+ "adapt-materr.diff")
+sha1sums=('9727991077ca740eb050eb7a64cc7a6f5dd0e3ae'
+ 'f4b910418866c90530ff990564d992c802d9ba05')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ # https://github.com/NiceandGently/mate-color-manager/commit/2512d5c1cf10b3a3903045c5ca5a8d411ea0ef32
+ patch -p1 < "${srcdir}/adapt-materr.diff"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --sbindir=/usr/bin \
+ --libexecdir=/usr/lib/${pkgname} \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-color-manager/repos/community-staging-x86_64/adapt-materr.diff (from rev 136876, mate-color-manager/trunk/adapt-materr.diff)
===================================================================
--- community-staging-x86_64/adapt-materr.diff (rev 0)
+++ community-staging-x86_64/adapt-materr.diff 2015-07-14 13:34:23 UTC (rev 136877)
@@ -0,0 +1,28 @@
+diff --git a/src/mcm-screen.c b/src/mcm-screen.c
+index d555a37..aeec5b9 100644
+--- a/src/mcm-screen.c
++++ b/src/mcm-screen.c
+@@ -91,11 +91,13 @@ mcm_screen_ensure_instance (McmScreen *screen, GError **error)
+ goto out;
+
+ /* get screen (this is slow) */
+- priv->rr_screen = mate_rr_screen_new (gdk_screen_get_default (), (MateRRScreenChanged) mcm_screen_randr_event_cb, screen, error);
++ priv->rr_screen = mate_rr_screen_new (gdk_screen_get_default (), error);
+ if (priv->rr_screen == NULL) {
+ ret = FALSE;
+ goto out;
+ }
++
++ g_signal_connect (priv->rr_screen, "changed", G_CALLBACK (mcm_screen_randr_event_cb), screen);
+ out:
+ return ret;
+ }
+@@ -196,7 +198,7 @@ mcm_screen_finalize (GObject *object)
+ McmScreenPrivate *priv = screen->priv;
+
+ if (priv->rr_screen != NULL)
+- mate_rr_screen_destroy (priv->rr_screen);
++ g_object_unref (priv->rr_screen);
+
+ G_OBJECT_CLASS (mcm_screen_parent_class)->finalize (object);
+ }
Copied: mate-color-manager/repos/community-staging-x86_64/mate-color-manager.install (from rev 136876, mate-color-manager/trunk/mate-color-manager.install)
===================================================================
--- community-staging-x86_64/mate-color-manager.install (rev 0)
+++ community-staging-x86_64/mate-color-manager.install 2015-07-14 13:34:23 UTC (rev 136877)
@@ -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/mate
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list