Custom Query (1067 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (22 - 24 of 1067)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Resolution Summary Owner Reporter
#288 fixed Support use of rsvg-convert to create pre-scaled icons KaZeR Gerritv
Description On many development platforms (Ubuntu, Scratchbox, etc) ksvg2png does not exist. To add it requires installing KDE which is generally a 130mb exercise. A simpler solution is to use rsvg-convert, which installs from librsvg2.
Patching navit/xpm/navit_svg2png with the below switches it to use rsvg-convert.

Index: navit_svg2png
===================================================================
--- navit_svg2png (revision 2001)
+++ navit_svg2png (working copy)
@@ -29,11 +29,14 @@
then
h=$(grep 'height="[0-9pxt.]*"' $svg.svg | head -n 1 | sed -e 's/.*height="//' -e 's/[pxt]*".*//')
fi
- ksvgtopng $w $h $svg.svg $png
+ rsvg-convert -w $w -h $h $svg.svg -o $png
elif [ -f $svg.svgz ]
then
gzip -dc <$svg.svgz >$svg.svg
- ksvgtopng $w $h $svg.svg $png
+ rsvg-convert -w $w -h $h $svg.svg -o $png
rm -f $svg.svg
fi
fi
#289 fixed Gui_zoom_out.svg has bad info KaZeR Gerritv
Description I missed this one in trac 285, gui_zoom_out.svg has 48.00000px, rsvg2png and other tools don't like this format

Index: navit/xpm/gui_zoom_out.svg
===================================================================
--- navit/xpm/gui_zoom_out.svg (revision 2006)
+++ navit/xpm/gui_zoom_out.svg (working copy)
@@ -17,8 +17,8 @@
inkscape:version="0.44"
sodipodi:version="0.32"
id="svg249"
- height="48.000000px"
- width="48.000000px"
+ height="48px"
+ width="48px"
inkscape:output_extension="org.inkscape.output.svg.inkscape">
<defs
id="defs3">
#300 fixed Fix Makefile.am too produce nav png files KaZeR Gerritv
Description The present Makefile.am in navit/xpm does not build default size .png files for some of the nav_ icons.
The following patch fixes that:

Index: Makefile.am
===================================================================
--- Makefile.am (revision 2039)
+++ Makefile.am (working copy)
@@ -192,6 +192,7 @@
xpm_DATA += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES_FLAG@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(flag_svgs))))
endif
if USE_SVG2PNG_SCALES_NAV
+xpm_DATA += $(addsuffix .png,$(basename $(nav_svgs)))
xpm_DATA += $(foreach scale, $(subst $(comma), ,@SVG2PNG_SCALES_NAV@), $(addsuffix _$(xsize)_$(ysize).png,$(basename $(nav_svgs))))
endif
endif
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Note: See TracQuery for help on using queries.