summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTilman Klar <phoenix@gentoo.org>2002-08-04 19:03:32 +0000
committerTilman Klar <phoenix@gentoo.org>2002-08-04 19:03:32 +0000
commitaff8b4858998b1c95311bd1edb6da258692441d9 (patch)
treebcac228ac8cf9447d1a697833043e179d801f4ec
parentunmasked gift/kift/giftcurs (diff)
downloadgentoo-2-aff8b4858998b1c95311bd1edb6da258692441d9.tar.gz
gentoo-2-aff8b4858998b1c95311bd1edb6da258692441d9.tar.bz2
gentoo-2-aff8b4858998b1c95311bd1edb6da258692441d9.zip
Added regedit.
-rw-r--r--app-emulation/winex/ChangeLog5
-rw-r--r--app-emulation/winex/files/winex-20020804-regedit23
-rw-r--r--app-emulation/winex/winex-20020804.ebuild3
3 files changed, 29 insertions, 2 deletions
diff --git a/app-emulation/winex/ChangeLog b/app-emulation/winex/ChangeLog
index 170b9de26d78..5dd19ebff065 100644
--- a/app-emulation/winex/ChangeLog
+++ b/app-emulation/winex/ChangeLog
@@ -1,11 +1,14 @@
# ChangeLog for app-emulation/wine
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/ChangeLog,v 1.5 2002/08/04 18:32:54 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/ChangeLog,v 1.6 2002/08/04 19:03:32 phoenix Exp $
*winex-20020804 (04 Aug 2002)
04 Aug 2002; phoen][x <phoenix@gentoo.org> winex-20020804.ebuild :
+ Added regedit script.
+
+ 04 Aug 2002; phoen][x <phoenix@gentoo.org> winex-20020804.ebuild :
Fixed the install location of generic.ppd and system.ini.
They go to /usr/lib/winex/.data/fake_windows/Windows now.
diff --git a/app-emulation/winex/files/winex-20020804-regedit b/app-emulation/winex/files/winex-20020804-regedit
new file mode 100644
index 000000000000..3b56404d6561
--- /dev/null
+++ b/app-emulation/winex/files/winex-20020804-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"
+
+export WINEPREFIX="$HOME/.winex"
+
+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 foo.reg"
+else
+ "$REGAPI" setValue < ${1} &> /dev/null
+fi
diff --git a/app-emulation/winex/winex-20020804.ebuild b/app-emulation/winex/winex-20020804.ebuild
index ef5946ffb4a6..e1e49008a787 100644
--- a/app-emulation/winex/winex-20020804.ebuild
+++ b/app-emulation/winex/winex-20020804.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/winex-20020804.ebuild,v 1.2 2002/08/04 18:32:54 phoenix Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/winex/winex-20020804.ebuild,v 1.3 2002/08/04 19:03:32 phoenix Exp $
S=${WORKDIR}/wine
DESCRIPTION="WineX is a distribution of Wine with enhanced DirectX for gaming"
@@ -76,6 +76,7 @@ src_install () {
# Install the wrapper script
mkdir ${D}/usr/bin
cp ${FILESDIR}/${P}-winex ${D}/usr/bin/winex
+ cp ${FILESDIR}/${P}-regedit ${D}/usr/bin/regedit
# Take care of the other stuff
cd ${S}