Great software. It's set of scripts to easily configure wine (fonts, directx, etc.) and install tens of games. Ebuild should be quite easy. There's no compilation. POL depends on wxpython (python, wxGTK, GTK+) and lynx. Reproducible: Always Steps to Reproduce:
*** Bug 217364 has been marked as a duplicate of this bug. ***
Attached an attempt at an ebuild..definitely needs some work, seeming as it wouldn't work outside my chroot. I guess i can say i at least say i took a stab at it... and there isn't any documentation on their website... A few caveats though: 1. Had to patch wxpython, as per http://bugs.gentoo.org/show_bug.cgi?id=219238 2. LICENSE FILE is missed spell in "src" download, had to add a temp fix for that. 3. Issue initial $DISPLAY issue, with the installer not detecting X Display 4. The actual installer wouldn't work outside a chroot. my emerge --info: Portage 2.1.5_rc10 (default/linux/x86/2008.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r4 i686) ================================================================= System uname: 2.6.24-gentoo-r4 i686 Intel(R) Pentium(R) D CPU 2.80GHz Timestamp of tree: Wed, 14 May 2008 14:35:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r6, 2.5.2-r3 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.4 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.25-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer -g -ggdb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/sudoers /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer nostrip parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://gentoo.osuosl.org/ " LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/myebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl alsa apache2 avi bash-completion bzip2 cli compat cracklib crypt cups dbcpalsa dbus dri firefox ftp gdbm gpm hal iconv intel isdnlog java java5 java6 jbdc jboss jpeg kde logitech mailwrapper midi mp3 mpeg mudflap mysql ncurses nls nptl nptlonly ntp nvidia odbc opengl openmp pam pcre perl png postgres pppd python qt3 qt4 rar readline reflection sdk session spl ssl svg tcpd tiff tomcat truetype unicode vim vim-completion vim-syntax vim-with-x x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 153169 [details] first stab at ebuild.
Comment on attachment 153169 [details] first stab at ebuild. ><HTML><HEAD/><BODY><PRE># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit games > > >DESCRIPTION="It's a set of scripts to easily configure wine (fonts, directx, >etc.) and install tens of games." >HOMEPAGE="http://www.playonlinux.com/en" > >SRC_URI="http://www.playonlinux.com/script_files/PlayOnLinux/2.7.2/PlayOnLinux_2.7.2.tar.gz" > >LICENSE="GPL" >SLOT="0" >KEYWORDS="~x86" >IUSE="" > >S="${WORKDIR}/playonlinux" > >DEPEND="dev-lang/python > x11-libs/wxGTK > x11-libs/gtk+ > www-client/lynx app-arch/unzip app-arch/cabextract sys-devel/binutils x11-terms/xterm app-emulation/wine media-gfx/imagemagick app-arch/lzma-utils" >RDEPEND="${DEPEND} > dev-python/wxpython >" > >src_unpack() { > unpack ${A} > cd "${S}" >} > >src_install() { > cd "${S}" > ./playonlinux || die "install failed" > einfo "Fix for License miss spelling" > addpredict "${S}" > addread "${S}" > mv LICENCE LICENSE > > dodoc CHANGELOG LICENSE || die "doc failed" >} ></PRE></BODY></HTML>
Created attachment 153171 [details] first stab at ebuild. with fixed dependencies
After some further testing and determination i figure a few things out and got a few other things not to work...Here is where i am left: (Working on a better ebuild) 1. once i got the application to install outside chroot, i couldn't get any of the text to show up in the app, so i have no idea what it was saying. 2. Getting some errors on printf invalid usage, RGB GLX Visual, and Xlib 3. no clue why you stated lynx was a decency for this app. still gonna try and work this out... -Mike
Created attachment 155099 [details] Ebuild for playonlinux-3.0.1 I've made an update for playonlinux ebuild for 3.0.1 release that came out recently. I was also seeking why lynx was on dependency and I found that : http://www.playonlinux.com/en/topic-904-Cant_start_playonlinux.html Finaly, I add the ebuild to the Sunrise Overlay, here : http://overlays.gentoo.org/svn/proj/sunrise/sunrise/games-util/playonlinux/playonlinux-3.0.1.ebuild
same issues that were in previous version in x86: 1. If you don't have DISPLAY set as an environmental variable it fails on : Error: unable to open display localhost:0.0 2. No text is showing up on setup wizard, following errors get spit out: File "/usr/lib/python2.5/string.py", line 290, in split return s.split(sep, maxsplit) AttributeError: 'NoneType' object has no attribute 'split' Also that link your included regarding lynx is not exactly a reason, it's just someone saying you need to have it for it to work, ie. emulating exactly what the poster stated. I know this might sound a bit annoying but mysterious dependencies bother me. I guess it just sheds light on the lack of software documentation. wxGTK dependency needs to be changed to >=x11-libs/WxGtk-2.8 because of what was stated in the post you included. -mike
(In reply to comment #8) > same issues that were in previous version in x86: > > 1. If you don't have DISPLAY set as an environmental variable it fails on : > Error: unable to open display localhost:0.0 > 2. No text is showing up on setup wizard, following errors get spit out: > > File "/usr/lib/python2.5/string.py", line 290, in split > return s.split(sep, maxsplit) > AttributeError: 'NoneType' object has no attribute 'split' > > Also that link your included regarding lynx is not exactly a reason, it's just > someone saying you need to have it for it to work, ie. emulating exactly what > the poster stated. I know this might sound a bit annoying but mysterious > dependencies bother me. I guess it just sheds light on the lack of software > documentation. > > wxGTK dependency needs to be changed to >=x11-libs/WxGtk-2.8 because of what > was stated in the post you included. > > -mike > Actualy, I've the same problems. I only updated the ebuild and I was thinking the older one was working but it is not... So, I'm going to seek why
A few things for a bit more investigating: 1. installer is failing also due to lack of permission on /dev/graphiccard for me /dev/nvidiactl; inserting an sandbox function for addpredict /dev/nvidiactl fixed it for me ; but that is only on a case to case basis 2. in the ${WORKDIR}/playonlinux/python/lib/lng.py they are using 'string' as a variable name: locale_test = string.split(locale_[0],"_") and also it looks like local_[0] isn't a string. I guess a work around would maybe be, if (locale_[0] == None): locale_[0] = '', not sure about this, i will test a few things. -Mike
Created attachment 156303 [details] Ebuild for playonlinux-3.0.2 Actualy, there were many mistakes. Some from initial creator of the ebuild (playonlinux script is not an installation) and other from playonlinux team (the python error). New version (3.0.2) fixes error so i've done a _working_ ebuild for playonlinux. However, I'm still not entirely sure about dependencies.
Created attachment 156433 [details] Cleaned ebuild Cleaned ebuild has been added to sunrise overlay. If you are not used to overlays, you can install playonlinux with these commands : emerge -av layman echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf echo "games-util/playonlinux ~x86" >> /etc/portage/package.keywords layman -f -a sunrise emerge -av playonlinux
Works on 64bit. You can add ~amd64 keyword.
Created attachment 157685 [details] Updated ebuild : 3.0.5 I have added -* and ~amd64 keywords. Actually, ~x86-fbsd should be tested coz it's a keyword of wine (wine is -* ~amd64 ~x86 ~x86-fbsd so playonlinux can't have more keywords). No one could test it ? ~amd64 has not been added to sunrise because wine is hard masked in nomultilib profile (an amd64 profile) and playonlinux should be too but profile is not supported in portage overlays :(
Created attachment 158535 [details] Updated ebuild : 3.0.7 Here is an ebuild for the new playonlinux release (3.0.7). Also on sunrise but without ~amd64 flag (see post below)
Created attachment 165219 [details] Updated ebuild : 3.1.0 Another version
Created attachment 165491 [details] Updated and fixed ebuild : 3.1 manwe, your ebuild had some problems : - the official release version is not 3.1.0 but 3.1, - the new release add a daemon and your ebuild does not install it.
3.2.2 is out.
Created attachment 177276 [details] playonlinux 3.2.2 ebuild New ebuild. Actually, no changes since the previous version.
(In reply to comment #19) > Created an attachment (id=177276) [edit] > playonlinux 3.2.2 ebuild > > New ebuild. > Actually, no changes since the previous version. > Could you also add it in sunrise please ? Thanks !
(In reply to comment #20) > Could you also add it in sunrise please ? > Thanks ! > I've just add it to sunrise (rev 7593). It should be available in a few days.
Created attachment 179617 [details] Ebuild for playonlinux-3.3
Created attachment 182487 [details] Ebuild for playonlinux-3.3.1 Version bump
Created attachment 187310 [details] Ebuild for playonlinux-3.4 Version bump. (bumped in gentoo sunrise overlay too)
This ebuild is in sunrise overlay, its maintainer will add the direct link to this bug when it gets reviewed.
playonlinux needs a bump to 3.5. Thanks.
The ebuild has been added into the tree : app-emulation/playonlinux Keyworded ~x86. If you want another keyword, please open a new bug for it. The ebuild has been bumped to 3.5 in the process (Thanks Alan for the reminder). For next version bump request, please file a new bug.
Created attachment 257972 [details] Ebuild for playonlinux-3.8.7
Created attachment 257973 [details] Ebuild for playonlinux-3.8.7
Created attachment 257975 [details] Ebuild for playonlinux-3.8.7