- Add compiz-gtk driver script and desktop file
- New desktop effects release
This commit is contained in:
parent
4750292869
commit
7d7d58657a
|
@ -1,3 +1,3 @@
|
|||
compiz-0.7.6.tar.bz2
|
||||
desktop-effects-0.7.18.tar.bz2
|
||||
kde-desktop-effects-0.0.5.tar.bz2
|
||||
desktop-effects-0.7.17.tar.bz2
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
export LIBGL_ALWAYS_INDIRECT=1
|
||||
gtk-window-decorator &
|
||||
exec compiz --ignore-desktop-hints glib gconf $@
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Name=Compiz
|
||||
TryExec=compiz-gtk
|
||||
Exec=compiz-gtk
|
||||
NoDisplay=true
|
20
compiz.spec
20
compiz.spec
|
@ -1,4 +1,4 @@
|
|||
%define dialogversion 0.7.17
|
||||
%define dialogversion 0.7.18
|
||||
%define kde_dialogversion 0.0.5
|
||||
|
||||
%define core_plugins blur clone cube dbus decoration fade ini inotify minimize move place png regex resize rotate scale screenshot switcher video water wobbly zoom fs
|
||||
|
@ -14,7 +14,7 @@ URL: http://www.go-compiz.org
|
|||
License: GPLv2+ and LGPLv2+ and MIT
|
||||
Group: User Interface/Desktops
|
||||
Version: 0.7.6
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
|
||||
Summary: OpenGL window and compositing manager
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
@ -46,13 +46,14 @@ BuildRequires: fuse-devel
|
|||
Source0: http://releases.compiz-fusion.org/compiz/%{version}/%{name}-%{version}.tar.bz2
|
||||
Source1: desktop-effects-%{dialogversion}.tar.bz2
|
||||
Source2: kde-desktop-effects-%{kde_dialogversion}.tar.bz2
|
||||
Source3: compiz-gtk
|
||||
Source4: compiz-gtk.desktop
|
||||
|
||||
# Make sure that former beryl users still have bling
|
||||
Obsoletes: beryl-core
|
||||
|
||||
|
||||
# Patches that are not upstream
|
||||
Patch101: desktop-effects-0.7.17-ignore-hints.patch
|
||||
Patch102: desktop-effects-0.7.17-wall-plugin.patch
|
||||
Patch103: composite-cube-logo.patch
|
||||
Patch105: fedora-logo.patch
|
||||
|
@ -122,7 +123,6 @@ and other kde integration related stuff.
|
|||
%setup -q
|
||||
|
||||
pushd ../desktop-effects-%{dialogversion}
|
||||
%patch101 -p1 -b .ignore-hints
|
||||
%patch102 -p1 -b .wall-plugin
|
||||
popd
|
||||
|
||||
|
@ -181,6 +181,12 @@ desktop-file-install --vendor redhat --delete-original \
|
|||
$RPM_BUILD_ROOT%{_datadir}/applications/desktop-effects.desktop
|
||||
popd
|
||||
|
||||
install %SOURCE3 $RPM_BUILD_ROOT%{_bindir}
|
||||
|
||||
desktop-file-install --vendor="" \
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
%SOURCE4
|
||||
|
||||
# kde-desktop-effects
|
||||
echo INSTALLING KDE DESKTOP EFFECTS
|
||||
pushd ../kde-desktop-effects-%{kde_dialogversion}
|
||||
|
@ -298,6 +304,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
%files gnome -f gnome-files.txt
|
||||
%defattr(-, root, root)
|
||||
%{_bindir}/compiz-gtk
|
||||
%{_bindir}/gtk-window-decorator
|
||||
%{_bindir}/desktop-effects
|
||||
%{_libdir}/window-manager-settings/libcompiz.so
|
||||
|
@ -305,6 +312,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||
%{_datadir}/gnome-control-center/keybindings/50-compiz-desktop-key.xml
|
||||
%{_datadir}/gnome-control-center/keybindings/50-compiz-key.xml
|
||||
%{_datadir}/compiz/desktop-effects.glade
|
||||
%{_datadir}/applications/compiz-gtk.desktop
|
||||
%{_datadir}/applications/redhat-desktop-effects.desktop
|
||||
%{_datadir}/icons/hicolor/16x16/apps/desktop-effects.png
|
||||
%{_datadir}/icons/hicolor/24x24/apps/desktop-effects.png
|
||||
|
@ -337,6 +345,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Sep 25 2008 Jon McCann <jmccann@redhat.com> - 0.7.6-11
|
||||
- Add compiz-gtk driver script and desktop file
|
||||
- New desktop effects release
|
||||
|
||||
* Tue Aug 26 2008 Adam Jackson <ajax@redhat.com> 0.7.6-10
|
||||
- Fixed Requires: Xorg >= foo to Conflicts: Xorg < foo.
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
diff -upNr desktop-effects-0.7.17.orign/desktop-effects.c desktop-effects-0.7.17/desktop-effects.c
|
||||
--- desktop-effects-0.7.17.orign/desktop-effects.c 2008-01-17 19:22:37.000000000 +0100
|
||||
+++ desktop-effects-0.7.17/desktop-effects.c 2008-06-13 10:49:11.000000000 +0200
|
||||
@@ -251,7 +251,7 @@ start_compiz (App *app, GError **err)
|
||||
if (!g_spawn_command_line_async ("gtk-window-decorator", err))
|
||||
return FALSE;
|
||||
|
||||
- if (!g_spawn_command_line_async ("compiz --replace glib gconf", err))
|
||||
+ if (!g_spawn_command_line_async ("compiz --ignore-desktop-hints --replace glib gconf", err))
|
||||
return FALSE;
|
||||
|
||||
app->compiz_running = TRUE;
|
Loading…
Reference in New Issue