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

Bug#687001: marked as done (ITP: optional-dev -- fake (empty) dev package)



Your message dated Sun, 9 Sep 2012 11:28:12 +1000
with message-id <201209091128.13220.onlyjob@member.fsf.org>
and subject line Done: ITP: optional-dev -- fake (empty) dev package
has caused the Debian Bug report #687001,
regarding ITP: optional-dev -- fake (empty) dev package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
687001: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=687001
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wnpp
Severity: wishlist
X-Debbugs-CC: debian-devel@lists.debian.org

   Package name: optional-dev
        Version: 20120908
         Author: Dmitry Smirnov <onlyjob@member.fsf.org>
        License: GPL-3+
    Description: fake (empty) dev package
                 Purpose of this package is to provide an alternative for optional build
                 dependencies which may not be available on some architectures.

########

There are situations when some of the libraries listed in Build-Depends
are optional i.e. build system is smart enough to avoid failure when
such library is missing.

Often some development libraries are not available on all architectures
in which case maintainer should know beforehand which architectures may
satisfy this dependency and maintain an up-to-date list of architectures
for such packages, like in the following example:

    Build-Depends: libchamplain-gtk-0.12-dev [!m68k !sh4],
                   libopenipmi-dev [!hurd-any !arm]

From time to time such lists should be re-checked in case library become
available on another architecture or when new architecture is added or
if package is removed from some architectures.

Another challenge is backporting package if some of its optional build
dependencies may not be available on target distribution. For instance
"libchamplain-gtk-0.12-dev" is not available for Squeeze so backporting
would require removing it from Build-Depends.

Finally maintainer might want to mark optional dependencies as such (can
be done with comments).

All the above problems may be addressed by using this package as
alternative to optional build dependency like in the example below:

    Build-Depends: libchamplain-gtk-0.12-dev | optional-dev,
                   libopenipmi-dev | optional-dev

--- End Message ---
--- Begin Message ---
Closing as not feasible. 

Thanks to all those who provided a valuable feedback.

Regards,
Dmitry.

Attachment: optional-dev_20120908.tar.gz
Description: application/compressed-tar

Attachment: optional-dev_20120908.dsc
Description: PGP signature


--- End Message ---

Reply to: