You are not logged in.

#1 2006-03-16 17:11:32

obsrv
Member
Registered: 2005-02-08
Posts: 137

KDE packages should be split

I am a Gentoo user. In portage kde packages are splited out. For example:
I can install "ksnapshot" or "kpdf" without pulling whole kdegraphics package with a lot of other tools for graphics. In Arch Linux i have to install whole kdegraphics package to get for example kpdf. It also will install kooka, kuickshow, kolourpaint and lots of other programs that I don't need. So it would be nice if I could install separate KDE programs without complete sets.


"god@heaven$ emerge world"

              ~ Genesis on Gentoo

Offline

#2 2006-03-16 18:34:12

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: KDE packages should be split

please search the wiki, you will find there answers

Offline

#3 2006-03-16 18:54:16

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: KDE packages should be split

its not a new idea, sorry.

Offline

#4 2006-03-17 16:55:15

Riklaunim
Member
Registered: 2005-04-09
Posts: 106
Website

Re: KDE packages should be split

Dusty wrote:

its not a new idea, sorry.

not in Extra also wink

Offline

#5 2006-03-17 18:12:17

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: KDE packages should be split

lock please!  lol


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#6 2006-03-17 18:20:39

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: KDE packages should be split

i do not see where we always say no. please see the wiki, search the forums or browse the mailinglist archives. there's been one hell of a discussion about this everywhere.


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#7 2006-03-17 20:55:15

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: KDE packages should be split

cynicalme wrote:
kth5 wrote:

lock please!  lol

This seems to be the answer to everything in Arch ... lock it and shut it up.   :?

s/cynicalme   8)

Oh puh-lease... roll

Offline

#8 2006-03-17 21:36:28

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: KDE packages should be split

cynicalme wrote:

This seems to be the answer to everything in Arch ... lock it and shut it up.   :?

Nah, we just get really really bored discussing the same things to death over and over. We're mostly of a hacker mindset... attention defecit is common, we like to work on new problems, not rehash old. That's why we're starving open source developers instead of well-paid microsoft programmers.

Dusty

Offline

#9 2006-03-17 22:21:35

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: KDE packages should be split

Short answer: Splitting the KDE packages would be against The Arch Way. As long as the KDE team releases big packages (kdelibs, kdebase, etc), Arch will use the same release scheme for KDE.

Offline

#10 2006-03-17 23:02:51

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: KDE packages should be split

It would be very hard for me looking for a new distro if the KDE (or whatever) packages in Arch get split... tongue


Microshaft delenda est

Offline

#11 2006-03-18 09:39:23

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE packages should be split

AFAIK KDE developers want to split KDE4 into more packages. Am I wrong?


to live is to die

Offline

#12 2006-03-18 10:31:09

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: KDE packages should be split

Romashka wrote:

AFAIK KDE developers want to split KDE4 into more packages. Am I wrong?

I thought there were plans, but I believe they haven't decided on it, yet.

Offline

#13 2006-03-18 12:23:47

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: KDE packages should be split

Romashka wrote:

AFAIK KDE developers want to split KDE4 into more packages. Am I wrong?

extra/kdebase 3.5.1-4
    KDE Base Programs.

Aint KDE4 yet.

obsrv: That's all nice and whatever that gentoo have split packages, but they also dont update as frequently as Arch do. They also dont need to maintain hundreds of binary packages as well as the ebuilds. It would take an inordinate amount of effort to split KDE up, for no benefit. Any computer that can run KDE as it is now even half decently has more than enough hdd space for the extra text editor or silly image editor.

iphitus

Offline

#14 2006-03-18 16:47:29

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: KDE packages should be split

I don't want to have KDE packages split.  Can I have what I want?  lol

You can please some of the people some of the time...

Offline

#15 2006-03-18 21:21:39

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

Re: KDE packages should be split

I know I'm boring, and yes, I know I'm bringing the same topic on and on, but I think optional dependencies should be introduced into pacman.

I mean, the problem with KDE packages and almost any other big packes is that their dependencies are immense. And yes, iphitus, while I don't mind having 3 text editors or image editors installed, I do mind having to install loads of dependencies I don't need.

I already made a feature request:
http://bugs.archlinux.org/task/3840

Offline

#16 2006-03-19 09:57:53

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: KDE packages should be split

I agree. The problem is not in having some unneeded packages but in having useless dependencies that are, in fact, optional, but are installed and upgraded by Pacman with upgrade of main package.
Of course, such dependency system as Genott's USE-flags is not possible with binary packages, but some improvements could be done. FS#3840 is good idea, IMO.


to live is to die

Offline

#17 2006-03-19 15:25:09

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: KDE packages should be split

Romashka wrote:

I agree. The problem is not in having some unneeded packages but in having useless dependencies that are, in fact, optional, but are installed and upgraded by Pacman with upgrade of main package.
Of course, such dependency system as Genott's USE-flags is not possible with binary packages, but some improvements could be done. FS#3840 is good idea, IMO.

This has happened (at least to a certain degree) allready - for example file-roller supports various file formats, but only if you install different commandline tools (it doesn't depend on them).

Offline

#18 2006-08-04 15:28:30

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: KDE packages should be split

Thought I'd look into helping out, some day soon, by splitting out KDE packages -- or at least look into what amount of work it might be (before jumping in, blind).  My first step was to write to Dan Armak, former Gentoo KDE maintanier.  Since he sent such an informative reply, I wanted to post it here as a way to 1) preserve it (or back it up); and 2) to share.

Here's my inquiry:

Dan,

Am interested in splitting the current "monolithic" packages for the
distro Arch Linux.  I saw your e-mail address on the Gentoo wiki and
wanted to ask: Do you have any, say, shell scripts that help you do
this for Gentoo?  If so, would you be willing to share them?  Could
you share any other tips on how to do this task?

Thanks,

Here's Dan's informative reply:

Hello,

First off, I quit Gentoo development a few months ago. danarmak@OBSCURED1
will stop receiving mail sometime soon, so please mail me at
danarmak@OBSCURED2 and fix the link in that wiki if you can.

About splitting packages: I don't have any scripts that'd help you (what we
have is ebuild-specific), but the info we've gathered while creating the
split KDE ebuilds will probably be useful.

When splitting the ebuilds, we first had to list the split packages mapped to
each monolithic package. Some of the toplevel dirs in the monolithic tarball
are upstream-deprecated, some split packages include more than one top-level
dir, etc.

Then we had to map out the inter-dependencies between split packages. This
include many build-time deps that are not actually runtime deps, because
upstream apparently isn't used to the idea of selectively compiling only one
app; distros which aren't source-based like Gentoo compile everything and
then just package in pieces.

And finally we had to check which of the deps (and reverse deps) the
monolithic kdepim package had belonged to which derived split ebuild.

I've never used Arch Linux; will you need to take per-split-package compile
time deps into account? If you do, this will probably be the most tricky
part. Some apps rely on libraries being built in-tree, and not just present
in $DESTDIR. So to build e.g. kmail, you need to take some 9 libraries from
kdepim, which are installed by other packages, and copy or symlink the
installed .so and .la files back into you build tree. Similar things happen
with other buildtime-generated stuff.

Luckily you can gather all this info from the Gentoo ebuilds (viewcvs:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/).

eclass/kde-functions.eclass defines the KDE_DERIVATION_MAP variable. This maps
split packages to monolithic ones, so you can see what all there is. Then you
can look at the ebuilds for each split package.

The global variables starting with KM (for kde-meta-) in each ebuild are
instructions to the split ebuild build system. There's a brief explanation of
what they do in eclass/kde-meta.eclass (comment block starting with "Set the
following variables"). So looking at e.g. the kmail ebuild
(kde-base/kmail/kmail-3.5.4.ebuild) you'll see:

DEPEND=, RDEPEND=: normal build- and run-time dependencies.
KMCOPYLIB: as described above, these libs are copied from the live system to
the build tree.
KMEXTRACTONLY: these extra dirs are extracted (from the kdepim tarball) but
are not compiled. The kmail compilation accesses non-installed headers there
or whatever.
KMCOMPILEONLY: this dir is extracted and compiled, but not installed. Probably
builds e.g. a static library included by kmail.
KMEXTRA: stuff that's built and installed - basically pieces of kmail outside
the main kdepim/kmail directory.

HTH. Feel free to ask for more info. You can also ask the remaining Gentoo KDE
packagers at kde@OBSCURED3.

--
Dan Armak

Also want to add: No, I don't have a clue what I'm getting myself into.  Never stopped me before. 8)

EDIT: Obscured e-mail addresses to thwart the spam-bots.
.

Offline

#19 2006-08-04 20:20:26

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: KDE packages should be split

ahh smile good luck soloport!


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#20 2006-08-17 14:40:36

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: KDE packages should be split

Yeah good luck (sarcasm).  Packages that now depend on "kdebase" are going to have to depend on 5-6 specific kde libs when kdebase is split up.  In fact, if you really want this done, you should talk to the KDE people.  Arch will never do this.

Offline

#21 2006-08-17 15:05:26

Insane-Boy
Member
Registered: 2006-02-27
Posts: 243

Re: KDE packages should be split

If there is someone which want to make kde splited pkgs i can help him and we can make a little unofficial repo with most important kde pkgs.For contact  use PM.

Offline

#22 2006-08-19 05:41:25

pbw
Member
From: Barrie ON, Canada
Registered: 2005-06-01
Posts: 65

Re: KDE packages should be split

Awhile back I split most every kde package.. I was going to release a repo for it, but as i dont use kde anymore, i didnt have mch incentive to keep it up. Anyhow, since enough people seem to be wanting this, i'd be willing to update dependencies and do it again.

Originally i did split up base, but along with what phrakture mentioned above, the fact that personally i've found most everything in kdebase to be somewhat beneficial to a kde install. And the fact that it's a bit of a pain, i'd be only splitting the extra packages, such as games, graphics, multimedia, pim etc. Everything but base.

If everyone who would like this is cool with that, i'll check out what has been updated since my old pkgbuilds and get to putting them back out.

Offline

#23 2006-08-19 07:21:20

Simastrick
Member
Registered: 2006-08-17
Posts: 49

Re: KDE packages should be split

That would be great! Maybe I can help as well.

Offline

#24 2006-08-19 09:53:34

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: KDE packages should be split

go! go!


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

#25 2006-08-28 18:00:17

hussam
Member
Registered: 2006-03-26
Posts: 572
Website

Re: KDE packages should be split

phrakture wrote:

Yeah good luck (sarcasm).  Packages that now depend on "kdebase" are going to have to depend on 5-6 specific kde libs when kdebase is split up.  In fact, if you really want this done, you should talk to the KDE people.  Arch will never do this.

Kdebase and kdelibs aren't the problem and should not be split.
But some parts of kdeadmin like the sysvinit tool and the network configuration part should really be disabled. They really don't work in arch and can possibly ruin the system.

Offline

Board footer

Powered by FluxBB