projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update app to use Material Design Light theme
[fw/altos]
/
icon
/
Makefile.am
diff --git
a/icon/Makefile.am
b/icon/Makefile.am
index af238ac42527da025ff403481c046ba58146b0b7..9ce9cba8fb02ba23c6b2e8b0ea48802bb8563422 100644
(file)
--- a/
icon/Makefile.am
+++ b/
icon/Makefile.am
@@
-27,6
+27,17
@@
EEPROM_ICON = $(EEPROM_NAME).svg
TELEM_ICON = $(TELEM_NAME).svg
MPD_ICON = $(MPD_NAME).svg
TELEM_ICON = $(TELEM_NAME).svg
MPD_ICON = $(MPD_NAME).svg
+LED_SVG = \
+ redoff.svg \
+ greenoff.svg \
+ greenled.svg \
+ grayon.svg \
+ grayled.svg \
+ redled.svg
+LED_PNG = $(LED_SVG:.svg=.png)
+
+LED_ICONS = $(LED_SVG) $(LED_PNG)
+
# Files needed for Mac OSX icons
MAC_AM_FILES = $(shell for i in $(MAC_RES); do echo $(AM_NAME)-$$i.png; done)
# Files needed for Mac OSX icons
MAC_AM_FILES = $(shell for i in $(MAC_RES); do echo $(AM_NAME)-$$i.png; done)
@@
-109,7
+120,7
@@
java-telegps:
fat: all $(ICO_FILES) $(ICNS_FILES) $(EXE_FILES)
fat: all $(ICO_FILES) $(ICNS_FILES) $(EXE_FILES)
-all-local: $(JAVA_FILES) $(AM_XPM)
+all-local: $(JAVA_FILES) $(AM_XPM)
$(LED_ICONS)
clean-local:
$(RM) $(AM_NAME)-*.png $(TG_NAME)-*.png $(MP_NAME)-*.png
clean-local:
$(RM) $(AM_NAME)-*.png $(TG_NAME)-*.png $(MP_NAME)-*.png
@@
-117,6
+128,7
@@
clean-local:
$(RM) $(EEPROM_NAME)-*.png $(TELEM_NAME)-*.png $(MPD_NAME)-*.png
$(RM) *.build *.ico *.rc *.icns *.o *.exe $(MPD_ICON)
$(RM) altusmetrum.xpm
$(RM) $(EEPROM_NAME)-*.png $(TELEM_NAME)-*.png $(MPD_NAME)-*.png
$(RM) *.build *.ico *.rc *.icns *.o *.exe $(MPD_ICON)
$(RM) altusmetrum.xpm
+ $(RM) $(LED_ICONS)
if INSTALL_SHARED_MIME_INFO
install-data-hook:
if INSTALL_SHARED_MIME_INFO
install-data-hook:
@@
-124,6
+136,9
@@
install-data-hook:
update-icon-caches $(DESTDIR)$(ICON_THEME)
endif
update-icon-caches $(DESTDIR)$(ICON_THEME)
endif
+$(LED_ICONS): led.5c
+ nickle led.5c $@
+
$(MPD_ICON): $(MP_ICON)
$(LN_S) $(MP_ICON) $@
$(MPD_ICON): $(MP_ICON)
$(LN_S) $(MP_ICON) $@
@@
-168,3
+183,6
@@
$(EXE_FILES): windows-stub.o make-rc
windows-stub.o: windows-stub.c
$(MINGCC32) -c $(MINGFLAGS) windows-stub.c
windows-stub.o: windows-stub.c
$(MINGCC32) -c $(MINGFLAGS) windows-stub.c
+
+altosdroid.png: altosdroid.svg
+ rsvg-convert -a -b white -h 480 altosdroid.svg | pngtopnm | pnmpad -white -width 512 -height 512 | pnmtopng > $@