Opened 12 years ago
Last modified 4 years ago
#857 new defect/bug
FInd/fix missing icons
Reported by: | themroc.myopenid.com | Owned by: | KaZeR |
---|---|---|---|
Priority: | minor | Milestone: | version 0.6.0 |
Component: | core | Version: | git master |
Severity: | Keywords: | icons xpm png svg | |
Cc: |
Description
Here is a script to list icon-files that appear in navit.xml but don't exist in xpm/. Also, it finds icons where only the extension is wrong, like camping.xpm vs. camping.png. For these cases (36 as of r4490) a corrected navit.xml will be emited. Requires Linux (or cygwin), perl, sort, uniq. Run it from the navit source dir (where navit_shipped.xml and xpm/ are) like:
check_icons.sh > new-navit.xml
Attachments (2)
Change History (7)
Changed 12 years ago by themroc.myopenid.com
comment:1 Changed 12 years ago by themroc.myopenid.com
Changed 12 years ago by themroc.myopenid.com
comment:2 Changed 12 years ago by themroc.myopenid.com
Yo! Would be nice if i could delete useless stuff like this comment...
comment:3 Changed 10 years ago by usul
- Milestone set to version 0.5.1
- Priority changed from major to minor
- Type changed from enhancement/feature request to defect/bug
Thanks for that. I created something similar to check against binfile and style definitions (but on a item not icon base). We will make sure that the release includes only valid references.
comment:4 Changed 5 years ago by http://wiki.navit-project.org/index.php/user:jkoan
- Milestone changed from version 0.5.1 to version 0.5.2
This ticket was pushed back in order to bring 0.5.1 out soon.
comment:5 Changed 4 years ago by http://wiki.navit-project.org/index.php/user:jkoan
- Milestone changed from version 0.5.2 to version 0.6.0
Ticket retargeted after milestone closed
New&better version: v2 can convert icon-files, so users don't have to fumble with their .xml, they can just copy new icons over. The default however is to be extra smart - here's some example output:
call it like
requires imagemagick.