|
List Info
Thread: Creating a .deb file
|
|
| Creating a .deb file |

|
2007-09-21 09:15:21 |
Hi,
Does anyone have any appropriate debian control files so
that I can create a
.deb package for FLAC? I don't want to just compile it and
overwrite in case
it gets automatically overwritten by the Debian package
management tools.
Cheers
Andy
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
| Re: Creating a .deb file |

|
2007-09-21 15:14:47 |
On Fri, 21 Sep 2007, Andy Hawkins wrote:
> Hi,
>
> Does anyone have any appropriate debian control files
so that I can
> create a .deb package for FLAC? I don't want to just
compile it and
> overwrite in case it gets automatically overwritten by
the Debian
> package management tools.
A reasonable way to do this is to do this on a Debian or
Ubuntu system:
First, make sure the package manager believes you have the
required
dependencies to build flac:
$ sudo apt-get build-dep flac
And install the "devscripts" package, which we'll
use to bump the version
number of your custom package:
$ sudo apt-get install devscripts
Then, download your CVS or otherwise fresh flac and put in a
directory
called flac-fresh/. Then, do this:
$ apt-get source flac
That will download some files; you're only interested in the
flac*.diff.gz
file. That patch contains everything you need to make a
Debian package
out of the flac source. All you should hopefully need from
it is the
debian/ directory.
Now, apply it to your flac-fresh directory:
$ cd flac-fresh/
$ zcat ../flac*.diff.gz | patch -p1
Now you're in the flac-fresh directory; let's increase the
version number
of this Debian package using dch, the "d"ebian
"ch"angelog editor, telling
it to "i"ncrement the version.
$ dch -i
In the editor that spawns, write some short note or nothing
at all; the
important thing is that the version number is now higher
than the one
Debian provides. Now build the package:
$ dpkg-buildpackage -rfakeroot
Now you should have some .deb files in ../*.deb.
-- Asheesh.
--
"I'm growing older, but not up."
-- Jimmy Buffett
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
| Re: Creating a .deb file |

|
2007-09-23 04:31:07 |
Hi.
In article <alpine.DEB.0.9999.0709211307540.30976 dell.linuxdev.us.dell.com>,
Asheesh Laroia<asheesh asheesh.org> wrote:
> A reasonable way to do this is to do this on a Debian
or Ubuntu system:
[snip comprehensive instructions]
Thanks a lot for that, I'll have a go at it later.
Andy
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
| Re: Re: Creating a .deb file |

|
2007-09-23 09:59:24 |
On Sunday 23. September 2007 11:31:07 Andy Hawkins wrote:
> Hi.
>
> In article
> <alpine.DEB.0.9999.0709211307540.30976 dell.linuxdev.us.dell.com>,
>
> Asheesh Laroia wrote:
> > A reasonable way to do this is to do this on a
Debian or Ubuntu system:
>
> [snip comprehensive instructions]
>
> Thanks a lot for that, I'll have a go at it later.
Share your package on http://getdeb.net/
--
Daniel Aleksandersen
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
| Re: Re: Creating a .deb file |

|
2007-09-23 13:25:52 |
On Sun, Sep 23, 2007 at 04:59:24PM +0200, Daniel
Aleksandersen wrote:
> Share your package on http://getdeb.net/
Or just wait, like, a day for me to finish the packaging...
Patiently,
--
Joshua Kwan
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
| Re: Creating a .deb file |

|
2007-09-24 11:15:51 |
Hi,
In article <20070923182552.GN24611 triplehelix.org>,
Joshua Kwan<joshk triplehelix.org> wrote:
> Or just wait, like, a day for me to finish the
packaging...
I didn't realise someone was actually packaging it up
'properly'. I'd much
rather use an 'official' package than some home brewed one I
made myself!
I used the instructions above, and have got it all installed
correctly, so
thanks to the original reply for the useful info.
I'll look forward to seeing the 'official' package. Will it
be announce
here?
Andy
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
| Re: Re: Creating a .deb file |

|
2007-09-25 17:12:39 |
On Mon, Sep 24, 2007 at 04:15:51PM +0000, Andy Hawkins
wrote:
> I didn't realise someone was actually packaging it up
'properly'. I'd much
> rather use an 'official' package than some home brewed
one I made myself!
It's official in the sense that it is now an official Debian
package.
I uploaded it yesterday. You can retrieve it from the
unstable archive
and it should hit the testing archive in a week or so.
> I used the instructions above, and have got it all
installed correctly, so
> thanks to the original reply for the useful info.
>
> I'll look forward to seeing the 'official' package.
Will it be announce
> here?
It usually happens silently, but since people were making a
fuss about
it, I decided to speak up.
P.S. for ubuntu you'll want to nudge the MOTUs. I don't know
how that
process goes but what they usually do is just rebuild my
source package
against a ubuntu distribution tree.
> Andy
--
Joshua Kwan
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
| Re: Creating a .deb file |

|
2007-09-26 04:46:03 |
Hi,
In article <20070925221239.GS24611 triplehelix.org>,
Joshua Kwan<joshk triplehelix.org> wrote:
[snip]
Apologies, but I replied to this directly via e-mail, didn't
realise it had
been sent to the list as well.
Andy
_______________________________________________
Flac-dev mailing list
Flac-dev xiph.org
http:
//lists.xiph.org/mailman/listinfo/flac-dev
|
|
[1-8]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|