]> err.no Git - dpkg/log
dpkg
17 years agoBump version to 1.14.13~
Guillem Jover [Thu, 29 Nov 2007 05:08:57 +0000 (07:08 +0200)]
Bump version to 1.14.13~

17 years agoRelease 1.14.12
Guillem Jover [Thu, 29 Nov 2007 04:22:50 +0000 (06:22 +0200)]
Release 1.14.12

17 years agoRegenerate .pot files and merge .po files with them
Guillem Jover [Thu, 29 Nov 2007 04:13:32 +0000 (06:13 +0200)]
Regenerate .pot files and merge .po files with them

17 years agodpkg-scanpackages: Use Dpkg::Versions instead of dpkg --compare-versions
Guillem Jover [Thu, 29 Nov 2007 03:16:27 +0000 (05:16 +0200)]
dpkg-scanpackages: Use Dpkg::Versions instead of dpkg --compare-versions

17 years agodpkg-scanpackages: Use the Dpkg::ErrorHandling instead of die and sprintf
Guillem Jover [Thu, 29 Nov 2007 03:05:21 +0000 (05:05 +0200)]
dpkg-scanpackages: Use the Dpkg::ErrorHandling instead of die and sprintf

17 years agodpkg-gencontrol: Unify parsing of Section and Priority fields with Homepage
Guillem Jover [Thu, 29 Nov 2007 02:45:34 +0000 (04:45 +0200)]
dpkg-gencontrol: Unify parsing of Section and Priority fields with Homepage

17 years agodpkg-gencontrol (spfileslistvalue): Add prototype, move to the top of the file
Guillem Jover [Thu, 29 Nov 2007 02:26:51 +0000 (04:26 +0200)]
dpkg-gencontrol (spfileslistvalue): Add prototype, move to the top of the file

17 years agoMove extern declarations to header files and stop defining them as extern
Guillem Jover [Thu, 29 Nov 2007 03:52:24 +0000 (05:52 +0200)]
Move extern declarations to header files and stop defining them as extern

17 years agoDefine several private functions and variables as static
Guillem Jover [Thu, 29 Nov 2007 02:17:58 +0000 (04:17 +0200)]
Define several private functions and variables as static

17 years agodpkg-gensymbols: override the check level with an environment variable
Raphael Hertzog [Wed, 28 Nov 2007 14:44:32 +0000 (15:44 +0100)]
dpkg-gensymbols: override the check level with an environment variable

* scripts/dpkg-gensymbols.pl: The environment variable
DPKG_GENSYMBOLS_CHECK_LEVEL can override the level of checks made by
dpkg-gensymbols. This offers the possibility to unofficial ports to ignore
errors due to symbols files that do not correspond.

17 years agodpkg-shlibdeps(1): expand manual page with explanations concerning failures
Raphael Hertzog [Wed, 28 Nov 2007 13:58:55 +0000 (14:58 +0100)]
dpkg-shlibdeps(1): expand manual page with explanations concerning failures

* scripts/dpkg-shlibdeps.pl: Harmonize a failure message.
* man/dpkg-shlibdeps.1: Provide explanations concerning the two
failures that dpkg-shlibdeps might generate. This is needed so
that maintainers have an idea of what to do to fix the problems.

17 years agodpkg-shlibdeps: do not fail if it can't find unversioned libraries
Raphael Hertzog [Sun, 25 Nov 2007 15:54:20 +0000 (15:54 +0000)]
dpkg-shlibdeps: do not fail if it can't find unversioned libraries

Skip the check on symbols when some libs were not found because one
can not be sure that the symbols was not provided by the missing
library. Also improve the corresponding error message which is
downgraded to a warning for unversioned libraries.

17 years agodpkg-shlibdeps: Always try the realpath of the lib as fallback to identify the associ...
Raphael Hertzog [Wed, 28 Nov 2007 09:33:53 +0000 (10:33 +0100)]
dpkg-shlibdeps: Always try the realpath of the lib as fallback to identify the associated package

* scripts/dpkg-shlibdeps.pl (find_packages): Make sure to always
  return [''] for a miss in the 'dpkg -S' query.
* scripts/dpkg-shlibdeps.pl: Always try the realpath($lib) as
  fallback to identify the package (even if it's not a symlink)
  because due to broken RPATH we might get library filenames such as
  "/usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/libssl.so.9.8"
  which is not a symlink and which can still be simplified to
  "/usr/lib/libssl.so.9.8" with realpath().

17 years agoFix style of code in dpkg-gensymbols/dpkg-shlibdeps. Also fix changelogs.
Raphael Hertzog [Sun, 25 Nov 2007 17:39:37 +0000 (17:39 +0000)]
Fix style of code in dpkg-gensymbols/dpkg-shlibdeps. Also fix changelogs.

17 years agoDpkg::Shlibs::find_library() now returns canonicalized paths
Raphael Hertzog [Sun, 25 Nov 2007 17:06:30 +0000 (17:06 +0000)]
Dpkg::Shlibs::find_library() now returns canonicalized paths

17 years agodpkg-gensymbols: Add new -I<file> option to force usage of a particular symbols file
Raphael Hertzog [Sat, 24 Nov 2007 21:18:08 +0000 (22:18 +0100)]
dpkg-gensymbols: Add new -I<file> option to force usage of a particular symbols file

17 years agoBump version to 1.14.12~
Guillem Jover [Sat, 24 Nov 2007 05:38:57 +0000 (07:38 +0200)]
Bump version to 1.14.12~

17 years agoRelease 1.14.11
Guillem Jover [Sat, 24 Nov 2007 05:20:27 +0000 (07:20 +0200)]
Release 1.14.11

17 years agoFix distclean by only running a chmod if the target dir exists
Guillem Jover [Sat, 24 Nov 2007 05:18:30 +0000 (07:18 +0200)]
Fix distclean by only running a chmod if the target dir exists

17 years agoChangeLog police night shift
Guillem Jover [Sat, 24 Nov 2007 05:01:45 +0000 (07:01 +0200)]
ChangeLog police night shift

17 years agoDeclare more variables in perl scripts with 'my' instead of 'our'
Guillem Jover [Sat, 24 Nov 2007 03:48:50 +0000 (05:48 +0200)]
Declare more variables in perl scripts with 'my' instead of 'our'

17 years agoDpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch
Guillem Jover [Sat, 24 Nov 2007 03:42:12 +0000 (05:42 +0200)]
Dpkg::Arch: Do not shadow $gcc_host_gnu_type inside get_raw_host_arch

17 years agodpkg-scanpackages: Properly support an optional override file
Guillem Jover [Sat, 24 Nov 2007 03:32:56 +0000 (05:32 +0200)]
dpkg-scanpackages: Properly support an optional override file

17 years agodpkg-scanpackages: Do not require controllib.pl anymore
Guillem Jover [Sat, 24 Nov 2007 03:23:32 +0000 (05:23 +0200)]
dpkg-scanpackages: Do not require controllib.pl anymore

17 years agoSet proper authorship in ChangeLog
Guillem Jover [Sat, 24 Nov 2007 03:20:29 +0000 (05:20 +0200)]
Set proper authorship in ChangeLog

The author for commit 0d3c61deb475b1fd731bfea5d8d47a4574db8c7b is still
wrong...

17 years agodpkg-shlibdeps: optimize "dpkg -S" lookups by caching results
Raphael Hertzog [Fri, 23 Nov 2007 21:41:29 +0000 (22:41 +0100)]
dpkg-shlibdeps: optimize "dpkg -S" lookups by caching results

17 years agodpkg-shlibdeps: report the full path of the library in the failure for missing depend...
Raphael Hertzog [Fri, 23 Nov 2007 15:18:08 +0000 (16:18 +0100)]
dpkg-shlibdeps: report the full path of the library in the failure for missing dependency info

17 years agodpkg-shlibdeps: limit the number of warnings displayed
Raphael Hertzog [Fri, 23 Nov 2007 14:59:17 +0000 (15:59 +0100)]
dpkg-shlibdeps: limit the number of warnings displayed

limit the number of warnings displayed about symbols not found in
libraries to 10 per binary.

17 years agodpkg-shlibdeps: add some cases where the lack of dependency information is ignored
Raphael Hertzog [Fri, 23 Nov 2007 09:46:37 +0000 (10:46 +0100)]
dpkg-shlibdeps: add some cases where the lack of dependency information is ignored

Look for libs in the package's build tree even if that package doesn't
contain an shlibs file. Then don't complain about missing dependency
information if the lib is in the same package than the binary. Also ignore
it if the library is not versionned and can't have an shlibs file.

17 years agoBump version to 1.14.11~
Guillem Jover [Fri, 23 Nov 2007 04:51:21 +0000 (06:51 +0200)]
Bump version to 1.14.11~

17 years agoRelease 1.14.10
Guillem Jover [Fri, 23 Nov 2007 04:32:55 +0000 (06:32 +0200)]
Release 1.14.10

17 years agoDpkg::Arch: Make get_host_arch and get_build_arch read from the environment
Guillem Jover [Fri, 23 Nov 2007 02:42:25 +0000 (04:42 +0200)]
Dpkg::Arch: Make get_host_arch and get_build_arch read from the environment

All scripts calling get_host_arch are expected to support getting the
value overriden by the environment when cross building. Except for
dpkg-architecture, which needs more fine grained control, and calls
directly the get_raw_ functions.

17 years agodpkg-architecture: use a hash instead of independent variables
Guillem Jover [Fri, 23 Nov 2007 02:40:01 +0000 (04:40 +0200)]
dpkg-architecture: use a hash instead of independent variables

Reduce the code by using a hash to store the build and host architecture
values, and the values of @ordered as keys.

17 years agodpkg-gensymbols: Remove duplicated declaration of @librarypaths
Guillem Jover [Fri, 23 Nov 2007 02:39:05 +0000 (04:39 +0200)]
dpkg-gensymbols: Remove duplicated declaration of @librarypaths

17 years agoDpkg::Fields: Declare private variable with 'my' instead of 'our'
Guillem Jover [Fri, 23 Nov 2007 02:38:06 +0000 (04:38 +0200)]
Dpkg::Fields: Declare private variable with 'my' instead of 'our'

17 years agodpkg-name: Add support for Package-Type
Guillem Jover [Thu, 22 Nov 2007 02:12:16 +0000 (04:12 +0200)]
dpkg-name: Add support for Package-Type

17 years agodpkg-source: fix regex used to identify extension of .orig tarball
Raphael Hertzog [Thu, 22 Nov 2007 17:35:34 +0000 (18:35 +0100)]
dpkg-source: fix regex used to identify extension of .orig tarball

Regex special meta-characters (mainly like "+" in versions) embedded in $basename
made the regex fail which resulted in unwanted upgrade of source packages to
Format: 2.0.

17 years agoDpkg::Shlibs: Always consider all paths from LD_LIBRARY_PATH
Raphael Hertzog [Thu, 22 Nov 2007 11:22:14 +0000 (12:22 +0100)]
Dpkg::Shlibs: Always consider all paths from LD_LIBRARY_PATH

Paths listed in LD_LIBRARY_PATH were not added at the beginning of the search
path if they were part of the default search paths. Remove this restriction
so that it's possible to change the search order in default paths by using
this variable.

17 years agodpkg-shlibdeps: try harder to identify the package providing a library
Raphael Hertzog [Thu, 22 Nov 2007 11:16:56 +0000 (12:16 +0100)]
dpkg-shlibdeps: try harder to identify the package providing a library

If the library is an unpackaged symlink, then try to identify the package
via the realpath associated to the symlink.

17 years agodpkg-shlibdeps: accepts empty dependencies in shlibs files
Raphael Hertzog [Thu, 22 Nov 2007 10:26:17 +0000 (11:26 +0100)]
dpkg-shlibdeps: accepts empty dependencies in shlibs files

17 years agodpkg-shlibdeps: add more debug messages
Raphael Hertzog [Thu, 22 Nov 2007 08:29:35 +0000 (09:29 +0100)]
dpkg-shlibdeps: add more debug messages

17 years agoAdd new module Dpkg::Fields replacing parts of controllib.pl
Raphael Hertzog [Wed, 21 Nov 2007 16:00:41 +0000 (17:00 +0100)]
Add new module Dpkg::Fields replacing parts of controllib.pl

New module containing 3 functions moved out of controllib.pl (capit(),
set_field_importance(), sort_by_field_importance()). Adapt all the scripts
accordingly.

17 years agoAdd non-regression tests for the case of empty dependency fields
Raphael Hertzog [Wed, 21 Nov 2007 11:09:42 +0000 (12:09 +0100)]
Add non-regression tests for the case of empty dependency fields

17 years agoAdd non-regression tests for the identification of public libraries and executables
Raphael Hertzog [Wed, 21 Nov 2007 10:53:19 +0000 (11:53 +0100)]
Add non-regression tests for the identification of public libraries and executables

Make sure that Dpkg::Shlibs::Objdump::Object::is_public_library() and is_executable()
work as expected for a private library (Pg.so of the libdb-pg-perl package), a public
library (libc6) and an executable (ls). Also fix some typo in those functions (urgh).

17 years agoDpkg::Shlibs::Objdump: fix checks in is_executable() and is_public_library()
Raphael Hertzog [Wed, 21 Nov 2007 08:53:42 +0000 (09:53 +0100)]
Dpkg::Shlibs::Objdump: fix checks in is_executable() and is_public_library()

17 years agoUpdated Swedish translation.
Peter Karlsson [Tue, 20 Nov 2007 13:25:40 +0000 (14:25 +0100)]
Updated Swedish translation.

Updated Swedish translation for scripts and manual pages.
Also fixed some old changelog entries that had wrong or broken addresses listed.

17 years agoBump version to 1.14.10~
Guillem Jover [Tue, 20 Nov 2007 05:28:22 +0000 (07:28 +0200)]
Bump version to 1.14.10~

17 years agoRelease 1.14.9
Guillem Jover [Tue, 20 Nov 2007 05:16:23 +0000 (07:16 +0200)]
Release 1.14.9

17 years agoRegenerate dpkg-dev.pot files and merge .po files with it
Guillem Jover [Tue, 20 Nov 2007 05:15:27 +0000 (07:15 +0200)]
Regenerate dpkg-dev.pot files and merge .po files with it

17 years agoDpkg::Deps::parse(): handle empty fields properly instead of returning undef
Raphael Hertzog [Mon, 19 Nov 2007 22:17:40 +0000 (23:17 +0100)]
Dpkg::Deps::parse(): handle empty fields properly instead of returning undef

And revert previous changes made to dpkg-gencontrol to skip empty fields.

17 years agodpkg-gencontrol.pl: Don't try to parse empty fields.
Raphael Hertzog [Mon, 19 Nov 2007 21:26:05 +0000 (22:26 +0100)]
dpkg-gencontrol.pl: Don't try to parse empty fields.

17 years agoBug fix in Dpkg::Path::get_pkg_root_dir() and related changes in dpkg-shlibdeps
Raphael Hertzog [Mon, 19 Nov 2007 21:10:55 +0000 (22:10 +0100)]
Bug fix in Dpkg::Path::get_pkg_root_dir() and related changes in dpkg-shlibdeps

* scripts/Dpkg/Path.pm: Fix behaviour of get_pkg_root_dir() when there's
no DEBIAN subdirectory in none of the parent directories.

* scripts/dpkg-shlibdeps.pl: Handle undef values returned by
get_pkg_root_dir() and complain when it's likely to create a problem (when
a RPATH contains $ORIGIN and when the value of this variable can't be
determined because we don't know what is the root directory of the
temporary tree).

17 years ago2007-11-19 Helge Kreutzmann <debian@helgefjell.de>
Helge Kreutzmann [Mon, 19 Nov 2007 18:06:59 +0000 (19:06 +0100)]
2007-11-19  Helge Kreutzmann  <debian@helgefjell.de>

        * man/po/de.po: Updated to 1303t0f41u.

17 years agoBump version to 1.14.9~
Guillem Jover [Mon, 19 Nov 2007 09:02:10 +0000 (11:02 +0200)]
Bump version to 1.14.9~

17 years agoRelease 1.14.8
Guillem Jover [Mon, 19 Nov 2007 08:37:06 +0000 (10:37 +0200)]
Release 1.14.8

17 years agoChangeLog police patrol
Guillem Jover [Mon, 19 Nov 2007 07:58:50 +0000 (09:58 +0200)]
ChangeLog police patrol

17 years agoRegenerate .pot files and merge .po files with them
Guillem Jover [Mon, 19 Nov 2007 07:03:20 +0000 (09:03 +0200)]
Regenerate .pot files and merge .po files with them

17 years agoGet rid of undefined macros from man pages
Guillem Jover [Mon, 19 Nov 2007 08:08:22 +0000 (10:08 +0200)]
Get rid of undefined macros from man pages

Thanks to Colin Watson for the analysis.

17 years agodpkg-source: Use %dep_field_type for the union option to Dpkg::Deps::parse
Guillem Jover [Mon, 19 Nov 2007 06:31:16 +0000 (08:31 +0200)]
dpkg-source: Use %dep_field_type for the union option to Dpkg::Deps::parse

Use capit() to normalize the field names, instead of hardcoding them.

17 years agoAdd a Conflict on dpkg-cross << 2.0.0 to dpkg-dev
Guillem Jover [Mon, 19 Nov 2007 05:40:16 +0000 (07:40 +0200)]
Add a Conflict on dpkg-cross << 2.0.0 to dpkg-dev

dpkg-cross was sourcing dpkg-buildpackage expecting it to be a shell
script, which is not true anymore.

17 years agoAdd initial udeb support
Guillem Jover [Mon, 19 Nov 2007 04:42:53 +0000 (06:42 +0200)]
Add initial udeb support

Support new fields fields Package-Type, Subarchitecture, Kernel-Version
and Installer-Menu-Item.
New '--type' option for dpkg-scanpackages.

17 years agoDpkg::Arch: Force a sane input record separator for file parsing functions
Guillem Jover [Thu, 15 Nov 2007 19:35:26 +0000 (21:35 +0200)]
Dpkg::Arch: Force a sane input record separator for file parsing functions

17 years agoFix some Polish translations or mark as fuzzy
Guillem Jover [Thu, 15 Nov 2007 18:19:02 +0000 (20:19 +0200)]
Fix some Polish translations or mark as fuzzy

17 years agoForce use of shipped perl modules instead of system ones for perl tests
Guillem Jover [Sun, 4 Nov 2007 20:10:43 +0000 (22:10 +0200)]
Force use of shipped perl modules instead of system ones for perl tests

17 years agodpkg-architecture: Move host and build arch detection code to Dpkg::Arch
Guillem Jover [Sun, 4 Nov 2007 19:41:31 +0000 (21:41 +0200)]
dpkg-architecture: Move host and build arch detection code to Dpkg::Arch

17 years agodpkg-architecture: Wrap long strings for die calls
Guillem Jover [Sun, 4 Nov 2007 18:53:46 +0000 (20:53 +0200)]
dpkg-architecture: Wrap long strings for die calls

17 years agoDpkg::Arch: Add functions for direct debarch to/from gnutriplet conversion
Guillem Jover [Sun, 4 Nov 2007 00:21:42 +0000 (02:21 +0200)]
Dpkg::Arch: Add functions for direct debarch to/from gnutriplet conversion

17 years agodpkg-architecture: Perform -L actions inside argument processing loop
Guillem Jover [Sun, 4 Nov 2007 00:12:41 +0000 (02:12 +0200)]
dpkg-architecture: Perform -L actions inside argument processing loop

To preserve the same behaviour move the initialization of host and build
variables after the argument processing loop.

17 years agoDpkg::Arch: Instead of printing make get_valid_arches return an array
Guillem Jover [Sun, 4 Nov 2007 00:05:14 +0000 (02:05 +0200)]
Dpkg::Arch: Instead of printing make get_valid_arches return an array

17 years agoUpdate Polish man pages translations
Robert Luberda [Mon, 12 Nov 2007 08:49:09 +0000 (09:49 +0100)]
Update Polish man pages translations

17 years ago2007-11-11 Helge Kreutzmann <debian@helgefjell.de>
Helge Kreutzmann [Sun, 11 Nov 2007 12:01:43 +0000 (13:01 +0100)]
2007-11-11  Helge Kreutzmann  <debian@helgefjell.de>

        * scripts/po/de.po: Updated to 172t0f306u.

17 years ago man/po/de.po - Spellchecked
Helge Kreutzmann [Sat, 10 Nov 2007 17:11:18 +0000 (18:11 +0100)]
 man/po/de.po - Spellchecked

17 years agoUpdate Czech translation
Miroslav Kure [Fri, 9 Nov 2007 18:36:22 +0000 (19:36 +0100)]
Update Czech translation

17 years agoSwitch French translation to UTF-8
Christian Perrier [Tue, 6 Nov 2007 07:48:42 +0000 (08:48 +0100)]
Switch French translation to UTF-8

17 years agoUpdate Polish translations
Robert Luberda [Sun, 4 Nov 2007 22:30:59 +0000 (23:30 +0100)]
Update Polish translations

17 years agoUpdate Polish translations
Robert Luberda [Sun, 4 Nov 2007 11:28:18 +0000 (12:28 +0100)]
Update Polish translations

17 years ago * man/po/de.po: Updated to 1300t0f45u.
Helge Kreutzmann [Sun, 4 Nov 2007 08:13:15 +0000 (09:13 +0100)]
    * man/po/de.po: Updated to 1300t0f45u.
        * scripts/po/de.po: Updated to 141t0f337u.

17 years agoUpdated Swedish manual page translation.
Peter Karlsson [Fri, 2 Nov 2007 13:12:35 +0000 (14:12 +0100)]
Updated Swedish manual page translation.

17 years agoRegenerated PO files for man pages.
Peter Karlsson [Fri, 2 Nov 2007 13:02:42 +0000 (14:02 +0100)]
Regenerated PO files for man pages.

17 years agoRemoved (instead of updated) file by accident, sorry
Helge Kreutzmann [Thu, 1 Nov 2007 12:38:14 +0000 (13:38 +0100)]
Removed (instead of updated) file by accident, sorry

17 years agoUnified terminology as agreed with Sven Joachim <svenjoac@gmx.de>
Helge Kreutzmann [Thu, 1 Nov 2007 12:36:05 +0000 (13:36 +0100)]
Unified terminology as agreed with Sven Joachim <svenjoac@gmx.de>

17 years agoDpkg::Deps: Add a missing =back in POD
Frank Lichtenheld [Mon, 29 Oct 2007 21:58:26 +0000 (22:58 +0100)]
Dpkg::Deps: Add a missing =back in POD

Found by Test::Pod

17 years agoFix some quote characters in manpages
Frank Lichtenheld [Mon, 29 Oct 2007 02:57:19 +0000 (03:57 +0100)]
Fix some quote characters in manpages

dpkg-query.1: Replace ' with \(aq in example
dpkg-source.1: Replace ' with \(aq in synopsis

17 years agoUpdated German translation
Christian Perrier [Sun, 28 Oct 2007 14:03:32 +0000 (15:03 +0100)]
Updated German translation

17 years agoAdd German translation for scripts
Christian Perrier [Sun, 28 Oct 2007 14:01:58 +0000 (15:01 +0100)]
Add German translation for scripts

17 years agoReally activate Thai. /me hates these 20th century systems where it's not
Christian Perrier [Sun, 28 Oct 2007 13:56:49 +0000 (14:56 +0100)]
Really activate Thai. /me hates these 20th century systems where it's not
enough to have the PO file and one should "declare" the language in LIGUAS.

17 years agoSwedish translation update.
Peter Karlsson [Fri, 26 Oct 2007 09:31:18 +0000 (10:31 +0100)]
Swedish translation update.

Regenerated script translations for all languages and updated Swedish
translation. Also updated the Swedish manual page translation now that
I have the translation for the strings that were added to the scripts
but not in the previous version of the scripts POT file. I did not
translate that last round to avoid having inconsistencies in the
translated strings.

17 years agoUpdated Swedish man page translation to 1338t0f5u.
Peter Karlsson [Wed, 24 Oct 2007 14:15:59 +0000 (15:15 +0100)]
Updated Swedish man page translation to 1338t0f5u.

Haven't translated a few messages that describe output from
dpkg-shlibdeps, for which I cannot find the appropriate strings
in the scripts sv.po file.

17 years agoChangeLog: move everything related to Dpkg::Deps at the same date.
Raphael Hertzog [Thu, 18 Oct 2007 07:08:59 +0000 (09:08 +0200)]
ChangeLog: move everything related to Dpkg::Deps at the same date.

17 years agoDpkg::Deps: add some integrated POD documentation of the API
Raphael Hertzog [Wed, 17 Oct 2007 20:49:46 +0000 (22:49 +0200)]
Dpkg::Deps: add some integrated POD documentation of the API

17 years agoUpdate dpkg-gencontrol's man page to mention its handling of dependency fields
Raphael Hertzog [Wed, 17 Oct 2007 18:59:13 +0000 (20:59 +0200)]
Update dpkg-gencontrol's man page to mention its handling of dependency fields

17 years agoUpdate changelog entries concerning the integration of Dpkg::Deps.
Raphael Hertzog [Mon, 15 Oct 2007 13:38:19 +0000 (15:38 +0200)]
Update changelog entries concerning the integration of Dpkg::Deps.

17 years agocontrollib.pl: Remove obsolete and unused functions and variables.
Raphael Hertzog [Mon, 15 Oct 2007 13:03:26 +0000 (15:03 +0200)]
controllib.pl: Remove obsolete and unused functions and variables.

parsedep() and showdep() are removed as well as @pkg_dep_fields and
@src_dep_fields. Usage of Dpkg::Deps is recommended instead.

17 years agodpkg-scanpackages: Use @pkg_dep_fields from Dpkg::Deps
Raphael Hertzog [Thu, 18 Oct 2007 06:20:23 +0000 (08:20 +0200)]
dpkg-scanpackages: Use @pkg_dep_fields from Dpkg::Deps

17 years agodpkg-checkbuilddeps: modify to use the new Dpkg::Deps module
Raphael Hertzog [Mon, 15 Oct 2007 12:59:31 +0000 (14:59 +0200)]
dpkg-checkbuilddeps: modify to use the new Dpkg::Deps module

Use Dpkg::Deps::KnownFacts instead of home-made structure to
store the information taken from the status file.

17 years agodpkg-source: use the new Dpkg::Deps module instead of controllib's parsedep
Raphael Hertzog [Mon, 15 Oct 2007 12:27:27 +0000 (14:27 +0200)]
dpkg-source: use the new Dpkg::Deps module instead of controllib's parsedep

17 years agodpkg-gencontrol: use the new Dpkg::Deps module to rewrite the dependencies
Raphael Hertzog [Mon, 15 Oct 2007 10:19:59 +0000 (12:19 +0200)]
dpkg-gencontrol: use the new Dpkg::Deps module to rewrite the dependencies

Normal dependency fields are rewritten by order of importance and simplified
by taking into account the dependencies already parsed. The dependencies are
also sorted to have a more predictable output (which is easier to compare in
a debdiff output).

The other relation (non-dependency) fields are simplified as unions
instead of intersections.

17 years agoInclude the new scripts/Dpkg/Deps.pm in the dpkg-dev package
Raphael Hertzog [Mon, 15 Oct 2007 11:59:18 +0000 (13:59 +0200)]
Include the new scripts/Dpkg/Deps.pm in the dpkg-dev package

17 years agoAdd new module Dpkg::Deps to handle dependencies and some corresponding tests
Raphael Hertzog [Sun, 14 Oct 2007 21:27:13 +0000 (23:27 +0200)]
Add new module Dpkg::Deps to handle dependencies and some corresponding tests

The Dpkg::Deps::* modules allows various operations on dependencies such
as testing for implication, evaluating them given some packages known to be
installed, etc. They also allow the simplification of the dependencies.

17 years agoDpkg::ErrorHandling: Add support for format strings
Guillem Jover [Thu, 18 Oct 2007 01:22:09 +0000 (04:22 +0300)]
Dpkg::ErrorHandling: Add support for format strings