[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#391672: quanta: Recommonds non-free and transitional phpdoc

Package: quanta
Version: 4:3.5.4-1
Severity: serious


I was cleaning out my system today and noticed that quanta recommends
phpdoc, which is a transitional package.  Presumably this should be
changed to php-doc instead.

However: I then noticed that php-doc is in non-free, which is more of a
problem (and which is why I've marked this serious) -- policy states that
packages in main cannot recommend or depend on contrib/non-free packages.

I'm not sure what the correct solution is here; it's been some time
since I was working with quanta.  IIRC, in the days when I looked after
it the recommends was to keep the documentation pane behaving itself.
What happens is that quanta ships with php.docrc, which provides the
index; thus the documentation pane gives you a full table of contents
that you can navigate around, whether the real docs are actually installed
or not.

I guess the easiest solution is downgrade this to a suggests, and leave
a note somewhere for the user to read explaining how to fix the "file
not found" errors in the documentation pane (solution: install php-doc).

Hmm.  Actually -- having looked at this now, you get file not found even
if php-doc _is_ installed.  This is because the
/usr/share/apps/quanta/doc/php symlink is broken (it points into the
old /usr/share/doc/phpdoc instead of the new /usr/share/doc/php-doc).
Thus even if the user does have php-doc installed, the documentation pane
will refuse to show it to them.

So.. apologies for the stream of consciousness here (and for what has
turned out to be two bug reports in one); I'm kind of rushed ATM.  My
suggested solution is:

1. Change "Recommends: phpdoc" to "Suggests: php-doc" (note that both
   the relationship and the package name have changed);
2. Add a note to README.Debian explaining what to do if you get
   file-not-found errors in your documentation pane (solution is to
   install the relevant doc package);
3. Fix the /usr/share/apps/quanta/doc/php symlink to point to
   /usr/share/doc/php-doc/html instead of /usr/share/doc/phpdoc/html .

Step (1) will be enough to fix the RC element of this bug, but steps
(2) and (3) are easily done at the same time.

Thanks - Ben.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages quanta depends on:
ii  kdelibs4c2a                4:3.5.4-3     core libraries and binaries for al
ii  kfilereplace               4:3.5.4-1     batch search-and-replace component
ii  klinkstatus                4:3.5.4-1     web link validity checker for KDE
ii  kommander                  4:3.5.4-1     visual dialog builder and executor
ii  libacl1                    2.2.41-1      Access control list shared library
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libattr1                   2.4.32-1      Extended attribute shared library
ii  libaudio2                  1.8-2         The Network Audio System (NAS). (s
ii  libc6                      2.3.6.ds1-4   GNU C Library: Shared libraries
ii  libcvsservice0             4:3.5.4-1     DCOP service for accessing CVS rep
ii  libfam0                    2.7.0-10      Client library to control the FAM 
ii  libfontconfig1             2.4.0-5       generic font configuration library
ii  libfreetype6               2.2.1-5       FreeType 2 font engine, shared lib
ii  libgcc1                    1:4.1.1-13    GCC support library
ii  libice6                    1:1.0.1-2     X11 Inter-Client Exchange library
ii  libidn11                   0.6.5-1       GNU libidn library, implementation
ii  libjpeg62                  6b-13         The Independent JPEG Group's JPEG 
ii  libpcre3                   6.4-2         Perl 5 Compatible Regular Expressi
ii  libpng12-0                 1.2.8rel-5.2  PNG library - runtime
ii  libqt3-mt                  3:3.3.6-4     Qt GUI Library (Threaded runtime v
ii  libsm6                     1:1.0.1-2     X11 Session Management library
ii  libstdc++6                 4.1.1-13      The GNU Standard C++ Library v3
ii  libx11-6                   2:1.0.0-9     X11 client-side library
ii  libxcursor1                1.1.7-4       X cursor management library
ii  libxext6                   1:1.0.1-2     X11 miscellaneous extension librar
ii  libxft2               FreeType-based font drawing librar
ii  libxi6                     1:1.0.1-3     X11 Input extension library
ii  libxinerama1               1:1.0.1-4.1   X11 Xinerama extension library
ii  libxml2                    2.6.26.dfsg-3 GNOME XML library
ii  libxrandr2                 2:   X11 RandR extension library
ii  libxrender1                1:0.9.1-3     X Rendering Extension client libra
ii  libxslt1.1                 1.1.17-4      XSLT processing library - runtime 
ii  libxt6                     1:1.0.2-2     X11 toolkit intrinsics library
ii  quanta-data                4:3.5.4-1     data files for Quanta Plus web dev
ii  tidy                       20051018-1    HTML syntax checker and reformatte
ii  zlib1g                     1:1.2.3-13    compression library - runtime

Versions of packages quanta recommends:
ii  cervisia                      4:3.5.4-1  a graphical CVS front end for KDE
ii  docbook-defguide              2.0.8-2    DocBook: The Definitive Guide - HT
ii  gnupg                         1.4.5-1    GNU privacy guard - a free PGP rep
ii  kompare                       4:3.5.4-1  a KDE GUI for viewing differences 
ii  kxsldbg                       4:3.5.4-1  graphical XSLT debugger for KDE
ii  phpdoc                        20060408-1 Transition package for PHP4 and PH
ii  wdg-html-reference            4.0-2      WDGs HTML 3.2, HTML 4, and CSS ref

-- no debconf information

Reply to: