pax_global_header 0000666 0000000 0000000 00000000064 12260513361 0014511 g ustar 00root root 0000000 0000000 52 comment=37888932f86852ce032bf42b8188bd2595b1c402
playonlinux/ 0000775 0000000 0000000 00000000000 12260513361 0013437 5 ustar 00root root 0000000 0000000 playonlinux/CHANGELOG.md 0000664 0000000 0000000 00000074100 12260513361 0015252 0 ustar 00root root 0000000 0000000 # 4.2.2
* Changelog move from plaintext to Markdown syntax.
* read script lists in utf8 when looking up script to install (#2076)
* (experimental) new algorithm to find installed Python version,
implements fallback which is probably overkill (#2122)
* New version of PlayOnLinux Vault 4.0.4:
- Adding lzop compression if available (fast compression with medium
compression rate).
- Add a "Save" shortcut in PlayOnLinux side panel
* Fix double utf-8 decoding of shortcuts (#2125, #2289)
* Add POL_Shortcut_Configurator
* Modified POL_System_wget to keep error messages from wget
* Updated PNG icons with broken profiles, thanks to calvertyl
(http://www.playonlinux.com/en/topic-10442-New_Warning_Message_on_startup.html)
* wine-mono download support
* Fix POL_SetupWindow_message typo (not enough video memory message) (#2790)
* POL_LoadVar_Device: refacto POL_DetectVideoCards;
Let user choose when there's more than one known videocard present
* Add link to download page in side panel when version is not up-to-date (#2677)
Not sure it's visible enough, could be improved.
* Added logging to archivers wrappers (POL_System_unzip etc.)
* Update mono download URLs
* Updated IRC server address, freenode.com domain is gone
* Harden applications list parsing
* force LANG=C when spawning wineconsole (Wine bug #10063)
* fix typo in bash/manual_install
* Developer feature: allow to override function scripts
When global configuration ALLOW_FUNCTION_OVERRIDES is set to TRUE, function
scripts in $POL_USER_ROOT/configurations/function_overrides/ override function
scripts by the same name. This feature disables bug reporting.
* Fix website login when username contains spaces (#3573)
* "Run an .exe in this virtual disk" sets current directory to program's
directory (#1855)
* fix "wineserver not found" in interactive use of POL_Wine_Direct3D /
POL_Wine_X11Drv / POL_Wine_DirectSound / POL_Wine_DirectInput
* Remove use of os.system() from mainwindow.py and configure.py
(less overhead, less quoting nightmare)
* Add missing POL_Wine_AutoSetVersionEnv before wineserver calls
# 4.2.1
* When removing shortcuts or virtual drives from the Configure window,
make sure desktop icons, menu entries, etc. are also removed.
* fix Python's VersionLower (infinite source of bugs)
* Update © in about box LP: #1160801
* Fix a huge problem in bug reporting I introduced in 4.2... I thought
it tested it well, this is depressing. Without testers, without
users testing beta versions, it seems there's no way to get bugfree
releases.
* (experimental) enable display of beta scripts by default,
differenciate them in lists using a reddish background
# 4.2
* Huge icons download speedup by reusing a single HTTP connection
* Make sure debug mode is disabled when using playonlinux --run; Debug may still be used in playonlinux-bash though
* Make sure entered prefix name contains no space or slash during manual installations
* POL_System_wget: make sure the pipelined wget exitcode is not masked by grep's one
* POL_System_wget: interpret wget exitcodes
* genere_icone(): pick the right icon instead of Wine generic one (reported by Simon/excalibr on IRC) (#1815)
* (experimental) WINEDEBUG prefix setting, modify the amount of logging when debugging is enabled. I'm not sure of the right scope,
should it be per-shortcut, like the old "enable debugging" flag, or even global?
* POL_SetupWindow_shortcut_creator: use executable name as default shortcut name
* sort shortcuts case insensitively in main window so that lowercase doesn't end up at the bottom
* bug report: insert basic questions to answer in the bug report
* add "Report a problem" in shortcut-related actions in the side panel
* do not ask for confirmation to close PlayOnLinux if there's no program started
* do not suggest bug reporting if a script has been canceled by the user because a prefix already existed
* virtual drive removal should now overpass bad directory rights (caused by WMP9 for example) (#1732)
* POL_System_HomeSpaceLeft fix for df multiline output (#1890)
* added POL_System_UserRootSpaceLeft, in case ~/.PlayOnLinux is a symlink or a mount
* use POL_System_UserRootSpaceLeft in POL_System_EnoughSpace
* if exists, look for mounted devices in /media/$USER/ directory (Ubuntu Quantal, #1893)
* manual_install: don't call POL_Wine_PrefixCreate on patch installation
* irc: only warn about closing window when connected
* Debug log all user inputs (POL_SetupWindow_textbox, etc.)
* mainwindow.py: try to handle EINTR while reading from pol_update_list pipe (#1687)
* DeletePrefix: if root is actually a symlink, just delete the symlink
* gui_server.py: try to handle EINTR while accepting socket connections (#1687)
* Fix typo (#1932)
* POL_SetupWindow_download: accept a directory or a filename as 4th parameter
* POL_Download: accept URLs with "query strings", that get included in local filename
* (experimental) if missing, look for resources in winetricks cache before attempting download (#1963)
* Add POL_Wine_DelOverrideDLL, POL_Wine_DelAppOverrideDLL (#1989)
* POL_Wine_OverrideDLL and POL_Wine_AppOverrideDLL cleanups
* Support creation of desktop menu entries (#1943). POL_Shortcut needs
an extra parameter, categories, for the entry to be created. And
similarly to NO_DESKTOP_ICON setting, a NO_MENU_ICON can be set to
TRUE to prevent desktop menu entries from being created.
# 4.1.9
* POL_System_is32bit
* Improved package menu
* Added : POL_Download_GetSize, POL_System_HomeSpaceLeft
* Fixed bug : #1446
* POL_Wine_PrefixCreate(): wait for wineserver to finish instead of hardcoded 3s wait (#1486)
* Fix bug in POL_Download_GetSize when redirected
* Fix options parsing bug in POL_System_CheckFS
* Log when NO_FSCHECK TRUE has been used
* Tried to make it clearer that no-cd patches may be needed to get legal programs to work
* Handle prefix overwrite in POL_Wine_PrefixCreate (Overwrite/Erase/Abort)
* POL_Download_Resource(): fix for $3 and $4 mixed up (#1651)
* VersionLower: fix cases when 3rd component in version strings is missing ("1.4") or dot in development string ("1.4-dos_support_0.6")
* Fixes to lib.playonlinux.VersionLower()
* Set_Desktop: support Wine 1.5.16+ (#1710)
* Try to make the purpose of install filters more obvious (#1652)
# 4.1.8
* Wine issue fixed on OSX 10.8.2 and 10.7.5
* Make "missing package" messages a bit more explicit
* Fix typo in POL_Wine_OverrideDLL
* Don't log regedit parameter if not a file
* irc client: changed reg.sub() to not depend on flag parameter (Python 2.7+)
# 4.1.7
* Search bar
* Bug fix
* DONT_KILL_ON_EXIT setting
* additional debug messages in POL_Download and POL_Download_Resource
* additional debug messages in POL_Call
* Many stability and UI improvements
# 4.1.6
* Critical fixes
# 4.1.5
* POL_Debug_* cookie forgotten
* Bug in update process
# 4.1.4
* Timer: read modification date instead of listing directories (CPU usage)
* CheckGL command
* Bug 1076, quote disappear after configure menu fixed
* Clickable links on install window
* Better (and clearer) debug windows
* Small fix for OSX 10.8
* NEW: PlayOnLinux --run supports extensions!
* POL_Shortcut_Document : Researches
* New POL_SetupWindow_browse GUI
* POL_SetupWindow_browse supports filters
* Ask to redownload when failed
* Minor: bug 1053
* Hypertext link in IRC
* Some improvement in IRC
* PlayOnLinux user agent
* A new method to manage setup window (cleaner code)
* Added POL_SimpleAlert
* Exiting POL will kill all opened bash scripts
* Updating the GIT is possible from the GUI
* Several UIs improvements
* Added POL_Die(), POL_Restart(), POL_System_RegisterPID()
* Harden POL_Download, POL_Download_Resource, POL_System_wget, POL_System_CopyDirectory against errors (disk full?)
* Create hardened commands POL_System_unzip, POL_System_7z, POL_System_tar, POL_System_cabextract, POL_System_unrar
# 4.1.3
* Real time refreshing
* New install window
* 64x64 icons support
* 24bits icon support
* regedit alone does not log anything
* POL vault updated
* Grep : line buffered
* IRC client : make URLs clickable
# 4.1.2
* Debian package unified
* Bug #953 fixed
* Usage stats
* Speed up POL_LoadVar_device by twice on OSX
* Video card detections
* POL needs to be updated for bug reports
* Icon change
* wineserver not in path problem fixed (debian bug, but they won't fix it)
* Improved irc
* UTF-8 pb fixed
* Starting a new GUI
* Beta: Look native feature for OSX
# 4.1.1
Fixes to critial problem
* Removing optirun support which makes wine hang
* UTF8 problem with files association
# 4.1.0
* Proxy problems fixed
* Lot of improvements in configure window
* Wineversion autorefresh in configure menu
* PlayOnLinux checks dependances
* Optirun support
* Debug scripts are sent on the good bug tracker
* More clever debugging
* A (very nice) debbuger
* POL_SW_Check_cdrom supports multiple setup files
* Extension manager window
* WGETRC problem fixed
* PlayOnLinux can manage extensions
# 4.0.19
* Refresh button forces POL's update
* Fix utf8 problem in playonlinux path
* Debug error and fatal does no longer block bash when GUI is not initialized
* Local var problems
* POL_Lnk_Read to read .lnk files
* New screenshot system
* Bugfix
* Arch problem
* Pre run command should not be shown for prefixes
* Fix TRANSLATORS files, some names did not appear.
* Bugfix if wx is to lower
# 4.0.18
* Bug fix in AMD64 check_dd opengl
* Starting dosbox api
* POL_DosBox_InstallCDROM added
* POL_Debug_Init is quicker
* POL_Wine_InstallCDROM
* Progress bar for directory copy
* Support for Windows CD-ROM mounting on OSX
* Bug report disabled for unsigned scripts
* Ability to add commands before running a program
* Language issue problem fixed on OSX
* Bug 72 fixed
* POL_SetupWindow_licence does no longer crash when file is not found
* Bug 651 fixed
* Bugfix with wineprefixcreate
* Winemenubuilder only once
* Center text on linux
* Added PRE_WINE config
* Line return is now automatic
* 64bits prefix creation support
* Always create 32bits prefix with system's wine
* POL_Config_DosPrefix
* Updated sed binary for OSX
* Override user's ~/.wgetrc with $POL_USER_ROOT/configurations/wgetrc
* Fix "wineprefix" appearing in prefixes when scratching ~/.PlayOnLinux but not "virtual drives" symlink in home directory.
* Correctly log selected prefixes
# 4.0.17
* Manual install fix for existing 64bits prefixes
* Killing all processes
* Remove some /
* base64
* POL_SetupWindow_login adapted
* POL_System_wget
* Stderr wine changelog
* Useful aliases
* Bug 707 fixed
* First use is compulsory
* Bugfix
* Filesystem checks
* Bug 732 : text color
* Writting POL_WGET everywhere
* unset WINEARCH
* When installing a patched Wine, deploy Gecko for the non-patched version
* Report "patched Wine version" in prefix logs only when it's true
* POL_ExtractIcon, POL_ExtractBiggestIcon: can also extract icons from .ico files
* Removed dependency upon curl by posting to pastebin with wget (bug #670)
* New function POL_Shortcut_QuietDebug to suppress "crash" dialog for
programs when not in debug mode; Useful for programs that are known
not to exit cleanly with an exitcode = 0
* Scans for .exe only look for files
* Execute some of bash/startup synchronously (tmp cleanup among others)
# 4.0.16
* Removing Messenger from menu bar
* POL_Internal_KillAll
* Wine crashes does not wait for POL gui when
running an app
* Wine does not complains about winemenubuilder
* Fixed slow wine ! At last
* DESURA and ORIGIN support
* Gecko support by POL
* Reading error fixe
* Error when running a program if prefix does no longer exists
* WaitExit --allow-kill is an argument
* Internet connexion problem should not empty POL_functions
* PlayOnLinux slow down wine (bug appearead since
using tee to log wine. Does not exist in 4.0.15)
* A logfile is generated for each wineprefix
(If ever one day, wine developers want to read
them)
* Really, echo -e is better than printf
* POL/POM cleans tmp directory on startup
* Launchpad bug 947883 should be fixed
* Quote added in shortcuts
* run_exe is able to detect if we are in a POL
wineprefix
* Create a symbolic link in $HOME (Will not be
recreated if user choose to delete it)
* Title in IRC close confirm box
* wineprefixcreate should no longer exist!
POL needs to run it on OLD POL versions,
but should NOT run in on recent ones.
* Bugfix in requiredversion
* SelectPrefix make the directory
* Cleaning in wine.lib
* Wait_Next_Signal supports button
* Added debug messages
* Bug fix in lspci for some distro
* Debug lib in colors
* Send OpenGL states to logs
* XQuartz problems should be fixed on OSX
* Log when required version not satisfied
* Bug 676 fixed
* Bugfix in manual
* Bugfix in POL_Wine_WaitBefore
# 4.0.15
* sudo -k
* Run local script's script v4
* Translation problem
* GPG warning is now in gettext
* Confirmation needed to change a shortcut prefix
* Preferences menu fixed on OSX
* POL_Config_Read adapted to be usable in variable bash file (bugfix)
* POL_LoadVar_ScreenResolution
* Bug 225 fixed
* POL_Wine_WaitBefore
* Arch on prefix's icon
* POL_RequiredVersion, POL_AdvisedVersion
* Version comparison fixed
* Service pack bug fixed
* Title on dialog boxes
* OpenGL detection
* Removing Offline POL (no longer supported)
* rm "*" message removed (Don't worry, it was controled)
* POL_Shortcut(): Possibly to use path instead of executable
* POL_Shortcut_InsertBeforeWine: made sure the commands are not interpreted
before insertion. Even \n is no longer interpreted, to insert several lines,
call POL_Shortcut_InsertBeforeWine once per line.
* PlayOnMac is now compatible with Mac OS 10.8 : Mountain Lion (not tested, but it should work)
* PlayOnMac ask for a reboot after XQuartz is installed
* Accept to find into symlinks (Attempt to fix bug #609)
* Possibility to add arguments to a program
* POL will no longer run as root
* POL_Shortcut_Document to support manual
* Console prefix improved
* First part of bug #665 fixed
* Force playonlinux.cfg creation
# 4.0.14
* Slow DNS on IPV6 issue should be solved
* Higher timeout for slow DNS
* Register link send to the good website
* Wineversion windows remade
* Old wineversion support
* Change default size for main window
* POL Website detection, small fix
* Windows size and position saved
* ICON_SIZE setting added
* Python Detection
* Fixed AMD64 detection problem
* Fixed POL_Wine_OverrideDLL
* Fixed POL_Wine_wineboot
* Fixed POL_LoadVar_PROGRAMFILES
* Fixed bug 429 - Login to PlayOnLinux doesn't work
* Added POL_Wine_X11Drv (bug 543)
* Fixed IRC client
* Translation: Update of template & strings...
* Removing message.mo.
* Updating changelog. Victory \o/.
* Fixing bug report.
* Translation add a translator file.
* Added Plugin Vault (from Congelli501)
# 4.0.13
* Rebuild translation template and updating translation strings from Launchpad.
* Fixing bug #437.
* too_many_arguments_line fixed.
* Fixing bug #449.
* Fixing POL_GetSetupImages
* Cleaning.
* Fixing some bugs.
# 4.0.12
* Rebuilding translation template.
* Fixing problem with desktop icon.
* Adding screencapture plugin.
* Updating translation from launchpad.
* Cleaning.
* Disabling "sending a bug while running".
# from 4.0.9 to 4.0.11
* Rebuild of translation template.
* Fixing some bugs with translations strings.
* Cleaning.
* POL_Debug improved.
* Fixing POL_Wine_WaitExit function.
* Fix msfonts install.
# 4.0.8
* Support of pre and post-running scripts.
# from 4.0.4 to 4.0.7
* Various changes fixing the merge of PlayOnLinux and PlayOnMac into one program.
# 4.0.4
4.0.3 was skipped...
* Wineversion fix.
* POL_Functions fixed.
* Update of Capture.
* Variouses fixes.
# 4.0.2
* External shortcuts fixed.
# 4.0.1
* Bug fixed that preventing POL from running when a playonlinux 3 wineversion setting was remaining.
# 4.0
* Start V4 developement.
* Removing old files.
* Removing pol_cmd support.
# 3.8.13
* Fix POL_SetupWindow_check_cdrom
# 3.8.12
* Fixed bug #59 : No menu in Ubuntu
* Timeout changed to 2 seconds for update checking
* playonlinux-daemon removed
* ! removed in new_guiv3.py
# 3.8.11
* Rebuild translation template.
* Sync translation.
* Fix error message in WineVersion.
* Added url handler support
# 3.8.10
* Fix broken packages
# 3.8.9
* FIX: bug #93.
* Script authentification support
* Winetricks support in Manual Installation
# 3.8.8
* ADD: POL_Winetricks
* UPDATE: Template for translation, no sync with launchpad.
# 3.8.7
* UPDATE: Translation, sync with launchpad.
* UPDATE: Offline PlayOnLinux to 0.4
* FIX: bug #54. Change icon doesn't work properly.
* FIX: bug #61. Launcher didn't work on Ubuntu 10.04+.
* FIX: bug #85.
* FIX: bug #81.
* ADD: POL_Debug.
* ADD: GUI for help bug report creation.
* FIX: bug #88.
* UPDATE: Title variable defined automaticaly
# 3.8.6
* SYNC: Translation from launchpad
* FIX: A bug in bash/polconfigurator
* REBUILD: Template language.
* FIX: Update translation of script responsibility
* UPDATE: Detour to 0.5.
* UPDATE: AdvancedWineConfiguration to 3.6.1
# 3.8.5
* Change how the current version POL is send to the server.
* Fix bug #58. PlayOnLinux unable to start when an update is available.
# 3.8.4
* Fix a bug in auto_shortcut, arguments was inverted.
* Send version of POL when fetching a script.
# 3.8.3
* ADD: Plugin Detour
* UPDATE: Translation was updated, forgotten in 3.8.2.
# 3.8.2
* FIX: PlayOnLinux bug: #17. An error message was displayed during manual installation
* FIX: know bug in pol-cmd, pol-cmd was unable to create .PlayOnLinux repository
* FIX: Translation problems. Launchpad bugs: #629421, #629422, #629423, #629425. PlayOnLinux bugs: #36
* FIX: PlayOnLinux bug: #26, function POL_LoadVar_ProgramFiles didn't remove line char.
* UPDATE: Using convertVersionToInt to see if new version of POL is available, so the developement version does not say that a newer is available.
* UPDATE: Change all echo to $POL_SW_id by a cat / EOF. In other word write write all text message in one pass instead of line by line.
* UPDATE: Capture to 2.2.
* UPDATE: AdvancedWineConfiguration to 3.6.
* UPDATE/ADD: mainwindow show a message when: using a development version, no network, plugin offline pol used.
* ADD: Missing string in tranlation. String used by plugins.
* ADD: Set_WineWindowTitle. See POL bug: #23.
* ADD: New function for convert the string version to integer.
* ADD: playonlinux-cmd support search.
* ADD: playonlinux-cmd can list installed software.
* ADD: playonlinux-cmd can remove an already installed application.
* ADD: playonlinux-cmd now support all function POL_SW_* (guiv3) in shell mode.
* Full rebuild of translation template using xgettext. Python and Shell.
* Better use of the gettext function and string corrections for:
* python/wine_versions.py
* python/guiv3.py
* python/telecharger.py
* python/options.py
* python/mainwindow.py
* python/message_one.py
* bash/LiveInstall
* bash/autorun
* bash/daemon/autorun
* bash/uninstall
* bash/expert/Executer
* bash/expert/kill_wineserver
* bash/install_wver
* bash/killall
* bash/polconfigurator (always used?)
* bash/system_info
* bash/check_maj
* bash/check_maj_
* lib/applications
* lib/check_depend
* lib/interface_v3
* lib/main
* lib/wine
* lib/interface (+ cleaning)
* playonlinux-cmd
* playonlinux-pkg
* Plugins: Capture
* Removing some unused files plus cleaning some files.
* Update copyright header.
# 3.8.1
* UPDATE: Capture to 2.1.1.
* UPDATE: Translation update with launchpad on 2010-08-31 and 2010-09-02.
* UPDATE/FIX: function install_plugin rewrited to a more sure system.
* FIX: function POL_SW_auto_shortcut doesn't work properly with icons.
* FIX: bug #31.
* FIX: bug #30. Adding a sleep 0.2 for some functions.
* NEW: include template for translation.
* NEW: add playonlinux-cmd for manage POL by command line.
* NEW: playonlinux-cmd now support --update
* NEW: playonlinux-cmd now support --start-install
# 3.8
* Bug #22 POL_SetupWindow_Init checks if a windows is already opened. --force option can be used to force windows opening in that case
* Ukranian name is .uk, not .ua
* New variable : $POL_USER_ROOT ( = $REPERTOIRE )
* Defaults plugins : Offline PlayOnLinux, Advanced wine configuration, Transgaming Cedega, Wine Import, Wine Look, Capture
* New functions : POL_GetImages, POL_SetupWindow_InitWithImages
* PlayOnLinux detects if you are alreay on a PlayOnLinux terminal, and if yes, it refuses to run
* A bug corrected in sources loading
* Wine Import and Offline PlayOnLinux plugin corrected
* playonlinux-shell command added to run PlayOnLinux shell in your terminal !
* PlayOnLinux uses a git repository for the developement
* Some cleaning
* The program does not show acceleration 3D message error when mesa-utils is not installed
# 3.7.7
* Bug #4 corrected (wine version manager does not start)
* Bug #14 corrected (conflict with gtkrgba module)
* Bug #27 fully corrected (a more natural sort)
* Added POL_SetupWindow_auto_shortcut which will replace POL_SetupWindow_make_shortcut
* Added POL_SetupError function
* install.py is fully compatible with offline mode plugin
* Some bugs corrected in wine version management
# 3.7.6
* Multiple wineversion bug fixed
* Lucid Lynx Compatiblity
# 3.7.5
* Improvement on icon managing
* Manual installation now supports .msi files
* Highest rank category added in install menu
* Most downloaded category added in install menu
* Stars behavior improved in install menu
* Added a patch category in install menu
* Added a testing zone in install menu
# 3.7.3
* A function added to correct Program Files problem
* Icon are automaticaly extracted from exe files
* Other bugs corrected
# 3.7.2
* Few bugs corrected
# 3.7.1
* Added POL_Call to replace tricks lib
* New polish and german translation
# 3.7
* Right Click Menu
* Kill All Apps
* Possibility to change icon
* Possibility to open user directory
* playonlinux --debug option
# 3.6
* Various bug fixed
* Winetricks integration
# 3.5
* Icon changed
* pol.mulx.net becomes mulx.playonlinux.com
* English translation improved
# 3.4
* Changelog removed when a new version is installed
* Possibility to configure the prefix before manual install
* Repository is automaticaly updated when needed
* POL_SetupWindow_prefixcreate use POL_SetupWindow_normalprefixcreate to avoid bugs
* POL_SetupWindow_specificprefixcreate and POL_SetupWindow_oldprefixcreate are made
* Autorun is moved on tools menu
* Refresh the repository should no more be needed. Therefor, it has been removed from the toolbar
# 3.3.1
* An important bug corrected in wine version manager
* lzma is no more asked by check_depend
# 3.3
* Wine version manager changed
* lzma is no more requiered
# 3.2.2
* An important bug corrected. The configuration button was hidden
# 3.2.1
* A bug corrected in the game list
# 3.2
* PlayOnLinux's game configurator is remade.
* The scriptor has the possibility to make a configurator for each script in ~/.PlayOnLinux/configurations/configurators/script_name
* The irc chat is removed
* GLSL bug corrected
# 3.1.3
* Added the possibility to disable PlayOnLinux messenger (also called IRC chat)
* An important bug fixed in the install menu with the latest version of Ubuntu Intrepid (The window freezed)
* The miniatures of the applications are no more downloaded during the repository refreshing process but directly in the install menu.
* A bug corrected in PlayOnLinux Setup Window : the top image position is now calculated according to its width
# 3.1.2
* PlayOnLinux install menu is faster
* Low connection can read the descriptions
# 3.1.1
* Description box in install menu has become an html box. Now, it's possible to underline or bold words in the description of a game.
* Descriptions are downloaded when the user clic on the name of the game, and no more when PlayOnLinux repositories are refreshed.
* Users can edit the description of a game on the website when they send a script.
* PlayOnLinux repositories refreshing has become faster
* A bug corrected in folders like "Applications Data". Now, it has the same name for every languages do avoid problems.
# 3.1
* Added playonlinux-daemon which run automatically you cd-rom setup's when it finds an autorun file.
* Proxy support corrected
* Changelog shown after upgrading
* Program Files different name corrected, the folder is automatically called "Program Files" instead of "Programmi" for example
* An important bug corrected in wine version.
* Added stars in install menu
# 3.0.8
* Added POL_SetupWindow_checkbox_list
* Translations improved
* IRC client improved (Multi channel support with a combobox)
# 3.0.2 to 3.0.6
* A lot of improvements in the IRC client
* Bug fixed in microsoft fonts
* Added POL_SetupWindow_pulsebar, pulse and settext
# 3.0.1
* A bug corrected in 3.0
* 4 New functions : Set_SoundSampleRate, Set_SoundBitsPerSample, Set_SoundHardwareAcceleration, Set_SoundEmulDriver
# 3.0
* POL_SetupWindow support (a setup box for scriptors)
* New GUIs
* POL is is .po files
* New wine version support GUI
* Minor corrections in IRC
* A lot of new fonction
* Use_WineVersion function
# 2.7.2
* message_one function added (Scriptors can add a box "No more alert me")
* Tools menu improved : wine tools are no more accessible for non-wine shortcuts
* wineversion fixed
* irc improved
* manque() function added after check_depend
* new dependance : lzma for wineversion
# 2.7.1
* Bug fixed in Ubuntu deb packages
# 2.7
* Color in IRC chat
* Plugin manager made
* Dosbox becomes a plugin
* PlayOnLinux show a warning if it is lanched at root
* Icons added for wait, download and upgrade available
* Lot of bugs in translation fixed
* Changelog updated
# 2.6.1
* A security problem corrected
* A bug fixed
# 2.6
* A lot of improvement in IRC chat
* An Option GUI
* A lot of settings added
# 2.5
* IRC Chat integrated
* Lynx dependances does exists any more
* Install menu bug fixed
# 2.3
* New install menu
* Lot of bugs fixed
# 2.2.1
* French sentance translated
* Languages files corrected
* New dependance : cabextract
* Fonts installation problem corrected
# 2.2
* New menu more user friendly
* Autorun automated installer
* Community and workonlinux doesn't exists anymore
* Ask_For_cdrom improved
* Fixed bugs in package manager
* Lot of translations
* Lot of commands translated in english
# 2.1
* Dialog are pretty more comprehensible
* Langage panels corrected
* All the file in the same languages
* About window translated
* Hungarian translation
* .pol package manager
* A new logo
* LiveInstall is called "Manual installation"
* Bug corrected in icons installation
* Wine GIT in wineversion menu
# 2.0.10
* Wineversion bug fix
* WinGit bug fix
# 2.0.9
* creer_prefixe runs fonts-to-prefix
* Microsoft fonts problem solved
* Some french message are translated
# 2.0.7
* Russian translation
* Polish translation
* Italian correction
* --run refixed
# 2.0.6
* Italian translation
* --run problem solved
* English corrected
# 2.0.5
* Wine Look added
* Expert menu is "Tools"
* New function : browser and OpenWineLookBox
* Functions translation (erreur > error, etc...)
# 2.0.4
* Fix LiveInstall
* German translation
* Improvements in french languages files
* Two more function : Set_Desktop and Set_Iexplore
# 2.0.3
* Added dosbox support
* Check_cdrom ask for a new mount point instead of canceling the installation when the cdrom is not in the drive
# 2.0.2
* Wine GIT added
* Wine Booster 2 Added
# 2.0.1
* Downloading plugin improved (Start automatically to download is possible)
* Python 2.4 and by the way, debian compatibility
* Check if PlayOnLinux is running at startup
# 2.0
* All the GUI is remade with wx-python
* Scripts are more configurable (Cf PlayOnLinux doc)
* Improved prefix support
* Prefix are detected
* PlayOnLinux is more user-friendly
* Kill wineserver process in expert menu
* DirectX in one downloading
* tahoma fonts support
* All the window remade with wx python
* Zenity, kdialog, xdialog and dialog are no more used
* winemaster and winebooster are temporarely unavailable
* Possibility to run several programs in the same time
* Added Set_WineVersion_Assign and Set_WineVersion_Session
* New download plugin
* Possibility to delete shortcut without deleting the prefix
* "About" window
* Licence : GPL-v3
* One menu for all the games (Valable pour le menu expert)
* Different script repository from 1.8
* attendre_multiple does work any more
# 1.8
* PlayOnLinux menu in gnome
* WorkOnLinux support
* Big differences in scripts downloading : playonlinux do not download all thescripts available.
* Add check_pol_update and check_network
* Polshell added
* Old version are not more supported
# 1.7.4
* Third website adress. Moving to playonlinux.com
* Some bug fixed
# 1.7.2
* Lot of bugs fixed
* PolScriptCreator added
* LiveInstall added
* GLX tests remade
* Some commands for translators
* creer_lanceur and creer_lanceur_expansion are the same
# 1.7.1
* Add directx in the expert menu
* Add information menu in options
* WineMaster added
# 1.7
* Options menu added
* Tests added
* New adress for the website
* French and english are available
* Official and community repository
* Microsoft fonts support
* Update question is not at running but a installation
* Kdialog (QT) or zenity (GTK) choice is available
* Lot of bug fixed
# 1.6.3
* Added wineversion tools. It permits you to run differents wine version in
PlayOnLinux
* Bug corrected in add-on menu
# 1.6.2
* The script can make a shortcut in your desktop for you
* Menus are reorganized
* Expert menu added
* "BaseDeRegistre", "WineConfig", "WineBooster", "UpdatePrefixe"
and "Executer" tools are added
* Possibilites to run non-official scripts
# 1.6
* Added KDE support with Kdialog
# 1.5
* Add-On support
# 1.4
* More commands like "simuler_reboot" in libraries
* wine lib added
# 1.2
* PlayOnLinux lib are made for scriptors.
* PlayOnLinux is ready to work on KDE with kdialog
# 1.1
* "Play" menu added
* The shortcut are not more in ~/bin
# 1.0
* Zenity integration
# 0.8
* The script is working since first execution
* No more need to exec it twice
* Lot of bug fixed
# 0.7
* .deb and .tar.gz available
* PlayOnLinux ask at startup if the user want to upgrade
# 0.6
* Lot of bugs in install menu and update fixed
# 0.5
* Added patch support
* PlayOnLinux check that dialog is installed before executing
# 0.4
* Add uninstall menu
* Bug fixed in install menu
# 0.3
* Using dialog GUI
* Lot of bugs fixed
# 0.2
* Dependances detection at execution
* Fix a bug on script execution
# 0.1
* First version of PlayOnLinux.
* Upgrades available from the website.
* No GUI, all in a shell
playonlinux/LICENCE 0000664 0000000 0000000 00000104513 12260513361 0014430 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
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, either version 3 of the License, or
(at your option) any later version.
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, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
playonlinux/TRANSLATORS 0000664 0000000 0000000 00000022721 12260513361 0015202 0 ustar 00root root 0000000 0000000 We would like to thanks the following translators:
Xavier Besnard
--- generated from launchpad.net ---
65GYgzf from https://launchpad.net/~65gygzf
@l3x1k0 from https://launchpad.net/~djkora3
Adam Czabara from https://launchpad.net/~adam-czabara
Adam Maćkowiak from https://launchpad.net/~admc
Ade Malsasa Akbar from https://launchpad.net/~rockmania52
Adi Roiban from https://launchpad.net/~adiroiban
Adolfo Jayme from https://launchpad.net/~fitoschido
Aiguanachein from https://launchpad.net/~aiguanachein
Akira Nakagawa from https://launchpad.net/~matyapiro31
Alejandro Pérez from https://launchpad.net/~alexperezalonso
Aleksi Kinnunen from https://launchpad.net/~aleksi-kinnunen
Alex Toorchyn from https://launchpad.net/~ilex
AlexEriksson from https://launchpad.net/~l6unchpad-net
Alfred Løvgren from https://launchpad.net/~norsk-norman1
Alfredo Hernández from https://launchpad.net/~aldomann
Ali Isingor from https://launchpad.net/~isingor
Almin Islamović from https://launchpad.net/~almin-islamovic
Andi Chandler from https://launchpad.net/~bing
André Gondim from https://launchpad.net/~andregondim
Aniruddha Adhikary from https://launchpad.net/~tuxboy
Anthony Harrington from https://launchpad.net/~untaintableangel
Anton Shestakov from https://launchpad.net/~engored
Antonio Vázquez Blanco from https://launchpad.net/~antoniovazquezblanco
Aymeric PETIT from https://launchpad.net/~mulx
BalintX from https://launchpad.net/~koczkahun
Bill from https://launchpad.net/~cges30901
Bruno Veilleux from https://launchpad.net/~le-gros-rat
Burys from https://launchpad.net/~radek-bury
Camille PÂRIS from https://launchpad.net/~camilleparisfr
Carlos Eduardo Alves from https://launchpad.net/~kmiksi
Carnalbeast from https://launchpad.net/~carnalbeast
Chris Thornett from https://launchpad.net/~cthornett
Christian Titze from https://launchpad.net/~christitze
Christiansen from https://launchpad.net/~happylinux
Colix from https://launchpad.net/~greenice
Cuneyt Oktay from https://launchpad.net/~cuneytoktay
Cédric VALMARY (Tot en òc) from https://launchpad.net/~cvalmary
Daniel Bernal Dotú from https://launchpad.net/~dbernal87
Dennis Baudys from https://launchpad.net/~thecondordb
Diego Garcia from https://launchpad.net/~diegogarciamendoza
Dirgita from https://launchpad.net/~dirgita
Dmitriy Koshel from https://launchpad.net/~gaim4a
Dylandy from https://launchpad.net/~steven80919
Einar Svensen from https://launchpad.net/~support-coman
Emmanouel Kapernaros from https://launchpad.net/~kapcom01
Esben Aaberg from https://launchpad.net/~esben-aaberg
Ettore Atalan from https://launchpad.net/~atalanttore
Fabiano Leite from https://launchpad.net/~fabiano-marechal
Francesco Placco from https://launchpad.net/~frapla
Gal_Escriban from https://launchpad.net/~delio444
Georg Engelmann from https://launchpad.net/~georg-engelmann
Gergely Szarka from https://launchpad.net/~gszarka
Giedrius Baronas from https://launchpad.net/~g-baronas
Henrique Bittancourt Gouveia from https://launchpad.net/~gafanhotto
Herbert Kunkel from https://launchpad.net/~diablogeiger
Horia Duțescu from https://launchpad.net/~hvd-deactivatedaccount-deactivatedaccount
Igor Seryogin from https://launchpad.net/~igor.seryogin
Igor Zinovyev from https://launchpad.net/~zinigor
Ilja Lobanov from https://launchpad.net/~lisiano256
Ismael Ferreras from https://launchpad.net/~swyterzone
Jakob Kramer from https://launchpad.net/~jakobk
Jamie Quinlan from https://launchpad.net/~jaymeskeller
Jerszy from https://launchpad.net/~rayman-1996
Johannes Huber from https://launchpad.net/~huber-johannes
Johnsonas from https://launchpad.net/~uran54
Jonatan Zeidler from https://launchpad.net/~jonius
Jonathan Hepp from https://launchpad.net/~jonathan-hepp
Juno from https://launchpad.net/~feen
Karim Oulad Chalha from https://launchpad.net/~herr-linux
Kenan Dervišević from https://launchpad.net/~kenan3008
Kobzeci from https://launchpad.net/~zeki
Konki from https://launchpad.net/~pavel-konkol
Kęstutis Triponis from https://launchpad.net/~kestutis.triponis
Leandro Fonseca from https://launchpad.net/~leandro-456
Mangraviti from https://launchpad.net/~vitormangraviti
Mantas Kriaučiūnas from https://launchpad.net/~mantas
Mantas Tumas from https://launchpad.net/~ozarux
Martín V. from https://launchpad.net/~martinvukovic
Mat3910 from https://launchpad.net/~gaillard-mathieu-39
Matej Urbančič from https://launchpad.net/~mateju
Max_ym from https://launchpad.net/~kontact-cat
Michal Lelek from https://launchpad.net/~kozodoj
Miguel Anxo Bouzada from https://launchpad.net/~mbouzada
Mihkel Tõnnov from https://launchpad.net/~v6lur
Mikael Hiort af Ornäs from https://launchpad.net/~lakritslemmel
Miroslav Remák from https://launchpad.net/~miroslavr256
Moki Ding from https://launchpad.net/~moki-forum
Monkey from https://launchpad.net/~monkey-libre
Muhammad Radifar from https://launchpad.net/~m-radifar05
Nacho Perea from https://launchpad.net/~nacho.perea
Naive D. Jack from https://launchpad.net/~naivejack
Nick Andrik from https://launchpad.net/~andrikos
Nicolae Crefelean from https://launchpad.net/~kneekoo
Niv Coheny from https://launchpad.net/~niv
Oleg Koptev from https://launchpad.net/~koptev-oleg
Oscar Espuña from https://launchpad.net/~oscar-espuna
Osman Tosun from https://launchpad.net/~rainman-neu
PERRUSSEL Valentin from https://launchpad.net/~blondvador-esl
Papp Bence from https://launchpad.net/~sclegnrbs
Patryk Rajba from https://launchpad.net/~pacjonek
Paweł from https://launchpad.net/~click1992
PedroDH from https://launchpad.net/~pedro-n-veloso
Petr R. from https://launchpad.net/~ateps-r
Pierre Etchemaite from https://launchpad.net/~petchema
Pietro Acinapura from https://launchpad.net/~pietro-ac
Praveen Illa from https://launchpad.net/~telugulinux
Prescott_SK from https://launchpad.net/~prescott66
Ptitphysik from https://launchpad.net/~amalpeyre
Quentin PÂRIS from https://launchpad.net/~qparis
Rasmus Christian Christensen from https://launchpad.net/~rasmuschr1973
Richard Somlói from https://launchpad.net/~ricsipontaz
Richard Sparrow from https://launchpad.net/~richard-sparrow
Roberto Marson from https://launchpad.net/~robs87
Rokhmat Sudiana Bakhtiar from https://launchpad.net/~spaceterz
Ronaldo Luiz Pedroso from https://launchpad.net/~ronaldo-luiz-pedroso
S.Victor from https://launchpad.net/~thadd
Santiago Fraire from https://launchpad.net/~santiwilly
Satrya Pratama from https://launchpad.net/~airshipster
Sigitas Kalinas from https://launchpad.net/~skalinas
Simen from https://launchpad.net/~simen-burud
Stuartlittle1970@gmail.com from https://launchpad.net/~stuartlittle1970
Svetoslav Stefanov from https://launchpad.net/~svetlisashkov
Szymon 'simpo' Porwolik from https://launchpad.net/~szporwolik
Tadeáš Pařík from https://launchpad.net/~pariktadeas
Tanel Mae from https://launchpad.net/~tuxest
Teromene from https://launchpad.net/~teromene
Thambaru Wijesekara from https://launchpad.net/~thambaru
Tiago Hillebrandt from https://launchpad.net/~tiagohillebrandt
Tiago S. from https://launchpad.net/~tiagosdot
Tian Jing from https://launchpad.net/~oppop007
Tobias Bannert from https://launchpad.net/~toba
Tranciur from https://launchpad.net/~damjan-cvetko
Tuomas Lähteenmäki from https://launchpad.net/~lahtis
UaHummer from https://launchpad.net/~uahummer
Vatin from https://launchpad.net/~vatin-p
Vlad Golubev from https://launchpad.net/~golubev-vld
Vítor Avelino from https://launchpad.net/~vitoravelino
Wei Hsiang Hung from https://launchpad.net/~koalahong
Wylmer Wang from https://launchpad.net/~wantinghard
Xuacu Saturio from https://launchpad.net/~xuacusk8
Yaron from https://launchpad.net/~sh-yaron
Yiğit Anıl from https://launchpad.net/~yigitan
Zeidler from https://launchpad.net/~jonatan-zeidler
Zhaofeng Li from https://launchpad.net/~li-zhao-feng
abdXelrhman from https://launchpad.net/~popo49-abdo
abuyop from https://launchpad.net/~abuyop
angelescu from https://launchpad.net/~titus0818
bouchard renaud from https://launchpad.net/~renaud-bouchard
bram from https://launchpad.net/~bram-w
dos santos raphael from https://launchpad.net/~dossant-raphael
emp from https://launchpad.net/~emp500
fragarch from https://launchpad.net/~fragarch
gerva from https://launchpad.net/~iosonogerva
gogo from https://launchpad.net/~trebelnik-stefina
havoc from https://launchpad.net/~taproot97
jordicoma from https://launchpad.net/~jordicoma22
kayalemao from https://launchpad.net/~kayalemao
linuxseven from https://launchpad.net/~linuxseven
lisovszki from https://launchpad.net/~lisovszki
luisah from https://launchpad.net/~luisah
lyyser from https://launchpad.net/~lyyser
martinamca from https://launchpad.net/~martinamca
minchul lee from https://launchpad.net/~minchulmando
peregrine from https://launchpad.net/~andrej1741
raymond from https://launchpad.net/~raymondv
rm from https://launchpad.net/~r-m333-deactivatedaccount
rob from https://launchpad.net/~rvdb
robas from https://launchpad.net/~v-grobas
robin.rootad@gmail.com from https://launchpad.net/~robin-rootad
slmb from https://launchpad.net/~fqa101
someone from https://launchpad.net/~somehow
stephane from https://launchpad.net/~georget-stephane
student4 from https://launchpad.net/~iputnik-msn
zaenal arifin from https://launchpad.net/~www-pilihankedua
zs.dani1@gmail.com from https://launchpad.net/~zs-dani1
zvacet from https://launchpad.net/~ivicakolic
Şâkir Aşçı from https://launchpad.net/~sakirasci
Ђорђе Васиљевић from https://launchpad.net/~susexe
Радослав Иванов from https://launchpad.net/~reckku
Саша Петровић from https://launchpad.net/~salepetronije
赵驰 from https://launchpad.net/~teddyherry
playonlinux/bash/ 0000775 0000000 0000000 00000000000 12260513361 0014354 5 ustar 00root root 0000000 0000000 playonlinux/bash/POL_Command 0000775 0000000 0000000 00000002622 12260513361 0016374 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2008 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Permet d'ouvrir une fonction POL depuis un script Python
# Usage POL_Command [Raccourcis] [Commande]
# Example POL_Command "Internet Explorer 6" Set_OS winxp
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
[ "$1" == "--init" ] && INIT="TRUE" && shift
[ "$INIT" = "TRUE" ] && POL_SetupWindow_Init
if [ "$1" = "--prefix" ]
then
shift
export PREFIXNAME="$1"
export WINEPREFIX="$REPERTOIRE/wineprefix/$1"
else
export WINEPREFIX="$(detect_wineprefix "$1")"
fi
export TITLE="$1"
shift
#[ "$WINEVERSION" = "" ] || Use_WineVersion $WINEVERSION
"$@"
if [ "$INIT" = "TRUE" ]
then
POL_SetupWindow_Close
fi
exit playonlinux/bash/bash_wrapper 0000775 0000000 0000000 00000001610 12260513361 0016755 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_Debug_Message "Wrapping "$@""
"$@"
playonlinux/bash/bug_report 0000775 0000000 0000000 00000010673 12260513361 0016461 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007-2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# PlayOnLinux bug report script
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
[ "$POL_OS" == "Linux" ] && TRACKER="1"
[ "$POL_OS" == "Mac" ] && TRACKER="4"
# $1 = Nom de l'application
#export TITLE="$1"
export POL_SCRIPT_FAILED="NO" # Sinon on va tourner en rond
POL_DEBUG_TITLE="$(eval_gettext "Report a bug")"
export TITLE="$POL_DEBUG_TITLE"
POL_SetupWindow_Init
POL_SetupWindow_free_presentation "$POL_DEBUG_TITLE" "$(eval_gettext "This wizard will help you to report a bug about an officially supported program.")\n\n$(eval_gettext "Please give the more details as you can, otherwise, it will be very difficult to help you")"
if [ "$POL_UPTODATE" = "FALSE" ];
then
POL_SetupWindow_message "$(eval_gettext 'Your $APPLICATION_TITLE version is not up to date.\nYou must update $APPLICATION_TITLE before sending a bug report.\nThank you')" "$TITLE"
POL_SetupWindow_Close
exit 0
fi
if [ "$LOGTITLE" = "" ]
then
POL_SetupWindow_menu_num "$(eval_gettext "What kind of problem do you have?")" "$POL_DEBUG_TITLE" "$(eval_gettext 'My problem concerns $APPLICATION_TITLE itself')~$(eval_gettext "I have a problem with a software")" "~"
PROBLEM_TYPE="$APP_ANSWER"
if [ "$PROBLEM_TYPE" = "1" ]
then
LNG_NO_JOIN="$(eval_gettext "Don't join any log file")"
LIST="$LNG_NO_JOIN"
cd "$POL_USER_ROOT/logs"
LNG_MANUAL="$(eval_gettext 'Manual installation')"
LNG_AUTOMATIC="$(eval_gettext 'Automatic installation')"
for file in *
do
case "$file" in
"$LNG_MANUAL"*|"Automatic installation"|"$LNG_AUTOMATIC"*)
;;
*)
LIST="$LIST~$file"
;;
esac
done
POL_SetupWindow_menu "$(eval_gettext "Choose the log file corresponding to your software.")" "$POL_DEBUG_TITLE" "$LIST" "~"
[ "$APP_ANSWER" = "$LNG_NO_JOIN" ] || LOGTITLE="$APP_ANSWER"
fi
fi
POL_SetupWindow_textbox "$(eval_gettext "Please give a very short description (title, english only)")" "$POL_DEBUG_TITLE"
BUGTITLE="$APP_ANSWER"
TEMPLATE="- What were you doing when the problem occurred?
- What did you expect?
- What happened instead?
- Anything else to report?
"
POL_SetupWindow_textbox_multiline "$(eval_gettext "Please explain your problem clearly (english only):")" "$POL_DEBUG_TITLE" "$TEMPLATE"
if [ -z "$BUGTITLE" -o -z "$APP_ANSWER" -o "$APP_ANSWER" = "$TEMPLATE" ]
then
POL_SetupWindow_message "$(eval_gettext 'Sorry, we need a detailed description.')" "$TITLE"
POL_SetupWindow_Close
fi
DESCRIPTION="$APP_ANSWER"
POL_Website_login
POL_Website_Init
DESCRIPTION="$DESCRIPTION"
BUGTITLE="$BUGTITLE"
SCRIPTTITLE="$LOGTITLE"
POL_Website_Request "http://www.playonlinux.com/bugs/getScriptTrackerName.php?id=$SCRIPTTITLE"
TrackerId="$(POL_Website_Result)"
if [ "$TrackerId" = "0" ]; then
POL_SetupWindow_message "Error! This script seems to be no longer existing in our database" "$TITLE"
else
#POL_Website_Request "http://bugs.playonlinux.com/en/new-$TRACKER.html" "priority=2&tracker=$TrackerId&title=$BUGTITLE&message=$DESCRIPTION&submit=Send&just_return_id=1"
if [ "$LOGTITLE" = "" ]
then
POL_Website_curl "http://bugs.playonlinux.com/en/new-$TRACKER.html" -F priority=2 -F "tracker=$TrackerId" -F title="$BUGTITLE" -F message="$DESCRIPTION" -F submit=Send -F just_return_id=1
else
POL_Website_curl "http://bugs.playonlinux.com/en/new-$TRACKER.html" -F priority=2 -F "tracker=$TrackerId" -F title="$BUGTITLE" -F message="$DESCRIPTION" -F submit=Send -F just_return_id=1 -F bugfile="@$POL_USER_ROOT/logs/$LOGTITLE/$LOGTITLE.log"
fi
BugURL="$(POL_Website_Result)"
POL_Website_Close
POL_Website_logout
POL_SetupWindow_message "$(eval_gettext "Thank you !\n\nYour report has been sent.\n\nWe will do our best to send you an answer by mail very soon")" "$TITLE"
POL_Open "$BugURL"
fi
POL_SetupWindow_Close
playonlinux/bash/check_fs 0000775 0000000 0000000 00000002105 12260513361 0016045 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# This is the startup script
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
[ "$POL_OS" = "Mac" ] && exit 0
# This script tests filesystem
POL_System_CheckFS --just-warning "$POL_USER_ROOT"
returncode="$?"
POL_Debug_Message "Filesystem is compatible"
exit "$returncode"
playonlinux/bash/check_gl 0000775 0000000 0000000 00000003430 12260513361 0016041 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# This is the startup script
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
[ "$POL_OS" = "Mac" ] && exit 0
# This script tests OpenGL libs
# Usage :
# check_gl [arch]
# Arch = (x86 | amd64)
[ "$2" = "stdout" ] && cmd="$echo" || cmd="POL_Debug_Message"
[ "$2" = "stdout" ] && cmdW="$echo" || cmdW="POL_Debug_Warning"
Check_OpenGL()
{
if [ -e "$PLAYONLINUX/bin/check_dd_$1.bz2" ]
then
mkdir -p "$POL_USER_ROOT/tmp"
cp "$PLAYONLINUX/bin/check_dd_$1.bz2" "$POL_USER_ROOT/tmp/"
bunzip2 "$POL_USER_ROOT/tmp/check_dd_$1.bz2" 2> /dev/null
chmod +x "$POL_USER_ROOT/tmp/check_dd_$1"
message="$("$POL_USER_ROOT/tmp/check_dd_$1")"
out="$?"
if [ "$out" = "0" ]
then
$cmd "$message"
exit 0
else
$cmdW "$message"
exit 2
fi
else
exit 0
fi
}
cd /tmp
if [ "$1" = "x86" ]
then
archtype="elf_i386"
archstring="32 bits"
Check_OpenGL "$1"
fi
if [ "$1" = "amd64" -a "$AMD64_COMPATIBLE" = "True" ]
then
archtype="elf_x86_64"
archstring="64 bits"
Check_OpenGL "$1"
fi
playonlinux/bash/create_prefix 0000775 0000000 0000000 00000004613 12260513361 0017126 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# PlayOnLinux / PlayOnMac 4 manual installation
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
TITLE="$(eval_gettext 'Virtual drive creator')"
POL_SetupWindow_Init
POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'Welcome to $APPLICATION_TITLE virtual drive creator.\n\nThis tool will help you to make a new virtual drive')"
if [ "$AMD64_COMPATIBLE" = "True" ]; then
POL_SetupWindow_menu_num "$(eval_gettext 'What kind of virtual drive do you want to create')" "$TITLE" "32 bits windows installation~64 bits windows installation" "~"
arch="$APP_ANSWER"
else
arch="0"
fi
if [ "$arch" = "1" ]; then
POL_System_SetArch "amd64"
WINEVERSIONLIST=""
else
POL_System_SetArch "x86"
WINEVERSIONLIST="System"
fi
WINEVERSIONDIRLIST=$(find "$REPERTOIRE/wine/$OS_NAME-$POL_ARCH/"* -maxdepth 0 -type d)
for single in $WINEVERSIONDIRLIST ; do
singleparsed=${single##*/}
if [ "$WINEVERSIONLIST" = "" ]; then
WINEVERSIONLIST="$singleparsed"
else
WINEVERSIONLIST="$WINEVERSIONLIST~$singleparsed"
fi
done
POL_SetupWindow_menu "$(eval_gettext "Which version of Wine would you like to use?")\n$(eval_gettext "(If this list is empty, please install a wine version with wine version manager)")" "$TITLE" "$WINEVERSIONLIST" "~"
WINEVERSIONLIVE="$APP_ANSWER"
if [ "$WINEVERSIONLIVE" = "System" ]; then
WINEVERSIONLIVE=""
else
export POL_WINEVERSION="$WINEVERSIONLIVE"
fi
POL_SetupWindow_textbox "$(eval_gettext 'Choose the name of the virtual drive')" "$TITLE"
PREFIX_NAME=`echo -n "$APP_ANSWER"| tr -c [[a-zA-Z0-9]\.] '_'`
POL_Wine_SelectPrefix "$PREFIX_NAME"
POL_Wine_PrefixCreate
POL_SetupWindow_Close
exit 0 playonlinux/bash/document_reader 0000775 0000000 0000000 00000002534 12260513361 0017446 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
WorkingDirectory="$PWD"
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
app="$1"
doc="$2"
if [ ! -e "$POL_USER_ROOT/shortcuts/$app" ]; then
POL_SimpleMessage "$1 is not installed."
echo "$1 is not installed."
exit
fi
if [ "$2" ]; then
POL_Debug_Message "App to run: $app"
POL_Debug_Message "File to run: $doc"
if [ "${doc::1}" != "/" ]; then
doc="$WorkingDirectory/$doc"
fi
pref="$(POL_Shortcut_GetPrefix "$app")"
POL_Wine_SelectPrefix "$pref"
realpath="$(POL_Wine winepath -w "$doc")"
fi
bash "$POL_USER_ROOT/shortcuts/$app" "$realpath"
playonlinux/bash/expert/ 0000775 0000000 0000000 00000000000 12260513361 0015663 5 ustar 00root root 0000000 0000000 playonlinux/bash/expert/Executer 0000775 0000000 0000000 00000003102 12260513361 0017371 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export TITLE="$(eval_gettext "Run a local script")"
cd $HOME
POL_SetupWindow_Init # "$PLAYONLINUX/etc/setups/exec/top.png" "$PLAYONLINUX/etc/setups/exec/left.jpg"
POL_SetupWindow_free_presentation "$(eval_gettext "Run a local script")" "$(eval_gettext 'This wizard will help you to run an unofficial $APPLICATION_TITLE Script.')"
POL_SetupWindow_browse "$(eval_gettext 'Choose a valid $APPLICATION_TITLE script to run.')" "$(eval_gettext "Run a local script")" ""
SCRIPT="$APP_ANSWER"
if [ "$?" = "1" ]
then
POL_SetupWindow_Close
exit
fi
if [ ! -e "$SCRIPT" ]
then
POL_SetupWindow_message "$(eval_gettext "File not found!")" "$(eval_gettext "Error!")"
POL_SetupWindow_Close
exit
fi
POL_SetupWindow_Close
POL_Bash "$SCRIPT"
exit 0
playonlinux/bash/expert/PolShell 0000775 0000000 0000000 00000001733 12260513361 0017337 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
[ "$DEBIAN_PACKAGE" = "FALSE" ] && TITLEADD="-T $APPLICATION_TITLE"
"$POL_TERM" $TITLEADD -e "$PLAYONLINUX/bash/polshell"
playonlinux/bash/find_python 0000664 0000000 0000000 00000002254 12260513361 0016623 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Python versions
search_python () {
while [ "$POL_PYTHON" != "none" ]; do
if [ "$POL_PYTHON" ]; then
echo -n "Looking for $POL_PYTHON... " 1>&2
if [ "$(which $POL_PYTHON)" ]; then
local Version=$($POL_PYTHON --version 2>&1 |sed -e 's/^Python //')
echo -n "$Version - " 1>&2
case "$Version" in
2.6.*|2.7.*)
echo "selected" 1>&2
return
;;
2.5.*)
# Compatibility broken a while ago
echo "skipped" 1>&2
;;
3.*)
# Not supported because of wxPython
echo "skipped" 1>&2
;;
*)
echo "unexpected version" 1>&2
;;
esac
else
echo "" 1>&2
fi
fi
# list of interpreter names to try, in order
next_python "python"
next_python "python2.7"
next_python "python2.6"
next_python "python2"
next_python "none"
done
}
next_python () {
if [ "$POL_PYTHON" = "$1" ]; then
# will pick the next one
POL_PYTHON=""
elif [ -z "$POL_PYTHON" ]; then
POL_PYTHON="$1"
fi
}
if [ -z "$POL_PYTHON" ]; then
search_python
if [ "$POL_PYTHON" = "none" ]; then
echo "Please install python before trying to run PlayOnLinux" 1>&2
exit 1
fi
fi
playonlinux/bash/first_use 0000775 0000000 0000000 00000022205 12260513361 0016306 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007-2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# This is the first use script
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export XQUARTZ_VERSION_LEO="2.7.1"
export XQUARTZ_VERSION="2.7.5"
install_fonts () # Install Microsoft Fonts
{
if [ ! -e "$REPERTOIRE/configurations/msfonts_installed" ]; then
WebVersion=$($POL_WGET $SITE/check.txt -O-)
if [ "$WebVersion" == "" ]; then
POL_SetupWindow_message "$(eval_gettext 'The PlayOnLinux website is unavailable.')$(eval_gettext "\nPlease make sure you are connected to the Internet.")" "$(eval_gettext 'Microsoft fonts')"
POL_SetupWindow_Close
return 1
else
POL_Call POL_Internal_InstallFonts || return 1
fi
fi
return 0
}
POL_Internal_XQuartz_Warning()
{
cat << EOF_X > "$REPERTOIRE/tmp/xquartz"
$(eval_gettext "Please read this carefully")
$(eval_gettext 'XQuartz $XQUARTZ_VERSION has been installed on your computer.')
$(eval_gettext "However, it won't be activated until you reboot your computer.")
$(eval_gettext 'Please reboot your computer now, and run PlayOnMac')
EOF_X
POL_SetupWindow_licence "$(eval_gettext "Pleaase read this carefully.")" "$STEP_TITLE" "$REPERTOIRE/tmp/xquartz"
POL_SetupWindow_Close
killall playonmac.real
touch /tmp/playonmac_needs_reboot
}
install_x11()
{
if [ "$OSX_VERSION" = "9" ]
then
XQuartzUrl="http://xquartz.macosforge.org/downloads/Leopard/X11-$XQUARTZ_VERSION_LEO.dmg"
FilePrefix="X11"
else
XQuartzUrl="http://xquartz.macosforge.org/downloads/SL/XQuartz-$XQUARTZ_VERSION.dmg"
FilePrefix="XQuartz"
fi
STEP_TITLE="XQuartz"
if [ "$OSX_VERSION" = "10" ]
then
XQuartz_Message="$(eval_gettext "To ensure that your games will be compatible, PlayOnMac must install XQuartz")"
else
XQuartz_Message="$(eval_gettext "PlayOnMac needs to install XQuartz to work")"
fi
POL_SetupWindow_menu_num "$XQuartz_Message" "$STEP_TITLE" "$(eval_gettext "Please download XQuartz for me")~$(eval_gettext "I've downloaded the file by myself") ($FilePrefix-$XQUARTZ_VERSION.dmg)~$(eval_gettext "Don't install XQuartz for the moment")" "~"
if [ "$APP_ANSWER" = "0" ]
then
POL_SetupWindow_download "$(eval_gettext "Downloading XQuartz")" "$STEP_TITLE" "$XQuartzUrl"
got_xquartz="true"
fi
if [ "$APP_ANSWER" = "1" ]
then
POL_SetupWindow_browse "$(eval_gettext "Where is") $FilePrefix-$XQUARTZ_VERSION.dmg ?" "$STEP_TITLE"
cd "$(dirname "$APP_ANSWER")"
got_xquartz="true"
fi
if [ "$got_xquartz" = "true" ]
then
POL_SetupWindow_wait_next_signal "$(eval_gettext "Installing XQuartz...")" "$STEP_TITLE"
open $FilePrefix-$XQUARTZ_VERSION.dmg
while [ ! -d "/Volumes/$FilePrefix-$XQUARTZ_VERSION" ]
do
sleep 1
done
/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer /Volumes/$FilePrefix-$XQUARTZ_VERSION/$FilePrefix.pkg
umount /Volumes/$FilePrefix-$XQUARTZ_VERSION
POL_Internal_RunXQuartz
if [ ! "FORCE_X11_Reinstall" = "True" ]; then
POL_Internal_XQuartz_Warning
fi
POL_SetupWindow_message "$(eval_gettext "XQuartz has been installed.")" "$STEP_TITLE"
fi
if [ ! -e "/Applications/Utilities/XQuartz.app" ] && [ ! "$OSX_VERSION" = "11" ]
then
POL_SetupWindow_message "$(eval_gettext "Unable to install XQuartz! You must install it to improve games compatibility.")" "$STEP_TITLE"
fi
#POL_Internal_XQuartz_Warning
}
install_prefix()
{
if [ ! -e "$POL_USER_ROOT/wineprefix/default" ]
then
STEP_TITLE="$(eval_gettext "Default virtual drive configuration")"
POL_SetupWindow_wait_next_signal "$(eval_gettext '$APPLICATION_TITLE is making a virtual windows hard drive')" "$STEP_TITLE"
POL_Wine_SelectPrefix "default"
POL_Wine_PrefixCreate
fi
}
POL_Shortcut_GetOLDPrefix()
{
[ "$1" = "" ] && POL_Debug_Error "No shortcut specified"
fichier="$REPERTOIRE/configurations/installed/$1"
#fichier=${fichier//"\""/""}
#fichier=${fichier//"//"/"/"}
if [ -e "$fichier" ]
then
fichier="$(cat "$fichier" | grep WINEPREFIX | tail -n 1 | sed s/'\/\//\/'/)"
fichier="${fichier/"$POL_USER_ROOT"/""}"
fichier="$(printf "$fichier" | cut -d "/" -f2)"
fi
printf "$fichier" | tr -d \"
}
POL_Shortcut_GetOLDVersion()
{
[ "$1" = "" ] && POL_Debug_Error "No shortcut specified"
fichier="$REPERTOIRE/configurations/installed/$1"
#fichier=${fichier//"\""/""}
#fichier=${fichier//"//"/"/"}
if [ -e "$fichier" ]
then
fichier="$(cat "$fichier" | grep PATH | tail -n 1 | sed s/'\/\//\/'/)"
fichier="${fichier/"$POL_USER_ROOT"/""}"
fichier="$(printf "$fichier" | cut -d "/" -f2)"
fi
printf "$fichier" | tr -d \"
}
migrate_oldpol()
{
rmdir "$POL_USER_ROOT/configurations/installed" 2> /dev/null
if [ -e "$POL_USER_ROOT/configurations/installed" ]
then
# On commence par les raccourcis
POL_Debug_Message "Upgrading shortcuts"
cd "$POL_USER_ROOT/configurations/installed"
for shortcut in *
do
POL_Debug_Message "Updating shortcut : $shortcut"
sVERSION="$(POL_Shortcut_GetOLDVersion "$shortcut")"
sPREFIX="$(POL_Shortcut_GetOLDPrefix "$shortcut")"
sTITLE="$shortcut"
sWINE="$(cat "$shortcut" | grep '^wine')"
sWINE="${sWINE/wine/POL_Wine}"
sWINEPREFIX="$(cat "$shortcut" | grep '^export WINEPREFIX')"
sCD="$(cat "$shortcut" | grep '^cd')"
cat < "$POL_USER_ROOT/shortcuts/$shortcut"
#!/bin/bash
[ "\$PLAYONLINUX" = "" ] && exit 0
source "\$PLAYONLINUX/lib/sources"
$sWINEPREFIX
export WINEDEBUG="-all"
$sCD
$sWINE
EOF
chmod +x "$POL_USER_ROOT/shortcuts/$shortcut"
if [ ! "$sVERSION" = "" ]
then
POL_Debug_Message "Setting shortcut $sTITLE, prefix $sPREFIX to version $sVERSION"
export WINEPREFIX="$POL_USER_ROOT/wineprefix/$sPREFIX"
POL_Wine_SetVersionPrefix "$sVERSION"
fi
done
POL_Debug_Message "Upgrading virtual drives"
cd "$POL_USER_ROOT/wineprefix"
for prefix in *
do
POL_Debug_Message "Updating $prefix"
export WINEPREFIX="$POL_USER_ROOT/wineprefix/$prefix"
[ "$(POL_Config_PrefixRead ARCH)" = "" ] && POL_Config_PrefixWrite "ARCH" "x86"
done
if [ -e "$POL_USER_ROOT/WineVersions" ]
then
POL_Debug_Message "Upgrading wine versions"
cd "$POL_USER_ROOT/WineVersions"
[ "$POL_OS" = "Mac" ] && vprefix="darwin-"
[ "$POL_OS" = "Linux" ] && vprefix="linux-"
new_vroot="$POL_USER_ROOT/wine/${vprefix}x86"
mkdir -p "$new_vroot"
for version in *
do
POL_Debug_Message "Updating $version"
mv "$POL_USER_ROOT/WineVersions/$version" "$new_vroot/"
done
rmdir "$POL_USER_ROOT/WineVersions"
if [ "$POL_OS" = "Linux" ]
then
cd "$new_vroot"
for version in *
do
POL_Debug_Message "Removing /usr in path $version"
cd "$new_vroot/$version"
mv usr/* ./
rmdir usr
done
fi
fi
mv "$POL_USER_ROOT/configurations/installed" "$POL_USER_ROOT/configurations/installed.backup"
fi
export POL_WINEVERSION=""
}
migrate_oldpol
POL_SetupWindow_Init --protect
if [ "$(POL_Config_Read FIRST_FIRST_USE)" = "TRUE" ]
then
POL_SetupWindow_free_presentation "$(eval_gettext '$APPLICATION_TITLE first use')" "$(eval_gettext '$APPLICATION_TITLE is going to finish its preparation')\n$(eval_gettext "Please ensure you are connected to the internet.")"
else
POL_Config_Write FIRST_FIRST_USE TRUE
POL_SetupWindow_free_presentation "$(eval_gettext '$APPLICATION_TITLE first use')" "$(eval_gettext 'It appears it is the first time you are using $APPLICATION_TITLE.')\n$(eval_gettext 'This wizard will help you prepare $APPLICATION_TITLE environment')\n$(eval_gettext "Please ensure you are connected to the internet.")"
fi
[ "$POL_OS" == "Mac" ] && [ ! -e "/Applications/Utilities/XQuartz.app" ] && install_x11
[ "$POL_OS" == "Mac" ] && [ "$OSX_VERSION" = "9" ] && install_x11
if [ "$DEBIAN_PACKAGE" = "TRUE" ]; then
fonts_install
else
if ! install_fonts; then
POL_SetupWindow_message "$(eval_gettext 'Error while installing fonts')" "$TITLE"
POL_SetupWindow_Close
exit 0
fi
fi
if [ "$POL_OS" = "Mac" ]; then
if [ "$OSX_VERSION" = "11" -a "$OSX_SUB_VERSION" -gt "4" ] || [ "$OSX_VERSION" = "12" -a "$OSX_SUB_VERSION" -gt "1" ]; then
# XQuartz 2.7.4 is needed here... See http://bugs.winehq.org/show_bug.cgi?id=31751
XVERSION="$(cat "/Applications/Utilities/XQuartz.app/Contents/Info.plist" | grep -A1 "CFBundleShortVersionString" | tail -n1 | cut -d '>' -f2 | cut -d '<' -f1)"
if VersionLower "$XVERSION" "2.7.4"; then
export FORCE_X11_Reinstall="True"
install_x11
fi
fi
fi
POL_SetupWindow_message "$(eval_gettext 'Enjoy using $APPLICATION_TITLE')" "$(eval_gettext '$APPLICATION_TITLE first use')"
POL_SetupWindow_Close
POL_Config_Write FIRST_USE TRUE
POL_Config_Write GECKO_INSTALLED TRUE
exit 0 playonlinux/bash/install 0000775 0000000 0000000 00000003106 12260513361 0015750 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
menu="$1"
if [ "$menu" = "ExecLiveInstall" ]
then
bash "$PLAYONLINUX/bash/manual_install"
exit
fi
if [ ! "$menu" = "" ]
then
export TITLE="$menu"
export SCRIPTID="$menu"
type="$(echo "$menu" | cut -d ':' -f1)"
if [ "$type" = "get" ]
then
id=$(echo "$menu" | cut -d ":" -f2)
rm "$REPERTOIRE/install"
$POL_WGET "$SITE/V4_data/repository/get_file_n.php?version=PlayOn$POL_OS-$VERSION&id=$id" -O "$REPERTOIRE/install"
[ -e "$REPERTOIRE/install" ] && POL_Bash "$REPERTOIRE/install"
exit
fi
rm "$REPERTOIRE/install"
$POL_WGET "$SITE/V4_data/repository/get_file.php?version=PlayOn$POL_OS-$VERSION&id=$(POL_Website_urlparse "$menu")" -O "$REPERTOIRE/install"
[ -e "$REPERTOIRE/install" ] && POL_Bash "$REPERTOIRE/install"
fi
playonlinux/bash/install_gecko 0000775 0000000 0000000 00000002562 12260513361 0017125 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2011 PlayOnLinux Team
# Copyright (C) 2007-2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Install gecko
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="$(eval_gettext '$APPLICATION_TITLE Gecko installer')"
POL_SetupWindow_Init
[ "$POL_OS" = "Linux" ] && wos="linux"
[ "$POL_OS" = "Mac" ] && wos="darwin"
cd "$POL_USER_ROOT/wine/$wos-x86" || exit 1
for file in *; do
[ -d "$POL_USER_ROOT/wine/$wos-x86/$file" ] && POL_Wine_Install_resources gecko "$file"
done
cd "$POL_USER_ROOT/wine/$wos-amd64" || exit 1
for file in *; do
[ -d "$POL_USER_ROOT/wine/$wos-amd64/$file" ] && POL_Wine_Install_resources gecko "$file" "amd64"
done
POL_SetupWindow_Close
playonlinux/bash/install_mono 0000775 0000000 0000000 00000002563 12260513361 0017006 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2013 PlayOnLinux Team
# Copyright (C) 2007-2013 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Install wine-mono
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="$(eval_gettext '$APPLICATION_TITLE Mono installer')"
POL_SetupWindow_Init
[ "$POL_OS" = "Linux" ] && wos="linux"
[ "$POL_OS" = "Mac" ] && wos="darwin"
cd "$POL_USER_ROOT/wine/$wos-x86" || exit 1
for file in *; do
[ -d "$POL_USER_ROOT/wine/$wos-x86/$file" ] && POL_Wine_Install_resources mono "$file"
done
cd "$POL_USER_ROOT/wine/$wos-amd64" || exit 1
for file in *; do
[ -d "$POL_USER_ROOT/wine/$wos-amd64/$file" ] && POL_Wine_Install_resources mono "$file" "amd64"
done
POL_SetupWindow_Close
playonlinux/bash/install_wver 0000775 0000000 0000000 00000002331 12260513361 0017012 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
[ "$2" = "" ] && POL_System_SetArch "auto" || POL_System_SetArch "$2"
version=$1
TITLE="Wine $version ($2) installer"
POL_SetupWindow_free_presentation "Wine $1" "$(eval_gettext "This wizard will help you to install Wine: ")$version ($2) $(eval_gettext 'on the $APPLICATION_TITLE environment.')"
POL_Wine_InstallVersion "$1"
POL_SetupWindow_Close
exit 0 playonlinux/bash/installpolpackages 0000775 0000000 0000000 00000002571 12260513361 0020167 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2008 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# Permet d'installer des paquets POL_Call dans un prefix
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_SetupWindow_wait_next_signal "$(eval_gettext "Please wait...")" "$(eval_gettext '$APPLICATION_TITLE Application Configurator')"
if [ "$1" = "--prefix" ]
then
shift
export WINEPREFIX="$REPERTOIRE/wineprefix/$1"
else
export WINEPREFIX="$(detect_wineprefix "$1")"
fi
export TITLE="$1"
shift
export POL_WINEVERSION="$(POL_Config_PrefixRead VERSION)"
POL_Wine_AutoSetVersionEnv
export USER_FORCED="true"
POL_Call "$1" --force
POL_SetupWindow_Close
exit
playonlinux/bash/killall 0000775 0000000 0000000 00000002547 12260513361 0015736 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
cd "$REPERTOIRE/wineprefix"
POL_SetupWindow_Init
POL_SetupWindow_question "$(eval_gettext 'Are you sure you want to shutdown all active $APPLICATION_TITLE applications?')" "$APPLICATION_TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Please wait...')" "$APPLICATION_TITLE"
for file in *
do
export WINEPREFIX="$REPERTOIRE/wineprefix/$file"
(POL_Wine_AutoSetVersionEnv
wineserver -k)
POL_Debug_Message "Killed $file"
done
fi
POL_SetupWindow_Close
playonlinux/bash/make_shortcut 0000775 0000000 0000000 00000004302 12260513361 0017151 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# This script makes shortcut of programs
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="$(eval_gettext '$APPLICATION_TITLE shortcut creator')"
if [ "$1" ]; then
PACKAGE="$1"
else
POL_SetupWindow_games "$(eval_gettext "Please choose a software to package")" "$TITLE"
PACKAGE="$APP_ANSWER"
fi
POL_SetupWindow_Init
POL_SetupWindow_wait_next_signal "$(eval_gettext "Creating shortcut...")" "$TITLE"
POL_Shortcut_MakeDesktopShortcut "$PACKAGE"
POL_SetupWindow_message "$(eval_gettext "The shortcut has been placed on your desktop")" "$TITLE"
POL_SetupWindow_Close
exit 0
# Standalone package code. Deprecated
if [ "$KIND_OF_PACKAGE" = "1" ]
then
prefix="$(detect_wineprefix "$PACKAGE")"
wversion="$(detect_wineversion "$PACKAGE")"
echo $prefix
make_skeleton "$PACKAGE"
make_icon "$PACKAGE"
make_standalone_script "$PACKAGE" "$prefix"
make_plist "$PACKAGE" "$shortname"
POL_SetupWindow_wait_next_signal "$(eval_gettext "Copying virtual drive")" "$TITLE"
cp -R -p "$prefix" "$DIRAPP/Contents/Resources/virtual_drive"
sleep 2
if [ ! -e "$REPERTOIRE/WineVersions/$wversion/" ]
then
wversion=""
fi
POL_SetupWindow_wait_next_signal "Including wine" "$TITLE"
if [ "$wversion" = "" ]
then
cp -R -p "$PLAYONLINUX/../unix/wine" "$DIRAPP/Contents/Resources/wine"
else
cp -R -p "$REPERTOIRE/WineVersions/$wversion/" "$DIRAPP/Contents/Resources/wine"
fi
cp "$PLAYONLINUX"/../unix/tools/lib/* "$DIRAPP/Contents/Resources/wine/lib/"
fi playonlinux/bash/manual_install 0000775 0000000 0000000 00000024343 12260513361 0017313 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# PlayOnLinux / PlayOnMac 4 manual installation
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
INSTALL_NUMBER="$(POL_Config_Read MANUAL_INSTALL_INCREMENT)"
INSTALL_NUMBER=$(( INSTALL_NUMBER + 1 ))
POL_Config_Write MANUAL_INSTALL_INCREMENT $INSTALL_NUMBER
TITLE="$(eval_gettext 'Manual installation')"
NOBUGREPORT="YES"
run_autorun()
{
POL_Debug_Message "Scanning autorun : $1"
NUMSTEP="3"
open=$(grep -i "^open" "$1")
open=${open//" = "/"="}
icon=$(grep -i "^icon" "$1")
icon=${icon//" = "/"="}
name=$(grep -i "^name" "$1")
name=${name//" = "/"="}
SetupIs=$(echo "$open" | cut -d\= -f2)
NameIs=$(echo $name | cut -d\= -f2)
IconIs=$(echo "$icon" | cut -d\= -f2)
if [ ! "$SetupIs" = "" ]
then
SetupIsNum=${#SetupIs}
SetupIs=${SetupIs:0:$(( SetupIsNum -1 ))}
else
POL_SetupWindow_message "$(eval_gettext 'No setup location found in autorun.inf')" "$(eval_gettext 'Autorun')"
POL_SetupWindow_Close
exit 0
fi
if [ ! "$NameIs" = "" ]
then
NameIsNum=${#NameIs}
NameIs=${NameIs:0:$(( NameIsNum -1 ))}
fi
if [ ! "$IconIs" = "" ]
then
IconIsNum=${#IconIs}
IconIs=${IconIs:0:$(( IconIsNum -1 ))}
fi
# Assumes last component is "autorun.inf", in root directory
cdromDirIs="${1%/*}"
if [ "$IconIs" = "" ]
then
$IconIs = "null"
fi
icon_test=`ls "$cdromDirIs" | grep $IconIs -i`
if [ "$icon_test" = "" ]
then
IconIs="$PLAYONLINUX/etc/playonlinux.png"
else
IconIs="$cdromDirIs/$icon_test"
fi
if [ ! "$(echo $IconIs | grep '.exe$')" = "" ]
then
IconIs="$PLAYONLINUX/etc/playonlinux.png"
fi
POL_Debug_Message $cdromDirIs
POL_Debug_Message "Setup path : $cdromDirIs/$SetupIs"
POL_Debug_Message "CD name : $cdromDirIs/$NameIs"
POL_Debug_Message "Icon : $IconIs"
POL_Debug_Message "WinePrefix : $Prefix"
SETUP_PATH="$cdromDirIs/$SetupIs"
}
ManualInstall_ScriptInit ()
{
## $SCRIPTPATH
cat < "$SCRIPTPATH"
#!/bin/bash
# Auto-generated script : $SCRIPTPATH
# Les trucs entre { } doivent être remplacés par POL Online
[ "\$PLAYONLINUX" = "" ] && exit
source "\$PLAYONLINUX/lib/sources"
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "{SCRIPT_NAME}" "{SCRIPT_EDITEUR}" "{SCRIPT_URL}" "{SCRIPT_USER}" "$PREFIXNAME"
EOF
}
POL_SetupWindow_Init
POL_SetupWindow_free_presentation "$(eval_gettext 'Manual installation')" "$(eval_gettext 'Welcome to $APPLICATION_TITLE manual installation wizard.\n\nThis script will allow you to install any program on $APPLICATION and use it with all the tools\n\nWarning: We are unable to guarantee that your application will work perfectly.')"
LNG_LI_NEW="$(eval_gettext "Install a program in a new virtual drive")"
LNG_LI_PATCH="$(eval_gettext "Edit or update an existing application")"
POL_SetupWindow_menu "$(eval_gettext "What would you like to do?")" "$(eval_gettext 'Manual installation')" "$LNG_LI_NEW~$LNG_LI_PATCH" "~"
menu="$APP_ANSWER"
if [ "$menu" = "" ]
then
POL_Debug_Error "No action chosen"
POL_SetupWindow_Close
exit 0
fi
if [ "$menu" = "$LNG_LI_NEW" ]
then
while true; do
POL_SetupWindow_textbox "$(eval_gettext "Please type a name for your application's virtual drive.\nThis name shouldn't contain spaces.")" "$TITLE"
[[ "$APP_ANSWER" =~ [/\ ] ]] || break
done
PREFIXNAME="$APP_ANSWER"
SCRIPTPATH="$POL_USER_ROOT/scripts/${APP_ANSWER}_${INSTALL_NUMBER}"
SCRIPTNAME="${APP_ANSWER}_${INSTALL_NUMBER}"
ManualInstall_ScriptInit
echo "POL_Wine_SelectPrefix \"$PREFIXNAME\"" >> "$SCRIPTPATH"
POL_Wine_SelectPrefix "$PREFIXNAME"
fi
if [ "$menu" = "$LNG_LI_PATCH" ]
then
POL_SetupWindow_prefix_selector "$(eval_gettext "Please choose a program")"
PREFIXNAME="$APP_ANSWER"
SCRIPTPATH="$POL_USER_ROOT/scripts/${APP_ANSWER}_${INSTALL_NUMBER}"
SCRIPTNAME="${APP_ANSWER}_${INSTALL_NUMBER}"
ManualInstall_ScriptInit
echo "POL_Wine_SelectPrefix \"$PREFIXNAME\"" >> "$SCRIPTPATH"
echo "[ \"\$(POL_Wine_PrefixExists \"$PREFIXNAME\")\" = \"True\" ] || exit 0" >> "$SCRIPTPATH"
POL_Wine_SelectPrefix "$APP_ANSWER"
fi
if [ "$WINEPREFIX" = "" ]
then
rm "$SCRIPTPATH"
POL_Debug_Fatal "No name chosen"
fi
LNG_WC_ASSWV=$(eval_gettext "Use another version of Wine")
LNG_WC_CONFWINE=$(eval_gettext "Configure Wine")
LNG_WC_USEWT=$(eval_gettext "Install some libraries")
ITEMS="$LNG_WC_ASSWV~$LNG_WC_CONFWINE~$LNG_WC_USEWT"
POL_SetupWindow_checkbox_list "$(eval_gettext "What would you like to do before installation?")\n$(eval_gettext "If you don't know, unselect all")" "$TITLE" "$ITEMS" "~"
WHATTORUNBEFORE="$APP_ANSWER"
#Running AssignWine
if [ "$(echo $WHATTORUNBEFORE | grep -o "$LNG_WC_ASSWV")" == "$LNG_WC_ASSWV" ]
then
WINEVERSIONLIST="System"
WINEVERSIONDIRLIST=$(find "$REPERTOIRE/wine/$OS_NAME-$POL_ARCH/"* -maxdepth 0 -type d)
for single in $WINEVERSIONDIRLIST ; do
singleparsed=${single##*/}
WINEVERSIONLIST="$WINEVERSIONLIST~$singleparsed"
done
POL_SetupWindow_menu "$(eval_gettext "Which version of Wine would you like to use?")" "$TITLE" "$WINEVERSIONLIST" "~"
WINEVERSIONLIVE="$APP_ANSWER"
if [ "$WINEVERSIONLIVE" = "System" ]
then
WINEVERSIONLIVE=""
else
export POL_WINEVERSION="$WINEVERSIONLIVE"
fi
POL_System_SetArch "x86"
echo "export POL_WINEVERSION=\"$WINEVERSIONLIVE\"" >> "$SCRIPTPATH"
fi
# If system is wine64 capable, let the user choose the type of prefix
if [ "$AMD64_COMPATIBLE" = "True" ]; then
POL_SetupWindow_menu_num "$(eval_gettext 'What kind of virtual drive do you want to create')" "$TITLE" "32 bits windows installation~64 bits windows installation" "~"
arch="$APP_ANSWER"
else
arch="0"
fi
if [ "$arch" = "1" ]; then
POL_System_SetArch "amd64"
WINEVERSIONLIST=""
else
POL_System_SetArch "x86"
WINEVERSIONLIST="System"
fi
if [ "$menu" = "$LNG_LI_NEW" ]
then
POL_Wine_PrefixCreate
echo "POL_SetupWindow_prefixcreate" >> "$SCRIPTPATH"
fi
#Running WineConfiguration
if [ "$(echo $WHATTORUNBEFORE | grep -o "$LNG_WC_CONFWINE")" == "$LNG_WC_CONFWINE" ]
then
POL_SetupWindow_wait_next_signal "$(eval_gettext "Configure Wine")" "$(eval_gettext 'Manual installation')"
cd "$WINEPREFIX"
POL_Wine winecfg
fi
#Running POL_Calls
if [ "$(echo $WHATTORUNBEFORE | grep -o "$LNG_WC_USEWT")" == "$LNG_WC_USEWT" ]
then
[ "$WINEPREFIX" == "" ] && POL_Debug_Fatal "WINEPREFIX is not set"
POL_Wine_AutoSetVersionEnv
wineserver -k
ITEMS=$($POL_WGET $SITE/V4_data/repository/getf.php -O-)
POL_SetupWindow_checkbox_list "$(eval_gettext "Please make your choice")" "$APPLICATION_TITLE" "$ITEMS" "/"
old="$IFS"
IFS=/
set "$APP_ANSWER"
for i in $*
do
POL_Debug_Message "POL_Call_list is calling $i"
IFS="$old"
POL_Call "$i"
echo "POL_Call \"$i\"" >> "$SCRIPTPATH"
IFS=/
done
IFS="$old"
fi
[ "$POL_OS" = "Mac" ] && MEDIA_DIR="/Volumes"
if [ "$POL_OS" = "Linux" ]; then
MEDIA_DIR="/media"
# Ubuntu Quantal workaround
[ -d "/media/$USER" ] && MEDIA_DIR="/media/$USER"
fi
A_LIST=""
i=0
POL_SetupWindow_wait "$(eval_gettext 'Looking for runnable CD-ROMs')" "$TITLE"
cd "$MEDIA_DIR"
for device in *
do
AutorunInf=$(ls "$MEDIA_DIR/$device" | grep -i "autorun.inf")
POL_Debug_Message "Autorun : Checking $device..."
if [ ! "$AutorunInf" = "" ]
then
POL_Debug_Message "Autorun : Found $MEDIA_DIR/$device/$AutorunInf"
if [ $i = 0 ]
then
A_LIST="$MEDIA_DIR/$device/$AutorunInf"
B_LIST="CD-ROM : $device"
else
A_LIST="$A_LIST#$MEDIA_DIR/$device/$AutorunInf"
B_LIST="$B_LIST#CD-ROM : $device"
fi
i=$(( i+1 ))
fi
done
POL_Debug_Message "Autorun: Found $i media"
LNG_MANUAL_FILE="$(eval_gettext "Select another file")"
if [ ! "$i" = "0" ]
then
A_LIST="$A_LIST#MANUAL"
B_LIST="$B_LIST#$LNG_MANUAL_FILE"
POL_SetupWindow_menu_num "$(eval_gettext 'Please choose a way to install your program')" "$TITLE" "$B_LIST" "#"
N="$APP_ANSWER"
POL_Debug_Message "Action $N choosen"
CHOICE="$(cut -d "#" -f$(( N + 1 )) <<< "$A_LIST")"
fi
if [ "$CHOICE" = "MANUAL" ] || [ "$i" = "0" ]
then
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext "Please select the install file to run.")" "$TITLE"
echo "POL_SetupWindow_browse \"\$(eval_gettext \"Please select the install file.\")\" \"\$TITLE\"" >> "$SCRIPTPATH"
SETUP_PATH="$APP_ANSWER"
echo "SETUP_PATH=\"\$APP_ANSWER\"" >> "$SCRIPTPATH"
else
run_autorun "$CHOICE"
cat <> "$SCRIPTPATH"
POL_SetupWindow_InstallMethod LOCAL,CD
if [ "\$INSTALL_METHOD" = "CD" ]
then
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "$SetupIs"
SETUP_PATH="\$CDROM/$SetupIs"
fi
if [ "\$INSTALL_METHOD" = "LOCAL" ]
then
POL_SetupWindow_browse "\$(eval_gettext "Please select the install file.")" "\$TITLE"
SETUP_PATH="\$APP_ANSWER"
fi
ENDCDROM
fi
if [ "$SETUP_PATH" = "" ]
then
rm "$SCRIPTPATH"
POL_SetupWindow_message "$(eval_gettext "You must choose a file!")" "$TITLE"
POL_SetupWindow_Close
exit 1
fi
WORKINGSETUP_PATH="$cdromDirIs/$NameIs"
cd "$WORKINGSETUP_PATH"
POL_SetupWindow_wait "$(eval_gettext '$APPLICATION_TITLE is installing your application...')" "$TITLE"
echo "POL_SetupWindow_wait \"\$(eval_gettext '$APPLICATION_TITLE is installing your application...')\" \"\$TITLE\"" >> "$SCRIPTPATH"
extension=$(echo "$SETUP_PATH" | sed 's/.*\.//g')
if [ "$extension" = "msi" ]
then
POL_Wine msiexec /i "$SETUP_PATH"
echo "POL_Wine msiexec /i \"\$SETUP_PATH\"" >> "$SCRIPTPATH"
else
POL_Wine "$SETUP_PATH"
echo "POL_Wine \"\$SETUP_PATH\"" >> "$SCRIPTPATH"
fi
POL_Wine_WaitExit
echo "POL_Wine_WaitExit" >> "$SCRIPTPATH"
rm "$POL_USER_ROOT/tmp/shortcuts" 2> /dev/null
POL_SetupWindow_shortcut_creator "$WINEVERSIONLIVE"
cat "$POL_USER_ROOT/tmp/shortcuts" >> "$SCRIPTPATH"
POL_SetupWindow_Close
echo "POL_SetupWindow_Close" >> "$SCRIPTPATH"
echo "exit" >> "$SCRIPTPATH"
exit
playonlinux/bash/playonlinux-pkg 0000775 0000000 0000000 00000006562 12260513361 0017454 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2011 Pâris Quentin
# Copyright (C) 2007-2010 PlayOnLinux Team
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# This script install POL packages
export OLDDIR="$PWD"
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
echo "$(eval_gettext '$APPLICATION_TITLE package manager: ')$VERSION"
if [ "$1" = "--version" ]
then
echo "$APPLICATION_TITLE $VERSION"
exit 0
fi
if [ "$3" = "-g" -o "$3" = "--gui" ]
then
error_c="error"
else
error_c="echo"
fi
if [ "$1" = "-h" -o "$1" = "--help" -o "$1" = "" ]
then
echo "$(eval_gettext "Usage: ")"
echo "-b$(eval_gettext " or ")--browse $(eval_gettext " Choose a file")"
echo "-e$(eval_gettext " or ")--extract $(eval_gettext " Extract the package")"
echo "-i$(eval_gettext " or ")--install $(eval_gettext " Install the package")"
echo "-h$(eval_gettext " or ")--help $(eval_gettext " Show this message")"
fi
if [ "$1" = "-b" -o "$1" = "--browse" ]
then
FILE=`select_file "$(eval_gettext 'Choose a package to install')" '' 0 0 1 "$(eval_gettext 'PlayOnLinux package manager')"`
if [ ! "$FILE" = "" ]
then
bash "$PLAYONLINUX/playonlinux-pkg" -i "$FILE" -g
fi
exit
fi
if [ "$1" = "-e" -o "$1" = "--extract" ]
then
cd "$OLDDIR"
PACKAGE="$2"
TMP="$REPERTOIRE/tmp/"
echo ""
echo "Opening $2"
if [ ! -e "$PACKAGE" ]
then
$error_c "$(eval_gettext 'Unable to find the file: ')$2"
exit
fi
ext=`echo $PACKAGE | awk -F "." '{print $NF}'`
if [ ! "$ext" = "pol" ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " isn't a valid PlayOnLinux package!")"
exit
fi
echo "Extracting..."
mkdir package
tar -xvf "$PACKAGE" -C ./package > /dev/null 2> /dev/null
exit
fi
if [ "$1" = "-i" -o "$1" = "--install" ]
then
cd "$OLDDIR"
PACKAGE="$2"
TMP="$REPERTOIRE/tmp/"
echo ""
echo "Opening $2"
if [ ! -e "$PACKAGE" ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " does not exist!")"
exit
fi
ext=`echo $PACKAGE | awk -F "." '{print $NF}'`
if [ ! "$ext" = "pol" ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " isn't a valid PlayOnLinux package!")"
exit
fi
rm -r "$TMP/pkg/" 2> /dev/null
mkdir -p "$TMP/pkg/"
cp "$2" "$TMP/pkg"
cd "$TMP/pkg"
echo "$(eval_gettext "Extracting: ")$2..."
tar -xvf *.pol > /dev/null 2> /dev/null
if [ "$?" = "2" ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " isn't a valid PlayOnLinux package!")"
exit
fi
if [ ! -e "$TMP/pkg/playonlinux/main" ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " isn't a valid PlayOnLinux package!")"
exit
fi
echo "$(eval_gettext "Running...")"
export SCRIPT_DIRECTORY="$TMP/pkg/files/"
bash "$TMP/pkg/playonlinux/main"
rm -r "$TMP/pkg/" 2> /dev/null
echo "$(eval_gettext "Cleaning...")"
fi
exit 0
playonlinux/bash/playonlinux-shell 0000775 0000000 0000000 00000001613 12260513361 0017772 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
bash --rcfile "$PLAYONLINUX/etc/pol_bash"
playonlinux/bash/playonlinux-url_handler 0000775 0000000 0000000 00000002331 12260513361 0021160 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2007 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# URL handler
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
#Dans quel répértoire se trouve le script ?
STRING="$1"
STRING="${STRING/playonlinux:\/\//http://}"
STRING="${STRING/playonmac:\/\//http://}"
url_cut="$(echo $STRING | cut -d "/" -f3)"
if [ "$url_cut" == "www.playonlinux.com" ] || [ "$url_cut" == "www.playonmac.com" ]
then
$POL_WGET "$STRING" -O- > "$REPERTOIRE/install"
POL_Bash "$REPERTOIRE/install"
fi
playonlinux/bash/playonlinux_online 0000775 0000000 0000000 00000012776 12260513361 0020245 0 ustar 00root root 0000000 0000000 #!/bin/bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2011 Pâris Quentin
# 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; either version 2 of the License, or
# (at your option) any later version.
# 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 Street, Fifth Floor, Boston, MA 02110-1301 USA.
# PlayOnLinux / PlayOnMac Online
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
TITLE="$APPLICATION_TITLE Online"
personal_scripts()
{
POL_Website_GET "$SITE/V4_data/repository/get_personal_list.php"
PSCRIPTS="$(POL_Website_Result)"
if [ "$PSCRIPTS" ]; then
POL_SetupWindow_menu "$(eval_gettext "This is the list of the scripts you sent to us. You can run one of them")" "$TITLE" "$PSCRIPTS~Back" "~"
if [ ! "$APP_ANSWER" = "" -a ! "$APP_ANSWER" = "Back" ]; then
POL_Website_GET "$SITE/V4_data/repository/get_file.php?id=$APP_ANSWER"
POL_Website_Result > "$POL_USER_ROOT/install"
cd "$POL_USER_ROOT"
POL_SetupWindow_wait "$(eval_gettext "Running...")" "$TITLE"
POL_Bash "install"
fi
else
POL_SetupWindow_message "$(eval_gettext 'You do not seems to have any personal script')" "$TITLE"
fi
}
send_script()
{
POL_SetupWindow_message "$(eval_gettext "This tools will allow you to help us :")\n$(eval_gettext "If you have successfully installed a program with 'Install a non-listed\nsoftware' button, it will allow you to add this program in our list")\n\n$(eval_gettext "We're going to ask you some questions, please be as much accurate as\npossible")" "$TITLE"
LIST=""
cd "$POL_USER_ROOT/scripts"
for file in *
do
LIST="$LIST~$file"
done
LIST="${LIST:1}"
POL_SetupWindow_menu "$(eval_gettext "Choose the file corresponding to your program.")" "$TITLE" "$LIST" "~"
SCRIPTFILE="$APP_ANSWER"
script="$(cat "$SCRIPTFILE")"
script="$(POL_Website_urlparse "$script")"
POL_SetupWindow_question "$(eval_gettext "Does your program run?")" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then
POL_SetupWindow_textbox "$(eval_gettext "What is the title of your program?")" "$TITLE"
SCRIPTTITLE="$APP_ANSWER"
POL_SetupWindow_textbox "$(eval_gettext "What is the editor of your program?")" "$TITLE"
EDITOR="$APP_ANSWER"
POL_SetupWindow_textbox "$(eval_gettext "What is the editor website of your program?")" "$TITLE" "http://"
URL="$APP_ANSWER"
POL_SetupWindow_menu_num "$(eval_gettext "Select a category for your program")" "$TITLE" "$(eval_gettext "Other")~$(eval_gettext "Games")~$(eval_gettext "Accessories")~$(eval_gettext "Office")~$(eval_gettext "Internet")~$(eval_gettext "Multimedia")~$(eval_gettext "Graphics")~$(eval_gettext "Development")~$(eval_gettext "Education")~$(eval_gettext "Patches")~$(eval_gettext "Testing")" "~"
CATEGORY="$APP_ANSWER"
URL="$(printf $APP_ANSWER | sed s/\\//\\\\\\//g)" # J'adore ce genre de ligne la
POL_SetupWindow_textbox_multiline "$(eval_gettext "What feature of your program does not work?\nIf everything works, please mention it")" "$TITLE"
FEATURE="$APP_ANSWER"
POL_SetupWindow_textbox_multiline "$(eval_gettext "Write any change you made to wine configuration here:")" "$TITLE"
DESCRIPTION="Features
$FEATURE
Wine configuration :
$APP_ANSWER"
script="${script/'{SCRIPT_NAME}'/$SCRIPTTITLE}"
script="${script/'{SCRIPT_EDITEUR}'/$EDITOR}"
script="${script/'{SCRIPT_URL}'/$URL}"
script="${script/'{SCRIPT_USER}'/$POL_LOGIN}"
[ "$POL_OS" == "Mac" ] && repos="playonmac"
[ "$POL_OS" == "Linux" ] && repos="playonlinux"
POL_Website_Request "http://www.$repos.com/repository/new.php" "name=Generated $SCRIPTTITLE&send=Add"
#POL_SetupWindow_message "Debug : premiere requete faite" "$TITLE"
SCRIPT_ID="$(POL_Website_Result | grep '