Compare commits
9 Commits
debian/3.8
...
debian/3.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
706ea0dd7e | ||
|
|
e7c37a9d54 | ||
|
|
a7f66d648e | ||
|
|
013dc818e3 | ||
|
|
9430670019 | ||
|
|
67c795b610 | ||
|
|
42158401ac | ||
|
|
06a9891d77 | ||
|
|
6161d531fc |
39
debian/changelog
vendored
39
debian/changelog
vendored
@@ -1,3 +1,42 @@
|
||||
gnome-shell-extensions (3.12.0-1) experimental; urgency=low
|
||||
|
||||
[ Jean Schurger ]
|
||||
* New upstream release (3.10.1)
|
||||
* debian/rules: remove one of the 'windowsNavigator' extension listed twice
|
||||
and the 'alternative-system-menu' extension (does not exists anymore)
|
||||
* debian/copyright: Update 'Format:' line
|
||||
|
||||
[ Andreas Henriksson ]
|
||||
* New upstream release (3.12.0)
|
||||
* debian/local/gnome-session-classic,
|
||||
debian/patches/gnome-session-classic-wrapper-script.patch:
|
||||
- update script to include new GNOME_SHELL_SESSION_MODE env variable
|
||||
and update patch to apply again.
|
||||
|
||||
-- Andreas Henriksson <andreas@fatal.se> Fri, 04 Apr 2014 21:43:18 +0200
|
||||
|
||||
gnome-shell-extensions (3.8.4-2) unstable; urgency=low
|
||||
|
||||
* Upload to unstable.
|
||||
|
||||
-- Emilio Pozuelo Monfort <pochu@debian.org> Sun, 13 Oct 2013 18:11:33 +0200
|
||||
|
||||
gnome-shell-extensions (3.8.4-1) experimental; urgency=low
|
||||
|
||||
[ Jeremy Bicha ]
|
||||
* New upstream release
|
||||
* Dropped patches applied in new version:
|
||||
- fix-hibernate.patch
|
||||
- fix-applications-menu-resolution-change.patch
|
||||
- look-in-data-home-for-themes.patch
|
||||
|
||||
[ Michael Biebl ]
|
||||
* Add a wrapper script to start the GNOME Classic session as currently
|
||||
Xsession doesn't allow to run gnome-session with custom arguments due to
|
||||
#653327.
|
||||
|
||||
-- Michael Biebl <biebl@debian.org> Fri, 11 Oct 2013 18:55:23 +0200
|
||||
|
||||
gnome-shell-extensions (3.8.3.1-1) experimental; urgency=low
|
||||
|
||||
[ Jeremy Bicha ]
|
||||
|
||||
3
debian/control
vendored
3
debian/control
vendored
@@ -2,11 +2,12 @@
|
||||
#
|
||||
# Modifications should be made to debian/control.in instead.
|
||||
# This file is regenerated automatically in the clean target.
|
||||
|
||||
Source: gnome-shell-extensions
|
||||
Section: gnome
|
||||
Priority: optional
|
||||
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: Victor Seva <linuxmaniac@torreviejawireless.org>, Michael Biebl <biebl@debian.org>
|
||||
Uploaders: Victor Seva <linuxmaniac@torreviejawireless.org>, Andreas Henriksson <andreas@fatal.se>, Emilio Pozuelo Monfort <pochu@debian.org>, Michael Biebl <biebl@debian.org>
|
||||
Build-Depends: debhelper (>= 8.0.0),
|
||||
cdbs,
|
||||
dh-autoreconf,
|
||||
|
||||
2
debian/copyright
vendored
2
debian/copyright
vendored
@@ -1,4 +1,4 @@
|
||||
Format: http://dep.debian.net/deps/dep5
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: gnome-shell-extensions
|
||||
Upstream-Contact: 2011 Giovanni Campagna <gcampagna@src.gnome.org>
|
||||
Source: http://ftp.gnome.org/pub/GNOME/sources/gnome-shell-extensions/
|
||||
|
||||
2
debian/local/gnome-session-classic
vendored
Normal file
2
debian/local/gnome-session-classic
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
#! /bin/sh
|
||||
env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic "$@"
|
||||
@@ -1,70 +0,0 @@
|
||||
From a2f14c57c5855a6214aeb66be159ed2a986783f9 Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna@src.gnome.org>
|
||||
Date: Thu, 04 Jul 2013 13:45:04 +0000
|
||||
Subject: apps-menu: don't store the hot corner at creation
|
||||
|
||||
HotCorners become invalid when the xrandr configuration changes,
|
||||
so instead of storing it fetch it directly from layoutManager when
|
||||
needed.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=702038
|
||||
---
|
||||
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
|
||||
index 8e6a4a2..a822d44 100644
|
||||
--- a/extensions/apps-menu/extension.js
|
||||
+++ b/extensions/apps-menu/extension.js
|
||||
@@ -227,24 +227,23 @@ const ApplicationsMenu = new Lang.Class({
|
||||
Name: 'ApplicationsMenu',
|
||||
Extends: PopupMenu.PopupMenu,
|
||||
|
||||
- _init: function(sourceActor, arrowAlignment, arrowSide, button, hotCorner) {
|
||||
+ _init: function(sourceActor, arrowAlignment, arrowSide, button) {
|
||||
this.parent(sourceActor, arrowAlignment, arrowSide);
|
||||
this._button = button;
|
||||
- this._hotCorner = hotCorner;
|
||||
},
|
||||
|
||||
open: function(animate) {
|
||||
- this._hotCorner.setBarrierSize(0);
|
||||
- if (this._hotCorner.actor) // fallback corner
|
||||
- this._hotCorner.actor.hide();
|
||||
+ this._button.hotCorner.setBarrierSize(0);
|
||||
+ if (this._button.hotCorner.actor) // fallback corner
|
||||
+ this._button.hotCorner.actor.hide();
|
||||
this.parent(animate);
|
||||
},
|
||||
|
||||
close: function(animate) {
|
||||
let size = Main.layoutManager.panelBox.height;
|
||||
- this._hotCorner.setBarrierSize(size);
|
||||
- if (this._hotCorner.actor) // fallback corner
|
||||
- this._hotCorner.actor.show();
|
||||
+ this._button.hotCorner.setBarrierSize(size);
|
||||
+ if (this._button.hotCorner.actor) // fallback corner
|
||||
+ this._button.hotCorner.actor.show();
|
||||
this.parent(animate);
|
||||
},
|
||||
|
||||
@@ -265,9 +264,8 @@ const ApplicationsButton = new Lang.Class({
|
||||
|
||||
_init: function() {
|
||||
this.parent(1.0, null, false);
|
||||
- this._hotCorner = Main.layoutManager.hotCorners[Main.layoutManager.primaryIndex];
|
||||
|
||||
- this.setMenu(new ApplicationsMenu(this.actor, 1.0, St.Side.TOP, this, this._hotCorner));
|
||||
+ this.setMenu(new ApplicationsMenu(this.actor, 1.0, St.Side.TOP, this));
|
||||
Main.panel.menuManager.addMenu(this.menu);
|
||||
|
||||
// At this moment applications menu is not keyboard navigable at
|
||||
@@ -310,6 +308,10 @@ const ApplicationsButton = new Lang.Class({
|
||||
}));
|
||||
},
|
||||
|
||||
+ get hotCorner() {
|
||||
+ return Main.layoutManager.hotCorners[Main.layoutManager.primaryIndex];
|
||||
+ },
|
||||
+
|
||||
_createVertSeparator: function() {
|
||||
let separator = new St.DrawingArea({ style_class: 'calendar-vertical-separator',
|
||||
pseudo_class: 'highlighted' });
|
||||
|
||||
24
debian/patches/fix-hibernate.patch
vendored
24
debian/patches/fix-hibernate.patch
vendored
@@ -1,24 +0,0 @@
|
||||
From 6fbc63e9e6f19aa992ba01cbd905bf486a888bba Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna@src.gnome.org>
|
||||
Date: Thu, 04 Jul 2013 14:46:25 +0000
|
||||
Subject: alternative-status-menu: unpack the result of CanHibernate
|
||||
|
||||
The DBus call yields a GVariant, which we need to unpack to
|
||||
obtain the JS value to compare.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=702300
|
||||
---
|
||||
diff --git a/extensions/alternative-status-menu/extension.js b/extensions/alternative-status-menu/extension.js
|
||||
index 44c4f75..4285edd 100644
|
||||
--- a/extensions/alternative-status-menu/extension.js
|
||||
+++ b/extensions/alternative-status-menu/extension.js
|
||||
@@ -47,7 +47,7 @@ function loginManager_canHibernate(asyncCallback) {
|
||||
let result, error;
|
||||
|
||||
try {
|
||||
- result = proxy.call_finish(asyncResult);
|
||||
+ result = proxy.call_finish(asyncResult).deep_unpack();
|
||||
} catch(e) {
|
||||
error = e;
|
||||
}
|
||||
|
||||
25
debian/patches/gnome-session-classic-wrapper-script.patch
vendored
Normal file
25
debian/patches/gnome-session-classic-wrapper-script.patch
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
Description: Use a wrapper script to start GNOME classic session
|
||||
Xsession currently doesn't allow to pass more then one argument, as it
|
||||
otherwise fails with
|
||||
Xsession: unable to launch "gnome-session --session classic" X session ---
|
||||
"gnome-session --session classic" not found; falling back to default session.
|
||||
.
|
||||
This is due to [1]. Add a wrapper script to start the GNOME classic session
|
||||
as a workaround. Once [1] is fixed, this should be removed again.
|
||||
.
|
||||
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653327.
|
||||
Author: Michael Biebl <biebl@debian.org>
|
||||
|
||||
Index: gnome-shell-extensions-3.8.4/data/gnome-classic.desktop.in
|
||||
===================================================================
|
||||
--- gnome-shell-extensions-3.8.4.orig/data/gnome-classic.desktop.in 2013-07-16 13:12:50.000000000 +0200
|
||||
+++ gnome-shell-extensions-3.8.4/data/gnome-classic.desktop.in 2013-10-11 18:45:36.749513420 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
[Desktop Entry]
|
||||
_Name=GNOME Classic
|
||||
_Comment=This session logs you into GNOME Classic
|
||||
-Exec=env GNOME_SHELL_SESSION_MODE=classic gnome-session --session gnome-classic
|
||||
+Exec=gnome-session-classic
|
||||
TryExec=gnome-session
|
||||
Icon=
|
||||
Type=Application
|
||||
@@ -1,23 +0,0 @@
|
||||
From ae9df9f0010eaadc79d068c49f96c8265b181014 Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna@src.gnome.org>
|
||||
Date: Sun, 14 Jul 2013 13:18:08 +0000
|
||||
Subject: user-theme: look for gnome-shell themes in ~/.local/share too
|
||||
|
||||
Just like we look in XDG_DATA_DIRS, we should honor XDG_DATA_HOME
|
||||
as well.
|
||||
For compatibility reasons, we look in ~/.themes first, then ~/.local/share,
|
||||
then /usr/share.
|
||||
---
|
||||
diff --git a/extensions/user-theme/extension.js b/extensions/user-theme/extension.js
|
||||
index 7d8f922..b36d36a 100644
|
||||
--- a/extensions/user-theme/extension.js
|
||||
+++ b/extensions/user-theme/extension.js
|
||||
@@ -45,6 +45,7 @@ const ThemeManager = new Lang.Class({
|
||||
_stylesheet = _userCssStylesheet;
|
||||
else {
|
||||
let sysdirs = GLib.get_system_data_dirs();
|
||||
+ sysdirs.unshift(GLib.get_user_data_dir());
|
||||
for (let i = 0; i < sysdirs.length; i++) {
|
||||
_userCssStylesheet = sysdirs[i] + '/themes/' + _themeName + '/gnome-shell/gnome-shell.css';
|
||||
let file = Gio.file_new_for_path(_userCssStylesheet);
|
||||
|
||||
4
debian/patches/series
vendored
4
debian/patches/series
vendored
@@ -1,4 +1,2 @@
|
||||
dont-require-nautilus-classic.patch
|
||||
fix-hibernate.patch
|
||||
fix-applications-menu-resolution-change.patch
|
||||
look-in-data-home-for-themes.patch
|
||||
gnome-session-classic-wrapper-script.patch
|
||||
|
||||
9
debian/rules
vendored
9
debian/rules
vendored
@@ -8,12 +8,15 @@ include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
|
||||
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
|
||||
|
||||
EXTENSIONS_ENABLED="alternate-tab auto-move-windows workspace-indicator\
|
||||
alternative-status-menu native-window-placement user-theme\
|
||||
apps-menu drive-menu places-menu windowsNavigator systemMonitor\
|
||||
launch-new-instance window-list windowsNavigator"
|
||||
native-window-placement user-theme apps-menu drive-menu places-menu\
|
||||
windowsNavigator systemMonitor launch-new-instance window-list"
|
||||
|
||||
EXTENSIONS_DISABLED="example xrandr-indicator"
|
||||
|
||||
DEB_CONFIGURE_EXTRA_FLAGS := \
|
||||
--enable-extensions=$(EXTENSIONS_ENABLED) \
|
||||
--enable-classic-mode
|
||||
|
||||
binary-install/gnome-shell-extensions::
|
||||
install -m 755 -D debian/local/gnome-session-classic \
|
||||
debian/$(cdbs_curpkg)/usr/bin/gnome-session-classic
|
||||
|
||||
Reference in New Issue
Block a user