summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-10-29 20:34:52 +0000
committerDan Armak <danarmak@gentoo.org>2002-10-29 20:34:52 +0000
commit7b1e4d2bd263a6300a1cd0bb8a8f7bd95f058361 (patch)
tree38e4439882c9bb693960ad65dc54f7ccdd071d02 /kde-base
parentremoved html from patch --yikesvi files/2.2.5/glibc-2.2.5-sparc32-semctl.patc... (diff)
downloadgentoo-2-7b1e4d2bd263a6300a1cd0bb8a8f7bd95f058361.tar.gz
gentoo-2-7b1e4d2bd263a6300a1cd0bb8a8f7bd95f058361.tar.bz2
gentoo-2-7b1e4d2bd263a6300a1cd0bb8a8f7bd95f058361.zip
a new revision, masked, that attempts to fix #9423
Diffstat (limited to 'kde-base')
-rw-r--r--kde-base/kdebase/ChangeLog9
-rw-r--r--kde-base/kdebase/files/digest-kdebase-3.0.4-r11
-rw-r--r--kde-base/kdebase/files/kdebase-3.0.4-xfree421.diff.gzbin0 -> 4589 bytes
-rw-r--r--kde-base/kdebase/files/startkde-3.0.4-r1-gentoo.diff55
-rw-r--r--kde-base/kdebase/kdebase-3.0.4-r1.ebuild129
5 files changed, 193 insertions, 1 deletions
diff --git a/kde-base/kdebase/ChangeLog b/kde-base/kdebase/ChangeLog
index 80ac4771c696..70d546f2fcb7 100644
--- a/kde-base/kdebase/ChangeLog
+++ b/kde-base/kdebase/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for kde-base/kdebase
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.27 2002/10/09 16:50:50 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.28 2002/10/29 20:34:17 danarmak Exp $
+
+*kdebase-3.0.4-r1 (29 Oct 2002)
+
+ 29 Oct 2002; Dan Armak <danarmak@gentoo.org> ChangeLog :
+
+ A new version that adds a patch described in comment #20 of bug #9423
+ (kfontinst not compiling with xfree 4.2.1) in an attempt to fix that bug.
*kdebase-3.0.4 (09 Oct 2002)
diff --git a/kde-base/kdebase/files/digest-kdebase-3.0.4-r1 b/kde-base/kdebase/files/digest-kdebase-3.0.4-r1
new file mode 100644
index 000000000000..ace35a6b782e
--- /dev/null
+++ b/kde-base/kdebase/files/digest-kdebase-3.0.4-r1
@@ -0,0 +1 @@
+MD5 d82ddae716912a3195139c8755e5c668 kdebase-3.0.4.tar.bz2 13111203
diff --git a/kde-base/kdebase/files/kdebase-3.0.4-xfree421.diff.gz b/kde-base/kdebase/files/kdebase-3.0.4-xfree421.diff.gz
new file mode 100644
index 000000000000..08bd52bb43b3
--- /dev/null
+++ b/kde-base/kdebase/files/kdebase-3.0.4-xfree421.diff.gz
Binary files differ
diff --git a/kde-base/kdebase/files/startkde-3.0.4-r1-gentoo.diff b/kde-base/kdebase/files/startkde-3.0.4-r1-gentoo.diff
new file mode 100644
index 000000000000..38edcf02bba4
--- /dev/null
+++ b/kde-base/kdebase/files/startkde-3.0.4-r1-gentoo.diff
@@ -0,0 +1,55 @@
+--- startkde 2002-08-07 19:55:10.000000000 +0300
++++ startkde 2002-09-30 15:38:37.000000000 +0300
+@@ -1,8 +1,21 @@
+-#!/bin/sh
++#!/bin/sh --login
+ #
+-# DEFAULT KDE STARTUP SCRIPT ( KDE-3.0.4 )
++# GENTOO CUSTOMIZED KDE STARTUP SCRIPT ( KDE-3.0.4 )
+ #
+
++# Gentoo part:
++export PATH="_KDEDIR_/bin:${PATH}"
++export KDEDIR="_KDEDIR_"
++export KDEDIRS="_KDEDIR_:/usr" # do NOT include env.d's $KDEDIRS
++
++cd ~
++[ -d .kde ] && mv .kde .kde.backup
++[ -e .kde3 ] || mkdir .kde3
++ln -sf .kde3 .kde
++export KDEHOME="${HOME}/.kde3"
++
++# Gentoo part ends
++
+ # Boot sequence:
+ #
+ # kdeinit is used to fork off processes which improves memory usage
+@@ -25,12 +38,12 @@
+ # especially necessary on slow machines, where starting KDE takes one or two
+ # minutes until anything appears on the screen.
+ #
+-# Set the background to plain grey.
++# Set the background to cyan (Gentoo version change).
+ # The standard X background is nasty, causing moire effects and exploding
+ # people's heads. We use colours from the standard KDE palette for those with
+ # palettised displays.
+
+-test "$XDM_MANAGED" || bkg="-solid #C0C0C0"
++test "$XDM_MANAGED" || bkg="-solid #5477A0"
+ xsetroot -cursor_name left_ptr $bkg
+
+ # The user's personal KDE directory is usually ~/.kde, but this setting
+@@ -131,7 +144,12 @@
+ fi
+
+ # the splashscreen and progress indicator
+-ksplash
++# Gentoo addition: run $KSPLASH if set, otherwise just the default 'ksplash'
++if [ -n "$KSPLASH" ]; then
++ $KSPLASH
++else
++ ksplash
++fi
+
+ # We set LD_BIND_NOW to increase the efficiency of kdeinit.
+ # kdeinit unsets this variable before loading applications.
diff --git a/kde-base/kdebase/kdebase-3.0.4-r1.ebuild b/kde-base/kdebase/kdebase-3.0.4-r1.ebuild
new file mode 100644
index 000000000000..db2ca378d9e4
--- /dev/null
+++ b/kde-base/kdebase/kdebase-3.0.4-r1.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.0.4-r1.ebuild,v 1.1 2002/10/29 20:34:17 danarmak Exp $
+inherit kde-dist
+
+IUSE="ldap pam motif encode oggvorbis cups ssl opengl samba qt31patch"
+
+DESCRIPTION="KDE $PV - base packages: the desktop, panel, window manager, konqueror..."
+
+KEYWORDS="~x86 ~ppc ~alpha"
+
+newdepend ">=media-sound/cdparanoia-3.9.8
+ ldap? ( >=net-nds/openldap-1.2 )
+ pam? ( >=sys-libs/pam-0.73 )
+ motif? ( >=x11-libs/openmotif-2.1.30 )
+ encode? ( >=media-sound/lame-3.89b )
+ oggvorbis? ( >=media-libs/libvorbis-1.0_beta1 )
+ cups? ( net-print/cups )
+ ssl? ( >=dev-libs/openssl-0.9.6b )
+ opengl? ( virtual/opengl )
+ samba? ( net-fs/samba )"
+# lm_sensors? ( ?/lm_sensors ) # ebuild doesn't exist yet
+
+DEPEND="$DEPEND sys-apps/gzip"
+
+myconf="$myconf --with-dpms --with-cdparanoia"
+
+use ldap && myconf="$myconf --with-ldap" || myconf="$myconf --without-ldap"
+use pam && myconf="$myconf --with-pam" || myconf="$myconf --with-shadow"
+use motif && myconf="$myconf --with-motif" || myconf="$myconf --without-motif"
+use encode && myconf="$myconf --with-lame" || myconf="$myconf --without-lame"
+use cups && myconf="$myconf --with-cups" || myconf="$myconf --disable-cups"
+use oggvorbis && myconf="$myconf --with-vorbis" || myconf="$myconf --without-vorbis"
+use opengl && myconf="$myconf --with-gl" || myconf="$myconf --without-gl"
+use ssl && myconf="$myconf --with-ssl" || myconf="$myconf --without-ssl"
+use pam && myconf="$myconf --with-pam=yes" || myconf="$myconf --with-pam=no --with-shadow"
+
+src_unpack() {
+
+ base_src_unpack
+
+ # Enable this local USE flag to allow nspluginviewer to compile with qt 3.1.x.
+ # It will patch nsplugins/viewer dir to cvs HEAD status.
+ # THIS MAY BE UNSTABLE AND YOU SHOULD NOT USE IT UNLESS YOU REALLY HAVE TO
+ # USE KDE 3.0.4 WITH QT >=3.1.X!
+ # Also note that kdebase 3.0.3 will compile just fine with all version of QT.
+ # However kdebase 3.0.4 introduced an nspluginviewer fix that necessitates this
+ # additional patch to work with qt 3.1.
+ # UPDATE: dunno if this is sill needed for current qt 3.1 cvs? qt 3.0.6 owuld be best here
+ # but Im' probably going to skip right to qt3.1, kde3.1.
+ if [ -n "`use qt31patch`" ]; then
+ cd $S
+ /bin/zcat "$FILESDIR/$PN-$PV-nspluginviewer-qt31.diff.gz" | patch -p0 --
+ fi
+
+ # fix in testing for bug #9423. may not work with xfree <4.2.x, so I've put that
+ # in DEPEND. nothing but xfree provides virtual/x11 anyway, and there's no reason
+ # for anyone to use xfree 4.1.x or earlier AFAIK; anyone who does can use kdebase-3.0.4.
+ # oh, and kde 3.1* doesn't need this fix and works with any xfree.
+ cd $S
+ /bin/zcat "$FILESDIR/$PN-$PV-xfree421.diff.gz" | patch -p0 --
+
+}
+
+src_compile() {
+
+ kde_src_compile myconf configure
+ kde_remove_flag kdm/kfrontend -fomit-frame-pointer
+ kde_src_compile make
+
+}
+
+src_install() {
+
+ kde_src_install
+
+ # cf bug #5953
+ insinto /etc/pam.d
+ newins ${FILESDIR}/kscreensaver.pam kscreensaver
+ newins ${FILESDIR}/kde.pam kde
+
+ # startkde script
+ cd ${D}/${KDEDIR}/bin
+ patch -p0 < ${FILESDIR}/startkde-${PVR}-gentoo.diff || die
+ mv startkde startkde.orig
+ sed -e "s:_KDEDIR_:${KDEDIR}:" startkde.orig > startkde
+ rm startkde.orig
+ chmod a+x startkde
+
+ # x11 session script
+ cd ${T}
+ echo "#!/bin/sh
+${KDEDIR}/bin/startkde" > kde-${PV}
+ chmod a+x kde-${PV}
+ # old scheme - compatibility
+ exeinto /usr/X11R6/bin/wm
+ doexe kde-${PV}
+ # new scheme - for now >=xfree-4.2-r3 only
+ exeinto /etc/X11/Sessions
+ doexe kde-${PV}
+
+ cd ${D}/${PREFIX}/share/config/kdm || die
+ mv kdmrc kdmrc.orig
+ sed -e "s:SessionTypes=:SessionTypes=kde-${PV},:" \
+ -e "s:Session=${PREFIX}/share/config/kdm/Xsession:Session=/etc/X11/xdm/Xsession:" kdmrc.orig > kdmrc
+ rm kdmrc.orig
+
+ #backup splashscreen images, so they can be put back when unmerging
+ #mosfet or so.
+ if [ ! -d ${KDEDIR}/share/apps/ksplash.default ]
+ then
+ cd ${D}/${KDEDIR}/share/apps
+ cp -rf ksplash/ ksplash.default
+ fi
+
+ # Show gnome icons when choosing new icon for desktop shortcut
+ mkdir -p ${D}/usr/share/pixmaps
+ mv ${D}/${KDEDIR}/share/apps/kdesktop/pics/* ${D}/usr/share/pixmaps/
+ rm -rf ${D}/${KDEDIR}/share/apps/kdesktop/pics/
+ cd ${D}/${KDEDIR}/share/apps/kdesktop/
+ ln -sf /usr/share/pixmaps/ pics
+
+ rmdir ${D}/${KDEDIR}/share/templates/.source/emptydir
+
+}
+
+pkg_postinst() {
+ mkdir -p ${KDEDIR}/share/templates/.source/emptydir
+}