diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-05-11 18:49:23 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-05-11 18:49:23 +0000 |
commit | 4c0492e6e38280d95376496c627cc63ee1c01f48 (patch) | |
tree | 2ede5e141a1f19b4a8069da34e949543fb4f3558 /app-emulation/wine | |
parent | moved to x86 (diff) | |
download | historical-4c0492e6e38280d95376496c627cc63ee1c01f48.tar.gz historical-4c0492e6e38280d95376496c627cc63ee1c01f48.tar.bz2 historical-4c0492e6e38280d95376496c627cc63ee1c01f48.zip |
cleanup
Diffstat (limited to 'app-emulation/wine')
18 files changed, 0 insertions, 586 deletions
diff --git a/app-emulation/wine/files/digest-wine-20030115 b/app-emulation/wine/files/digest-wine-20030115 deleted file mode 100644 index d97b452b8364..000000000000 --- a/app-emulation/wine/files/digest-wine-20030115 +++ /dev/null @@ -1 +0,0 @@ -MD5 31169eae48d2d51e6771fafd1b12f8d2 Wine-20030115.tar.gz 8235786 diff --git a/app-emulation/wine/files/digest-wine-20030219 b/app-emulation/wine/files/digest-wine-20030219 deleted file mode 100644 index bcf729ee4566..000000000000 --- a/app-emulation/wine/files/digest-wine-20030219 +++ /dev/null @@ -1 +0,0 @@ -MD5 8ba1ee5b2852c8e28333e7e6df115d06 Wine-20030219.tar.gz 8314951 diff --git a/app-emulation/wine/files/digest-wine-20030318 b/app-emulation/wine/files/digest-wine-20030318 deleted file mode 100644 index d7612c0f44a6..000000000000 --- a/app-emulation/wine/files/digest-wine-20030318 +++ /dev/null @@ -1 +0,0 @@ -MD5 a4d1596fb27a9f1530c979250a4a48cd Wine-20030318.tar.gz 8378240 diff --git a/app-emulation/wine/files/digest-wine-20030408 b/app-emulation/wine/files/digest-wine-20030408 deleted file mode 100644 index a64bb9872f6f..000000000000 --- a/app-emulation/wine/files/digest-wine-20030408 +++ /dev/null @@ -1 +0,0 @@ -MD5 8c578d05d60ef627e7f2959c220f3056 Wine-20030408.tar.gz 8521264 diff --git a/app-emulation/wine/files/wine-20030115-fake_windows.tar.bz2 b/app-emulation/wine/files/wine-20030115-fake_windows.tar.bz2 Binary files differdeleted file mode 100644 index d60f11e08ee3..000000000000 --- a/app-emulation/wine/files/wine-20030115-fake_windows.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030115-misc.tar.bz2 b/app-emulation/wine/files/wine-20030115-misc.tar.bz2 Binary files differdeleted file mode 100644 index 90b963f8896c..000000000000 --- a/app-emulation/wine/files/wine-20030115-misc.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030219-fake_windows.tar.bz2 b/app-emulation/wine/files/wine-20030219-fake_windows.tar.bz2 Binary files differdeleted file mode 100644 index d60f11e08ee3..000000000000 --- a/app-emulation/wine/files/wine-20030219-fake_windows.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030219-misc.tar.bz2 b/app-emulation/wine/files/wine-20030219-misc.tar.bz2 Binary files differdeleted file mode 100644 index 90b963f8896c..000000000000 --- a/app-emulation/wine/files/wine-20030219-misc.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030318-fake_windows.tar.bz2 b/app-emulation/wine/files/wine-20030318-fake_windows.tar.bz2 Binary files differdeleted file mode 100644 index d60f11e08ee3..000000000000 --- a/app-emulation/wine/files/wine-20030318-fake_windows.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030318-misc.tar.bz2 b/app-emulation/wine/files/wine-20030318-misc.tar.bz2 Binary files differdeleted file mode 100644 index 90b963f8896c..000000000000 --- a/app-emulation/wine/files/wine-20030318-misc.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030318-xopenfont.patch b/app-emulation/wine/files/wine-20030318-xopenfont.patch deleted file mode 100644 index 7f83e11ba4e9..000000000000 --- a/app-emulation/wine/files/wine-20030318-xopenfont.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- graphics/x11drv/xfont.c.orig 2003-04-06 18:27:44.000000000 +0200 -+++ graphics/x11drv/xfont.c 2003-04-06 18:27:58.000000000 +0200 -@@ -2115,7 +2115,7 @@ - } - else lpstr = x_pattern[i]; - -- if( (x_fs = TSXLoadQueryFont(gdi_display, lpstr)) ) -+ if( (x_fs = XFONT_GetFont(lpstr)) ) - { - XFONT_SetFontMetric( fi, fr, x_fs ); - TSXFreeFont( gdi_display, x_fs ); -@@ -3239,6 +3239,33 @@ - return NULL; - } - -+static int staticXError; -+ -+static int fonterror_handler(Display *display, -+ XErrorEvent *error_evt) -+{ -+ ERR("X error %d\n", error_evt->error_code); -+ return 0; -+} -+ -+static XFontStruct * XFONT_GetFont(char *lpstr) -+{ -+ XFontStruct* x_fs; -+ void *ptr; -+ -+ wine_tsx11_lock(); -+ staticXError = FALSE; -+ ptr = XSetErrorHandler(fonterror_handler); -+ x_fs = XLoadQueryFont(gdi_display, lpstr); -+ XSync(gdi_display, False); -+ XSetErrorHandler(ptr); -+ wine_tsx11_unlock(); -+ if (staticXError) -+ return NULL; -+ else -+ return x_fs; -+} -+ - - - /* X11DRV Interface **************************************************** diff --git a/app-emulation/wine/files/wine-20030408-fake_windows.tar.bz2 b/app-emulation/wine/files/wine-20030408-fake_windows.tar.bz2 Binary files differdeleted file mode 100644 index d60f11e08ee3..000000000000 --- a/app-emulation/wine/files/wine-20030408-fake_windows.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030408-misc.tar.bz2 b/app-emulation/wine/files/wine-20030408-misc.tar.bz2 Binary files differdeleted file mode 100644 index 90b963f8896c..000000000000 --- a/app-emulation/wine/files/wine-20030408-misc.tar.bz2 +++ /dev/null diff --git a/app-emulation/wine/files/wine-20030408-xopenfont.patch b/app-emulation/wine/files/wine-20030408-xopenfont.patch deleted file mode 100644 index 7f83e11ba4e9..000000000000 --- a/app-emulation/wine/files/wine-20030408-xopenfont.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- graphics/x11drv/xfont.c.orig 2003-04-06 18:27:44.000000000 +0200 -+++ graphics/x11drv/xfont.c 2003-04-06 18:27:58.000000000 +0200 -@@ -2115,7 +2115,7 @@ - } - else lpstr = x_pattern[i]; - -- if( (x_fs = TSXLoadQueryFont(gdi_display, lpstr)) ) -+ if( (x_fs = XFONT_GetFont(lpstr)) ) - { - XFONT_SetFontMetric( fi, fr, x_fs ); - TSXFreeFont( gdi_display, x_fs ); -@@ -3239,6 +3239,33 @@ - return NULL; - } - -+static int staticXError; -+ -+static int fonterror_handler(Display *display, -+ XErrorEvent *error_evt) -+{ -+ ERR("X error %d\n", error_evt->error_code); -+ return 0; -+} -+ -+static XFontStruct * XFONT_GetFont(char *lpstr) -+{ -+ XFontStruct* x_fs; -+ void *ptr; -+ -+ wine_tsx11_lock(); -+ staticXError = FALSE; -+ ptr = XSetErrorHandler(fonterror_handler); -+ x_fs = XLoadQueryFont(gdi_display, lpstr); -+ XSync(gdi_display, False); -+ XSetErrorHandler(ptr); -+ wine_tsx11_unlock(); -+ if (staticXError) -+ return NULL; -+ else -+ return x_fs; -+} -+ - - - /* X11DRV Interface **************************************************** diff --git a/app-emulation/wine/wine-20030115.ebuild b/app-emulation/wine/wine-20030115.ebuild deleted file mode 100644 index 067547ba56bf..000000000000 --- a/app-emulation/wine/wine-20030115.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-20030115.ebuild,v 1.6 2003/04/11 14:20:54 phoenix Exp $ - -DESCRIPTION="free implementation of Windows(tm) on Unix" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-${PV}.tar.gz" -HOMEPAGE="http://www.winehq.com/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 -ppc -sparc" -IUSE="nas arts cups opengl alsa" - -DEPEND="sys-devel/gcc - sys-devel/flex - dev-util/yacc - >=sys-libs/ncurses-5.2 - >=media-libs/freetype-2.0.0 - <=sys-devel/binutils-2.13.90.0.18-r1 - X? ( virtual/x11 - dev-lang/tcl - dev-lang/tk ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - nas? ( media-libs/nas ) - cups? ( net-print/cups ) - opengl? ( virtual/opengl )" - -src_compile() { - cd ${S} - local myconf - - use opengl && myconf="--enable-opengl" || myconf="--disable-opengl" - [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug" - # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected - - # use the default setting in ./configure over the /etc/make.conf setting - unset CFLAGS CXXFLAGS - - ./configure --prefix=/usr/lib/wine \ - --sysconfdir=/etc/wine \ - --host=${CHOST} \ - --enable-curses \ - ${myconf} || die - - cd ${S}/programs/winetest - cp Makefile 1 - sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile - - # No parallel make - cd ${S} - make depend all || die - cd programs && emake || die -} - -src_install () { - local WINEMAKEOPTS="prefix=${D}/usr/lib/wine" - - ### Install wine to ${D} - cd ${S} - make ${WINEMAKEOPTS} install || die - cd ${S}/programs - make ${WINEMAKEOPTS} install || die - - # Needed for later installation - dodir /usr/bin - - ### Creation of /usr/lib/wine/.data - # Setting up fake_windows - dodir /usr/lib/wine/.data - cd ${D}/usr/lib/wine/.data - tar jxvf ${FILESDIR}/${P}-fake_windows.tar.bz2 - chown root:root fake_windows/ -R - - # Unpacking the miscellaneous files - tar jxvf ${FILESDIR}/${P}-misc.tar.bz2 - chown root:root config - - # moving the wrappers to bin/ - insinto /usr/bin - dobin regedit-wine wine - rm regedit-wine wine - - # copying the winedefault.reg into .data - insinto /usr/lib/wine/.data - doins ${WORKDIR}/${P}/winedefault.reg - - # Set up this dynamic data - cd ${S} - insinto /usr/lib/wine/.data/fake_windows/Windows - doins documentation/samples/system.ini - doins documentation/samples/generic.ppd - ## Setup of .data complete - - ### Misc tasks - # Take care of the documentation - cd ${S} - dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README - - # Manpage setup - cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1 - doman ${D}/usr/lib/${PN}/man/man1/${PN}.1 - rm ${D}/usr/lib/${PN}/man/man1/${PN}.1 - - # Remove the executable flag from those libraries. - cd ${D}/usr/lib/wine/lib/wine - chmod a-x *.so -} - -pkg_postinst() { - einfo "Use /usr/bin/wine to start wine. This is a wrapper-script" - einfo "which will take care of everything else." - einfo "" - einfo "Use /usr/bin/regedit-wine to import registry files into the" - einfo "wine registry." - einfo "" - einfo "If you have further questions, enhancements or patches" - einfo "send an email to phoenix@gentoo.org" -} diff --git a/app-emulation/wine/wine-20030219.ebuild b/app-emulation/wine/wine-20030219.ebuild deleted file mode 100644 index 70791dc1d3b4..000000000000 --- a/app-emulation/wine/wine-20030219.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-20030219.ebuild,v 1.4 2003/04/11 14:20:54 phoenix Exp $ - -DESCRIPTION="free implementation of Windows(tm) on Unix" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-${PV}.tar.gz" -HOMEPAGE="http://www.winehq.com/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 -ppc -sparc" -IUSE="nas arts cups opengl alsa tcltk" - -DEPEND="sys-devel/gcc - sys-devel/flex - dev-util/yacc - >=sys-libs/ncurses-5.2 - >=media-libs/freetype-2.0.0 - <=sys-devel/binutils-2.13.90.0.18-r1 - X? ( virtual/x11 ) - tcltk? ( dev-lang/tcl - dev-lang/tk ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - nas? ( media-libs/nas ) - cups? ( net-print/cups ) - opengl? ( virtual/opengl )" - -src_compile() { - cd ${S} - local myconf - - use opengl && myconf="--enable-opengl" || myconf="--disable-opengl" - [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug" - # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected - - # use the default setting in ./configure over the /etc/make.conf setting - unset CFLAGS CXXFLAGS - - ./configure --prefix=/usr/lib/wine \ - --sysconfdir=/etc/wine \ - --host=${CHOST} \ - --enable-curses \ - ${myconf} || die - - cd ${S}/programs/winetest - cp Makefile 1 - sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile - - # No parallel make - cd ${S} - make depend all || die - cd programs && emake || die -} - -src_install () { - local WINEMAKEOPTS="prefix=${D}/usr/lib/wine" - - ### Install wine to ${D} - cd ${S} - make ${WINEMAKEOPTS} install || die - cd ${S}/programs - make ${WINEMAKEOPTS} install || die - - # Needed for later installation - dodir /usr/bin - - ### Creation of /usr/lib/wine/.data - # Setting up fake_windows - dodir /usr/lib/wine/.data - cd ${D}/usr/lib/wine/.data - tar jxvf ${FILESDIR}/${P}-fake_windows.tar.bz2 - chown root:root fake_windows/ -R - - # Unpacking the miscellaneous files - tar jxvf ${FILESDIR}/${P}-misc.tar.bz2 - chown root:root config - - # moving the wrappers to bin/ - insinto /usr/bin - dobin regedit-wine wine - rm regedit-wine wine - - # copying the winedefault.reg into .data - insinto /usr/lib/wine/.data - doins ${WORKDIR}/${P}/winedefault.reg - - # Set up this dynamic data - cd ${S} - insinto /usr/lib/wine/.data/fake_windows/Windows - doins documentation/samples/system.ini - doins documentation/samples/generic.ppd - ## Setup of .data complete - - ### Misc tasks - # Take care of the documentation - cd ${S} - dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README - - # Manpage setup - cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1 - doman ${D}/usr/lib/${PN}/man/man1/${PN}.1 - rm ${D}/usr/lib/${PN}/man/man1/${PN}.1 - - # Remove the executable flag from those libraries. - cd ${D}/usr/lib/wine/lib/wine - chmod a-x *.so -} - -pkg_postinst() { - einfo "Use /usr/bin/wine to start wine. This is a wrapper-script" - einfo "which will take care of everything else." - einfo "" - einfo "Use /usr/bin/regedit-wine to import registry files into the" - einfo "wine registry." - einfo "" - einfo "If you have further questions, enhancements or patches" - einfo "send an email to phoenix@gentoo.org" -} diff --git a/app-emulation/wine/wine-20030318.ebuild b/app-emulation/wine/wine-20030318.ebuild deleted file mode 100644 index 1a934a279527..000000000000 --- a/app-emulation/wine/wine-20030318.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-20030318.ebuild,v 1.3 2003/04/11 14:20:54 phoenix Exp $ - -inherit eutils base - -DESCRIPTION="free implementation of Windows(tm) on Unix" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-${PV}.tar.gz" -HOMEPAGE="http://www.winehq.com/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 -ppc -sparc" -IUSE="nas arts cups opengl alsa tcltk" - -DEPEND="sys-devel/gcc - sys-devel/flex - dev-util/yacc - >=sys-libs/ncurses-5.2 - >=media-libs/freetype-2.0.0 - <=sys-devel/binutils-2.13.90.0.18-r1 - X? ( virtual/x11 ) - tcltk? ( dev-lang/tcl - dev-lang/tk ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - nas? ( media-libs/nas ) - cups? ( net-print/cups ) - opengl? ( virtual/opengl )" - -src_unpack() { - base_src_unpack - cd ${S} - epatch ${FILESDIR}/${P}-xopenfont.patch -} - -src_compile() { - cd ${S} - local myconf - - use opengl && myconf="--enable-opengl" || myconf="--disable-opengl" - [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug" - # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected - - # use the default setting in ./configure over the /etc/make.conf setting - unset CFLAGS CXXFLAGS - - ./configure --prefix=/usr/lib/wine \ - --sysconfdir=/etc/wine \ - --host=${CHOST} \ - --enable-curses \ - ${myconf} || die - - cd ${S}/programs/winetest - cp Makefile 1 - sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile - - # No parallel make - cd ${S} - make depend all || die - cd programs && emake || die -} - -src_install () { - local WINEMAKEOPTS="prefix=${D}/usr/lib/wine" - - ### Install wine to ${D} - cd ${S} - make ${WINEMAKEOPTS} install || die - cd ${S}/programs - make ${WINEMAKEOPTS} install || die - - # Needed for later installation - dodir /usr/bin - - ### Creation of /usr/lib/wine/.data - # Setting up fake_windows - dodir /usr/lib/wine/.data - cd ${D}/usr/lib/wine/.data - tar jxvf ${FILESDIR}/${P}-fake_windows.tar.bz2 - chown root:root fake_windows/ -R - - # Unpacking the miscellaneous files - tar jxvf ${FILESDIR}/${P}-misc.tar.bz2 - chown root:root config - - # moving the wrappers to bin/ - insinto /usr/bin - dobin regedit-wine wine - rm regedit-wine wine - - # copying the winedefault.reg into .data - insinto /usr/lib/wine/.data - doins ${WORKDIR}/${P}/winedefault.reg - - # Set up this dynamic data - cd ${S} - insinto /usr/lib/wine/.data/fake_windows/Windows - doins documentation/samples/system.ini - doins documentation/samples/generic.ppd - ## Setup of .data complete - - ### Misc tasks - # Take care of the documentation - cd ${S} - dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README - - # Manpage setup - cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1 - doman ${D}/usr/lib/${PN}/man/man1/${PN}.1 - rm ${D}/usr/lib/${PN}/man/man1/${PN}.1 - - # Remove the executable flag from those libraries. - cd ${D}/usr/lib/wine/lib/wine - chmod a-x *.so -} - -pkg_postinst() { - einfo "Use /usr/bin/wine to start wine. This is a wrapper-script" - einfo "which will take care of everything else." - einfo "" - einfo "Use /usr/bin/regedit-wine to import registry files into the" - einfo "wine registry." - einfo "" - einfo "If you have further questions, enhancements or patches" - einfo "send an email to phoenix@gentoo.org" -} diff --git a/app-emulation/wine/wine-20030408.ebuild b/app-emulation/wine/wine-20030408.ebuild deleted file mode 100644 index 882276607c5f..000000000000 --- a/app-emulation/wine/wine-20030408.ebuild +++ /dev/null @@ -1,127 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/wine/wine-20030408.ebuild,v 1.2 2003/04/11 14:20:54 phoenix Exp $ - -inherit eutils base - -DESCRIPTION="free implementation of Windows(tm) on Unix" -SRC_URI="ftp://metalab.unc.edu/pub/Linux/ALPHA/wine/development/Wine-${PV}.tar.gz" -HOMEPAGE="http://www.winehq.com/" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 -ppc -sparc" -IUSE="nas arts cups opengl alsa tcltk" - -DEPEND="sys-devel/gcc - sys-devel/flex - dev-util/yacc - >=sys-libs/ncurses-5.2 - >=media-libs/freetype-2.0.0 - <=sys-devel/binutils-2.13.90.0.18-r1 - X? ( virtual/x11 ) - tcltk? ( dev-lang/tcl - dev-lang/tk ) - arts? ( kde-base/arts ) - alsa? ( media-libs/alsa-lib ) - nas? ( media-libs/nas ) - cups? ( net-print/cups ) - opengl? ( virtual/opengl )" - -src_unpack() { - base_src_unpack - cd ${S} - epatch ${FILESDIR}/${P}-xopenfont.patch -} - -src_compile() { - cd ${S} - local myconf - - use opengl && myconf="--enable-opengl" || myconf="--disable-opengl" - [ -z $DEBUG ] && myconf="$myconf --disable-trace --disable-debug" || myconf="$myconf --enable-trace --enable-debug" - # there's no configure flag for cups, arts, alsa and nas, it's supposed to be autodetected - - # use the default setting in ./configure over the /etc/make.conf setting - unset CFLAGS CXXFLAGS - - ./configure --prefix=/usr/lib/wine \ - --sysconfdir=/etc/wine \ - --host=${CHOST} \ - --enable-curses \ - ${myconf} || die - - cd ${S}/programs/winetest - cp Makefile 1 - sed -e 's:wine.pm:include/wine.pm:' 1 > Makefile - - # No parallel make - cd ${S} - make depend all || die - cd programs && emake || die -} - -src_install () { - local WINEMAKEOPTS="prefix=${D}/usr/lib/wine" - - ### Install wine to ${D} - cd ${S} - make ${WINEMAKEOPTS} install || die - cd ${S}/programs - make ${WINEMAKEOPTS} install || die - - # Needed for later installation - dodir /usr/bin - - ### Creation of /usr/lib/wine/.data - # Setting up fake_windows - dodir /usr/lib/wine/.data - cd ${D}/usr/lib/wine/.data - tar jxvf ${FILESDIR}/${P}-fake_windows.tar.bz2 - chown root:root fake_windows/ -R - - # Unpacking the miscellaneous files - tar jxvf ${FILESDIR}/${P}-misc.tar.bz2 - chown root:root config - - # moving the wrappers to bin/ - insinto /usr/bin - dobin regedit-wine wine - rm regedit-wine wine - - # copying the winedefault.reg into .data - insinto /usr/lib/wine/.data - doins ${WORKDIR}/${P}/winedefault.reg - - # Set up this dynamic data - cd ${S} - insinto /usr/lib/wine/.data/fake_windows/Windows - doins documentation/samples/system.ini - doins documentation/samples/generic.ppd - ## Setup of .data complete - - ### Misc tasks - # Take care of the documentation - cd ${S} - dodoc ANNOUNCE AUTHORS BUGS ChangeLog DEVELOPERS-HINTS LICENSE README - - # Manpage setup - cp ${D}/usr/lib/${PN}/man/man1/wine.1 ${D}/usr/lib/${PN}/man/man1/${PN}.1 - doman ${D}/usr/lib/${PN}/man/man1/${PN}.1 - rm ${D}/usr/lib/${PN}/man/man1/${PN}.1 - - # Remove the executable flag from those libraries. - cd ${D}/usr/lib/wine/lib/wine - chmod a-x *.so -} - -pkg_postinst() { - einfo "Use /usr/bin/wine to start wine. This is a wrapper-script" - einfo "which will take care of everything else." - einfo "" - einfo "Use /usr/bin/regedit-wine to import registry files into the" - einfo "wine registry." - einfo "" - einfo "If you have further questions, enhancements or patches" - einfo "send an email to phoenix@gentoo.org" -} |