1  # Copyright 19992008 Gentoo Foundation 
1  # Copyright 19992008 Gentoo Foundation 
2  # Distributed under the terms of the GNU General Public License v2 
2  # Distributed under the terms of the GNU General Public License v2 
3  # $Header: /var/cvsroot/gentoox86/eclass/kde4functions.eclass,v 1.6 2008/05/15 19:49:32 ingmar Exp $ 
3  # $Header: /var/cvsroot/gentoox86/eclass/kde4functions.eclass,v 1.9 2008/10/07 01:41:36 jmbsvicetto Exp $ 
4  
4  
5  # @ECLASS: kde4functions.eclass 
5  # @ECLASS: kde4functions.eclass 
6  # @MAINTAINER: 
6  # @MAINTAINER: 
7  # kde@gentoo.org 
7  # kde@gentoo.org 
8  # @BLURB: Common ebuild functions for monolithic and split KDE 4 packages 
8  # @BLURB: Common ebuild functions for monolithic and split KDE 4 packages 
…  
…  
27  if [[ "${KMNAME}" == "koffice"  "${PN}" == "koffice" ]]; then 
27  if [[ "${KMNAME}" == "koffice"  "${PN}" == "koffice" ]]; then 
28  debugprint "${ECLASS}: KOFFICE ebuild recognized" 
28  debugprint "${ECLASS}: KOFFICE ebuild recognized" 
29  KDEBASE="koffice" 
29  KDEBASE="koffice" 
30  fi 
30  fi 
31  
31  


32  # @ECLASSVARIABLE: KDE_SLOTS 


33  # @DESCRIPTION: 


34  # The slots used by all KDE versions after 4.0  this doesn't include kde3.5 and the 


35  # liveebuilds that use the following var. 


36  KDE_SLOTS=( "kde4" "4.1" ) 


37  


38  # @ECLASSVARIABLE: KDE_LIVE_SLOTS 


39  # @DESCRIPTION: 


40  # The slots used by all KDE live versions. 


41  KDE_LIVE_SLOTS=( "kdesvn" ) 


42  
32  # @ECLASSVARIABLE: KDE_DERIVATION_MAP 
43  # @ECLASSVARIABLE: KDE_DERIVATION_MAP 
33  # @DESCRIPTION: 
44  # @DESCRIPTION: 
34  # Map of the monolithic>split ebuild derivation. 
45  # Map of the monolithic>split ebuild derivation. 
35  # Used to build dependencies describing the relationships between them: 
46  # Used to build dependencies describing the relationships between them: 
36  # Monolithic ebuilds block their split counterparts in the same slot, and vice versa. 
47  # Monolithic ebuilds block their split counterparts in the same slot, and vice versa. 
37  # 
48  # 
38  # Also see getparentpackage(), getchildpackages(), isparentpackage() 
49  # Also see getparentpackage(), getchildpackages(), isparentpackage() 
39  KDE_DERIVATION_MAP=' 
50  KDE_DERIVATION_MAP=' 


51  appoffice/koffice appoffice/karbon 


52  appoffice/koffice appoffice/kchart 


53  appoffice/koffice appoffice/kexi 


54  appoffice/koffice appoffice/kformula 


55  appoffice/koffice appoffice/kivio 


56  appoffice/koffice appoffice/kofficedata 


57  appoffice/koffice appoffice/kofficelibs 


58  appoffice/koffice appoffice/koshell 


59  appoffice/koffice appoffice/kplato 


60  appoffice/koffice appoffice/kpresenter 


61  appoffice/koffice appoffice/krita 


62  appoffice/koffice appoffice/kspread 


63  appoffice/koffice appoffice/kugar 


64  appoffice/koffice appoffice/kword 
40  kdebase/kdeaccessibility kdebase/kdeaccessibilitycolorschemes 
65  kdebase/kdeaccessibility kdebase/kdeaccessibilitycolorschemes 
41  kdebase/kdeaccessibility kdebase/kdeaccessibilityiconthemes 
66  kdebase/kdeaccessibility kdebase/kdeaccessibilityiconthemes 
42  kdebase/kdeaccessibility kdebase/kmag 
67  kdebase/kdeaccessibility kdebase/kmag 
43  kdebase/kdeaccessibility kdebase/kmousetool 
68  kdebase/kdeaccessibility kdebase/kmousetool 
44  kdebase/kdeaccessibility kdebase/kmouth 
69  kdebase/kdeaccessibility kdebase/kmouth 
45  kdebase/kdeaccessibility kdebase/kttsd 
70  kdebase/kdeaccessibility kdebase/kttsd 
46  kdebase/kdeadmin kdebase/kcron 
71  kdebase/kdeadmin kdebase/kcron 
47  kdebase/kdeadmin kdebase/kdat 
72  kdebase/kdeadmin kdebase/kdat 
48  kdebase/kdeadmin kdebase/knetworkconf 
73  kdebase/kdeadmin kdebase/knetworkconf 


74  kdebase/kdeadmin kdebase/kpackage 


75  kdebase/kdeadmin kdebase/ksystemlog 
49  kdebase/kdeadmin kdebase/ksysv 
76  kdebase/kdeadmin kdebase/ksysv 
50  kdebase/kdeadmin kdebase/kuser 
77  kdebase/kdeadmin kdebase/kuser 
51  kdebase/kdeadmin kdebase/liloconfig 
78  kdebase/kdeadmin kdebase/liloconfig 
52  kdebase/kdeadmin kdebase/secpolicy 
79  kdebase/kdeadmin kdebase/secpolicy 
53  kdebase/kdeartwork kdebase/kdeartworkcolorschemes 
80  kdebase/kdeartwork kdebase/kdeartworkcolorschemes 
…  
…  
58  kdebase/kdeartwork kdebase/kdeartworkkworldclock 
85  kdebase/kdeartwork kdebase/kdeartworkkworldclock 
59  kdebase/kdeartwork kdebase/kdeartworksounds 
86  kdebase/kdeartwork kdebase/kdeartworksounds 
60  kdebase/kdeartwork kdebase/kdeartworkstyles 
87  kdebase/kdeartwork kdebase/kdeartworkstyles 
61  kdebase/kdeartwork kdebase/kdeartworkwallpapers 
88  kdebase/kdeartwork kdebase/kdeartworkwallpapers 
62  kdebase/kdebase kdebase/dolphin 
89  kdebase/kdebase kdebase/dolphin 


90  kdebase/kdebase kdebase/drkonqi 
63  kdebase/kdebase kdebase/kappfinder 
91  kdebase/kdebase kdebase/kappfinder 
64  kdebase/kdebase kdebase/kdepasswd 
92  kdebase/kdebase kdebase/kcheckpass 
65  kdebase/kdebase kdebase/kdialog 


66  kdebase/kdebase kdebase/keditbookmarks 


67  kdebase/kdebase kdebase/kfind 
93  kdebase/kdebase kdebase/kcminit 
68  kdebase/kdebase kdebase/kinfocenter 


69  kdebase/kdebase kdebase/konqueror 


70  kdebase/kdebase kdebase/konsole 


71  kdebase/kdebase kdebase/kwrite 


72  kdebase/kdebase kdebase/libkonq 


73  kdebase/kdebase kdebase/nsplugins 


74  kdebase/kdebase kdebase/drkonqi 


75  kdebase/kdebase kdebase/kcmshell 
94  kdebase/kdebase kdebase/kcmshell 
76  kdebase/kdebase kdebase/kcontrol 
95  kdebase/kdebase kdebase/kcontrol 


96  kdebase/kdebase kdebase/kdemenu 


97  kdebase/kdebase kdebase/kdemenuicons 


98  kdebase/kdebase kdebase/kdewallpapers 


99  kdebase/kdebase kdebase/kdebasecursors 
77  kdebase/kdebase kdebase/kdebasedata 
100  kdebase/kdebase kdebase/kdebasedata 
78  kdebase/kdebase kdebase/kdebasekioslaves 
101  kdebase/kdebase kdebase/kdebasekioslaves 


102  kdebase/kdebase kdebase/kdebasestartkde 
79  kdebase/kdebase kdebase/kdebugdialog 
103  kdebase/kdebase kdebase/kdebugdialog 
80  kdebase/kdebase kdebase/kdemenu 
104  kdebase/kdebase kdebase/kdepasswd 
81  kdebase/kdebase kdebase/kdesu 
105  kdebase/kdebase kdebase/kdesu 


106  kdebase/kdebase kdebase/kdialog 


107  kdebase/kdebase kdebase/kdm 


108  kdebase/kdebase kdebase/keditbookmarks 
82  kdebase/kdebase kdebase/kfile 
109  kdebase/kdebase kdebase/kfile 


110  kdebase/kdebase kdebase/kfind 
83  kdebase/kdebase kdebase/khelpcenter 
111  kdebase/kdebase kdebase/khelpcenter 


112  kdebase/kdebase kdebase/khotkeys 
84  kdebase/kdebase kdebase/kiconfinder 
113  kdebase/kdebase kdebase/kiconfinder 


114  kdebase/kdebase kdebase/kinfocenter 
85  kdebase/kdebase kdebase/kioclient 
115  kdebase/kdebase kdebase/kioclient 


116  kdebase/kdebase kdebase/klipper 


117  kdebase/kdebase kdebase/kmenuedit 
86  kdebase/kdebase kdebase/kmimetypefinder 
118  kdebase/kdebase kdebase/kmimetypefinder 
87  kdebase/kdebase kdebase/knetattach 
119  kdebase/kdebase kdebase/knetattach 
88  kdebase/kdebase kdebase/knewstuff 
120  kdebase/kdebase kdebase/knewstuff 
89  kdebase/kdebase kdebase/knotify 
121  kdebase/kdebase kdebase/knotify 


122  kdebase/kdebase kdebase/konqueror 


123  kdebase/kdebase kdebase/konsole 
90  kdebase/kdebase kdebase/kpasswdserver 
124  kdebase/kdebase kdebase/kpasswdserver 
91  kdebase/kdebase kdebase/kquitapp 
125  kdebase/kdebase kdebase/kquitapp 
92  kdebase/kdebase kdebase/kreadconfig 
126  kdebase/kdebase kdebase/kreadconfig 
93  kdebase/kdebase kdebase/kstart 


94  kdebase/kdebase kdebase/kstyles 


95  kdebase/kdebase kdebase/ktimezoned 


96  kdebase/kdebase kdebase/ktraderclient 


97  kdebase/kdebase kdebase/kuiserver 


98  kdebase/kdebase kdebase/kurifilterplugins 


99  kdebase/kdebase kdebase/nepomuk 


100  kdebase/kdebase kdebase/phonon 


101  kdebase/kdebase kdebase/solidhardware 


102  kdebase/kdebase kdebase/soliduiserver 


103  kdebase/kdebase kdebase/kcheckpass 


104  kdebase/kdebase kdebase/kcminit 


105  kdebase/kdebase kdebase/kdebasestartkde 


106  kdebase/kdebase kdebase/kstartupconfig 


107  kdebase/kdebase kdebase/kdemenuicons 


108  kdebase/kdebase kdebase/kdewallpapers 


109  kdebase/kdebase kdebase/kdm 


110  kdebase/kdebase kdebase/khotkeys 


111  kdebase/kdebase kdebase/klipper 


112  kdebase/kdebase kdebase/kmenuedit 


113  kdebase/kdebase kdebase/krunner 
127  kdebase/kdebase kdebase/krunner 
114  kdebase/kdebase kdebase/kscreensaver 
128  kdebase/kdebase kdebase/kscreensaver 
115  kdebase/kdebase kdebase/ksmserver 
129  kdebase/kdebase kdebase/ksmserver 
116  kdebase/kdebase kdebase/ksplash 
130  kdebase/kdebase kdebase/ksplash 


131  kdebase/kdebase kdebase/kstart 


132  kdebase/kdebase kdebase/kstartupconfig 


133  kdebase/kdebase kdebase/kstyles 
117  kdebase/kdebase kdebase/ksysguard 
134  kdebase/kdebase kdebase/ksysguard 
118  kdebase/kdebase kdebase/ksystraycmd 
135  kdebase/kdebase kdebase/ksystraycmd 


136  kdebase/kdebase kdebase/ktimezoned 
119  kdebase/kdebase kdebase/ktip 
137  kdebase/kdebase kdebase/ktip 


138  kdebase/kdebase kdebase/ktraderclient 


139  kdebase/kdebase kdebase/kuiserver 


140  kdebase/kdebase kdebase/kurifilterplugins 
120  kdebase/kdebase kdebase/kwin 
141  kdebase/kdebase kdebase/kwin 


142  kdebase/kdebase kdebase/kwrite 


143  kdebase/kdebase kdebase/libkonq 
121  kdebase/kdebase kdebase/libkworkspace 
144  kdebase/kdebase kdebase/libkworkspace 
122  kdebase/kdebase kdebase/libplasma 
145  kdebase/kdebase kdebase/libplasma 
123  kdebase/kdebase kdebase/libtaskmanager 
146  kdebase/kdebase kdebase/libtaskmanager 


147  kdebase/kdebase kdebase/nepomuk 


148  kdebase/kdebase kdebase/nsplugins 


149  kdebase/kdebase kdebase/phonon 


150  kdebase/kdebase kdebase/phononxine 
124  kdebase/kdebase kdebase/plasma 
151  kdebase/kdebase kdebase/plasma 


152  kdebase/kdebase kdebase/plasmaapps 


153  kdebase/kdebase kdebase/plasmaworkspace 


154  kdebase/kdebase kdebase/renamedlgplugins 
125  kdebase/kdebase kdebase/solid 
155  kdebase/kdebase kdebase/solid 


156  kdebase/kdebase kdebase/solidhardware 


157  kdebase/kdebase kdebase/soliduiserver 
126  kdebase/kdebase kdebase/systemsettings 
158  kdebase/kdebase kdebase/systemsettings 
127  kdebase/kdebindings kdebase/kalyptus 
159  kdebase/kdebindings kdebase/kalyptus 
128  kdebase/kdebindings kdebase/kdejava 
160  kdebase/kdebindings kdebase/kdejava 
129  kdebase/kdebindings kdebase/kimono 
161  kdebase/kdebindings kdebase/kimono 
130  kdebase/kdebindings kdebase/kjsembed 
162  kdebase/kdebindings kdebase/kjsembed 
131  kdebase/kdebindings kdebase/korundum 
163  kdebase/kdebindings kdebase/korundum 


164  kdebase/kdebindings kdebase/krossjava 
132  kdebase/kdebindings kdebase/krosspython 
165  kdebase/kdebindings kdebase/krosspython 
133  kdebase/kdebindings kdebase/krossruby 
166  kdebase/kdebindings kdebase/krossruby 
134  kdebase/kdebindings kdebase/pykde4 
167  kdebase/kdebindings kdebase/pykde4 
135  kdebase/kdebindings kdebase/qyoto 


136  kdebase/kdebindings kdebase/qtjava 
168  kdebase/kdebindings kdebase/qtjava 
137  kdebase/kdebindings kdebase/qtruby 
169  kdebase/kdebindings kdebase/qtruby 
138  kdebase/kdebindings kdebase/qtsharp 
170  kdebase/kdebindings kdebase/qtsharp 


171  kdebase/kdebindings kdebase/qyoto 
139  kdebase/kdebindings kdebase/smoke 
172  kdebase/kdebindings kdebase/smoke 
140  kdebase/kdebindings kdebase/xparts 
173  kdebase/kdebindings kdebase/xparts 
141  kdebase/kdeedu kdebase/blinken 
174  kdebase/kdeedu kdebase/blinken 
142  kdebase/kdeedu kdebase/kalgebra 
175  kdebase/kdeedu kdebase/kalgebra 
143  kdebase/kdeedu kdebase/kalzium 
176  kdebase/kdeedu kdebase/kalzium 
…  
…  
160  kdebase/kdeedu kdebase/step 
193  kdebase/kdeedu kdebase/step 
161  kdebase/kdegames kdebase/bovo 
194  kdebase/kdegames kdebase/bovo 
162  kdebase/kdegames kdebase/katomic 
195  kdebase/kdegames kdebase/katomic 
163  kdebase/kdegames kdebase/kbattleship 
196  kdebase/kdegames kdebase/kbattleship 
164  kdebase/kdegames kdebase/kblackbox 
197  kdebase/kdegames kdebase/kblackbox 


198  kdebase/kdegames kdebase/kblocks 
165  kdebase/kdegames kdebase/kbounce 
199  kdebase/kdegames kdebase/kbounce 


200  kdebase/kdegames kdebase/kbreakout 
166  kdebase/kdegames kdebase/kdiamond 
201  kdebase/kdegames kdebase/kdiamond 
167  kdebase/kdegames kdebase/kfourinline 
202  kdebase/kdegames kdebase/kfourinline 
168  kdebase/kdegames kdebase/kgoldrunner 
203  kdebase/kdegames kdebase/kgoldrunner 
169  kdebase/kdegames kdebase/kiriki 
204  kdebase/kdegames kdebase/kiriki 
170  kdebase/kdegames kdebase/kjumpingcube 
205  kdebase/kdegames kdebase/kjumpingcube 
…  
…  
177  kdebase/kdegames kdebase/konquest 
212  kdebase/kdegames kdebase/konquest 
178  kdebase/kdegames kdebase/kpat 
213  kdebase/kdegames kdebase/kpat 
179  kdebase/kdegames kdebase/kreversi 
214  kdebase/kdegames kdebase/kreversi 
180  kdebase/kdegames kdebase/ksame 
215  kdebase/kdegames kdebase/ksame 
181  kdebase/kdegames kdebase/kshisen 
216  kdebase/kdegames kdebase/kshisen 


217  kdebase/kdegames kdebase/ksirk 
182  kdebase/kdegames kdebase/kspaceduel 
218  kdebase/kdegames kdebase/kspaceduel 
183  kdebase/kdegames kdebase/ksquares 
219  kdebase/kdegames kdebase/ksquares 
184  kdebase/kdegames kdebase/ksudoku 
220  kdebase/kdegames kdebase/ksudoku 
185  kdebase/kdegames kdebase/ktuberling 
221  kdebase/kdegames kdebase/ktuberling 
186  kdebase/kdegames kdebase/kubrick 
222  kdebase/kdegames kdebase/kubrick 
…  
…  
188  kdebase/kdegames kdebase/libkmahjongg 
224  kdebase/kdegames kdebase/libkmahjongg 
189  kdebase/kdegames kdebase/lskat 
225  kdebase/kdegames kdebase/lskat 
190  kdebase/kdegraphics kdebase/gwenview 
226  kdebase/kdegraphics kdebase/gwenview 
191  kdebase/kdegraphics kdebase/kamera 
227  kdebase/kdegraphics kdebase/kamera 
192  kdebase/kdegraphics kdebase/kcolorchooser 
228  kdebase/kdegraphics kdebase/kcolorchooser 


229  kdebase/kdegraphics kdebase/kdegraphicsstrigianalyzer 
193  kdebase/kdegraphics kdebase/kgamma 
230  kdebase/kdegraphics kdebase/kgamma 
194  kdebase/kdegraphics kdebase/kghostview 
231  kdebase/kdegraphics kdebase/kghostview 
195  kdebase/kdegraphics kdebase/kolourpaint 
232  kdebase/kdegraphics kdebase/kolourpaint 
196  kdebase/kdegraphics kdebase/kruler 
233  kdebase/kdegraphics kdebase/kruler 


234  kdebase/kdegraphics kdebase/ksaneplugin 
197  kdebase/kdegraphics kdebase/ksnapshot 
235  kdebase/kdegraphics kdebase/ksnapshot 


236  kdebase/kdegraphics kdebase/libkdcraw 


237  kdebase/kdegraphics kdebase/libkexiv2 


238  kdebase/kdegraphics kdebase/libkipi 


239  kdebase/kdegraphics kdebase/libksane 
198  kdebase/kdegraphics kdebase/libkscan 
240  kdebase/kdegraphics kdebase/libkscan 
199  kdebase/kdegraphics kdebase/okular 
241  kdebase/kdegraphics kdebase/okular 
200  kdebase/kdegraphics kdebase/svgpart 
242  kdebase/kdegraphics kdebase/svgpart 
201  kdebase/kdemultimedia kdebase/dragonplayer 
243  kdebase/kdemultimedia kdebase/dragonplayer 
202  kdebase/kdemultimedia kdebase/juk 
244  kdebase/kdemultimedia kdebase/juk 
203  kdebase/kdemultimedia kdebase/kdemultimediakioslaves 
245  kdebase/kdemultimedia kdebase/kdemultimediakioslaves 


246  kdebase/kdemultimedia kdebase/kdemultimediastrigianalyzer 
204  kdebase/kdemultimedia kdebase/kmix 
247  kdebase/kdemultimedia kdebase/kmix 
205  kdebase/kdemultimedia kdebase/kscd 
248  kdebase/kdemultimedia kdebase/kscd 
206  kdebase/kdemultimedia kdebase/libkcddb 
249  kdebase/kdemultimedia kdebase/libkcddb 
207  kdebase/kdemultimedia kdebase/libkcompactdisc 
250  kdebase/kdemultimedia kdebase/libkcompactdisc 
208  kdebase/kdenetwork kdebase/kdenetworkfilesharing 
251  kdebase/kdenetwork kdebase/kdenetworkfilesharing 
…  
…  
219  kdebase/kdepim kdebase/kabc2mutt 
262  kdebase/kdepim kdebase/kabc2mutt 
220  kdebase/kdepim kdebase/kabcclient 
263  kdebase/kdepim kdebase/kabcclient 
221  kdebase/kdepim kdebase/kaddressbook 
264  kdebase/kdepim kdebase/kaddressbook 
222  kdebase/kdepim kdebase/kalarm 
265  kdebase/kdepim kdebase/kalarm 
223  kdebase/kdepim kdebase/kdemaildir 
266  kdebase/kdepim kdebase/kdemaildir 


267  kdebase/kdepim kdebase/kdepimicons 
224  kdebase/kdepim kdebase/kdepimkioslaves 
268  kdebase/kdepim kdebase/kdepimkioslaves 
225  kdebase/kdepim kdebase/kdepimkresources 
269  kdebase/kdepim kdebase/kdepimkresources 


270  kdebase/kdepim kdebase/kdepimstrigianalyzer 
226  kdebase/kdepim kdebase/kdepimwizards 
271  kdebase/kdepim kdebase/kdepimwizards 
227  kdebase/kdepim kdebase/kfeed 
272  kdebase/kdepim kdebase/kfeed 
228  kdebase/kdepim kdebase/kitchensync 
273  kdebase/kdepim kdebase/kitchensync 


274  kdebase/kdepim kdebase/kjots 
229  kdebase/kdepim kdebase/kleopatra 
275  kdebase/kdepim kdebase/kleopatra 
230  kdebase/kdepim kdebase/kmail 
276  kdebase/kdepim kdebase/kmail 
231  kdebase/kdepim kdebase/kmailcvt 
277  kdebase/kdepim kdebase/kmailcvt 
232  kdebase/kdepim kdebase/kmobiletools 
278  kdebase/kdepim kdebase/kmobiletools 
233  kdebase/kdepim kdebase/knode 
279  kdebase/kdepim kdebase/knode 
234  kdebase/kdepim kdebase/knotes 
280  kdebase/kdepim kdebase/knotes 
235  kdebase/kdepim kdebase/kode 
281  kdebase/kdepim kdebase/kode 
236  kdebase/kdepim kdebase/konsolekalendar 
282  kdebase/kdepim kdebase/konsolekalendar 
237  kdebase/kdepim kdebase/kontact 
283  kdebase/kdepim kdebase/kontact 
238  kdebase/kdepim kdebase/kontactspecialdates 
284  kdebase/kdepim kdebase/kontactspecialdates 


285  kdebase/kdepim kdebase/kontactinterfaces 
239  kdebase/kdepim kdebase/korganizer 
286  kdebase/kdepim kdebase/korganizer 
240  kdebase/kdepim kdebase/korn 
287  kdebase/kdepim kdebase/korn 
241  kdebase/kdepim kdebase/kpilot 
288  kdebase/kdepim kdebase/kpilot 
242  kdebase/kdepim kdebase/ktimetracker 
289  kdebase/kdepim kdebase/ktimetracker 
243  kdebase/kdepim kdebase/ktnef 
290  kdebase/kdepim kdebase/ktnef 
…  
…  
248  kdebase/kdepim kdebase/libksieve 
295  kdebase/kdepim kdebase/libksieve 
249  kdebase/kdepim kdebase/mailtransport 
296  kdebase/kdepim kdebase/mailtransport 
250  kdebase/kdepim kdebase/mimelib 
297  kdebase/kdepim kdebase/mimelib 
251  kdebase/kdepim kdebase/networkstatus 
298  kdebase/kdepim kdebase/networkstatus 
252  kdebase/kdesdk kdebase/cervisia 
299  kdebase/kdesdk kdebase/cervisia 
253  kdebase/kdesdk kdebase/kdeaccountsplugin 


254  kdebase/kdesdk kdebase/kapptemplate 
300  kdebase/kdesdk kdebase/kapptemplate 
255  kdebase/kdesdk kdebase/kate 
301  kdebase/kdesdk kdebase/kate 
256  kdebase/kdesdk kdebase/kbabel 
302  kdebase/kdesdk kdebase/kbabel 
257  kdebase/kdesdk kdebase/kbugbuster 
303  kdebase/kdesdk kdebase/kbugbuster 
258  kdebase/kdesdk kdebase/kcachegrind 
304  kdebase/kdesdk kdebase/kcachegrind 


305  kdebase/kdesdk kdebase/kdeaccountsplugin 
259  kdebase/kdesdk kdebase/kdesdkkioslaves 
306  kdebase/kdesdk kdebase/kdesdkkioslaves 
260  kdebase/kdesdk kdebase/kdesdkmisc 
307  kdebase/kdesdk kdebase/kdesdkmisc 
261  kdebase/kdesdk kdebase/kdesdkscripts 
308  kdebase/kdesdk kdebase/kdesdkscripts 


309  kdebase/kdesdk kdebase/kdesdkstrigianalyzer 
262  kdebase/kdesdk kdebase/kmtrace 
310  kdebase/kdesdk kdebase/kmtrace 
263  kdebase/kdesdk kdebase/kompare 
311  kdebase/kdesdk kdebase/kompare 
264  kdebase/kdesdk kdebase/kspy 
312  kdebase/kdesdk kdebase/kspy 
265  kdebase/kdesdk kdebase/kstartperf 
313  kdebase/kdesdk kdebase/kstartperf 


314  kdebase/kdesdk kdebase/kuiviewer 


315  kdebase/kdesdk kdebase/lokalize 


316  kdebase/kdesdk kdebase/poxml 
266  kdebase/kdesdk kdebase/strigianalyzer 
317  kdebase/kdesdk kdebase/strigianalyzer 
267  kdebase/kdesdk kdebase/kuiviewer 


268  kdebase/kdesdk kdebase/poxml 


269  kdebase/kdesdk kdebase/umbrello 
318  kdebase/kdesdk kdebase/umbrello 
270  kdebase/kdetoys kdebase/amor 
319  kdebase/kdetoys kdebase/amor 
271  kdebase/kdetoys kdebase/kteatime 
320  kdebase/kdetoys kdebase/kteatime 
272  kdebase/kdetoys kdebase/ktux 
321  kdebase/kdetoys kdebase/ktux 
273  kdebase/kdetoys kdebase/kweather 
322  kdebase/kdetoys kdebase/kweather 
…  
…  
277  kdebase/kdeutils kdebase/kcharselect 
326  kdebase/kdeutils kdebase/kcharselect 
278  kdebase/kdeutils kdebase/kdessh 
327  kdebase/kdeutils kdebase/kdessh 
279  kdebase/kdeutils kdebase/kdf 
328  kdebase/kdeutils kdebase/kdf 
280  kdebase/kdeutils kdebase/kfloppy 
329  kdebase/kdeutils kdebase/kfloppy 
281  kdebase/kdeutils kdebase/kgpg 
330  kdebase/kdeutils kdebase/kgpg 
282  kdebase/kdeutils kdebase/kjots 


283  kdebase/kdeutils kdebase/kmilo 
331  kdebase/kdeutils kdebase/kmilo 
284  kdebase/kdeutils kdebase/kregexpeditor 
332  kdebase/kdeutils kdebase/kregexpeditor 
285  kdebase/kdeutils kdebase/kdessh 


286  kdebase/kdeutils kdebase/ktimer 
333  kdebase/kdeutils kdebase/ktimer 
287  kdebase/kdeutils kdebase/kwallet 
334  kdebase/kdeutils kdebase/kwallet 


335  kdebase/kdeutils kdebase/okteta 
288  kdebase/kdeutils kdebase/superkaramba 
336  kdebase/kdeutils kdebase/superkaramba 
289  kdebase/kdeutils kdebase/sweeper 
337  kdebase/kdeutils kdebase/sweeper 
290  kdebase/kdewebdev kdebase/kfilereplace 
338  kdebase/kdewebdev kdebase/kfilereplace 
291  kdebase/kdewebdev kdebase/kimagemapeditor 
339  kdebase/kdewebdev kdebase/kimagemapeditor 
292  kdebase/kdewebdev kdebase/klinkstatus 
340  kdebase/kdewebdev kdebase/klinkstatus 


341  kdebase/kdewebdev kdebase/kommander 
293  kdebase/kdewebdev kdebase/kxsldbg 
342  kdebase/kdewebdev kdebase/kxsldbg 
294  kdebase/kdewebdev kdebase/quanta 
343  kdebase/kdewebdev kdebase/quanta 
295  appoffice/koffice appoffice/karbon 


296  appoffice/koffice appoffice/kchart 


297  appoffice/koffice appoffice/kexi 


298  appoffice/koffice appoffice/kformula 


299  appoffice/koffice appoffice/kivio 


300  appoffice/koffice appoffice/kofficedata 


301  appoffice/koffice appoffice/kofficelibs 


302  appoffice/koffice appoffice/koshell 


303  appoffice/koffice appoffice/kplato 


304  appoffice/koffice appoffice/kpresenter 


305  appoffice/koffice appoffice/krita 


306  appoffice/koffice appoffice/kspread 


307  appoffice/koffice appoffice/kugar 


308  appoffice/koffice appoffice/kword 


309  ' 
344  ' 
310  
345  
311  # @FUNCTION: getparentpackage 
346  # @FUNCTION: getparentpackage 
312  # @USAGE: <split ebuild> 
347  # @USAGE: <split ebuild> 
313  # @DESCRIPTION: 
348  # @DESCRIPTION: 
…  
…  
355  # Note that kde4base.eclass already does this. 
390  # Note that kde4base.eclass already does this. 
356  buildsycoca() { 
391  buildsycoca() { 
357  debugprintfunction ${FUNCNAME} "$@" 
392  debugprintfunction ${FUNCNAME} "$@" 
358  
393  
359  if [[ x ${KDEDIR}/bin/kbuildsycoca4 && z "${ROOT%%/}" ]]; then 
394  if [[ x ${KDEDIR}/bin/kbuildsycoca4 && z "${ROOT%%/}" ]]; then 
360  # First of all, make sure that the /usr/share/services directory exists 
395  # Make sure tha cache file exists, or kbuildsycoca4 will fail 
361  # and it has the right permissions 
396  touch "${KDEDIR}/share/kde4/services/ksycoca4" 
362  mkdir p /usr/share/services 


363  chown root:0 /usr/share/services 


364  chmod 0755 /usr/share/services 


365  
397  
366  # kbuildsycoca4 needs a running dbus session to work correctly. 
398  # We have to unset DISPLAY and DBUS_SESSION_BUS_ADDRESS, the ones 
367  # We have to start a new dbus session, because the DBUS_SESSION_BUS_ADDRESS in the environment 
399  # in the user's environment (through su [without '']) may cause 
368  # could from from the user's environment (through su [without '']), causing kbuildsycoca4 to hang. 
400  # kbuildsycoca4 to hang. 
369  


370  echo "Starting dbus session for kbuildsycoca4" 


371  local _i 


372  for _i in $(dbuslaunch); do 


373  # We export both the ADDRESS _and_ the PID. We need the latter only to kill our session. 


374  debugprint "Exporting: ${_i}" 


375  export "${_i}"; 


376  done 


377  debugprint "kbuildsycoca4 is using ${DBUS_SESSION_BUS_ADDRESS}" 


378  
401  
379  ebegin "Running kbuildsycoca4 to build global database" 
402  ebegin "Running kbuildsycoca4 to build global database" 
380  # This is needed because we support multiple kde versions installed together. 
403  # This is needed because we support multiple kde versions installed together. 
381  XDG_DATA_DIRS="/usr/share:${KDEDIRS//:/\/share:}/share:/usr/local/share" \ 
404  XDG_DATA_DIRS="/usr/share:${KDEDIRS//:/\/share:}/share:/usr/local/share" \ 


405  DISPLAY="" DBUS_SESSION_BUS_ADDRESS="" \ 
382  ${KDEDIR}/bin/kbuildsycoca4 global noincremental &> /dev/null 
406  ${KDEDIR}/bin/kbuildsycoca4 global noincremental &> /dev/null 
383  eend $? 
407  eend $? 
384  


385  echo "Killing dbus session for kbuildsycoca4" 


386  debugprint "ADDRESS ${DBUS_SESSION_BUS_ADDRESS}" 


387  debugprint "PID: ${DBUS_SESSION_BUS_PID}" 


388  kill ${DBUS_SESSION_BUS_PID} 


389  eend $? 


390  unset DBUS_SESSION_BUS_ADDRESS DBUS_SESSION_BUS_PID 


391  


392  # For some reason this directory gets created with noone other than root 


393  # being able to read it. Hence we chmod it. 


394  chmod R 0755 "${ROOT}"/usr/share/kde4 


395  fi 
408  fi 
396  } 
409  } 
397  
410  
398  # @FUNCTION: comment_all_add_subdirectory 
411  # @FUNCTION: comment_all_add_subdirectory 
399  # @USAGE: [list of directory names] 
412  # @USAGE: [list of directory names] 
…  
…  
424  # Enable translations based on LINGUAS settings and what translations are 
437  # Enable translations based on LINGUAS settings and what translations are 
425  # supported (see KDE_LINGUAS). By default translations are found in "${S}"/po 
438  # supported (see KDE_LINGUAS). By default translations are found in "${S}"/po 
426  # but this default can be overridden by defining KDE_LINGUAS_DIR. 
439  # but this default can be overridden by defining KDE_LINGUAS_DIR. 
427  enable_selected_linguas() { 
440  enable_selected_linguas() { 
428  local lingua 
441  local lingua 


442  


443  for lingua in ${KDE_LINGUAS}; do 


444  if [ e "${S}"/po/"${lingua}".po ]; then 


445  mv "${S}"/po/"${lingua}".po "${S}"/po/"${lingua}".po.old 


446  fi 


447  done 
429  comment_all_add_subdirectory "${KDE_LINGUAS_DIR:${S}/po}" 
448  comment_all_add_subdirectory "${KDE_LINGUAS_DIR:${S}/po}" 
430  for lingua in ${KDE_LINGUAS}; do 
449  for lingua in ${LINGUAS}; do 
431  if use linguas_${lingua}; then 
450  if [ d "${S}"/po/"${lingua}" ]; then 
432  sed e "/add_subdirectory([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \ 
451  sed e "/add_subdirectory([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \ 
433  e "/ADD_SUBDIRECTORY([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \ 
452  e "/ADD_SUBDIRECTORY([[:space:]]*${lingua}[[:space:]]*)[[:space:]]*$/ s/^#DONOTCOMPILE //" \ 
434  i "${KDE_LINGUAS_DIR:${S}/po}"/CMakeLists.txt  die "Sed to uncomment linguas_${lingua} failed." 
453  i "${KDE_LINGUAS_DIR:${S}/po}"/CMakeLists.txt  die "Sed to uncomment linguas_${lingua} failed." 


454  fi 


455  if [ e "${S}"/po/"${lingua}".po.old ]; then 


456  mv "${S}"/po/"${lingua}".po.old "${S}"/po/"${lingua}".po 
435  fi 
457  fi 
436  done 
458  done 
437  } 
459  } 
438  
460  
439  # @ECLASSVARIABLE: QT4_BUILT_WITH_USE_CHECK 
461  # @ECLASSVARIABLE: QT4_BUILT_WITH_USE_CHECK 
…  
…  
502  # If any of the required USE flags are missing, an eerror will be printed for 
524  # If any of the required USE flags are missing, an eerror will be printed for 
503  # each package with missing USE flags. 
525  # each package with missing USE flags. 
504  kde4functions_check_use() { 
526  kde4functions_check_use() { 
505  # I like to keep flags sorted 
527  # I like to keep flags sorted 
506  QT4_BUILT_WITH_USE_CHECK=$(echo "${QT4_BUILT_WITH_USE_CHECK}"  \ 
528  QT4_BUILT_WITH_USE_CHECK=$(echo "${QT4_BUILT_WITH_USE_CHECK}"  \ 
507  tr '[:space:]' '\n'  sort  xargs) 
529  tr '[:space:]' '\n'  sort  uniq  xargs) 
508  
530  
509  local line missing 
531  local line missing 
510  if [[ n ${KDE4_BUILT_WITH_USE_CHECK[@]} && $(declare p KDE4_BUILT_WITH_USE_CHECK) = 'declare a '* ]]; then 
532  if [[ n ${KDE4_BUILT_WITH_USE_CHECK[@]} && $(declare p KDE4_BUILT_WITH_USE_CHECK) = 'declare a '* ]]; then 
511  KDE4_BUILT_WITH_USE_CHECK=("x11libs/qt:4 ${QT4_BUILT_WITH_USE_CHECK}" 
533  KDE4_BUILT_WITH_USE_CHECK=("x11libs/qt:4 ${QT4_BUILT_WITH_USE_CHECK}" 
512  "${KDE4_BUILT_WITH_USE_CHECK[@]}") 
534  "${KDE4_BUILT_WITH_USE_CHECK[@]}") 