Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
November 09, 2006 Making debian package for dmd. | ||||
---|---|---|---|---|
| ||||
Attachments: | Lately, I've moved to ubuntu edgy and as I like to have clean and healthy system I try not to install custom files in it. So I need to make .deb for DMD. In attachment there is a debian subdirectory that will "debianize" dmd. To build your own .deb file you will have to: 1) download dmd.xxx.zip 2) extract it 3) move debian directory into extracted dmd dir so it looks like this: ./dmd/bin ./dmd/debian ./dmd/lib (...) 4) adjust dmd version in the first line of ./dmd/changelog 5) in the main project dir (`cd ./dmd`) run `dpkg-buildpackage -rfakeroot` And voila `cd ..; ls` - here are your precious debs. NOTES: I'm not debian maintainer; I'm new to ubuntu; I don't think about officially supporting dmd debianization - those names in files are there just to fill needed holes; if something goes wrong please tell me here - I'll try to help but without ANY warranty of any kind Other than that - enjoy. Should work for all debian-like systems. :) |
November 10, 2006 Re: Making debian package for dmd. | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dawid Ciężarkiewicz | Am Thu, 09 Nov 2006 16:31:43 +0100 schrieb Dawid Ciężarkiewicz:
> Lately, I've moved to ubuntu edgy and as I like to have clean and healthy system I try not to install custom files in it.
>
> So I need to make .deb for DMD. In attachment there is a debian subdirectory that will "debianize" dmd.
>
> To build your own .deb file you will have to:
> 1) download dmd.xxx.zip
> 2) extract it
> 3) move debian directory into extracted dmd dir so it looks like this:
> ./dmd/bin
> ./dmd/debian
> ./dmd/lib
> (...)
> 4) adjust dmd version in the first line of ./dmd/changelog
> 5) in the main project dir (`cd ./dmd`) run `dpkg-buildpackage -rfakeroot`
>
> And voila `cd ..; ls` - here are your precious debs.
>
> NOTES: I'm not debian maintainer; I'm new to ubuntu; I don't think about officially supporting dmd debianization - those names in files are there just to fill needed holes; if something goes wrong please tell me here - I'll try to help but without ANY warranty of any kind
>
> Other than that - enjoy. Should work for all debian-like systems. :)
Thank you.
Run fine for me.
|
November 11, 2006 Re: Making debian package for dmd. (RPM) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dawid Ciężarkiewicz | Dawid Ciężarkiewicz wrote: > Lately, I've moved to ubuntu edgy and as I like to have clean and healthy > system I try not to install custom files in it. > > So I need to make .deb for DMD. In attachment there is a debian subdirectory > that will "debianize" dmd. If you use redhat-like systems like Fedora, I have a DMD specfile that I update occasionally: http://www.algonet.se/~afb/d/dmd.spec Edit the vers number at the top, build with: rpmbuild -bb dmd.spec I usually try to patch it up to build without warnings, if enabled. --anders |
Copyright © 1999-2021 by the D Language Foundation