%define rname compositing-wm %define imgname mageia-top Name: %{rname}-common Version: 2010.0 Release: %mkrel 10 Summary: Common tools for compositing window managers Group: System/X11 URL: http://www.mandriva.com Source0: %{rname}.xinit Source1: %{rname}.sysconfig Source2: %{rname}-start Source3: %{imgname}.png Source5: compiz-manager License: GPLv2+ Requires: glxinfo Requires: xvinfo %description This package contains tools for compositing window managers, such as Compiz. This includes X session scripts, configuration files and images. %prep %setup -q -c -T %install install -D -m 0755 %SOURCE0 %{buildroot}%{_sysconfdir}/X11/xinit.d/40%{rname} install -D -m 0644 %SOURCE1 %{buildroot}%{_sysconfdir}/sysconfig/%{rname} install -D -m 0755 %SOURCE2 %{buildroot}%{_bindir}/%{rname}-start install -D -m 0755 %SOURCE5 %{buildroot}%{_bindir}/compiz-manager install -D -m 0644 %SOURCE3 %{buildroot}%{_datadir}/%{rname}/%{imgname}.png perl -pi -e "s!__LIBDIR__!%{_libdir}!" %{buildroot}%{_bindir}/%{rname}-start # Fix the paths in the compiz-manager script sed -i "s|/usr/local|/usr|g" %{buildroot}%{_bindir}/compiz-manager sed -i "s|/usr/bin|%{_bindir}|g" %{buildroot}%{_bindir}/compiz-manager sed -i "s|/usr/lib|%{_libdir}|g" %{buildroot}%{_bindir}/compiz-manager # And a default config to override some defaults mkdir -p %{buildroot}%{_sysconfdir}/xdg/compiz cat >%{buildroot}%{_sysconfdir}/xdg/compiz/compiz-manager <<EOF # We start the decorator via compiz' decoration plugin so set it to "no" here. START_DECORATOR="no" EOF %files %{_sysconfdir}/X11/xinit.d/* %config(noreplace) %{_sysconfdir}/sysconfig/%{rname} %config(noreplace) %{_sysconfdir}/xdg/compiz/compiz-manager %{_bindir}/%{rname}-start %{_bindir}/compiz-manager %dir %{_datadir}/%{rname} %{_datadir}/%{rname}/%{imgname}.png %changelog * Wed Oct 15 2014 umeabot <umeabot> 2010.0-10.mga5 + Revision: 742298 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 2010.0-9.mga5 + Revision: 678513 - Mageia 5 Mass Rebuild * Fri Oct 18 2013 umeabot <umeabot> 2010.0-8.mga4 + Revision: 503463 - Mageia 4 Mass Rebuild * Fri Jan 11 2013 umeabot <umeabot> 2010.0-7.mga3 + Revision: 348109 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun May 22 2011 ahmad <ahmad> 2010.0-6.mga1 + Revision: 100202 - Fix typo in compiz-manager from the previous commit, it's /usr/lib/xorg/extra-modules/ - Fix the sed command so that it replaces both occurances of /usr/lib/ when on one line * Sat May 21 2011 ahmad <ahmad> 2010.0-5.mga1 + Revision: 100079 - Robustify the XORG_DRIVER_PATH variable in compiz-manager, this should make it whitelist the nvidia-current driver (mga#1366) * Tue May 17 2011 schultz <schultz> 2010.0-4.mga1 + Revision: 99370 - Replace mandriva-top.png with mageia-top.png * Mon Feb 28 2011 eandry <eandry> 2010.0-3.mga1 + Revision: 61806 - clean spec + colin <colin> - imported package compositing-wm-common * Tue Nov 30 2010 Oden Eriksson <oeriksson@mandriva.com> 2010.0-2mdv2011.0 + Revision: 603849 - rebuild * Wed Apr 07 2010 Frederic Crozat <fcrozat@mandriva.com> 2010.0-1mdv2010.1 + Revision: 532604 - Ensure compositing-wm is not started with GNOME-Shell (GNOME3Preview) (Mdv bug #57573) - Drop test on Xgl, no longer present in current distribution * Wed Feb 03 2010 Thierry Vignaud <tv@mandriva.org> 2009.0-8mdv2010.1 + Revision: 499979 - requires glxinfo instead of mesa-demos * Tue Sep 01 2009 Christophe Fergeau <cfergeau@mandriva.com> 2009.0-7mdv2010.0 + Revision: 423680 - rebuild * Sun Aug 09 2009 Oden Eriksson <oeriksson@mandriva.com> 2009.0-6mdv2010.0 + Revision: 413266 - rebuild * Sat Mar 07 2009 Antoine Ginies <aginies@mandriva.com> 2009.0-5mdv2009.1 + Revision: 350736 - rebuild * Wed Nov 19 2008 Olivier Blin <oblin@mandriva.com> 2009.0-4mdv2009.1 + Revision: 304647 - move kstylerc hack in compiz-decorator-kde + Frederic Crozat <fcrozat@mandriva.com> - Fix KDE4 to not break metisse startup * Wed Sep 03 2008 Helio Chissini de Castro <helio@mandriva.com> 2009.0-3mdv2009.0 + Revision: 279932 - Make kde3 use proper composite manager - Make kde use proper composite manager * Tue Aug 05 2008 Olivier Blin <oblin@mandriva.com> 2009.0-2mdv2009.0 + Revision: 263906 - fix path to mesa libraries on i586 * Thu May 22 2008 Colin Guthrie <cguthrie@mandriva.org> 2009.0-1mdv2009.0 + Revision: 210118 - Switch the release to 2009.0 - Add support for starting under KDE4 * Tue Mar 04 2008 Colin Guthrie <cguthrie@mandriva.org> 2008.1-4mdv2008.1 + Revision: 178348 - Fix paths in the script rather than overriding them in the config (will fix an XGL + x86_64 based error I missed before) * Tue Mar 04 2008 Colin Guthrie <cguthrie@mandriva.org> 2008.1-3mdv2008.1 + Revision: 178326 - Require xvinfo - Put a prefix on log message to make them stand out in ~/.xsession-errors * Sat Mar 01 2008 Colin Guthrie <cguthrie@mandriva.org> 2008.1-2mdv2008.1 + Revision: 177013 - Add a (slightly modified) compiz-manager script which will be used to start compiz with suitible arguments and environment variables. * Fri Feb 29 2008 Olivier Blin <oblin@mandriva.com> 2008.1-1mdv2008.1 + Revision: 176923 - update cube image (from Helene) - restore BuildRoot * Mon Dec 17 2007 Thierry Vignaud <tv@mandriva.org> 2007-15mdv2008.1 + Revision: 123340 - kill re-definition of %%buildroot on Pixel's request * Fri Oct 05 2007 Colin Guthrie <cguthrie@mandriva.org> 2007-15mdv2008.0 + Revision: 95562 - Move the decorator start into xinit.d to help with gnome session restoration with vanilla compiz. - Allow the starting of a decorator afterall even if it is not used on compiz fusion and does not play nice with gnome session saving. * Wed Oct 03 2007 Colin Guthrie <cguthrie@mandriva.org> 2007-13mdv2008.0 + Revision: 95026 - Do not start the decorator - compiz does this by itself now. * Fri Sep 14 2007 Adam Williamson <awilliamson@mandriva.org> 2007-12mdv2008.0 + Revision: 85775 - rebuild for 2008 - don't mention Beryl any more - Fedora license policy * Fri Mar 23 2007 Olivier Blin <oblin@mandriva.com> 2007-11mdv2007.1 + Revision: 148463 - disable QT drop shadows at session start when compositing is enabled (can be disabled by touching ~/.mdv_no_auto_shadow) - export COMPOSITING_WM_START variable - allow per-user compositing configuration (based on work from Adam Pigg, #29001) * Fri Dec 15 2006 Olivier Blin <oblin@mandriva.com> 2007-10mdv2007.1 + Revision: 97390 - use SESSION variable instead of DESKTOP in xinit script (#25429) * Thu Dec 14 2006 Olivier Blin <oblin@mandriva.com> 2007-9mdv2007.1 + Revision: 97095 - update again comments in sysconfig file * Thu Dec 14 2006 Olivier Blin <oblin@mandriva.com> 2007-8mdv2007.1 + Revision: 96753 - rename COMPOSITING_SERVER_LATE_INIT as COMPOSITING_SERVER_SPAWNS_WINDOW (and add some doc) - revert minor sysconfig comment * Wed Dec 13 2006 Olivier Blin <oblin@mandriva.com> 2007-7mdv2007.1 + Revision: 96575 - update sysconfig comments * Wed Dec 13 2006 Olivier Blin <oblin@mandriva.com> 2007-6mdv2007.1 + Revision: 96557 - use original X display if COMPOSITING_SERVER_LATE_INIT is "yes" (this is not for 3D desktops) - do not run window decorator if not specified - factorize xinit level and name in spec * Wed Nov 15 2006 Olivier Blin <oblin@mandriva.com> 2007-5mdv2007.1 + Revision: 84225 - bump release - read window manager defaults if present * Sat Nov 04 2006 Olivier Blin <oblin@mandriva.com> 2007-4mdv2007.1 + Revision: 76586 - don't use default wm arguments * Mon Oct 16 2006 Olivier Blin <oblin@mandriva.com> 2007-3mdv2007.1 + Revision: 65402 - remove the noarch buildarch, some scripts are arch-dependent * Sun Oct 15 2006 Olivier Blin <oblin@mandriva.com> 2007-2mdv2006.0 + Revision: 65115 - default to gtk-window-decorator * Sat Sep 30 2006 Colin Guthrie <cguthrie@mandriva.org> 2007-1mdv2006.0 + Revision: 62774 - Fix typo in default config + Olivier Blin <oblin@mandriva.com> - move common compositing wm scripts/images in compositing-wm-common (configuration file is not backward compatible) - Created package structure for compositing-wm-common.