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

Bug#714492: cups: Please allow cups to be build against libgnutls28-dev.



Source: cups
Version: 1.6.2-10
Severity: wishlist
Tags: patch

Dear Maintainer,

Please find attached a patch that allows cups to be build against libgnutls28-dev.
I have choosed to use the virtual package gnutls-dev to let libcups2-dev be coinstallable with both of them.

regards,
Nicolas Le Cam

*** 0001-Build-depend-on-gnutls-dev-not-libgnutls-dev.txt
>From ac8156ae3e0295d7aa9ec54bb75d342b129eaff2 Mon Sep 17 00:00:00 2001
From: Nicolas Le Cam <niko.lecam@gmail.com>
Date: Sat, 29 Jun 2013 19:19:46 +0200
Subject: Build-depend on gnutls-dev, not libgnutls-dev.

Allow cups to be build against libgnutls28-dev, and libcups2-dev to be coinstallable with it.
Also explicitly build-depends on libgcrypt11-dev as it's not a libgnutls28-dev dependency anymore.
---
 control |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/control b/control
index 549219d..471f1d1 100644
--- a/control
+++ b/control
@@ -20,13 +20,14 @@ Build-Depends:
  autotools-dev,
  pkg-config,
  ghostscript (>= 9.02~),
+ gnutls-dev, 
  libavahi-client-dev,
  libavahi-common-dev,
  libavahi-compat-libdnssd-dev,
  libdbus-1-dev,
  libfontconfig1-dev,
  libfreetype6-dev,
- libgnutls-dev, 
+ libgcrypt11-dev,
  libijs-dev,
  libjpeg-dev,
  libldap2-dev,
@@ -239,8 +240,9 @@ Section: libdevel
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends},
  libcups2 (= ${binary:Version}), 
- libgnutls-dev,
- libkrb5-dev
+ gnutls-dev,
+ libkrb5-dev,
+ libgcrypt11-dev
 Description: Common UNIX Printing System(tm) - Development files CUPS library
  The Common UNIX Printing System (or CUPS(tm)) is a printing system and 
  general replacement for lpd and the like.  It supports the Internet 
-- 
1.7.10.4



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- debconf information excluded


Reply to: