[pkg-wine-party] [PATCH 4/7] Added generic Pre-Depends headers to every package.

Hilko Bengen bengen at debian.org
Thu Jun 28 17:20:50 UTC 2012


This may seem like following a cargo-cult... I was annoyed by
Lintian's Multi-Arch-related errors re-appearing again and again.
---
 debian/control.in |   38 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/debian/control.in b/debian/control.in
index 8ab5c0f..35c47a5 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -126,6 +126,7 @@ Depends:
  ${shlibs:Depends},
  libwine-dev,
 Pre-Depends:
+ ${misc:Pre-Depends},
  ${wine:Pre-Depends},
 Replaces: libwine-dev (<< 1.4.1-1.1)
 Breaks: libwine-dev (<< 1.4.1-1.1)
@@ -157,7 +158,8 @@ Suggests:
  libwine-openal (= ${binary:Version}),
  libwine-gphoto2 (= ${binary:Version}),
 Pre-Depends:
- ${wine:Pre-Depends}
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Replaces:
  wine (<< 0.9.11-1),
  libwine-twain (<< 0.9.13),
@@ -176,6 +178,7 @@ Depends:
  ${misc:Depends},
  ${shlibs:Depends},
 Pre-Depends:
+ ${misc:Pre-Depends},
  ${wine:Pre-Depends},
 Replaces: libwine (<< 1.4.1-1.1)
 Breaks: libwine (<< 1.4.1-1.1)
@@ -193,6 +196,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Description: Windows API implementation - ALSA sound module
  Wine is a free MS-Windows API implementation.
  This is still a work in progress and many applications may still not work.
@@ -206,6 +212,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Replaces:
  wine-bin (<< 1.4-4),
  wine-utils (<< 1.1.25-1),
@@ -224,6 +233,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Description: Windows API implementation - ISDN module
  Wine is a free MS-Windows API implementation.
  This is still a work in progress and many applications may still not work.
@@ -238,6 +250,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Replaces:
  libwine (<< 0.0.20050830),
 Description: Windows API implementation - color management module
@@ -254,6 +269,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Replaces:
  libwine (<< 0.9.56),
 Description: Windows API implementation - OpenGL module
@@ -270,6 +288,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Description: Windows API implementation - camera module
  Wine is a free MS-Windows API implementation.
  This is still a work in progress and many applications may still not work.
@@ -284,6 +305,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Description: Windows API implementation - LDAP module
  Wine is a free MS-Windows API implementation.
  This is still a work in progress and many applications may still not work.
@@ -298,6 +322,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Description: Windows API implementation - OpenAL module
  Wine is a free MS-Windows API implementation.
  This is still a work in progress and many applications may still not work.
@@ -313,6 +340,9 @@ Depends:
  ${misc:Depends},
  ${shlibs:Depends},
  oss-compat,
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Replaces:
  libwine (<< 0.9.35)
 Description: Windows API implementation - OSS sound module
@@ -329,6 +359,9 @@ Depends:
  ${misc:Depends},
  ${shlibs:Depends},
  cups-bsd | cupsys-bsd | lpr,
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Replaces:
  libwine (<< 0.0.20020710),
 Description: Windows API implementation - printing module
@@ -345,6 +378,9 @@ Multi-Arch: same
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
+Pre-Depends:
+ ${misc:Pre-Depends},
+ ${wine:Pre-Depends},
 Replaces:
  libwine-twain (<< 0.9.13),
 Description: Windows API implementation - scanner module
-- 
1.7.10




More information about the pkg-wine-party mailing list