From cf61c93722b93938bb1d34544a69bada95ce9afc Mon Sep 17 00:00:00 2001 From: Mohamed El Morabity Date: Fri, 13 May 2011 02:34:08 +0200 Subject: [PATCH] - Update to a newer git snapshot - Enable native-window-placement extension --- .gitignore | 1 + gnome-shell-extensions.spec | 67 ++++++++++++++++++++++++++++++++++--- sources | 2 +- 3 files changed, 65 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index ac0013e..424cb45 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /gnome-shell-extensions-6d56cf.tar.xz /gnome-shell-extensions-f016b9.tar.xz +/gnome-shell-extensions-03660f.tar.xz diff --git a/gnome-shell-extensions.spec b/gnome-shell-extensions.spec index f8f415f..3e5e5f3 100644 --- a/gnome-shell-extensions.spec +++ b/gnome-shell-extensions.spec @@ -1,8 +1,8 @@ -%global commit f016b9 +%global commit 03660f Name: gnome-shell-extensions Version: 3.0.1 -Release: 1.%{commit}git%{?dist} +Release: 3.%{commit}git%{?dist} Summary: Modify and extend GNOME Shell functionality and behavior Group: User Interface/Desktops License: GPLv2+ @@ -15,7 +15,6 @@ Source0: gnome-shell-extensions-%{commit}.tar.xz # since we build from a git checkout BuildRequires: gnome-common BuildRequires: intltool - BuildRequires: glib2-devel Requires: gnome-shell >= 3.0.1 BuildArch: noarch @@ -33,6 +32,8 @@ Enabled extensions: * user-theme * auto-move-windows * drive-menu + * places-menu + * native-window-placement %package common Summary: Files common to GNOME Shell Extensions @@ -117,6 +118,27 @@ Requires: %{name}-common = %{version}-%{release} Adds a menu in the system status area that tracks removable disk devices attached and offers to browse them and eject/unmount them. +%package places-menu +Summary: Places menu indicator in the system status area +Group: User Interface/Desktops +License: GPLv2+ +Requires: %{name}-common = %{version}-%{release} + +%description places-menu +Adds a menu in the system status area that resembles the Places menu from +GNOME 2.x + +%package native-window-placement +Summary: Arrange windows in overview in a more native way +Group: User Interface/Desktops +License: GPLv2+ +Requires: %{name}-common = %{version}-%{release} + +%description native-window-placement +This extension employs an algorithm (taken from KDE) for layouting the +thumbnails in the overview that more closely reflects the positions and relative +sizes of the actual windows, instead of using a fixed grid. + %prep %setup -q -n gnome-shell-extensions @@ -128,7 +150,9 @@ sed -i "s|Main\.panel\._userMenu|Main.panel._statusmenu|g" extensions/alternativ # since we build from a git checkout [ -x autogen.sh ] && NOCONFIGURE=1 ./autogen.sh -%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows drive-menu" +# TODO: once libgtop2 >= 2.28.4 is available, enable systemMonitor extension +# TODO: once gjs >= 0.7.15 is available, enable xrand-indicator extension +%configure --enable-extensions="alternate-tab alternative-status-menu dock windowsNavigator user-theme auto-move-windows drive-menu places-menu native-window-placement" make %{?_smp_mflags} %install @@ -172,6 +196,24 @@ make install DESTDIR=$RPM_BUILD_ROOT %defattr(-,root,root,-) %{_datadir}/gnome-shell/extensions/drive-menu* +%files places-menu +%defattr(-,root,root,-) +%{_datadir}/gnome-shell/extensions/places-menu* + +%files places-menu +%defattr(-,root,root,-) +%{_datadir}/gnome-shell/extensions/places-menu* + +%files auto-move-windows +%defattr(-,root,root,-) +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.auto-move-windows.gschema.xml +%{_datadir}/gnome-shell/extensions/auto-move-windows* + +%files native-window-placement +%defattr(-,root,root,-) +%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.native-window-placement.gschema.xml +%{_datadir}/gnome-shell/extensions/native-window-placement* + %posttrans user-theme glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || : @@ -184,7 +226,24 @@ glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || : %postun auto-move-windows glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : +%posttrans native-window-placement +glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas || : + +%postun native-window-placement +glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : + %changelog +* Fri May 13 2011 Mohamed El Morabity - 3.0.1-3.03660fgit +- Update to a newer git snapshot +- Enable native-window-placement extension + +* Fri May 06 2011 Rahul Sundaram - 3.0.1-2b20cbagit +- Fix description + +* Thu May 5 2011 Elad Alfassa - 3.0.1-1.b20cbagit +- Update to a newer git snapshot +- Enabled the places-menu extension + * Tue Apr 26 2011 Mohamed El Morabity - 3.0.1-1.f016b9git - Update to a newer git snapshot (post-3.0.1 release) - Enable drive-menu extension diff --git a/sources b/sources index 964633b..7814c45 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d3cb86c79601965f8a2986dc58a481a8 gnome-shell-extensions-f016b9.tar.xz +c2cbfce26c4da19f08f870b55f995d64 gnome-shell-extensions-03660f.tar.xz