Bug#825395: winetricks: Remove wine versioned dependence to prevent conflicts with alternative wine

2016-09-20 Thread Jens Reyer
control: tags -1 + patch

Hi Joseph,

On 05/28/2016 10:49 PM, Joseph Bisch wrote:
> I'll make the "Depends" line be:
> 
>  wine | wine-development,
> 
> and the "Recommends" line be:
> 
>  wine (>= 1.8-2) | wine-development (>= 1.9.1-1),

This is probably indeed the correct setup to reflect all
recommendations. But in practice this doesn't enforce specific versions
(which is indeed wanted in order to allow one to install alternative
Wine packages), and I never saw this kind of setup for any other packages.

In a recent discussion on debian-devel [1] it was stated that version
requirements in the packaging should only ensure that the package may be
built, and no severe (data-loss) things happen. However ensuring a fully
bug-free runtime environment is beyond what can be sensibly done in
d/control. We saw that in winetricks already.

wine-development (stretch/sid/jessie-backports) employs the alternatives
system for wine, so with wine-development installed /usr/bin/wine and
/usr/bin/wineserver exist, which is what winetricks requires.
To reflect this fact that wine-development is now a full replacement for
wine it now has a "Provides: wine" in d/control.

Long story short: I suggest to remove every Wine related dependency
except an unversioned "Depends: wine". See attached patch, based on your
0.0+20160425-2 (uploaded to mentors.do on 2016-05-28 21:26).

Greets
jre

[1] Adding version constraints in dependencies to avoid bugs,
https://lists.debian.org/debian-devel/2016/09/msg00355.html
diff --git a/debian/control b/debian/control
index 327f613..faacb05 100644
--- a/debian/control
+++ b/debian/control
@@ -19,17 +19,15 @@ Depends:
  p7zip,
  unzip,
  wget,
- wine | wine-development,
+ wine,
  zip,
  ${misc:Depends}
 Recommends:
  sudo | gksu,
- wine (>= 1.8-2) | wine-development (>= 1.9.1-1),
  xdg-utils,
  zenity | kdebase-bin
 Suggests:
  aria2,
- libwine,
  tor
 Description: package manager for WINE to install software easily
  A POSIX shell script 'package manager' for WINE to install some


Bug#825395: winetricks: Remove wine versioned dependence to prevent conflicts with alternative wine

2016-05-28 Thread Joseph Bisch
I'll make the "Depends" line be:

 wine | wine-development,

and the "Recommends" line be:

 wine (>= 1.8-2) | wine-development (>= 1.9.1-1),

I'll get a -2 version with those changes to my sponsor soon.

Cheers,
Joseph



Bug#825395: winetricks: Remove wine versioned dependence to prevent conflicts with alternative wine

2016-05-27 Thread Jens Reyer
Hi,

I had suggested that change to make sure that the installed wine package
works flawlessly in any respect with winetricks. First off, this isn't
fail-proof either, because this is a "or" dpendency (e.g. you might
install a recent wine-development next to an ancient and problematic
wine package).

However imo none of the issues in older Debian wine(-development)
packages were critical, and there are known workarounds for them.
Basically we would need an unversioned "Depends" on wine(-development),
and a versioned "Recommends".

Given this, and  that the version constraints are met anyway in Debian
stretch/sid, it wouldn't do us harm to remove them again. Sorry for the
short-sighted advice, Joseph.

As benefit of removing the constraints again, users might e.g. install
winetricks on jessie (if we'd go for offical jessie-backports we might
restore some of the just dropped documentation in there).

Greets
jre



Bug#825395: winetricks: Remove wine versioned dependence to prevent conflicts with alternative wine

2016-05-26 Thread Pavel Reznicek
Package: winetricks
Version: 0.0+20160425-1
Severity: wishlist

Dear Maintainer,

  with the recent update in the debian control file, winetricks does not allow
to coexist with alternave wine packages (in my case winehq-staging). It is the
versioned dependence:

wine (>= 1.8-2)

which causes that winehq-staging, although having "Provides: wine", does not
satisfy the condition above anymore.

Would it be possible to remove the (>= 1.8-2) condition from the debian/control
file, or does it break something else ?

Thanks,
Pavel



-- System Information:
Debian Release: stretch/sid
  APT prefers testing-proposed-updates
  APT policy: (840, 'testing-proposed-updates'), (840, 'testing'), (740, 
'unstable'), (738, 'experimental'), (540, 'proposed-updates'), (540, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.6.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages winetricks depends on:
ii  cabextract 1.6-1
ii  p7zip  15.14.1+dfsg-2
ii  unzip  6.0-20
ii  wget   1.17.1-2
ii  winehq-staging [wine]  1.9.10~stretch
ii  zip3.0-11

Versions of packages winetricks recommends:
ii  gksu   2.0.2-9
ii  sudo   1.8.15-1.1
ii  xdg-utils  1.1.1-1
ii  zenity 3.20.0-1

Versions of packages winetricks suggests:
pn  aria2
pn  libwine  
pn  tor  

-- no debconf information