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

Re: deb from source



Colin Watson wrote:
On Fri, Aug 29, 2003 at 11:26:13PM +1000, Russell Shaw wrote:

I'm trying to build gtk2.0-dbg .deb from source.

I downloaded:
 gtk+2.0_2.2.1-6.dsc
 gtk+2.0_2.2.1-6.diff.gz
 gtk+2.0_2.2.1.orig.tar.gz

then:
 tar -xzvf gtk+2.0_2.2.1.orig.tar.gz
 gunzip    gtk+2.0_2.2.1-6.diff.gz

 patch -p0 < gtk+2.0_2.2.1-6.diff

 cd gtk+2.0_2.2.1.orig

That's a ... convoluted (and wrong) way to extract a source package.
Remove that gtk+2.0_2.2.1.orig directory, and try this instead:

  dpkg-source -x gtk+2.0_2.2.1-6.dsc

I thought there was an easier way! So i tried:

  ~/SRC/GTK2: dpkg-source -x gtk+2.0_2.2.1-6.dsc

  dpkg-source: extracting gtk+2.0 in gtk+2.0-2.2.1

  ~/SRC/GTK2: ls

  gtk+2.0-2.2.1  gtk+2.0_2.2.1-6.diff.gz  gtk+2.0_2.2.1-6.dsc  gtk+2.0_2.2.1.orig.tar.gz

  ~/SRC/GTK2: dpkg-source -b gtk+2.0-2.2.1

  dpkg-source: building gtk+2.0 using existing gtk+2.0_2.2.1.orig.tar.gz
  dpkg-source: failure: md5sum gave bogus output `'

Should this step generate a .deb file?



Reply to: