FS#27349 - [docky] Replace gnome-desktop-sharp dependency + minor improvements

Attached to Project: Community Packages
Opened by Balló György (City-busz) - Wednesday, 30 November 2011, 16:20 GMT
Last edited by Andrea Scarpino (BaSh) - Wednesday, 08 February 2012, 07:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I attached an improved package and diff file with the following changes:
- gnome-desktop-sharp is splitted for a while, so replace with libgnome-desktop-sharp, rsvg2-sharp and wnck-sharp
- it's a platform-independent package, so it should be any
- use the upstream website instead of project page as URL: http://wiki.go-docky.com/
- do not call update-desktop-database, since the .desktop file does not contain MIME type, and remove desktop-file-utils dependency
- simplify GConf install by using configure switches
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Wednesday, 08 February 2012, 07:39 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Moved to AUR
Comment by Jan Alexander Steffens (heftig) - Wednesday, 30 November 2011, 17:57 GMT
The way gconf was handled had its purpose. This way, no matter what schemas are installed, they're consolidated into a schema file with a known name, which can then be installed during package installation. Also, installing the schema while packaging is avoided.
Comment by Balló György (City-busz) - Wednesday, 30 November 2011, 18:38 GMT
Usually, applications use only one GConf schema, and it's named after the package name. In this case the 'gconf-merge-schema' command means a simple move. But of course in some rare cases multiple GConf schemas installed, and it's better to merging them.

But now
- '--disable-schemas-install' is equivalent to 'GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1' and
- '--with-gconf-schema-file-dir=/usr/share/gconf/schemas' is equivalent to 'mkdir -p "$pkgdir/usr/share/gconf/schemas" && gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/docky.schemas" "$pkgdir"/etc/gconf/schemas/*.schemas && rm -rf "$pkgdir/etc/gconf"'.

So my recommendation is simpler, but not works for all apps. Anyway, you could ignore the bottom of my patch, and review&apply the rest.

Loading...