Gentoo Archives: gentoo-commits

From: "Jonathan Callen (abcd)" <abcd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: kde-source.eclass kde-i18n.eclass koffice-i18n.eclass
Date: Sun, 01 Nov 2009 08:22:26
Message-Id: E1N4Vhf-0006Fs-C3@stork.gentoo.org
1 abcd 09/11/01 08:22:23
2
3 Modified: kde-source.eclass kde-i18n.eclass
4 koffice-i18n.eclass
5 Log:
6 These eclasses have been deprecated for a long time, scheduled for removal in 2011
7
8 Revision Changes Path
9 1.25 eclass/kde-source.eclass
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-source.eclass?rev=1.25&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-source.eclass?rev=1.25&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-source.eclass?r1=1.24&r2=1.25
14
15 Index: kde-source.eclass
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/eclass/kde-source.eclass,v
18 retrieving revision 1.24
19 retrieving revision 1.25
20 diff -u -r1.24 -r1.25
21 --- kde-source.eclass 14 Oct 2006 20:27:21 -0000 1.24
22 +++ kde-source.eclass 1 Nov 2009 08:22:22 -0000 1.25
23 @@ -1,144 +1,7 @@
24 -# Copyright 1999-2004 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-source.eclass,v 1.24 2006/10/14 20:27:21 swegener Exp $
28 -#
29 -# Author Dan Armak <danarmak@g.o>
30 -#
31 -# This is for kde-base cvs ebuilds. Read comments about settings.
32 -# It uses $S and sets $SRC_URI, so inherit it as late as possible (certainly after any other eclasses).
33 -# See http://www.gentoo.org/~danarmak/kde-cvs.html !
34 -# All of the real functionality is in cvs.eclass; this just adds some trivial kde-specific items
35 -
36 -
37 -# --- begin user-configurable settings ---
38 -
39 -# Set yours in profile (e.g. make.conf), or export from the command line to override.
40 -# Most have acceptable default values or are set by the ebuilds, but be sure to read the comments
41 -# in cvs.eclass for detailed descriptions of them all.
42 -# You should probably set at least ECVS_SERVER.
43 -
44 -# TODO: add options to store the modules as tarballs in $DISTDIR or elsewhere
45 -
46 -# Under this directory the cvs modules are stored/accessed
47 -# Storing in tarballs in $DISTDIR to be implemented soon
48 -[ -z "$ECVS_TOP_DIR" ] && ECVS_TOP_DIR="$DISTDIR/cvs-src/kde"
49 -
50 -# Set to name of cvs server. Set to "" to disable fetching (offline mode).
51 -# In offline mode, we presume that modules are already checked out at the specified
52 -# location and that they shouldn't be updated.
53 -# Format example: "anoncvs.kde.org:/home/kde" (without :pserver:anonymous@ part)
54 -# Mirror list is available at http://developer.kde.org/source/anoncvs.html
55 -[ -z "$ECVS_SERVER" ] && ECVS_SERVER="anoncvs.kde.org:/home/kde"
56 -[ -z "$ECVS_AUTH" ] && ECVS_AUTH="pserver"
57 -
58 -# for apps living inside modules like kdenonbeta - see also beginning of our _src_unpack
59 -# KCVS_SUBDIR=...
60 -
61 -# If a tag is specified as ECVS_BRANCH, it will be used for the kde-common module
62 -# as well. If that is wrong (fex when checking out kopete branch kopete_0_6_2_release),
63 -# use KCVS_BRANCH instead.
64 -
65 -# you can set this variable (in your ebuild, of course) to disable fetching of <module>/doc/*
66 -# under the KCVS_SUBDIR scheme. this is appropriate for kde-i18n stuff, but not for
67 -# eg kdeextragear, kdenonbeta etc.
68 -# KCVS_SUBDIR_NODOC=true
69 -
70 -# Other variables: see cvs.eclass
71 -
72 -# we do this here and not in the very beginning because we need to keep
73 -# the configuration order intact: env. and profile settings override
74 -# kde-source.eclass defaults, which in turn override cvs.eclass defaults
75 -inherit cvs
76 -#... and reset $ECLASS. Ugly I know, hopefully I can prettify it someday
77 -
78 -# --- end user-configurable settings ---
79 -
80 -DESCRIPTION="$DESCRIPTION (cvs) "
81 -
82 -# set this to more easily maintain cvs and std ebuilds side-by-side
83 -# (we don't need to remove SRC_URI, kde-dist.eclass, kde.org.eclass etc
84 -# from the cvs ones). To download patches or something, set SRC_URI again after
85 -# inheriting kde_source.
86 -SRC_URI=""
87 -
88 -
89 -if [ -n "$KCVS_SUBDIR" -o -n "$KCVS_MODULE" ]; then
90 - S="$WORKDIR/$KCVS_MODULE"
91 -else
92 - # default for kde-base ebuilds
93 - S="$WORKDIR/${ECVS_MODULE:-$PN}"
94 -fi
95 -
96 -
97 -kde-source_src_unpack() {
98 -
99 - debug-print-function $FUNCNAME $*
100 -
101 - # decide what the main module is that we're fetching and call cvs_src_unpack
102 - # the other things are fetched later
103 - # (kde-common/admin, <module>/doc/*, <module>/<files>)
104 - if [ -n "$KCVS_SUBDIR" ]; then
105 - ECVS_MODULE="$KCVS_MODULE/$KCVS_SUBDIR"
106 - elif [ -n "$KCVS_MODULE" ]; then
107 - ECVS_MODULE="$KCVS_MODULE"
108 - else
109 - # default for kde-base ebuilds
110 - ECVS_MODULE="$PN"
111 - fi
112 -
113 - cvs_src_unpack
114 -
115 - # subdirs of kde modules get special treatment that is designed for
116 - # subdirs which are separate selfcontained apps and only need
117 - # automake/autoconf stuff etc. added to them.
118 - # this fits for apps from kdenonbeta, kdeextragear modules etc.
119 - # So, if we just fetched a module's subdir, fetch the top directory
120 - # of the module (non-recursively) and make it build only the subdirectory
121 - # we need.
122 - # ECVS_LOCALNAME note: disabled when KCVS_SUBDIR is enabled because the logic
123 - # of how it should work is unclear and I don't see any need for it here anyway
124 - if [ -n "$KCVS_SUBDIR" ]; then
125 -
126 - if [ -n "$KCVS_BRANCH" ]; then
127 - ECVS_BRANCH2="$ECVS_BRANCH"
128 - ECVS_BRANCH="$KCVS_BRANCH"
129 - fi
130 -
131 - ECVS_MODULE="$KCVS_MODULE" ECVS_LOCAL=yes cvs_src_unpack
132 -
133 - # we need the <module>/doc/<name> directory too,
134 - # and we need the top-level doc/ directory fetched locally
135 - ECVS_MODULE="${KCVS_MODULE}/doc" ECVS_LOCAL=yes cvs_src_unpack
136 -
137 - # but, if such a directory doesn't exist on the cvs server and we're
138 - # in offline mode cvs.eclass will abort, so only call this if we're
139 - # in online mode or the dir is already fetched
140 - # also, the ebuild might have disabled this functionality explicitly
141 - # (kde-i18n stuff does this for now)
142 - if [ -z "$KCVS_SUBDIR_NODOC" ] && [ -d "$ECVS_TOP_DIR/$KCVS_MODULE/doc/$KCVS_SUBDIR" -o "$ECVS_SERVER" != "offline" ]; then
143 - ECVS_MODULE="${KCVS_MODULE}/doc/${KCVS_SUBDIR}" cvs_src_unpack
144 - fi
145 -
146 - if [ -n "$KCVS_BRANCH" ]; then
147 - ECVS_BRANCH="$ECVS_BRANCH2"
148 - fi
149 -
150 - fi
151 -
152 - # typically for kde cvs apps, the admin subdir lives in the kde-common module
153 - # which is also needed
154 - if [ ! -d "$S/admin" ]; then
155 - ECVS_MODULE="kde-common/admin" cvs_src_unpack
156 - mv ${WORKDIR}/kde-common/admin $S/
157 - fi
158 -
159 - # make sure we give them a clean cvs checkout
160 - cd ${S}
161 - [ -f "admin/cvs-clean.pl" ] && make -f admin/Makefile.common cvs-clean
162 - [ -f "config.cache" ] && rm config.cache
163 -
164 -}
165 -
166 -
167 -EXPORT_FUNCTIONS src_unpack
168 +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-source.eclass,v 1.25 2009/11/01 08:22:22 abcd Exp $
169
170 +# @DEAD
171 +# This eclass was only for very old cvs versions of KDE, no longer used by
172 +# anything. Scheduled for removal after 2011/06/04.
173
174
175
176 1.48 eclass/kde-i18n.eclass
177
178 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-i18n.eclass?rev=1.48&view=markup
179 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-i18n.eclass?rev=1.48&content-type=text/plain
180 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/kde-i18n.eclass?r1=1.47&r2=1.48
181
182 Index: kde-i18n.eclass
183 ===================================================================
184 RCS file: /var/cvsroot/gentoo-x86/eclass/kde-i18n.eclass,v
185 retrieving revision 1.47
186 retrieving revision 1.48
187 diff -u -r1.47 -r1.48
188 --- kde-i18n.eclass 5 Oct 2005 17:17:55 -0000 1.47
189 +++ kde-i18n.eclass 1 Nov 2009 08:22:22 -0000 1.48
190 @@ -1 +1,7 @@
191 -# placeholder for dead eclass
192 \ No newline at end of file
193 +# Copyright 1999-2009 Gentoo Foundation
194 +# Distributed under the terms of the GNU General Public License v2
195 +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-i18n.eclass,v 1.48 2009/11/01 08:22:22 abcd Exp $
196 +
197 +# @DEAD
198 +# This eclass was only for very old versions of KDE, no longer used by
199 +# anything. Scheduled for removal after 2011/06/04.
200
201
202
203 1.25 eclass/koffice-i18n.eclass
204
205 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/koffice-i18n.eclass?rev=1.25&view=markup
206 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/koffice-i18n.eclass?rev=1.25&content-type=text/plain
207 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/koffice-i18n.eclass?r1=1.24&r2=1.25
208
209 Index: koffice-i18n.eclass
210 ===================================================================
211 RCS file: /var/cvsroot/gentoo-x86/eclass/koffice-i18n.eclass,v
212 retrieving revision 1.24
213 retrieving revision 1.25
214 diff -u -r1.24 -r1.25
215 --- koffice-i18n.eclass 3 Mar 2006 14:24:06 -0000 1.24
216 +++ koffice-i18n.eclass 1 Nov 2009 08:22:22 -0000 1.25
217 @@ -1 +1,7 @@
218 -# placeholder for dead eclass
219 \ No newline at end of file
220 +# Copyright 1999-2009 Gentoo Foundation
221 +# Distributed under the terms of the GNU General Public License v2
222 +# $Header: /var/cvsroot/gentoo-x86/eclass/koffice-i18n.eclass,v 1.25 2009/11/01 08:22:22 abcd Exp $
223 +
224 +# @DEAD
225 +# This eclass was only for very old versions of KOffice, no longer used by
226 +# anything. Scheduled for removal after 2011/06/04.