Can't build debian packages of libosmocore
diff mbox

Message ID 540604C4.4050304@autistici.org
State Accepted
Headers show

Commit Message

Ciaby Sept. 2, 2014, 5:56 p.m. UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09/02/2014 12:46 PM, Ciaby wrote:
[...]
> This is the updated patch.
Ops, wrong patch :)
Cheers

Ciaby

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREKAAYFAlQGBLoACgkQC30ZhxNccpHc8AEAhXc4BIfNFLNzLzhi0U00hOJk
yh210vyL8RZ28XhjeB0BAJkntG4W4QwnTPndniPW6IjXHq1hKkAiusUtLfpQoMUM
=dn6b
-----END PGP SIGNATURE-----

Patch
diff mbox

From 412be4e74d5cb09cadeffb5a03e20c1be825867a Mon Sep 17 00:00:00 2001
From: Ciaby <ciaby@rhizomatica.org>
Date: Sun, 31 Aug 2014 15:35:29 -0500
Subject: [PATCH] debian: fix build errors with libosmogsm and libosmoctrl

libosmogsm: the transition from 5 to 6 wasn't done properly. Fixed version number.
libosmoctrl: missing definition in debian/control and also missing libosmoctrl0.install.
---
 debian/control                                     |    6 ++++++
 debian/libosmoctrl0.install                        |    1 +
 .../{libosmogsm5.install => libosmogsm6.install}   |    0
 src/gsm/Makefile.am                                |    2 +-
 4 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 debian/libosmoctrl0.install
 rename debian/{libosmogsm5.install => libosmogsm6.install} (100%)

diff --git a/debian/control b/debian/control
index 3204f0f..e81f7cf 100644
--- a/debian/control
+++ b/debian/control
@@ -44,6 +44,12 @@  Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Osmo VTY library
 
+Package: libosmoctrl0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Osmo control library
+
 Package: libosmocore-dev
 Section: libdevel
 Architecture: any
diff --git a/debian/libosmoctrl0.install b/debian/libosmoctrl0.install
new file mode 100644
index 0000000..6b23be8
--- /dev/null
+++ b/debian/libosmoctrl0.install
@@ -0,0 +1 @@ 
+usr/lib/libosmoctrl*.so.*
diff --git a/debian/libosmogsm5.install b/debian/libosmogsm6.install
similarity index 100%
rename from debian/libosmogsm5.install
rename to debian/libosmogsm6.install
diff --git a/src/gsm/Makefile.am b/src/gsm/Makefile.am
index 4207959..1e2d893 100644
--- a/src/gsm/Makefile.am
+++ b/src/gsm/Makefile.am
@@ -1,6 +1,6 @@ 
 # This is _NOT_ the library release version, it's an API version.
 # Please read Chapter 6 "Library interface versions" of the libtool documentation before making any modification
-LIBVERSION=6:0:1
+LIBVERSION=6:0:0
 
 AM_CFLAGS = -Wall ${GCC_FVISIBILITY_HIDDEN} $(all_includes) -I$(top_srcdir)/include
 
-- 
1.7.9.5