www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Linux RPM out of date

reply Kai Meyer <kai unixlords.com> writes:
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
Apr 08 2011
next sibling parent reply %u <asmasm hotmail.com> writes:
please do
Apr 08 2011
next sibling parent reply Kai Meyer <kai unixlords.com> writes:
Then I suppose I have two options. Do I start where somebody else left 
off? Or should I start from scratch? If from scratch, should I be 
re-packaging the .zip file distribution, or building from source?

I'm also interested in DDMD.

I don't know where I would find these resources. If somebody could point 
me to at least where the resources are (ie: source repository).

-Kai Meyer

On 04/08/2011 03:57 PM, %u wrote:
 please do

Apr 11 2011
next sibling parent Jesse Phillips <jessekphillips+D gmail.com> writes:
Kai Meyer Wrote:

 Then I suppose I have two options. Do I start where somebody else left 
 off? Or should I start from scratch? If from scratch, should I be 
 re-packaging the .zip file distribution, or building from source?
 
 I'm also interested in DDMD.
 
 I don't know where I would find these resources. If somebody could point 
 me to at least where the resources are (ie: source repository).
 
 -Kai Meyer
 
 On 04/08/2011 03:57 PM, %u wrote:
 please do


Well DDMD is found on Dsource, but I'm not sure if perusing packaging it now is worth it. http://www.dsource.org/projects/ddmd Well, I'm still updating DDebber. I tried to make it "plug-able" but as I didn't know what I was doing I'm not sure how well I've accomplished that. I've also been considering making it build from source, the only reason to do this is to get a 64bit dmd binary.
Apr 11 2011
prev sibling parent reply Kai Meyer <kai unixlords.com> writes:
On 04/11/2011 10:10 AM, Denis Koroskin wrote:
 On Mon, 11 Apr 2011 18:21:52 +0400, Kai Meyer <kai unixlords.com> wrote:

 Then I suppose I have two options. Do I start where somebody else left
 off? Or should I start from scratch? If from scratch, should I be
 re-packaging the .zip file distribution, or building from source?

 I'm also interested in DDMD.

 I don't know where I would find these resources. If somebody could
 point me to at least where the resources are (ie: source repository).

 -Kai Meyer

 On 04/08/2011 03:57 PM, %u wrote:
 please do


It's on dsource: http://dsource.org/projects/ddmd Feel free to ask whatever questions you want!

Ok, so there's DDMD, what about the rpm distribution from the website? Am I going to just repackage the .zip distribution? Or is there somewhere I can download and build D from the "real" source?
Apr 11 2011
parent Kai Meyer <kai unixlords.com> writes:
On 04/11/2011 11:22 AM, Kai Meyer wrote:
 On 04/11/2011 10:10 AM, Denis Koroskin wrote:
 On Mon, 11 Apr 2011 18:21:52 +0400, Kai Meyer <kai unixlords.com> wrote:

 Then I suppose I have two options. Do I start where somebody else left
 off? Or should I start from scratch? If from scratch, should I be
 re-packaging the .zip file distribution, or building from source?

 I'm also interested in DDMD.

 I don't know where I would find these resources. If somebody could
 point me to at least where the resources are (ie: source repository).

 -Kai Meyer

 On 04/08/2011 03:57 PM, %u wrote:
 please do


It's on dsource: http://dsource.org/projects/ddmd Feel free to ask whatever questions you want!

Ok, so there's DDMD, what about the rpm distribution from the website? Am I going to just repackage the .zip distribution? Or is there somewhere I can download and build D from the "real" source?

Oh, here it is: https://github.com/D-Programming-Language/dmd/tree/dmd-2.052 Thanks :) If anybody has the 2.051 source rpm that was used, that would help a great deal. Otherwise, I'll see you when I've got something working.
Apr 11 2011
prev sibling parent "Denis Koroskin" <2korden gmail.com> writes:
On Mon, 11 Apr 2011 18:21:52 +0400, Kai Meyer <kai unixlords.com> wrote:

 Then I suppose I have two options. Do I start where somebody else left  
 off? Or should I start from scratch? If from scratch, should I be  
 re-packaging the .zip file distribution, or building from source?

 I'm also interested in DDMD.

 I don't know where I would find these resources. If somebody could point  
 me to at least where the resources are (ie: source repository).

 -Kai Meyer

 On 04/08/2011 03:57 PM, %u wrote:
 please do


It's on dsource: http://dsource.org/projects/ddmd Feel free to ask whatever questions you want!
Apr 11 2011
prev sibling next sibling parent Jesse Phillips <jessekphillips+D gmail.com> writes:
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

Well on the DEB side of things: http://www.dsource.org/projects/ddebber/ will make a package. Walter also has a bash script.
Apr 08 2011
prev sibling parent reply Kai Meyer <kai unixlords.com> writes:
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 :)
Apr 12 2011
parent reply Kai Meyer <kai unixlords.com> writes:
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.
Apr 12 2011
parent reply Jesse Phillips <jessekphillips+D gmail.com> writes:
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.
Apr 12 2011
parent reply Kai Meyer <kai unixlords.com> writes:
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
Apr 13 2011
parent reply Jesse Phillips <jessekphillips+D gmail.com> writes:
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.
Apr 13 2011
parent reply Kai Meyer <kai unixlords.com> writes:
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
Apr 13 2011
parent reply Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
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
Apr 13 2011
next sibling parent Kai Meyer <kai unixlords.com> writes:
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
Apr 13 2011
prev sibling next sibling parent Kai Meyer <kai unixlords.com> writes:
 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
Apr 14 2011
prev sibling parent reply Kai Meyer <kai unixlords.com> writes:
 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
Apr 18 2011
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
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
Apr 18 2011