FS#15300 - [rox] install binary file under /usr/share

Attached to Project: Arch Linux
Opened by Gerardo Exequiel Pozzi (djgera) - Sunday, 28 June 2009, 21:40 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 10 April 2010, 14:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: rox install ELF executable file "/usr/share/ROX-Filer/ROX-Filer". This file should be moved to another location outside /usr/share that is for architecture independent files [FHS]. Similar case is applied to "/usr/share/ROX-Filer/ROX-Filer.dbg".

Maybe a better location can be "/usr/lib/ROX-Filer/".

Additional info:
rox-2.8-1
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 10 April 2010, 14:55 GMT
Reason for closing:  Won't implement
Comment by Tobias Kieslich (tobias) - Sunday, 28 June 2009, 21:50 GMT
Rox is an odd ball when it comes to packaging and building. That has to do with rox' promoted zero_install system, that allows rox-* styled packages just installed as drop in. Moving binaries around just makes the package more error prone. Which is why we have a shell script that starts ROX-Filer. ROX- works around FHS in all kind of places, fixing it is not our business.
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 28 June 2009, 21:59 GMT
OK, I understand, this is bad. So maybe should be installed under /opt that is the proper location for packages that don't follow FHS recomendations? or installing in /opt breaks something?

PS: This task was openned because of a recent discusion on a mailing list about /usr/share [#1]

[#1] http://www.archlinux.org/pipermail/arch-general/2009-June/006060.html
Comment by Tobias Kieslich (tobias) - Monday, 29 June 2009, 00:04 GMT
it's not that easy either, because also the build process is rather unique, to put it nicely. Seriously, I rather don't touch rox, even though it has a binary is in /usr/share there are a lot of errors waiting IMHO for a little bit of standard compliance in a very non standard compliant package. It's my favourite file manager and it has a lot of useful features, but I dislike the install way of rox very much.
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 29 June 2009, 01:06 GMT
mmm, seems to work fine moving to /opt/

patch againt svn trunk, also fixes $startdir variables.
Comment by Tobias Kieslich (tobias) - Monday, 29 June 2009, 03:02 GMT
Well, rox is not self contained and not proprietary, it doesn't really fit into /opt. I also don't see how only the binaries got to opt and the man files in the normal system path. Technically, the main binary of ro is the shell script we dump into /usr/bin/rox everything within /usr/share is rox' business.
I would really prefer with the it ain't broken so don't fix it approach here.
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 29 June 2009, 03:34 GMT
mmm I am confused with the comments, Is the PKGBUILD that do all the work of copying the files, all ROX related files, man pages, ROX build system does nothing here.
Anyway the buildsystem uses the env var DISTDIR, that isn't used PKGBUILD, because it does this manually as you know.

So I can not see what is the business of rox in this case. :( You have all the control.

btw: with the changes this is how rox pkg looks [#1]

[#1] http://djgera.pastebin.com/m59a3ffbc
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 29 June 2009, 03:46 GMT
Also /usr/share/Choices/ can be moved if your prefer to /opt passing --sysconfdir to APPrun wrapper to configure script.

So the only files that will remain in /usr will be .desktop and icon files, what is wrong with this?
Comment by Paul Mattal (paul) - Saturday, 06 March 2010, 21:47 GMT
It sounds like Tobias, the maintainer, is in favor of leaving this as-is, and he's the one who would be doing the initial and ongoing maintenance work.

Accordingly, I will close as "won't implement" on April 2010 bug day unless something else happens.

Loading...