April 13, 2011
Kai Meyer Wrote:

> On 04/12/2011 05:22 PM, Kai Meyer wrote:
> > On 04/08/2011 10:47 AM, Kai Meyer wrote:
> >> I've been waiting patiently for the Linux RPM to be updated (it's currently 2.051). Do I need to continue to wait, or should I volunteer some time to help maintain the RPM packaging? I would be happy to help develop and maintain a DEB package as well.
> >>
> >> -Kai Meyer
> >
> > This source RPM uses the .zip source distributions from git.
> >
> > http://kai.gnukai.com/rpms/dmd-2.052-0.i386.rpm http://kai.gnukai.com/rpms/dmd-2.052-0.src.rpm
> >
> > I've tested on my Fedora 14 box, and everything appears to be working fine. With out the source rpm that built the one on that's available on the website, I've tried to extrapolate what I could about where things should go, and what should be included. I tried to error on the side of including too much.
> >
> > I have not tried to build on CentOS, and I have stripped out all the RPM dependencies to make installation a little simpler. I hope you can resolve the dependancies yourself.
> >
> > I started with the spec file that's in the "installer" repo, but kept very little of it. One portion was the alien stuff in the post commands. I don't think that's the place it belongs, but it's just sitting there commented out for interested individuals.
> >
> > I'm interested in making this better, so feedback please :)
> 
> 
> P.S.
> 
> When building on a x64 machine, please add --target i386 to the rpmbuild
> command, ie:
> rpmbuild --target i386 -ba dmd.spec
> 
> I'll fix that later.

Well you aren't supposed to distribute the RPMs yourself, license doesn't allow for that.
April 13, 2011
On 04/12/2011 07:00 PM, Jesse Phillips wrote:
> Kai Meyer Wrote:
>
>> On 04/12/2011 05:22 PM, Kai Meyer wrote:
>>> On 04/08/2011 10:47 AM, Kai Meyer wrote:
>>>> I've been waiting patiently for the Linux RPM to be updated (it's
>>>> currently 2.051). Do I need to continue to wait, or should I volunteer
>>>> some time to help maintain the RPM packaging? I would be happy to help
>>>> develop and maintain a DEB package as well.
>>>>
>>>> -Kai Meyer
>>>
>>> This source RPM uses the .zip source distributions from git.
>>>
>>> http://kai.gnukai.com/rpms/dmd-2.052-0.i386.rpm
>>> http://kai.gnukai.com/rpms/dmd-2.052-0.src.rpm
>>>
>>> I've tested on my Fedora 14 box, and everything appears to be working
>>> fine. With out the source rpm that built the one on that's available on
>>> the website, I've tried to extrapolate what I could about where things
>>> should go, and what should be included. I tried to error on the side of
>>> including too much.
>>>
>>> I have not tried to build on CentOS, and I have stripped out all the RPM
>>> dependencies to make installation a little simpler. I hope you can
>>> resolve the dependancies yourself.
>>>
>>> I started with the spec file that's in the "installer" repo, but kept
>>> very little of it. One portion was the alien stuff in the post commands.
>>> I don't think that's the place it belongs, but it's just sitting there
>>> commented out for interested individuals.
>>>
>>> I'm interested in making this better, so feedback please :)
>>
>>
>> P.S.
>>
>> When building on a x64 machine, please add --target i386 to the rpmbuild
>> command, ie:
>> rpmbuild --target i386 -ba dmd.spec
>>
>> I'll fix that later.
>
> Well you aren't supposed to distribute the RPMs yourself, license doesn't allow for that.

Ok, how should I go about this then?

-Kai Meyer
April 13, 2011
Kai Meyer Wrote:

> Ok, how should I go about this then?
> 
> -Kai Meyer

Send the updated RPMs to Walter after each release. If you have an easy tool to build them you can ask Walter if he would like it. Note he likes bash files because he can review what they are doing easily.
April 13, 2011
On 04/13/2011 12:46 PM, Jesse Phillips wrote:
> Kai Meyer Wrote:
>
>> Ok, how should I go about this then?
>>
>> -Kai Meyer
>
> Send the updated RPMs to Walter after each release. If you have an easy tool to build them you can ask Walter if he would like it. Note he likes bash files because he can review what they are doing easily.

As in email them directly to him?

RPM spec files rely heavily on shell scripts. If he likes bash, he'll love rpmbuild.

-Kai Meyer
April 13, 2011
On 4/13/11 2:04 PM, Kai Meyer wrote:
> On 04/13/2011 12:46 PM, Jesse Phillips wrote:
>> Kai Meyer Wrote:
>>
>>> Ok, how should I go about this then?
>>>
>>> -Kai Meyer
>>
>> Send the updated RPMs to Walter after each release. If you have an
>> easy tool to build them you can ask Walter if he would like it. Note
>> he likes bash files because he can review what they are doing easily.
>
> As in email them directly to him?
>
> RPM spec files rely heavily on shell scripts. If he likes bash, he'll
> love rpmbuild.
>
> -Kai Meyer

Kai,


It would be indeed great to automate this once and for all.

We have an installer project at https://github.com/D-Programming-Language/installer. If you create a pull request for that project, I'd be glad to review and integrate it.

If you need help with creating a pull request on github, feel free to ask here - several contributors are quite familiar with such.


Thanks,

Andrei
April 13, 2011
On 04/13/2011 01:12 PM, Andrei Alexandrescu wrote:
> On 4/13/11 2:04 PM, Kai Meyer wrote:
>> On 04/13/2011 12:46 PM, Jesse Phillips wrote:
>>> Kai Meyer Wrote:
>>>
>>>> Ok, how should I go about this then?
>>>>
>>>> -Kai Meyer
>>>
>>> Send the updated RPMs to Walter after each release. If you have an
>>> easy tool to build them you can ask Walter if he would like it. Note
>>> he likes bash files because he can review what they are doing easily.
>>
>> As in email them directly to him?
>>
>> RPM spec files rely heavily on shell scripts. If he likes bash, he'll
>> love rpmbuild.
>>
>> -Kai Meyer
>
> Kai,
>
>
> It would be indeed great to automate this once and for all.
>
> We have an installer project at
> https://github.com/D-Programming-Language/installer. If you create a
> pull request for that project, I'd be glad to review and integrate it.
>
> If you need help with creating a pull request on github, feel free to
> ask here - several contributors are quite familiar with such.
>
>
> Thanks,
>
> Andrei

Great, I'll poke around in the installer project, and see how it goes. Thanks

-Kai Meyer
April 14, 2011
> Kai,
>
>
> It would be indeed great to automate this once and for all.
>
> We have an installer project at
> https://github.com/D-Programming-Language/installer. If you create a
> pull request for that project, I'd be glad to review and integrate it.
>
> If you need help with creating a pull request on github, feel free to
> ask here - several contributors are quite familiar with such.
>
>
> Thanks,
>
> Andrei

The current project has a few features that I'm not sure are very desirable. I would like some feedback as I try to decide how to best

1) Repackage the .zip distribution from the website.
It hurts my brain to think that's the best way to approach this. I've already verified that a fairly stock CentOS 5.6 and Fedora 14 systems can compile dmd, phobos, and druntime all from source on git. I think this would be preferable.

2) Support arbitrary versions of DMD.
I think it would be better to create tags in the installer project that match the other tags/versions. I have something that works right now with 2.052 (as far as I can test). I would rather not have to worry about backwards compatibility as we move forward once it's finished.

3) Makefile creates a spec file and then tries to start the build.
Would we like to have a method that should work something like this?
git clone ..../installer.git
cd installer
./this-script-should-result-in-the-rpm
Or should we simply provide .patch files and a .spec file?


-Kai Meyer
April 18, 2011
>
> Kai,
>
>
> It would be indeed great to automate this once and for all.
>
> We have an installer project at
> https://github.com/D-Programming-Language/installer. If you create a
> pull request for that project, I'd be glad to review and integrate it.
>
> If you need help with creating a pull request on github, feel free to
> ask here - several contributors are quite familiar with such.
>
>
> Thanks,
>
> Andrei


I created the pull request, but haven't heard back. I'm happy to be patient if you would confirm the pull request worked as designed. :)

-Kai Meyer
April 19, 2011
On 4/18/11 10:02 AM, Kai Meyer wrote:
>>
>> Kai,
>>
>>
>> It would be indeed great to automate this once and for all.
>>
>> We have an installer project at
>> https://github.com/D-Programming-Language/installer. If you create a
>> pull request for that project, I'd be glad to review and integrate it.
>>
>> If you need help with creating a pull request on github, feel free to
>> ask here - several contributors are quite familiar with such.
>>
>>
>> Thanks,
>>
>> Andrei
>
>
> I created the pull request, but haven't heard back. I'm happy to be
> patient if you would confirm the pull request worked as designed. :)
>
> -Kai Meyer

I'm on it. Unfortunately I need to take your word for it because I can't test on those OSs.

Andrei
1 2
Next ›   Last »