priority 538710 wishlist tags 538710 + wontfix kthxbye Markus Heberling dijo [Sun, Jul 26, 2009 at 02:19:41PM +0200]: > Package: dh-make-drupal > Version: 0.4-2 > > The dh-make-drupal script generates the Depends-field for a module. > Below is the generated Metadata dor the calendar module. > mar...@bespin:~$ dpkg -I drupal6-mod-calendar_2.1-1_all.deb > (...) > Depends: drupal6, drupal6-mod-views, drupal6-mod-date-api, > drupal6-mod-date-timezone > (...) > As you can see it generated dependencys for drupal6-mod-date-api, > drupal6-mod-date-timezone. The date module fullfills these dependencys, but > dh-make-drupal does not generate the > coresponding Provides section:
Umh... I am unsure about this, as it would create huge amounts of provides: relations which would be meaningless. This program aims at helping you create Debian packages out of Drupal modules, but cannot replace a human. To back my position, I checked how many modules does each of my packaged Drupal modules provide: for i in $(dpkg --get-selections|grep drupal6-mod|awk '{print $1}'); do dpkg -L $i | grep '\.module$' | wc -l;done | sort|uniq -c 21 1 5 2 1 3 1 4 3 5 1 6 2 9 So, even if most modules in this (small) sample do provide only one module, I have two installed on my system which provide 9! In any case, I would like doing just the opposite: Instead of providing too many unneeded packages, I would like the packages to depend on the right modules. There must be enough information in Drupal to do this - How does 'calendar' solve this? When you install (by hand) 'calendar', how do you know you should not search for date-api and date-timezone but just date instead? Greetings, -- Gunnar Wolf • gw...@gwolf.org • (+52-55)5623-0154 / 1451-2244 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org