Author Topic: Packging JMRI for Fedora and Centos  (Read 2038 times)

0 Members and 1 Guest are viewing this topic.

Iain

  • Crew
  • *
  • Posts: 4661
  • Gender: Female
  • Na sgrìobhaidh a Iain
  • Respect: +386
    • The Best Puppers
Packging JMRI for Fedora and Centos
« on: January 08, 2016, 08:34:11 PM »
0
As one of the Things I Do, I am a package maintainer for Fedora and Centos (actually, EPEL, but we're splitting hairs).

Just out of curiosity, how much interest would there be in me doing this work?  Obviously, it would only work for rpm based distros, and it takes a bit of finagling to get the package to meet Fedora's high standards.  But, the end result would be that you could dnf (or yum if your on Cent or RHEL) install jmri and it would be there, ready to go, including udev rules.

Thoughts?
I like ducks

Philip H

  • Crew
  • *
  • Posts: 8915
  • Gender: Male
  • Respect: +1656
    • Layout Progress Blog
Re: Packging JMRI for Fedora and Centos
« Reply #1 on: January 08, 2016, 08:48:15 PM »
+1
Could you possibly translate that for us unwashed heathens?
Philip H.
Chief Everything Officer
Baton Rouge Southern RR - Mount Rainier Division.


Hoppy

  • Posts: 2
  • Respect: 0
Re: Packging JMRI for Fedora and Centos
« Reply #2 on: January 08, 2016, 10:05:55 PM »
0
I say go for it!  It would save me a bunch work trying to make an rpm for openSUSE.  Would you maintain it?  I mean, Fedora changes way too often for my likes.

Bart

Hoppy

  • Posts: 2
  • Respect: 0
Re: Packging JMRI for Fedora and Centos
« Reply #3 on: January 08, 2016, 10:08:57 PM »
0
Philip,

He is talking about making the program so it would work in some types on the Linux operating system.  Not all versions of Linux will allow you to install all versions of programs.  Do you feel clean?   :)  Or should start at a little different point?

Bart

railnerd

  • Crew
  • *
  • Posts: 764
  • Gender: Male
  • Respect: +230
Re: Packging JMRI for Fedora and Centos
« Reply #4 on: January 08, 2016, 10:23:20 PM »
+1
Honestly, I think a Debian package (for apt-get) for the Raspberry Pi and/or BeagleBone would get you sainthood somewhere*

-Dave

* yes, I know this could be considered blasphemous to discuss a different distro.

Iain

  • Crew
  • *
  • Posts: 4661
  • Gender: Female
  • Na sgrìobhaidh a Iain
  • Respect: +386
    • The Best Puppers
Re: Packging JMRI for Fedora and Centos
« Reply #5 on: January 08, 2016, 11:50:09 PM »
0
I say go for it!  It would save me a bunch work trying to make an rpm for openSUSE.  Would you maintain it?  I mean, Fedora changes way too often for my likes.

Bart

How often it changes is entirely dependent on upstream jmri.  They do a new release, i do a new rpm.  I will state that the quality standards for a Fedora package are extremely high.

Philip,

He is talking about making the program so it would work in some types on the Linux operating system.  Not all versions of Linux will allow you to install all versions of programs.  Do you feel clean?   :)  Or should start at a little different point?

Bart

Not quite; you can already download their build and it works pretty much anywhere.  I'm just making it easier to install and run on Fedora and Centos.

Honestly, I think a Debian package (for apt-get) for the Raspberry Pi and/or BeagleBone would get you sainthood somewhere*

-Dave

* yes, I know this could be considered blasphemous to discuss a different distro.

I personally don't care much for dpkg.  I prefer rpm for myriad reasons.  My girlfriend runs Trisquel, which is dpkg based, but she's probably not going to want to do a JMRI package.  She's even less of a fan of Java than I am, nor is she a model railroader.  Fedora works on BeagleBone natively, btw.  Raspberry Pi requires binary blobs to boot and the SoC manufacturer refuses to get anything into the upstream kernel.  This is why Fedora will never support the Raspberry Pi.

I've got an rpm that builds.  My next step is to submit it for review, which is quite stringent.
I like ducks

John

  • Administrator
  • Crew
  • *****
  • Posts: 13407
  • Respect: +3262
Re: Packging JMRI for Fedora and Centos
« Reply #6 on: January 09, 2016, 05:00:19 AM »
0
It certainly is easier getting it to work in Ubuntu and Mint than it is in RH / Fedora .. I'd say go for it .. especially setting up LocoBuffer USB ..

Philip H

  • Crew
  • *
  • Posts: 8915
  • Gender: Male
  • Respect: +1656
    • Layout Progress Blog
Re: Packging JMRI for Fedora and Centos
« Reply #7 on: January 09, 2016, 09:59:39 AM »
0
Philip,

He is talking about making the program so it would work in some types on the Linux operating system.  Not all versions of Linux will allow you to install all versions of programs.  Do you feel clean?   :)  Or should start at a little different point?

Bart

As long as it works and makes you guys happy . . .
Philip H.
Chief Everything Officer
Baton Rouge Southern RR - Mount Rainier Division.


Iain

  • Crew
  • *
  • Posts: 4661
  • Gender: Female
  • Na sgrìobhaidh a Iain
  • Respect: +386
    • The Best Puppers
Re: Packging JMRI for Fedora and Centos
« Reply #8 on: May 17, 2016, 02:40:20 PM »
0
So, the hangup has been upstream ships a non-free library, which precludes inclusion with Fedora. 
I like ducks

pheonixfire

  • Posts: 1
  • Respect: 0
Re: Packging JMRI for Fedora and Centos
« Reply #9 on: October 02, 2016, 08:56:04 PM »
0
Hi mate, I know this is a old thread I just want to ask how you got jmri to package.
my own attempts to generate a jmri rpm keep finding errors

any help is appreciated
pheonixfire