Re: Help with d-shlibs needed

2014-04-04 Thread Andreas Tille
Hi,

On Thu, Apr 03, 2014 at 09:39:29PM +0600, Andrey Rahmatullin wrote:
 On Thu, Apr 03, 2014 at 04:03:02PM +0200, Andreas Tille wrote:
   Isn't it just much easier to use a install file pointing the right
   places?
  No.  You need to adapt to different versions
 Huh?

well, the former packaging contained files

debian/libbamtools2.2.0*

which would have needed to be renamed to

debian/libbamtools2.3.0*

for the new version.  There is no need to do so when using d-shlibs.

And yes, I know that you could do a different rules file and care with
this.  But I was asked why I'm using the tool that was *designed* to
handle libraries for a library package.  I've thought a short answer
would be sufficient.

Does this makes things more clear and has anybody an idea how to
solve the original problem?

Kind regards

   Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140404085522.ga19...@an3as.eu



Re: Help with d-shlibs needed

2014-04-04 Thread Andrey Rahmatullin
On Fri, Apr 04, 2014 at 10:55:22AM +0200, Andreas Tille wrote:
Isn't it just much easier to use a install file pointing the right
places?
   No.  You need to adapt to different versions
  Huh?
 
 well, the former packaging contained files
 
 debian/libbamtools2.2.0*
 
 which would have needed to be renamed to
 
 debian/libbamtools2.3.0*
That's quite strange name for a library. Can you elaborate?

-- 
WBR, wRAR


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140404094639.ga24...@belkar.wrar.name



Re: Help with d-shlibs needed

2014-04-04 Thread Andrey Rahmatullin
On Fri, Apr 04, 2014 at 03:46:39PM +0600, Andrey Rahmatullin wrote:
 Isn't it just much easier to use a install file pointing the right
 places?
No.  You need to adapt to different versions
   Huh?
  
  well, the former packaging contained files
  
  debian/libbamtools2.2.0*
  
  which would have needed to be renamed to
  
  debian/libbamtools2.3.0*
 That's quite strange name for a library. Can you elaborate?
Nevermind, got it.

-- 
WBR, wRAR


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140404095218.ga25...@belkar.wrar.name



Help with d-shlibs needed

2014-04-03 Thread Andreas Tille
Hi,

I tried to migrate bamtools (not yet released package!) at

   git://anonscm.debian.org/debian-med/bamtools.git

to d-shlibs but it ended up by


d-shlibmove --commit \
--multiarch \
--devunversioned \
--exclude-la \
--movedev debian/tmp/usr/include/* usr/include \
debian/tmp/usr/lib/lib*.so
Library package automatic movement utility
 -- zlib1g-dev package exists.
set -e
install -d -m 755  debian/libbamtools-dev/usr/lib/x86_64-linux-gnu
install -d -m 755  debian/libbamtools2.3.0/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/libbamtools.a 
debian/libbamtools-dev/usr/lib/x86_64-linux-gnu
mv debian/tmp/usr/lib/libbamtools.so 
debian/libbamtools-dev/usr/lib/x86_64-linux-gnu
mv /tmp/buildd/bamtools-2.3.0+dfsg/debian/tmp/usr/lib/libbamtools.so.2.3.0 
debian/libbamtools2.3.0/usr/lib/x86_64-linux-gnu
mv /tmp/buildd/bamtools-2.3.0+dfsg/debian/tmp/usr/lib/libbamtools.so.2.3.0 
debian/libbamtools2.3.0/usr/lib/x86_64-linux-gnu
PKGDEV=libbamtools-dev
PKGSHL=libbamtools2.3.0
install -d -m 755  debian/libbamtools-dev/usr/include
mv debian/tmp/usr/include/bamtools debian/libbamtools-dev/usr/include
mv: cannot stat 
'/tmp/buildd/bamtools-2.3.0+dfsg/debian/tmp/usr/lib/libbamtools.so.2.3.0': No 
such file or directory


Please note that the file
/tmp/buildd/bamtools-2.3.0+dfsg/debian/tmp/usr/lib/libbamtools.so.2.3.0
just can not be found since it was moved correctly five lines above.


Is there anything I'm missing in the d-shlibs usage or is this just a
bug in d-shlibs?


Kind regards

Andreas.


-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140403112101.ga22...@an3as.eu



Re: Help with d-shlibs needed

2014-04-03 Thread Sune Vuorela
On 2014-04-03, Andreas Tille andr...@an3as.eu wrote:
 Hi,

 I tried to migrate bamtools (not yet released package!) at

git://anonscm.debian.org/debian-med/bamtools.git

 to d-shlibs but it ended up by

What's d-shlibs and why do you use it?

Isn't it just much easier to use a install file pointing the right
places?

/Sune


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/lhjjnu$b38$1...@ger.gmane.org



Re: Help with d-shlibs needed

2014-04-03 Thread Andreas Tille
On Thu, Apr 03, 2014 at 12:21:18PM +, Sune Vuorela wrote:
 On 2014-04-03, Andreas Tille andr...@an3as.eu wrote:
  Hi,
 
  I tried to migrate bamtools (not yet released package!) at
 
 git://anonscm.debian.org/debian-med/bamtools.git
 
  to d-shlibs but it ended up by
 
 What's d-shlibs

apt-cache show d-shlibs

 and why do you use it?

To easily create library packages.  I'm using it quite successfully
in several of my packages.

 Isn't it just much easier to use a install file pointing the right
 places?

No.  You need to adapt to different versions and usually (if d-shlibs
works as expected) things work very smoothly. 

Kind regards

 Andreas.

-- 
http://fam-tille.de


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140403140302.ga29...@an3as.eu



Re: Help with d-shlibs needed

2014-04-03 Thread Andrey Rahmatullin
On Thu, Apr 03, 2014 at 04:03:02PM +0200, Andreas Tille wrote:
  Isn't it just much easier to use a install file pointing the right
  places?
 No.  You need to adapt to different versions
Huh?

-- 
WBR, wRAR


signature.asc
Description: Digital signature