Jump to content


Linux packager needed ? - how can I help ? /where's the source?


  • Please log in to reply
11 replies to this topic

#1 Andre-K

Andre-K

    Advanced Member

  • Members
  • PipPipPip
  • 185 posts
  • Country: flag of Norway Norway


Posted 28 September 2011 - 07:49 PM

When trying do download a linux package from http://wiki.openpilo...tware Downloads  - I discovered you need somebody to make package for Linux.
I can do that, but where do I find the software/source, and maybe somebody even have some basic instructions on how-to ?
Then I should be able to make .deb packages.

#2 metRo_

metRo_

    Key Member

  • Members
  • PipPipPip
  • 449 posts
  • LocationAmarante (Porto)
  • Country: flag of Portugal Portugal


Posted 28 September 2011 - 08:26 PM

You have here some info: http://forums.openpi...g-gcs-on-linux/
Feel free to correct my english, you can post or pm me, thanks :)

#3 Ivan

Ivan

    Developer

  • Members
  • PipPipPip
  • 324 posts
  • Country: flag of New Zealand New Zealand


Posted 28 September 2011 - 10:25 PM

Hes my attempt at a deb so far http://forums.openpi...bian-packaging/

#4 K Wells

K Wells

    Member

  • Members
  • PipPipPip
  • 2228 posts
  • LocationTexas
  • Country: flag of United States United States


Posted 12 November 2011 - 02:39 PM

I should have posted this here;

View PostK Wells, on 12 November 2011 - 02:22 PM, said:

I found this tool...I do not have the knowledge to use it but, it may assist a coder in building the Linux package

http://code.google.com/p/pkgcreator/

View PostDavid J, on 12 November 2011 - 02:29 PM, said:

I spent some time looking at that - you have to really understand the make process before getting to grips with it. :(

Looking Forward to the Maiden

#5 DrewF

DrewF

    Key Member

  • Members
  • PipPipPip
  • 162 posts
  • LocationChicago, IL
  • Country: flag of United States United States


Posted 12 November 2011 - 05:49 PM

Is .deb the way to go? I would think rpm or pkg with a few instructions would be more cross platform than deb as its a Debian only installer.  Or is the plan to have more than one installer platform type?  

I can help test installers as I have VM's for rhels, suse, Ubuntu, and Solaris.  I just don't know how to package for Linux.  Guess I should learn since I know how to package for windows. lol

#6 David J

David J

    Key Member

  • Members
  • PipPipPip
  • 745 posts
  • LocationBentley, Suffolk
  • Country: flag of United Kingdom United Kingdom


Posted 12 November 2011 - 06:41 PM

It seems that it's not too hard to create an rpm package from a deb one... according to the literature, anyway!
This page intentionally left justified...

#7 naiiawah

naiiawah

    Core Developer

  • Members
  • PipPipPip
  • 309 posts
  • LocationNorthwest USA
  • Country: flag of United States United States


Posted 12 November 2011 - 08:15 PM

View PostDavid J, on 12 November 2011 - 06:41 PM, said:

It seems that it's not too hard to create an rpm package from a deb one... according to the literature, anyway!

I've been working on and off on building up a .deb package build system for GCS for a while now.  Between real life work and some GCS enhancement work recently, the .deb stuff was sort of back burnered for a bit, but I'm back on it now.  I've already PM'ed Dankers about it, but busy as he is, he may not have seen my most recent message yet, and an earlier one on this was probably lost in the noise of the other conversation's main subject.

I'm a long time Linux kernel dev, so Linux is very familiar to me.  But, when it comes to .deb packages, it is new territory for me and I'm having to learn as I go.  As you mention, conceptually, building a .deb is fairly easy.  Unfortunately due to the complexity of how GCS gets built, it is making the .deb process troublesome.

I'm running into an issue with one of GCS' self built libraries trying to find another of its self built libs.  As the package tools are building packages, they try to build up the dependencies map for the package.  It seems the internal search path that libExtensionSystem gets built with for searching for libAggregation has a "strangeness" to it.  I'm guessing that the strangeness has been added for the sake of either Windoz or Mac OS/x, but for Linux it is probably a bug in the generation of libExtensionSystem.

I've been trying to chase down how to handle it, but no success so far.  Still hammering away though.

#8 Andre-K

Andre-K

    Advanced Member

  • Members
  • PipPipPip
  • 185 posts
  • Country: flag of Norway Norway


Posted 12 November 2011 - 09:46 PM

View Postnaiiawah, on 12 November 2011 - 08:15 PM, said:

As you mention, conceptually, building a .deb is fairly easy.  Unfortunately due to the complexity of how GCS gets built, it is making the .deb process troublesome.

being far less experienced, other than using Linux at work+home - I guess that's what caused my "simple" process of making .deb to end with a package containing several hundred MB's (or 1GB) - at least that's the problem I've never overcome - way too much got included because the automagic process thought it was needed.

#9 IceWind

IceWind

    Advanced Member

  • Members
  • PipPipPip
  • 72 posts
  • Country: flag of Ireland Ireland


Posted 13 November 2011 - 02:18 AM

Why not use instead BitRock installer for QT, as It's cross distribution compatible.
For whatever package type choose (.deb, .rpm, .tgz or even ebuild's :) ) it will never be cross distribution compatible
and despite the existing package converters it's always much more prone to fail.

As the OpenPilot project is a open source project, it can apply for a open source license from BitRock.
[ - xRotor.net - ]

#10 dankers

dankers

    Janitor

  • Administrators
  • 5124 posts
  • Country: flag of Australia Australia


Posted 13 November 2011 - 06:37 PM

Bitrock looks very good, well worth us evaluating that, thank you. I had no idea is existed.

#11 PT_Dreamer

PT_Dreamer

    GCS Core Developer

  • Administrators
  • 1210 posts
  • LocationCaparica, Portugal
  • Country: flag of Portugal Portugal


Posted 13 November 2011 - 06:46 PM

Looks really nice http://installbuilde...e-licenses.html

edit: and also has a nice "updater" feature witch will help create a GCS auto update.
Life is just a game, but atleast the graphics are awesome!

#12 osnwt

osnwt

    Core Developer

  • Administrators
  • 1499 posts
  • LocationSevastopol
  • Country: flag of Ukraine Ukraine


Posted 16 November 2011 - 06:39 PM

View PostIceWind, on 13 November 2011 - 02:18 AM, said:

Why not use instead BitRock installer for QT, as It's cross distribution compatible.
Because we can't redistribute the install system itself which will be licensed to the project only.
But I think that It conflicts with the goal of having whole project open so everyone can build all including installers and packages.