diff options
author | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-11 21:28:48 +0900 |
commit | 2462d03f322261bd616721c2b2065c4004b36c9c (patch) | |
tree | 239947a0737bb8386703a1497f12c09aebd3080a /fbreader/maemo | |
download | tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.tar.gz tde-ebook-reader-2462d03f322261bd616721c2b2065c4004b36c9c.zip |
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 <[email protected]>
Diffstat (limited to 'fbreader/maemo')
-rw-r--r-- | fbreader/maemo/FBReader.backup | 5 | ||||
-rw-r--r-- | fbreader/maemo/FBReader.desktop | 12 | ||||
-rw-r--r-- | fbreader/maemo/FBReader.service | 3 | ||||
-rw-r--r-- | fbreader/maemo/Makefile | 31 |
4 files changed, 51 insertions, 0 deletions
diff --git a/fbreader/maemo/FBReader.backup b/fbreader/maemo/FBReader.backup new file mode 100644 index 0000000..a9f2857 --- /dev/null +++ b/fbreader/maemo/FBReader.backup @@ -0,0 +1,5 @@ +<backup-configuration> + <locations> + <location type="dir" category="settings">$HOME/.FBReader</location> + </locations> +</backup-configuration> diff --git a/fbreader/maemo/FBReader.desktop b/fbreader/maemo/FBReader.desktop new file mode 100644 index 0000000..2ced7c3 --- /dev/null +++ b/fbreader/maemo/FBReader.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=FBReader +Comment=E-Book Reader +Exec=/usr/bin/FBReader +Icon=FBReader +X-Window-Icon=FBReader +X-Window-Icon-Dimmed=FBReader +X-Osso-Service=FBReader +X-Osso-Type=application/x-executable diff --git a/fbreader/maemo/FBReader.service b/fbreader/maemo/FBReader.service new file mode 100644 index 0000000..1bc9ffe --- /dev/null +++ b/fbreader/maemo/FBReader.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=com.nokia.FBReader +Exec=/usr/bin/FBReader diff --git a/fbreader/maemo/Makefile b/fbreader/maemo/Makefile new file mode 100644 index 0000000..061c5bd --- /dev/null +++ b/fbreader/maemo/Makefile @@ -0,0 +1,31 @@ +ROOTDIR = $(CURDIR)/../.. +include $(ROOTDIR)/makefiles/config.mk + +DBUSDIR = /usr/share/dbus-1/services +MENUDIR = /etc/others-menu + +DESKTOP_FILE = FBReader.desktop +SERVICE_FILE = FBReader.service +BACKUP_CONF = FBReader.backup + +install: + @install -m 0644 ../data/default/keymap.maemo.xml $(DESTDIR)$(SHAREDIR)/FBReader/default/keymap.xml + @install -m 0644 ../data/default/styles.maemo.xml $(DESTDIR)$(SHAREDIR)/FBReader/default/styles.xml + @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/16x16/apps + @install -m 0644 ../data/icons/application/16x16.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/16x16/apps/FBReader.png + @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/26x26/apps + @install -m 0644 ../data/icons/application/26x26.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/26x26/apps/FBReader.png + @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/48x48/apps + @install -m 0644 ../data/icons/application/48x48.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/48x48/apps/FBReader.png + @install -d $(DESTDIR)$(SHAREDIR)/icons/hicolor/64x64/apps + @install -m 0644 ../data/icons/application/64x64.png $(DESTDIR)$(SHAREDIR)/icons/hicolor/64x64/apps/FBReader.png + @install -d $(DESTDIR)$(SHAREDIR)/applications/hildon + @install -m 0644 $(DESKTOP_FILE) $(DESTDIR)$(SHAREDIR)/applications/hildon + @install -d $(DESTDIR)$(MENUDIR) + @cd $(DESTDIR)$(MENUDIR); ln -sf ../../../usr/share/applications/hildon/$(DESKTOP_FILE) 0000_$(DESKTOP_FILE) + @install -d $(DESTDIR)$(DBUSDIR) + @install -m 0644 $(SERVICE_FILE) $(DESTDIR)$(DBUSDIR) + @install -d $(DESTDIR)/etc/osso-backup/applications + @install -m 0644 $(BACKUP_CONF) $(DESTDIR)/etc/osso-backup/applications/FBReader.conf + +clean: |