Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5901 - KDE3DIR & KDE2DIR variables disappearing from make.globals
Summary: KDE3DIR & KDE2DIR variables disappearing from make.globals
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Dan Armak (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-02 08:15 UTC by Olav Kolbu
Modified: 2011-10-30 22:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Olav Kolbu 2002-08-02 08:15:14 UTC
Some recent version of the portage package removed the two variables KDE3DIR
and KDE2DIR from /etc/make.globals. This breaks various packages, since they use
these vars in their ebuild-files. Up to you if you want to fix these packages or
make KDE{2,3}DIR available some other way.


bash-2.05a# find /usr/portage -name \*.ebuild -exec grep KDE.DIR {} \; -print
                dodir ${KDE2DIR}/share/applnk/Applications
                insinto ${KDE2DIR}/share/applnk/Applications
                dodir ${KDE3DIR}/share/applnk/Applications
                insinto ${KDE3DIR}/share/applnk/Applications
/usr/portage/app-emulation/vmware-workstation/vmware-workstation-3.1.1.1790.ebuild
        CFLAGS="${CFLAGS} -I{KDE2DIR}/include"
/usr/portage/app-misc/kwanda/kwanda-1.0.ebuild
        if [ "$KDE3DIR" != "$KDE3LIBSDIR" ]; then
echo "PATH=${KDE3LIBSDIR}/bin:${KDE3DIR}/bin
ROOTPATH=${KDE3LIBSDIR}/bin:${KDE3DIR}/bin
LDPATH=${KDE3LIBSDIR}/lib:${KDE3DIR}/lib" > ${D}/etc/env.d/65kdelibs-${PV}
        echo "KDEDIR=${KDE3DIR}" > ${D}/etc/env.d/50kdedir-${PV}
/usr/portage/kde-base/kdelibs/kdelibs-3.0.2.ebuild
        sed -e "s:artsc-config:${KDE3DIR}/bin/artsc-config:" \
        CFLAGS="$CFLAGS -I/usr/X11R6/include -I/usr/include -I${KDE3DIR}/include
-I${KDE3DIR}/include/artsc"
/usr/portage/media-sound/xmms-arts/xmms-arts-0.4-r3.ebuild
        use arts && KDEDIR="${KDE3DIR}"
/usr/portage/net-im/gaim/gaim-0.59-r2.ebuild
            # $KDE2DIR/{lib,share}/licq
/usr/portage/net-im/licq/licq-1.0.4-r2.ebuild
        mkdir -p ${D}/${KDE2DIR}/share/apps/krfb
/usr/portage/net-misc/krfb/krfb-0.5.1.ebuild
        mkdir -p ${D}/${KDE3DIR}/share/apps/krfb
/usr/portage/net-misc/krfb/krfb-0.6.ebuild
        if [ -d ${KDE2DIR} ] ; then
        mkdir -p ${D}/${KDE2DIR}/share/icons/
        cp -rf ${S} ${D}/${KDE2DIR}/share/icons/iKons_058
        if [ -d ${KDE3DIR} ] ; then
        mkdir -p ${D}/${KDE3DIR}/share/icons/
        cp -rf ${S} ${D}/${KDE3DIR}/share/icons/iKons_058
/usr/portage/x11-misc/ikons/ikons-0.5.8.ebuild
        if [ -d ${KDE2DIR} ] ; then
        mkdir -p ${D}/${KDE2DIR}/share/icons/
        cp -rf ${S} ${D}/${KDE2DIR}/share/icons/Crystal
        if [ -d ${KDE3DIR} ] ; then
        mkdir -p ${D}/${KDE3DIR}/share/icons/
        cp -rf ${S} ${D}/${KDE3DIR}/share/icons/Crystal
/usr/portage/x11-themes/conectiva-crystal/conectiva-crystal-3.1_beta37.ebuild
Comment 1 Dan Armak (RETIRED) gentoo-dev 2002-08-02 11:19:40 UTC
These are mostly apps with optional kde functionality. I need to go over these anyway. I'll look at them, thanks for reporting. 
Comment 2 Dan Armak (RETIRED) gentoo-dev 2002-08-31 14:17:42 UTC
OK, I've just made a similar search and fixed the last problematic ebuilds. Problem can be considered solved.