Hello All, I''ve been studying in-depth the process in which to build a DEB package for Ruby components. I have sucessfully packaged my XProcess library into a DEB, and created my own repository that can be used through apt-get. The deb line is: deb http://repo.trilake.net/ lucid main I am currently working on setting up a Rake task to create the necessary files, and directory structure in which to build a wxruby deb file. Due to the convulsed method in which we build everything in wxRuby, and the only available methods for packaging Ruby deb files, I will be having to setup a special case in which to create the deb. I will be posting to the SVN trunk the new rake task as soon as it is completed, which I hope will be within a couple of hours. Once I successfully build wxRuby 2.0.1, I will be posting it to my repository, and notifying the main mailing list of the new option in which to install wxRuby through apt-get. If you have any questions, please feel free to email on here, so that things can be discussed amongst all developers. -- Mario Steele Lieutenant 3 - Geo 99 XO - STO IFT Fleet Chief Engineer - Second Life http://www.iftcommand.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-development/attachments/20100621/6b66c5f2/attachment-0001.html>
I have checked in the code to build a deb package from the wxRuby code, with proper directory structure. There are some hacks in place, to make it work, but for all intensive purposes, creating a deb package should work now. Please review the code, and let me know of any issues, problems, questions, what have ya. The basic things you need to ensure that is installed on your system in order to create the deb, is: build-essential autoconf automake autotools-dev dh-make debhelper devscripts fakeroot xutils lintian pbuilder cdbs ruby-pkg-tools Currently, I have the rakefile checking for dh-make, cdbs and ruby-pkg-tools, but no checks are for any of the other packages. Most of what is listed above, is needed anyway to build wxRuby in the first place. I also have the repository alive with the new setup, the setup instructions for the new repository is as follows: wget -q http://repo.trilake.net/repo.gpg -O- | sudo apt-key add - sudo wget http://repo.trilake.net/apt/sources.list.d/lucid.list -O /etc/apt/sources.list.d/trilake.list sudo apt-get update sudo apt-get install wxruby Currently, I only have i386 package setup, but I will be adding an amd64 package to the repository as soon as I build it on my server. The above instructions, I will be posting to the wxruby-users email list, so that others can now take advantage of the new method for installing on Ubuntu 9.10 onwards. Again, any input, is most welcomed. Mario On Mon, Jun 21, 2010 at 1:34 AM, Mario Steele <mario at ruby-im.net> wrote:> Hello All, > > I''ve been studying in-depth the process in which to build a DEB package for > Ruby components. I have sucessfully packaged my XProcess library into a > DEB, and created my own repository that can be used through apt-get. The > deb line is: > > deb http://repo.trilake.net/ lucid main > > I am currently working on setting up a Rake task to create the necessary > files, and directory structure in which to build a wxruby deb file. Due to > the convulsed method in which we build everything in wxRuby, and the only > available methods for packaging Ruby deb files, I will be having to setup a > special case in which to create the deb. I will be posting to the SVN trunk > the new rake task as soon as it is completed, which I hope will be within a > couple of hours. Once I successfully build wxRuby 2.0.1, I will be posting > it to my repository, and notifying the main mailing list of the new option > in which to install wxRuby through apt-get. > > If you have any questions, please feel free to email on here, so that > things can be discussed amongst all developers. > > -- > Mario Steele > Lieutenant 3 - Geo 99 > XO - STO IFT Fleet > Chief Engineer - Second Life > http://www.iftcommand.com >-- Mario Steele Lieutenant 3 - Geo 99 XO - STO IFT Fleet Chief Engineer - Second Life http://www.iftcommand.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-development/attachments/20100621/78b3ed0b/attachment.html>
Made a slight mistake with the setup instructions below, the first line should be: wget -q http://repo.trilake.net/apt/repo.gpg -O- | sudo apt-key add - The instructions on wxRuby users is correct, but use this line above, instead of the one below/in the previous message. On Mon, Jun 21, 2010 at 7:12 AM, Mario Steele <mario at ruby-im.net> wrote:> I have checked in the code to build a deb package from the wxRuby code, > with proper directory structure. There are some hacks in place, to make it > work, but for all intensive purposes, creating a deb package should work > now. Please review the code, and let me know of any issues, problems, > questions, what have ya. > > The basic things you need to ensure that is installed on your system in > order to create the deb, is: > > build-essential autoconf automake autotools-dev dh-make debhelper > devscripts fakeroot xutils lintian pbuilder cdbs ruby-pkg-tools > > Currently, I have the rakefile checking for dh-make, cdbs and > ruby-pkg-tools, but no checks are for any of the other packages. Most of > what is listed above, is needed anyway to build wxRuby in the first place. > > I also have the repository alive with the new setup, the setup instructions > for the new repository is as follows: > > wget -q http://repo.trilake.net/repo.gpg -O- | sudo apt-key add - > sudo wget http://repo.trilake.net/apt/sources.list.d/lucid.list -O > /etc/apt/sources.list.d/trilake.list > > sudo apt-get update > sudo apt-get install wxruby > > Currently, I only have i386 package setup, but I will be adding an amd64 > package to the repository as soon as I build it on my server. The above > instructions, I will be posting to the wxruby-users email list, so that > others can now take advantage of the new method for installing on Ubuntu > 9.10 onwards. > > Again, any input, is most welcomed. > > Mario > > On Mon, Jun 21, 2010 at 1:34 AM, Mario Steele <mario at ruby-im.net> wrote: > >> Hello All, >> >> I''ve been studying in-depth the process in which to build a DEB package >> for Ruby components. I have sucessfully packaged my XProcess library into a >> DEB, and created my own repository that can be used through apt-get. The >> deb line is: >> >> deb http://repo.trilake.net/ lucid main >> >> I am currently working on setting up a Rake task to create the necessary >> files, and directory structure in which to build a wxruby deb file. Due to >> the convulsed method in which we build everything in wxRuby, and the only >> available methods for packaging Ruby deb files, I will be having to setup a >> special case in which to create the deb. I will be posting to the SVN trunk >> the new rake task as soon as it is completed, which I hope will be within a >> couple of hours. Once I successfully build wxRuby 2.0.1, I will be posting >> it to my repository, and notifying the main mailing list of the new option >> in which to install wxRuby through apt-get. >> >> If you have any questions, please feel free to email on here, so that >> things can be discussed amongst all developers. >> >> -- >> Mario Steele >> Lieutenant 3 - Geo 99 >> XO - STO IFT Fleet >> Chief Engineer - Second Life >> http://www.iftcommand.com >> > > > > -- > Mario Steele > Lieutenant 3 - Geo 99 > XO - STO IFT Fleet > Chief Engineer - Second Life > http://www.iftcommand.com >-- Mario Steele Lieutenant 3 - Geo 99 XO - STO IFT Fleet Chief Engineer - Second Life http://www.iftcommand.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/wxruby-development/attachments/20100621/29625d2f/attachment.html>