You are not logged in.

#1 2009-03-24 07:25:05

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Should I use /usr/share/xyne in my packages?

It's reaching the point where it will be worthwhile to split some of my packages to reuse code and centralize commonly used functions/objects for easier maintenance. Would /usr/share/xyne be the proper place to put files that I intend to reuse in different pkgs?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#2 2009-03-24 07:42:09

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: Should I use /usr/share/xyne in my packages?

My first thought was /usr/lib/xyne but your stuff is mostly (all?) architecture independent so /usr/share/xyne is OK.  Check the FHS for folder definitions

Offline

#3 2009-03-24 07:47:07

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: Should I use /usr/share/xyne in my packages?

IMO it would be great if you can combine all your perl/bash scripts (all those related to pacman,makepkg etc) into a single package and add a few man pages for each tool in the package. And then you can put all the common code in /usr/lib under that package name.

Last edited by u_no_hu (2009-03-24 07:47:42)


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#4 2009-03-24 08:15:31

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Should I use /usr/share/xyne in my packages?

@Allan
Thanks for mentioning the FHS. I found the  (quasi-?)official guide (which I hadn't even heard of before... hurray for Linoobishness) and it seems that your suggestion is what they recommend. It also makes me wonder why the lmms packager dumped the libs in /usr/lib64, but that's another matter. tongue

@u_no_hu
I'll add man pages eventually (the only reason I haven't yet is due to my aforementioned Linoobishness) but I don't know about the combined package. I personally dislike having things that I don't use/need/care about on my system so I'm reluctant to bundle stuff. I might make a group or metapackage for those who think they want everything though, but once I start splitting things up into function libs etc, it will make more sense to have them in separate packages, even if they are small.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2009-03-24 09:28:14

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Should I use /usr/share/xyne in my packages?

Xyne wrote:

@Allan
Thanks for mentioning the FHS. I found the  (quasi-?)official guide (which I hadn't even heard of before... hurray for Linoobishness)

you can also just type "man hier" in your console.


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#6 2009-03-24 09:43:05

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: Should I use /usr/share/xyne in my packages?

+1 for a /usr/[lib|share]/xyne

Offline

Board footer

Powered by FluxBB