From: Dr. Johann Pfefferl Date: Tue, 11 May 2010 14:21:20 +0000 (+0200) Subject: Added application icon set X-Git-Tag: release-1.0-2~13 X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=cc9f4bca7b1b866d9be0f04cafbb308694d068fb;p=gps-tracker Added application icon set --- diff --git a/Makefile b/Makefile index e7a58d4..c5123a4 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,5 @@ +VERSION=1.0 +DESTDIR=/ # define a list of pkg-config packages we want to use pkg_packages := gtk+-2.0 hildon-1 liblocation hildon-fm-2 @@ -10,12 +12,29 @@ PKG_LDFLAGS := $(shell pkg-config --libs $(pkg_packages)) # -Wall: warnings # -g: debugging ADD_CFLAGS := -Wall -g +CDEBUG=-g # combine the flags (so that CFLAGS/LDFLAGS from the command line # still work). CFLAGS := $(PKG_CFLAGS) $(ADD_CFLAGS) $(CFLAGS) LDFLAGS := $(PKG_LDFLAGS) $(LDFLAGS) +ifdef DEBUG +CFLAGS += $(CDEBUG) +LDFLAGS += $(CDEBUG) +endif + +AUX_FILES=Makefile + +ICON_DIR=$(DESTDIR)`pkg-config osso-af-settings --variable=prefix`/share/icons/hicolor +BIN_DIR=$(DESTDIR)`pkg-config osso-af-settings --variable=prefix`/bin +DESKTOP_DIR=$(DESTDIR)`pkg-config osso-af-settings --variable=desktopentrydir` +DBUS_SERVICE_DIR=$(DESTDIR)`pkg-config osso-af-settings --variable=dbusservicedir` +CP_LIB_DIR=$(DESTDIR)`pkg-config hildon-control-panel --variable=pluginlibdir` +CP_DESKTOP_DIR=$(DESTDIR)`pkg-config hildon-control-panel --variable=plugindesktopentrydir` +MIME_DIR=$(DESTDIR)`pkg-config osso-af-settings --variable=prefix`/share/mime/packages +BACKUP_DIR=$(DESTDIR)/etc/osso-backup/applications + targets = gps-tracker .PHONY: all @@ -28,5 +47,22 @@ all: $(targets) clean: $(RM) $(targets) *.o -run: $(targets) - run-standalone.sh `pwd`/gps-tracker +# for s in 64 40 26;do S=${s}x$s; convert -resize $S gps-tracker-128x128.png gps-tracker-$S.png;done + +install: + mkdir -p $(ICON_DIR)/64x64/hildon/ + mkdir -p $(ICON_DIR)/40x40/hildon/ + mkdir -p $(ICON_DIR)/26x26/hildon/ + mkdir -p $(BIN_DIR) + mkdir -p $(DESKTOP_DIR) + mkdir -p $(DBUS_SERVICE_DIR) + mkdir -p $(CP_LIB_DIR) + mkdir -p $(CP_DESKTOP_DIR) + mkdir -p $(MIME_DIR) + mkdir -p $(BACKUP_DIR) + cp --target-directory=$(BIN_DIR) $(targets) + cp gps-tracker-64.png $(ICON_DIR)/64x64/hildon/gps-tracker.png + cp gps-tracker-40.png $(ICON_DIR)/40x40/hildon/gps-tracker.png + cp gps-tracker-26.png $(ICON_DIR)/26x26/hildon/gps-tracker.png + +dist: clean diff --git a/gps-tracker-128x128.png b/gps-tracker-128x128.png new file mode 100644 index 0000000..45855c2 Binary files /dev/null and b/gps-tracker-128x128.png differ diff --git a/gps-tracker-26x26.png b/gps-tracker-26x26.png new file mode 100644 index 0000000..7c7eead Binary files /dev/null and b/gps-tracker-26x26.png differ diff --git a/gps-tracker-40x40.png b/gps-tracker-40x40.png new file mode 100644 index 0000000..ab01041 Binary files /dev/null and b/gps-tracker-40x40.png differ diff --git a/gps-tracker-64x64.png b/gps-tracker-64x64.png new file mode 100644 index 0000000..f597dab Binary files /dev/null and b/gps-tracker-64x64.png differ