How to - Build an OS2008 Theme Source Package

(category and a couple of links)
 
Line 1: Line 1:
''Theme Maker is great for slicing your template file and making a nice install .deb to install your theme with, but if you want to put it on extras then you need to get a source package and Theme Maker wont do that for you but here is an easy guide to tell you how to do it. This guide will assume you have an n8x0 device and a windows computer. We will also use only free software in doing the steps.''
''Theme Maker is great for slicing your template file and making a nice install .deb to install your theme with, but if you want to put it on extras then you need to get a source package and Theme Maker wont do that for you but here is an easy guide to tell you how to do it. This guide will assume you have an n8x0 device and a windows computer. We will also use only free software in doing the steps.''
-
<br>
 
-
<br>
 
-
''First we need to get you authorized to maintain the extras repository.''<br>
+
 
-
<br>
+
''First we need to get you authorized to maintain the extras repository.''
 +
 
*Go to: Maemo Garage [http://garage.maemo.org/]
*Go to: Maemo Garage [http://garage.maemo.org/]
*Register for a garage account.
*Register for a garage account.
-
*Then you will need to email the garage admins to give you rights to maintain packages in extras and extras-devel
+
*Then you will need to email the garage admins to give you rights to maintain packages in [[extras]] and [[extras-devel]]
-
<br>
+
 
-
<br>
+
''Next we will download the software needed to design themes.''
''Next we will download the software needed to design themes.''
<br>
<br>
Line 19: Line 17:
*Filezilla [http://filezilla-project.org/]
*Filezilla [http://filezilla-project.org/]
*Script to build source deb [http://dl.getdropbox.com/u/2240466/build_myapp.py]
*Script to build source deb [http://dl.getdropbox.com/u/2240466/build_myapp.py]
-
<br>
+
 
-
<br>
+
''Download and Install to (n8x0 tablet)''
''Download and Install to (n8x0 tablet)''
*Py2deb
*Py2deb
*Gainroot
*Gainroot
*ssh server
*ssh server
-
<br>
+
 
-
<br>
+
Install Gimp and 7zip, and then unzip Theme Maker to a folder somewhere.
Install Gimp and 7zip, and then unzip Theme Maker to a folder somewhere.
-
<br>
+
 
-
<br>
+
Edit the template.psd using Gimp or other program.  
Edit the template.psd using Gimp or other program.  
-
<br>
+
 
-
<br>
+
Save images in .png format.
Save images in .png format.
-
<br>
+
 
-
<br>
+
Open Theme Maker and Fill out/choose all options on Theme Maker
Open Theme Maker and Fill out/choose all options on Theme Maker
Line 50: Line 43:
*Large Font: I notice anything over 20 and things start to get misshaped do to font size.
*Large Font: I notice anything over 20 and things start to get misshaped do to font size.
*Title Font: I normally got with 12 -14.
*Title Font: I normally got with 12 -14.
-
<br>
+
 
-
<br>
+
*Click Build Theme Tab
*Click Build Theme Tab
*Click Build Theme!
*Click Build Theme!
-
<br>
+
 
-
<br>
+
''Once Progress bar hits 100% you will find your theme files in the Theme Maker Folder you unzip earlier.''
''Once Progress bar hits 100% you will find your theme files in the Theme Maker Folder you unzip earlier.''
-
<br>
+
 
-
<br>
+
''Extract Data Files''
''Extract Data Files''
*Now right click on your .deb file > 7zip > Extract Here
*Now right click on your .deb file > 7zip > Extract Here
Line 67: Line 57:
That will give you a folder called usr
That will give you a folder called usr
*Now Create a new folder called src and move folder usr into that folder.
*Now Create a new folder called src and move folder usr into that folder.
-
<br>
+
 
-
<br>
+
Next edit the py2deb script you downloaded earlier
Next edit the py2deb script you downloaded earlier
-
<br>
+
 
-
<br>
+
Upload source data to tablet
Upload source data to tablet
*Connect to tablet using filezilla
*Connect to tablet using filezilla
*Create folder called build in MyDocs Folder
*Create folder called build in MyDocs Folder
*Upload src folder and py2deb script to build folder.
*Upload src folder and py2deb script to build folder.
-
<br>
+
 
-
<br>
+
Build Source
Build Source
*Open xterm on tablet
*Open xterm on tablet
*Type the following commands in xterm
*Type the following commands in xterm
-
<pre>
+
 
-
Sudo gainroot
+
sudo gainroot
-
cd /home/user/MyDocs/build
+
cd /home/user/MyDocs/build
-
python build_myapp.py
+
python build_myapp.py
-
</pre>
+
 
*Follow the instructions given in xterm
*Follow the instructions given in xterm
-
<br>
+
 
-
<br>
+
Refresh view on filezilla > View > Refresh
Refresh view on filezilla > View > Refresh
-
<br>
+
 
-
<br>
+
Upload Source to extras-devel
Upload Source to extras-devel
*Download themename.changes, themename.dsc, and themename.tar.gz files
*Download themename.changes, themename.dsc, and themename.tar.gz files
*Go to Garage Extras Assistant
*Go to Garage Extras Assistant
-
*Login and follow steps to upload files an add files to builder queue.
+
*Login and follow steps to upload files an add files to builder queue. Wait about 30 minutes then your files will be on extra-devel.
-
Wait about 30 minutes then your files will be on extra-devel.
+
 
-
<br>
+
-
<br>
+
Please let me know if you run into any problems following this guide.
Please let me know if you run into any problems following this guide.
[[Category:Design]]
[[Category:Design]]
 +
[[Category:OS2008]]

Latest revision as of 11:49, 8 April 2010

Theme Maker is great for slicing your template file and making a nice install .deb to install your theme with, but if you want to put it on extras then you need to get a source package and Theme Maker wont do that for you but here is an easy guide to tell you how to do it. This guide will assume you have an n8x0 device and a windows computer. We will also use only free software in doing the steps.


First we need to get you authorized to maintain the extras repository.

  • Go to: Maemo Garage [1]
  • Register for a garage account.
  • Then you will need to email the garage admins to give you rights to maintain packages in extras and extras-devel

Next we will download the software needed to design themes.

Download and Install to Windows Computer

  • Theme Maker download version 1.1.7 [2]
  • Gimp (or other image editing program) [3]
  • 7zip [4]
  • Filezilla [5]
  • Script to build source deb [6]

Download and Install to (n8x0 tablet)

  • Py2deb
  • Gainroot
  • ssh server

Install Gimp and 7zip, and then unzip Theme Maker to a folder somewhere.

Edit the template.psd using Gimp or other program.

Save images in .png format.

Open Theme Maker and Fill out/choose all options on Theme Maker

  • Enter Theme Name Max Length 9 Characters.
  • Enter Your Name or Screen Name if you wish to use that instead.
  • Select Theme Background File.
  • Select Theme Source File (Select the .png formatted file.)
  • Select Font (if you wish to)
  • Select Icon Template (default one is in theme maker folder.)
  • Layout for Theme is Diablo
  • Theme Version (I normally start with 0.1)
  • Top Bar Height need to be at least 45 pixels but I always do 60 so the Top bar is always the same size since home view will always be 60.)
  • System Font:I normally go with 12 -14
  • Large Font: I notice anything over 20 and things start to get misshaped do to font size.
  • Title Font: I normally got with 12 -14.
  • Click Build Theme Tab
  • Click Build Theme!

Once Progress bar hits 100% you will find your theme files in the Theme Maker Folder you unzip earlier.

Extract Data Files

  • Now right click on your .deb file > 7zip > Extract Here

That will give you two files control.tar and data.tar.

  • Right Click on data.tar.gz > 7zip > Extract Here

That will give you data.tar

  • Right Click on data.tar > 7zip > Extract Here

That will give you a folder called usr

  • Now Create a new folder called src and move folder usr into that folder.

Next edit the py2deb script you downloaded earlier

Upload source data to tablet

  • Connect to tablet using filezilla
  • Create folder called build in MyDocs Folder
  • Upload src folder and py2deb script to build folder.

Build Source

  • Open xterm on tablet
  • Type the following commands in xterm
sudo gainroot
cd /home/user/MyDocs/build
python build_myapp.py
  • Follow the instructions given in xterm

Refresh view on filezilla > View > Refresh

Upload Source to extras-devel

  • Download themename.changes, themename.dsc, and themename.tar.gz files
  • Go to Garage Extras Assistant
  • Login and follow steps to upload files an add files to builder queue. Wait about 30 minutes then your files will be on extra-devel.

Please let me know if you run into any problems following this guide.