[SCM] dpkg's main repository branch, master, updated. 1.15.7.2-172-ga58303f

2010-07-21 Thread Guillem Jover
The following commit has been merged in the master branch:
commit 0f1bf462adbe67938f2c05712b2f53dc82f0994f
Author: Guillem Jover guil...@debian.org
Date:   Sat Jul 17 18:29:38 2010 +0200

Do not include two unused assert.h

diff --git a/dpkg-deb/build.c b/dpkg-deb/build.c
index 6e03e1f..b095a81 100644
--- a/dpkg-deb/build.c
+++ b/dpkg-deb/build.c
@@ -26,7 +26,6 @@
 #include sys/stat.h
 #include sys/wait.h
 
-#include assert.h
 #include errno.h
 #include limits.h
 #include ctype.h
diff --git a/src/remove.c b/src/remove.c
index eae6557..571e1b0 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -24,7 +24,6 @@
 #include sys/types.h
 #include sys/stat.h
 
-#include assert.h
 #include errno.h
 #include ctype.h
 #include string.h

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SCM] dpkg's main repository branch, master, updated. 1.15.7.2-172-ga58303f

2010-07-21 Thread Guillem Jover
The following commit has been merged in the master branch:
commit 1a6633e2d9b8d66eed60a45bfdd86552bf6107e4
Author: Guillem Jover guil...@debian.org
Date:   Sun Jul 18 11:44:35 2010 +0200

dpkg: Stop exporting DPKG_LIBDIR to maintainer scripts

Now that the maintainer scripts helper program is under PATH, there's
no need anymore to export the internal dpkg library directory.

diff --git a/debian/changelog b/debian/changelog
index de9672f..c6a4c59 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -82,6 +82,7 @@ dpkg (1.15.8) UNRELEASED; urgency=low
 on “dpkg-query --list”, so that it does not get incorrectly trimmed.
   * Consistently use earlier/later instead of smaller/bigger when describing
 comparison relationships. Closes: #587641
+  * Stop exporting DPKG_LIBDIR to maintainer scripts, no need for it anymore.
 
   [ Updated programs translations ]
   * Catalan (Guillem Jover).
diff --git a/lib/dpkg/dpkg.h b/lib/dpkg/dpkg.h
index dc65740..3e39ccb 100644
--- a/lib/dpkg/dpkg.h
+++ b/lib/dpkg/dpkg.h
@@ -81,7 +81,6 @@ DPKG_BEGIN_DECLS
 #define MAINTSCRIPTPKGENVVAR DPKG_MAINTSCRIPT_PACKAGE
 #define MAINTSCRIPTARCHENVVAR DPKG_MAINTSCRIPT_ARCH
 #define MAINTSCRIPTNAMEENVVAR DPKG_MAINTSCRIPT_NAME
-#define MAINTSCRIPTLIBDIRENVVAR DPKG_LIBDIR
 #define MAINTSCRIPTDPKGENVVAR DPKG_RUNNING_VERSION
 
 #define SHELLENVSHELL
diff --git a/man/dpkg.1 b/man/dpkg.1
index 4529267..2e064e2 100644
--- a/man/dpkg.1
+++ b/man/dpkg.1
@@ -690,10 +690,6 @@ examine the situation. Contains the path to the new 
conffile.
 Defined by \fBdpkg\fP on the maintainer script environment to the
 version of the currently running \fBdpkg\fP instance.
 .TP
-.B DPKG_LIBDIR
-Defined by \fBdpkg\fP on the maintainer script environment to the
-private library directory of the currently running \fBdpkg\fP instance.
-.TP
 .B DPKG_MAINTSCRIPT_PACKAGE
 Defined by \fBdpkg\fP on the maintainer script environment to the
 package name being handled.
diff --git a/src/Makefile.am b/src/Makefile.am
index f19e384..34fe0e9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -6,7 +6,6 @@ pkgconfdir = $(sysconfdir)/@PACKAGE@
 AM_CPPFLAGS = \
-DLOCALEDIR=\$(localedir)\ \
-DADMINDIR=\$(admindir)\ \
-   -DPKGLIBDIR=\$(pkglibdir)\ \
-idirafter $(top_srcdir)/lib/compat \
-I$(top_builddir) \
-I$(top_srcdir)/lib
diff --git a/src/help.c b/src/help.c
index a328f0e..a56cd0a 100644
--- a/src/help.c
+++ b/src/help.c
@@ -261,7 +261,6 @@ do_script(struct pkginfo *pkg, struct pkginfoperfile *pif,
 if (setenv(MAINTSCRIPTPKGENVVAR, pkg-name, 1) ||
 setenv(MAINTSCRIPTARCHENVVAR, pif-architecture, 1) ||
 setenv(MAINTSCRIPTNAMEENVVAR, cmd-argv[0], 1) ||
-setenv(MAINTSCRIPTLIBDIRENVVAR, PKGLIBDIR, 1) ||
 setenv(MAINTSCRIPTDPKGENVVAR, PACKAGE_VERSION, 1))
   ohshite(_(unable to setenv for maintainer script));
 

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



[SCM] dpkg's main repository branch, master, updated. 1.15.7.2-172-ga58303f

2010-07-21 Thread Guillem Jover
The following commit has been merged in the master branch:
commit a58303f0294dfd9c93dfa4f49f572f1711f947cf
Author: Guillem Jover guil...@debian.org
Date:   Wed Jul 21 16:24:15 2010 +0200

build: Add missing TEST_ENV_VARS to check-local target

Missed in commit 939778ab9b4147d42b7250fdb1be9c5fe79392b7.

diff --git a/Makecheck.am b/Makecheck.am
index afeeefc..53bf66b 100644
--- a/Makecheck.am
+++ b/Makecheck.am
@@ -15,6 +15,7 @@ check-clean:
 check-local: $(test_data) $(test_cases)
$(mkdir_p) $(test_tmpdir)

PATH=$(top_builddir)/src:$(top_builddir)/scripts:$(top_builddir)/utils:$(PATH)
 \
+ $(TEST_ENV_VARS) \
  srcdir=$(srcdir) builddir=$(builddir) \
  PERL5LIB=$(top_srcdir)/scripts PERL_DL_NONLAZY=1 \
  PERL5OPT=$(TEST_COVERAGE) \

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org