tk8.5 required but any versions of tk satisfy Depends

Bug #1068509 reported by IRIE Shinsuke
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
wavesurfer (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

In debian/control, wavesurfer depends on "tk8.5 | wish". This dependency is satisfied by any version of tk such as tk8.4.

However, wavesurfer actually can run only with tk8.5 because the program starts wish8.5 as follows:

  exec wish8.5 "$0" "$@"

so, if tk8.4 is installed, wavesurfer can be installed without tk8.5 but it fails to start like below:

$ wavesurfer
/usr/share/tcltk/wavesurfer/app-wavesurfer/wavesurfer.tcl: 3: exec: wish8.5: not found
$

I think "wish" should be removed from Dpepends to avoid the error.

Ubuntu 12.10
wavesurfer 1.8.8p3-1ubuntu1

IRIE Shinsuke (irie)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in wavesurfer (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wavesurfer - 1.8.8p4-3ubuntu1

---------------
wavesurfer (1.8.8p4-3ubuntu1) vivid; urgency=medium

  * Merge from Debian unstable. Remaining changes:
    - debian/{wavesurfer.desktop,rules}: Add and install a .desktop file.
  * Debian removed wish from Depends (LP: #1068509).

wavesurfer (1.8.8p4-3) unstable; urgency=medium

  * Fix broken initialisation of (Prefs,PrintCmd). This appears to have been
    silently broken since at least since 1.8.5, but now explodes with the new
    tk 8.5.15-4 when the Preferences Dialog is opened.

  * Remove the 'Defaults' and 'Apply' buttons from the Preferences Dialog.
    The SetDefaultPrefs function was 'obsoleted' between 1.8.5 and 1.8.8, so
    pressing that button just throws an error. The ApplyPreferences function
    was changed some time before 1.8.8 to clear the Info(Prefs,t,*) keys, so
    pressing it clears all the current values from the dialog, and it doesn't
    actually save them to the config file until you press Ok anyway, so avoid
    the disturbing visual and just simplify it to the choice of Ok or Cancel.

  * Fix the operation of "Make this the default configuration" when the Ogg
    plugin is present. That option is offered if no configuration file is
    present, and before the wsurf::ogg option 't' keys have been set, so it
    fails trying to write out the preferences when Info(t,quality) is read.
    Info(quality) et al. are initialised when the plugin is first loaded
    though, so just test if the 't' keys are set before using them.
    This would silently fail "successfully" with older tk, but now it throws
    an error with more recent versions. Closes: #738703

  * Drop some debug verbiage that ordinary users don't care to see on the
    console.

  * Make the "no drag and drop support" message explain that you can get it
    if you install tkdnd, which we now also Suggest.

  * Drop wish as an alternative to tk8.5, this doesn't currently work with
    tk8.6 and I haven't yet looked at what will be needed to make it do so.
 -- Logan Rosen <email address hidden> Sun, 16 Nov 2014 23:51:34 -0500

Changed in wavesurfer (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.