You are not logged in.

#1 2008-05-07 09:29:00

alcafar
Member
From: Italy
Registered: 2008-03-23
Posts: 47

Splitted packages (KDEmod-like) for docs?

Sorry for posting another thread about the "stripping-docs" issue.
I built last week some KDEmod packages from svn to get rid of a bug in kate, and I encountered for the first time the splitted packages concept used in KDEmod.
In your opinion, is it feasible (and not too time-consuming) to use the same system to split every package in package-bin and package-doc?

Offline

#2 2008-05-07 09:46:22

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Splitted packages (KDEmod-like) for docs?

At the moment, makepkg does not support the automatic splitting of packages so it does take a fair bit of time to make them separately.  Saying that, there are doc packages in the repo for software where the devs feel it is worth it (e.g. gtk-doc, koffice-doc, qt-doc). 

What docs does the kdemod team actually supply?

Offline

#3 2008-05-07 10:59:40

alcafar
Member
From: Italy
Registered: 2008-03-23
Posts: 47

Re: Splitted packages (KDEmod-like) for docs?

Sorry, I didn't make myself clear.
I didn't go through the details of how packages are splitted in KDEmod, I just used the following thread:
http://kdemod.ath.cx/bbs/viewtopic.php?id=592
They have two different makepkg for splitted and non splitted packages.
They don't split bin and doc, but independent parts of the package, letting you choose to install only one part.
An example:

$ pacman -Ss kdetoys
extra/kdetoys 3.5.9-1 (kde)
    Toys for KDE.
kdemod/kdemod-kdeaddons-base 3.5.9-1 (kdemod)
    KDEmod KDEtoys base package
kdemod/kdemod-kdetoys-amor 3.5.9-1 (kdemod-kdetoys)
    Amusing Misuse Of Resources put's comic figures above your windows
kdemod/kdemod-kdetoys-base 3.5.9-1 (kdemod-kdetoys)
    KDEmod KDEtoys base package
kdemod/kdemod-kdetoys-eyesapplet 3.5.9-1 (kdemod-kdetoys)
    A kicker applet similar to XEyes
kdemod/kdemod-kdetoys-fifteenapplet 3.5.9-1 (kdemod-kdetoys)
    Kicker applet, order 15 pieces in a 4x4 square by moving them
kdemod/kdemod-kdetoys-kmoon 3.5.9-1 (kdemod-kdetoys)
    System tray applet showing the moon phase
kdemod/kdemod-kdetoys-kodo 3.5.9-1 (kdemod-kdetoys)
    Mouse movement meter
kdemod/kdemod-kdetoys-kteatime 3.5.9-1 (kdemod-kdetoys)
    System tray applet that makes sure your tea doesn't get too strong
kdemod/kdemod-kdetoys-ktux 3.5.9-1 (kdemod-kdetoys)
    Tux-in-a-Spaceship screen saver
kdemod/kdemod-kdetoys-kweather 3.5.9-1 (kdemod-kdetoys)
    Kicker applet that will display the current weather outside
kdemod/kdemod-kdetoys-kworldwatch 3.5.9-1 (kdemod-kdetoys)
    Application and kicker applet showing daylight area on the world globe

As you can see, in standard kde, kdetoys is a single package, while in kdemod you can choose to install separately a single component (let's say amor).
But there is only one PKGBUILD for kdemod-kdetoys, and it includes instructions to install or uninstall only one component, notably the line

#
# LIST OF SPLIT INSTALL FUNCTIONS
#
splitinstall=(base_install amor_install eyesapplet_install fifteenapplet_install kmoon_install kodo_install kteatime_install ktux_install kweather_install k
worldwatch_install)

Using the same system to split every package in bin and doc was my idea, but I really don't know if it is easy to implement.
It could be helpful if somebody of the KDEmod team posted in this thread.

Offline

#4 2008-05-07 11:09:40

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Splitted packages (KDEmod-like) for docs?

OK - I understand you query now.  Splitting packages automatically like this first requires a package splitting solution to be implemented in Arch's version of makepkg.  I am 100% sure on the details, but there has been several methods suggested but no real consensus on which should be implemented.  Have a search in the pacman section of the bug tracker if you are interested.

Offline

#5 2008-05-07 11:44:47

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Splitted packages (KDEmod-like) for docs?

quoting myself from http://bugs.archlinux.org/task/10246

shining wrote:

Otherwise, I said earlier that it would be more useful to have a way to split packages.
While this has been indeed requested and discussed many times, it's worth mentioning that
splitting packages doesn't really fit with Arch standards and philosophy.


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB