--- playonlinux-3.7.3.orig/debian/playonlinux.manpages +++ playonlinux-3.7.3/debian/playonlinux.manpages @@ -0,0 +1,3 @@ +debian/man/playonlinux.1 +debian/man/playonlinux-pkg.1 +debian/man/playonlinux-daemon.1 --- playonlinux-3.7.3.orig/debian/PlayOnLinux.desktop +++ playonlinux-3.7.3/debian/PlayOnLinux.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=PlayOnLinux +GenericName=Game +Comment=PlayOnLinux +Type=Application +Exec=playonlinux +Icon=playonlinux +Categories=Game; --- playonlinux-3.7.3.orig/debian/watch +++ playonlinux-3.7.3/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.playonlinux.com/fr/download-generic.html http://www.playonlinux.com/script_files/PlayOnLinux/(?:.*)/PlayOnLinux_(.*).tar.gz --- playonlinux-3.7.3.orig/debian/rules +++ playonlinux-3.7.3/debian/rules @@ -0,0 +1,72 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + + +configure: configure-stamp +configure-stamp: patch + dh_testdir + touch configure-stamp + + +build: build-stamp + +build-stamp: configure-stamp + dh_testdir + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + + chmod -x CHANGELOG + chmod -R -x+X etc/ + chmod -R -x+X themes/ + chmod -R -x+X lang/locale/ + chmod -x python/lib/__init__.py + chmod +x lib/* + chmod +x lang/old/* + chmod +x bash/terminals/* + + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs CHANGELOG + dh_installdocs + dh_install + dh_installmenu + dh_pysupport + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- playonlinux-3.7.3.orig/debian/README.source +++ playonlinux-3.7.3/debian/README.source @@ -0,0 +1,5 @@ +This package uses quilt to manage all modifications to the upstream +source. Changes are stored in the source package as diffs in +debian/patches and applied during the build. + +See /usr/share/doc/quilt/README.source --- playonlinux-3.7.3.orig/debian/playonlinux.install +++ playonlinux-3.7.3/debian/playonlinux.install @@ -0,0 +1,17 @@ +bash/* usr/share/playonlinux/bash/ +etc/*.gif etc/*.png etc/*.directory etc/*.menu etc/*.desktop etc/pol_bash usr/share/playonlinux/etc/ +etc/install/* usr/share/playonlinux/etc/install/ +etc/menu/* usr/share/playonlinux/etc/menu/ +etc/onglet/* usr/share/playonlinux/etc/onglet/ +etc/setups/* usr/share/playonlinux/etc/setups/ +lang/locale/* usr/share/locale/ +lib/* usr/share/playonlinux/lib/ +python/*.py usr/share/playonlinux/python/ +python/lib/*.py usr/share/playonlinux/python/lib/ +themes/* usr/share/playonlinux/themes/ +playonlinux* usr/share/playonlinux/ +etc/playonlinux*.png usr/share/pixmaps/ +debian/PlayOnLinux.desktop usr/share/applications/ +debian/bin/playonlinux usr/bin/ +debian/bin/playonlinux-pkg usr/bin/ +debian/bin/playonlinux-daemon usr/bin/ --- playonlinux-3.7.3.orig/debian/README.Debian +++ playonlinux-3.7.3/debian/README.Debian @@ -0,0 +1,13 @@ +PlayOnLinux for Debian +----------------- + +To comply with the Debian main category, automatic installation of +Microsoft fonts is deactivated in PlayOnLinux. If you encounter any fonts +troubles in PlayOnLinux, you should think about installing the Debian package +ttf-msttcorefonts-installer. + +Alternativelly, you can install these fonts manually in the PlayOnLinux +fashion by launching in the PlayOnLinux Debug console : +install_fonts + + -- Bertrand Marc Fri, 04 Mar 2009 17:18:41 +0100 --- playonlinux-3.7.3.orig/debian/compat +++ playonlinux-3.7.3/debian/compat @@ -0,0 +1 @@ +7 --- playonlinux-3.7.3.orig/debian/control +++ playonlinux-3.7.3/debian/control @@ -0,0 +1,19 @@ +Source: playonlinux +Section: contrib/otherosfs +Priority: optional +Maintainer: Debian Games Team +Uploaders: Bertrand Marc +Build-Depends: debhelper (>= 7), python-support, quilt +Standards-Version: 3.8.4 +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/playonlinux/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/playonlinux/ +Homepage: http://www.playonlinux.com/ + +Package: playonlinux +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, wine|wine-unstable, unzip, wget, x-terminal-emulator, python-wxgtk2.8, imagemagick, cabextract, mesa-utils, gettext-base, binutils +Suggests: ttf-mscorefonts-installer +Description: front-end for Wine + PlayOnLinux is a front-end for wine. It permits you to easily install Windows + Games and softwares on Linux. It is advised to have a functional internet + connection. --- playonlinux-3.7.3.orig/debian/pycompat +++ playonlinux-3.7.3/debian/pycompat @@ -0,0 +1 @@ +2 --- playonlinux-3.7.3.orig/debian/copyright +++ playonlinux-3.7.3/debian/copyright @@ -0,0 +1,54 @@ +This package was debianized by Bertrand Marc on +Fri, 06 Feb 2009 02:19:41 +0100. + +It was downloaded from http://www.playonlinux.com/ + +Upstream Authors: + + Pâris Quentin + +Copyright: + + Copyright © 2007-2009 Pâris Quentin + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 3 dated June, 2007. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-3'. + + +Icons in themes/tango are from the Tango project. They were downloaded from +http://tango.freedesktop.org/releases/ + +Upstream Authors: 2005-2009 + Ulisse Perusin + Steven Garrity + Lapo Calamandrei + Ryan Collier + Rodney Dawes + Andreas Nilsson + Tuomas Kuosmanen + Garrett LeSage + Jakub Steiner + +Copyright: +The icons from the Tango project are released to the Public Domain. + +The Debian packaging is (C) 2009, Bertrand Marc and +is licensed under the GPL, see above. + --- playonlinux-3.7.3.orig/debian/menu +++ playonlinux-3.7.3/debian/menu @@ -0,0 +1,2 @@ +?package(playonlinux):needs="X11" section="Applications/Emulators"\ + title="PlayOnLinux" command="/usr/bin/playonlinux" --- playonlinux-3.7.3.orig/debian/changelog +++ playonlinux-3.7.3/debian/changelog @@ -0,0 +1,65 @@ +playonlinux (3.7.3-1) unstable; urgency=low + + * New upstream release. + * Bump Standards-Version to 3.8.4 (no changes needed). + + -- Bertrand Marc Sun, 14 Feb 2010 21:32:26 +0100 + +playonlinux (3.7.1-1) unstable; urgency=low + + * New upstream release: + - Added POL_Call to replace tricks lib + - New polish and german translation + * Depends on binutils to provide ar (LP: #456276). + + -- Bertrand Marc Thu, 05 Nov 2009 00:45:44 +0100 + +playonlinux (3.7-1) unstable; urgency=low + + * New upstream release: + - Right Menu + - Kill All Apps + - Possibility to change icon + - Possibility to open user directory + - playonlinux --debug option + * Depends on wine|wine-unstable (Closes: #541325). + * Bump Standards-Version to 3.8.3 (no changes needed). + * Refresh patches. + * Add README.source referring to /usr/share/doc/quilt/README.source. + + -- Bertrand Marc Mon, 05 Oct 2009 11:54:55 +0000 + +playonlinux (3.6-1) unstable; urgency=low + + * New upstream release : + - Various bug fixed + - Winetricks integration + * Bump Standards-Version to 3.8.2 (no changes needed). + * Match playonlinux.install with the new source tree. + * Add a dependency on gettext-base for translation support. + + -- Bertrand Marc Sun, 05 Jul 2009 13:12:29 +0200 + +playonlinux (3.5-1) unstable; urgency=low + + * New upstream release : + - Icon changed + - pol.mulx.net becomes mulx.playonlinux.com + - English translation improved + + -- Bertrand Marc Sun, 17 May 2009 16:12:01 +0200 + +playonlinux (3.4-1) unstable; urgency=low + + * Initial release (Closes: #485149) + * Suggest (and use) ttf-mscorefonts-installer instead + of downloading directly the fonts. + * Document how to install fonts in README.Debian. + * Install locales in /usr/share/locale instead of + custom directory and apply patch locale.diff to match + these changes. + * Replace xterm with x-terminal-emulator, drop the + xterm dependency. + + -- Bertrand Marc Fri, 13 Mar 2009 02:03:24 +0100 + --- playonlinux-3.7.3.orig/debian/patches/mscorefonts.diff +++ playonlinux-3.7.3/debian/patches/mscorefonts.diff @@ -0,0 +1,66 @@ +--- playonlinux-3.7.orig/lib/sources ++++ playonlinux-3.7/lib/sources +@@ -29,9 +29,10 @@ + + cfg_check + construire_repertoire_personnel ++ install_debfonts + if [ ! -d "$HOME/.PlayOnLinux/configurations/listes" ] + then + maj_check --first ++ sleep 1 && fonts_install + fi +- fonts_install + fi +--- playonlinux-3.7.orig/lib/main ++++ playonlinux-3.7/lib/main +@@ -103,12 +103,46 @@ + $PYTHON "$PLAYONLINUX/python/mainwindow.py" "$1" + fi + } ++install_debfonts() ++{ ++ if [ ! -e "$HOME/.PlayOnLinux/configurations/msfonts_installed" ] ++ then ++ DEBFONTS="/usr/share/fonts/truetype/msttcorefonts" ++ if [ -e "$HOME/.PlayOnLinux/configurations/msfonts_deb_installed" ] && [ ! -d $DEBFONTS ] ++ then ++ rm $HOME/.PlayOnLinux/fonts/ -r 2> /dev/null ++ rm $HOME/.PlayOnLinux/fonts 2> /dev/null ++ rm $HOME/.PlayOnLinux/configurations/fonts_installed 2> /dev/null ++ rm $HOME/.PlayOnLinux/configurations/msfonts_deb_installed 2> /dev/null ++ fi ++ if [ ! -e "$HOME/.PlayOnLinux/configurations/msfonts_deb_installed" ] && [ -d $DEBFONTS ] ++ then ++ rm $HOME/.PlayOnLinux/fonts/ -r 2> /dev/null ++ rm $HOME/.PlayOnLinux/fonts 2> /dev/null ++ rm $HOME/.PlayOnLinux/configurations/fonts_installed 2> /dev/null ++ FONTDIR=$HOME/.PlayOnLinux/fonts/ ++ mkdir -p $FONTDIR ++ OLDDIR="$PWD" ++ cd $DEBFONTS ++ for ttf in * ++ do ++ ln -s $DEBFONTS/$ttf $FONTDIR/$ttf ++ done ++ cd $OLDDIR ++ touch "$HOME/.PlayOnLinux/configurations/msfonts_deb_installed" ++ fi ++ fi ++} + fonts_install() + { +- if [ ! "$DEJADIS" == "True" ] ++ if [ ! -e "$HOME/.PlayOnLinux/configurations/msfonts_installed" ] && [ ! -e "$HOME/.PlayOnLinux/configurations/msfonts_deb_installed" ] + then +- export DEJADIS="True" +- (sleep 1 && install_fonts)& ++ FONTS_WARNING="Microsoft fonts aren't installed.\n\n\ ++If you encounter any fonts trouble, you should think about installing\ ++ the debian package\nttf-mscorefonts-installer (see README.Debian)." ++ POL_SetupWindow_Init "$PLAYONLINUX/etc/setups/fonts/top.png" ++ POL_SetupWindow_message "$FONTS_WARNING" "Microsoft fonts" ++ POL_SetupWindow_Close + fi + } + install_fonts () --- playonlinux-3.7.3.orig/debian/patches/locale.diff +++ playonlinux-3.7.3/debian/patches/locale.diff @@ -0,0 +1,26 @@ +--- playonlinux-3.4.orig/lib/variables ++++ playonlinux-3.4/lib/variables +@@ -76,7 +76,6 @@ + fi + + ### Language +-export TEXTDOMAINDIR="$PLAYONLINUX/lang/locale/" + export TEXTDOMAIN="pol" + . gettext.sh + +--- playonlinux-3.4.orig/python/lib/lng.py ++++ playonlinux-3.4/python/lib/lng.py +@@ -5,11 +5,10 @@ + import locale, string, wx + class Lang(object): + def __init__(self): +- languages = os.listdir(Variables.playonlinux_env+'/lang/locale') ++ languages = os.listdir('/usr/share/locale') + + langid = wx.LANGUAGE_DEFAULT +- basepath = os.popen("printf \"$PLAYONLINUX\"","r").read() +- localedir = os.path.join(basepath, "lang/locale") ++ localedir = "/usr/share/locale" + domain = "pol" + mylocale = wx.Locale(langid) + mylocale.AddCatalogLookupPathPrefix(localedir) --- playonlinux-3.7.3.orig/debian/patches/series +++ playonlinux-3.7.3/debian/patches/series @@ -0,0 +1,4 @@ +mscorefonts.diff +locale.diff +x-terminal-emulator.diff +license.diff --- playonlinux-3.7.3.orig/debian/patches/license.diff +++ playonlinux-3.7.3/debian/patches/license.diff @@ -0,0 +1,11 @@ +--- playonlinux-3.7.orig/python/mainwindow.py ++++ playonlinux-3.7/python/mainwindow.py +@@ -425,7 +425,7 @@ + self.aboutBox.AddDeveloper("Helped for the program : kiplantt, NSLW") + self.aboutBox.AddArtist("Icons are provided by Tango Desktop Project") + self.aboutBox.SetWebSite("http://www.playonlinux.com") +- self.aboutBox.SetLicence(open(Variables.playonlinux_env+"/LICENCE",'r').read()) ++ self.aboutBox.SetLicence(open("/usr/share/common-licenses/GPL",'r').read()) + self.about = wx.AboutBox(self.aboutBox) + + class PlayOnLinuxApp(wx.App): --- playonlinux-3.7.3.orig/debian/patches/x-terminal-emulator.diff +++ playonlinux-3.7.3/debian/patches/x-terminal-emulator.diff @@ -0,0 +1,63 @@ +--- /dev/null ++++ playonlinux-3.7/bash/terminals/Default +@@ -0,0 +1,2 @@ ++#!/bin/sh ++x-terminal-emulator -e "$@" +--- playonlinux-3.7.orig/lib/check_depend ++++ playonlinux-3.7/lib/check_depend +@@ -53,7 +53,6 @@ + check_one wine "wine" + check_one unzip "unzip" + check_one ar "binutils" +- check_one xterm "xterm" + check_one convert "imagemagick" + check_one cabextract "cabextract" + #check_one lzma "lzma" +--- playonlinux-3.7.orig/lib/variables ++++ playonlinux-3.7/lib/variables +@@ -45,14 +45,14 @@ + fi + + ### Terminal +-export POL_TERM="xterm" ++export POL_TERM="Default" + if [ -e "$REPERTOIRE/configurations/options/terminal" ] + then + export POL_TERM=$(cat $REPERTOIRE/configurations/options/terminal) + fi + if [ $POL_TERM = "" ] + then +- export POL_TERM="xterm" ++ export POL_TERM="Default" + fi + + ### Desktop +@@ -72,7 +72,7 @@ + fi + if [ $POL_TERM = "" ] + then +- export POL_TERM="xterm" ++ export POL_TERM="Default" + fi + + ### Language +@@ -127,7 +127,7 @@ + + if [ $POL_TERM = "" ] + then +- export POL_TERM="xterm" ++ export POL_TERM="Default" + fi + + export POL_LANG=$(echo "$LANG" | cut -d\_ -f 1) +--- playonlinux-3.7.orig/python/options.py ++++ playonlinux-3.7/python/options.py +@@ -105,7 +105,7 @@ + if(os.path.exists(Variables.playonlinux_rep+"/configurations/options/terminal")): + default_terminal = open(Variables.playonlinux_rep+"/configurations/options/terminal","r").read() + else: +- default_terminal = "xterm" ++ default_terminal = "Default" + self.Term = wx.ComboBox(self.panelGeneral, -1, value=default_terminal, choices=os.listdir(Variables.playonlinux_env+"/bash/terminals"), pos=(20,120),style=wx.CB_READONLY) + self.buttonTestT = wx.Button(self.panelGeneral, 111, _("Test"), pos=(230,120), size=(80,27)) + --- playonlinux-3.7.3.orig/debian/bin/playonlinux +++ playonlinux-3.7.3/debian/bin/playonlinux @@ -0,0 +1,3 @@ +#!/bin/sh +exec /usr/share/playonlinux/playonlinux "$@" +exit 0 --- playonlinux-3.7.3.orig/debian/bin/playonlinux-daemon +++ playonlinux-3.7.3/debian/bin/playonlinux-daemon @@ -0,0 +1,3 @@ +#!/bin/sh +exec /usr/share/playonlinux/playonlinux-daemon "$@" +exit 0 --- playonlinux-3.7.3.orig/debian/bin/playonlinux-pkg +++ playonlinux-3.7.3/debian/bin/playonlinux-pkg @@ -0,0 +1,3 @@ +#!/bin/sh +exec /usr/share/playonlinux/playonlinux-pkg "$@" +exit 0 --- playonlinux-3.7.3.orig/debian/man/playonlinux-daemon.1 +++ playonlinux-3.7.3/debian/man/playonlinux-daemon.1 @@ -0,0 +1,28 @@ +.TH PLAYONLINUX-DAEMON 1 "February 6, 2009" + +.SH NAME +playonlinux-daemon \- daemon to handle disk insertion in PlayOnLinux + +.SH SYNOPSIS +.B playonlinux-daemon +.RI [ options ] + +.SH DESCRIPTION +.B playonlinux-daemon +is a daemon to handle disk insertion within PlayOnLinux. It still needs testing and may not work flawlessly. +.br +Users who want to handle autoruns with PlayOnLinux should launch this script at startup. + +.SH OPTIONS +.TP +.I "--version" + Show version number and exit. +.TP +.I "--kill" + Kill the daemon. + +.SH AUTHOR +playonlinux was written by Quentin Pâris . +.PP +This manual page was written by Bertrand Marc , +for the Debian project (but may be used by others). --- playonlinux-3.7.3.orig/debian/man/playonlinux.1 +++ playonlinux-3.7.3/debian/man/playonlinux.1 @@ -0,0 +1,33 @@ +.TH PLAYONLINUX 1 "February 6, 2009" + +.SH NAME +PlayOnLinux \- front-end for Wine + +.SH SYNOPSIS +.B playonlinux +.RI [ options ] + +.SH DESCRIPTION +.B PlayOnLinux +is a front-end for Wine. It allows you to easily install and use numerous games and softwares designed to run with Microsoft®'s Windows®. +.br +Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. +.P +.B PlayOnLinux +performs installations in +.I ~/.PlayOnLinux +and uses separate Wine prefixes to avoid conflicts between applications. + +.SH OPTIONS +.TP +.I --version + Show version number and exit. +.TP +.I "--run " + Run directly the specified program. + +.SH AUTHOR +playonlinux was written by Quentin Pâris . +.PP +This manual page was written by Bertrand Marc , +for the Debian project (but may be used by others). --- playonlinux-3.7.3.orig/debian/man/playonlinux-pkg.1 +++ playonlinux-3.7.3/debian/man/playonlinux-pkg.1 @@ -0,0 +1,33 @@ +.TH PLAYONLINUX-PKG 1 "February 6, 2009" + +.SH NAME +playonlinux-pkg \- tool to manage playonlinux packages + +.SH SYNOPSIS +.B playonlinux-pkg +.RI [ options ] +.RI [ package ] + +.SH DESCRIPTION +.B playonlinux-pkg +is a tool to install or manage the playonlinux packages + +.SH OPTIONS +.TP +.I "-b, --browse" + Choose a file. +.TP +.I "-e, --extract" + Extract the package. +.TP +.I "-i, --install" + Install the package. +.TP +.I "-h, --help" + Show usage. + +.SH AUTHOR +playonlinux was written by Quentin Pâris . +.PP +This manual page was written by Bertrand Marc , +for the Debian project (but may be used by others).