Browse Source

SONAME of libmuffin is transformed in libmuffin-1.0.6.so

It is necessary because upstream does not ensure ABI compatibility over
version and has shown to break it at each new version.
Consequently ignore 2 lintian warnings:
  dev-pkg-without-shlib-symlink
  no-symbols-control-file
trusty
Nicolas Bourdaud 10 years ago
parent
commit
bf4f1c0519
  1. 1
      .gitignore
  2. 6
      debian/control
  3. 1
      debian/libmuffin-1.0.6.install
  4. 2
      debian/libmuffin-1.0.6.lintian-overrides
  5. 2
      debian/libmuffin-dev.install
  6. 1
      debian/libmuffin0.install
  7. 1
      debian/patches/series
  8. 27
      debian/patches/soname-based-on-package-version.patch

1
.gitignore

@ -0,0 +1 @@
.pc

6
debian/control

@ -55,7 +55,7 @@ Description: lightweight GTK+ window manager
.
This package contains the core binaries.
Package: libmuffin0
Package: libmuffin-1.0.6
Section: libs
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
@ -93,7 +93,7 @@ Package: libmuffin-dev
Section: libdevel
Architecture: any
Depends: ${misc:Depends},
libmuffin0 (= ${binary:Version}),
libmuffin-1.0.6 (= ${binary:Version}),
gir1.2-muffin-3.0 (= ${binary:Version}),
libclutter-1.0-dev (>= 1.0.0),
libgtk-3-dev (>= 3.0.0)
@ -129,7 +129,7 @@ Package: muffin-dbg
Section: debug
Priority: extra
Architecture: any
Depends: libmuffin0 (= ${binary:Version}),
Depends: libmuffin-1.0.6 (= ${binary:Version}),
muffin (= ${binary:Version}),
${misc:Depends}
Description: Debugging symbols files for the Muffin window manager

1
debian/libmuffin-1.0.6.install

@ -0,0 +1 @@
usr/lib/*/libmuffin-*.so*

2
debian/libmuffin-1.0.6.lintian-overrides

@ -0,0 +1,2 @@
dev-pkg-without-shlib-symlink
no-symbols-control-file

2
debian/libmuffin-dev.install

@ -1,4 +1,4 @@
usr/include
usr/lib/*/lib*.so
usr/lib/*/libmuffin.so
usr/lib/*/pkgconfig/*.pc
usr/lib/*/muffin/Meta-*.gir

1
debian/libmuffin0.install

@ -1 +0,0 @@
usr/lib/*/libmuffin.so.*

1
debian/patches/series

@ -0,0 +1 @@
soname-based-on-package-version.patch

27
debian/patches/soname-based-on-package-version.patch

@ -0,0 +1,27 @@
From ba0d29061de5d08b6945609a526d8512249a493b Mon Sep 17 00:00:00 2001
From: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
Date: Fri, 27 Jul 2012 21:13:54 +0200
Description: append version number to form libmuffin SONAME
This is necessary since upstream breaks ABI at each new release.
Origin: vendor, debian
Author: Nicolas Bourdaud <nicolas.bourdaud@gmail.com>
Forwarded: no
Last-Update: 2012-07-27
diff --git a/src/Makefile.am b/src/Makefile.am
index 5d2474a..a9de32d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -151,7 +151,8 @@ libmuffin_la_SOURCES = \
ui/preview-widget.c \
$(muffin_built_sources)
-libmuffin_la_LDFLAGS = -no-undefined
+MUFFIN_RELEASE=$(MUFFIN_MAJOR_VERSION).$(MUFFIN_MINOR_VERSION).$(MUFFIN_MICRO_VERSION)
+libmuffin_la_LDFLAGS = -no-undefined -release $(MUFFIN_RELEASE)
libmuffin_la_LIBADD = $(MUFFIN_LIBS) -lclutter-glx-1.0
# Headers installed for plugins; introspected information will
--
1.7.10.4
Loading…
Cancel
Save