Revert to old gconf install scripts to avoid 'filename too long' errors
This commit is contained in:
parent
1582a8a4e8
commit
318035afd5
31
compiz.spec
31
compiz.spec
@ -14,7 +14,7 @@ URL: http://www.go-compiz.org
|
|||||||
License: X11/MIT/GPL
|
License: X11/MIT/GPL
|
||||||
Group: User Interface/Desktops
|
Group: User Interface/Desktops
|
||||||
Version: 0.7.6
|
Version: 0.7.6
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
|
||||||
Summary: OpenGL window and compositing manager
|
Summary: OpenGL window and compositing manager
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -227,14 +227,10 @@ done >> gnome-files.txt
|
|||||||
update-desktop-database -q %{_datadir}/applications
|
update-desktop-database -q %{_datadir}/applications
|
||||||
|
|
||||||
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
|
||||||
|
|
||||||
SCHEMA_FILES=""
|
|
||||||
for f in %{core_plugins} %{gnome_plugins} core; do
|
for f in %{core_plugins} %{gnome_plugins} core; do
|
||||||
SCHEMA_FILES+=compiz-$f\,
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/compiz-$f.schemas >& /dev/null || :
|
||||||
done
|
done
|
||||||
SCHEMA_FILES+=gwd
|
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gwd.schemas >& /dev/null || :
|
||||||
|
|
||||||
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/{$SCHEMA_FILES}.schemas >& /dev/null || :
|
|
||||||
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||||
@ -245,28 +241,20 @@ fi
|
|||||||
%pre gnome
|
%pre gnome
|
||||||
if [ "$1" -gt 1 ]; then
|
if [ "$1" -gt 1 ]; then
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
|
|
||||||
SCHEMA_FILES=""
|
|
||||||
for f in %{core_plugins} %{gnome_plugins} core; do
|
for f in %{core_plugins} %{gnome_plugins} core; do
|
||||||
SCHEMA_FILES+=compiz-$f\,
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/compiz-$f.schemas >& /dev/null || :
|
||||||
done
|
done
|
||||||
SCHEMA_FILES+=gwd
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwd.schemas >& /dev/null || :
|
||||||
|
|
||||||
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/{$SCHEMA_FILES}.schemas >& /dev/null || :
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
%preun gnome
|
%preun gnome
|
||||||
if [ "$1" -eq 0 ]; then
|
if [ "$1" -eq 0 ]; then
|
||||||
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
|
||||||
|
|
||||||
SCHEMA_FILES=""
|
|
||||||
for f in %{core_plugins} %{gnome_plugins} core; do
|
for f in %{core_plugins} %{gnome_plugins} core; do
|
||||||
SCHEMA_FILES+=compiz-$f\,
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/compiz-$f.schemas >& /dev/null || :
|
||||||
done
|
done
|
||||||
SCHEMA_FILES+=gwd
|
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/gwd.schemas >& /dev/null || :
|
||||||
|
|
||||||
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/{$SCHEMA_FILES}.schemas >& /dev/null || :
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
@ -276,6 +264,8 @@ if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
|||||||
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
/usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%post kde
|
%post kde
|
||||||
update-desktop-database -q %{_datadir}/applications/kde
|
update-desktop-database -q %{_datadir}/applications/kde
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
@ -340,6 +330,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 11 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.6-5
|
||||||
|
- Revert to old gconf schmema install script
|
||||||
|
|
||||||
* Tue Jun 10 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.6-4
|
* Tue Jun 10 2008 Adel Gadllah <adel.gadllah@gmail.com> - 0.7.6-4
|
||||||
- Disable kde3 to fix local builds (RH #449123)
|
- Disable kde3 to fix local builds (RH #449123)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user