Ignore:
Timestamp:
May 4, 2017, 2:31:44 PM (2 years ago)
Author:
Juanma
Message:

updated README

Location:
devtools/desktop_to_xml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devtools/desktop_to_xml/README

    r4549 r4583  
    55./desktop_to_xml svn_dir
    66
    7 This tool needs the lliurex-artwork-defaults dir from svn in the same dir as svn_dir
     7This tool needs the vibrancy-colors dir from svn in the same dir as svn_dir
    88Example:
    99/home
     
    1111                /svn
    1212                        /svn_dir
    13                         /lliurex-artwork-defaults
     13                        /vibrancy-colors
    1414
     15Running
     16---------
     17There're many kinds of packages "out in the wild" so this script tries to adapt to all of those.
     18The script will ask the user when:
     19 - The control file has two or more packages: In this case the script needs to know which is the package name that we're looking for.
     20 - There's two or more install files in the debian dir: The script needs the install file who has the dirs with the desktop file
     21 - There's two or more lines in the selected install file: For the same reason the script needs to ask for the right dir.
    1522
     23 Will warn us when:
     24 - The package uses an old rules file.
     25 - The vibrancy-colors dir is missing
     26
     27 Will abort if:
     28 - Icon can't be found. Only svg ones are valid, the script will not use icons in png or any other format but svg.
     29 - Missed svn dir
     30
     31Finally, if no errors are detected, the script populates the llx-resource dir and updates the rules file for add the llxsrc helper.
     32
     33CONSIDERATIONS
     34-------------
     35Some packages are really old and have some "strange things", like gif icons, that have to be reworked.
     36If the package has an old rules file it's convenient to update it to the new format.
     37If the operation fails it's better to remove the dir and "re-co" from svn to avoid unexpected behaviors of the script (that should no pass but just in case...)
  • devtools/desktop_to_xml/desktop_to_xml.sh

    r4581 r4583  
    1818msg_desktop_updated="\nDesktop file updated.\n"
    1919msg_icon_found="Icon %s found.\nGenerating llx-resources dir\n"
    20 msg_icon_not_found="\nNo icon named %s found on dirs %s, %s or %s\nRemember that the icon must be in SVG format and no in PNG or other image format\n"
     20msg_icon_not_found="\nNo icon named %s found on dirs %s, %s or %s\nRemember that the icon must be in SVG format and no in PNG or other image format\nOPERATION ABORTED\n"
    2121msg_icon_location_info="\nPlease add %s as svg to %s and relaunch this program or use the llxsrc debhelper. Until then the app will not be included in our software store.\n"
    2222msg_icon_exists="\nIcon package found on the right location. Checking if llxsrc helper exists in rules\n"
Note: See TracChangeset for help on using the changeset viewer.