diff --git a/app-emulation/wine-etersoft-public/Manifest b/app-emulation/wine-etersoft-public/Manifest new file mode 100644 index 000000000..311caae73 --- /dev/null +++ b/app-emulation/wine-etersoft-public/Manifest @@ -0,0 +1,11 @@ +AUX lucon.ttf 115068 RMD160 123330b2a00006a75e19fae5632e2787f321b726 SHA1 17fff32bfd2d13b69aef879e77f974725559779e SHA256 6ddf64ee896d24cf9908f115ae220a7cfa18dc034bc4a68e4db68dcd57c71512 +AUX vga866.fon 6128 RMD160 079e0ad766e904b80447d867804269208e66b6cd SHA1 89836c80ec84416b297189f38f8741ffa29ea5a4 SHA256 1d714e4fe2aefb9faaef0cd27d79aa1077983f46fcf202f9e8686c6e7f3b68fe +AUX vgafix.fon 5360 RMD160 00c3c7b4d59cff491fea48ca49d691d5ed5b0165 SHA1 76d18128bcfd1d24a17ccf11806d2242dc85b3a3 SHA256 57402d1e89dc0d8368cde612d720ab4a6a813bfe5e243e9da2775013e06f2b0f +AUX vgafixr.fon 5600 RMD160 d37491a210951b72cab4d9e413a55953822b66e8 SHA1 edf2c0b9915f3ad8cad50559341bafd51e8627ea SHA256 e06a71bfce25ffa6a93bcfa6f380484c88a992fc1282fb4f1f5a23fe6cc781d0 +AUX vgaoem.fon 5168 RMD160 037908187960d5940b27510a19dc5c2e34edf82b SHA1 cf7252f08718a7c3b7e2012183222db6fdae83ac SHA256 011326f65e151d83c157ef6fdd23a2d851e8d0f2662d8409ea0b4a142e343a13 +AUX vgasys.fon 7280 RMD160 ead4f8982f278bdd8b547df51a0ebd0a3ac23604 SHA1 293a0ed46897a6dc4d502e92a1dd40a7f1c6762f SHA256 7baefa14ef8ef2355374d0b5061043dd5f4f8c33ff57680366e4a725f91646f8 +AUX vgasysr.fon 6912 RMD160 66edd76c2b5f37787a4efa2fd2a1cae45121f14a SHA1 9483decf1cdef2015cb29606c77531fa1ee7f625 SHA256 f90c3a12a0a1adacf59aefa20e7020478b3b38fef15bd4e1495a98750b3f57a3 +AUX wine.init 599 RMD160 78307109d178d081a2619a80ed7d15e13bfcaaac SHA1 24f1acf506ddd2f160d0ae4ad090c81044687531 SHA256 8f322fa6b661d939bfcb420b8d0e8be155967f4bee4a7ee0089ed22d49627215 +DIST wine-etersoft-public-1.0.9.tar.bz2 22954556 RMD160 bbee64eeb6d2105598618ccdb4a0f8f6bb1ba98f SHA1 02d2b343acfd4a66e1a1b36a44dc68e850591c32 SHA256 aef41f78a8cf3090d304bf689644bb4498569fe31e8e1ae17b84480fabfde19c +EBUILD wine-etersoft-public-1.0.9.ebuild 3874 RMD160 fd6e7a9ecf7436a47b9c97b7a59afbd77dd890d3 SHA1 30f772f43f10af0559be17966ce8e58afe306fe6 SHA256 1a4025b8f17fdaae7e4934811008a6be239e210f4c861acb851d257e33c58098 +MISC metadata.xml 987 RMD160 af15cb820c0efe61b44cc40e0f9f3648bbf8429b SHA1 2041e01fd362116a3d90db234e21833c6c93fecc SHA256 19599e075de06a6c2696fec9d1bc8225168ad03cdd61a858dd0a99f4a47e04c8 diff --git a/app-emulation/wine-etersoft-public/files/lucon.ttf b/app-emulation/wine-etersoft-public/files/lucon.ttf new file mode 100644 index 000000000..2885d7e1e Binary files /dev/null and b/app-emulation/wine-etersoft-public/files/lucon.ttf differ diff --git a/app-emulation/wine-etersoft-public/files/vga866.fon b/app-emulation/wine-etersoft-public/files/vga866.fon new file mode 100644 index 000000000..fdcbfe4cf Binary files /dev/null and b/app-emulation/wine-etersoft-public/files/vga866.fon differ diff --git a/app-emulation/wine-etersoft-public/files/vgafix.fon b/app-emulation/wine-etersoft-public/files/vgafix.fon new file mode 100644 index 000000000..ae925fb82 Binary files /dev/null and b/app-emulation/wine-etersoft-public/files/vgafix.fon differ diff --git a/app-emulation/wine-etersoft-public/files/vgafixr.fon b/app-emulation/wine-etersoft-public/files/vgafixr.fon new file mode 100644 index 000000000..d59ac2bac Binary files /dev/null and b/app-emulation/wine-etersoft-public/files/vgafixr.fon differ diff --git a/app-emulation/wine-etersoft-public/files/vgaoem.fon b/app-emulation/wine-etersoft-public/files/vgaoem.fon new file mode 100644 index 000000000..70d3c9008 Binary files /dev/null and b/app-emulation/wine-etersoft-public/files/vgaoem.fon differ diff --git a/app-emulation/wine-etersoft-public/files/vgasys.fon b/app-emulation/wine-etersoft-public/files/vgasys.fon new file mode 100644 index 000000000..8c6d35c7b Binary files /dev/null and b/app-emulation/wine-etersoft-public/files/vgasys.fon differ diff --git a/app-emulation/wine-etersoft-public/files/vgasysr.fon b/app-emulation/wine-etersoft-public/files/vgasysr.fon new file mode 100644 index 000000000..a43872064 Binary files /dev/null and b/app-emulation/wine-etersoft-public/files/vgasysr.fon differ diff --git a/app-emulation/wine-etersoft-public/files/wine.init b/app-emulation/wine-etersoft-public/files/wine.init new file mode 100644 index 000000000..400538ae4 --- /dev/null +++ b/app-emulation/wine-etersoft-public/files/wine.init @@ -0,0 +1,31 @@ +#!/sbin/runscript + + +FS="binfmt_misc" +PROCBIN="/proc/sys/fs/${FS}" + +checkconfig(){ + grep -wq "^${FS} ${PROCBIN}" /proc/mounts || \ + mount ${FS} -t ${FS} ${PROCBIN} || \ + return 1 +} + +start(){ + if ! checkconfig; then + eerror "Cannot load${FS}" + return 1 + fi + ebegin "Starting wine" + echo -e ':windows:M::MZ::/usr/bin/wine:\n:windowsPE:M::PE::/usr/bin/wine:' >"${PROCBIN}/register" + eend $? +} + +stop(){ + ebegin "Stopping wine" + if [ -f ${PROCBIN}/windows -a -f ${PROCBIN}/windowsPE ]; then + echo '-1' >$PROCBIN/windows && echo '-1' >$PROCBIN/windowsPE + else + ewarn "Wine was stopped" + fi + eend $? +} \ No newline at end of file diff --git a/app-emulation/wine-etersoft-public/metadata.xml b/app-emulation/wine-etersoft-public/metadata.xml new file mode 100644 index 000000000..1d3c3d871 --- /dev/null +++ b/app-emulation/wine-etersoft-public/metadata.xml @@ -0,0 +1,14 @@ + + + +wine-etersoft-public + + johnrdoe63@cregion.ru + JohnRDoe63 + + +This package allows you to run many winodws applications in your *nix environment. It can be used either with your existing Windows instalation or without it. + +Think of Wine as a compatibility layer for running Windows programs. Wine does not require Microsoft Windows, as it is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code, however Wine can optionally use native Windows DLLs if they are available. Wine provides both a development toolkit for porting Windows source code to Unix as well as a program loader, allowing many unmodified Windows programs to run on x86-based Unixes, including Linux, FreeBSD, and Solaris. + + diff --git a/app-emulation/wine-etersoft-public/wine-etersoft-public-1.0.9.ebuild b/app-emulation/wine-etersoft-public/wine-etersoft-public-1.0.9.ebuild new file mode 100644 index 000000000..726ebb982 --- /dev/null +++ b/app-emulation/wine-etersoft-public/wine-etersoft-public-1.0.9.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils flag-o-matic multilib + +DESCRIPTION="MS Windows compatibility layer (WINE@Etersoft public edition)" +HOMEPAGE="http://etersoft.ru/wine" + +SRC_URI="ftp://updates.etersoft.ru/pub/Etersoft/WINE@Etersoft/${PV}/sources/tarball/wine-etersoft-public-${PV}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="alsa arts cups dbus debug esd hal jack jpeg lcms ldap nas ncurses opengl oss scanner xml X cifs" +RESTRICT="nomirror" + + +RDEPEND=">=media-libs/freetype-2.0.0 + !app-emulation/wine + cifs? ( >=app-emulation/etersoft-cifs-1.50c ) + media-fonts/corefonts + ncurses? ( >=sys-libs/ncurses-5.2 ) + jack? ( media-sound/jack-audio-connection-kit ) + dbus? ( sys-apps/dbus ) + hal? ( sys-apps/hal ) + X? ( + x11-libs/libXcursor + x11-libs/libXrandr + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXxf86vm + x11-apps/xmessage + ) + alsa? ( media-libs/alsa-lib ) + esd? ( media-sound/esound ) + nas? ( media-libs/nas ) + cups? ( net-print/cups ) + opengl? ( virtual/opengl ) + jpeg? ( media-libs/jpeg ) + ldap? ( net-nds/openldap ) + lcms? ( media-libs/lcms ) + xml? ( dev-libs/libxml2 dev-libs/libxslt ) + >=media-gfx/fontforge-20060703 + scanner? ( media-gfx/sane-backends ) + amd64? ( + >=app-emulation/emul-linux-x86-xlibs-2.1 + >=app-emulation/emul-linux-x86-soundlibs-2.1 + >=sys-kernel/linux-headers-2.6 + )" +DEPEND="${RDEPEND} + X? ( + x11-proto/inputproto + x11-proto/xextproto + x11-proto/xf86vidmodeproto + ) + sys-devel/bison + sys-devel/flex" + +pkg_setup() { + use alsa || return 0 + if ! built_with_use --missing true media-libs/alsa-lib midi ; then + eerror "You must build media-libs/alsa-lib with USE=midi" + die "please re-emerge media-libs/alsa-lib with USE=midi" + fi +} + +src_unpack() { + unpack ${A} + cd "${WORKDIR}"/wine-${PV}/ + + sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in + sed -i '/^MimeType/d' tools/wine.desktop || die #117785 + +} + +config_cache() { + local h ans="no" + use $1 && ans="yes" + shift + for h in "$@" ; do + [[ ${h} == *.h ]] \ + && h=header_${h} \ + || h=lib_${h} + export ac_cv_${h//[:\/.]/_}=${ans} + done +} + +src_compile() { + export LDCONFIG=/bin/true + use arts || export ac_cv_path_ARTSCCONFIG="" + use esd || export ac_cv_path_ESDCONFIG="" + use scanner || export ac_cv_path_sane_devel="no" + config_cache jack jack/jack.h + config_cache cups cups/cups.h + config_cache alsa alsa/asoundlib.h sys/asoundlib.h asound:snd_pcm_open + config_cache nas audio/audiolib.h audio/soundlib.h + config_cache xml libxml/parser.h libxslt/pattern.h libxslt/transform.h + config_cache ldap ldap.h lber.h + config_cache dbus dbus/dbus.h + config_cache hal hal/libhal.h + config_cache jpeg jpeglib.h + config_cache oss sys/soundcard.h machine/soundcard.h soundcard.h + config_cache lcms lcms.h + + strip-flags + + use amd64 && multilib_toolchain_setup x86 + + cd "${WORKDIR}"/wine-${PV}/ + + econf \ + CC=$(tc-getCC) \ + --sysconfdir=/etc/wine \ + --enable-opengl \ + --with-x \ + $(use_enable debug trace) \ + $(use_enable debug) \ + || die "configure failed" + + emake -j1 depend || die "depend" + emake all || die "all" +} + +src_install() { + cd "${WORKDIR}"/wine-${PV}/ + make DESTDIR="${D}" install || die + dodoc ANNOUNCE AUTHORS ChangeLog README + dodir /etc/init.d + make -C etersoft install DESTDIR=${D} prefix=/usr initdir=/etc/init.d sysconfdir=/etc + rm -f ${D}/wine{,.outformat} + rm -f ${D}/usr/bin/wine-glibc + dosym /usr/bin/wine-pthread /usr/bin/wine-glibc + cp "${FILESDIR}"/*.fon ${D}/usr/share/wine/fonts/ + cp "${FILESDIR}"/*.ttf ${D}/usr/share/wine/fonts/ + cp "${FILESDIR}"/wine.init ${WORKDIR}/wine + doinitd ${WORKDIR}/wine +} + +pkg_postinst() { + elog "~/.wine/config is now deprecated. For configuration either use" + elog "winecfg or regedit HKCU\\Software\\Wine" + elog "" + elog "Use wine for initial user enviroment or wine --update." +}