Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36063 - opera-7.23 makes useless empty KDE direcories
Summary: opera-7.23 makes useless empty KDE direcories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-18 06:36 UTC by Peter Ruskin
Modified: 2003-12-19 10:55 UTC (History)
0 users

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 Peter Ruskin 2003-12-18 06:36:53 UTC
I think this applies to previous versions as well.  I have KDE-3.1.4 but after installing opera I have a load of useless empty directories in /use/kde/2 and /use/kde/3 (those directories didn't previosly exist.

This patch fixes the problem:

# diff -U3 /usr/portage/net-www/opera/opera-7.23.ebuild /usr/local/portage/net-www/opera/opera-7.23.ebuild
--- /usr/portage/net-www/opera/opera-7.23.ebuild        2003-11-22 11:27:13.000000000 +0000
+++ /usr/local/portage/net-www/opera/opera-7.23.ebuild  2003-12-18 14:16:39.774398565 +0000
@@ -60,13 +60,6 @@
 src_install() {
        # Prepare installation directories for Opera's installer script.
        dodir /etc
-       if [ "`use kde`" ]
-       then
-               # Install stuff for KDE2, and then simply copy it over
-               # into the KDE3 directories.
-               dodir /usr/kde/2/share/icons/{locolor,hicolor}/{16x16,22x22,32x32,48x48}/apps
-               dodir /usr/kde/2/share/applnk/Internet
-       fi
        if [ "`use gnome`" ]
        then
                dodir /usr/share/gnome/pixmaps
@@ -75,10 +68,6 @@

        # Opera's native installer.
        ./install.sh --prefix="${D}"/opt/opera || die
-       if [ "`use kde`" ]
-       then
-               cp -R ${D}/usr/kde/2 ${D}/usr/kde/3
-       fi
        rm ${D}/opt/opera/share/doc/opera/help
        dosym /opt/share/doc/opera/help /opt/opera/share/opera/help
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-19 10:55:37 UTC
fixed in 7.50_alpha1