diff options
author | Dan Armak <danarmak@gentoo.org> | 2005-01-15 02:24:42 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2005-01-15 02:24:42 +0000 |
commit | a991c64f8c843d16a7f43b8cb8a15e7206c2b78f (patch) | |
tree | ad1c8a59a418f4d87e54ca58e306bf33d3596cda /kde-base/kdebase-startkde/files | |
parent | (Manifest recommit) (diff) | |
download | gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.tar.gz gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.tar.bz2 gentoo-2-a991c64f8c843d16a7f43b8cb8a15e7206c2b78f.zip |
kde 3.4 split ebuilds, all masked
Diffstat (limited to 'kde-base/kdebase-startkde/files')
4 files changed, 165 insertions, 0 deletions
diff --git a/kde-base/kdebase-startkde/files/agent-shutdown.sh b/kde-base/kdebase-startkde/files/agent-shutdown.sh new file mode 100644 index 000000000000..09c026605b12 --- /dev/null +++ b/kde-base/kdebase-startkde/files/agent-shutdown.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Customized agents shutdown file +# +#if [ -x /usr/bin/gpg-agent -a -n "$GPG_AGENT_INFO" ]; then +# kill $(echo ${GPG_AGENT_INFO} | cut -d':' -f 2) 2>&1 >/dev/null +#fi +# +#if [ -x /usr/bin/ssh-agent ]; then +# eval "$(/usr/bin/ssh-agent -k)" +#fi +# + diff --git a/kde-base/kdebase-startkde/files/agent-startup.sh b/kde-base/kdebase-startkde/files/agent-startup.sh new file mode 100644 index 000000000000..bf788b003549 --- /dev/null +++ b/kde-base/kdebase-startkde/files/agent-startup.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Customized agents startup file +# +#if [ -x /usr/bin/gpg-agent ]; then +# eval "$(/usr/bin/gpg-agent --daemon)" +#fi +# +#if [ -x /usr/bin/ssh-agent ]; then +# eval "$(/usr/bin/ssh-agent -s)" +#fi +# + diff --git a/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.4.0_beta1 b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.4.0_beta1 new file mode 100644 index 000000000000..52cd643f15fa --- /dev/null +++ b/kde-base/kdebase-startkde/files/digest-kdebase-startkde-3.4.0_beta1 @@ -0,0 +1,3 @@ +MD5 46a0b6a8f72b16812d4ad745902fdcf5 kdebase-3.3.90.tar.bz2 20659998 +MD5 cd0819379968496b415c3a4121272e1f kdebase-3.3.90-3.3.91.tar.xdelta 3128388 +MD5 079120d41e7d4f4453b3fb2398f4d4c9 kdebase-3.3.91.tar.bz2 21271893 diff --git a/kde-base/kdebase-startkde/files/startkde-3.4.0_beta1-gentoo.diff b/kde-base/kdebase-startkde/files/startkde-3.4.0_beta1-gentoo.diff new file mode 100644 index 000000000000..b58dac27de53 --- /dev/null +++ b/kde-base/kdebase-startkde/files/startkde-3.4.0_beta1-gentoo.diff @@ -0,0 +1,136 @@ +--- startkde.orig 2005-01-04 01:36:08.000000000 +0200 ++++ startkde 2005-01-10 22:01:45.000000000 +0200 +@@ -7,6 +7,104 @@ + # because we still need to do some cleanup. + trap 'echo GOT SIGHUP' HUP + ++# Gentoo init ++ ++# Make sure this KDE is used by apps running from our env ++export PATH="/usr/kde/3.4/bin:${PATH}" ++export KDEDIR="/usr/kde/3.4" ++ ++# KDE stores dotfiles in ~/.kde. To support running different minor versions ++# (eg 3.3, 3.4, 4.0...) during gradual upgrades, we store each version's ++# dotfiles in ~/.kdeX.Y. We used to make ~/.kde a symlink to a ~/.kdeX.Y, ++# but some apps store the real name (with X.Y in it) inside their configfiles, ++# so when we upgrade (and copy .kdeX.Y to .kdeX.(Y+1)) these files break horribly ++# (bug #40698). Therefore we have to move directories around. ++# ++# If a user runs two different KDE versions at the same time, mayhem will result. ++ ++cd ~ ++ ++# Upgrading from the old scheme where .kde is a symlink ++if [ -h .kde ]; then ++ rm .kde ++fi ++ ++# A kde died unexpectedly and couldn't move away its .kde. ++# The last running kde's version string is stored in ~/.kde-cur. ++if [ -d .kde ]; then ++ if [ ! -r .kde-cur ]; then ++ echo "!!! ~/.kde-cur does not exist or is not readable." 1>&2 ++ echo "Cannot get rid of ~/.kde directory; abandoning kde configdir management." 1>&2 ++ else ++ lastver="`cat .kde-cur`" ++ if [ -e ".kde$lastver" ]; then ++ echo "!!! ~/.kde$lastver already exists, can't move ~/.kde aside" 1>&2 ++ counter=1 ++ while [ -e ".kde$lastver.backup-$counter" ]; do ++ echo "!!! Backup dir ~/.kde$lastver.backup-$counter already exists." 1>&2 ++ echo "Find out what's going wrong!" 1>&2 ++ let counter++ ++ done ++ mv .kde ".kde$lastver.backup-$counter" ++ fi ++ rm .kde-cur ++ fi ++fi ++ ++# If we suceeded ++if [ ! -e .kde ]; then ++ ++ # If we have a configdir, activate it. ++ ourver=3.4 ++ ourdir=.kde$ourver ++ if [ -e "$ourdir" ]; then ++ if [ ! -d "$ourdir" ]; then ++ echo "!!! Configdir $ourdir is not a directory. Something's _really_ wrong. Aborting." 1>&2 ++ else ++ mv "$ourdir" .kde ++ fi ++ ++ # Otherwise (first run of this version), we copy over the most recent existing configdir. ++ else ++ for x in 3.3 3.2 3.1 3.0; do ++ if [ -d ".kde$x" ]; then ++ mostrecent=".kde$x" ++ break ++ fi ++ done ++ if [ -z "$mostrecent" ]; then ++ echo "No previous configdir found; starting with empty config" 1>&2 ++ else ++ echo "Copying previous configdir from $mostrecent" 1>&2 ++ cp -pr "$mostrecent" .kde ++ ++ # For the upgrade from kde 3.3, which still suffered from bug 40698, lots of little seds are needed. ++ if [ "$mostrecent" == ".kde3.3" ]; then ++ for file in share/apps/kdevdocumentation/search/htdig.conf \ ++ share/apps/kalarmd/clients \ ++ share/config/kdevdocumentationrc \ ++ share/config/katesyntaxhighlightingrc \ ++ share/config/ksmserverrc ++ do ++ sed -i -e "s:$HOME/.kde3.3:$HOME/.kde:g" -e 's:$HOME/.kde3.3:$HOME/.kde:g' ".kde/$file" ++ done ++ fi ++ fi ++ fi ++ ++ # Remember that we're running in case we die ++ echo 3.4 > .kde-cur ++fi ++ ++# environment friendly ++unset lastver ++unset counter ++unset ourver ++unset ourdir ++unset mostrecent ++ ++# Gentoo init ends ++ + # Check if a KDE session already is running + if dcop kdesktop >/dev/null 2>&1; then + echo "KDE seems to be already running on this display." +@@ -14,12 +112,12 @@ + exit 1 + fi + +-# Set the background to plain grey. ++# Set the background to plain cyan. + # 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. + if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then +- xsetroot -solid "#C0C0C0" ++ xsetroot -solid "#5477A0" + fi + + # we have to unset this for Darwin since it will screw up KDE's dynamic-loading +@@ -247,4 +345,13 @@ + done + done + ++ ++# Gentoo exit ++ ++# Move the configdir back ++mv .kde .kde3.4 ++rm .kde-cur ++ ++# Gentoo exit ends ++ + echo 'startkde: Done.' 1>&2 |