View Single Post
Old 2007-07-17, 10:30   #2 (permalink)
infinityloop
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 5,781
Thanks: 136
Thanked 100 Times in 70 Posts

Country:

My System

Default

Start with a new skin / add it to svn


Warning! The following description seems way more complex then it realy is
  1. At first we have to create a folder somewhere, to store all our skin related files
    guide-svn-usage-1.jpg
  2. In that folder we create a new folder for our new skin
    guide-svn-usage-2.jpg
  3. Lets assume that our skin will be based on BlueTwo. So we need a folder to store this Base Skin.
    guide-svn-usage-3.jpg
  4. Now a empty folder doesnt help us much. With tortoise svn we can now checkout (download) the latest version of BlueTwo.
    guide-svn-usage-4.jpg
  5. Now we have to enter the ::svn link:: which points directly to the BlueTwo files. If you want to use BlueTwo Wide as base for your skin, then use ::this link::
    Very importand is to uncheck the "only check out top-folder" setting
    guide-svn-usage-5.jpg
  6. tortoise svn will then download all files.
    guide-svn-usage-6.jpg
  7. since we will need the unmodified BlueTwo files later, we have to copy these files to a new location where they can be modified then to become our new skin.
    select the folder and use "export" in tortoise svn.
    guide-svn-usage-7.jpg
  8. Then select the new location.
    guide-svn-usage-8.jpg guide-svn-usage-9.jpg
  9. After the folder as been copied, you should rename it to your skin name.
    guide-svn-usage-10.jpg
  10. Next step is to create a folder where you store all your "source" grafics files (photoshop psd i.e.).
    Name:  11.jpg
Views: 1006
Size:  38.4 KB
  11. Now that we have created the struture we need, its time to get the skin into svn.
    Select the folder, and use import in tortoise svn
    guide-svn-usage-12.jpg
  12. This step is very importand now!!!
    the svn url for the plugins is
    Code:
    https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/skins
    
    you have to add /NameOfYourSkin at the end!
    i.e.
    Code:
    https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/skins/MyCoolSkin
    
    guide-svn-usage-13.jpg
    you should also add a log message.
  13. then you need to enter your sourceforge username and password.
    guide-svn-usage-14.jpg guide-svn-usage-15.jpg
  14. Now delete all folder inside your skins folder (gfx source and MyCoolSkin). I know that sounds weird, but its required.
  15. After that select the MyCoolSkin folder and use "Checkout"
    guide-svn-usage-16.jpg
  16. there you have to insert the svn url then.
    in our example this would be
    Code:
    https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/skins/MyCoolSkin
    
    guide-svn-usage-17.jpg
  17. After this is finished, you will see the following structure.
    guide-svn-usage-19.jpg

So now you have your local working copy of your skin

If you want your skin on any other PC, then you only have to create a folder and checkout with the correct svn-url.

Its only the first time setup which takes some time


note:
An alternative would be to create a folder i.e. "MediaPortal Community Skins" and checkout the whole skins svn into this folder.
Code:
https://mp-plugins.svn.sourceforge.net/svnroot/mp-plugins/trunk/skins
after that you just have to create your folders in there and add it to svn with the "add" feature of tortoise svn.

I add this as an alternative way, because most designers might not be willing do dowload all skins which are in svn.
infinityloop is online now