Hi,

>>>>> In <4A85BB1D.2060704 at sq7.org> 
>>>>>   Colin Davis <colin at sq7.org> wrote:

> I'd like to reiterate that it would be best to give Matthew a way to
> build this on his machine, that way he can point it at any tag, and
> he can release a .tgz and a .deb at the same time.

Agreed.  Actually, all needed stuff have been already provided -- see
00update-fred.sh in the same directory I put
.deb(http://people.debian.org/~mhatta/debian/freenet or
freenet-staging).  I carefully set the build dependency, so all you
have to do is:

$ git clone git://github.com/freenet/fred-official.git
$ git clone git://github.com/freenet/contrib-official.git
$ tar xvfz debian.fred.tmpl.tar.gz

(Install needed packages, see Build-Dep: section in debian/control,
also dch is in the devscript package BTW)

$ ./01update-fred.sh

You might need to add "-us -uc" to the arg of dpkg-buildpackage.

Of course, if you simply want to rebuild the existing package, then:

(get *.diff.gz, *.dsc, *.orig.tar.gz from
e.g. http://people.debian.org/~mhatta/debian/freenet)

$ dpkg-source -x fred_0.7.5+build01230-0.1.dsc
$ cd fred_0.7.5+build01230

(edit debian/changelog)

$ dpkg-buildpackage -rfakeroot

And follow the message.  This should work on Ubuntu.

Also, I think the content of debian.fred.tmpl/ (and possibly debian/
for other freenet-related software such as jSite) should be maintained
at github, like rpm.  Could you make repository called "debian" or
such and give me("mhatta" on github) a permission to push?

Best regards,
MH

--
Masayuki Hatta

Graduate School of Economics, The University of Tokyo
Manufacturing Management Research Center, The University of Tokyo

mhatta at mhatta.org / mhatta at grad.e.u-tokyo.ac.jp
mhatta at gnu.org / mhatta at debian.org / mhatta at opensource.jp

Reply via email to