| Thread overview | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
June 16, 2010 [phobos] Any expert in rpm? | ||||
|---|---|---|---|---|
| ||||
I think it would be great to reduce the barrier to entry as much as we can. Currently we have a deb package but not rpm. A savvy user can use alien to convert from one to another (with limitations), but I think simply having a downloadable rpm is the best way to go. Is anyone here an expert on building rpms? Thanks, Andrei | ||||
June 16, 2010 [phobos] [dmd-internals] Any expert in rpm? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | I remember a post with instructions about this on digitalmars.D (or maybe d.announce). It might be helpful to find that post?
Ideally, we should get the D package incorporated into distributions. A debian package would get D into all downstream distributions, including ubuntu.
Sent from my iPhone
On Jun 16, 2010, at 6:50 PM, Andrei Alexandrescu <andrei at erdani.com> wrote:
> I think it would be great to reduce the barrier to entry as much as we can. Currently we have a deb package but not rpm. A savvy user can use alien to convert from one to another (with limitations), but I think simply having a downloadable rpm is the best way to go.
>
> Is anyone here an expert on building rpms?
>
>
> Thanks,
>
> Andrei
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
| |||
June 17, 2010 [phobos] Any expert in rpm? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | Andrei Alexandrescu <andrei at ...> writes: > > I think it would be great to reduce the barrier to entry as much as we can. Currently we have a deb package but not rpm. A savvy user can use alien to convert from one to another (with limitations), but I think simply having a downloadable rpm is the best way to go. > > Is anyone here an expert on building rpms? > > Thanks, > > Andrei > Will you settle for a novice on building rpms? Here is a bash script which will convert a dmd zip distribution to rpm: http://personal.utulsa.edu/~ellery-newcomer/dmd2rpm usage: $ dmd2rpm dmd.2.047.zip I've only tested the resulting rpms on fedora 13, 32 bit and 64 bit, but it works nicely on each. Note I wasn't sure what to put in the license slot, as well as a few others. I also haven't looked at signing it, so installation would look something like yum install dmd-2.047-1.i686.rpm --nogpgcheck a yum repository would be nice for automatic upgrades.. | |||
June 17, 2010 [phobos] Any expert in rpm? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | That looks awesome. The script is solid, I'd only add this:
function trapZERR() {
echo "Error $? detected, killing process $$" >&2
kill $$
}
at the beginning. That way the script would die if any command returns a nonzero code.
I'll test the script as soon as I'll have an opportunity.
Thanks Ellery!
Andrei
Ellery Newcomer wrote:
> Andrei Alexandrescu <andrei at ...> writes:
>
>> I think it would be great to reduce the barrier to entry as much as we can. Currently we have a deb package but not rpm. A savvy user can use alien to convert from one to another (with limitations), but I think simply having a downloadable rpm is the best way to go.
>>
>> Is anyone here an expert on building rpms?
>>
>> Thanks,
>>
>> Andrei
>>
>
>
> Will you settle for a novice on building rpms?
>
> Here is a bash script which will convert a dmd zip distribution to rpm:
>
> http://personal.utulsa.edu/~ellery-newcomer/dmd2rpm
>
> usage:
>
> $ dmd2rpm dmd.2.047.zip
>
> I've only tested the resulting rpms on fedora 13, 32 bit and 64 bit, but it works nicely on each.
>
> Note I wasn't sure what to put in the license slot, as well as a few others.
>
> I also haven't looked at signing it, so installation would look something like
>
> yum install dmd-2.047-1.i686.rpm --nogpgcheck
>
> a yum repository would be nice for automatic upgrades..
>
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
| |||
June 17, 2010 [phobos] Any expert in rpm? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer |
Ellery Newcomer wrote:
>
>
>
> Will you settle for a novice on building rpms?
>
> Here is a bash script which will convert a dmd zip distribution to rpm:
>
>
Great, I have it checked in now!
| |||
June 17, 2010 [phobos] Any expert in rpm? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Cool! Where is it?
Andrei
Walter Bright wrote:
>
>
> Ellery Newcomer wrote:
>>
>>
>>
>> Will you settle for a novice on building rpms?
>>
>> Here is a bash script which will convert a dmd zip distribution to rpm:
>>
>>
>
> Great, I have it checked in now!
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
| |||
June 18, 2010 [phobos] Any expert in rpm? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | http://dsource.org/projects/dmd-installer Andrei Alexandrescu wrote: > Cool! Where is it? > > Andrei > > Walter Bright wrote: >> >> >> Ellery Newcomer wrote: >>> >>> >>> >>> Will you settle for a novice on building rpms? >>> >>> Here is a bash script which will convert a dmd zip distribution to rpm: >>> >>> >> >> Great, I have it checked in now! >> _______________________________________________ >> phobos mailing list >> phobos at puremagic.com >> http://lists.puremagic.com/mailman/listinfo/phobos > _______________________________________________ > phobos mailing list > phobos at puremagic.com > http://lists.puremagic.com/mailman/listinfo/phobos > > | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply