Accepting request 149264 from home:dimstar:branches:GNOME:Factory

- Add g-s-e-power-off-elipsis.patch: "Power Off..." was changed to
  "Power Off", but a bunch of translations missed that yet.

- Add alternative-status-menu.gschema.override: Enable hibernate by
  default for users of the packaged version of the
  alternative-status-menu extension.

OBS-URL: https://build.opensuse.org/request/show/149264
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell-extensions?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2013-01-22 09:05:15 +00:00 committed by Git OBS Bridge
parent d8d5247860
commit 8ba0987928
4 changed files with 232 additions and 0 deletions

View File

@ -0,0 +1,2 @@
[org.gnome.shell.extensions.alternative-status-menu]
allow-hibernate = true

View File

@ -0,0 +1,210 @@
Only in gnome-shell-extensions-3.6.2.patched: patches
Only in gnome-shell-extensions-3.6.2.patched: .pc
diff -ur gnome-shell-extensions-3.6.2/po/da.po gnome-shell-extensions-3.6.2.patched/po/da.po
--- gnome-shell-extensions-3.6.2/po/da.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/da.po 2013-01-20 00:53:21.322401114 +0100
@@ -28,8 +28,8 @@
msgstr "Hviletilstand"
#: ../extensions/alternative-status-menu/extension.js:78
-msgid "Power Off..."
-msgstr "Sluk..."
+msgid "Power Off"
+msgstr "Sluk"
#: ../extensions/alternate-tab/extension.js:54
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/eo.po gnome-shell-extensions-3.6.2.patched/po/eo.po
--- gnome-shell-extensions-3.6.2/po/eo.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/eo.po 2013-01-20 00:53:30.282503752 +0100
@@ -27,8 +27,8 @@
msgstr "Pasivumigi"
#: ../extensions/alternative-status-menu/extension.js:78
-msgid "Power Off..."
-msgstr "Elŝalti..."
+msgid "Power Off"
+msgstr "Elŝalti"
#: ../extensions/alternate-tab/extension.js:54
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/eu.po gnome-shell-extensions-3.6.2.patched/po/eu.po
--- gnome-shell-extensions-3.6.2/po/eu.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/eu.po 2013-01-20 00:53:40.658622611 +0100
@@ -54,8 +54,8 @@
msgstr "Hibernatu"
#: ../extensions/alternative-status-menu/extension.js:93
-msgid "Power Off..."
-msgstr "Itzali..."
+msgid "Power Off"
+msgstr "Itzali"
#: ../extensions/alternate-tab/extension.js:44
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/fa.po gnome-shell-extensions-3.6.2.patched/po/fa.po
--- gnome-shell-extensions-3.6.2/po/fa.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/fa.po 2013-01-20 00:53:49.750726761 +0100
@@ -62,8 +62,8 @@
msgstr "خواب‌زمستانی"
#: ../extensions/alternative-status-menu/extension.js:74
-msgid "Power Off..."
-msgstr "خاموش کردن..."
+msgid "Power Off"
+msgstr "خاموش کردن"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid "Application and workspace list"
diff -ur gnome-shell-extensions-3.6.2/po/fr.po gnome-shell-extensions-3.6.2.patched/po/fr.po
--- gnome-shell-extensions-3.6.2/po/fr.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/fr.po 2013-01-20 00:54:09.682955086 +0100
@@ -88,8 +88,8 @@
msgstr "Hiberner"
#: ../extensions/alternative-status-menu/extension.js:78
-msgid "Power Off..."
-msgstr "Éteindre..."
+msgid "Power Off"
+msgstr "Éteindre"
#: ../extensions/alternative-status-menu/org.gnome.shell.extensions.alternative-status-menu.gschema.xml.in.h:1
msgid "Enable suspending"
diff -ur gnome-shell-extensions-3.6.2/po/he.po gnome-shell-extensions-3.6.2.patched/po/he.po
--- gnome-shell-extensions-3.6.2/po/he.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/he.po 2013-01-20 00:54:18.223052913 +0100
@@ -57,8 +57,8 @@
msgstr "תרדמת"
#: ../extensions/alternative-status-menu/extension.js:91
-msgid "Power Off..."
-msgstr "כיבוי..."
+msgid "Power Off"
+msgstr "כיבוי"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/ja.po gnome-shell-extensions-3.6.2.patched/po/ja.po
--- gnome-shell-extensions-3.6.2/po/ja.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/ja.po 2013-01-20 00:54:26.343145929 +0100
@@ -52,8 +52,8 @@
msgstr "ハイバーネート"
#: ../extensions/alternative-status-menu/extension.js:93
-msgid "Power Off..."
-msgstr "電源オフ..."
+msgid "Power Off"
+msgstr "電源オフ"
#: ../extensions/alternate-tab/extension.js:44
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/ko.po gnome-shell-extensions-3.6.2.patched/po/ko.po
--- gnome-shell-extensions-3.6.2/po/ko.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/ko.po 2013-01-20 00:54:35.007245176 +0100
@@ -75,8 +75,8 @@
msgstr "최대 절전"
#: ../extensions/alternative-status-menu/extension.js:74
-msgid "Power Off..."
-msgstr "전원 끄기..."
+msgid "Power Off"
+msgstr "전원 끄기"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid "Application and workspace list"
diff -ur gnome-shell-extensions-3.6.2/po/nb.po gnome-shell-extensions-3.6.2.patched/po/nb.po
--- gnome-shell-extensions-3.6.2/po/nb.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/nb.po 2013-01-20 00:54:45.367363851 +0100
@@ -70,8 +70,8 @@
msgstr "Dvalemodus"
#: ../extensions/alternative-status-menu/extension.js:74
-msgid "Power Off..."
-msgstr "Slå av …"
+msgid "Power Off"
+msgstr "Slå av"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid "Application and workspace list"
diff -ur gnome-shell-extensions-3.6.2/po/sv.po gnome-shell-extensions-3.6.2.patched/po/sv.po
--- gnome-shell-extensions-3.6.2/po/sv.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/sv.po 2013-01-20 00:55:01.879552999 +0100
@@ -60,8 +60,8 @@
msgstr "Viloläge"
#: ../extensions/alternative-status-menu/extension.js:74
-msgid "Power Off..."
-msgstr "Stäng av..."
+msgid "Power Off"
+msgstr "Stäng av"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid "Application and workspace list"
diff -ur gnome-shell-extensions-3.6.2/po/te.po gnome-shell-extensions-3.6.2.patched/po/te.po
--- gnome-shell-extensions-3.6.2/po/te.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/te.po 2013-01-20 00:55:28.479857707 +0100
@@ -50,7 +50,7 @@
msgstr "సుప్తావస్థ"
#: ../extensions/alternative-status-menu/extension.js:93
-msgid "Power Off..."
+msgid "Power Off"
msgstr "విద్యుత్ ఆపు..."
#: ../extensions/alternate-tab/extension.js:44
diff -ur gnome-shell-extensions-3.6.2/po/uk.po gnome-shell-extensions-3.6.2.patched/po/uk.po
--- gnome-shell-extensions-3.6.2/po/uk.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/uk.po 2013-01-20 00:55:39.015978398 +0100
@@ -51,8 +51,8 @@
msgstr "Сплячий режим"
#: ../extensions/alternative-status-menu/extension.js:93
-msgid "Power Off..."
-msgstr "Вимкнути…"
+msgid "Power Off"
+msgstr "Вимкнути"
#: ../extensions/alternate-tab/extension.js:54
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/vi.po gnome-shell-extensions-3.6.2.patched/po/vi.po
--- gnome-shell-extensions-3.6.2/po/vi.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/vi.po 2013-01-20 00:55:54.076150913 +0100
@@ -51,8 +51,8 @@
msgstr "Ngủ đông"
#: ../extensions/alternative-status-menu/extension.js:93
-msgid "Power Off..."
-msgstr "Tắt máy..."
+msgid "Power Off"
+msgstr "Tắt máy"
#: ../extensions/alternate-tab/extension.js:44
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/zh_HK.po gnome-shell-extensions-3.6.2.patched/po/zh_HK.po
--- gnome-shell-extensions-3.6.2/po/zh_HK.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/zh_HK.po 2013-01-20 00:56:07.828308444 +0100
@@ -72,8 +72,8 @@
msgstr "休眠"
#: ../extensions/alternative-status-menu/extension.js:74
-msgid "Power Off..."
-msgstr "關閉電源..."
+msgid "Power Off"
+msgstr "關閉電源"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""
diff -ur gnome-shell-extensions-3.6.2/po/zh_TW.po gnome-shell-extensions-3.6.2.patched/po/zh_TW.po
--- gnome-shell-extensions-3.6.2/po/zh_TW.po 2012-11-16 20:36:53.000000000 +0100
+++ gnome-shell-extensions-3.6.2.patched/po/zh_TW.po 2013-01-20 00:56:16.384406455 +0100
@@ -78,8 +78,8 @@
msgstr "休眠"
#: ../extensions/alternative-status-menu/extension.js:74
-msgid "Power Off..."
-msgstr "關閉電源..."
+msgid "Power Off"
+msgstr "關閉電源"
#: ../extensions/auto-move-windows/org.gnome.shell.extensions.auto-move-windows.gschema.xml.in.h:1
msgid ""

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Sat Jan 19 19:23:13 UTC 2013 - dimstar@opensuse.org
- Add g-s-e-power-off-elipsis.patch: "Power Off..." was changed to
"Power Off", but a bunch of translations missed that yet.
-------------------------------------------------------------------
Fri Jan 18 09:34:56 UTC 2013 - dimstar@opensuse.org
- Add alternative-status-menu.gschema.override: Enable hibernate by
default for users of the packaged version of the
alternative-status-menu extension.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Dec 28 01:35:02 UTC 2012 - mike.catanzaro@gmail.com Fri Dec 28 01:35:02 UTC 2012 - mike.catanzaro@gmail.com

View File

@ -27,6 +27,10 @@ Url: http://live.gnome.org/GnomeShell/Extensions
# generated with "git archive --prefix gnome-shell-extensions-3.6.2/" since there are no tarballs anymore # generated with "git archive --prefix gnome-shell-extensions-3.6.2/" since there are no tarballs anymore
Source: %{name}-%{version}-git-tag.tar.xz Source: %{name}-%{version}-git-tag.tar.xz
Source1: README.SUSE Source1: README.SUSE
# Users of the alternative-status-menu extension (from the package) shall be offered hibernate too
Source2: alternative-status-menu.gschema.override
# PATCH-FIX-UPSTREAM g-s-e-power-off-elipsis.patch dimstar@opensuse.org -- Translate "Power Off" in various languages.
Patch0: g-s-e-power-off-elipsis.patch
# Needed because we build a tarball generated with "git archive" # Needed because we build a tarball generated with "git archive"
BuildRequires: gnome-common BuildRequires: gnome-common
# Needed for directory ownership # Needed for directory ownership
@ -80,6 +84,7 @@ menu, and provides the ability to hibernate.
%lang_package -n %{name}-common %lang_package -n %{name}-common
%prep %prep
%setup -q %setup -q
%patch0 -p1
cp %{S:1} . cp %{S:1} .
# Needed because we build a tarball generated with "git archive" # Needed because we build a tarball generated with "git archive"
NOCONFIGURE=1 ./autogen.sh NOCONFIGURE=1 ./autogen.sh
@ -90,6 +95,7 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
cp %{S:2} %{buildroot}%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.override
%find_lang %{name} %{?no_lang_C} %find_lang %{name} %{?no_lang_C}
%post %post
@ -107,6 +113,7 @@ make %{?_smp_mflags}
%doc COPYING %doc COPYING
%{_datadir}/gnome-shell/extensions/alternative-status-menu@gnome-shell-extensions.gcampax.github.com/ %{_datadir}/gnome-shell/extensions/alternative-status-menu@gnome-shell-extensions.gcampax.github.com/
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.alternative-status-menu.gschema.override
%files common-lang -f %{name}.lang %files common-lang -f %{name}.lang