Date: Sunday, February 24, 2013 @ 14:00:25 Author: faidoc Revision: 84767
archrelease: copy trunk to community-i686, community-x86_64 Added: cinnamon-control-center/repos/community-i686/ cinnamon-control-center/repos/community-i686/PKGBUILD (from rev 84766, cinnamon-control-center/trunk/PKGBUILD) cinnamon-control-center/repos/community-i686/cinnamon-control-center.install (from rev 84766, cinnamon-control-center/trunk/cinnamon-control-center.install) cinnamon-control-center/repos/community-i686/pulse3.0.patch (from rev 84766, cinnamon-control-center/trunk/pulse3.0.patch) cinnamon-control-center/repos/community-x86_64/ cinnamon-control-center/repos/community-x86_64/PKGBUILD (from rev 84766, cinnamon-control-center/trunk/PKGBUILD) cinnamon-control-center/repos/community-x86_64/cinnamon-control-center.install (from rev 84766, cinnamon-control-center/trunk/cinnamon-control-center.install) cinnamon-control-center/repos/community-x86_64/pulse3.0.patch (from rev 84766, cinnamon-control-center/trunk/pulse3.0.patch) --------------------------------------------------+ community-i686/PKGBUILD | 53 +++++++++++++++++++++ community-i686/cinnamon-control-center.install | 11 ++++ community-i686/pulse3.0.patch | 25 +++++++++ community-x86_64/PKGBUILD | 53 +++++++++++++++++++++ community-x86_64/cinnamon-control-center.install | 11 ++++ community-x86_64/pulse3.0.patch | 25 +++++++++ 6 files changed, 178 insertions(+) Copied: cinnamon-control-center/repos/community-i686/PKGBUILD (from rev 84766, cinnamon-control-center/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-02-24 13:00:25 UTC (rev 84767) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Alexandre Filgueira <alexfilgue...@cinnarch.com +# Based on gnome-control-center: +# Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Jan de Groot <j...@archlinux.org> + +pkgname=cinnamon-control-center +pkgver=1.7.1 +pkgrel=1 +pkgdesc="The Control Center for Cinnamon" +arch=('i686' 'x86_64') +depends=('accountsservice' 'cups-pk-helper' 'gnome-bluetooth' 'gnome-desktop' 'gnome-menus' + 'gnome-online-accounts' 'gnome-settings-daemon' 'gsettings-desktop-schemas' 'gtk3' + 'libgtop' 'libsocialweb' 'network-manager-applet' 'sound-theme-freedesktop' 'upower' + 'libpwquality' 'libsystemd' 'libgnomekbd' 'cheese' 'cinnamon') +optdepends=('mesa-demos: provides glxinfo for graphics information' + 'gnome-color-manager: for color management tasks') +makedepends=('gnome-doc-utils' 'intltool' 'gnome-common' 'docbook-xsl') +url="https://github.com/linuxmint/cinnamon-control-center" +install=cinnamon-control-center.install +license=('GPL') +options=('!libtool' '!emptydirs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz" + "pulse3.0.patch") +sha256sums=('eab36af1accfce7b4d5eaf07a865d7290add07b875ed5e52072c1ad2e8570c1e' + 'ddf7c99a1d45a7be54e69e90f194e33f3e56a7f294aa369bfb2e541d8241156e') + +build() { + cd $pkgname-$pkgver + + patch -Np1 -i ../pulse3.0.patch + + autoreconf -fi + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --enable-systemd --with-libsocialweb \ + --disable-update-mimedb + + #https://bugzilla.gnome.org/show_bug.cgi?id=656229 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + make +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir" install + + # Fix a warning + chown 102:0 "$pkgdir/usr/share/polkit-1/rules.d" + chmod 700 "$pkgdir/usr/share/polkit-1/rules.d" +} \ No newline at end of file Copied: cinnamon-control-center/repos/community-i686/cinnamon-control-center.install (from rev 84766, cinnamon-control-center/trunk/cinnamon-control-center.install) =================================================================== --- community-i686/cinnamon-control-center.install (rev 0) +++ community-i686/cinnamon-control-center.install 2013-02-24 13:00:25 UTC (rev 84767) @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} \ No newline at end of file Copied: cinnamon-control-center/repos/community-i686/pulse3.0.patch (from rev 84766, cinnamon-control-center/trunk/pulse3.0.patch) =================================================================== --- community-i686/pulse3.0.patch (rev 0) +++ community-i686/pulse3.0.patch 2013-02-24 13:00:25 UTC (rev 84767) @@ -0,0 +1,25 @@ +From 10a0c18b8e3058144586880019b68ab4ea40ce78 Mon Sep 17 00:00:00 2001 +From: David Henningsson <david.hennings...@canonical.com> +Date: Fri, 07 Dec 2012 10:52:09 +0000 +Subject: sound: Fix port handling for the unknown availability case + +The current code assumes that port availability transitions will be +between YES and NO, and doesn't account for the fact that it may also be +UNKNOWN. This causes spurious entries if the port availability +transitions between YES and UNKNOWN. +--- +diff --git a/panels/sound/gvc-mixer-control.c b/panels/sound/gvc-mixer-control.c +index 34ddc0c..2f6cf34 100644 +--- a/panels/sound/gvc-mixer-control.c ++++ b/panels/sound/gvc-mixer-control.c +@@ -2138,7 +2138,7 @@ update_card (GvcMixerControl *control, + else { + for (i = 0; i < info->n_ports; i++) { + if (g_strcmp0 (card_port->port, info->ports[i]->name) == 0) { +- if (card_port->available != info->ports[i]->available) { ++ if ((card_port->available == PA_PORT_AVAILABLE_NO) != (info->ports[i]->available == PA_PORT_AVAILABLE_NO)) { + card_port->available = info->ports[i]->available; + g_debug ("sync port availability on card %i, card port name '%s', new available value %i", + gvc_mixer_card_get_index (card), +-- +cgit v0.9.0.2 \ No newline at end of file Copied: cinnamon-control-center/repos/community-x86_64/PKGBUILD (from rev 84766, cinnamon-control-center/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-02-24 13:00:25 UTC (rev 84767) @@ -0,0 +1,53 @@ +# $Id$ +# Maintainer: Alexandre Filgueira <alexfilgue...@cinnarch.com +# Based on gnome-control-center: +# Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> +# Jan de Groot <j...@archlinux.org> + +pkgname=cinnamon-control-center +pkgver=1.7.1 +pkgrel=1 +pkgdesc="The Control Center for Cinnamon" +arch=('i686' 'x86_64') +depends=('accountsservice' 'cups-pk-helper' 'gnome-bluetooth' 'gnome-desktop' 'gnome-menus' + 'gnome-online-accounts' 'gnome-settings-daemon' 'gsettings-desktop-schemas' 'gtk3' + 'libgtop' 'libsocialweb' 'network-manager-applet' 'sound-theme-freedesktop' 'upower' + 'libpwquality' 'libsystemd' 'libgnomekbd' 'cheese' 'cinnamon') +optdepends=('mesa-demos: provides glxinfo for graphics information' + 'gnome-color-manager: for color management tasks') +makedepends=('gnome-doc-utils' 'intltool' 'gnome-common' 'docbook-xsl') +url="https://github.com/linuxmint/cinnamon-control-center" +install=cinnamon-control-center.install +license=('GPL') +options=('!libtool' '!emptydirs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/cinnamon-control-center/archive/$pkgver.tar.gz" + "pulse3.0.patch") +sha256sums=('eab36af1accfce7b4d5eaf07a865d7290add07b875ed5e52072c1ad2e8570c1e' + 'ddf7c99a1d45a7be54e69e90f194e33f3e56a7f294aa369bfb2e541d8241156e') + +build() { + cd $pkgname-$pkgver + + patch -Np1 -i ../pulse3.0.patch + + autoreconf -fi + + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --enable-systemd --with-libsocialweb \ + --disable-update-mimedb + + #https://bugzilla.gnome.org/show_bug.cgi?id=656229 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/ if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/ func_append compile_command " -Wl,-O1,--as-needed"\n func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool + make +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir" install + + # Fix a warning + chown 102:0 "$pkgdir/usr/share/polkit-1/rules.d" + chmod 700 "$pkgdir/usr/share/polkit-1/rules.d" +} \ No newline at end of file Copied: cinnamon-control-center/repos/community-x86_64/cinnamon-control-center.install (from rev 84766, cinnamon-control-center/trunk/cinnamon-control-center.install) =================================================================== --- community-x86_64/cinnamon-control-center.install (rev 0) +++ community-x86_64/cinnamon-control-center.install 2013-02-24 13:00:25 UTC (rev 84767) @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} \ No newline at end of file Copied: cinnamon-control-center/repos/community-x86_64/pulse3.0.patch (from rev 84766, cinnamon-control-center/trunk/pulse3.0.patch) =================================================================== --- community-x86_64/pulse3.0.patch (rev 0) +++ community-x86_64/pulse3.0.patch 2013-02-24 13:00:25 UTC (rev 84767) @@ -0,0 +1,25 @@ +From 10a0c18b8e3058144586880019b68ab4ea40ce78 Mon Sep 17 00:00:00 2001 +From: David Henningsson <david.hennings...@canonical.com> +Date: Fri, 07 Dec 2012 10:52:09 +0000 +Subject: sound: Fix port handling for the unknown availability case + +The current code assumes that port availability transitions will be +between YES and NO, and doesn't account for the fact that it may also be +UNKNOWN. This causes spurious entries if the port availability +transitions between YES and UNKNOWN. +--- +diff --git a/panels/sound/gvc-mixer-control.c b/panels/sound/gvc-mixer-control.c +index 34ddc0c..2f6cf34 100644 +--- a/panels/sound/gvc-mixer-control.c ++++ b/panels/sound/gvc-mixer-control.c +@@ -2138,7 +2138,7 @@ update_card (GvcMixerControl *control, + else { + for (i = 0; i < info->n_ports; i++) { + if (g_strcmp0 (card_port->port, info->ports[i]->name) == 0) { +- if (card_port->available != info->ports[i]->available) { ++ if ((card_port->available == PA_PORT_AVAILABLE_NO) != (info->ports[i]->available == PA_PORT_AVAILABLE_NO)) { + card_port->available = info->ports[i]->available; + g_debug ("sync port availability on card %i, card port name '%s', new available value %i", + gvc_mixer_card_get_index (card), +-- +cgit v0.9.0.2 \ No newline at end of file