Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25744 - [shotwell] package includes compiled schemas

Attached to Project: Community Packages
Opened by Vianney le Clément (vlc) - Wednesday, 24 August 2011, 12:36 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 24 August 2011, 16:50 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The shotwell package includes compiled schemas. Such files conflict with existing files on the system and pacman refuses to upgrade.

Additional info:
* package version: 0.11.0-1

Steps to reproduce:
pacman -S shotwell
gives the following error:
error: failed to commit transaction (conflicting files)
shotwell: /usr/share/glib-2.0/schemas/gschemas.compiled exists in filesystem
(assuming you have other gtk/gnome stuff installed already)
This task depends upon

Closed by  Sergej Pupykin (sergej)
Wednesday, 24 August 2011, 16:50 GMT
Reason for closing:  Fixed
Comment by Ionut Biru (wonder) - Wednesday, 24 August 2011, 12:49 GMT
i pretty much knew that once I pass the maintenance of this package, the quality will decrease.

you have several errors:
1) pass --disable-schemas-install to ./configure and drop --disable-schemas-install
2) add in shotwell.install glib-compile-schemas usr/share/glib-2.0/schemas for post_install, post_upgrade, post_remove
3) add dconf to dependency
4) you might want to remove old gconf schemas in pre_remove in the same way is in gedit
Comment by Ionut Biru (wonder) - Wednesday, 24 August 2011, 12:50 GMT
5) drop gconf
6) use namcap
Comment by Ionut Biru (wonder) - Wednesday, 24 August 2011, 12:55 GMT
well for 1) i failed, usually is disable-schemas-compile but upstream failed and you have to delete the cache manually for now, unless you report it upstream.

same for 4 and 5, why the hell they still have gconf schemas now?
Comment by Sergej Pupykin (sergej) - Wednesday, 24 August 2011, 14:08 GMT
dconf
and
glib-compile-schemas usr/share/glib-2.0/schemas
added in 3rd pkgrel
Comment by Vianney le Clément (vlc) - Wednesday, 24 August 2011, 16:34 GMT
It installs fine now. Thanks.

Loading...