Re: [qet] Linux installation directories

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Le samedi 5 décembre 2015, 14:30:34 Simon Dop a écrit :
> On Sat, 05 Dec 2015 01:11:43 +0100
> 
> laurent Trinques <scorpio@xxxxxxxxxxxxxxxx> wrote:
> > Le vendredi 4 décembre 2015, 19:01:11 Simon Dop a écrit :
> > > Hi,
> > > 
> > > I do maintain the PKGBUILD for qelectrotech in ArchLinux (see [1]).
> > > 
> > > I noticed some time ago that the installation directories for
> > > Qelectrotech
> > > are not FHS-compliant (see [2]). For now, I do patch the
> > > qelectrotech.pro
> > > to be FHS compliant (see [3]).
> > > 
> > > Is there a reason behind this ?
> > > 
> > > If there is no reason, could you fix this ?
> > > 
> > > Thanks in advance for your answer
> > 
> > Hi,
> > 
> > 
> > By default a Gnu/Linux program compiled and installed by user example:
> > (Qmake, make, sudo make install) install these files in /usr/local/ and
> > sometimes in /opt directories.
> > And you want that upstream program install by defaut in /usr/share/ ...
> > no,
> > no, is a heresy, this directory is reserved to mainstream distribution!
> > 
> > the mainstream job is to patching source program in following to the
> > guidelines of its distribution and other.... not the upstream job!
> > 
> > 
> > 
> > Regards,
> > Laurent
> 
> I think there was a misunderstanding. I do not wish that QET was installed
> by default in `/usr`. This is the packager's job.
> 
> Let's just assume I do want to install it in `/usr/local`. In this case,
> the manpages would be installed in `/usr/local/man` (which is *not*
> FHS-compliant), rather than /usr/local/share/man. Same goes for
> `/usr/local/doc`
> (which should be in `/usr/local/share/doc`).
> 
> Also, MIME-type related stuff installed in `/usr/share` (in
> Makefile.Release, the path is `/usr/local/../share/mime/application`, for
> the targets `[un]install_mime_*`). This is not correct either, since the
> all of the application data should be below `/usr/local`.


Hi,

you could see this example with my Debian packages :

http://git.tuxfamily.org/qet/debian.git/tree/

Patch .pro :
http://git.tuxfamily.org/qet/debian.git/tree/patches/01_pro.diff

Install files :
http://git.tuxfamily.org/qet/debian.git/tree/qelectrotech.install

;-)

Regards,
Laurent








Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/