Changeset 4583

May 4, 2017, 2:31:44 PM (4 years ago)

updated README

2 edited


  • devtools/desktop_to_xml/README

    r4549 r4583  
    55./desktop_to_xml svn_dir
    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
    1111                /svn
    1212                        /svn_dir
    13                         /lliurex-artwork-defaults
     13                        /vibrancy-colors
     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.
     23 Will warn us when:
     24 - The package uses an old rules file.
     25 - The vibrancy-colors dir is missing
     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
     31Finally, if no errors are detected, the script populates the llx-resource dir and updates the rules file for add the llxsrc helper.
     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/

    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.