diff options
author | Dan Armak <danarmak@gentoo.org> | 2003-01-30 19:21:56 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2003-01-30 19:21:56 +0000 |
commit | ff63bfb9407e41488ddfc80f803b5bd2a581cec4 (patch) | |
tree | 7df2456b1150fcf84af6bf4fb9452ae1ff4568b1 /eclass/kde-patch.eclass | |
parent | fixed homepage url (diff) | |
download | historical-ff63bfb9407e41488ddfc80f803b5bd2a581cec4.tar.gz historical-ff63bfb9407e41488ddfc80f803b5bd2a581cec4.tar.bz2 historical-ff63bfb9407e41488ddfc80f803b5bd2a581cec4.zip |
add a kde_src_unpack(). it calls base_src_unpack (passing on all section parameters) then fixes the \'languageChange undeclared\' bug in a centralized manner by touching all .ui files. this change should be transparent to ebuilds; i will be changing those that call base_src_unpack to use kde_src_unpack so that they can make use of the new fix.
Diffstat (limited to 'eclass/kde-patch.eclass')
-rw-r--r-- | eclass/kde-patch.eclass | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/eclass/kde-patch.eclass b/eclass/kde-patch.eclass deleted file mode 100644 index f1b577bfcc86..000000000000 --- a/eclass/kde-patch.eclass +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/kde-patch.eclass,v 1.4 2002/10/25 19:55:52 vapier Exp $ -# This applies homemade patches from the tarball to the date specified. - -ECLASS=kde-patch -INHERITED="$INHERITED $ECLASS" - -debug-print "Entering eclass $ECLASS" - -# ${PV} comes in the form of x.y.z.YYYYMMDD where x.y.z is the original (unpatched) version -# and YYYYMMDD is the patch's datestamp. The patch lives on a gentoo mirror and is called -# ${PN}-x.y.z-YYYYMMDD.diff. We figure out automagically the two parts of the current $PV. - -# I'm not that good at regexps etc., so I emulate std coding practices - -OLDIFS="$IFS" # backup so that we don't distort future loops -IFS="." # separator string that determines the breakup of a string by bash's "for x in; do; done" - -for DATE in $PV -do - # if not last component of separated $PV - if [ ! "${ORIGPV}.${DATE}" == "${PV}" ]; then - [ -n "$ORIGPV" ] && ORIGPV="${ORIGPV}.${DATE}" || ORIGPV="$DATE" # don't add a leading dot - fi -done - -IFS="$OLDIFS" #restore - -# now $ORIGPV and $DATE should have the right values -debug-print "$ECLASS: ORIGPV=$ORIGPV, DATE=$DATE" - -PATCH="${PN}-${ORIGPV}-${DATE}.diff" -SRC_URI="$SRC_URI mirror://gentoo/${PATCH}" - -# for the new base_src_unpack functionality -PATCHES="$PATCHES ${DISTDIR}/${PATCH}" - -# Set the right Pv for correct handling of the main sources. This is why this eclass -# should be sourced before all others. -PV="$ORIGPV" -[ "$PR" != "r0" ] && PVR="$PN-$PV-$PR" || PVR="$PV" -P="$PN-$PV" - |