]> Pileus Git - ~andy/sunrise/commitdiff
app-emulation/winetools: New Ebuild for bug #46390
authormartn <martn@gentoo.reallinks.de>
Tue, 22 Aug 2006 20:17:36 +0000 (20:17 +0000)
committermartn <martn@gentoo.reallinks.de>
Tue, 22 Aug 2006 20:17:36 +0000 (20:17 +0000)
svn path=/sunrise/; revision=997

app-emulation/winetools/ChangeLog [new file with mode: 0644]
app-emulation/winetools/Manifest [new file with mode: 0644]
app-emulation/winetools/files/digest-winetools-0.9 [new file with mode: 0644]
app-emulation/winetools/files/winetools-0.9.findwine.diff [new file with mode: 0644]
app-emulation/winetools/files/winetools-0.9.wt0.9jo.diff [new file with mode: 0644]
app-emulation/winetools/metadata.xml [new file with mode: 0644]
app-emulation/winetools/winetools-0.9.ebuild [new file with mode: 0644]

diff --git a/app-emulation/winetools/ChangeLog b/app-emulation/winetools/ChangeLog
new file mode 100644 (file)
index 0000000..347ed63
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for app-emulation/winetools
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  22 Aug 2006; martn <martn@gentoo.reallinks.de> +winetools-0.9.ebuild,
+  +files/winetools-0.9.findwine.diff, +files/winetools-0.9.wt0.9jo.diff,
+  +metadata.xml:
+  New Ebuild for bug #46390
+
diff --git a/app-emulation/winetools/Manifest b/app-emulation/winetools/Manifest
new file mode 100644 (file)
index 0000000..9adb81d
--- /dev/null
@@ -0,0 +1,24 @@
+AUX winetools-0.9.findwine.diff 520 RMD160 a90d0e33ee0a243c7e8f3a88385711d65f66cd00 SHA1 8e91d51aed74b08ed4e092a66aec917c9465ab46 SHA256 d85061606b2412047ec01e301b33f22b9b7b39b57570a5c200a7fcb4b4b943a3
+MD5 b65e63a340fc79b5afabc7972a2b5cdf files/winetools-0.9.findwine.diff 520
+RMD160 a90d0e33ee0a243c7e8f3a88385711d65f66cd00 files/winetools-0.9.findwine.diff 520
+SHA256 d85061606b2412047ec01e301b33f22b9b7b39b57570a5c200a7fcb4b4b943a3 files/winetools-0.9.findwine.diff 520
+AUX winetools-0.9.wt0.9jo.diff 1611 RMD160 245b4487be904360b066f549a9143fca81b82393 SHA1 23bf6b5e7b15c647ecdc2cd083d3e2d43626da64 SHA256 8d19e9a5a66091ad3ae943890d678bb409227b39c886295e7a12ab1db563bb1b
+MD5 d9b8527907a849905ad86884cee5104f files/winetools-0.9.wt0.9jo.diff 1611
+RMD160 245b4487be904360b066f549a9143fca81b82393 files/winetools-0.9.wt0.9jo.diff 1611
+SHA256 8d19e9a5a66091ad3ae943890d678bb409227b39c886295e7a12ab1db563bb1b files/winetools-0.9.wt0.9jo.diff 1611
+DIST winetools-0.9jo-III.tar.gz 203976 RMD160 361d7e8b636cc69e7d58ceb813fe4d74c1d2e87b SHA1 e8d510139cce7267d6040f77f9e73b2cbd84a65f SHA256 ef25dacc78c35dbd827cc160de69c3ae0ba30ce497b03ab9c7a6352cdad84ee1
+EBUILD winetools-0.9.ebuild 1060 RMD160 175f9d203b414e5e7c7b9bd0c5d7e242f43294da SHA1 34976b3f611ab4060e3567f3712b7da6c0f6b23b SHA256 0debdda3ca9b38ce728da925e1ee19d44c95f06a3a49677004a620ff361e1812
+MD5 29d6e827432a61a963f5f480c7966403 winetools-0.9.ebuild 1060
+RMD160 175f9d203b414e5e7c7b9bd0c5d7e242f43294da winetools-0.9.ebuild 1060
+SHA256 0debdda3ca9b38ce728da925e1ee19d44c95f06a3a49677004a620ff361e1812 winetools-0.9.ebuild 1060
+MISC ChangeLog 315 RMD160 1caf1c3d1cd5097ec34ea754aa5ad592ca3b3c1e SHA1 49705b756b8c83cbd10370fbe5c38c3a773e4534 SHA256 09d19a09c4f317d39e13063a78de96f09adaec3012adaf135da4bbffc302330a
+MD5 fa23c4faa49b5680a57320ae3ef94dca ChangeLog 315
+RMD160 1caf1c3d1cd5097ec34ea754aa5ad592ca3b3c1e ChangeLog 315
+SHA256 09d19a09c4f317d39e13063a78de96f09adaec3012adaf135da4bbffc302330a ChangeLog 315
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 1dd4a6addf17d376eb249135b9f3b119 files/digest-winetools-0.9 259
+RMD160 3001b7c95136c55a6d7303ff75af634bab02a53d files/digest-winetools-0.9 259
+SHA256 b0bf5228e3aade41caf082fe14855815ddb3ed69282b85fc113c27647dc8b12d files/digest-winetools-0.9 259
diff --git a/app-emulation/winetools/files/digest-winetools-0.9 b/app-emulation/winetools/files/digest-winetools-0.9
new file mode 100644 (file)
index 0000000..caea92c
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 e15874cabdd48342e7de5a1823ee3c98 winetools-0.9jo-III.tar.gz 203976
+RMD160 361d7e8b636cc69e7d58ceb813fe4d74c1d2e87b winetools-0.9jo-III.tar.gz 203976
+SHA256 ef25dacc78c35dbd827cc160de69c3ae0ba30ce497b03ab9c7a6352cdad84ee1 winetools-0.9jo-III.tar.gz 203976
diff --git a/app-emulation/winetools/files/winetools-0.9.findwine.diff b/app-emulation/winetools/files/winetools-0.9.findwine.diff
new file mode 100644 (file)
index 0000000..8c89e71
--- /dev/null
@@ -0,0 +1,13 @@
+--- winetools-0.9jo-III/findwine       2005-12-12 12:18:57.000000000 +0100
++++ winetools-0.9jo-III.ebuild/findwine        2006-08-18 21:38:04.000000000 +0200
+@@ -2,8 +2,8 @@ export WINEDEBUG="fixme-all"
+ SETARCH=""
+ WINE=""
+ WINEDIR="`echo ~/.wine`"
+-DIALOG="/usr/local/winetools/Xdialog"
+-BASEDIR="/usr/local/winetools"
++DIALOG="/usr/bin/Xdialog"
++BASEDIR="/usr/winetools"
+ #export PATH="$BASEDIR:$PATH"
+ BINDIR="$HOME/bin"
+ CDROM="`ls -l $HOME/.wine/dosdevices/ 2>/dev/null | grep \" d: -> \"| sed -e \"s/^.* d: -> \(.*\)$/\1/\"`"
diff --git a/app-emulation/winetools/files/winetools-0.9.wt0.9jo.diff b/app-emulation/winetools/files/winetools-0.9.wt0.9jo.diff
new file mode 100644 (file)
index 0000000..f68dade
--- /dev/null
@@ -0,0 +1,38 @@
+--- winetools-0.9jo-III/wt0.9jo        2005-12-12 11:47:00.000000000 +0100
++++ winetools-0.9jo-III.ebuild/wt0.9jo 2006-08-22 21:22:17.000000000 +0200
+@@ -11,7 +11,8 @@
+ VERSION="winetools-0.9"
+ WINESERVER="wineserver"
+ RELEASE="`echo $VERSION | sed -e "s/winetools-\(.*\)/\1/"`"
+-BASEDIR="/usr/local/winetools"
++BASEDIR="/usr/winetools"
++DOCDIR="/usr/share/doc/winetools-0.9"
+ BINDIR="$HOME/bin"
+ DIALOG="$BASEDIR/Xdialog"
+ WINEDIR="`echo ~/.wine`"
+@@ -24,11 +25,6 @@ CDROM="`ls -l "$WINEDIR/dosdevices/" 2>/
+ #[ "$SFMIRROR" = "" ] && SFMIRROR="http://mesh.dl.sourceforge.net/sourceforge"
+ [ "$SFMIRROR" = "" ] && SFMIRROR="http://puzzle.dl.sourceforge.net/sourceforge"
+-#for Debian:
+-#BASEDIR="/usr/share/winetools"
+-#DIALOG="/usr/bin/Xdialog"
+-#WINESERVER="/usr/lib/wine/wineserver"
+-
+ # to generate the pot template use "xgettext -L Shell -o po/wt0.9.pot  wt0.9jo findwine"
+ # to generate a language template for your language call "msginit" in the directory po
+@@ -3234,10 +3230,10 @@ Note:  This software comes with absolutel
+ function readme()
+ {
+     TMP=`mktemp ${TMPDIR:-/tmp}/README.XXXXXX` || mktemp_error "$?"
+-    if [ -e "${BASEDIR}/doc/README.${WINEVER}" ]; then
+-      cat ${BASEDIR}/doc/README.first ${BASEDIR}/doc/README.${WINEVER} > $TMP
++    if [ -e "${DOCDIR}/README.${WINEVER}" ]; then
++      zcat ${DOCDIR}/README.first ${DOCDIR}/README.${WINEVER} > $TMP
+     else
+-      cat ${BASEDIR}/doc/README.first ${BASEDIR}/doc/README.nover > $TMP
++      zcat ${DOCDIR}/README.first ${DOCDIR}/README.nover > $TMP
+     fi
+     $DIALOG --title "`eval_gettext "Intro"`" --fixed-font "" \
+       --no-cancel \
diff --git a/app-emulation/winetools/metadata.xml b/app-emulation/winetools/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/app-emulation/winetools/winetools-0.9.ebuild b/app-emulation/winetools/winetools-0.9.ebuild
new file mode 100644 (file)
index 0000000..343ddb4
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+MY_P=${P}jo-III
+S=${WORKDIR}/${MY_P}
+
+DESCRIPTION="graphical wine tool for installing Windows programs under wine"
+HOMEPAGE="http://www.von-thadden.de/Joachim/WineTools/index.html"
+SRC_URI="http://ds80-237-203-29.dedicated.hosteurope.de/wt/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-devel/gettext
+       x11-misc/xdialog
+       app-emulation/wine"
+
+src_unpack() {
+       unpack ${A}
+       cd "${MY_P}"
+       epatch ${FILESDIR}/${P}.wt0.9jo.diff
+       epatch ${FILESDIR}/${P}.findwine.diff
+}
+
+src_install() {
+       insinto /usr/winetools/
+       cd "${S}"
+
+       dodoc doc/*
+       doins -r 3rdParty icon scripts po
+       doins chopctrl.pl findwine gettext.sh.dummy listit wt-config.reg
+       
+       newins wt0.9jo wt
+       fperms 755 /usr/winetools/wt
+
+       dosym /usr/winetools/wt /usr/bin/wt
+       dosym /usr/winetools/findwine /usr/bin/findwine
+}
+
+pkg_postinst() {
+       elog " "
+       elog "Start WineTools as *normal* user with \"wt\". Don't use as root!"
+       elog " "
+}