Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Rockbox Utility
| | |-+  Rockbox Utility on Linux
« previous next »
  • Print
Pages: [1]

Author Topic: Rockbox Utility on Linux  (Read 3984 times)

Offline LeoTheLion89

  • Member
  • *
  • Posts: 34
    • Matthew's Custom Computers
Rockbox Utility on Linux
« on: February 04, 2013, 11:23:53 PM »
I run Ubuntu 12.04 on my PowerMac G4. Is there a version of Rockbox Utility that will work on PPC Linux? The fact the Rockbox Utility works on PowerPC Mac and Work on Linux how come there is not a combined PPC code in the Linux Utility so that Rockbox Utility will run in PPC Linux? The fact the Linux and OS X are both UNIX dont see how its not possible.
Logged

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Rockbox Utility on Linux
« Reply #1 on: February 05, 2013, 02:54:50 AM »
"Not implemented" is very, very different to "not possible" (from my understanding it should "Just Work", but, apparently...it does not, as you report).

I am absolutely positive that a correctly formatted patch from yourself would be welcomed, be proactive! :)
Failing that, be patient.


[Saint]
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Rockbox Utility on Linux
« Reply #2 on: February 05, 2013, 05:07:15 AM »
I'm fairly sure rockbox utility will build just fine on PPC. I don't think it's reasonable to expect us to provide binaries for all architectures linux runs on.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Rockbox Utility on Linux
« Reply #3 on: February 05, 2013, 08:46:51 AM »
Quote from: [Saint] on February 05, 2013, 02:54:50 AM
(from my understanding it should "Just Work", but, apparently...it does not, as you report).

I don't read this report as Rockbox Utility not compiling on PPC Linux but rather simply as the fact that we don't provide a binary for it. Since it builds fine on PPC OS X I expect it to "just work" on PPC Linux. However, since the architecture is rather rare there is no point in us providing binaries for it -- and (AFAIK) there is no developer working on such a setup at all. (Testing on PPC OS X is rather limited but somewhat works on 10.6 using Rosetta, but testing / developing on PPC Linux without owning PPC hardware is really hard, if possible in a viable way at all).

Generally speaking I wouldn't mind stopping to distribute binaries for Linux at all -- there are too many differences to easily create a binary that runs on all distros.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline LeoTheLion89

  • Member
  • *
  • Posts: 34
    • Matthew's Custom Computers
Re: Rockbox Utility on Linux
« Reply #4 on: February 05, 2013, 01:52:14 PM »
the linux version does not run on ppc linux it simply does not run
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Rockbox Utility on Linux
« Reply #5 on: February 05, 2013, 02:19:21 PM »
Correct, as it isn't built for PPC.  You need to build it.  We can't provide binaries for every minority architecture.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Rockbox Utility on Linux
« Reply #6 on: February 05, 2013, 02:50:18 PM »
Quote from: LeoTheLion89 on February 05, 2013, 01:52:14 PM
the linux version does not run on ppc linux it simply does not run

Well, the wiki page explicitly states "x86" for the Linux binaries. I wouldn't expect an x86 binary to run on PPC ... Is this unclear? If yes, how can we make it clearer?

As said before I expect it to "just work" on PPC -- but for it to "just work" you need a binary, and we don't provide any. In other words: "just work" means "it works without modifications to the source code when building it."
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline LeoTheLion89

  • Member
  • *
  • Posts: 34
    • Matthew's Custom Computers
Re: Rockbox Utility on Linux
« Reply #7 on: February 07, 2013, 10:12:06 PM »
well mac osx version is compiled for PPC Linux and Mac are both UNIX couldnt the Mac OS X ppc code just be "added" to the Linux code?
Logged

Offline torne

  • Developer
  • Member
  • *
  • Posts: 994
  • arf arf
Re: Rockbox Utility on Linux
« Reply #8 on: February 07, 2013, 10:45:41 PM »
Linux and OSX are not the same thing.

The *code* should already work perfectly fine on PPC Linux systems; you just need to download the code yourself and compile it.
Logged
some kind of ARM guy. ipodvideo/gigabeat-s/h120/clipv2. to save time let's assume i know everything.

Offline LeoTheLion89

  • Member
  • *
  • Posts: 34
    • Matthew's Custom Computers
Re: Rockbox Utility on Linux
« Reply #9 on: February 08, 2013, 08:15:59 AM »
im not a programmer i dunno how to compile
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Rockbox Utility on Linux
« Reply #10 on: February 08, 2013, 09:17:45 AM »
You don't have to be a programmer to compile. It's just running a few commands in a terminal.

Have a look here: http://www.rockbox.org/wiki/RockboxUtilityDevelopment#How_To_Compile

Also, to note, Rockbox Utilty compiles just fine in PPC Linux; you just need to make sure you have all of the required packages (Qt for sure, any others? Can't remember off the top of my head). I managed to build RBUtil in Debian 6.0.6 PPC on an iBook G3 with no issues.
« Last Edit: February 08, 2013, 09:19:25 AM by LambdaCalculus379 »
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline LeoTheLion89

  • Member
  • *
  • Posts: 34
    • Matthew's Custom Computers
Re: Rockbox Utility on Linux
« Reply #11 on: February 08, 2013, 09:29:48 AM »
Quote from: LambdaCalculus379 on February 08, 2013, 09:17:45 AM
You don't have to be a programmer to compile. It's just running a few commands in a terminal.

Have a look here: http://www.rockbox.org/wiki/RockboxUtilityDevelopment#How_To_Compile

Also, to note, Rockbox Utilty compiles just fine in PPC Linux; you just need to make sure you have all of the required packages (Qt for sure, any others? Can't remember off the top of my head). I managed to build RBUtil in Debian 6.0.6 PPC on an iBook G3 with no issues.

then y not release it for everyone to use? im sure itll work with Lubuntu 12.04 on a PowerMac G4
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Rockbox Utility on Linux
« Reply #12 on: February 08, 2013, 10:11:18 AM »
Quote from: LeoTheLion89 on February 08, 2013, 09:29:48 AM
then y not release it for everyone to use? im sure itll work with Lubuntu 12.04 on a PowerMac G4

The source is released. You can build working binaries thjat will work for you.

Do you really expect us to build and test binaries for unusual systems we don't even have?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Rockbox Utility on Linux
« Reply #13 on: February 08, 2013, 12:57:28 PM »
Quote from: LeoTheLion89 on February 08, 2013, 09:29:48 AM
then y not release it for everyone to use? im sure itll work with Lubuntu 12.04 on a PowerMac G4

Do you actually understand what you're asking for?

I've done quite a couple of Rockbox Utility releases. Currently we provide binaries for 4 different systems (Windows, OS X, Linux x86 and x86_64). Doing a release takes quite some time -- it's not only building binaries. But even if it would be just building binaries I need to have a working build environment for all those setups available, and maintain those. The binaries we provide are linked statically against Qt (to minimize dependencies and thus make it easier for users). This requires rebuilding Qt from source, which is a lenghty process (depending on the configuration this can easily take a couple of hours). And it needs to be done for each platform. I also need to have the hardware available to do this (virtual machines help a lot with this, but f.e. I wasn't successful in virtualizing OS X, so I'm doing that on a real machine).

So once the build setup is running rolling a release takes at least two hours. And then there's the other things like updating the wiki (which musn't be done before the binaries are available on the download server, as otherwise people will file us bug about those files missing). So in the end creating a release means an evening full of work. And this is for platforms I do have physically available.

While it might be possible to emulate a PPC machine such a virtualized build would be extremely slow. Nothing one is keen on doing on an evening that's already full of work, and nothing one is keen on doing for a platform almost nobody is using. Plus, if we provide a binary for your case, how long will it take until people want binaries for BSD? Linux on Itanium? Raspberry Pi?

We provide binaries for the most common platforms. If you're on a different platform you already have the problem that a lot of projects don't provide binaries (and on Linux most projects don't provide binaries at all!). You need to compile quite a bit of software yourself anyway, so what's your problem? If you want more convenience use an OS that is widely used -- install Windows. And if someone else wants to provide binaries for other platforms, provide distribution packages or whatever they can -- but that's not of interest for us. I don't mind listing such packages in the wiki but you'll hardly find a Rockbox developer that is willing to look after them. Oh, and creating proper binaries for Linux that run on a lot of systems isn't trivial. It's much easier on Windows and OS X.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Rockbox Utility
| | |-+  Rockbox Utility on Linux
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.113 seconds with 15 queries.