[Bug 253692] Review Request: compiz-fusion - Collection of Compiz Fusion plugins for Compiz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: compiz-fusion - Collection of Compiz Fusion plugins for Compiz


https://bugzilla.redhat.com/show_bug.cgi?id=253692


wtogami@xxxxxxxxxx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|nobody@xxxxxxxxxxxxxxxxx    |wtogami@xxxxxxxxxx




------- Additional Comments From wtogami@xxxxxxxxxx  2007-09-14 16:33 EST -------
The package looks fine, except the %post, %pre, and %preun scriptlets.

1) Do you really intend on doing --makefile-install-rule in all three places? 
Probably not.
2) You should avoid difficult-to-maintain long lists of plugins that are
redundant in the three scriptlets.  You could do something like the compiz
package with:

%define         core_plugins    blur clone cube dbus decoration fade ini inotify
minimize move

for f in %{core_plugins}; do
  echo %{_libdir}/compiz/lib$f.so
  echo %{_datadir}/compiz/$f.xml
done >> core-files.txt

Then use a loop within the scriptlets to install or uninstall the schemas.
export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
for f in %{core_plugins} %{gnome_plugins} core; do
  gconftool-2 --makefile-install-rule
%{_sysconfdir}/gconf/schemas/compiz-$f.schemas >& /dev/null || :
done


-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]