From 2462d03f322261bd616721c2b2065c4004b36c9c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 11 May 2024 21:28:48 +0900 Subject: Initial import (as is) from Debian Snapshot's 'fbreader' source code (https://snapshot.debian.org/package/fbreader/0.99.4%2Bdfsg-6). The Debian code is provided under GPL2 license. Signed-off-by: Michele Calgaro --- fbreader/openzaurus/Makefile | 23 +++++++++++++++++++++++ fbreader/openzaurus/gpe/fbreader.desktop | 9 +++++++++ fbreader/openzaurus/opie | 1 + 3 files changed, 33 insertions(+) create mode 100644 fbreader/openzaurus/Makefile create mode 100644 fbreader/openzaurus/gpe/fbreader.desktop create mode 120000 fbreader/openzaurus/opie (limited to 'fbreader/openzaurus') diff --git a/fbreader/openzaurus/Makefile b/fbreader/openzaurus/Makefile new file mode 100644 index 0000000..af9708f --- /dev/null +++ b/fbreader/openzaurus/Makefile @@ -0,0 +1,23 @@ +ROOTDIR = $(CURDIR)/../.. +include $(ROOTDIR)/makefiles/config.mk + +ifeq "$(UI_TYPE)" "opie" + PICSDIR = $(INSTALLDIR)/pics/fbreader + APPDIR = $(INSTALLDIR)/apps/Applications + STYLE = $(RESOLUTION) +else # UI_TYPE == gpe + PICSDIR = $(SHAREDIR)/pixmaps/fbreader + APPDIR = $(SHAREDIR)/applications + STYLE = gpe$(RESOLUTION) +endif + +install: + @install -d $(DESTDIR)$(PICSDIR) + @install -m 0644 ../data/icons/application/$(TARGET_ARCH)_$(RESOLUTION).png $(DESTDIR)$(PICSDIR)/FBReader.png + @install -m 0644 ../data/default/config.openzaurus.xml $(DESTDIR)$(SHAREDIR)/FBReader/default/config.xml + @install -m 0644 ../data/default/keymap.zaurus.xml $(DESTDIR)$(SHAREDIR)/FBReader/default/keymap.xml + @install -m 0644 ../data/default/styles.$(STYLE).xml $(DESTDIR)$(SHAREDIR)/FBReader/default/styles.xml + @install -d $(DESTDIR)$(APPDIR) + @install -m 0644 $(UI_TYPE)/fbreader.desktop $(DESTDIR)$(APPDIR) + +clean: diff --git a/fbreader/openzaurus/gpe/fbreader.desktop b/fbreader/openzaurus/gpe/fbreader.desktop new file mode 100644 index 0000000..7664089 --- /dev/null +++ b/fbreader/openzaurus/gpe/fbreader.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=FBReader +Comment=E-Book Reader +Exec=FBReader +Icon=fbreader/FBReader +Type=Application +Terminal=0 +Categories=Application;Utility +StartupNotify=True diff --git a/fbreader/openzaurus/opie b/fbreader/openzaurus/opie new file mode 120000 index 0000000..2894f23 --- /dev/null +++ b/fbreader/openzaurus/opie @@ -0,0 +1 @@ +../opie \ No newline at end of file -- cgit v1.2.1