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

Freeze exception for v4l-utils (drop cross compiled libs)



Hello,

currently the v4l-utils source package builds lib32v4l-0 and lib32v4l-dev packages on amd64. I'd like to get rid of them better sooner than later. With the recent ia32-libs uploads the last reverse dependency vanished. Will the release team grant a freeze exception
to drop the two cross compiled packages?

I added a NEWS entry that briefly describes the situation. Ubuntu dropped these two packages two releases ago and it went pretty well.

The debdiff is attached.

Thanks,
Gregor
diff -Nru v4l-utils-0.8.8/debian/changelog v4l-utils-0.8.8/debian/changelog
--- v4l-utils-0.8.8/debian/changelog	2012-06-25 18:28:55.000000000 +0200
+++ v4l-utils-0.8.8/debian/changelog	2012-07-08 21:40:56.000000000 +0200
@@ -1,3 +1,9 @@
+v4l-utils (0.8.8-4) unstable; urgency=low
+
+  * Drop 32bit cross compiled libraries
+
+ -- Gregor Jasny <gjasny@googlemail.com>  Fri, 06 Jul 2012 21:06:52 +0200
+
 v4l-utils (0.8.8-3) unstable; urgency=low
 
   * Mark libv4l-dev Multi-Arch: same (Closes: #678894)
diff -Nru v4l-utils-0.8.8/debian/control v4l-utils-0.8.8/debian/control
--- v4l-utils-0.8.8/debian/control	2012-06-25 18:26:53.000000000 +0200
+++ v4l-utils-0.8.8/debian/control	2012-07-08 21:40:56.000000000 +0200
@@ -7,9 +7,7 @@
 DM-Upload-Allowed: yes
 Build-Depends: debhelper (>= 8.1.3),
                libjpeg-dev,
-               libqt4-dev [linux-any],
-               g++-multilib [amd64],
-               gcc-multilib [amd64]
+               libqt4-dev [linux-any]
 Standards-Version: 3.9.3
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libv4l.git
 Vcs-Git: git://git.debian.org/git/collab-maint/libv4l.git
@@ -82,58 +80,6 @@
  .
  This package contains the development files.
 
-Package: lib32v4l-0
-Section: libs
-Architecture: amd64
-Depends: libv4l-0 (= ${binary:Version}),
-         ${shlibs:Depends},
-         ${misc:Depends}
-Description: Collection of video4linux support libraries (32 bits)
- libv4l is a collection of libraries which adds a thin abstraction layer on
- top of video4linux2 devices. The purpose of this (thin) layer is to make it
- easy for application writers to support a wide variety of devices without
- having to write separate code for different devices in the same class. libv4l
- consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.
- .
- libv4lconvert offers functions to convert from any (known) pixelformat
- to BGR24, RGB24, YUV420 and YVU420.
- .
- libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent
- of the drivers for those devices supporting v4l1 compatibility (which many
- v4l2 drivers do not).
- .
- libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
- application transparent libv4lconvert conversion where necessary.
- .
- This package contains the 32 bits version of the shared libraries.
-
-Package: lib32v4l-dev
-Section: libdevel
-Architecture: amd64
-Depends: libv4l-0 (= ${binary:Version}),
-         lib32v4l-0 (= ${binary:Version}),
-         libv4l-dev (= ${binary:Version}),
-         ${shlibs:Depends},
-         ${misc:Depends}
-Description: Collection of video4linux support libraries (32 bits development files)
- libv4l is a collection of libraries which adds a thin abstraction layer on
- top of video4linux2 devices. The purpose of this (thin) layer is to make it
- easy for application writers to support a wide variety of devices without
- having to write separate code for different devices in the same class. libv4l
- consists of 3 different libraries: libv4lconvert, libv4l1 and libv4l2.
- .
- libv4lconvert offers functions to convert from any (known) pixelformat
- to BGR24, RGB24, YUV420 and YVU420.
- .
- libv4l1 offers the (deprecated) v4l1 API on top of v4l2 devices, independent
- of the drivers for those devices supporting v4l1 compatibility (which many
- v4l2 drivers do not).
- .
- libv4l2 offers the v4l2 API on top of v4l2 devices, while adding for the
- application transparent libv4lconvert conversion where necessary.
- .
- This package contains the 32 bits version of the development files.
-
 Package: v4l-utils
 Section: utils
 Architecture: linux-any
diff -Nru v4l-utils-0.8.8/debian/lib32v4l-0.install v4l-utils-0.8.8/debian/lib32v4l-0.install
--- v4l-utils-0.8.8/debian/lib32v4l-0.install	2012-06-20 17:50:05.000000000 +0200
+++ v4l-utils-0.8.8/debian/lib32v4l-0.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-usr/lib32/lib*.so.*
-usr/lib32/libv4l/*.so
-usr/lib32/libv4l/ov511-decomp
-usr/lib32/libv4l/ov518-decomp
-
diff -Nru v4l-utils-0.8.8/debian/lib32v4l-0.links v4l-utils-0.8.8/debian/lib32v4l-0.links
--- v4l-utils-0.8.8/debian/lib32v4l-0.links	2012-06-20 17:50:05.000000000 +0200
+++ v4l-utils-0.8.8/debian/lib32v4l-0.links	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/share/doc/libv4l-0 /usr/share/doc/lib32v4l-0
diff -Nru v4l-utils-0.8.8/debian/lib32v4l-0.symbols v4l-utils-0.8.8/debian/lib32v4l-0.symbols
--- v4l-utils-0.8.8/debian/lib32v4l-0.symbols	2012-06-25 18:25:38.000000000 +0200
+++ v4l-utils-0.8.8/debian/lib32v4l-0.symbols	1970-01-01 01:00:00.000000000 +0100
@@ -1,37 +0,0 @@
-libv4l1.so.0 lib32v4l-0 #MINVER#
- v4l1_close@Base 0.5.0
- v4l1_dup@Base 0.5.0
- v4l1_ioctl@Base 0.5.0
- v4l1_mmap@Base 0.5.0
- v4l1_munmap@Base 0.5.0
- v4l1_open@Base 0.5.0
- v4l1_read@Base 0.5.0
-libv4l2.so.0 lib32v4l-0 #MINVER#
- v4l2_close@Base 0.5.0
- v4l2_dup@Base 0.5.0
- v4l2_fd_open@Base 0.5.0
- v4l2_get_control@Base 0.5.0
- v4l2_ioctl@Base 0.5.0
- v4l2_log_file@Base 0.5.0
- v4l2_mmap@Base 0.5.0
- v4l2_munmap@Base 0.5.0
- v4l2_open@Base 0.5.0
- v4l2_read@Base 0.5.0
- v4l2_set_control@Base 0.5.0
-libv4lconvert.so.0 lib32v4l-0 #MINVER#
- v4lconvert_convert@Base 0.5.0
- v4lconvert_create@Base 0.5.0
- v4lconvert_destroy@Base 0.5.0
- v4lconvert_enum_fmt@Base 0.5.0
- v4lconvert_enum_frameintervals@Base 0.5.0
- v4lconvert_enum_framesizes@Base 0.5.0
- v4lconvert_get_error_message@Base 0.5.0
- v4lconvert_get_fps@Base 0.8.4
- v4lconvert_needs_conversion@Base 0.5.0
- v4lconvert_set_fps@Base 0.8.4
- v4lconvert_supported_dst_fmt_only@Base 0.5.97
- v4lconvert_supported_dst_format@Base 0.5.97
- v4lconvert_try_format@Base 0.5.0
- v4lconvert_vidioc_g_ctrl@Base 0.5.97
- v4lconvert_vidioc_queryctrl@Base 0.5.97
- v4lconvert_vidioc_s_ctrl@Base 0.5.97
diff -Nru v4l-utils-0.8.8/debian/lib32v4l-dev.install v4l-utils-0.8.8/debian/lib32v4l-dev.install
--- v4l-utils-0.8.8/debian/lib32v4l-dev.install	2012-06-25 18:25:38.000000000 +0200
+++ v4l-utils-0.8.8/debian/lib32v4l-dev.install	1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-usr/lib32/lib*.so
-usr/lib32/pkgconfig/*
diff -Nru v4l-utils-0.8.8/debian/lib32v4l-dev.links v4l-utils-0.8.8/debian/lib32v4l-dev.links
--- v4l-utils-0.8.8/debian/lib32v4l-dev.links	2012-06-20 17:50:05.000000000 +0200
+++ v4l-utils-0.8.8/debian/lib32v4l-dev.links	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/share/doc/libv4l-dev /usr/share/doc/lib32v4l-dev
diff -Nru v4l-utils-0.8.8/debian/libv4l-0.NEWS v4l-utils-0.8.8/debian/libv4l-0.NEWS
--- v4l-utils-0.8.8/debian/libv4l-0.NEWS	1970-01-01 01:00:00.000000000 +0100
+++ v4l-utils-0.8.8/debian/libv4l-0.NEWS	2012-07-08 21:40:56.000000000 +0200
@@ -0,0 +1,29 @@
+v4l-utils (0.8.8-4) unstable; urgency=low
+
+  Beginning with the Wheezy release libv4l-0 will support multiarch.
+  As a result of the new triplet library directory you need to update
+  any preload paths. For example on an i386 system the following line
+
+  LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
+
+  must be changed into
+
+  LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so
+
+  Another effect of the multiarch transition is the deprecation of the
+  lib32v4l-0 package to preload the i386 version of libv4l on amd64
+  systems. This preloading is necessary for some webcams to work properly
+  with Skype. To preload libv4l on Wheezy you have to install the i386
+  version of libv4l-0 the multiarch way:
+
+  dpkg --add-architecture i386
+  apt-get install libv4l-0:i386
+
+  Now you can preload the library from the new location:
+
+  LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype
+
+  More information about multiarch can be found in the Wiki:
+  http://wiki.debian.org/Multiarch
+
+ -- Gregor Jasny <gjasny@googlemail.com>  Fri, 06 Jul 2012 21:06:52 +0200
diff -Nru v4l-utils-0.8.8/debian/libv4l-0.NEWS.Debian v4l-utils-0.8.8/debian/libv4l-0.NEWS.Debian
--- v4l-utils-0.8.8/debian/libv4l-0.NEWS.Debian	2012-06-20 17:50:05.000000000 +0200
+++ v4l-utils-0.8.8/debian/libv4l-0.NEWS.Debian	1970-01-01 01:00:00.000000000 +0100
@@ -1,18 +0,0 @@
-v4l-utils (0.8.5-1) unstable; urgency=low
-
-  Beginning with this release libv4l-0 will support multiarch on Debian.
-  As a result of the new triplet library directory you need to update
-  any preload paths. For example on an amd64 system the following line
-  
-  LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so
-
-  must be changed into
-
-  LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so
-
-
-  Additionally libv4l-dev packages will drop the static libraries in a
-  future upload. If you have a good use case for static libraries where
-  the shared ones are not sufficient, please file a wishlist bug report.
-
- -- Gregor Jasny <gjasny@googlemail.com>  Sat, 09 Jul 2011 19:12:38 +0200
diff -Nru v4l-utils-0.8.8/debian/rules v4l-utils-0.8.8/debian/rules
--- v4l-utils-0.8.8/debian/rules	2012-06-25 18:25:38.000000000 +0200
+++ v4l-utils-0.8.8/debian/rules	2012-07-08 21:40:56.000000000 +0200
@@ -19,7 +19,6 @@
 # endif
 
 V4L_NATIVE_FLAGS = $(V4L_COMMON_FLAGS) LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH) LIBCONVERTSUBDIR=libv4lconvert0
-V4L_32BIT_FLAGS  = $(V4L_COMMON_FLAGS) LIBDIR=/usr/lib32 CPPFLAGS+=-m32 LDFLAGS+=-m32 DISABLE_LIBJPEG=1 
 
 build: build-arch build-indep
 build-arch: build-stamp
@@ -43,13 +42,6 @@
 	# prefix filenames with /lib/udev/rc_keymaps
 	sed -i -e 's,^\([^#][[:graph:]]*[[:space:]]\+[[:graph:]]\+[[:space:]]\+\)\([[:graph:]]\+.*\),\1/lib/udev/rc_keymaps/\2,' -e 's,^\(#[[:space:]]\+\*[[:space:]]\+\*[[:space:]]\+\)\([[:alnum:]].*\),\1/lib/udev/rc_keymaps/\2,' $(CURDIR)/debian/tmp/etc/rc_maps.cfg
 endif
-ifeq ($(DEB_HOST_ARCH), amd64)
-	# clean object files
-	$(MAKE) clean
-	# build 32 bit shared libs and install
-	$(MAKE) -C lib $(V4L_32BIT_FLAGS)  
-	$(MAKE) -C lib $(V4L_32BIT_FLAGS) install
-endif
 	touch $@
 
 clean:

Reply to: