Opened 12 years ago

Closed 12 years ago

#34 closed enhancement (fixed)

in need of the .changes

Reported by: josephboiteau@… Owned by: bas
Priority: trivial Milestone:
Version: 5.5.0 Keywords: .changes debian packaging
Cc:

Description

Hi,
some tools need .changes file to integrate a debian package.

You apparently just publish the .deb file, no .changes, empty sources
Is it a wish ? why ?

Thanks for your answers.

Attachments (2)

dellomsa-5.5.0.tgz (3.8 KB) - added by josephboiteau@… 12 years ago.
my basic files hierarchy, used to build the package
dellomsa-5.5.0.2.tgz (4.4 KB) - added by josephboiteau@… 12 years ago.
my basic files hierarchy, used to build the package multi arch

Download all attachments as: .zip

Change History (11)

comment:1 Changed 12 years ago by bas

The build is a imple script:

  • dpkg -b

so we do not have all the other files. In deb-package the source is included and you can also extract the DEBIAN directory

comment:2 Changed 12 years ago by josephboiteau@…

I'm not the king of debian packaging but I'm sure you can do a bit better !
I've played a bit with debian helper scripts (packages dpkg-dev & dh-make), you wan't some hints ? It will help the changelog demand too :)

comment:3 Changed 12 years ago by bas

Maybe i can do better ;-) and i am always open for suggestions or improvements. So if you have a beter solution for it, i will apply it.

Changed 12 years ago by josephboiteau@…

my basic files hierarchy, used to build the package

comment:4 Changed 12 years ago by josephboiteau@…

I used the dh_make script du build the main structure
then, into sub debian dir:
i replaced autobuilded postinst prerm & control with yours
i quickly modify the copyright & README.debian files, you should revised them
i convert your original changelog into debian format
and i add a simple Makefile to answer rules file needs

you just have to add source files into sources dir (etc,opt & usr), remove you original
Changelog file, the debian system will recreate it from the one into debian/ (and the revision version took from it too)

then launch, from dir dellomsa-5.5.0, launch

dpkg-buildpackage

(from dpkg-dev package)
all files (.deb, .changes, etc...) should appear into parent dir

comment:5 Changed 12 years ago by bas

thanks for the setup. I will look into it. The first thing i see it is not for 'all' architectures but for any and in my setup i can create packegs for amd64 and i386 on the same machine.

comment:6 Changed 12 years ago by bas

and the dependencies dor amd64 and i386 are different.

Changed 12 years ago by josephboiteau@…

my basic files hierarchy, used to build the package multi arch

comment:7 Changed 12 years ago by josephboiteau@…

watch my new submit, you have 2 different control files, one per arch
you can force the arch at build:

dpkg-buildpackage -ai386



(sorry, i had no right to replace my former attachment)

comment:8 Changed 12 years ago by bas

  • Owner set to bas
  • Status changed from new to assigned

Thanks i have added your changelog the new packing system and will consider the new setup.

comment:9 Changed 12 years ago by bas

  • Resolution set to fixed
  • Status changed from assigned to closed

just close, we now have a changes file

Note: See TracTickets for help on using tickets.