BearND has uploaded a new change for review. https://gerrit.wikimedia.org/r/135805
Change subject: Update README: converting svgs to pngs ...................................................................... Update README: converting svgs to pngs Change-Id: I75a6f0fb66f367d5140ba4d207dbf7de632583a7 --- M README.md 1 file changed, 12 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia refs/changes/05/135805/1 diff --git a/README.md b/README.md index 09c958f..77fdbe8 100644 --- a/README.md +++ b/README.md @@ -176,13 +176,22 @@ various output resolutions via a script. This rasterization is not part of the main build process, so needs to be re-run when adding new icons. +=== Setup === +Install sh python module: +* "sudo easy_install sh" + Ensure you have librsvg and the 'rsvg-convert' command: * On Ubuntu, run "sudo apt-get install librsvg2-bin" * On Mac OS X using Homebrew, run "brew install librsvg" -In "wikipedia" project subdirectory, run: -* "./convertify.bash" +You also need to have ImageMagick (for flipping of icons): +* On Mac OS X using Homebrew, run "brew install imagemagick" -Original files from icon-sources/*.svg are rendered and copied into the res/ +=== Convert === + +Run: +* "python scripts/convert-icons.py" + +Original files from icon-svgs/*/*.svg are rendered and copied into the res/ subdirectories. Note that they are not automatically added to git! -- To view, visit https://gerrit.wikimedia.org/r/135805 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I75a6f0fb66f367d5140ba4d207dbf7de632583a7 Gerrit-PatchSet: 1 Gerrit-Project: apps/android/wikipedia Gerrit-Branch: master Gerrit-Owner: BearND <bsitzm...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits