summaryrefslogtreecommitdiff
path: root/community/cinnamon
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
committerroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
commit0520c5091743d9910278e53fa32470b096825fb3 (patch)
treece32603cb0eb8456aef2a5eb66fddc98f246857c /community/cinnamon
parente0c1bfae73539aac5627d73dd70a299d274a0c10 (diff)
Fri May 24 00:06:06 PDT 2013
Diffstat (limited to 'community/cinnamon')
-rw-r--r--community/cinnamon/PKGBUILD12
-rw-r--r--community/cinnamon/gnome-3.8.patch63
2 files changed, 40 insertions, 35 deletions
diff --git a/community/cinnamon/PKGBUILD b/community/cinnamon/PKGBUILD
index cc936eaf3..f7164d02a 100644
--- a/community/cinnamon/PKGBUILD
+++ b/community/cinnamon/PKGBUILD
@@ -1,12 +1,12 @@
-# $Id: PKGBUILD 90347 2013-05-11 17:08:40Z faidoc $
+# $Id: PKGBUILD 91564 2013-05-23 20:10:59Z faidoc $
# Maintainer: Alexandre Filgueira <alexfilgueira@cinnarch.com>
# Contributor: M0Rf30
# Contributor: unifiedlinux
# Contributor: CReimer
pkgname=cinnamon
-pkgver=1.8.2
-pkgrel=2
+pkgver=1.8.6
+pkgrel=1
pkgdesc="Linux desktop which provides advanced innovative features and a traditional user experience"
arch=('i686' 'x86_64')
url="http://cinnamon.linuxmint.com/"
@@ -31,14 +31,16 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxmint/Cinnamon/tarball/
"switch-applications.patch"
"fallback-helpers.patch"
"idle-dim.patch")
-sha256sums=('83179f98f9e6c88928146d43a9d3f581c64706c0a60dac5e58d845a30a275a91'
+sha256sums=('6b1d606e9b42892877b481f456f2dee4684c4d7aedf8e656ec1114037d7b5fc8'
'a0c05c995102b16f1060cbd43931eeaefeafd0265a0335e4ca14a143bd4c8c30'
'ee5694bdc997ffa35a817f691b15bae13747137d35ec2aecd0da298d7edbe426'
- '9a091c0b651a5af1700c8eca90b9e81bb9a50a8a9bfa6a7352d0c0daa2f3f271'
+ '01508c4f41664d5e29f700dc77c9f5c5441f128ab759f0ae8325c5fdda70b00e'
'921a1f63d2890dd54c149aa27a3d3209ac2fb843be597ae4ef3b4621e76a2262'
'fc8e8f5b7772ff331212280b0d4cf624c5ca2a442e8e8defc319cc2f2b060f2e'
'b34c30299fb88228c59f36fced90d56346847019a080bc7b8157b72caa659100')
+
+
build() {
cd ${srcdir}/linuxmint-Cinnamon*
diff --git a/community/cinnamon/gnome-3.8.patch b/community/cinnamon/gnome-3.8.patch
index 5af7c3a79..b79ea497a 100644
--- a/community/cinnamon/gnome-3.8.patch
+++ b/community/cinnamon/gnome-3.8.patch
@@ -1404,7 +1404,9 @@ index 50c4e1e..c8427ac 100644
this._trackInfosTop.set_child(this.infos_top);
this._trackInfosBottom.set_child(this.infos_bottom);
-@@ -414,90 +256,39 @@ Player.prototype = {
+--- a/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js
++++ b/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js
+@@ -414,45 +414,20 @@
this._trackControls.set_child(this.controls);
this.addActor(this._trackControls);
@@ -1463,14 +1465,8 @@ index 50c4e1e..c8427ac 100644
+ }
/* this players don't support seek */
-- if (support_seek.indexOf(this._name) == -1) {
-+ if (support_seek.indexOf(this._name) == -1)
- this._time.hide();
-- this.showPosition = false;
-- this._positionSlider.hide();
-- }
- this._getStatus();
- this._trackId = {};
+ if (support_seek.indexOf(this._name) == -1) {
+@@ -465,39 +440,23 @@
this._getMetadata();
this._currentTime = 0;
this._getPosition();
@@ -1486,14 +1482,17 @@ index 50c4e1e..c8427ac 100644
- this._setMetadata(iface, value["Metadata"]);
- //qmmp
- if(sender._dbusBusName == 'org.mpris.MediaPlayer2.qmmp') {
-- if (value["playbackStatus"])
++ this._setMetadata(value["Metadata"]);
++ // qmmp
++ if (sender._dbusBusName == 'org.mpris.MediaPlayer2.qmmp') {
+ if (value["playbackStatus"])
- this._setStatus(iface, value["playbackStatus"]);
-- if (value["metadata"])
++ this._setStatus(value["playbackStatus"]);
+ if (value["metadata"])
- this._setMetadata(sender, value["metadata"]);
- }
-+ this._setMetadata(value["Metadata"]);
- }));
-
+- }));
+-
- this._mediaServerPlayer.connect('Seeked', Lang.bind(this, function(sender, value) {
- if (value > 0) {
- this._setPosition(value);
@@ -1504,17 +1503,20 @@ index 50c4e1e..c8427ac 100644
- // when the track is seeked so we set the position at the
- // value we set on the slider
- this._setPosition(this._wantedSeekValue);
-- }
++ this._setMetadata(value["metadata"]);
+ }
- // Seek value send by the player
- else
- this._setPosition(value);
--
++ }));
+
- this._wantedSeekValue = 0;
+ this._mediaServerPlayer.connectSignal('Seeked', Lang.bind(this, function(sender, iface, [value]) {
+ this._setPosition(sender, value);
}));
Mainloop.timeout_add(1000, Lang.bind(this, this._getPosition));
+
@@ -512,45 +303,26 @@ Player.prototype = {
this._playerInfo.setText(this._getName() + " - " + _(status));
},
@@ -3923,20 +3925,7 @@ index c8427ac..a7b2e09 100644
/* dummy vars for translation */
let x = _("Playing");
x = _("Paused");
-@@ -285,6 +285,13 @@ Player.prototype = {
- this._setStatus(value["PlaybackStatus"]);
- if (value["Metadata"])
- this._setMetadata(value["Metadata"]);
-+ // qmmp
-+ if (sender._dbusBusName == 'org.mpris.MediaPlayer2.qmmp') {
-+ if (value["playbackStatus"])
-+ this._setStatus(value["playbackStatus"]);
-+ if (value["metadata"])
-+ this._setMetadata(value["metadata"]);
-+ }
- }));
-
- this._mediaServerPlayer.connectSignal('Seeked', Lang.bind(this, function(sender, iface, [value]) {
+
@@ -377,7 +384,8 @@ Player.prototype = {
cover.read_async(null, null, Lang.bind(this, this._onReadCover));
}
@@ -4181,3 +4170,17 @@ index 418fb60..773fb65 100644
static void
--
1.8.1.6
+
+--- a/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js
++++ b/files/usr/share/cinnamon/applets/sound@cinnamon.org/applet.js
+@@ -801,7 +801,7 @@
+ this._players = {};
+ // watch players
+ for (var p=0; p<compatible_players.length; p++) {
+- DBus.session.watch_name('org.mpris.MediaPlayer2.'+compatible_players[p], false,
++ Gio.DBus.session.watch_name('org.mpris.MediaPlayer2.'+compatible_players[p], Gio.BusNameWatcherFlags.NONE,
+ Lang.bind(this, this._addPlayer),
+ Lang.bind(this, this._removePlayer)
+ );
+--
+1.8.1.6 \ No newline at end of file