Re: Making .deb packages

2005-08-25 Thread Bryan Donlan
On 8/25/05, jdgamble <[EMAIL PROTECTED]> wrote:
> On Fri, 26 Aug 2005 00:50:06 +0200, The Fungi wrote:
> 
> >> I am new to this whole thing of creating deb packages.  I am trying to
> >> make a deb file from the source of http://gotmail.sf.net so that they can
> >> post it with their sf project files.
> > [...]
> >
> > The gotmail application has already been packaged for Debian for
> > years, is presently maintained by Paul Cannon and can be downloaded
> > using apt-get, from official mirrors or the packages page:
> >
> >http://packages.debian.org/unstable/source/gotmail
> >
> > I would discuss your packaging efforts for the upstream maintainers
> > with Paul, as it might make sense to simply mirror versions already
> > available in Debian (or not even bother, since Debian users will
> > just get it from the official mirrors anyway).
> 
> I know that there is an official package already...I also know that the
> stable release is 0.8.2 which produces errors and needs to be patched...on
> top of that 0.8.4 is under unstable/testing so people can't get to it
> unless they add the unstable repository into their sources.list which I
> don't want to do because I want a stable system...then to make things
> worse they just released 0.8.6 so that's 4 version's in between the
> current package and now...I personally want to learn how to make deb
> packages and though this was a place I could come to to get help...

0.8.4-1 has the same dependencies as 0.8.2-3, so it should be usable
in stable without pulling anything else in from unstable/testing. As
for 0.8.6, I suggest you start from the debian patch:
http://ftp.debian.org/debian/pool/main/g/gotmail/gotmail_0.8.4-1.diff.gz

Apply that to the latest version, and see if dpkg-buildpackage works.
If upstream hasn't changed anything much with the install/build
system, that may be sufficient.

> I have been talking to the on of the developers of gotmail and I am
> helping out because he asked me to look into creating a deb for the
> sourceforge site...also I would like to find out how to create the deb
> like I said before when people type 'make deb' from the makefile...

make deb isn't the debian way - debian/rules is used for that. Though
the makefile could simply call debian/rules binary. That said, putting
the debian directory into the upstream release can actually make
things harder for the debian maintainer.

If you're really interested in packaging gotmail, you should probably
contact the debian maintainer, Paul Cannon <[EMAIL PROTECTED]>, and offer
to help, rather than starting from scratch.



Re: Making .deb packages

2005-08-25 Thread jdgamble
On Fri, 26 Aug 2005 00:50:06 +0200, The Fungi wrote:

>> I am new to this whole thing of creating deb packages.  I am trying to
>> make a deb file from the source of http://gotmail.sf.net so that they can
>> post it with their sf project files.
> [...]
> 
> The gotmail application has already been packaged for Debian for
> years, is presently maintained by Paul Cannon and can be downloaded
> using apt-get, from official mirrors or the packages page:
> 
>http://packages.debian.org/unstable/source/gotmail
> 
> I would discuss your packaging efforts for the upstream maintainers
> with Paul, as it might make sense to simply mirror versions already
> available in Debian (or not even bother, since Debian users will
> just get it from the official mirrors anyway).

I know that there is an official package already...I also know that the
stable release is 0.8.2 which produces errors and needs to be patched...on
top of that 0.8.4 is under unstable/testing so people can't get to it
unless they add the unstable repository into their sources.list which I
don't want to do because I want a stable system...then to make things
worse they just released 0.8.6 so that's 4 version's in between the
current package and now...I personally want to learn how to make deb
packages and though this was a place I could come to to get help...

I have been talking to the on of the developers of gotmail and I am
helping out because he asked me to look into creating a deb for the
sourceforge site...also I would like to find out how to create the deb
like I said before when people type 'make deb' from the makefile...


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Making .deb packages

2005-08-25 Thread Michael Spang

jdgamble wrote:


I'm not sure if this is the right group to post to, but I am trying to
learn how to make deb packages and I seem to go around in circles
confusing myself.

I am following this HowTo
http://www.debian.org/doc/maint-guide/ and I keep getting errors from
lintian and linda that I do not know how to fix.
 


lintian -i may be of help if some of the errors and warning seem cryptic.

HTH,
Michael Spang


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Making .deb packages

2005-08-25 Thread The Fungi
On Thu, Aug 25, 2005 at 06:06:10PM -0400, jdgamble wrote:
> I'm not sure if this is the right group to post to, but I am trying to
> learn how to make deb packages and I seem to go around in circles
> confusing myself.
[...]

It is not. The debian-mentors list is devoted to this particular
topic, so I have Cc'd it and set Mail-Followup-To accordingly.

> I am new to this whole thing of creating deb packages.  I am trying to
> make a deb file from the source of http://gotmail.sf.net so that they can
> post it with their sf project files.
[...]

The gotmail application has already been packaged for Debian for
years, is presently maintained by Paul Cannon and can be downloaded
using apt-get, from official mirrors or the packages page:

   http://packages.debian.org/unstable/source/gotmail

I would discuss your packaging efforts for the upstream maintainers
with Paul, as it might make sense to simply mirror versions already
available in Debian (or not even bother, since Debian users will
just get it from the official mirrors anyway).
-- 
{ IRL(Jeremy_Stanley); PGP(9E8DFF2E4F5995F8FEADDC5829ABF7441FB84657);
SMTP([EMAIL PROTECTED]); IRC([EMAIL PROTECTED]); ICQ(114362511);
AIM(dreadazathoth); YAHOO(crawlingchaoslabs); FINGER([EMAIL PROTECTED]);
MUD([EMAIL PROTECTED]:6669); WWW(http://fungi.yuggoth.org/); }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Making .deb packages

2005-08-25 Thread jdgamble
I'm not sure if this is the right group to post to, but I am trying to
learn how to make deb packages and I seem to go around in circles
confusing myself.

I am following this HowTo
http://www.debian.org/doc/maint-guide/ and I keep getting errors from
lintian and linda that I do not know how to fix.

When I was first going through the howto I only deleted the files that
they suggest I delete if I wasn't using them, then when I ran lintian or
reading it somewhere it said something about deleting the stuff I'm not
using.  

I am new to this whole thing of creating deb packages.  I am trying to
make a deb file from the source of http://gotmail.sf.net so that they can
post it with their sf project files.  I will also need to know how to
include a "deb" definition for their "make deb" command from the makefile.
 Right now the makefile has this for the rpm definition so when you run
 "make rpm" it creates the rpm

rpm:tarball
rpmbuild --define "_rpmdir `pwd`" -tb $(APPNAME)-$(RELEASE_NUM).tar.gz
mv noarch/*.rpm .
rmdir noarch

I also ran across the pkgwrite utility which I thought would make it easy,
but I'm confused by the documentation.  http://pkgwrite.sourceforge.net/

Any kind of help, pointing to any tutorials, etc. would be great...I'm not
trying to take an easy way out I just am very new to all this and want to
do it the right way.