need Debian packaging

Bug #389142 reported by cpb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libECBUFR
Fix Committed
Medium
cpb

Bug Description

We've removed the Debian packaging script (make_debpkg) for various reasons. We need a way to easily build a proper .deb using as many of the standard Debian tools as possible.

We should also be looking at .rpm support.

cpb (chris-beauregard)
Changed in libecbufr:
assignee: nobody → cpb (chris-beauregard)
importance: Undecided → Medium
Revision history for this message
vanh souvanlasy (vanh-souvanlasy) wrote :

A new script to create a debian source package has been added. "make_debsrcpkg"
This script create a source tar ball .tar.gz along with a .dsc

binary debian package can be created from debian source package using
the command dpkg-builpackage

su -
dpk-source -x libecbufr_0.8.2.dsc
dpkg-source -x libecbufr_0.8.2.dsc
cd libecbufr-0.8.2
dpkg-buildpackage -b -us -uc -tc

Revision history for this message
cpb (chris-beauregard) wrote :

The following also works (fakeroot is already reqired in make_debsrcpkg):

  dpkg-source -x libecbufr_0.8.2.dsc
  cd libecbufr-0.8.2
  fakeroot dpkg-buildpackage -b -us -uc -tc

Minor problem (configure not in path) already fixed in r75.
I'm modifying the "make pkg" to generate the .deb so my build boxes also pick it up.

Revision history for this message
cpb (chris-beauregard) wrote :

Doesn't want to build under sarge. I think debian/compat needs to be 4 or less, according to the error, which might work. I'm undecided whether we should fix this or just ignore sarge for the moment?

Revision history for this message
cpb (chris-beauregard) wrote :

"make pkg" now generates source and binary packages under sarge, etch, lenny, testing, jaunty and karmic. The packages may not entirely meet Debian policy, but at least the process works. Should be able to get a PPA build running without much hassle.

Changed in libecbufr:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.