[arch-commits] Commit in gnome-desktop/repos (6 files)
Jan Steffens
heftig at nymeria.archlinux.org
Sat Nov 16 12:15:34 UTC 2013
Date: Saturday, November 16, 2013 @ 13:15:33
Author: heftig
Revision: 199786
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
gnome-desktop/repos/extra-i686/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch
(from rev 199785, gnome-desktop/trunk/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch)
gnome-desktop/repos/extra-i686/PKGBUILD
(from rev 199785, gnome-desktop/trunk/PKGBUILD)
gnome-desktop/repos/extra-x86_64/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch
(from rev 199785, gnome-desktop/trunk/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch)
gnome-desktop/repos/extra-x86_64/PKGBUILD
(from rev 199785, gnome-desktop/trunk/PKGBUILD)
Deleted:
gnome-desktop/repos/extra-i686/PKGBUILD
gnome-desktop/repos/extra-x86_64/PKGBUILD
------------------------------------------------------------------------+
/PKGBUILD | 76 ++++++++++
extra-i686/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch | 67 ++++++++
extra-i686/PKGBUILD | 29 ---
extra-x86_64/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch | 67 ++++++++
extra-x86_64/PKGBUILD | 29 ---
5 files changed, 210 insertions(+), 58 deletions(-)
Copied: gnome-desktop/repos/extra-i686/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch (from rev 199785, gnome-desktop/trunk/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch)
===================================================================
--- extra-i686/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch (rev 0)
+++ extra-i686/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch 2013-11-16 12:15:33 UTC (rev 199786)
@@ -0,0 +1,67 @@
+From ede893a90870c31d8b374978d524fddf6f3aac81 Mon Sep 17 00:00:00 2001
+From: Asad Mehmood <asad78611 at googlemail.com>
+Date: Thu, 17 Oct 2013 16:21:42 +0100
+Subject: [PATCH] GnomeRR: gnome_rr_output_get_min_backlight_step
+
+Allows gnome-settings-daemon to read the min_backlight_step
+so that it can support displays with less than 10 steps
+---
+ libgnome-desktop/gnome-rr.c | 15 +++++++++++++++
+ libgnome-desktop/gnome-rr.h | 1 +
+ 2 files changed, 16 insertions(+)
+
+diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
+index 5e011d3..88df060 100644
+--- a/libgnome-desktop/gnome-rr.c
++++ b/libgnome-desktop/gnome-rr.c
+@@ -77,6 +77,7 @@ struct GnomeRROutput
+ char * edid_file;
+
+ int backlight;
++ int min_backlight_step;
+
+ gboolean is_primary;
+ gboolean is_presentation;
+@@ -1271,6 +1272,7 @@ output_initialize (GnomeRROutput *output, GVariant *info)
+ g_variant_lookup (properties, "height-mm", "i", &output->height_mm);
+ g_variant_lookup (properties, "display-name", "s", &output->display_name);
+ g_variant_lookup (properties, "backlight", "i", &output->backlight);
++ g_variant_lookup (properties, "min-backlight-step", "i", &output->min_backlight_step);
+ g_variant_lookup (properties, "primary", "b", &output->is_primary);
+ g_variant_lookup (properties, "presentation", "b", &output->is_presentation);
+
+@@ -1446,6 +1448,19 @@ gnome_rr_output_get_backlight (GnomeRROutput *output)
+ }
+
+ /**
++ * gnome_rr_output_get_min_backlight_step:
++ *
++ * Returns: The minimum backlight step available in percent
++ */
++int
++gnome_rr_output_get_min_backlight_step (GnomeRROutput *output)
++{
++ g_return_val_if_fail (output != NULL, -1);
++
++ return output->min_backlight_step;
++}
++
++/**
+ * gnome_rr_output_set_backlight:
+ * @value: the absolute value which is 0 >= this <= 100
+ *
+diff --git a/libgnome-desktop/gnome-rr.h b/libgnome-desktop/gnome-rr.h
+index a0d42f7..0443342 100644
+--- a/libgnome-desktop/gnome-rr.h
++++ b/libgnome-desktop/gnome-rr.h
+@@ -154,6 +154,7 @@ void gnome_rr_output_get_physical_size (GnomeRROutput *outpu
+ int *height_mm);
+
+ gint gnome_rr_output_get_backlight (GnomeRROutput *output);
++gint gnome_rr_output_get_min_backlight_step(GnomeRROutput *output);
+ gboolean gnome_rr_output_set_backlight (GnomeRROutput *output,
+ gint value,
+ GError **error);
+--
+1.8.4.1
+
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2013-11-16 12:14:40 UTC (rev 199785)
+++ extra-i686/PKGBUILD 2013-11-16 12:15:33 UTC (rev 199786)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jan at archlinux.org>
-
-pkgname=gnome-desktop
-pkgver=3.10.1
-pkgrel=1
-epoch=1
-pkgdesc="Library with common API for various GNOME modules"
-arch=(i686 x86_64)
-license=(GPL LGPL)
-depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes)
-makedepends=(intltool gobject-introspection itstool)
-url="http://www.gnome.org"
-groups=(gnome)
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('10aca72355e8e2854450ce10edfb6da433af62ea0d87b0718ff62e9a40aabb41')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/$pkgname --disable-static \
- --with-gnome-distributor="Arch Linux"
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: gnome-desktop/repos/extra-i686/PKGBUILD (from rev 199785, gnome-desktop/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2013-11-16 12:15:33 UTC (rev 199786)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-desktop
+pkgver=3.10.1
+pkgrel=2
+epoch=1
+pkgdesc="Library with common API for various GNOME modules"
+arch=(i686 x86_64)
+license=(GPL LGPL)
+depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes)
+makedepends=(intltool gobject-introspection itstool)
+url="http://www.gnome.org"
+groups=(gnome)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ 0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch)
+sha256sums=('10aca72355e8e2854450ce10edfb6da433af62ea0d87b0718ff62e9a40aabb41'
+ '5920cec531b03ebe0ce0941250ce62d92a7b18ae44900f11df90adb381858df2')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # FS#37224
+ patch -Np1 -i ../0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static \
+ --with-gnome-distributor="Arch Linux"
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
Copied: gnome-desktop/repos/extra-x86_64/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch (from rev 199785, gnome-desktop/trunk/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch)
===================================================================
--- extra-x86_64/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch (rev 0)
+++ extra-x86_64/0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch 2013-11-16 12:15:33 UTC (rev 199786)
@@ -0,0 +1,67 @@
+From ede893a90870c31d8b374978d524fddf6f3aac81 Mon Sep 17 00:00:00 2001
+From: Asad Mehmood <asad78611 at googlemail.com>
+Date: Thu, 17 Oct 2013 16:21:42 +0100
+Subject: [PATCH] GnomeRR: gnome_rr_output_get_min_backlight_step
+
+Allows gnome-settings-daemon to read the min_backlight_step
+so that it can support displays with less than 10 steps
+---
+ libgnome-desktop/gnome-rr.c | 15 +++++++++++++++
+ libgnome-desktop/gnome-rr.h | 1 +
+ 2 files changed, 16 insertions(+)
+
+diff --git a/libgnome-desktop/gnome-rr.c b/libgnome-desktop/gnome-rr.c
+index 5e011d3..88df060 100644
+--- a/libgnome-desktop/gnome-rr.c
++++ b/libgnome-desktop/gnome-rr.c
+@@ -77,6 +77,7 @@ struct GnomeRROutput
+ char * edid_file;
+
+ int backlight;
++ int min_backlight_step;
+
+ gboolean is_primary;
+ gboolean is_presentation;
+@@ -1271,6 +1272,7 @@ output_initialize (GnomeRROutput *output, GVariant *info)
+ g_variant_lookup (properties, "height-mm", "i", &output->height_mm);
+ g_variant_lookup (properties, "display-name", "s", &output->display_name);
+ g_variant_lookup (properties, "backlight", "i", &output->backlight);
++ g_variant_lookup (properties, "min-backlight-step", "i", &output->min_backlight_step);
+ g_variant_lookup (properties, "primary", "b", &output->is_primary);
+ g_variant_lookup (properties, "presentation", "b", &output->is_presentation);
+
+@@ -1446,6 +1448,19 @@ gnome_rr_output_get_backlight (GnomeRROutput *output)
+ }
+
+ /**
++ * gnome_rr_output_get_min_backlight_step:
++ *
++ * Returns: The minimum backlight step available in percent
++ */
++int
++gnome_rr_output_get_min_backlight_step (GnomeRROutput *output)
++{
++ g_return_val_if_fail (output != NULL, -1);
++
++ return output->min_backlight_step;
++}
++
++/**
+ * gnome_rr_output_set_backlight:
+ * @value: the absolute value which is 0 >= this <= 100
+ *
+diff --git a/libgnome-desktop/gnome-rr.h b/libgnome-desktop/gnome-rr.h
+index a0d42f7..0443342 100644
+--- a/libgnome-desktop/gnome-rr.h
++++ b/libgnome-desktop/gnome-rr.h
+@@ -154,6 +154,7 @@ void gnome_rr_output_get_physical_size (GnomeRROutput *outpu
+ int *height_mm);
+
+ gint gnome_rr_output_get_backlight (GnomeRROutput *output);
++gint gnome_rr_output_get_min_backlight_step(GnomeRROutput *output);
+ gboolean gnome_rr_output_set_backlight (GnomeRROutput *output,
+ gint value,
+ GError **error);
+--
+1.8.4.1
+
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2013-11-16 12:14:40 UTC (rev 199785)
+++ extra-x86_64/PKGBUILD 2013-11-16 12:15:33 UTC (rev 199786)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jan at archlinux.org>
-
-pkgname=gnome-desktop
-pkgver=3.10.1
-pkgrel=1
-epoch=1
-pkgdesc="Library with common API for various GNOME modules"
-arch=(i686 x86_64)
-license=(GPL LGPL)
-depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes)
-makedepends=(intltool gobject-introspection itstool)
-url="http://www.gnome.org"
-groups=(gnome)
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('10aca72355e8e2854450ce10edfb6da433af62ea0d87b0718ff62e9a40aabb41')
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --libexecdir=/usr/lib/$pkgname --disable-static \
- --with-gnome-distributor="Arch Linux"
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: gnome-desktop/repos/extra-x86_64/PKGBUILD (from rev 199785, gnome-desktop/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2013-11-16 12:15:33 UTC (rev 199786)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Jan de Groot <jan at archlinux.org>
+
+pkgname=gnome-desktop
+pkgver=3.10.1
+pkgrel=2
+epoch=1
+pkgdesc="Library with common API for various GNOME modules"
+arch=(i686 x86_64)
+license=(GPL LGPL)
+depends=(gsettings-desktop-schemas gtk3 libxkbfile xkeyboard-config iso-codes)
+makedepends=(intltool gobject-introspection itstool)
+url="http://www.gnome.org"
+groups=(gnome)
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ 0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch)
+sha256sums=('10aca72355e8e2854450ce10edfb6da433af62ea0d87b0718ff62e9a40aabb41'
+ '5920cec531b03ebe0ce0941250ce62d92a7b18ae44900f11df90adb381858df2')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # FS#37224
+ patch -Np1 -i ../0001-GnomeRR-gnome_rr_output_get_min_backlight_step.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+ --libexecdir=/usr/lib/$pkgname --disable-static \
+ --with-gnome-distributor="Arch Linux"
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list