summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2002-09-01 06:25:28 +0000
committerTilman Klar <phoenix@gentoo.org>2002-09-01 06:25:28 +0000
commit1c388e9834e187721b7d9daed269887ed739dd32 (patch)
tree44ff70f19bbd0e74ed7a51da8ae5204ba080d200 /app-emulation/winex-cvs/files
parentMasked winex-cvs (diff)
downloadgentoo-2-1c388e9834e187721b7d9daed269887ed739dd32.tar.gz
gentoo-2-1c388e9834e187721b7d9daed269887ed739dd32.tar.bz2
gentoo-2-1c388e9834e187721b7d9daed269887ed739dd32.zip
This is the new winex-cvs ebuild. Check the ChangeLog for further details.
Diffstat (limited to 'app-emulation/winex-cvs/files')
-rw-r--r--app-emulation/winex-cvs/files/digest-winex-cvs-200208310
-rw-r--r--app-emulation/winex-cvs/files/winex-cvs-20020831-fake_windows.tar.bz2bin0 -> 500 bytes
-rw-r--r--app-emulation/winex-cvs/files/winex-cvs-20020831-regedit23
-rw-r--r--app-emulation/winex-cvs/files/winex-cvs-20020831-winex48
4 files changed, 71 insertions, 0 deletions
diff --git a/app-emulation/winex-cvs/files/digest-winex-cvs-20020831 b/app-emulation/winex-cvs/files/digest-winex-cvs-20020831
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/app-emulation/winex-cvs/files/digest-winex-cvs-20020831
diff --git a/app-emulation/winex-cvs/files/winex-cvs-20020831-fake_windows.tar.bz2 b/app-emulation/winex-cvs/files/winex-cvs-20020831-fake_windows.tar.bz2
new file mode 100644
index 000000000000..d60f11e08ee3
--- /dev/null
+++ b/app-emulation/winex-cvs/files/winex-cvs-20020831-fake_windows.tar.bz2
Binary files differ
diff --git a/app-emulation/winex-cvs/files/winex-cvs-20020831-regedit b/app-emulation/winex-cvs/files/winex-cvs-20020831-regedit
new file mode 100644
index 000000000000..38986bfada06
--- /dev/null
+++ b/app-emulation/winex-cvs/files/winex-cvs-20020831-regedit
@@ -0,0 +1,23 @@
+#!/bin/bash
+# The wineX regapi wrapper
+
+# Kindly distributed by Martin Schlemmer
+# Modified by phoen][x
+
+export INSTALLDIR="/usr/lib/winex-cvs"
+
+export WINEPREFIX="$HOME/.winex-cvs"
+
+export LD_LIBRARY_PATH="$INSTALLDIR/lib/wine:$INSTALLDIR/lib:$LD_LIBRARY_PATH"
+export WINEDLLPATH="$LD_LIBRARY_PATH"
+
+export WINE_LOADER=wine
+
+export RUNWINE="$INSTALLDIR/bin/wine"
+export REGAPI="$INSTALLDIR/bin/regapi"
+
+if([ -z ${1} ]) then
+ echo "Usage: regedit-winex-cvs foo.reg"
+else
+ "$REGAPI" setValue < ${1} &> /dev/null
+fi
diff --git a/app-emulation/winex-cvs/files/winex-cvs-20020831-winex b/app-emulation/winex-cvs/files/winex-cvs-20020831-winex
new file mode 100644
index 000000000000..1fd1a609d0d5
--- /dev/null
+++ b/app-emulation/winex-cvs/files/winex-cvs-20020831-winex
@@ -0,0 +1,48 @@
+#!/bin/bash
+# The wineX wrapper
+
+# Kindly distributed by Martin Schlemmer
+# Modified by phoen][x
+
+export INSTALLDIR="/usr/lib/winex-cvs"
+
+export WINEPREFIX="$HOME/.winex-cvs"
+
+export LD_LIBRARY_PATH="$INSTALLDIR/lib/wine:$INSTALLDIR/lib:$LD_LIBRARY_PATH"
+export WINEDLLPATH="$LD_LIBRARY_PATH"
+
+export WINE_LOADER=wine
+
+export RUNWINE="$INSTALLDIR/bin/wine"
+export REGAPI="$INSTALLDIR/bin/regapi"
+
+if [ ! -f $WINEPREFIX/config ]
+then
+ echo "!! ~/.winex-cvs/config misses"
+ echo "!! Setting up a config file"
+
+ mkdir -p $WINEPREFIX/fake_windows
+
+ # First copy in the new config file.
+ cp "$INSTALLDIR/.data/config" "$WINEPREFIX/config"
+
+ echo "!! Setting up ~/.winex-cvs/fake_windows/"
+ cp -R $INSTALLDIR/.data/fake_windows/* $WINEPREFIX/fake_windows
+
+ echo "!! Setting up default registry."
+ "$REGAPI" setValue < "$INSTALLDIR/.data/winedefault.reg" &> /dev/null
+
+ echo "!! Installation complete."
+ echo "!! Modify ~/.winex-cvs/config to reflect your systems setup."
+ exit
+fi
+
+# Force the use of the more memory-efficient MSVC 5 allocator with
+# any programs that use MSVCRT. This reduces memory consumption
+# significantly.
+export __MSVCRT_HEAP_SELECT=__GLOBAL_HEAP_SELECTED,2
+
+
+PATH="$INSTALLDIR/bin:$PATH"
+
+"$RUNWINE" --debugmsg -all "$@"