summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurek Bartuszek <jurek@gentoo.org>2007-06-21 18:34:07 +0000
committerJurek Bartuszek <jurek@gentoo.org>2007-06-21 18:34:07 +0000
commit14bb050981eae7e51162dbb5607c02f980a873d5 (patch)
tree26b11e3a71b16b65170827f52219a6d34e977d3a /app-emulation/ies4linux
parentalpha stable wrt #171907 (diff)
downloadhistorical-14bb050981eae7e51162dbb5607c02f980a873d5.tar.gz
historical-14bb050981eae7e51162dbb5607c02f980a873d5.tar.bz2
historical-14bb050981eae7e51162dbb5607c02f980a873d5.zip
app-emulation/ies4linux: Initial version
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'app-emulation/ies4linux')
-rw-r--r--app-emulation/ies4linux/ChangeLog12
-rw-r--r--app-emulation/ies4linux/Manifest20
-rw-r--r--app-emulation/ies4linux/files/digest-ies4linux-2.0.53
-rw-r--r--app-emulation/ies4linux/files/ies4linux-2.0.5-Adapt_paths.patch101
-rw-r--r--app-emulation/ies4linux/ies4linux-2.0.5.ebuild99
-rw-r--r--app-emulation/ies4linux/metadata.xml9
6 files changed, 244 insertions, 0 deletions
diff --git a/app-emulation/ies4linux/ChangeLog b/app-emulation/ies4linux/ChangeLog
new file mode 100644
index 000000000000..d292abca3aea
--- /dev/null
+++ b/app-emulation/ies4linux/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for app-emulation/ies4linux
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/ies4linux/ChangeLog,v 1.1 2007/06/21 18:34:07 jurek Exp $
+
+*ies4linux-2.0.5 (21 Jun 2007)
+
+ 21 Jun 2007; Jurek Bartuszek <jurek@gentoo.org>
+ +files/ies4linux-2.0.5-Adapt_paths.patch, +metadata.xml,
+ +ies4linux-2.0.5.ebuild:
+ Initial version (closing bug #143798), credit goes Mathieu Bonnet
+ <mathieu.bonnet@riverside-idealism.org> for providing the ebuilds.
+
diff --git a/app-emulation/ies4linux/Manifest b/app-emulation/ies4linux/Manifest
new file mode 100644
index 000000000000..94e146bf3fa8
--- /dev/null
+++ b/app-emulation/ies4linux/Manifest
@@ -0,0 +1,20 @@
+AUX ies4linux-2.0.5-Adapt_paths.patch 3376 RMD160 619a6e452eb4ab77a2c98270242d369a2610b691 SHA1 aca1de2f69809f9680c99027b3372cb94d194d6c SHA256 f4ed4849ced968bd5626a1105965e6776ca47b282872e72e3530948d19338539
+MD5 cbe437060b42edb315c9af1f16514e93 files/ies4linux-2.0.5-Adapt_paths.patch 3376
+RMD160 619a6e452eb4ab77a2c98270242d369a2610b691 files/ies4linux-2.0.5-Adapt_paths.patch 3376
+SHA256 f4ed4849ced968bd5626a1105965e6776ca47b282872e72e3530948d19338539 files/ies4linux-2.0.5-Adapt_paths.patch 3376
+DIST ies4linux-2.0.5.tar.gz 340006 RMD160 17abed0eae3425af24acbb4dcffbc648de77b05b SHA1 226b060025bb359197ce4652c44d18e7e48dbedb SHA256 47432d739c73c495bf67104a5808bfeb37589231af62763737c0ce632c717c5f
+EBUILD ies4linux-2.0.5.ebuild 2058 RMD160 81507dbb458d0729719537f3773c6b5a5d0d5cc1 SHA1 cd300724e4a09cef78845eeff798d185f79739fb SHA256 51952def1b96d3bc319bfdc3bed5745ff2b95787597faf04b7f354ff4801e057
+MD5 93678eb11629e9e4647efbb5d0be8f06 ies4linux-2.0.5.ebuild 2058
+RMD160 81507dbb458d0729719537f3773c6b5a5d0d5cc1 ies4linux-2.0.5.ebuild 2058
+SHA256 51952def1b96d3bc319bfdc3bed5745ff2b95787597faf04b7f354ff4801e057 ies4linux-2.0.5.ebuild 2058
+MISC ChangeLog 524 RMD160 5df62f37689e481dd55e73da6468510129717855 SHA1 8208599ce49ec2e214a7b624361d3b3033cb1554 SHA256 61864efe360f1d4d1ddea5a038cedf9c47d7eebf310623767a7f714455565203
+MD5 d0c3c8616262411ac38a3718fd56d240 ChangeLog 524
+RMD160 5df62f37689e481dd55e73da6468510129717855 ChangeLog 524
+SHA256 61864efe360f1d4d1ddea5a038cedf9c47d7eebf310623767a7f714455565203 ChangeLog 524
+MISC metadata.xml 252 RMD160 5cd1f38c2efdf065fae7c68866353773f92b8ed5 SHA1 284619f278d070e2ab3f2162a6954e0fa24db922 SHA256 2d0cddc15f5f67a41bd3ce36b2c17461e42e2c8a7edf9c510a5facae0d3632c5
+MD5 010139156b09075d0dd4ffbe00ab88bc metadata.xml 252
+RMD160 5cd1f38c2efdf065fae7c68866353773f92b8ed5 metadata.xml 252
+SHA256 2d0cddc15f5f67a41bd3ce36b2c17461e42e2c8a7edf9c510a5facae0d3632c5 metadata.xml 252
+MD5 0f9bc15c651786c6452ebe718aae3765 files/digest-ies4linux-2.0.5 247
+RMD160 d4c1673ffab74f6a3a02eb2cd0492e251e182c28 files/digest-ies4linux-2.0.5 247
+SHA256 f59424c085631c0728eb7829fc7925e3f8165f5e9be894e2947ab93c11b05ba3 files/digest-ies4linux-2.0.5 247
diff --git a/app-emulation/ies4linux/files/digest-ies4linux-2.0.5 b/app-emulation/ies4linux/files/digest-ies4linux-2.0.5
new file mode 100644
index 000000000000..3e8116c62abd
--- /dev/null
+++ b/app-emulation/ies4linux/files/digest-ies4linux-2.0.5
@@ -0,0 +1,3 @@
+MD5 a2983360de355d1a407eb20077c39792 ies4linux-2.0.5.tar.gz 340006
+RMD160 17abed0eae3425af24acbb4dcffbc648de77b05b ies4linux-2.0.5.tar.gz 340006
+SHA256 47432d739c73c495bf67104a5808bfeb37589231af62763737c0ce632c717c5f ies4linux-2.0.5.tar.gz 340006
diff --git a/app-emulation/ies4linux/files/ies4linux-2.0.5-Adapt_paths.patch b/app-emulation/ies4linux/files/ies4linux-2.0.5-Adapt_paths.patch
new file mode 100644
index 000000000000..0097f53ec5be
--- /dev/null
+++ b/app-emulation/ies4linux/files/ies4linux-2.0.5-Adapt_paths.patch
@@ -0,0 +1,101 @@
+diff -uar ies4linux-2.0.5-orig/ies4linux ies4linux-2.0.5/ies4linux
+--- ies4linux-2.0.5-orig/ies4linux 2006-10-15 01:46:12.000000000 +0200
++++ ies4linux-2.0.5/ies4linux 2007-06-20 23:58:55.000000000 +0200
+@@ -7,10 +7,17 @@
+ # Released under the GNU GPL. See LICENSE for more information
+
+ # Discover ies4linux installation folder
+-IES4LINUX=`dirname "$0"`
++IES4LINUX_RELPATH="$(test -L $0 && echo $(readlink $0) || echo $0)"
++IES4LINUX="$(dirname $IES4LINUX_RELPATH)"
+ cd "$IES4LINUX"
+ export IES4LINUX=`pwd`
+
++# Changes to the user's home directory, in case "$IES4LINUX" is not writable,
++# because executing `wine --version` (executed, notably, in "lib/messages.sh"),
++# while in a directory where the user does not have write permission,
++# leads to (unimportant?) warnings.
++cd "$HOME"
++
+ # Create log file
+ # mkdir -p "$HOME"/.ies4linux
+ # touch "$HOME"/.ies4linux/log
+@@ -41,9 +48,9 @@
+ INSTALLIE2=0
+
+ # Basic imports
+-source lib/functions.sh
+-source lib/terminal.sh
+-source lib/messages.sh
++source "$IES4LINUX"/lib/functions.sh
++source "$IES4LINUX"/lib/terminal.sh
++source "$IES4LINUX"/lib/messages.sh
+
+ # Get some command-line options.
+ # If an option is specified on the command line, the user won't be asked for it later on.
+diff -uar ies4linux-2.0.5-orig/lib/functions.sh ies4linux-2.0.5/lib/functions.sh
+--- ies4linux-2.0.5-orig/lib/functions.sh 2006-10-15 08:08:50.000000000 +0200
++++ ies4linux-2.0.5/lib/functions.sh 2007-06-21 00:05:49.000000000 +0200
+@@ -66,12 +66,12 @@
+ tmp="$tmp \"$(eval echo \${$num})\""
+ num=$((num+1))
+ done
+- eval $tmp &> "$IES4LINUX"/cabextract.log || {
+- cat "$IES4LINUX"/cabextract.log
+- rm "$IES4LINUX"/cabextract.log
++ eval $tmp &> "$BASEDIR"/tmp/cabextract.log || {
++ cat "$BASEDIR"/tmp/cabextract.log
++ rm "$BASEDIR"/tmp/cabextract.log
+ error $MSG_ERROR_CABEXTRACTING
+ }
+- rm "$IES4LINUX"/cabextract.log
++ rm "$BASEDIR"/tmp/cabextract.log
+ }
+
+ # Post install
+@@ -93,4 +93,5 @@
+ local l=$BINDIR/ie$1
+ echo " ${l//\/\//\/}"
+ fi
+-}
+\ Brak znaku nowej linii na koñcu pliku
++}
++
+diff -uar ies4linux-2.0.5-orig/lib/install.sh ies4linux-2.0.5/lib/install.sh
+--- ies4linux-2.0.5-orig/lib/install.sh 2006-10-15 08:13:18.000000000 +0200
++++ ies4linux-2.0.5/lib/install.sh 2007-06-21 00:03:29.000000000 +0200
+@@ -91,7 +91,7 @@
+
+ subsection $MSG_INSTALLING_REGISTRY
+ add_registry "$IES4LINUX"/winereg/ie6.reg
+- add_registry "$IES4LINUX"/winereg/homepage.reg
++ add_registry "$BASEDIR"/tmp/homepage.reg
+
+ subsection $MSG_FINALIZING
+ wineboot &> /dev/null
+@@ -239,3 +239,4 @@
+
+ ok
+ }
++
+diff -uar ies4linux-2.0.5-orig/lib/messages.sh ies4linux-2.0.5/lib/messages.sh
+--- ies4linux-2.0.5-orig/lib/messages.sh 2006-10-15 01:56:33.000000000 +0200
++++ ies4linux-2.0.5/lib/messages.sh 2007-06-21 00:04:31.000000000 +0200
+@@ -101,7 +101,7 @@
+ source "$msg_file"
+
+ # Try to convert to user system encoding
+- iconv_tmpfile="$IES4LINUX"/lang/lang.sh
++ iconv_tmpfile="$BASEDIR"/tmp/lang.sh
+ if iconv --version &> /dev/null; then
+ iconv -f $TRANSLATION_ENCODING "$msg_file" > "$iconv_tmpfile" && source "$iconv_tmpfile"
+ rm -f "$iconv_tmpfile"
+@@ -115,7 +115,7 @@
+ exec 0<&6
+
+ # generate homepage registry file
+-cat <<FIM > "$IES4LINUX"/winereg/homepage.reg
++cat <<FIM > "$BASEDIR"/tmp/homepage.reg
+ [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
+ "Start Page"="${OK_URL}"
+ FIM
diff --git a/app-emulation/ies4linux/ies4linux-2.0.5.ebuild b/app-emulation/ies4linux/ies4linux-2.0.5.ebuild
new file mode 100644
index 000000000000..00cf42624b51
--- /dev/null
+++ b/app-emulation/ies4linux/ies4linux-2.0.5.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/ies4linux/ies4linux-2.0.5.ebuild,v 1.1 2007/06/21 18:34:07 jurek Exp $
+
+inherit eutils
+
+DESCRIPTION="Script to install Microsoft Internet Explorer under Linux using Wine"
+HOMEPAGE="http://www.tatanka.com.br/ies4linux/"
+SRC_URI="http://www.tatanka.com.br/${PN}/downloads/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=app-arch/cabextract-1.0 \
+ >=app-emulation/wine-0.9.0"
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+
+ unpack ${A} || die "unpack failed"
+
+ cd ${S}
+
+ # The upstream maintainer was informed of this patch,
+ # so it might be integrated in future versions
+ epatch ${FILESDIR}/${P}-Adapt_paths.patch || die "epatch failed"
+}
+
+src_install() {
+
+ INS_BASE_PATH="/usr/lib/${PN}"
+
+ #
+ # Main executable script
+ #
+
+ insinto $INS_BASE_PATH
+
+ insopts -m0755
+ doins ${PN} || die "doins failed"
+ dosym $INS_BASE_PATH/${PN} /usr/bin/${PN} || die "dosym failed"
+
+ #
+ # Main libraries
+ #
+
+ insinto $INS_BASE_PATH/lib
+
+ insopts -m0644
+ doins lib/*.sh || die "doins failed"
+
+ insopts -m0644
+ doins lib/${PN}.svg || die "doins failed"
+
+ #
+ # Localization libraries
+ #
+
+ insinto $INS_BASE_PATH/lang
+
+ insopts -m0644
+ doins lang/*.sh || die "doins failed"
+
+ #
+ # Windows registry files
+ #
+
+ insinto $INS_BASE_PATH/winereg
+
+ insopts -m0644
+ doins winereg/*.reg || die "doins failed"
+
+ #
+ # Documentation
+ #
+
+ dodoc ${S}/README || die "dodoc failed"
+}
+
+pkg_postinst() {
+
+ elog
+ elog "IEs 4 Linux is a script to install versions of"
+ elog "Microsoft Internet Explorer. You just emerged"
+ elog "the script, you now have to run \`${PN}\`,"
+ elog "to install IEs interactively."
+ elog
+ elog "Note that IEs are installed, by default, in your"
+ elog "home directory, and that Wine needs write"
+ elog "permissions to the installation directory,"
+ elog "to be able to run them (meaning you should"
+ elog "probably just run \`${PN}\` as the user"
+ elog "who will use the IE installations)."
+ elog
+}
+
diff --git a/app-emulation/ies4linux/metadata.xml b/app-emulation/ies4linux/metadata.xml
new file mode 100644
index 000000000000..9cf09a6be010
--- /dev/null
+++ b/app-emulation/ies4linux/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>jurek@gentoo.org</email>
+ <name>Jurek Bartuszek</name>
+</maintainer>
+</pkgmetadata>