From 6cefd87bbf2f68d24a083e628ac1848d081808f8 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 6 Jan 2023 10:31:44 +0900 Subject: [PATCH] DEB lcms,wv2: drop python support and dependency. Signed-off-by: Michele Calgaro --- debian/lcms/lcms-1.19.dfsg2/debian/__init__.py | 3 --- debian/lcms/lcms-1.19.dfsg2/debian/changelog | 6 ++++++ debian/lcms/lcms-1.19.dfsg2/debian/control | 11 +---------- .../lcms-1.19.dfsg2/debian/python-liblcms.install | 1 - debian/lcms/lcms-1.19.dfsg2/debian/rules | 8 +------- debian/lcms/lcms-1.19.dfsg2/debian/watch | 3 --- debian/wv2/wv2-0.4.2.dfsg.2/debian/changelog | 6 ++++++ debian/wv2/wv2-0.4.2.dfsg.2/debian/control | 2 +- 8 files changed, 15 insertions(+), 25 deletions(-) delete mode 100644 debian/lcms/lcms-1.19.dfsg2/debian/__init__.py delete mode 100644 debian/lcms/lcms-1.19.dfsg2/debian/python-liblcms.install delete mode 100644 debian/lcms/lcms-1.19.dfsg2/debian/watch diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/__init__.py b/debian/lcms/lcms-1.19.dfsg2/debian/__init__.py deleted file mode 100644 index 385320d5..00000000 --- a/debian/lcms/lcms-1.19.dfsg2/debian/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -"""This file is used to make it possible to import lcms python extensions as -'import lcms' -""" diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/changelog b/debian/lcms/lcms-1.19.dfsg2/debian/changelog index 703a6846..8104b2f6 100644 --- a/debian/lcms/lcms-1.19.dfsg2/debian/changelog +++ b/debian/lcms/lcms-1.19.dfsg2/debian/changelog @@ -1,3 +1,9 @@ +lcms (1.19.dfsg2-1.6~0debian11.0.0+3~a) bullseye; urgency=medium + + * Dropped python support + + -- Michele Calgaro Fri, 06 Jan 2023 10:13:33 +0900 + lcms (1.19.dfsg2-1.6~0debian11.0.0+2~a) bullseye; urgency=medium * Add dh-python to build-deps. diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/control b/debian/lcms/lcms-1.19.dfsg2/debian/control index 0781e5ac..a3090d36 100644 --- a/debian/lcms/lcms-1.19.dfsg2/debian/control +++ b/debian/lcms/lcms-1.19.dfsg2/debian/control @@ -2,7 +2,7 @@ Source: lcms Section: deps-r14/libs Priority: optional Maintainer: Oleksandr Moskalenko -Build-Depends: dh-autoreconf, debhelper (>= 9~), libtiff-dev, libjpeg-dev, zlib1g-dev, python-support (>= 0.7.1) | dh-python, python-all-dev (>= 2.3.5-11), swig +Build-Depends: dh-autoreconf, debhelper (>= 9~), libtiff-dev, libjpeg-dev, zlib1g-dev Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/lcms/trunk/ Vcs-Browser: http://svn.debian.org/wsvn/collab-maint/deb-maint/lcms/trunk/?op=log @@ -42,12 +42,3 @@ Description: Litle CMS color management library development headers lcms is a standalone CMM engine, which deals with the color management. LittleCMS implements a fast transformation between ICC profiles. The intention of it is to be portable across several platforms. - -Package: python-liblcms -Priority: optional -Section: deps-r14/python -Architecture: any -Depends: liblcms1 (= ${binary:Version}), ${shlibs:Depends}, ${python:Depends} -Description: Python bindings for Little CMS color management library - LittleCMS color management library Python bindings have been produced - with SWIG and allow access to liblcms1 functions from Python code. diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/python-liblcms.install b/debian/lcms/lcms-1.19.dfsg2/debian/python-liblcms.install deleted file mode 100644 index d98f059f..00000000 --- a/debian/lcms/lcms-1.19.dfsg2/debian/python-liblcms.install +++ /dev/null @@ -1 +0,0 @@ -debian/tmp/usr/lib/python* /usr/lib/ diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/rules b/debian/lcms/lcms-1.19.dfsg2/debian/rules index 3de46ef4..10b4bc86 100755 --- a/debian/lcms/lcms-1.19.dfsg2/debian/rules +++ b/debian/lcms/lcms-1.19.dfsg2/debian/rules @@ -13,8 +13,6 @@ else export CFLAGS="-O2 -fPIC -I../include -fno-exceptions -fomit-frame-pointer -Wall" endif -PYVER=`pyversions -d` - ENDIAN = $(shell dpkg-architecture -qDEB_BUILD_ARCH_ENDIAN) build: build-stamp @@ -24,8 +22,7 @@ build-stamp: ifeq ($(ENDIAN),) echo "#define USE_BIG_ENDIAN" >include/lcms-endian.h endif - ./configure $(shell dpkg-buildflags --export=configure) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-python - cd python && ./swig_lcms && cd .. + ./configure $(shell dpkg-buildflags --export=configure) --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) make touch build-stamp @@ -44,8 +41,6 @@ install: build dh_clean -k dh_installdirs make DESTDIR=`pwd`/debian/tmp install - rm -f `pwd`/debian/tmp/usr/lib/python*/*-packages/*.a \ - `pwd`/debian/tmp/usr/lib/python*/*-packages/*.la # Build architecture-independent files here. binary-indep: build install @@ -64,7 +59,6 @@ binary-arch: build install dh_fixperms dh_makeshlibs -V dh_perl - dh_python2 --no-guessing-versions dh_installdeb dh_shlibdeps dh_gencontrol diff --git a/debian/lcms/lcms-1.19.dfsg2/debian/watch b/debian/lcms/lcms-1.19.dfsg2/debian/watch deleted file mode 100644 index 5c26d523..00000000 --- a/debian/lcms/lcms-1.19.dfsg2/debian/watch +++ /dev/null @@ -1,3 +0,0 @@ -version=3 -opts=dversionmangle=s/\.dfsg.$// \ -http://qa.debian.org/watch/sf.php/lcms/lcms-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) diff --git a/debian/wv2/wv2-0.4.2.dfsg.2/debian/changelog b/debian/wv2/wv2-0.4.2.dfsg.2/debian/changelog index 7cab6b60..2b46d891 100644 --- a/debian/wv2/wv2-0.4.2.dfsg.2/debian/changelog +++ b/debian/wv2/wv2-0.4.2.dfsg.2/debian/changelog @@ -1,3 +1,9 @@ +wv2 (0.4.2.dfsg.2-2debian11.0.0+4~a) bullseye; urgency=low + + * Dropped python support + + -- Michele Calgaro Fri, 06 Jan 2023 10:30:17 +0900 + wv2 (0.4.2.dfsg.2-2debian11.0.0+3~a) bullseye; urgency=low * Switch to cdbs diff --git a/debian/wv2/wv2-0.4.2.dfsg.2/debian/control b/debian/wv2/wv2-0.4.2.dfsg.2/debian/control index ec00da49..32c182c3 100644 --- a/debian/wv2/wv2-0.4.2.dfsg.2/debian/control +++ b/debian/wv2/wv2-0.4.2.dfsg.2/debian/control @@ -2,7 +2,7 @@ Source: wv2 Section: deps-r14/libs Priority: optional Maintainer: Olly Betts -Build-Depends: cdbs, debhelper (>= 9), quilt, cmake, ninja-build, libglib2.0-dev, libgsf-1-dev (>= 1.14.0), libxml2-dev, zlib1g-dev, pkg-config, python-all +Build-Depends: cdbs, debhelper (>= 9), quilt, cmake, ninja-build, libglib2.0-dev, libgsf-1-dev (>= 1.14.0), libxml2-dev, zlib1g-dev, pkg-config Standards-Version: 3.9.4 Homepage: http://wvware.sourceforge.net