/[gentoo-x86]/eclass/kde4-meta.eclass
Gentoo

Diff of /eclass/kde4-meta.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.8 Revision 1.16
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2009 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/gentoo-x86/eclass/kde4-meta.eclass,v 1.8 2009/01/03 18:20:00 scarabeus Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-meta.eclass,v 1.16 2009/03/15 15:27:13 alexxy Exp $
4# 4#
5# @ECLASS: kde4-meta.eclass 5# @ECLASS: kde4-meta.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# kde@gentoo.org 7# kde@gentoo.org
8# @BLURB: Eclass for writing "split" KDE packages. 8# @BLURB: Eclass for writing "split" KDE packages.
9# @DESCRIPTION: 9# @DESCRIPTION:
10# This eclass provides all necessary functions for writing split KDE ebuilds. 10# This eclass provides all necessary functions for writing split KDE ebuilds.
11# 11#
12# You must define KMNAME to use this eclass, and do so before inheriting it. All other variables are optional. 12# You must define KMNAME to use this eclass, and do so before inheriting it. All other variables are optional.
13# Do not include the same item in more than one of KMMODULE, KMMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY. 13# Do not include the same item in more than one of KMMODULE, KMMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY.
14#
15# NOTE: This eclass uses the SLOT dependencies from EAPI="1" or compatible,
16# hence you must define EAPI="1" in the ebuild, before inheriting any eclasses.
17 14
18inherit multilib kde4-functions kde4-base 15inherit kde4-base versionator
19 16
20case "${EAPI}" in
21 2)
22 EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm 17EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_configure src_compile src_test src_install pkg_postinst pkg_postrm
23 ;;
24 *)
25 EXPORT_FUNCTIONS pkg_setup src_unpack src_compile src_test src_install pkg_postinst pkg_postrm
26 ;;
27esac
28 18
29if [[ -z ${KMNAME} ]]; then 19if [[ -z ${KMNAME} ]]; then
30 die "kde4-meta.eclass inherited but KMNAME not defined - broken ebuild" 20 die "kde4-meta.eclass inherited but KMNAME not defined - broken ebuild"
31fi 21fi
32 22
33case ${KDEBASE} in 23case ${KDEBASE} in
24 kde-base)
34 kde-base) HOMEPAGE="http://www.kde.org/" 25 HOMEPAGE="http://www.kde.org/"
35 LICENSE="GPL-2" ;; 26 LICENSE="GPL-2"
27 ;;
28 koffice)
36 koffice) HOMEPAGE="http://www.koffice.org/" 29 HOMEPAGE="http://www.koffice.org/"
37 LICENSE="GPL-2" ;; 30 LICENSE="GPL-2"
31 ;;
38esac 32esac
39
40debug-print "${BASH_SOURCE} ${LINENO} ${ECLASS}: DEPEND ${DEPEND} - before blockers"
41debug-print "${BASH_SOURCE} ${LINENO} ${ECLASS}: RDEPEND ${RDEPEND} - before blockers"
42
43# Add a blocker on the package we're derived from
44if [[ -n ${KDEBASE} ]]; then
45 DEPEND="${DEPEND} !$(get-parent-package ${CATEGORY}/${PN}):${SLOT}"
46 RDEPEND="${RDEPEND} !$(get-parent-package ${CATEGORY}/${PN}):${SLOT}"
47fi
48
49debug-print "line ${LINENO} ${ECLASS}: DEPEND ${DEPEND} - after blockers"
50debug-print "line ${LINENO} ${ECLASS}: RDEPEND ${RDEPEND} - after blockers"
51 33
52# Add dependencies that all packages in a certain module share. 34# Add dependencies that all packages in a certain module share.
53case ${KMNAME} in 35case ${KMNAME} in
54 kdebase|kdebase-workspace|kdebase-runtime) 36 kdebase|kdebase-apps|kdebase-workspace|kdebase-runtime|kdegraphic)
37 DEPEND="${DEPEND}
55 DEPEND="${DEPEND} >=kde-base/qimageblitz-0.0.4" 38 >=kde-base/qimageblitz-0.0.4
56 RDEPEND="${RDEPEND} >=kde-base/qimageblitz-0.0.4" 39 "
40 RDEPEND="${RDEPEND}
41 >=kde-base/qimageblitz-0.0.4
42 "
57 ;; 43 ;;
44 kdenetwork)
45 DEPEND="${DEPEND}
46 >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=]
47 "
48 RDEPEND="${RDEPEND}
49 >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=]
50 "
51 ;;
58 kdepim) 52 kdepim)
59 DEPEND="${DEPEND} dev-libs/boost app-office/akonadi-server" 53 DEPEND="${DEPEND}
60 RDEPEND="${RDEPEND} dev-libs/boost" 54 dev-libs/boost
61 if [[ ${PN} != kode ]]; then 55 >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=]
62 DEPEND="${DEPEND} >=kde-base/kode-${PV}:${SLOT}" 56 "
63 RDEPEND="${RDEPEND} >=kde-base/kode-${PV}:${SLOT}" 57 RDEPEND="${RDEPEND}
64 fi 58 dev-libs/boost
59 >=kde-base/kdepimlibs-${PV}:${SLOT}[kdeprefix=]
60 "
65 case ${PN} in 61 case ${PN} in
66 akregator|kaddressbook|kjots|kmail|kmobiletools|knode|knotes|korganizer|ktimetracker) 62 akregator|kaddressbook|kjots|kmail|kmobiletools|knode|knotes|korganizer|ktimetracker)
67 IUSE="+kontact" 63 IUSE="+kontact"
64 RDEPEND="${RDEPEND}
68 DEPEND="${DEPEND} kontact? ( >=kde-base/kontactinterfaces-${PV}:${SLOT} )" 65 kontact? ( >=kde-base/kontactinterfaces-${PV}:${SLOT}[kdeprefix=] )
69 RDEPEND="${RDEPEND} kontact? ( >=kde-base/kontactinterfaces-${PV}:${SLOT} )" 66 "
70 ;; 67 ;;
71 esac 68 esac
72 ;; 69 ;;
73 kdegames) 70 kdegames)
74 if [[ ${PN} != "libkdegames" ]]; then 71 if [[ ${PN} != libkdegames ]]; then
75 DEPEND="${DEPEND} >=kde-base/libkdegames-${PV}:${SLOT}" 72 DEPEND="${DEPEND}
76 RDEPEND="${RDEPEND} >=kde-base/libkdegames-${PV}:${SLOT}" 73 >=kde-base/libkdegames-${PV}:${SLOT}[kdeprefix=]
74 "
75 RDEPEND="${RDEPEND}
76 >=kde-base/libkdegames-${PV}:${SLOT}[kdeprefix=]
77 "
77 fi 78 fi
78 ;; 79 ;;
79 koffice) 80 koffice)
81 [[ ${PN} != koffice-data ]] && IUSE="debug"
82 case ${PV} in
83 9999*)
84 DEPEND="${DEPEND}
85 !app-office/${PN}:2
86 "
87 ;;
88 1.9*|2*)
89 DEPEND="${DEPEND}
90 !app-office/${PN}:live
91 "
92 ;;
93 esac
94 DEPEND="${DEPEND}
95 !app-office/${PN}:0
96 !app-office/koffice:0
97 !app-office/koffice-meta:0
98 "
80 case ${PN} in 99 case ${PN} in
81 koffice-libs|koffice-data) : ;; 100 koffice-data)
101 DEPEND="${DEPEND}
102 media-libs/lcms
103 "
104 RDEPEND="${RDEPEND}
105 media-libs/lcms
106 "
107 ;;
82 *) 108 *)
83 DEPEND="${DEPEND} >=app-office/koffice-libs-${PV}:${SLOT}" 109 COMMON_DEPEND="
84 RDEPEND="${RDEPEND} >=app-office/koffice-libs-${PV}:${SLOT}" 110 dev-cpp/eigen:2
111 media-gfx/imagemagick[openexr?]
112 media-libs/fontconfig
113 media-libs/freetype:2
114 "
115 DEPEND="${DEPEND} ${COMMON_DEPEND}"
116 RDEPEND="${RDEPEND} ${COMMON_DEPEND}"
117 unset COMMON_DEPEND
118 if [[ ${PN} != koffice-libs && ${PN} != koffice-data ]]; then
119 DEPEND="${DEPEND}
120 >=app-office/koffice-libs-${PV}:${SLOT}[kdeprefix=]
121 "
122 RDEPEND="${RDEPEND}
123 >=app-office/koffice-libs-${PV}:${SLOT}[kdeprefix=]
124 "
125 fi
85 ;; 126 ;;
86 esac 127 esac
87 ;; 128 ;;
88esac 129esac
89 130
90debug-print "line ${LINENO} ${ECLASS}: DEPEND ${DEPEND} - after metapackage-specific dependencies" 131debug-print "line ${LINENO} ${ECLASS}: DEPEND ${DEPEND} - after metapackage-specific dependencies"
91debug-print "line ${LINENO} ${ECLASS}: RDEPEND ${RDEPEND} - after metapackage-specific dependencies" 132debug-print "line ${LINENO} ${ECLASS}: RDEPEND ${RDEPEND} - after metapackage-specific dependencies"
92 133
134# Useful to build kde4-meta style stuff from extragear/playground (plasmoids etc)
135case ${BUILD_TYPE} in
136 live)
137 case ${KMNAME} in
138 extragear*|playground*)
139 ESVN_REPO_URI="${ESVN_MIRROR}/trunk/${KMNAME}"
140 ;;
141 esac
142 ;;
143 *) ;;
144esac
145
93# @ECLASS-VARIABLE: KMNAME 146# @ECLASS-VARIABLE: KMNAME
94# @DESCRIPTION: 147# @DESCRIPTION:
95# Name of the parent-module (e.g. kdebase, kdepim, ...). You _must_ set it _before_ inheriting this eclass, 148# Name of the parent-module (e.g. kdebase, kdepim, ...). You _must_ set it
96# (unlike the other parameters), since it's used to set $SRC_URI. 149# _before_ inheriting this eclass, (unlike the other parameters), since it's
150# used to set $SRC_URI.
97 151
98# @ECLASS-VARIABLE: KMMODULE 152# @ECLASS-VARIABLE: KMMODULE
99# @DESCRIPTION: 153# @DESCRIPTION:
100# Specify exactly one subdirectory of $KMNAME here. Defaults to $PN. 154# Specify exactly one subdirectory of $KMNAME here. Defaults to $PN.
101# The subdirectory listed here is treated exactly like items in $KMEXTRA. 155# The subdirectory listed here is treated exactly like items in $KMEXTRA.
106# @ECLASS-VARIABLE: KMNOMODULE 160# @ECLASS-VARIABLE: KMNOMODULE
107# @DESCRIPTION: 161# @DESCRIPTION:
108# If set to "true", $KMMODULE doesn't have to be defined. 162# If set to "true", $KMMODULE doesn't have to be defined.
109# 163#
110# Example usage: If you're installing subdirectories of a package, like plugins, 164# Example usage: If you're installing subdirectories of a package, like plugins,
111# you mark the topsubdirectory (containing the package) as $KMEXTRACTONLY, and set KMNOMODULE="true". 165# you mark the top subdirectory (containing the package) as $KMEXTRACTONLY, and
112if [[ ${KMNOMODULE} != "true" && -z ${KMMODULE} ]]; then 166# set KMNOMODULE="true".
167if [[ -z ${KMMODULE} && ${KMNOMODULE} != true ]]; then
113 KMMODULE=${PN} 168 KMMODULE=${PN}
114fi 169fi
115 170
116# @ECLASS-VARIABLE: KMEXTRA 171# @ECLASS-VARIABLE: KMEXTRA
117# @DESCRIPTION: 172# @DESCRIPTION:
124 179
125# @ECLASS-VARIABLE: KMCOMPILEONLY 180# @ECLASS-VARIABLE: KMCOMPILEONLY
126# @DESCRIPTION: 181# @DESCRIPTION:
127# All subdirectories listed here will be extracted & compiled, but not installed. 182# All subdirectories listed here will be extracted & compiled, but not installed.
128 183
184# TODO: better formulation may be needed
129# @ECLASS-VARIABLE: KMEXTRACTONLY 185# @ECLASS-VARIABLE: KMEXTRACTONLY
130# @DESCRIPTION: 186# @DESCRIPTION:
131# All subdirectories listed here will be extracted, but not compiled nor installed. 187# All subdirectories listed here will be extracted, but neither compiled nor installed.
132# This can be used to avoid compilation in a subdirectory of a directory in $KMMODULE or $KMEXTRA 188# This can be used to avoid compilation in a subdirectory of a directory in $KMMODULE or $KMEXTRA
133 189
134# @ECLASS-VARIABLE: KMTARPARAMS 190# @ECLASS-VARIABLE: KMTARPARAMS
135# @DESCRIPTION: 191# @DESCRIPTION:
136# Specify extra parameters to pass to tar, in kde4-meta_src_extract. 192# Specify extra parameters to pass to tar, in kde4-meta_src_extract.
137# '-xpf -j' are passed to tar by default. 193# '-xpf -j' are passed to tar by default.
138 194
139# @FUNCTION: kde4-meta_pkg_setup 195# @FUNCTION: kde4-meta_pkg_setup
140# @DESCRIPTION: 196# @DESCRIPTION:
141# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split 197# Currently just calls its equivalent in kde4-base.eclass(5). Use this one in
142# ebuilds. 198# split ebuilds.
143kde4-meta_pkg_setup() { 199kde4-meta_pkg_setup() {
200 debug-print-function ${FUNCNAME} "$@"
201
144 kde4-base_pkg_setup 202 kde4-base_pkg_setup
145} 203}
146 204
147# @FUNCTION: kde4-meta_src_unpack 205# @FUNCTION: kde4-meta_src_unpack
148# @DESCRIPTION: 206# @DESCRIPTION:
149# This function unpacks the source for split ebuilds. See also 207# This function unpacks the source for split ebuilds. See also
150# kde4-meta-src_extract. 208# kde4-meta-src_extract.
151kde4-meta_src_unpack() { 209kde4-meta_src_unpack() {
152 debug-print-function ${FUNCNAME} "$@" 210 debug-print-function ${FUNCNAME} "$@"
153 211
212 if [[ ${BUILD_TYPE} = live ]]; then
213 migrate_store_dir
214 S="${WORKDIR}/${P}"
215 mkdir -p "${S}"
216 ESVN_RESTRICT="export" subversion_src_unpack
217 subversion_wc_info
218 subversion_bootstrap
154 kde4-meta_src_extract 219 kde4-meta_src_extract
155 kde4-meta_change_cmakelists 220 else
221 kde4-meta_src_extract
222 fi
156} 223}
224
225# FIXME: the difference between kde4-meta_src_extract and kde4-meta_src_unpack?
157 226
158# @FUNCTION: kde4-meta_src_extract 227# @FUNCTION: kde4-meta_src_extract
159# @DESCRIPTION: 228# @DESCRIPTION:
160# A function to unpack the source for a split KDE ebuild. 229# A function to unpack the source for a split KDE ebuild.
161# Also see KMMODULE, KMNOMODULE, KMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY and KMTARPARAMS. 230# Also see KMMODULE, KMNOMODULE, KMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY and
231# KMTARPARAMS.
162kde4-meta_src_extract() { 232kde4-meta_src_extract() {
163 local abort tarball tarfile f extractlist 233 debug-print-function ${FUNCNAME} "$@"
164 tarball="${KMNAME}-${PV}.tar.bz2"
165 tarfile="${DISTDIR}"/${tarball}
166 234
167 echo "Unpacking parts of ${tarball} to ${WORKDIR}" 235 if [[ ${BUILD_TYPE} = live ]]; then
168 236 local rsync_options subdir kmnamedir targetdir
237 # Export working copy to ${S}
238 einfo "Exporting parts of working copy to ${S}"
169 kde4-meta_create_extractlists 239 kde4-meta_create_extractlists
170 240
171 for f in cmake/ CMakeLists.txt ConfigureChecks.cmake config.h.cmake \ 241 rsync_options="--group --links --owner --perms --quiet --exclude=.svn/"
172 AUTHORS COPYING INSTALL README NEWS ChangeLog
173 do
174 extractlist="${extractlist} ${KMNAME}-${PV}/${f}"
175 done
176 extractlist="${extractlist} $(__list_needed_subdirectories)"
177 KMTARPARAMS="${KMTARPARAMS} -j"
178 242
179 pushd "${WORKDIR}" > /dev/null 243 # Copy ${KMNAME} non-recursively (toplevel files)
180 [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf $tarfile $KMTARPARAMS $extractlist >&2 244 rsync ${rsync_options} "${ESVN_WC_PATH}"/${kmnamedir}* "${S}" \
181 tar -xpf $tarfile $KMTARPARAMS $extractlist 2> /dev/null 245 || die "${ESVN}: can't export toplevel files to '${S}'."
182 246 # Copy cmake directory
183 # Default $S is based on $P; rename the extracted directory to match $S 247 if [[ -d "${ESVN_WC_PATH}/${kmnamedir}cmake" ]]; then
184 mv ${KMNAME}-${PV} ${P} || die "Died while moving \"${KMNAME}-${PV}\" to \"${P}\"" 248 rsync --recursive ${rsync_options} "${ESVN_WC_PATH}/${kmnamedir}cmake" "${S}" \
185 249 || die "${ESVN}: can't export cmake files to '${S}'."
186 popd > /dev/null 250 fi
187 251 # Copy all subdirectories
188 if [[ -n ${KDE4_STRICTER} ]]; then
189 for f in $(__list_needed_subdirectories fatal); do 252 for subdir in $(__list_needed_subdirectories); do
190 if [[ ! -e ${S}/${f#*/} ]]; then 253 targetdir=""
191 eerror "'${f#*/}' is missing" 254 if [[ $subdir = doc/* && ! -e "$ESVN_WC_PATH/$kmnamedir$subdir" ]]; then
192 abort=true 255 continue
193 fi 256 fi
257
258 [[ ${subdir%/} = */* ]] && targetdir=${subdir%/} && targetdir=${targetdir%/*} && mkdir -p "${S}/${targetdir}"
259 rsync --recursive ${rsync_options} "${ESVN_WC_PATH}/${kmnamedir}${subdir%/}" "${S}/${targetdir}" \
260 || die "${ESVN}: can't export subdirectory '${subdir}' to '${S}/${targetdir}'."
194 done 261 done
262
263 if [[ ${KMNAME} = kdebase-runtime && ${PN} != kdebase-data ]]; then
264 sed -i -e '/^install(PROGRAMS[[:space:]]*[^[:space:]]*\/kde4[[:space:]]/s/^/#DONOTINSTALL /' \
265 "${S}"/CMakeLists.txt || die "Sed to exclude bin/kde4 failed"
266 fi
267 else
268 local abort tarball tarfile f extractlist moduleprefix postfix
269 case ${PV} in
270 4.2.9* | 4.2.8* | 4.2.7* | 4.2.6*)
271 KMTARPARAMS="${KMTARPARAMS} --lzma" # lzma
272 postfix="lzma"
273 ;;
274 *)
275 KMTARPARAMS="${KMTARPARAMS} --bzip2" # bz2
276 postfix="bz2"
277 ;;
278 esac
279 case ${KMNAME} in
280 kdebase-apps)
281 # kdebase/apps -> kdebasa-apps
282 tarball="kdebase-${PV}.tar.${postfix}"
283 # Go one level deeper for kdebase-apps in tarballs
284 moduleprefix=apps/
285 KMTARPARAMS="${KMTARPARAMS} --transform=s|apps/||"
286 ;;
287 *)
288 # Create tarball name from module name (this is the default)
289 tarball="${KMNAME}-${PV}.tar.${postfix}"
290 ;;
291 esac
292
293 # Full patch to source tarball
294 tarfile="${DISTDIR}/${tarball}"
295
296 # Detect real toplevel dir from tarball name - it will be used upon extraction
297 # and in __list_needed_subdirectories
298 topdir="${tarball%.tar.*}/"
299
300 ebegin "Unpacking parts of ${tarball} to ${WORKDIR}"
301
302 kde4-meta_create_extractlists
303
304 for f in cmake/ CMakeLists.txt ConfigureChecks.cmake config.h.cmake \
305 AUTHORS COPYING INSTALL README NEWS ChangeLog
306 do
307 extractlist="${extractlist} ${topdir}${moduleprefix}${f}"
308 done
309 extractlist="${extractlist} $(__list_needed_subdirectories)"
310
311 pushd "${WORKDIR}" > /dev/null
312 [[ -n ${KDE4_STRICTER} ]] && echo tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} >&2
313 tar -xpf "${tarfile}" ${KMTARPARAMS} ${extractlist} 2> /dev/null
314
315 # Default $S is based on $P; rename the extracted directory to match $S if necessary
316 mv ${topdir} ${P} || die "Died while moving \"${topdir}\" to \"${P}\""
317
318 popd > /dev/null
319
320 eend $?
321
322 # We need to clear it here to make verification below work
323 unset moduleprefix
324
325 if [[ -n ${KDE4_STRICTER} ]]; then
326 for f in $(__list_needed_subdirectories fatal); do
327 if [[ ! -e "${S}/${f#*/}" ]]; then
328 eerror "'${f#*/}' is missing"
329 abort=true
330 fi
331 done
195 [[ -n ${abort} ]] && die "There were missing files." 332 [[ -n ${abort} ]] && die "There were missing files."
333 fi
334
335 # We don't need it anymore
336 unset topdir
196 fi 337 fi
197
198 kde4-base_src_unpack
199} 338}
200 339
340# @FUNCTION: kde4-meta_create_extractlists
341# @DESCRIPTION:
201# Create lists of files and subdirectories to extract. 342# Create lists of files and subdirectories to extract.
202# Also see the descriptions of KMMODULE, KMNOMODULE, KMEXTRA, KMCOMPILEONLY, KMEXTRACTONLY and KMTARPARAMS. 343# Also see descriptions of KMMODULE, KMNOMODULE, KMEXTRA, KMCOMPILEONLY,
344# KMEXTRACTONLY and KMTARPARAMS.
203kde4-meta_create_extractlists() { 345kde4-meta_create_extractlists() {
204 debug-print-function ${FUNCNAME} "$@" 346 debug-print-function ${FUNCNAME} "$@"
205 347
206 if has htmlhandbook ${IUSE//+} && use htmlhandbook; then 348 if has htmlhandbook ${IUSE//+} && use htmlhandbook; then
207 # We use the basename of $KMMODULE because $KMMODULE can contain 349 # We use the basename of $KMMODULE because $KMMODULE can contain
212 # Add some CMake-files to KMEXTRACTONLY. 354 # Add some CMake-files to KMEXTRACTONLY.
213 # Note that this actually doesn't include KMEXTRA handling. 355 # Note that this actually doesn't include KMEXTRA handling.
214 # In those cases you should care to add the relevant files to KMEXTRACTONLY 356 # In those cases you should care to add the relevant files to KMEXTRACTONLY
215 case ${KMNAME} in 357 case ${KMNAME} in
216 kdebase) 358 kdebase)
217 KMEXTRACTONLY="${KMEXTRACTONLY} 359 KMEXTRACTONLY="${KMEXTRACTONLY}
218 apps/config-apps.h.cmake 360 apps/config-apps.h.cmake
219 apps/ConfigureChecks.cmake" 361 apps/ConfigureChecks.cmake"
220 ;; 362 ;;
363 kdebase-apps)
364 KMEXTRACTONLY="${KMEXTRACTONLY}
365 config-apps.h.cmake
366 ConfigureChecks.cmake"
367 ;;
221 kdebase-runtime) 368 kdebase-runtime)
222 KMEXTRACTONLY="${KMEXTRACTONLY} 369 KMEXTRACTONLY="${KMEXTRACTONLY}
223 config-runtime.h.cmake" 370 config-runtime.h.cmake"
224 ;; 371 ;;
225 kdebase-workspace) 372 kdebase-workspace)
226 KMEXTRACTONLY="${KMEXTRACTONLY} 373 KMEXTRACTONLY="${KMEXTRACTONLY}
227 config-unix.h.cmake 374 config-unix.h.cmake
228 ConfigureChecks.cmake 375 ConfigureChecks.cmake
229 config-workspace.h.cmake 376 config-workspace.h.cmake
230 config-X11.h.cmake 377 config-X11.h.cmake
231 startkde.cmake" 378 startkde.cmake
379 KDE4WorkspaceConfig.cmake.in"
232 ;; 380 ;;
233 kdegames) 381 kdegames)
234 if [[ ${PN} != "libkdegames" ]]; then 382 if [[ ${PN} != libkdegames ]]; then
383 KMEXTRACTONLY="${KMEXTRACTONLY}
384 libkdegames"
385 fi
386 ;;
387 kdepim)
388 if [[ ${PN} != libkdepim ]]; then
389 KMEXTRACTONLY="${KMEXTRACTONLY}
390 libkdepim"
391 fi
392 case ${SLOT} in
393 4.3|live)
394 KMEXTRACTONLY="${KMEXTRACTONLY}
395 kdepim-version.h
396 config-enterprise.h.cmake"
397 ;;
398 esac
235 KMEXTRACTONLY="${KMEXTRACTONLY} 399 KMEXTRACTONLY="${KMEXTRACTONLY}
236 libkdegames"
237 fi
238 ;;
239 kdepim)
240 KMEXTRACTONLY="${KMEXTRACTONLY}
241 kleopatra/ConfigureChecks.cmake" 400 kleopatra/ConfigureChecks.cmake"
242 if has kontact ${IUSE//+} && use kontact; then 401 if has kontact ${IUSE//+} && use kontact; then
243 KMEXTRA="${KMEXTRA} kontact/plugins/${PLUGINNAME:-${PN}}" 402 KMEXTRA="${KMEXTRA} kontact/plugins/${PLUGINNAME:-${PN}}"
244 KMEXTRACTONLY="${KMEXTRACTONLY} kontactinterfaces/" 403 KMEXTRACTONLY="${KMEXTRACTONLY} kontactinterfaces/"
245 fi 404 fi
246 ;; 405 ;;
247 koffice) 406 koffice)
248 KMEXTRACTONLY="${KMEXTRACTONLY} 407 KMEXTRACTONLY="${KMEXTRACTONLY}
249 config-endian.h.cmake 408 config-endian.h.cmake
250 filters/config-filters.h.cmake 409 filters/config-filters.h.cmake
410 config-openctl.h.cmake
251 config-openexr.h.cmake 411 config-openexr.h.cmake
252 config-opengl.h.cmake 412 config-opengl.h.cmake
253 config-prefix.h.cmake" 413 config-prefix.h.cmake"
254 ;; 414 ;;
255 esac 415 esac
256 # Don't install cmake modules for split ebuilds to avoid collisions. 416 # Don't install cmake modules for split ebuilds, to avoid collisions.
257 case ${KMNAME} in 417 case ${KMNAME} in
258 kdebase-runtime|kdebase-workspace|kdeedu|kdegames|kdegraphics|kdepim) 418 kdebase-runtime|kdebase-workspace|kdeedu|kdegames|kdegraphics|kdepim)
259 case ${PN} in 419 case ${PN} in
260 libkdegames|libkdeedu|marble) 420 libkdegames|libkdeedu|marble|libkworkspace)
261 KMEXTRA="${KMEXTRA} 421 KMEXTRA="${KMEXTRA}
262 cmake/modules/" 422 cmake/modules/"
263 ;; 423 ;;
264
265 *) 424 *)
266 KMCOMPILEONLY="${KMCOMPILEONLY} 425 KMCOMPILEONLY="${KMCOMPILEONLY}
267 cmake/modules/" 426 cmake/modules/"
268 ;; 427 ;;
269 esac 428 esac
272 431
273 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME}: KMEXTRACTONLY ${KMEXTRACTONLY}" 432 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME}: KMEXTRACTONLY ${KMEXTRACTONLY}"
274} 433}
275 434
276__list_needed_subdirectories() { 435__list_needed_subdirectories() {
277 local i j kmextra kmextra_expanded kmmodule_expanded kmcompileonly_expanded extractlist topdir 436 local i j kmextra kmextra_expanded kmmodule_expanded kmcompileonly_expanded extractlist
278 437
279 # We expand KMEXTRA by adding CMakeLists.txt files 438 # We expand KMEXTRA by adding CMakeLists.txt files
280 kmextra="${KMEXTRA}" 439 kmextra="${KMEXTRA}"
281 [[ ${1} != fatal ]] && kmextra="${kmextra} ${KMEXTRA_NONFATAL}" 440 [[ ${1} != fatal ]] && kmextra="${kmextra} ${KMEXTRA_NONFATAL}"
282 for i in ${kmextra}; do 441 for i in ${kmextra}; do
287 j=$(dirname ${j}) 446 j=$(dirname ${j})
288 done 447 done
289 done 448 done
290 449
291 # Expand KMMODULE 450 # Expand KMMODULE
292 if [[ -n ${KMMODULE} ]]; then 451 if [[ -n ${KMMODULE} ]]; then
293 kmmodule_expanded="${KMMODULE}" 452 kmmodule_expanded="${KMMODULE}"
294 j=$(dirname ${KMMODULE}) 453 j=$(dirname ${KMMODULE})
295 while [[ ${j} != "." ]]; do 454 while [[ ${j} != "." ]]; do
296 kmmodule_expanded="${kmmodule_expanded} $j/CMakeLists.txt"; 455 kmmodule_expanded="${kmmodule_expanded} ${j}/CMakeLists.txt";
297 j=$(dirname $j) 456 j=$(dirname ${j})
298 done 457 done
299 fi 458 fi
300 459
301 # Expand KMCOMPILEONLY 460 # Expand KMCOMPILEONLY
302 for i in ${KMCOMPILEONLY}; do 461 for i in ${KMCOMPILEONLY}; do
310 469
311 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME} - kmextra_expanded: ${kmextra_expanded}" 470 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME} - kmextra_expanded: ${kmextra_expanded}"
312 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME} - kmmodule_expanded: ${kmmodule_expanded}" 471 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME} - kmmodule_expanded: ${kmmodule_expanded}"
313 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME} - kmcompileonly_expanded: ${kmcompileonly_expanded}" 472 debug-print "line ${LINENO} ${ECLASS} ${FUNCNAME} - kmcompileonly_expanded: ${kmcompileonly_expanded}"
314 473
315
316 case ${PV} in
317 scm|9999*) : ;;
318 *) topdir="${KMNAME}-${PV}/" ;;
319 esac
320
321 # Create final list of stuff to extract 474 # Create final list of stuff to extract
475 # We append topdir only when specified (usually for tarballs)
322 for i in ${kmmodule_expanded} ${kmextra_expanded} ${kmcompileonly_expanded} \ 476 for i in ${kmmodule_expanded} ${kmextra_expanded} ${kmcompileonly_expanded} \
323 ${KMEXTRACTONLY} 477 ${KMEXTRACTONLY}
324 do 478 do
325 extractlist="${extractlist} ${topdir}${i}" 479 extractlist="${extractlist} ${topdir}${moduleprefix}${i}"
326 done 480 done
327 481
328 echo ${extractlist} 482 echo ${extractlist}
329} 483}
330 484
331save_library_dependencies() {
332 local depsfile="${T}/${PN}:${SLOT}"
333
334 echo "Saving library dependendencies in ${depsfile##*/}"
335 echo "EXPORT_LIBRARY_DEPENDENCIES(\"${depsfile}\")" >> "${S}/CMakeLists.txt" || \
336 die "Failed to save the library dependencies."
337}
338
339install_library_dependencies() {
340 local depsfile="${T}/${PN}:${SLOT}"
341 echo "Installing library dependendencies as ${depsfile##*/}"
342 insinto /var/lib/kde
343 doins "${depsfile}" || die "Failed to install library dependencies."
344}
345
346load_library_dependencies() {
347 local pn i depsfile
348 echo "Injecting library dependendencies from '${KMLOADLIBS}'"
349
350 i=0
351 for pn in ${KMLOADLIBS} ; do
352 ((i++))
353 depsfile="/var/lib/kde/${pn}:${SLOT}"
354 [[ -r "${depsfile}" ]] || die "Depsfile '${depsfile}' not accessible. You probably need to reinstall ${pn}."
355 sed -i -e "${i}iINCLUDE(\"${depsfile}\")" "${S}/CMakeLists.txt" || \
356 die "Failed to include library dependencies for ${pn}"
357 done
358}
359
360# @FUNCTION: kde4-meta_src_compile 485# @FUNCTION: kde4-meta_src_prepare
361# @DESCRIPTION: 486# @DESCRIPTION:
362# General function for compiling split KDE4 applications. 487# Meta-package build system configuration handling - commenting out targets, etc..
363kde4-meta_src_compile() { 488kde4-meta_src_prepare() {
364 debug-print-function ${FUNCNAME} "$@" 489 debug-print-function ${FUNCNAME} "$@"
365 490
366 case "${EAPI}" in 491 kde4-meta_change_cmakelists
367 2 | 2_pre3 | 2_pre2 | 2_pre1) 492 kde4-base_src_prepare
368 ;;
369 *)
370 kde4-base_meta_configure
371 ;;
372 esac
373 kde4-meta_src_make
374} 493}
375 494
495# FIXME: no comment here?
376_change_cmakelists_parent_dirs() { 496_change_cmakelists_parent_dirs() {
377 debug-print-function ${FUNCNAME} "$@" 497 debug-print-function ${FUNCNAME} "$@"
378 498
379 local _olddir _dir 499 local _olddir _dir
380 _dir="${S}"/${1} 500 _dir="${S}"/${1}
388 -i ${_dir}/CMakeLists.txt || die "${LINENO}: died in ${FUNCNAME} while processing ${_dir}" 508 -i ${_dir}/CMakeLists.txt || die "${LINENO}: died in ${FUNCNAME} while processing ${_dir}"
389 fi 509 fi
390 done 510 done
391} 511}
392 512
513# FIXME: add description
514# @FUNCTION: kde4-meta_change_cmakelists
515# @DESCRIPTION:
393kde4-meta_change_cmakelists() { 516kde4-meta_change_cmakelists() {
394 debug-print-function ${FUNCNAME} "$@" 517 debug-print-function ${FUNCNAME} "$@"
395 518
396 pushd "${S}" > /dev/null 519 pushd "${S}" > /dev/null
397
398 if [[ -n ${KMSAVELIBS} ]] ; then
399 save_library_dependencies
400 fi
401
402 if [[ -n ${KMLOADLIBS} ]] ; then
403 load_library_dependencies
404 fi
405 520
406 comment_all_add_subdirectory ./ 521 comment_all_add_subdirectory ./
407 522
408 # Restore "add_subdirectory( cmake )" in ${S}/CMakeLists.txt 523 # Restore "add_subdirectory( cmake )" in ${S}/CMakeLists.txt
409 if [[ -f "${S}"/CMakeLists.txt ]]; then 524 if [[ -f "${S}"/CMakeLists.txt ]]; then
417 find "${S}"/${KMMODULE} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' || \ 532 find "${S}"/${KMMODULE} -name CMakeLists.txt -print0 | xargs -0 sed -i -e 's/^#DONOTCOMPILE //g' || \
418 die "${LINENO}: died in KMMODULE section" 533 die "${LINENO}: died in KMMODULE section"
419 _change_cmakelists_parent_dirs ${KMMODULE} 534 _change_cmakelists_parent_dirs ${KMMODULE}
420 fi 535 fi
421 536
537 local i
538
539 # KMEXTRACTONLY section - Some ebuilds need to comment out some subdirs in KMMODULE and they use KMEXTRACTONLY
540 for i in ${KMEXTRACTONLY}; do
541 if [[ -d "${S}"/${i} && -f "${S}"/${i}/../CMakeLists.txt ]]; then
542 sed -i -e "/([[:space:]]*$(basename $i)[[:space:]]*)/s/^/#DONOTCOMPILE /" "${S}"/${i}/../CMakeLists.txt || \
543 die "${LINENO}: sed died while working in the KMEXTRACTONLY section while processing ${i}"
544 fi
545 done
546
422 # KMCOMPILEONLY 547 # KMCOMPILEONLY
423 local i
424 for i in ${KMCOMPILEONLY}; do 548 for i in ${KMCOMPILEONLY}; do
425 debug-print "${LINENO}: KMCOMPILEONLY, processing ${i}" 549 debug-print "${LINENO}: KMCOMPILEONLY, processing ${i}"
426 # Uncomment "add_subdirectory" instructions inside $KMCOMPILEONLY, then comment "install" instructions. 550 # Uncomment "add_subdirectory" instructions inside $KMCOMPILEONLY, then comment "install" instructions.
427 find "${S}"/${i} -name CMakeLists.txt -print0 | \ 551 find "${S}"/${i} -name CMakeLists.txt -print0 | \
428 xargs -0 sed -i \ 552 xargs -0 sed -i \
450 die "${LINENO}: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing ${i}" 574 die "${LINENO}: sed died uncommenting add_subdirectory instructions in KMEXTRA section while processing ${i}"
451 _change_cmakelists_parent_dirs ${i} 575 _change_cmakelists_parent_dirs ${i}
452 fi 576 fi
453 done 577 done
454 578
455 # KMEXTRACTONLY section - Some ebuilds need to comment out some subdirs in KMMODULE and they use KMEXTRACTONLY
456 for i in ${KMEXTRACTONLY}; do
457 if [[ -d "${S}"/${i} && -f "${S}"/${i}/../CMakeLists.txt ]]; then
458 sed -i -e "/([[:space:]]*$(basename $i)[[:space:]]*)/s/^/#DONOTCOMPILE /" "${S}"/${i}/../CMakeLists.txt || \
459 die "${LINENO}: sed died while working in the KMEXTRACTONLY section while processing ${i}"
460 fi
461 done
462
463 case ${KMNAME} in 579 case ${KMNAME} in
464 kdebase-workspace) 580 kdebase-workspace)
465 # COLLISION PROTECT section 581 # COLLISION PROTECT section
466 # Only install the startkde script as part of kde-base/kdebase-startkde, 582 # Install the startkde script just once, as a part of kde-base/kdebase-startkde,
467 # instead of with every package. 583 # not as a part of every package.
468 if [[ ${PN} != "kdebase-startkde" && -f "${S}"/CMakeLists.txt ]]; then 584 if [[ ${PN} != kdebase-startkde && -f "${S}"/CMakeLists.txt ]]; then
469 case ${PV} in
470 *) # The startkde script moved to kdebase-workspace for KDE4 versions > 3.93.0. 585 # The startkde script moved to kdebase-workspace for KDE4 versions > 3.93.0.
471 sed -i -e '/startkde/s/^/#DONOTINSTALL /' "${S}"/CMakeLists.txt || \ 586 sed -i -e '/startkde/s/^/#DONOTINSTALL /' "${S}"/CMakeLists.txt || \
472 die "${LINENO}: sed died in the kdebase-startkde collision prevention section" 587 die "${LINENO}: sed died in the kdebase-startkde collision prevention section"
588 fi
589 # Strip EXPORT feature section from workspace for KDE4 versions > 4.1.82
590 if [[ ${PN} != libkworkspace ]]; then
591 sed -i -e '/install(FILES ${CMAKE_CURRENT_BINARY_DIR}\/KDE4WorkspaceConfig.cmake/,/^[[:space:]]*FILE KDE4WorkspaceLibraryTargets.cmake )[[:space:]]*^/d' \
592 CMakeLists.txt || die "${LINENO}: sed died in kdebase-workspace strip EXPORT section"
593 fi
594 ;;
595 kdebase-runtime)
596 # COLLISION PROTECT section
597 # Only install the kde4 script as part of kde-base/kdebase-data
598 if [[ ${PN} != kdebase-data && -f "${S}"/CMakeLists.txt ]]; then
599 sed -i -e '/^install(PROGRAMS[[:space:]]*[^[:space:]]*\/kde4[[:space:]]/s/^/#DONOTINSTALL /' \
600 "${S}"/CMakeLists.txt || die "Sed to exclude bin/kde4 failed"
601 fi
602 ;;
603 kdepim)
604 case ${PN} in
605 kaddressbook|kalarm|kmailcvt|kontact|korganizer|korn)
606 sed -i -n -e '/qt4_generate_dbus_interface(.*org\.kde\.kmail\.\(kmail\|mailcomposer\)\.xml/p' \
607 -e '/add_custom_target(kmail_xml /,/)/p' "${S}"/kmail/CMakeLists.txt || die "uncommenting xml failed"
608 _change_cmakelists_parent_dirs kmail
473 ;; 609 ;;
474 esac 610 esac
475 fi
476 ;; 611 ;;
477 kdebase-runtime)
478 # COLLISION PROTECT section
479 # Only install the kde4 script as part of kde-base/kdebase-data
480 if [[ ${PN} != "kdebase-data" && -f "${S}"/CMakeLists.txt ]]; then
481 sed -i -e '/^install(PROGRAMS[[:space:]]*[^[:space:]]*\/kde4[[:space:]]/s/^/#DONOTINSTALL /' \
482 "${S}"/CMakeLists.txt || die "Sed to exclude bin/kde4 failed"
483 fi
484 ;;
485 kdepim)
486 case ${PN} in
487 kaddressbook|kalarm|kmailcvt|kontact|korganizer|korn)
488 sed -i -n -e '/qt4_generate_dbus_interface(.*org\.kde\.kmail\.\(kmail\|mailcomposer\)\.xml/p' \
489 -e '/add_custom_target(kmail_xml /,/)/p' "${S}"/kmail/CMakeLists.txt || die "uncommenting xml failed"
490 _change_cmakelists_parent_dirs kmail
491 ;;
492 esac
493 ;;
494 kdeutils)
495 # This is sort of a hack to avoid patching 16 kdeutils packages with
496 # r775410 from upstream trunk which makes blitz optional so superkaramba
497 # only gets compiled when it is found. Bug #209324. Remove this no later
498 # than 4.1.
499 if [[ ${PN} != superkaramba && ${SLOT} == kde-4 ]]; then
500 sed -i -e '/find_package(Blitz REQUIRED)/d' "${S}"/CMakeLists.txt \
501 || die "${LINENO}: sed to remove dependency on Blitz failed."
502 fi
503 ;;
504 koffice) 612 koffice)
613 # prevent collisions
505 if [[ ${PN} != koffice-libs ]]; then 614 if [[ ${PN} != koffice-data ]]; then
506 sed -i -e '/^INSTALL(FILES.*koffice.desktop/ s/^/#DONOTINSTALL /' \ 615 sed -i -e '/install(.*FindKOfficeLibs.cmake/,/)/ d' \
507 doc/CMakeLists.txt || \ 616 "${S}"/cmake/modules/CMakeLists.txt || \
508 die "${LINENO}: sed died in the koffice.desktop collision prevention section" 617 die "${LINENO}: sed died in collision prevention section"
618 sed -i -n -e '1h;1!H;${g;s/install(.\+config-openexr.h.\+)//;p}' \
619 "${S}"/CMakeLists.txt || \
620 die "${LINENO}: sed died in collision prevention section"
509 fi 621 fi
510 ;;
511 esac 622 esac
512 623
513 popd > /dev/null 624 popd > /dev/null
514} 625}
515 626
516# transition function so we will work with soon to come eclasses.
517kde4-meta_src_prepare() {
518 kde4-base_src_prepare
519}
520
521# @FUNCTION: kde4-meta_src_configure 627# @FUNCTION: kde4-meta_src_configure
522# @DESCRIPTION: 628# @DESCRIPTION:
523# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split 629# Currently just calls its equivalent in kde4-base.eclass(5). Use this one in split
524# ebuilds. 630# ebuilds.
525kde4-meta_src_configure() { 631kde4-meta_src_configure() {
526 debug-print-function ${FUNCNAME} "$@" 632 debug-print-function ${FUNCNAME} "$@"
527 633
528 kde4-base_src_configure 634 kde4-base_src_configure
529} 635}
530 636
531# @FUNCTION: kde4-meta_src_make 637# @FUNCTION: kde4-meta_src_compile
532# @DESCRIPTION: 638# @DESCRIPTION:
533# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split 639# General function for compiling split KDE4 applications.
534# ebuilds. 640# Overrides kde4-base_src_compile.
535kde4-meta_src_make() { 641kde4-meta_src_compile() {
536 debug-print-function ${FUNCNAME} "$@" 642 debug-print-function ${FUNCNAME} "$@"
537 643
538 kde4-base_src_make 644 kde4-base_src_compile
539} 645}
540 646
541# @FUNCTION: kde4-meta_src_test 647# @FUNCTION: kde4-meta_src_test
542# @DESCRIPTION: 648# @DESCRIPTION:
543# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split 649# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split
555 debug-print-function $FUNCNAME "$@" 661 debug-print-function $FUNCNAME "$@"
556 662
557 kde4-meta_src_make_doc 663 kde4-meta_src_make_doc
558 cmake-utils_src_install 664 cmake-utils_src_install
559 665
560 if [[ -n ${KMSAVELIBS} ]] ; then 666 if [[ -n ${KMSAVELIBS} ]]; then
561 install_library_dependencies 667 install_library_dependencies
562 fi 668 fi
563} 669}
564 670
565# @FUNCTION: kde4-meta_src_make_doc 671# @FUNCTION: kde4-meta_src_make_doc
566# @DESCRIPTION: 672# @DESCRIPTION:
567# This function searches under ${S}/${KMMODULE}, 673# This function searches in ${S}/${KMMODULE},
568# and tries to install "AUTHORS ChangeLog* README* NEWS todo" if these files exist. 674# and tries to install "AUTHORS ChangeLog* README* NEWS todo" if these files exist.
569kde4-meta_src_make_doc() { 675kde4-meta_src_make_doc() {
570 debug-print-function $FUNCNAME "$@" 676 debug-print-function ${FUNCNAME} "$@"
571 677
572 local doc 678 local doc
573 for doc in AUTHORS ChangeLog* README* NEWS TODO; do 679 for doc in AUTHORS ChangeLog* README* NEWS TODO; do
574 [[ -s ${KMMODULE}/$doc ]] && newdoc "${KMMODULE}/${doc}" "${doc}.${KMMODULE##*/}" 680 [[ -s ${KMMODULE}/${doc} ]] && newdoc "${KMMODULE}/${doc}" "${doc}.${KMMODULE##*/}"
575 done 681 done
576 682
577 kde4-base_src_make_doc 683 kde4-base_src_make_doc
578} 684}
579 685
580# @FUNCTION: kde4-meta_pkg_postinst 686# @FUNCTION: kde4-meta_pkg_postinst
581# @DESCRIPTION: 687# @DESCRIPTION:
582# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split 688# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split
583# ebuilds. 689# ebuilds.
584kde4-meta_pkg_postinst() { 690kde4-meta_pkg_postinst() {
691 debug-print-function ${FUNCNAME} "$@"
692
585 kde4-base_pkg_postinst 693 kde4-base_pkg_postinst
586} 694}
587 695
588# @FUNCTION: kde4-meta_pkg_postrm 696# @FUNCTION: kde4-meta_pkg_postrm
589# @DESCRIPTION: 697# @DESCRIPTION:
590# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split 698# Currently just calls its equivalent in kde4-base.eclass(5). Use this in split
591# ebuilds. 699# ebuilds.
592kde4-meta_pkg_postrm() { 700kde4-meta_pkg_postrm() {
701 debug-print-function ${FUNCNAME} "$@"
702
593 kde4-base_pkg_postrm 703 kde4-base_pkg_postrm
594} 704}

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20