From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../files/playonlinux-4.2.4-binary-plugin.patch | 17 +++++++++++ .../files/playonlinux-4.2.4-pol-bash.patch | 35 ++++++++++++++++++++++ .../playonlinux-4.2.6-stop-update-warning.patch | 17 +++++++++++ app-emulation/playonlinux/files/playonlinux-pkg.1 | 33 ++++++++++++++++++++ app-emulation/playonlinux/files/playonlinux.1 | 33 ++++++++++++++++++++ 5 files changed, 135 insertions(+) create mode 100644 app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch create mode 100644 app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch create mode 100644 app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch create mode 100644 app-emulation/playonlinux/files/playonlinux-pkg.1 create mode 100644 app-emulation/playonlinux/files/playonlinux.1 (limited to 'app-emulation/playonlinux/files') diff --git a/app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch b/app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch new file mode 100644 index 000000000000..d5d3727e9fb0 --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-4.2.4-binary-plugin.patch @@ -0,0 +1,17 @@ +Description: Remove binary code from the package + Upstream ships a binary plugin in the archive. This plugin is not necessary to + get PlayOnLinux working and it still can be downloaded from upstream. +Forwarded: not-needed +Author: Bertrand Marc +--- a/plugins/plugins.lst ++++ b/plugins/plugins.lst +@@ -21,9 +21,6 @@ + + ## in fact empty line is also ignored because it's more easy to read =) + +-##Capture +-capture;Capture_2.4.3.pol;Capture;enable;2.4.3;11;1;0 +- + ##Screencap + screencap;ScreenCap_0.0.4.pol;ScreenCap;enable;0.0.4;1;1;1 + diff --git a/app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch b/app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch new file mode 100644 index 000000000000..f9b3e2b81c29 --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-4.2.4-pol-bash.patch @@ -0,0 +1,35 @@ +diff --git a/etc/pol_bash b/etc/pol_bash +index 7911f05..bd891e4 100644 +--- a/etc/pol_bash ++++ b/etc/pol_bash +@@ -29,7 +29,15 @@ export HISTCONTROL=ignoreboth + shopt -s checkwinsize + + # make less more friendly for non-text input files, see lesspipe(1) +-[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)" ++less_pipe_cmd=$(lesspipe 2> /dev/null) ++if [ "$less_pipe_cmd" == export* ]; then ++ eval "$(lesspipe)" ++else ++ if [ -x /usr/bin/lesspipe ]; then ++ export LESSOPEN='| lesspipe %s' ++ fi ++fi ++unset less_pipe_cmd + + # set variable identifying the chroot you work in (used in the prompt below) + if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then +@@ -73,7 +81,9 @@ fi + # enable programmable completion features (you don't need to enable + # this, if it's already enabled in /etc/bash.bashrc and /etc/profile + # sources /etc/bash.bashrc). +-if [ -f /etc/bash_completion ]; then +- . /etc/bash_completion +-fi +- ++for bashcomp in /etc/{bash_completion,profile.d/bash-completion.sh}; do ++ if [ -r "$bashcomp" ]; then ++ . "$bashcomp" ++ fi ++done ++unset bashcomp diff --git a/app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch b/app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch new file mode 100644 index 000000000000..f5cf055f84bc --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-4.2.6-stop-update-warning.patch @@ -0,0 +1,17 @@ +# This patch enables the $DEBIAN_PACKAGE variable for playonlinux. +# The changes are described in the source comments below. +# The flag is unfortnuately named debian, however the +# benefits apply to any package management system. +# Patch written by Adam Mills + +--- a/python/lib/Variables.py 2013-08-10 22:19:46.053365072 -0400 ++++ b/python/lib/Variables-patched.py 2013-08-10 22:17:58.275881842 -0400 +@@ -26,7 +26,7 @@ + # Debian packagers should switch this to TRUE + # It will disable update alerts, bug reports, statistics + # It will set the good locale directory, and it will use the good msttcorefonts +-os.environ["DEBIAN_PACKAGE"] = "FALSE" ++os.environ["DEBIAN_PACKAGE"] = "TRUE" + + # Variables PlayOnMac + if (os.environ["POL_OS"] == "Mac"): diff --git a/app-emulation/playonlinux/files/playonlinux-pkg.1 b/app-emulation/playonlinux/files/playonlinux-pkg.1 new file mode 100644 index 000000000000..b96a8dc921da --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux-pkg.1 @@ -0,0 +1,33 @@ +.TH PLAYONLINUX-PKG 1 "February 6, 2009" + +.SH NAME +playonlinux-pkg \- tool to manage playonlinux packages + +.SH SYNOPSIS +.B playonlinux-pkg +.RI [ options ] +.RI [ package ] + +.SH DESCRIPTION +.B playonlinux-pkg +is a tool to install or manage the playonlinux packages + +.SH OPTIONS +.TP +.I "-b, --browse" + Choose a file. +.TP +.I "-e, --extract" + Extract the package. +.TP +.I "-i, --install" + Install the package. +.TP +.I "-h, --help" + Show usage. + +.SH AUTHOR +playonlinux was written by Quentin Pâris . +.PP +This manual page was written by Bertrand Marc , +for the Debian project (but may be used by others). diff --git a/app-emulation/playonlinux/files/playonlinux.1 b/app-emulation/playonlinux/files/playonlinux.1 new file mode 100644 index 000000000000..63c499be7327 --- /dev/null +++ b/app-emulation/playonlinux/files/playonlinux.1 @@ -0,0 +1,33 @@ +.TH PLAYONLINUX 1 "February 6, 2009" + +.SH NAME +PlayOnLinux \- front-end for Wine + +.SH SYNOPSIS +.B playonlinux +.RI [ options ] + +.SH DESCRIPTION +.B PlayOnLinux +is a front-end for Wine. It allows you to easily install and use numerous games and software designed to run with Microsoft®'s Windows®. +.br +Few games are compatible with GNU/Linux at the moment and it certainly is a factor preventing the migration to this system. +.P +.B PlayOnLinux +performs installations in +.I ~/.PlayOnLinux +and uses separate Wine prefixes to avoid conflicts between applications. + +.SH OPTIONS +.TP +.I --version + Show version number and exit. +.TP +.I "--run " + Run directly the specified program. + +.SH AUTHOR +playonlinux was written by Quentin Pâris . +.PP +This manual page was written by Bertrand Marc , +for the Debian project (but may be used by others). -- cgit v1.2.3