pax_global_header 0000666 0000000 0000000 00000000064 13410240040 0014476 g ustar 00root root 0000000 0000000 52 comment=aecbb5d195f57ad2f8719816a59a341525046f96
playonlinux/ 0000775 0000000 0000000 00000000000 13410240040 0013424 5 ustar 00root root 0000000 0000000 playonlinux/CHANGELOG.md 0000664 0000000 0000000 00000114270 13410240040 0015242 0 ustar 00root root 0000000 0000000 # 4.3.4
* Fixed some bugs in the wineversion process
* Begining of code cleaning and refactoring
* Begining of using wx box sizers instead of absolute positioning.
Most of the windows are now resizable
This should solve display issues on many cases: HDPI and alternative windows manager: (see https://www.playonlinux.com/en/topic-16188-Visual_error_with_KDE.html)
* macOS: Remove XQuartz installation
* macOS: Bundle an up-to-date wine version
* macOS: Use native terminal instead of xterm
# 4.3.3
* Linux: Fix HDPI support
* Compatibility with OSX < Mojave
# 4.3
* Various fix on OSX
* Phoenicis (POL 5) winebuild compatibility. POL 4 winebuilds will be deprecated. (See https://github.com/PhoenicisOrg/phoenicis-winebuild)
# 4.2.11
* Fix POL_SetupWindow_download clobbering $FILENAME
* Fix small typo in first use "send report" message
# 4.2.10
* Silence POL_Notice_IsAck when ack_notices file doesn't exist
* Allow Set_SoundDriver '' to disable sound
* Add in the wineprefix configuration tab for Wine: Control panel
* Remove in the wineprefix configuration tab for Wine: Wine Uninstaller
* Add support for Wine-staging DLL redirects (POL_Wine_RedirectDLL,
POL_Wine_DelRedirectDLL, POL_Wine_RedirectDLL_App,
POL_Wine_DelRedirectDLL_App) (#5163)
* Fix POL_System_cpmv log message
* Reimplement deprecated functions POL_SetupWindow_make_shortcut and
POL_SetupWindow_auto_shortcut using POL_Shortcut for consistency
# 4.2.9
* Fixed a bug in the user agent used in urllib that would make it look like an attack to paranoid eyes (and filters) (#5072)
* Try to improve general installation instructions
* Update About's copyright years span (let's make it look like we're still working on the project ;) ) Many more could be updated though
* POL_Download_Resource: don't test hash of missing file (one less spurious warning message)
* Adding some visual clue while virtual drives are being removed
* Fix "debbuger" typo
* POL_System_find_file: really pick the shallowest file
* fix "debbuger" typo
* POL_SetupWindow_VMS: mention that the expected answer units are megabytes
* Try to make instructions to rerun a program in debug mode more obvious (#5104)
* Some GetRegValue fixing/hardening
* Remove spurious .lnk files from user desktop for all architectures during POL_Shortcut calls (#4200)
* Add waiting messages to POL_System_unzip & friends
* Deprecate Set_WineWindowTitle that no longer works with Wine 1.5.16+, and breaks Set_Desktop (#5118)
* Fix playonlinux-pkg -b (broken since PlayOnLinux 4.0)
* MacOS 10.11 support
# 4.2.8
* Feature freeze has been declared for POL 4.x, so this changelog should
contain only bug fixes
* checkVersionUse(): don't assume cfg files have any order
* manual installation: component installation bugfix ($IFS not restored correctly)
* POL_OpenShell: call POL_Wine_AutoSetVersionEnv in all cases, to set $PATH (#5062)
* Fix consecutive shortcut creations
* POL_Wine_SetVideoDriver bugfix, device IDs were not inserted as DWORDs
# 4.2.7
* Detect and abort scripts when trying to run 64bit programs with 32bit Wine
* POL_DetectVideoCards: list VGA compatible controllers and 3D controllers (#5012)
* Add support for several other value types than REG_SZ to registry
updating statements (#5013)
* POL_Wine_SelectPrefix: abort if no prefix name is provided
* Sort install scripts lists case insensitively (iTunes)
* Fix "hash-bang" line in shortcuts so they're actually executable
* Deprecate the usage of $REPERTOIRE in PlayOnLinux own code
* Translate remaining french comments and identifiers in Bash code
* Improve POL_Wine_PrefixDelete to remove ancillary resources (shortcuts, icons,...)
* Wine versions manager: attributes tell apart used versions instead of
unused versions; Add an extra warning when about to remove a version in use
* Avoid Python detection loops
* Display wx version found
* Fix Settings > Internet menu (#4989, thanks to rupert)
* Workaround for Wine bug #37575 (#5023)
* Improve find_binary function and make it public as POL_System_find_file
* Add support for .lnk, .bat and .cmd files to POL_Shortcut and POL_SetupWindow_shortcut_creator
* Added an icon to open the debugger from the installation wizard when
POL_Debug_Init has been called (#4948)
* Implement POL_SetupWindow_notice to display important messages, but
allow the user to acknowledge them once and for all ("Don't remind me") (#2036)
* POL_OpenShell (Configure > Misc > Open a shell) bug fixes
* Add a warning when OpenGL autotests are missing (user support)
* Make sure "Install non-listed application" link is always visible in
install window
* POL_SetupWindow_cdrom: don't suggest "*" when no CDROM has been found
* Remove use of remaining os.system() calls (less overhead, less quoting nightmare)
* Use os.kill() instead of shell command
* Use of "exec" to avoid some useless extra Bash processes
* polconfigurator interface cleanup (no risk of translation breakage)
# 4.2.6
* Use $POL_TERM more consistently, allow POL_TERM global configuration
override. Beware, the terminal must support -T and -e options, so
gnome-terminal doesn't qualify (gnome-terminal.wrapper does though)
* Add a POL_Wine_VersionSignature function to compute a hash of a Wine
package
* Python version string extraction hardening (#4895)
* POL_System_PartInfo identifies filesystems thru mount point instead of device
(Btrfs subvolumes compatibility)
* Modify bash/document_reader to pass extra arguments unchanged (http://www.playonlinux.com/en/topic-12519-Pass_arguments_to_PDFXChange_Viewer.html)
* Remove "skipped lines" messages when the debugger gets the focus back
* POL_Shortcut: do not overwrite $Binaire to improve logging
* mainwindow: make alert boxen child of the main window so they cannot get
lost behind other windows
* Prevent POL_Download_Resource clobbering $APP_ANSWER
* Wine versions management: grey out versions that are not currently in use by any virtual drive and can be safely removed (Tutul)
# 4.2.5
* Fix reading/writing values containing '=' symbol in configuration files (#4834)
* Make POL_Wine_InstallFonts preserve current directory (regression since 4.2.3)
* Disable "Install" component button until a component is selected
* Compatibility with wxpython 3.0
* Compatibility with Debian 8
* Compatibility with Mac OS 10.10
* Mention URL in POL_Download and POL_Download_Resource error messages
(should help with user support)
* Add POL_Config_Win16 to check if the host can run win16 programs, see
http://linux-kernel.2935.n7.nabble.com/tip-x86-urgent-x86-64-modify-ldt-Ban-16-bit-segments-on-64-bit-kernels-td838675i120.html
# 4.2.4
* New support and feedback system, easier to use
* Links to social networks
* 4.2.3 regresion fixed in run_exe module
# 4.2.3
* Fix for Python version "2.7" (#3749)
* POL_SetupWindow_shortcut_creator: always suggest unused shortcut names;
If user chooses an already used name, warn before overwrite (#3770)
* Fix for "Error 427" http://www.playonlinux.com/en/topic-11490-Error_427.html
regression in 4.2.2 (functions override)
* Fix IE3 icon extraction (#3885)
* Debugger: if behind by too many lines, skip displaying some
(...skipped n lines...) to keep up
* wineserver not in path problem fixed again (debian bug, but they won't fix it)
* Fix "Open a shell" to enable the wine version of the prefix
* New attempt at fixing download gauge overflow (#2123)
* Do not totally silence gpg import errors
* Allow POL_SetupWindow_textbox to accept an extra max length parameter
* Limit bug reports title to 80 characters
* virtual drive removal: use os.lstat() instead of os.stat() to check for broken rights (reported by Xenos5)
* change of Wine version used in a virtual drive: kill running wineserver after asking for permission
* Experimental: FreeBSD support
* Removing PlayOnLinux_Online
* Corefonts are now managed as any other POL_Call package. (Debian.lib is consequently no longer needed)
* Removing installation process of missing gecko and mono at startup. It should not happen anymore
* Cleaner way to save panel position
* Fix a bug in GetSettings() where the value contain the equal ('=') character
* PlayOnMac does no longer need a reboot after installing XQuartz
* PlayOnMac does no longer popup a warning before xterm is installed
* Removing IRC
* Icones install can now be bigger than 22x22
# 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) debugger
* 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 13410240040 0014415 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/Makefile 0000664 0000000 0000000 00000005726 13410240040 0015076 0 ustar 00root root 0000000 0000000 # 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 .
#
# Authors: Jiri Konecny
# Arguments:
#
# PREFIX -- Set prefix for the installation (/usr is default)
# DESTDIR -- Where you want to install
#
CFLAGS ?= -O2
CC = gcc $(CFLAGS)
PYTHON = python2 -m py_compile
GZIP = gzip
SHELL := /bin/bash
PREFIX ?= /usr
DESTDIR ?= # root dir
sharedir := $(DESTDIR)$(PREFIX)/share
bindir := $(DESTDIR)$(PREFIX)/bin
execdir := $(DESTDIR)$(PREFIX)/libexec
all: build
clean:
$(RM) ./python/*.pyc
$(RM) ./python/lib/*.pyc
$(RM) ./bin/check_dd
$(RM) ./bin/playonlinux
$(RM) ./bin/playonlinux-pkg
$(RM) ./ChangeLog
build:
$(CC) ./src/check_direct_rendering.c -o ./bin/playonlinux-check_dd -lGL -lX11
$(PYTHON) ./python/*.py
$(PYTHON) ./python/lib/*.py
echo -e '#!/bin/bash\nGDK_BACKEND=x11 ${sharedir}/playonlinux/playonlinux "$$@"\nexit 0' > ./bin/playonlinux
echo -e '#!/bin/bash\n${sharedir}/playonlinux/playonlinux-pkg "$$@"\nexit 0' > ./bin/playonlinux-pkg
chmod +x ./bin/playonlinux
chmod +x ./bin/playonlinux-pkg
sed -i 's/\(\["DEBIAN_PACKAGE"\]\s*=\s*\)"FALSE"/\1"TRUE"/' \
./python/lib/Variables.py
install:
install -d $(bindir)
install -d $(execdir)
install -d $(sharedir)/pixmaps
install -d $(sharedir)/applications
install -d $(sharedir)/appdata
install -d $(sharedir)/playonlinux/bin
install -d $(sharedir)/man/man1
install -d $(sharedir)/locale
$(GZIP) -c ./doc/playonlinux-pkg.1 > $(sharedir)/man/man1/playonlinux-pkg.1.gz
$(GZIP) -c ./doc/playonlinux.1 > $(sharedir)/man/man1/playonlinux.1.gz
cp ./etc/PlayOnLinux.desktop $(sharedir)/applications/PlayOnLinux.desktop
cp ./etc/PlayOnLinux.appdata.xml $(sharedir)/appdata/PlayOnLinux.appdata.xml
cp ./etc/playonlinux.png $(sharedir)/pixmaps/playonlinux.png
cp ./etc/playonlinux16.png $(sharedir)/pixmaps/playonlinux16.png
cp ./etc/playonlinux32.png $(sharedir)/pixmaps/playonlinux32.png
cp ./bin/{playonlinux,playonlinux-pkg} $(bindir)/
cp ./bin/playonlinux-check_dd $(execdir)/
cp ./{playonlinux*,README.md,TRANSLATORS,CHANGELOG.md,LICENCE} $(sharedir)/playonlinux/
cp -R ./{bash,etc,lib,plugins,python,resources,tests} $(sharedir)/playonlinux/
cp -R ./lang/locale/* $(sharedir)/locale/
changelog:
(GIT_DIR=.git git log > .changelog.tmp && mv .changelog.tmp ChangeLog; rm -f .changelog.tmp) || (touch ChangeLog; echo 'git directory not found: installing possibly empty changelog.' >&2)
.PHONY: all clean build install changelog
playonlinux/README.md 0000664 0000000 0000000 00000002334 13410240040 0014705 0 ustar 00root root 0000000 0000000 POL-POM-4
=========
PlayOnLinux 4 repository
Note: PlayOnLinux 5 is currently under development. Please clone POL-POM-5 repository if you want to contribute
What is PlayOnLinux?
=====================
PlayOnLinux is a piece of software which allows you to easily install and use numerous games and apps designed to run with Microsoft® Windows®.
Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. PlayOnLinux brings a cost-free, accessible and efficient solution to this problem.
What are PlayOnLinux's features?
================================
Here is a non-exhaustive list of the interesting points to know:
You don't have to own a Windows license to use PlayOnLinux.
PlayOnLinux is based on Wine, and so profits from all its features yet it keeps the user from having to deal with its complexity.
PlayOnLinux is free software.
PlayOnLinux uses Bash and Python.
Nevertheless, PlayOnLinux has some bugs, as every piece of software:
Occasional performance decrease (image may be less fluid and graphics less detailed).
Not all games are supported. Nevertheless, you can use our manual installation module.
For more information, visit http://www.playonlinux.com
playonlinux/TRANSLATORS 0000664 0000000 0000000 00000024656 13410240040 0015200 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
Adalbert Mate Saric from https://launchpad.net/~saric-adalbert349
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/~fitojb
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-deactivatedaccount
Alfredo Hernández from https://launchpad.net/~aldomann
Ali Isingor from https://launchpad.net/~isingor
Almin Islamović from https://launchpad.net/~almin-islamovic
André Gondim from https://launchpad.net/~andregondim
Angelescu from https://launchpad.net/~titus0818
Aniruddha Adhikary from https://launchpad.net/~tuxboy
Anthony Harrington from https://launchpad.net/~untaintableangel
Anton Shestakov from https://launchpad.net/~av6
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
Dusan Kazik from https://launchpad.net/~prescott66
Dylandy from https://launchpad.net/~steven80919
Einar Svensen from https://launchpad.net/~support-coman
Emanuele Salvi from https://launchpad.net/~e-salvi1992
Emmanouel Kapernaros from https://launchpad.net/~kapcom01
Esben Aaberg from https://launchpad.net/~esben-aaberg
Eshin Kunishima from https://launchpad.net/~pentiumx7
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
Hyun-Seok, Choi from https://launchpad.net/~chs1217
Igor Seryogin from https://launchpad.net/~igor.seryogin
Igor Zinovyev from https://launchpad.net/~zinigor
Ilja Lobanov from https://launchpad.net/~lisiano256
Ilya Gorbachevsky from https://launchpad.net/~igorbachevsky
Ismael Ferreras from https://launchpad.net/~swyterzone
Jack Random from https://launchpad.net/~w-jack
Jakob Kramer from https://launchpad.net/~jakobk
Jamie Quinlan from https://launchpad.net/~jaymeskeller
Jan Němec from https://launchpad.net/~nemec-jan123
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
Lasse Liehu from https://launchpad.net/~lliehu
Leandro Fonseca from https://launchpad.net/~leandro-456
Luuk Verkleij from https://launchpad.net/~luukverkleij
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
Meriuță Cornel from https://launchpad.net/~meriutacornel-c
Michal Lelek from https://launchpad.net/~kozodoj
Michal Pavleje from https://launchpad.net/~unioner-deactivatedaccount
MichelGustafssonHeld from https://launchpad.net/~okabekudo
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
Mister Q from https://launchpad.net/~misterq
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
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/~patrykr
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
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
Rodolfo Guagnini from https://launchpad.net/~rodolfo-lagalaxia
Rokhmat Sudiana Bakhtiar from https://launchpad.net/~spaceterz
Ronaldo Luiz Pedroso from https://launchpad.net/~ronaldo-luiz-pedroso
Ronin Dusette from https://launchpad.net/~ronindusette
Rui from https://launchpad.net/~mrrst0914
S.Victor from https://launchpad.net/~thadd
Satrya Pratama from https://launchpad.net/~airshipster
SenzaiSh0w from https://launchpad.net/~ardidu26
Sigitas Kalinas from https://launchpad.net/~skalinas
Simen from https://launchpad.net/~simen-burud
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/~tanelmae
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
abdo alrhman aiman from https://launchpad.net/~abdo.alrhman.aiman
abuyop from https://launchpad.net/~abuyop
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
kanito8a from https://launchpad.net/~kanito8a-gmail
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
niilos from https://launchpad.net/~niilos
pan_pewny from https://launchpad.net/~rayman-1996
peregrine from https://launchpad.net/~andrej1741
qysnn from https://launchpad.net/~qysnn1
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
rogue-spectre from https://launchpad.net/~rogue-spectre
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/~stuartlittle1970
Радослав Иванов from https://launchpad.net/~reckku
Саша Петровић from https://launchpad.net/~salepetronije
赵驰 from https://launchpad.net/~teddyherry
playonlinux/bash/ 0000775 0000000 0000000 00000000000 13410240040 0014341 5 ustar 00root root 0000000 0000000 playonlinux/bash/POL_Command 0000775 0000000 0000000 00000002660 13410240040 0016363 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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.
# Allow to call a POL Bash statement from Python
# Usage POL_Command (--init) (--prefix [PrefixName]|[Shortcut Name]) [Command]
# 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="$POL_USER_ROOT/wineprefix/$1"
else
export WINEPREFIX="$(detect_wineprefix "$1")"
fi
export TITLE="$1"
shift
#[ "$WINEVERSION" = "" ] || Use_WineVersion $WINEVERSION
"$@"
[ "$INIT" = "TRUE" ] && POL_SetupWindow_Close
exit
playonlinux/bash/bash_wrapper 0000775 0000000 0000000 00000001620 13410240040 0016743 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 00000007226 13410240040 0016446 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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" == "FreeBSD" ] && TRACKER="1"
[ "$POL_OS" == "Mac" ] && TRACKER="4"
# $1 = Name of the application
#export TITLE="$1"
export POL_SCRIPT_FAILED="NO" # Otherwise we're caught in a loop
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
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 "$APP_ANSWER" -o "$APP_ANSWER" = "$TEMPLATE" ]
then
POL_SetupWindow_message "$(eval_gettext 'Sorry, we need a detailed description.')" "$TITLE"
POL_SetupWindow_Close
exit 0
fi
DESCRIPTION="$APP_ANSWER"
POL_Website_login
POL_Website_Init
SCRIPTTITLE="$LOGTITLE"
if [ "$LOGTITLE" = "" ]
then
POL_Website_curl "http://www.playonlinux.com/api/uploadLog.php" -F message="$DESCRIPTION" -F script="$SCRIPTTITLE"
else
POL_Website_curl "http://www.playonlinux.com/api/uploadLog.php" -F message="$DESCRIPTION" -F script="$SCRIPTTITLE" -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.")" "$TITLE"
POL_Open "$BugURL"
POL_SetupWindow_Close
playonlinux/bash/check_fs 0000775 0000000 0000000 00000002057 13410240040 0016040 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 script tests filesystem
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
[ "$POL_OS" = "Mac" ] && exit 0
POL_System_CheckFS --just-warning "$POL_USER_ROOT"
returncode="$?"
POL_Debug_Message "Filesystem is compatible"
exit "$returncode"
playonlinux/bash/check_gl 0000775 0000000 0000000 00000004016 13410240040 0016027 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 script tests OpenGL libs
# Usage :
# check_gl [arch]
# Arch = (x86 | amd64)
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
[ "$POL_OS" = "Linux" ] || exit 0
[ "$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="$?"
# When bz2 version is not presented (was installed on specific platform)
# use on site compiled check_dd version
elif [ -e "/usr/libexec/playonlinux-check_dd" ]
then
message="$("/usr/libexec/playonlinux-check_dd")"
out="$?"
else
$cmdW "check_dd_$1 missing, test skipped"
exit 0
fi
if [ "$out" = "0" ]
then
$cmd "$message"
exit 0
else
$cmdW "$message"
exit 2
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 00000004630 13410240040 0017112 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 "$POL_USER_ROOT/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 00000002574 13410240040 0017437 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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"
shift 2
if [ ! -e "$POL_USER_ROOT/shortcuts/$app" ]; then
POL_SimpleMessage "$app is not installed."
echo "$app is not installed."
exit
fi
if [ "$doc" ]; 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
exec bash "$POL_USER_ROOT/shortcuts/$app" "$realpath" "$@"
playonlinux/bash/expert/ 0000775 0000000 0000000 00000000000 13410240040 0015650 5 ustar 00root root 0000000 0000000 playonlinux/bash/expert/Executer 0000775 0000000 0000000 00000003102 13410240040 0017356 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 00000002420 13410240040 0017316 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"
if [ "$POL_OS" = "Mac" ]; then
cat << EOF > /tmp/playOnMacOpenTerminal
#!/bin/bash
export PLAYONLINUX="$PLAYONLINUX"
source "\$PLAYONLINUX/lib/sources"
$(export)
"\$PLAYONLINUX/bash/polshell"
EOF
chmod +x /tmp/playOnMacOpenTerminal
open -b com.apple.terminal /tmp/playOnMacOpenTerminal
exit 0
fi
[ "$DEBIAN_PACKAGE" = "FALSE" ] && TITLEADD="-T $APPLICATION_TITLE"
"$POL_TERM" $TITLEADD -e "$PLAYONLINUX/bash/polshell"
playonlinux/bash/find_python 0000775 0000000 0000000 00000002420 13410240040 0016606 0 ustar 00root root 0000000 0000000 #!/usr/bin/env bash
next_python () {
if [ "$POL_PYTHON" = "$1" ]; then
# will pick the next one
POL_PYTHON=""
elif [ -z "$POL_PYTHON" ]; then
POL_PYTHON="$1"
fi
}
search_python () {
POL_PYTHON=""
while true; do
# 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"
if [ "$POL_PYTHON" = "none" ]; then
echo "Please install python before trying to run this program" 1>&2
return 1
fi
echo -n "Looking for $POL_PYTHON... " 1>&2
if [ "$(which $POL_PYTHON)" ]; then
local Version=$($POL_PYTHON --version 2>&1 |tail -n 1|sed -e 's/^Python //')
echo -n "$Version - " 1>&2
case "$Version" in
2.6|2.6.*|2.7|2.7.*)
if test_python; then
echo "selected" 1>&2
return 0
fi
echo "failed tests" 1>&2
;;
2.5|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
# Interpreter name not found
echo "" 1>&2
fi
done
}
test_python () {
"$POL_PYTHON" "$POLDIR/python/check_python.py"
}
playonlinux/bash/install 0000775 0000000 0000000 00000006273 13410240040 0015745 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 ! POL_Notice_IsAck "KEEP_DEFAULT_INSTALLER_OPTIONS" || ! POL_Notice_IsAck "DONT_BOTHER_WINEHQ"; then
POL_SetupWindow_Init
POL_SetupWindow_notice "$(eval_gettext "During a $APPLICATION_TITLE installation: \n\n - Leave the default install directory unchanged; Just make sure to install to the C: drive, which is the only one managed by $APPLICATION_TITLE. Check in the wiki how you can manage the host system disk space;\n\n - If asked, don't let the installer launch the newly installed program for you at the end of the installation;\n\n - If asked if you wish to reboot Windows immediately, you may answer Yes, but in no case should you reboot the host operating system by yourself.")" "KEEP_DEFAULT_INSTALLER_OPTIONS" "$(eval_gettext 'Please read this')"
# Distro packagers: please keep this message on your package. It's a real pain for wine devs
POL_SetupWindow_notice "$(eval_gettext "$APPLICATION_TITLE is not related to WineHQ.\n\nTo ensure that the results will be comparable from one computer to another and to avoid regressions, we specify a working Wine version for each program. This Wine version will quickly become out to date, but we won't change the installer until new tests are made and it takes time.\n\nFor those reason, please do NOT send any bug report or ask any support on WineHQ forums if you are using $APPLICATION_TITLE.\n\nIf you want to help the project to make some tests in order to avoid using out of date Wine versions, do not hesitate to go on our website.\n\nThank you.")" "DONT_BOTHER_WINEHQ" "$(eval_gettext 'Please read this')"
POL_SetupWindow_Close
fi
if [ "$menu" = "ExecLiveInstall" ]
then
exec 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 "$POL_USER_ROOT/install"
$POL_WGET "$SITE/V4_data/repository/get_file_n.php?version=PlayOn$POL_OS-$VERSION&id=$id" -O "$POL_USER_ROOT/install"
[ -e "$POL_USER_ROOT/install" ] && POL_Bash "$POL_USER_ROOT/install"
exit
fi
rm "$POL_USER_ROOT/install"
$POL_WGET "$SITE/V4_data/repository/get_file.php?version=PlayOn$POL_OS-$VERSION&id=$(POL_Website_urlparse "$menu")" -O "$POL_USER_ROOT/install"
[ -e "$POL_USER_ROOT/install" ] && POL_Bash "$POL_USER_ROOT/install"
fi
playonlinux/bash/install_wver 0000775 0000000 0000000 00000002445 13410240040 0017005 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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"
[ "$3" = "" ] && distribution="upstream" || distribution="$3"
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" "$3"
POL_SetupWindow_Close
exit 0
playonlinux/bash/installpolpackages 0000775 0000000 0000000 00000002710 13410240040 0020147 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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.
# Run a "function" script into a prefix
# Usage installpolpackages (--prefix [PrefixName]|[Shortcut Name]) [Function name]
[ "$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="$POL_USER_ROOT/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 00000002573 13410240040 0015722 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 "$POL_USER_ROOT/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 prefix in *
do
export WINEPREFIX="$POL_USER_ROOT/wineprefix/$prefix"
(POL_Wine_AutoSetVersionEnv
wineserver -k)
POL_Debug_Message "Killed $prefix"
done
fi
POL_SetupWindow_Close
playonlinux/bash/make_shortcut 0000775 0000000 0000000 00000004321 13410240040 0017137 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 "$POL_USER_ROOT/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 "$POL_USER_ROOT/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 00000020544 13410240040 0017277 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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"
}
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_TITLE 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"
POL_Wine_SelectPrefix "$PREFIXNAME"
fi
if [ "$menu" = "$LNG_LI_PATCH" ]
then
POL_SetupWindow_prefix_selector "$(eval_gettext "Please choose a program")"
PREFIXNAME="$APP_ANSWER"
POL_Wine_SelectPrefix "$APP_ANSWER"
fi
if [ "$WINEPREFIX" = "" ]
then
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 "$POL_USER_ROOT/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"
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
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" "/"
oldifs="$IFS"
IFS=/
set "$APP_ANSWER"
for i in $*
do
IFS="$oldifs"
POL_Debug_Message "POL_Call_list is calling $i"
POL_Call "$i"
done
IFS="$oldifs"
fi
[ "$POL_OS" = "Mac" ] && MEDIA_DIR="/Volumes"
if [ "$POL_OS" = "Linux" ] || [ "$POL_OS" = "FreeBSD" ]; then
MEDIA_DIR="/media"
# Ubuntu Quantal workaround
[ -d "/media/$USER" ] && MEDIA_DIR="/media/$USER"
# Fedora/Manjaro workaround
[ -d "/run/media/$USER" ] && DEVICES="/run/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"
SETUP_PATH="$APP_ANSWER"
else
run_autorun "$CHOICE"
fi
if [ "$SETUP_PATH" = "" ]
then
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"
extension=$(echo "$SETUP_PATH" | $SED 's/.*\.//g')
if [ "$extension" = "msi" ]
then
POL_Wine msiexec /i "$SETUP_PATH"
else
POL_Wine "$SETUP_PATH"
fi
POL_Wine_WaitExit
rm "$POL_USER_ROOT/tmp/shortcuts" 2> /dev/null
POL_SetupWindow_shortcut_creator "$WINEVERSIONLIVE"
POL_SetupWindow_Close
exit
playonlinux/bash/playonlinux-pkg 0000775 0000000 0000000 00000007006 13410240040 0017433 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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
OLDDIR="$PWD"
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
usage() {
local self="$(basename "$0")"
echo "$(eval_gettext "Usage: ")"
echo " $self [-b] [--browse]"
echo " $(eval_gettext " Choose a file")"
echo " $self [-e] [--extract] "
echo " $(eval_gettext " Extract the package")"
echo " $self [-i] [--install] "
echo " $(eval_gettext " Install the package")"
echo " $self [-h] [--help]"
echo " $(eval_gettext " Show this message")"
}
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
usage
elif [ "$1" = "-b" -o "$1" = "--browse" ]
then
POL_SetupWindow_Init
POL_SetupWindow_browse "$(eval_gettext 'Choose a package to install')" "$(eval_gettext 'PlayOnLinux package manager')" '' '*.pol'
POL_SetupWindow_Close
if [ -n "$APP_ANSWER" ]
then
exec bash "$PLAYONLINUX/playonlinux-pkg" -i "$APP_ANSWER" -g
fi
elif [ "$1" = "-e" -o "$1" = "--extract" ]
then
cd "$OLDDIR"
PACKAGE="$2"
TMP="$POL_USER_ROOT/tmp/"
echo ""
echo "Opening $2"
if [ ! -e "$PACKAGE" ]
then
$error_c "$(eval_gettext 'Unable to find the file: ')$2"
exit 1
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 1
fi
echo "Extracting..."
mkdir package
tar -xf "$PACKAGE" -C ./package
elif [ "$1" = "-i" -o "$1" = "--install" ]
then
cd "$OLDDIR"
PACKAGE="$2"
TMP="$POL_USER_ROOT/tmp/"
echo ""
echo "Opening $2"
if [ ! -e "$PACKAGE" ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " does not exist!")"
exit 1
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 1
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 -xf *.pol
if [ $? -eq 2 ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " isn't a valid PlayOnLinux package!")"
exit 1
fi
if [ ! -e "$TMP/pkg/playonlinux/main" ]
then
$error_c "$(eval_gettext "This file: ")$2$(eval_gettext " isn't a valid PlayOnLinux package!")"
exit 1
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...")"
else
usage
exit 1
fi
exit 0
playonlinux/bash/playonlinux-shell 0000775 0000000 0000000 00000001566 13410240040 0017766 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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
exec bash --rcfile "$PLAYONLINUX/etc/pol_bash"
playonlinux/bash/playonlinux-url_handler 0000775 0000000 0000000 00000002273 13410240040 0021152 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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"
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- > "$POL_USER_ROOT/install"
POL_Bash "$POL_USER_ROOT/install"
fi
playonlinux/bash/pol_update_list 0000775 0000000 0000000 00000011135 13410240040 0017457 0 ustar 00root root 0000000 0000000 #!/usr/bin/env bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2009 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 calls update_check to update POL
export DONT_MONITOR="TRUE"
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
config_update() # Parse get_list_v4.php output line by line on stdin
{
read totlines
# Display 10% for fetching lists, plus 90% for fetching icons
echo 0
echo -n "" > "$POL_USER_ROOT/tmp/icons_fetch_list"
local numfetch=0
local lines=0
while read line; do
[ "$line" = "" ] && break
IFS="/" read file content download_icon testing nocd free <<< "$line"
echo "$content~$testing~$nocd~$free" >> "$file"
echo "$content~$testing~$nocd~$free" >> "search"
if [ "$download_icon" = "1" -a ! -e "$POL_USER_ROOT/configurations/icones/$content" ]; then
echo "$SITE/V2_data/icones/$content" >> "$POL_USER_ROOT/tmp/icons_fetch_list"
numfetch=$(( numfetch + 1 ))
fi
lines=$(( lines + 1 ))
echo $(( lines*10/totlines ))
done
if [ $numfetch -gt 0 ]; then
echo 10
local i=0
cd "$POL_USER_ROOT/configurations/icones"
${POL_WGET/-q} -nv -nd -i "$POL_USER_ROOT/tmp/icons_fetch_list" 2>&1 |\
$SED -ue '/URL:/!d; s/^.*-> "\(.*\)".*$/\1/'|\
while read content; do
[ -e "$content" -a ! -s "$content" ] && rm "$content"
i=$(( i + 1 ))
echo $(( 10 + i*90/numfetch ))
done
else
echo 100
fi
rm "$POL_USER_ROOT/tmp/icons_fetch_list" 2>/dev/null
}
get_packages_icons() # Parse get_packages.php output line by line on stdin
{
while read line; do
content="$(echo "$line" | cut -d ":" -f 1)"
if [ ! -e "$POL_USER_ROOT/configurations/icones/$content" ]; then
echo "$SITE/V2_data/icones/$content"
fi
done > "$POL_USER_ROOT/tmp/icons_fetch_list2"
cd "$POL_USER_ROOT/configurations/icones"
${POL_WGET/-q} -nv -nd -i "$POL_USER_ROOT/tmp/icons_fetch_list2" 2>&1 |\
$SED -ue '/URL:/!d; s/^.*-> "\(.*\)".*$/\1/'|\
while read content; do
[ -e "$content" -a ! -s "$content" ] && rm "$content"
done
rm "$POL_USER_ROOT/tmp/icons_fetch_list2" 2>/dev/null
}
update_check ()
{
WEB_TIMESTAMP="$($POL_WGET "$SITE/update_mark.txt" -O- 2> /dev/null)"
LAST_TIMESTAMP="$(POL_Config_Read LAST_TIMESTAMP)"
if $POL_WGET "$SITE/V4_data/repository/get_packages.php" -O- > "$POL_USER_ROOT/configurations/POL_Functions"; then
mv "$POL_USER_ROOT/configurations/POL_Functions" "$POL_USER_ROOT/configurations/listes/POL_Functions"
cat "$POL_USER_ROOT/configurations/listes/POL_Functions" | grep ':1$' | get_packages_icons
fi
# Gecko
$POL_WGET "$GECKO_SITE/gecko.lst" -O- > "$POL_USER_ROOT/tmp/gecko.lst" && mv "$POL_USER_ROOT/tmp/gecko.lst" "$POL_USER_ROOT/configurations/listes/gecko.lst"
# Mono
$POL_WGET "$MONO_SITE/mono.lst" -O- > "$POL_USER_ROOT/tmp/mono.lst" && mv "$POL_USER_ROOT/tmp/mono.lst" "$POL_USER_ROOT/configurations/listes/mono.lst"
if [ ! "$WEB_TIMESTAMP" = "" ] && [ ! "$WEB_TIMESTAMP" = "$LAST_TIMESTAMP" ] # Skip useless updates
then
POL_Debug_Message "Web version : $WEB_TIMESTAMP"
POL_Debug_Message "Current local version : $LAST_TIMESTAMP"
POL_Debug_Message "Updating list"
mkdir -p "$POL_USER_ROOT/configurations/listes/"
cd "$POL_USER_ROOT/configurations/listes"
rm 0 1 2 3 4 5 6 7 8 9 search 2> /dev/null
touch 0 1 2 3 4 5 6 7 8 9 search
echo 0
if [ "$POL_OS" = "Linux" ]
then
$POL_WGET "$SITE/V4_data/repository/get_list_v4.php" -O- | config_update
$POL_WGET "$SITE/V4_data/repository/get_md5_list.php?playonlinux=1" -O- > md5sums
elif [ "$POL_OS" = "FreeBSD" ]
then
$POL_WGET "$SITE/V4_data/repository/get_list_v4.php" -O- | config_update
$POL_WGET "$SITE/V4_data/repository/get_md5_list.php?playonlinux=1" -O- > md5sums
else
$POL_WGET "$SITE/V4_data/repository/get_list_v4.php?playonmac=1" -O- | config_update
$POL_WGET "$SITE/V4_data/repository/get_md5_list.php?playonmac=1" -O- > md5sums
fi
POL_Config_Write LAST_TIMESTAMP "$WEB_TIMESTAMP"
else
POL_Debug_Message "List is up to date"
fi
}
update_check
playonlinux/bash/polconfigurator 0000775 0000000 0000000 00000012136 13410240040 0017507 0 ustar 00root root 0000000 0000000 #!/usr/bin/env bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2008 Pâris Quentin
# Copyright (C) 2009 Łukasz Wojniłowicz
# 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"
TITLE="$(eval_gettext '$APPLICATION_TITLE Application Configurator')"
polconfigurator_winecfg()
{
POL_Wine_AutoSetVersionEnv
wineserver -k
POL_Wine winecfg
}
polconfigurator_kprocess()
{
if [ "$1" ]; then
POL_SetupWindow_Init
POL_SetupWindow_wait_next_signal "$(eval_gettext "Killing programs in the virtual drive...")" "$TITLE"
fi
sleep 1
POL_Wine_AutoSetVersionEnv
wineserver -k
sleep 1
if [ "$1" ]; then
POL_SetupWindow_Close
fi
}
polconfigurator_regedit()
{
POL_Wine_AutoSetVersionEnv
wineserver -k
POL_Wine regedit
}
polconfigurator_wineboot()
{
POL_Wine_AutoSetVersionEnv
wineserver -k
POL_Wine wineboot
}
polconfigurator_awinecfg()
{
POL_Wine_AutoSetVersionEnv
wineserver -k
bash "$POL_USER_ROOT/plugins/Advanced Wine Configuration/scripts/menu"
}
polconfigurator_winetricks()
{
POL_Wine_AutoSetVersionEnv
wineserver -k
bash "$POL_USER_ROOT/plugins/WineTricks/scripts/menu" "$1"
}
polconfigurator_scfg()
{
POL_Wine_AutoSetVersionEnv
wineserver -k
bash "$POL_USER_ROOT/configurations/configurators/$APP"
}
polconfigurator_changeicon()
{
if [ "$1" ]; then
(convert "$1" -geometry 32X32 "$POL_USER_ROOT/icones/32/$APP" && touch "$POL_USER_ROOT/icones/32/tmp" && sleep 1 && rm "$POL_USER_ROOT/icones/32/tmp")&
exit
else
cd "$HOME/.local/share/icons/"
POL_SetupWindow_browse "$(eval_gettext "Please select an icon file")" "$(eval_gettext "Icon selection")"
iconame=$(basename "$APP_ANSWER")
extensionwithoutcase=${iconame##*.}
extension=`echo "$extensionwithoutcase" | tr '[:upper:]' '[:lower:]'`
if [ "$iconame" != "" ] && [ "$extension" = ico ] || [ "$extension" = xpm ] || [ "$extension" = png ] || [ "$extension" = jpg ] || [ "$extension" = jpeg ] || [ "$extension" = bmp ]; then
convert "$APP_ANSWER" -geometry 32X32 "$POL_USER_ROOT/icones/32/$APP"
else
POL_SetupWindow_message_image "$extension $(eval_gettext "is not an icon extension")" "$(eval_gettext "Bad file extension")" "$PLAYONLINUX/themes/tango/warning.png"
return
fi
fi
touch "$POL_USER_ROOT/icones/32/tmp"
sleep 1
rm "$POL_USER_ROOT/icones/32/tmp"
}
main_menu()
{
local LNG_CONFIGURE=$(eval_gettext "Configure Wine")
local LNG_REGISTRY=$(eval_gettext "Registry Editor")
local LNG_KPROCESS=$(eval_gettext "Kill all prefix processes")
local LNG_UPDATEPREFIX=$(eval_gettext "Update wineprefix")
local LNG_WINDOWS_REBOOT=$(eval_gettext "Simulate Windows reboot")
local LNG_APLUGIN=$(eval_gettext "Use Advanced Wine Configuration plugin")
local LNG_POLCFG=$(eval_gettext "Use PlayOnLinux's configurator for")
local LNG_CHANGEICON=$(eval_gettext 'Change the icon')
local LNG_WINETRICKS=$(eval_gettext "Use WineTricks")
# ~$LNG_UPDATEPREFIX
local ITEMS="$LNG_CONFIGURE~$LNG_REGISTRY~$LNG_KPROCESS~$LNG_WINDOWS_REBOOT~$LNG_CHANGEICON"
if [ -e "$POL_USER_ROOT/plugins/Advanced Wine Configuration" ]
then
ITEMS+="~$LNG_APLUGIN"
fi
if [ -e "$POL_USER_ROOT/plugins/WineTricks" ]
then
ITEMS+="~$LNG_WINETRICKS"
fi
if [ -e "$POL_USER_ROOT/configurations/configurators/$APP" ]
then
ITEMS+="~$LNG_POLCFG $APP"
fi
local funct=""
while [ -z "$funct" ]; do
POL_SetupWindow_menu "$(eval_gettext "Please choose an action to perform")" "$TITLE" "$ITEMS" "~"
[ "$APP_ANSWER" = "$LNG_CONFIGURE" ] && funct=winecfg
[ "$APP_ANSWER" = "$LNG_REGISTRY" ] && funct=regedit
[ "$APP_ANSWER" = "$LNG_KPROCESS" ] && funct=kprocess
# [ "$APP_ANSWER" = "$LNG_UPDATEPREFIX" ] && funct="??"
[ "$APP_ANSWER" = "$LNG_WINDOWS_REBOOT" ] && funct=wineboot
[ "$APP_ANSWER" = "$LNG_CHANGEICON" ] && funct=changeicon
[ "$APP_ANSWER" = "$LNG_APLUGIN" ] && funct=awinecfg
[ "$APP_ANSWER" = "$LNG_WINETRICKS" ] && funct=winetricks
[ "$APP_ANSWER" = "$LNG_POLCFG" ] && funct=scfg
done
redirect_to_pol_configure_function "$APP" "$funct"
}
redirect_to_pol_configure_function()
{
local APP="$1"
local FUNCTIONTORUN="$2"
shift 2
polconfigurator_"$FUNCTIONTORUN" "$@"
}
prefixe=$(detect_wineprefix "$1")
export WINEPREFIX="$prefixe"
redirect_to_pol_configure_function "$@"
exit
playonlinux/bash/polshell 0000775 0000000 0000000 00000001566 13410240040 0016121 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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
exec bash --rcfile "$PLAYONLINUX/etc/pol_bash"
playonlinux/bash/read_pc_cd 0000775 0000000 0000000 00000007636 13410240040 0016346 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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.
# PlayOnMac CD PC reader
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
TITLE="$(eval_gettext 'PC CD-ROM reader')"
POL_SetupWindow_Init
if [ ! "$POL_OS" = "Mac" ]; then
POL_SetupWindow_message "This tool is made for OSX" "$TITLE"
POL_SetupWindow_Close
exit 0
fi
POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'This tool will help your Mac to read the PC part of a CD-ROM.\n\nUse this tool ONLY if you CD-ROM is a hybride CD-ROM (Compatible with Windows and MacOS), and if you are not able to see the Windows part')"
POL_SetupWindow_menu_num "$(eval_gettext 'What do you want to do?')" "$TITLE" "$(eval_gettext 'Read a PC CD-ROM')~$(eval_gettext 'Eject a PC CD-ROM')" "~"
if [ "$APP_ANSWER" = "0" ]; then #read
POL_SetupWindow_message "$(eval_gettext 'Please insert your CD-ROM, and press next only when Finder has found the Mac OS part of your CD-ROM')" "$TITLE"
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
sleep 2
cd "/Volumes"
LIST_DEVICES_=""
for device in *
do
if [ "$LIST_DEVICES_" ]; then
LIST_DEVICES_+="~$device"
else
LIST_DEVICES_="$device"
fi
done
POL_SetupWindow_menu "$(eval_gettext 'Please choose a CD-ROM')" "$TITLE" "$LIST_DEVICES_" "~"
CDROMc="$APP_ANSWER"
POL_Debug_Message "Selecting $CDROMc to be mounted"
process()
{
search="$1"
read line
while [ "$line" ]; do
if [ "${line::5}" = "/dev/" ]; then
latest_device="$line";
fi
#echo $latest_device
if [ ! "$(grep "${search::16}" <<< $line)" = "" ]; then
echo $latest_device
break
fi
read line;
done
}
device="$(diskutil list | process "$CDROMc")"
rdevice="${device}s1"
POL_Debug_Message "Preparing to mount $rdevice"
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
mount_point="/Volumes/${CDROMc}_Windows"
mkdir "$mount_point"
if mount -t cd9660 "$rdevice" "$mount_point"; then
POL_SetupWindow_message "The PC part of your cd-rom has been successfully found and mounted.\n\nWhen you have finished, don't forget to use PlayOnMac to eject the CD-ROM before removing from your computer." "$TITLE"
POL_Open "$mount_point"
else
if rmdir "$mount_point"; then
POL_SetupWindow_message "Error: Your CD-ROM does not seem to be a hybrid Mac/PC CD-ROM" "$TITLE"
else
POL_SetupWindow_message "Windows part of your CD-ROM seems to be already mounted" "$TITLE"
fi
fi
else
cd "/Volumes"
LIST_DEVICES_=""
for device in *_Windows
do
if [ ! "$LIST_DEVICES_" = "" ]; then
LIST_DEVICES_+="~$device"
else
LIST_DEVICES_="$device"
fi
done
POL_SetupWindow_menu "$(eval_gettext 'Please choose a CD-ROM to eject')" "$TITLE" "$LIST_DEVICES_" "~"
CDROMc="$APP_ANSWER"
POL_Debug_Message "Selecting $CDROMc to be unmounted"
mount_point_1="/Volumes/${CDROMc}"
mount_point_2="/Volumes/${CDROMc/_Windows/}"
POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
umount "$mount_point_1"
diskutil eject "$mount_point_2"
rmdir "$mount_point_1"
fi
POL_SetupWindow_Close
exit 0 playonlinux/bash/run_app 0000775 0000000 0000000 00000007417 13410240040 0015744 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 is called when POL/POM runs a program.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="$APPLICATION_TITLE"
send_stat()
{
# Time
delta="$(( EndTime - StartTime ))"
# vms
vms="$(POL_Config_Read VMS)"
[ "$vms" = "" ] && vms="0"
# OpenGL32
# OpenGL64
# DISTRO
POL_LoadVar_Distro
DISTRO="${DISTRO//'~'/ }"
# Script name
ScriptName="$(cat "$PACKAGE" | grep ScriptID | cut -d '=' -f2)"
# ExitCode
if [ "$(cat "$PACKAGE" | grep '\[ "$WINEDEBUG" = "-all" \] && exit 0')" = "" ]; then
ExitCode="$1"
else
ExitCode="-1"
fi
# OS (currentOS ; 0 = linux ; 1 = Mac)
[ "$POL_OS" = "Linux" ] && currentOS="0"
[ "$POL_OS" = "Mac" ] && currentOS="1"
[ "$POL_OS" = "FreeBSD" ] && currentOS="2"
# User Report = -1
# Unique anonymous id (autorisation to edit the review)
if [ ! -e "$POL_USER_ROOT/configurations/reports/$PACKAGE" ]; then
UniqId="$(perl -e 'print int(rand(10000000000000000))')"
else
UniqId="$(cat "$POL_USER_ROOT/configurations/reports/$PACKAGE")"
fi
# Wine version
Prefix="$(POL_Shortcut_GetPrefix "$PACKAGE")"
Version="$(POL_Config_PrefixRead VERSION "$Prefix")"
PArch="$(POL_Config_PrefixRead ARCH "$Prefix")"
[ "$PArch" = "x86" ] && archty="0" || archty="1"
# AMD64
[ "$AMD64_COMPATIBLE" = "True" ] && amd64_set="1" || amd64_set="0"
if [ "$ScriptName" ]; then
# Device Infos - Could also directly use POL_DetectVideoCards for full list
POL_LoadVar_Device --non-interactive
Info="$(printf "$VendorID~$DeviceID~$currentOS~$ScriptName~$amd64_set~$OpenGL32~$OpenGL64~$Version~$ExitCode~$DISTRO~$vms~$UniqId~$archty~$PACKAGE~$VERSION~$delta" | POL_base64)"
POL_Website_GET "http://www.playonlinux.com/api/s.php?data=$(POL_Website_urlencode "$Info")"
echo "$UniqId" > "$POL_USER_ROOT/configurations/reports/$PACKAGE"
fi
}
if [ "$1" ]; then
PACKAGE="$1"
else
POL_SetupWindow_Init
POL_SetupWindow_games "$(eval_gettext "Please choose a software to run")" "$TITLE"
PACKAGE="$APP_ANSWER"
POL_SetupWindow_Close
fi
cd "$POL_USER_ROOT/shortcuts"
export POL_IgnoreWineErrors="True"
$(POL_Config_Read PRE_RUNNING)
if [ "$(POL_Config_Read DONT_KILL_ON_EXIT)" = "TRUE" ]; then
export POL_DONT_REGISTER_PID="TRUE"
fi
if [ -e "$POL_USER_ROOT/configurations/pre_shortcut/$PACKAGE" ]; then
source "$POL_USER_ROOT/configurations/pre_shortcut/$PACKAGE"
fi
shift
export COMMON_NAME="$PACKAGE"
StartTime="$(date +%s)"
bash "$PACKAGE" "$@"
ExitCode="$?"
EndTime="$(date +%s)"
if [ ! "$ExitCode" = "0" ]; then
POL_SetupWindow_Init
POL_SetupWindow_wait "$(eval_gettext '$APPLICATION_TITLE debugger is starting...')" "$TITLE"
if [ ! "$(cat "$PACKAGE" | grep 'export WINEDEBUG="-all"')" = "" ]
then
POL_Debug_ErrorSilent "$(eval_gettext '$PACKAGE crashed.\nSelect its shortcut and click on "Debug" in the side panel to get more details.')"
else
POL_Debug_ErrorSilent "$(eval_gettext '$PACKAGE crashed.')"
fi
POL_SetupWindow_Close
fi
$(POL_Config_Read POST_RUNNING)
if [ "$(POL_Config_Read SEND_REPORT)" = "TRUE" ] && [ "$DEBIAN_PACKAGE" = "FALSE" ]; then
send_stat "$ExitCode"
fi
playonlinux/bash/run_exe 0000775 0000000 0000000 00000007652 13410240040 0015746 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 script run automatically a .exe file
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
TITLE="$(eval_gettext 'Automatic installation')"
NOBUGREPORT="YES"
POL_SetupWindow_Init # Open the window no matter what
if [ "$POL_OS" = "Mac" ]; then
# PlayOnMac not initialized yet ? Wait until it's done
if [ ! -e "/Applications/Utilities/XQuartz.app" -a "$OSX_VERSION" != "11" ]; then
POL_SetupWindow_wait_next_signal "$(eval_gettext 'Waiting XQuartz to be installed')" "$TITLE"
sleep 1
#bash "$PLAYONLINUX/bash/first_use" & #### FIXME ! Tests to do
fi
while [ ! -e "/Applications/Utilities/XQuartz.app" -a "$OSX_VERSION" != "11" ]; do
sleep 1
done
fi
if [ ! "$1" = "" ]; then # Double click on an .exe, handle it
file=$(basename "$1")
line="$1"
if [ ! "${line::1}" = "/" ]; then
line="$WorkingDirectory/$line"
fi
Prefix="$(POL_Wine_GetPrefixFromPath "$line")"
if [ ! "$Prefix" = "" ]; then
POL_Debug_Message "Running into a virtual drive : $prefix"
POL_SetupWindow_Close # Pas besoin de toi
dir="$(dirname "$line")"
POL_Wine_SelectPrefix "$Prefix"
cd "$dir"
POL_Wine "$line"
exit 0
fi
else
exit 1
fi
#######################################
# Getting the MD5 sum #
#######################################
POL_SetupWindow_wait_next_signal "$(eval_gettext '$APPLICATION_TITLE is analysing your application')" "$APPLICATION_TITLE"
sleep 5 # Give some time to download the md5 signatures file
md5=$(POL_MD5_file "$line")
md5file="$POL_USER_ROOT/configurations/md5"
md5scripts="$POL_USER_ROOT/configurations/listes/md5sums"
md5sreplace=$(cat $md5scripts | grep $md5 | $SED s/" $md5"/""/)
#############################################
# Known program, use the associated script? #
#############################################
if [ ! "$(cat $md5scripts | grep $md5)" = "" ]; then
POL_SetupWindow_question "$(eval_gettext "We have detected that the program you want to install is :")\n\n$md5sreplace\n\n$(eval_gettext 'Do you want $APPLICATION_TITLE to install it automatically for you?')" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]
then
POL_SetupWindow_Close
export POL_SELECTED_FILE="$line"
export POL_SELECTED_MD5="$md5"
bash "$PLAYONLINUX/bash/install" "$md5sreplace"
exit 0
fi
fi
#######################################
# The program is not known. #
#######################################
POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'Welcome to $APPLICATION_TITLE assistant.\nIt will help you to install $file on your computer.\n\nBe careful! This program is not officially supported by $APPLICATION_TITLE.\nTherefore, it might not work as expected')"
POL_SetupWindow_textbox "$(eval_gettext 'What is the name of you program?')" "$TITLE"
PRGM_NAME="$APP_ANSWER"
PREFIX_NAME=`echo "$PRGM_NAME"| tr -c [[a-zA-Z0-9]\.] '_'`
POL_Wine_SelectPrefix "$PREFIX_NAME"
POL_Wine_PrefixCreate
POL_Wine_WaitBefore "$PRGM_NAME"
cp "$line" "$WINEPREFIX/drive_c/"
cd "$WINEPREFIX/drive_c"
POL_Wine "$(basename "$line")"
POL_Wine_WaitExit "$PRGM_NAME"
POL_SetupWindow_shortcut_creator
POL_SetupWindow_message "$(eval_gettext 'Installation finished.')" "$TITLE"
POL_SetupWindow_Close
exit 0
playonlinux/bash/startup 0000775 0000000 0000000 00000002546 13410240040 0016000 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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_Debug_Message "$APPLICATION_TITLE ($VERSION) is starting"
# POL / POM won't work without that
build_user_state_directory
# Cleaning tmp directory
clean_tmp
### Operations below are background asynchronous tasks
(
# Run XQuartz
if [ "$(POL_Config_Read VDRIVES_LINK_MADE)" = "" ]; then
POL_Config_Write VDRIVES_LINK_MADE TRUE
[ -e "$HOME/$APPLICATION_TITLE's virtual drives" ] || ln -s "$POL_USER_ROOT/wineprefix/" "$HOME/$APPLICATION_TITLE's virtual drives"
fi
) &
playonlinux/bash/startup_after_server 0000775 0000000 0000000 00000005530 13410240040 0020543 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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 (after POL server)
[ "$PLAYONLINUX" = "" ] && exit 0
[ "$POL_PORT" = "0" ] && exit 1 # I need the server here
source "$PLAYONLINUX/lib/sources"
export XQUARTZ_VERSION="2.7.11"
install_x11()
{
XQuartzUrl="http://dl.bintray.com/xquartz/downloads/XQuartz-$XQUARTZ_VERSION.dmg"
FilePrefix="XQuartz"
STEP_TITLE="XQuartz"
XQuartz_Message="$(eval_gettext "PlayOnMac needs to install XQuartz to work properly.")"
XQuartz_Message2="$(eval_gettext "PlayOnMac will help you to simplify this step")"
POL_SetupWindow_free_presentation "$STEP_TITLE" "$XQuartz_Message\n\n$XQuartz_Message2"
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
cd "$POL_USER_ROOT/tmp/"
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_SetupWindow_message "$(eval_gettext "XQuartz has been installed.")" "$STEP_TITLE"
launchctl load "/Library/LaunchAgents/org.macosforge.xquartz.startx.plist"
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 use wine properly.")" "$STEP_TITLE"
fi
}
# Plugins
install_plugins
playonlinux/bash/uninstall 0000775 0000000 0000000 00000005670 13410240040 0016310 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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.
# Uninstall a program
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
INTERACTIVE=1
if [ "$1" = "--non-interactive" ]; then
unset INTERACTIVE
shift
fi
TITLE="$(eval_gettext '$APPLICATION_TITLE Uninstaller')"
[ -n "$INTERACTIVE" ] && POL_SetupWindow_Init "$PLAYONLINUX/resources/images/setups/delete/top.png" "$PLAYONLINUX/resources/images/setups/delete/left.jpg"
if [ "$1" = "" ]; then
if [ -z "$INTERACTIVE" ]; then
echo "Syntax: $0 [--non-interactive] \"Shortcut name\"" >&2
exit 1
fi
POL_SetupWindow_shortcuts_list "$(eval_gettext 'Please select a program to uninstall')" "$TITLE"
ProgramUninstall="$APP_ANSWER"
else
ProgramUninstall="$1"
fi
APP_NAME="$POL_USER_ROOT/shortcuts/$ProgramUninstall"
if [ -e "$APP_NAME" ]
then
application_prefixe=$(detect_wineprefix "$ProgramUninstall")
delete_var=$ProgramUninstall
[ -n "$INTERACTIVE" ] && POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext "This wizard will help you to uninstall: ")$delete_var\n$(eval_gettext "Click Next to continue.")"
# Icones
rm -f "$POL_USER_ROOT/icones/32/$ProgramUninstall"
rm -f "$POL_USER_ROOT/icones/full_size/$ProgramUninstall"
rm -f "$POL_USER_ROOT/configurations/reports/$ProgramUninstall" 2> /dev/null
rm -f "$POL_USER_ROOT/configurations/links/$ProgramUninstall" 2> /dev/null
# Shortcut
rm -f "$POL_USER_ROOT/shortcuts/$ProgramUninstall"
rm -f "$HOME/.local/share/applications/playonlinux-$ProgramUninstall.desktop"
rm -f "$DESKTOP/$ProgramUninstall.desktop"
# Note: only interactive mode checks if the prefix should be removed
if [ -n "$INTERACTIVE" ]; then
POL_SetupWindow_wait "$(eval_gettext 'Uninstalling...')" "$(eval_gettext '$APPLICATION_TITLE Uninstaller')"
sleep 1
clean_wineprefix $application_prefixe
POL_SetupWindow_message "$delete_var$(eval_gettext ' has been uninstalled successfully.')" "$(eval_gettext '$APPLICATION_TITLE Uninstaller')"
fi
else
if [ -z "$INTERACTIVE" ]; then
echo "Error, shortcut $ProgramUninstall not found" >&2
exit 2
fi
POL_SetupWindow_message "$(eval_gettext "Cannot find the shortcut")" "$(eval_gettext '$APPLICATION_TITLE Uninstaller')"
fi
[ -n "$INTERACTIVE" ] && POL_SetupWindow_Close
playonlinux/bash/update_git 0000775 0000000 0000000 00000002712 13410240040 0016416 0 ustar 00root root 0000000 0000000 #!/usr/bin/env 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.
# Upgrade PlayOnLinux using git
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="$(eval_gettext '$APPLICATION_TITLE auto-updater')"
POL_SetupWindow_Init
POL_SetupWindow_wait "$(eval_gettext 'Updating $APPLICATION_TITLE from GIT...')" "$TITLE"
cd "$PLAYONLINUX"
git remote update
if LC_ALL=C git status |grep -q 'Your branch is behind'; then
POL_SetupWindow_question "$(eval_gettext 'Do you want to update and restart $APPLICATION_TITLE?')" "$TITLE"
if [ "$APP_ANSWER" = "TRUE" ]; then
git pull
POL_Restart
fi
else
POL_SetupWindow_message "$(eval_gettext 'Already up-to-date.')" "$TITLE"
fi
POL_SetupWindow_Close
playonlinux/bash/winebash 0000775 0000000 0000000 00000002676 13410240040 0016102 0 ustar 00root root 0000000 0000000 #!/usr/bin/env bash
# Copyright (C) 2007-2010 PlayOnLinux Team
# Copyright (C) 2008 Pâris Quentin
# Copyright (C) 2009 Łukasz Wojniłowicz
# 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.
# Used by Configuration window for running Wine setup commands
[ "$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')"
sleep 2
if [ "$1" = "--prefix" ]
then
shift
export WINEPREFIX="$POL_USER_ROOT/wineprefix/$1"
else
export WINEPREFIX="$(detect_wineprefix "$1")"
fi
shift
#[ "$WINEVERSION" = "" ] || POL_WINE$WINEVERSION
if [ "$1" = "wineserver" ]
then
POL_Wine_AutoSetVersionEnv
wineserver -k
else
POL_Wine $@ &
fi
POL_SetupWindow_Close
exit
playonlinux/bin/ 0000775 0000000 0000000 00000000000 13410240040 0014174 5 ustar 00root root 0000000 0000000 playonlinux/bin/check_dd_amd64.bz2 0000664 0000000 0000000 00000006253 13410240040 0017340 0 ustar 00root root 0000000 0000000 BZh91AY&SY
5 xwMyo_
u]ޞgw^ٙpk[ns"hi<&ɨQO)