Arch Linux

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#28748 - [qt] wrong sysconfdir path

Attached to Project: Arch Linux
Opened by speps (archspeps) - Friday, 02 March 2012, 19:02 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 08 March 2012, 08:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
According to [1], in QSettings, when using a system-wide scoping for configuration files,
path should default to the xdg standard (/etc/xdg).

This does not happen with the actual qt package, since the flag used in build time
defaults to /etc instead of /etc/xdg

replacing [2] with "-sysconfdir /etc/xdg" should solve.

Additional info:
* package version(s) 4.8.0-5 (and probably previous)

Steps to reproduce:
build and run sample code showed on [2]

[1] http://qt-project.org/doc/qt-4.8/qsettings.html
[2] http://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/qt#n56
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Thursday, 08 March 2012, 08:50 GMT
Reason for closing:  Fixed
Additional comments about closing:  qt 4.8.0-6
Comment by Andrea Scarpino (BaSh) - Saturday, 03 March 2012, 09:30 GMT
Just checked Fedora, and they set it to /etc/ too.
Debian set it to /etc/xdg
Comment by speps (archspeps) - Saturday, 03 March 2012, 13:47 GMT
@BaSh Debian do it [1] since 2007 (4.2.2-1) [2]
Probably the issue is just relatively harmless and hard to discover, so not all distributions are aware of this.

[1] http://anonscm.debian.org/gitweb/?p=pkg-kde/qt/qt4-x11.git;a=blob;f=debian/rules;hb=HEAD#l109
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=407297

Loading...