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
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« previous next »
  • Print
Pages: [1]

Author Topic: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.  (Read 6875 times)

Offline UserN1

  • Member
  • *
  • Posts: 7
IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« on: October 29, 2008, 05:53:53 PM »
Hi there,

I have been passive user Rockbox (I'm new user here), but now (Rockbox 3) is much better ;) so I would like to try to compile mine build and share with you. I have changed picture in bootloader and some other issues. Now I'm thinking about patches. Which patches would you recommended me for compile?I want use themes by Julius and others (http://pijulius.blogspot.com/2006/05/jblackglass-rockbox-themes-ipod-video.html, http://pijulius.blogspot.com/2006/08/jclix-rockbox-themes-ipod-video.html, http://rockbox-themes.cleansoap.org/index.php?res=320x240x16) so I need these patches: Album Art, JPEG decoder, bmp resize, custom display width, custom list position, multifont, multifont userfonts, customline.patch, full green logo.patch…..I have made my best to compile these patches (according to instructiones http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling and much more) but without success  :-[ Can you tell me if process of compilation was changed or if the patches are not compatible with Rockbox version 3.0+? So now I'm begging you if you would be so kind and post instructions how to compile it (step by step) into this topic.

Thank you very much and sorry for my English.
Regards Tomas.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #1 on: October 29, 2008, 06:12:24 PM »
Quote from: UserN1 on October 29, 2008, 05:53:53 PM
I want use themes by Julius and others (http://pijulius.blogspot.com/2006/05/jblackglass-rockbox-themes-ipod-video.html, http://pijulius.blogspot.com/2006/08/jclix-rockbox-themes-ipod-video.html, http://rockbox-themes.cleansoap.org/index.php?res=320x240x16)
Those themes will not work, even if you add all the following patches - there have been some major changes to WPS code since these were updated.  You need to spend your effort fixing the themes (IF you are legally allowed to redistribute them even).
Quote
so I need these patches: Album Art,
In 3.0 already.
Quote
custom display width, custom list position
Viewports should have taken care of the need for this?
Quote
I have made my best to compile these patches (according to instructiones http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling and much more) but without success  :-[ Can you tell me if process of compilation was changed or if the patches are not compatible with Rockbox version 3.0+?
Likely two things:
1 - Some of the patches you listed are unneeded.
2 - Some of the patches you listed are woefully out of date.
Quote
So now I'm begging you if you would be so kind and post instructions how to compile it (step by step) into this topic.
Nobody is likely to step forward and teach you how to fix all these patches, much less in bulk.  Focus on one task at a time and whittle it down.
You should attempt to patch and build with one at a time, after fully evaluating the need for each one.

Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline UserN1

  • Member
  • *
  • Posts: 7
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #2 on: October 30, 2008, 10:08:37 AM »
Quote from: soap on October 29, 2008, 06:12:24 PM
Those themes will not work, even if you add all the following patches
OK, as I thought... :-\
Quote
You need to spend your effort fixing the themes (IF you are legally allowed to redistribute them even).
we'll see, but it will be problem maybe...
Quote
In 3.0 already.
So AlbumArt is in basic build..?I thought i have to compile this patch with JPEG decoder and bmp resize. Where can i find wich patches are compile in basic build?Which patches would you recommended me for compile?
Quote
Likely two things:
1 - Some of the patches you listed are unneeded.
2 - Some of the patches you listed are woefully out of date.
OK, as I thought too...  ;)
Quote
Nobody is likely to step forward and teach you how to fix all these patches...
OK, I understand...
Thank you for reply.
Logged

Offline nls

  • Developer
  • Member
  • *
  • Posts: 460
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #3 on: October 30, 2008, 10:24:35 AM »
Quote from: UserN1 on October 30, 2008, 10:08:37 AM
So AlbumArt is in basic build..?I thought i have to compile this patch with JPEG decoder and bmp resize. Where can i find wich patches are compile in basic build?Which patches would you recommended me for compile?

Yes album art support is in the regular builds from rockbox svn, the support is limited to bmp files that need to be the correct size for now, so if you want to use jpegs or have resizing you need to patch rockbox. I recommend that you do what soap suggested, start by setting up a development environment and compile a clean checkout of the svn code, then look at what patches you need, apply one, fix any problems, then move on to the next.
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #4 on: October 30, 2008, 06:54:28 PM »
Yes, narrow down the scope of the problem.  You might need to use the history function of this wiki page http://www.rockbox.org/twiki/bin/view/Main/CustomWPS to attempt and figure out what the broken WPSs were attempting to do, and look at the current version to see about viewports - which are you secret weapon for pixel-perfect text placement and margins.
Also reading the Flyspray entries for any WPS related patches you are considering should not only help you identify what WPS tokens are associated with which patch, but should also help you understand the status of the patch, what might be needed to get it working again, and how the WPS syntax is used.
This is a totally doable project, just start small and work your way up.  You'll learn much in the process.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline UserN1

  • Member
  • *
  • Posts: 7
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #5 on: November 01, 2008, 06:22:50 PM »
OK thank you very much for help with editing full_screen_logo.patch and I hope with jpeg decoder too  ;)
Only correction: I can’t find functional JPEG decoder patch, full_screen_logo.patch is from http://solutions-i.org/julius/rockbox/patches/ and full_screen_logo_edit.patch is my edit version with some problems… (I can send you it).
Thanks
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #6 on: November 01, 2008, 06:57:17 PM »
Quote from: UserN1 on November 01, 2008, 06:22:50 PM
Only correction: I can’t find functional JPEG decoder patch

If you mean JPEG album art, I don't think there is a patch for that.
Logged

Offline UserN1

  • Member
  • *
  • Posts: 7
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #7 on: November 01, 2008, 07:20:34 PM »
Quote from: saratoga on November 01, 2008, 06:57:17 PM
If you mean JPEG album art, I don't think there is a patch for that.
Yes, I thought JPEG decoder for Album art. Somewhere I have seen this patch (functionless) but now I don't know where  ???
Quote from: Quote from: soap
Dude, I'm so sorry I edited your post instead of quoting it - no way to fix.
Repost your question and screenshot and I can fix it.
sorry sorry sorry.
No problem...once more....With Album art it was my mistake. When I tried it, I had bmp 100x100 but folder.bmp (from software Tag&Rename) not cover.bmp sorry  ;) I have clean the svn code, now with resize bmp patch for album art but I can’t find functional JPEG decoder patch. Is here someone, who could make JPEG decoder patch? I cannot  ??? Now I’m trying to edit full screen logo patch but i have problem. See:

« Last Edit: November 03, 2008, 02:15:07 PM by UserN1 »
Logged

Offline UserN1

  • Member
  • *
  • Posts: 7
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #8 on: November 11, 2008, 04:38:31 AM »
Nobody?  :(
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #9 on: November 11, 2008, 10:05:21 AM »
Quote from: UserN1 on November 11, 2008, 04:38:31 AM
Nobody?  :(

What is your question?
Logged

Offline UserN1

  • Member
  • *
  • Posts: 7
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #10 on: November 11, 2008, 03:12:38 PM »
Quote from: saratoga on November 11, 2008, 10:05:21 AM
What is your question?
Is here someone, who could make JPEG decoder patch? I cannot  >:(
(http://forums.rockbox.org/index.php?topic=19065.0)
Can someone tell me, where is the problem at line 13 (at the picture)
« Last Edit: November 11, 2008, 03:22:51 PM by UserN1 »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #11 on: November 11, 2008, 03:43:53 PM »
Quote from: UserN1 on November 11, 2008, 03:12:38 PM
Is here someone, who could make JPEG decoder patch? I cannot  >:(

If anyone is working on this, they haven't said anything about it.

Quote from: UserN1 on November 11, 2008, 03:12:38 PM
Can someone tell me, where is the problem at line 13 (at the picture)


No because you didn't post line 13.
Logged

Offline UserN1

  • Member
  • *
  • Posts: 7
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #12 on: November 18, 2008, 02:46:11 PM »
Index: apps/misc.c
===================================================================
--- apps/misc.c   (revision 0)
+++ apps/misc.c   (revision 0)
@@ -609,7 +609,7 @@
+/***************************************************************************
+ *             __________               __   ___.
+ *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
+ *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
+ *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
+ *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
+ *                     \/            \/     \/    \/            \/
+ * $Id: misc.c 18960 2008-11-01 16:14:28Z gevaerts $
+ *
+ * Copyright (C) 2002 by Daniel Stenberg
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
int font_h, font_w;
 
     lcd_clear_display();
-    lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
+    lcd_bitmap(rockboxlogo, 0, 0, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
 
 #ifdef HAVE_REMOTE_LCD
     lcd_remote_clear_display();
@@ -620,8 +620,8 @@
     snprintf(version, sizeof(version), "Ver. %s", appsversion);
     lcd_setfont(FONT_SYSFIXED);
     lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
-    lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
-               LCD_HEIGHT-font_h, (unsigned char *)version);
+    //lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
+    //           LCD_HEIGHT-font_h, (unsigned char *)version);
     lcd_update();
 
 #ifdef HAVE_REMOTE_LCD
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
« Reply #13 on: November 18, 2008, 03:10:19 PM »
That diff doesn't really make any sense, so yeah, its not going to work if you feed it to patch.  The headers and the actual changes don't agree, and the changes don't corrispond to code in rockbox to patch.  However, since I guess the intent was to comment out 2 lines of code and delete a "1", maybe you could just make the changes directly to misc.c?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  IPOD 80GB 5.5 gen. Rockbox 3.0.x own build with album art etc.
 

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

Page created in 0.087 seconds with 14 queries.