summaryrefslogtreecommitdiff
path: root/packages/gpe-login/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gpe-login/files')
-rw-r--r--packages/gpe-login/files/.mtn2git_empty0
-rw-r--r--packages/gpe-login/files/pre-session-ramdisk.patch26
-rw-r--r--packages/gpe-login/files/pre-session.patch56
-rw-r--r--packages/gpe-login/files/smaller-default-icon-size.patch10
4 files changed, 92 insertions, 0 deletions
diff --git a/packages/gpe-login/files/.mtn2git_empty b/packages/gpe-login/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gpe-login/files/.mtn2git_empty
diff --git a/packages/gpe-login/files/pre-session-ramdisk.patch b/packages/gpe-login/files/pre-session-ramdisk.patch
index e69de29bb2..9018bbeb0e 100644
--- a/packages/gpe-login/files/pre-session-ramdisk.patch
+++ b/packages/gpe-login/files/pre-session-ramdisk.patch
@@ -0,0 +1,26 @@
+diff -ur gpe-login-0.73.orig/X11/gpe-login.pre-session gpe-login-0.73/X11/gpe-login.pre-session
+--- gpe-login-0.73.orig/X11/gpe-login.pre-session 2004-01-17 12:24:23.000000000 +0100
++++ gpe-login-0.73/X11/gpe-login.pre-session 2004-10-03 10:04:52.000000000 +0200
+@@ -22,9 +22,18 @@
+ chown $USER /dev/misc/buzzer
+ fi
+
+-mkdir -p /mnt/ramfs/home/$USER
+-chown $USER /mnt/ramfs/home/$USER
++# check for ramdisk location
++if [ -d /mnt/ramfs ]; then
++# old location as used in familiar <= 0.7.2
++RAMDISK="/mnt/ramfs"
++else
++# default to new style location
++RAMDISK="/mnt/ram"
++fi
++
++mkdir -p $RAMDISK/home/$USER
++chown $USER $RAMDISK/home/$USER
+
+ # this location MUST be consistent with HOME_VOLATILE in /etc/X11/Xsession
+-ln -s /mnt/ramfs/home/$USER /home/$USER/ramdisk
+-ln -s /home/$USER/ramdisk/.xsession-errors /home/$USER/.xsession-errors
++ln -sf $RAMDISK/home/$USER /home/$USER/ramdisk
++ln -sf /home/$USER/ramdisk/.xsession-errors /home/$USER/.xsession-errors
diff --git a/packages/gpe-login/files/pre-session.patch b/packages/gpe-login/files/pre-session.patch
index e69de29bb2..ac1629f08a 100644
--- a/packages/gpe-login/files/pre-session.patch
+++ b/packages/gpe-login/files/pre-session.patch
@@ -0,0 +1,56 @@
+--- /tmp/gpe-login.pre-session 2005-02-17 10:49:01.726436296 +0100
++++ gpe-login-0.75/X11/gpe-login.pre-session 2005-02-17 10:48:42.297389960 +0100
+@@ -4,10 +4,22 @@
+
+ if [ -e /dev/sound/dsp ]; then
+ chown $USER /dev/sound/dsp
++chmod u+rw /dev/sound/dsp
++fi
++
++if [ -e /dev/dsp ]; then
++chown $USER /dev/dsp
++chmod u+rw /dev/dsp
+ fi
+
+ if [ -e /dev/sound/mixer ]; then
+ chown $USER /dev/sound/mixer
++chmod u+rw /dev/sound/mixer
++fi
++
++if [ -e /dev/mixer ]; then
++chown $USER /dev/mixer
++chmod u+rw /dev/mixer
+ fi
+
+ if [ -e /dev/touchscreen/0raw ]; then
+@@ -18,13 +30,26 @@
+ chown $USER /dev/touchscreen/0
+ fi
+
++if [ -e /dev/collie-fl ]; then
++chown $USER /dev/sharp_fl
++fi
++
+ if [ -e /dev/misc/buzzer ]; then
+ chown $USER /dev/misc/buzzer
+ fi
+
+-mkdir -p /mnt/ramfs/home/$USER
+-chown $USER /mnt/ramfs/home/$USER
++# check for ramdisk location
++if [ -d /mnt/ramfs ]; then
++# old location as used in familiar <= 0.7.2
++RAMDISK="/mnt/ramfs"
++else
++# default to new style location
++RAMDISK="/mnt/ram"
++fi
++
++mkdir -p $RAMDISK/home/$USER
++chown $USER $RAMDISK/home/$USER
+
+ # this location MUST be consistent with HOME_VOLATILE in /etc/X11/Xsession
+-ln -s /mnt/ramfs/home/$USER /home/$USER/ramdisk
+-ln -s /home/$USER/ramdisk/.xsession-errors /home/$USER/.xsession-errors
++ln -sf $RAMDISK/home/$USER /home/$USER/ramdisk
++ln -sf /home/$USER/ramdisk/.xsession-errors /home/$USER/.xsession-errors
diff --git a/packages/gpe-login/files/smaller-default-icon-size.patch b/packages/gpe-login/files/smaller-default-icon-size.patch
index e69de29bb2..216e7fad08 100644
--- a/packages/gpe-login/files/smaller-default-icon-size.patch
+++ b/packages/gpe-login/files/smaller-default-icon-size.patch
@@ -0,0 +1,10 @@
+diff -urNd ../gpe-login-0.73-r0/gpe-login-0.73/familiar/dist.gpe-session-scripts/etc/gpe/xsettings.default gpe-login-0.73/familiar/dist.gpe-session-scripts/etc/gpe/xsettings.default
+--- ../gpe-login-0.73-r0/gpe-login-0.73/familiar/dist.gpe-session-scripts/etc/gpe/xsettings.default 2003-04-05 20:52:10.000000000 +0100
++++ gpe-login-0.73/familiar/dist.gpe-session-scripts/etc/gpe/xsettings.default 2004-09-16 11:08:06.000000000 +0100
+@@ -1,5 +1,5 @@
+ Gtk/FontName:S:Sans 8
+ Net/ThemeName:S:Angelistic
+ Gtk/IconSizes:S:gtk-dialog=32,32:gtk-button=16,16
+-Gtk/ToolbarIconSize:I:2
++Gtk/ToolbarIconSize:I:1
+ MATCHBOX/Background:S:col-gradient-horizontal:#6a7ff2,#a2f2f2