Initial commit

This commit is contained in:
2026-02-02 04:50:13 +01:00
commit 5b11698731
22592 changed files with 7677434 additions and 0 deletions

View File

@@ -0,0 +1,293 @@
scummvm (2.2.0~git) unstable; urgency=low
* Development snapshot
-- Tarek Soliman <tsoliman@scummvm.org> Sun, 8 Oct 2019 11:31:00 -0600
scummvm (2.1.1) unstable; urgency=low
* 2.1.1 release
-- Tarek Soliman <tsoliman@scummvm.org> Fri, 17 Jan 2020 15:08:47 -0600
scummvm (2.1.0) unstable; urgency=low
* 2.1.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Sun, 8 Oct 2019 11:30:31 -0500
scummvm (2.0.0) unstable; urgency=low
* 2.0.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Sun, 17 Dec 2017 20:12:57 -0600
scummvm (1.9.0) unstable; urgency=low
* 1.9.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Mon, 10 Oct 2016 20:35:18 -0500
scummvm (1.8.1) unstable; urgency=low
* 1.8.1 release
-- Tarek Soliman <tsoliman@scummvm.org> Fri, 20 May 2016 20:05:11 -0500
scummvm (1.8.0) unstable; urgency=low
* 1.8.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Fri, 26 Feb 2016 21:11:20 -0600
scummvm (1.7.0) unstable; urgency=low
* 1.7.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Mon, 21 Jul 2014 23:24:12 +0100
scummvm (1.6.0) unstable; urgency=low
* 1.6.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Fri, 31 May 2013 23:02:00 -0500
scummvm (1.5.0) unstable; urgency=low
* 1.5.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Fri, 20 Jul 2012 14:48:44 -0500
scummvm (1.4.1) unstable; urgency=low
* 1.4.1 release
-- Tarek Soliman <tsoliman@scummvm.org> Wed, 11 Jan 2012 17:17:26 -0600
scummvm (1.4.0) unstable; urgency=low
* 1.4.0 release
-- Tarek Soliman <tsoliman@scummvm.org> Thu, 03 Nov 2011 13:54:04 -0500
scummvm (1.2.1~pre) unstable; urgency=low
* 1.2.1 testing release
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 8 Dec 2010 21:43:29 +0100
scummvm (1.2.0~pre) unstable; urgency=low
* 1.2.0 testing release
-- Frantisek Dufka <dufkaf@seznam.cz> Fri, 8 Oct 2010 21:38:12 +0200
scummvm (1.1.0~pre) unstable; urgency=low
* 1.1.0 testing release
* cleanup for N900 (new firmwares need less hacks)
* unified binary for all devices now have datafiles included (~2MB)
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 24 Mar 2010 01:48:05 +0100
scummvm (1.0.0-4) unstable; urgency=low
* datadir optified (/usr/share/scummvm -> /opt/scummvm/share)
* added engine files to datadir
* Application Manager icon enlarged to 48x48
-- Frantisek Dufka <dufkaf@seznam.cz> Thu, 17 Dec 2009 13:54:51 +0100
scummvm (1.0.0-3) unstable; urgency=low
* disable taskmanager topleft button in fullscreen mode (N900)
* map shift+click to right button click
* mam ctrl+click to mouse move (no click)
* set fullscreen window as _HILDON_NON_COMPOSITED_WINDOW (N900)
-- Frantisek Dufka <dufkaf@seznam.cz> Tue, 15 Dec 2009 23:12:51 +0100
scummvm (1.0.0-2) unstable; urgency=low
* grab N900 volume keys
* map Shift+Backspace to Escape key, shift+enter to Menu key (N900)
* optified = main binary moved to /opt/scummvm/bin/scummvm
-- Frantisek Dufka <dufkaf@seznam.cz> Sat, 12 Dec 2009 23:39:04 +0100
scummvm (1.0.0-1) unstable; urgency=low
* -mcpu=arm1136j-s -mfpu=vfp -mfloat-abi=softfp breaks Gobliins, reverted
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 2 Dec 2009 10:25:11 +0100
scummvm (1.0.0) unstable; urgency=low
* upstream 1.0 release
* Initial support for N900
-- Frantisek Dufka <dufkaf@seznam.cz> Fri, 6 Nov 2009 22:02:25 +0100
scummvm (1.0.0~rc1-3) unstable; urgency=low
* updated to 1.0 branch revision 43999 to fix bugs (Cruise pause, ..)
* Cruise for Corpse mapping added to zoom+ for N800/770
-- Frantisek Dufka <dufkaf@seznam.cz> Mon, 7 Sep 2009 09:03:13 +0200
scummvm (1.0.0~rc1-2) unstable; urgency=low
* Cruise for Corpse key bindings added
- menu key for menu, zoom-=right click, zoom+=context menu
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 2 Sep 2009 23:03:59 +0200
scummvm (1.0.0~rc1-1) unstable; urgency=low
* Discworld key bindings added - menu key for menu, zoom-=right click, zoom+=Enter/y key
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 2 Sep 2009 09:53:08 +0200
scummvm (1.0.0~rc1) unstable; urgency=low
* upstream 1.0.0rc1 release
-- Frantisek Dufka <dufkaf@seznam.cz> Thu, 20 Aug 2009 23:33:59 +0200
scummvm (0.13.1) unstable; urgency=low
* upstream 0.13.1 release
-- Frantisek Dufka <dufkaf@seznam.cz> Sat, 18 Apr 2009 22:40:42 +0200
scummvm (0.13.0-2) unstable; urgency=low
* dbus_service.patch is incomplete - needs also install line in debian/rules
-- Frantisek Dufka <dufkaf@seznam.cz> Fri, 27 Feb 2009 20:37:29 +0100
scummvm (0.13.0-1) unstable; urgency=low
* fix crash in task switcher caption code when .scummvmrc had fullscreen value set
* enabled also dbus_service.patch for home key switching back (not needed in OS < 2008)
-- Frantisek Dufka <dufkaf@seznam.cz> Fri, 27 Feb 2009 09:29:01 +0100
scummvm (0.13.0) unstable; urgency=low
* upstream 0.13.0 release
* Feeble Files mapping
* task switcher item name patch from mikkov
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 18 Feb 2009 21:52:33 +0100
scummvm (0.11.99-4) unstable; urgency=low
* Maemo extras-devel test version
- maemo-taskswitcher.patch: title shown right from the beginning
and title not fixed to "ScummVM" only
- dbus_service.patch: modify scummvm.desktop, scummvm.wrapper and
scummvm.service to make switching application automatically back
via second home key long press to work
-- Mikko Vartiainen <mvartiainen@gmail.com> Thu, 03 Jan 2009 01:59:52 +0200
scummvm (0.11.99-3) unstable; urgency=low
* Maemo extras-devel test version
- maemo-taskswitcher.patch
-- Mikko Vartiainen <mvartiainen@gmail.com> Thu, 01 Jan 2009 13:13:13 +0200
scummvm (0.11.99-2) unstable; urgency=low
* Maemo extras-devel test version
- keeping version below 0.12.0
- not in user/ category
-- Mikko Vartiainen <mvartiainen@gmail.com> Thu, 01 Jan 2009 02:04:14 +0200
scummvm (0.12.0) unstable; urgency=low
* upstream 0.12.0 release
* update description
-- Frantisek Dufka <dufkaf@seznam.cz> Mon, 25 Aug 2008 21:47:41 +0200
scummvm (0.11.99) unstable; urgency=low
* upstream 0.12.0 testing pre-release
* big icons added for OS2008 menu
-- Frantisek Dufka <dufkaf@seznam.cz> Fri, 22 Aug 2008 08:20:48 +0200
scummvm (0.11.1) unstable; urgency=low
* upstream 0.11.1 release
* mapping for N810: zoom+ = menu for all games (except FW)
-- Frantisek Dufka <dufkaf@seznam.cz> Sat, 23 Feb 2008 20:41:37 +0100
scummvm (0.11.0-2) unstable; urgency=low
* mapping for N800/770: zoom+ = y, zoom- = 1 (all games except FW)
this fixes save dialog in BS1 and also allows to exit some games via 'y'
* mapping for N810: zoom- = rightclick for all games
* updated to revision 30849 from 0.11 branch (some bugfixes for 0.11.1)
-- Frantisek Dufka <dufkaf@seznam.cz> Mon, 11 Feb 2008 22:22:48 +0100
scummvm (0.11.0-1) unstable; urgency=low
* theme files added back
* SWORD2,SAGA - added zoom keys =1/2 for saved games
* different mapping for N810 rightclick=zoom-,menu=zoom+ (currently only in LURE)
* added NEWS README COPYRIGHT do doc dir as per scummvm project guidelines
-- Frantisek Dufka <dufkaf@seznam.cz> Sun, 13 Jan 2008 22:58:41 +0100
scummvm (0.11.0-0) unstable; urgency=low
* upstream 0.11 release
-- Frantisek Dufka <dufkaf@seznam.cz> Sat, 12 Jan 2008 22:26:34 +0100
scummvm (0.10.0-5) unstable; urgency=low
* fixed for chinook, menu selection postinst script added
-- Frantisek Dufka <dufkaf@seznam.cz> Thu, 25 Oct 2007 09:56:32 +0200
scummvm (0.10.0-4) unstable; urgency=low
* AGI - added pred.dic to DATA_PATH (=/usr/share/scummvm) to enable
predictive input
-- Frantisek Dufka <dufkaf@seznam.cz> Tue, 28 Aug 2007 09:58:29 +0200
scummvm (0.10.0-3) unstable; urgency=low
* SCUMM - added mapping also for key up events (may fix right button in FT?)
* SWORD2 - added right button press mapping (not tested)
-- Frantisek Dufka <dufkaf@seznam.cz> Mon, 20 Aug 2007 22:39:07 +0200
scummvm (0.10.0-2) unstable; urgency=low
* Future Wars - add mapping for left/up/down/right,zoom +/-
* fix SDL backend to set mouse position on button down event
as we may not have mousemove events with touchscreen
-- Frantisek Dufka <dufkaf@seznam.cz> Fri, 13 Jul 2007 09:56:37 +0200
scummvm (0.10.0-1) unstable; urgency=low
* mapped F10 in Future Wars to menu key
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 11 Jul 2007 22:20:00 +0200
scummvm (0.10.0) unstable; urgency=low
* upstream 0.10 release, enabled FLAC too
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 4 Jul 2007 12:48:48 +0200
scummvm (0.9.1-1) unstable; urgency=low
* 0.9.1 mapped right mouse button in sword1
-- Frantisek Dufka <dufkaf@seznam.cz> Mon, 18 Jun 2007 21:15:31 +0200
scummvm (0.9.1) unstable; urgency=low
* 0.9.1 upstream release
-- Frantisek Dufka <dufkaf@seznam.cz> Wed, 1 Nov 2006 20:40:51 +0100
scummvm (0.9.0-3) unstable; urgency=low
* merged fixes in 0.9.0 upstream branch
-- Frantisek Dufka <dufkaf@seznam.cz> Mon, 9 Oct 2006 15:40:59 +0200
scummvm (0.9.0-2) unstable; urgency=low
* merged fixes in 0.9.0 upstream branch
-- Frantisek Dufka <dufkaf@seznam.cz> Sat, 12 Aug 2006 20:10:47 +0200
scummvm (0.9.0-1) unstable; urgency=low
* merged changes in 0.9.0 upstream release
-- Frantisek Dufka <dufkaf@seznam.cz> Sun, 23 Jul 2006 22:29:51 +0200
scummvm (0.9.0) unstable; urgency=low
* 0.9.0 upstream release
-- Frantisek Dufka <dufkaf@seznam.cz> Tue, 27 Jun 2006 20:30:54 +0200

View File

@@ -0,0 +1 @@
4

View File

@@ -0,0 +1,53 @@
Source: scummvm
Section: user/games
Priority: optional
Maintainer: Tarek Soliman <tsoliman@scummvm.org>
Build-Depends: debhelper (>> 4.0.0), libsdl1.2-dev, libmad0-dev, libasound2-dev, libvorbisidec-dev, libmpeg2-4-dev, libflac-dev (>= 1.1.2), libfreetype6-dev, libz-dev, quilt
Standards-Version: 3.6.1.1
Package: scummvm
Depends: ${shlibs:Depends}
Architecture: armel
Section: user/games
Description: interpreter that will play graphic adventure games
written for LucasArts' SCUMM virtual machine, Sierra's AGI adventures,
Adventure Soft's Simon the Sorcerer 1, 2 and Feeble Files,
Revolution Software's Beneath a Steel Sky and Broken Sword 1 and 2,
Interactive Binary Illusions' Flight of the Amazon Queen,
Coktel Vision's Gobliiins, Wyrmkeep's Inherit the Earth,
Westwood's Legend of Kyrandia, and various others.
This package does not contain any actual games.
XSBC-Bugtracker: https://bugs.scummvm.org/
XB-Maemo-Display-Name: ScummVM
XBS-Maemo-Icon-26:
iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAC/VBMVEUICwcH
CQUKDAgLDQoMDwsOEAwREAUPEQ0QEg8PFQoRExAUEwoVFAwPGAcTFBIRFg0W
FQ0XFg4RGgkTGA8XGQsTGwwUHA0aGRIWGxMXHQkVHQ8aGhMbGxQcHQocGxUZ
HwsYIgcfHxgeIRUbJQwhIBofJAweJwgfKQocKwwgKgshKw0gLggfLg8jLQ8n
LwwpLhEmMwcoMRQjNgotLCYmNwQlNwwqOBQtOQgsOQ8xNh4sPQswNyQqQAUw
PAsuOiAsQgcwOyIqRgIsSAQvRgs0PyY1Rg06RA0+PDAwSwg2RxUzTQE4TQsz
VAc/SSo6VAk4VwE6VRM2XAVAUC85XwlJVCNEXQo+YwJGXwxMWS1JXC5AagBI
awJUagRIcQBSbwpHeAJTaD9OdwNXcwJKewZNfABacRlOfQBPfgBQfwBMggBW
fgBNgwNSgQJOhAVecUJjdSZefwNUiABZhgBjeDZieDxhezFQjQBgghZkhQ5j
iQJUkAZcixJmgDZnhCtckQpblgBekw5clwBqgkthlQBdmAJriz90hz5omgBs
mAhxlgd0mAB5lgBpnA16khdzmAtxnABooQBtnwB4jUpzngBkpQR5nQF8j0Vr
pQduoRZ4nRR3k014oQBzpAt8oAh/ogBvqA5trACBmypwqRF1pw+GogCAow+D
pQB8phJ/nUNurxh0rRd4rwmHqQd6qDOArwCJqwyDsgCMrgB8ryiFtAB7uQN8
sDKBuAWOsBWJqFR8ti2IsiOSswaBuRt6vxCOtgqXsgePrjR9wQCFuw2KuQyB
uSeSuACEux6JuR2OvACAxACEvCuSuhOHujSMwQGTtiqfuACRvwGOvRWHuz2T
wASPwwmYvwaLvTebuxiWvhmSwBqZwAmNu0aevgiKvkCVviaMvE6bwQycuTid
vhylvQyZwB2cwg+QywCawR6fwB+bwyGI0gaewCudxCOjwyOT1ACmwjiX0g+j
xTqmxzOd1gCV0i6kyyuoyTah1Sif2h6tzjukzF+pz1uq1Eeg2Uml3U1kaLAB
AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAHrSURBVCjPY2BAAC5ubkFB
BkzAzggDfKgSUFEmKCmOIsPvktA0aVpbSYQ+FwsjkwpMBsi2m/X7z89v3759
+ngg1UqIlZEVponJYcW/rw9unH/04u2bc0vbo+WZWGCahEv/fj+6Yc2SZfv3
b5w6+eACHVYWmCazMz+unN44b3ZfV3dnx5yDiaKsUAOZGD2/fL58+PSGg3Gu
buEVWyZacLCzw6S8X324fOHqibMxWpKy5okBIjAZoNOt9r47e+HOnafbe/ND
DNWkOGAyDKwsCtXPTly4eufqm+fvHy4M1RRggsnJMLI6z9x99Oqtx7cuPP/2
ele5LjtCGyObbcHcDfuevHn+5s319RuSpOByrEwcwsqhlcvXHbp38+LxiXP6
DeBSTKzWvkrCun5Zq04dO7S6p67ZHibFziiRt6PYUk5YtfbUqSMTGnKyHaFS
rMDA3fHr7tqayKDWa0dWVmXHp5lCpRgZ2QI2HTl25NLt+1t3rppRFJ8SrwGX
4g9rmbJo0cpVqxZNaK5OS0nzF4NLMWkHZ1TVN9bXlxXmAo2L0uNgZITaxcjI
axAYH5+RATQrPtZHk5udA+Z2cIpQN3Hy8vOwMVLmYGTidoenDSawLAsnJz8L
kMUiY4ySpviYoKmKRVAcIyXKyIiLyygi+ADqVqrAkApevwAAAABJRU5ErkJg
gg==

View File

@@ -0,0 +1,22 @@
ScummVM was debianized by Bastien Nocera <hadess@hadess.net> the 5th Apr 2002.
It was adopted by Tore Anderson <tore@linpro.no> the 4th Oct 2002.
Packaged for the Maemo platform by Tomas Junnoen <tomas@fs-security.com> Oct 2005
From 0.8.2 to 1.2.1, packaging for Maemo was done by Frantisek Dufka <dufkaf@seznam.cz>
Since 1.4 packaging for Maemo is done by Tarek Soliman <tarek@bashasoliman.com>
It was downloaded from <https://www.scummvm.org/>.
Upstream Authors: see AUTHORS file of the ScummVM source distribution.
Copyright:
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 3, or (at your option) any
later version. In addition, some parts are also licensed under LGPL and
BSD licenses. See LICENSES/COPYING.BSD and LICENSES/COPYING.LGPL.
On Debian GNU/Linux systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
This copyright also applies to the Debian-related build scripts.

View File

@@ -0,0 +1,25 @@
#! /bin/sh
# This is a workaround for older maemo versions related to the icon.
# The /usr/share/icons/scummvm.xpm icon is needed for OS2006 (Nokia 770)
# but if present it overrides nicer icons for newer systems in /usr/share/icons/hicolor.
# This workaround removes it if the OS isn't old (2006/2007).
if [ "$1" = "configure" ] ; then
OSVER=$OSSO_VERSION
[ -z "$OSVER" -a -f /etc/osso_software_version ] && OSVER=`cat /etc/osso_software_version`
OSVER=`echo $OSVER | cut -d _ -f 2`
case $OSVER in
2006*|2007*)
#nothing to do
true
;;
*)
#ugly trick, until this icon is removed big icon in menu does not show
[ -f /usr/share/icons/scummvm.xpm ] && rm /usr/share/icons/scummvm.xpm
;;
esac
[ -x /usr/bin/gtk-update-icon-cache ] && /usr/bin/gtk-update-icon-cache /usr/share/icons/hicolor
[ -x /usr/bin/maemo-select-menu-location -a -z "$2" ] && /usr/bin/maemo-select-menu-location scummvm.desktop tana_fi_games
fi
exit 0

View File

@@ -0,0 +1,79 @@
#!/usr/bin/make -f
build: scummvm
scummvm:
dh_testdir
./configure --host=maemo $(CONFIGURE_EXTRA_ARGS)
$(MAKE) $(MAKE_EXTRA_ARGS)
clean:
dh_testdir
dh_testroot
-$(MAKE) distclean
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean
dh_installdirs
# run as fake dbus-service to enable switching back to application from desktop via home key
install -m0755 dists/maemo/scummvm.servicewrapper debian/scummvm/usr/games/scummvm
install -m0644 dists/maemo/scummvm.servicedesktop debian/scummvm/usr/share/applications/hildon/scummvm.desktop
install -m0644 dists/maemo/scummvm.service debian/scummvm/usr/share/dbus-1/services
# the following commented out lines are the alternative for not running scummvm as a fake service
# install -m0755 dists/maemo/scummvm.wrapper debian/scummvm/usr/games/scummvm
# install -m0644 dists/maemo/scummvm.desktop debian/scummvm/usr/share/applications/hildon
install -m0644 dists/maemo/scummvm26.png debian/scummvm/usr/share/icons/hicolor/26x26/hildon/scummvm.png
install -m0644 dists/maemo/scummvm40.png debian/scummvm/usr/share/icons/hicolor/40x40/hildon/scummvm.png
install -m0644 dists/maemo/scummvm48.png debian/scummvm/usr/share/icons/hicolor/48x48/hildon/scummvm.png
install -m0644 dists/maemo/scummvm64.png debian/scummvm/usr/share/icons/hicolor/64x64/hildon/scummvm.png
install -m0644 icons/scummvm.xpm debian/scummvm/usr/share/icons
# install -m0644 -d debian/scummvm/usr/lib/scummvm
# install -m0644 plugins/lib*.so debian/scummvm/usr/lib/scummvm
##non-optified version
# install -m0755 scummvm debian/scummvm/usr/games/scummvm.bin
# install -m0644 -d debian/scummvm/usr/share/scummvm
# install -m0644 dists/pred.dic debian/scummvm/usr/share/scummvm
# install -m0644 gui/themes/scummclassic.zip gui/themes/scummmodern.zip debian/scummvm/usr/share/scummvm
# optified version (save rootfs space on N900), see also configure prefix and datadir paths above
install -m0644 -d debian/scummvm/opt/scummvm/bin
install -m0755 scummvm debian/scummvm/opt/scummvm/bin
install -m0644 -d debian/scummvm/opt/scummvm/share
install -m0644 dists/pred.dic debian/scummvm/opt/scummvm/share
install -m0644 gui/themes/scummclassic.zip gui/themes/scummmodern.zip gui/themes/scummremastered.zip gui/themes/gui-icons.dat debian/scummvm/opt/scummvm/share
install -m0644 backends/vkeybd/packs/vkeybd_default.zip debian/scummvm/opt/scummvm/share
install -m0644 backends/vkeybd/packs/vkeybd_small.zip debian/scummvm/opt/scummvm/share
# for optified version we can also add engine datafiles
install -m0644 dists/engine-data/*.dat debian/scummvm/opt/scummvm/share
install -m0644 dists/engine-data/*.zip debian/scummvm/opt/scummvm/share
install -m0644 dists/engine-data/*.ccs debian/scummvm/opt/scummvm/share
install -m0644 dists/engine-data/*.tbl debian/scummvm/opt/scummvm/share
install -m0644 dists/engine-data/*.cpt debian/scummvm/opt/scummvm/share
install -m0644 -d debian/scummvm/usr/share/doc/scummvm
install -m0644 AUTHORS COPYING COPYRIGHT NEWS.md README.md debian/scummvm/usr/share/doc/scummvm
install -m0644 LICENSES/COPYING.Apache LICENSES/COPYING.BSD LICENSES/COPYING.BSL debian/scummvm/usr/share/doc/scummvm
install -m0644 LICENSES/COPYING.GLAD LICENSES/COPYING.ISC debian/scummvm/usr/share/doc/scummvm
install -m0644 LICENSES/COPYING.LGPL LICENSES/COPYING.LUA LICENSES/COPYING.MIT debian/scummvm/usr/share/doc/scummvm
install -m0644 LICENSES/COPYING.MKV LICENSES/COPYING.MPL LICENSES/COPYING.OFL debian/scummvm/usr/share/doc/scummvm
install -m0644 LICENSES/COPYING.TINYGL LICENSES/CatharonLicense.txt debian/scummvm/usr/share/doc/scummvm
binary: binary-arch
binary-arch: build install
dh_testdir
dh_testroot
dh_installchangelogs NEWS.md
dh_link
dh_strip
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary-indep:
.PHONY: build clean binary install binary-arch binary-indep

View File

@@ -0,0 +1,8 @@
usr/games
usr/share/icons
usr/share/icons/hicolor/26x26/hildon
usr/share/icons/hicolor/40x40/hildon
usr/share/icons/hicolor/48x48/hildon
usr/share/icons/hicolor/64x64/hildon
usr/share/applications/hildon
usr/share/dbus-1/services

View File

@@ -0,0 +1,54 @@
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#if defined(MAEMO)
#ifndef PLATFORM_SDL_MAEMO_COMMON_H
#define PLATFORM_SDL_MAEMO_COMMON_H
namespace Maemo {
enum ModelType {
kModelType770 = 1 << 0,
kModelTypeN800 = 1 << 1,
kModelTypeN810 = 1 << 2,
kModelTypeN900 = 1 << 3,
kModelTypeInvalid = 0
};
struct Model {
const char *hwId;
ModelType modelType;
const char *hwAlias;
bool hasHwKeyboard;
bool hasMenuKey;
};
enum CustomEventType {
kEventClickMode = 1,
kEventInvalid = 0
};
} // namespace Maemo
#endif // ifndef PLATFORM_SDL_MAEMO_COMMON_H
#endif // if defined(MAEMO)

View File

@@ -0,0 +1,217 @@
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#if defined(MAEMO)
#define FORBIDDEN_SYMBOL_EXCEPTION_getenv
#include "common/scummsys.h"
#include "common/config-manager.h"
#include "backends/platform/maemo/maemo.h"
#include "backends/events/maemosdl/maemosdl-events.h"
#include "backends/graphics/maemosdl/maemosdl-graphics.h"
#include "backends/keymapper/action.h"
#include "backends/keymapper/keymapper.h"
#include "backends/keymapper/keymapper-defaults.h"
#include "common/textconsole.h"
#include "common/translation.h"
namespace Maemo {
OSystem_SDL_Maemo::OSystem_SDL_Maemo()
:
_eventObserver(0),
OSystem_POSIX() {
}
OSystem_SDL_Maemo::~OSystem_SDL_Maemo() {
delete _eventObserver;
}
void OSystem_SDL_Maemo::init() {
// Use an iconless window for Maemo
// also N900 is hit by SDL_WM_SetIcon bug (window cannot receive input)
// https://github.com/libsdl-org/SDL-1.2/issues/403
initSDL();
_window = new SdlIconlessWindow();
OSystem_POSIX::init();
}
void OSystem_SDL_Maemo::initBackend() {
ConfMan.registerDefault("fullscreen", true);
ConfMan.registerDefault("aspect_ratio", true);
// Create the events manager
if (_eventSource == 0)
_eventSource = new MaemoSdlEventSource();
if (_graphicsManager == 0)
_graphicsManager = new MaemoSdlGraphicsManager(_eventSource, _window);
if (_eventObserver == 0)
_eventObserver = new MaemoSdlEventObserver((MaemoSdlEventSource *)_eventSource);
_model = detectModel();
// Call parent implementation of this method
OSystem_POSIX::initBackend();
initObserver();
}
void OSystem_SDL_Maemo::quit() {
delete this;
}
void OSystem_SDL_Maemo::fatalError() {
delete this;
}
void OSystem_SDL_Maemo::setXWindowName(const char *caption) {
SDL_SysWMinfo info;
if (_window->getSDLWMInformation(&info)) {
Display *dpy = info.info.x11.display;
Window win;
win = info.info.x11.fswindow;
if (win) XStoreName(dpy, win, caption);
win = info.info.x11.wmwindow;
if (win) XStoreName(dpy, win, caption);
}
}
void OSystem_SDL_Maemo::setWindowCaption(const Common::U32String &caption) {
Common::String cap = caption.encode();
_window->setWindowCaption(cap);
Common::String cap2("ScummVM - "); // 2 lines in OS2008 task switcher, set first line
cap = cap2 + cap;
setXWindowName(cap.c_str());
}
static const Model models[] = {
{"SU-18", kModelType770, "770", false, true},
{"RX-34", kModelTypeN800, "N800", false, true},
{"RX-44", kModelTypeN810, "N810", true, true},
{"RX-48", kModelTypeN810, "N810W", true, true},
{"RX-51", kModelTypeN900, "N900", true, false},
{0, kModelTypeInvalid, 0, true, true}
};
const Maemo::Model OSystem_SDL_Maemo::detectModel() {
Common::String deviceHwId = Common::String(getenv("SCUMMVM_MAEMO_DEVICE"));
const Model *model;
for (model = models; model->hwId; ++model) {
if (deviceHwId.equals(model->hwId))
return *model;
}
return *model;
}
static const Common::KeyTableEntry maemoKeys[] = {
// Function keys
{"MENU", Common::KEYCODE_F11, "Menu"},
{"HOME", Common::KEYCODE_F12, "Home"},
{"FULLSCREEN", Common::KEYCODE_F13, "FullScreen"},
{"ZOOMPLUS", Common::KEYCODE_F14, "Zoom+"},
{"ZOOMMINUS", Common::KEYCODE_F15, "Zoom-"},
{0, Common::KEYCODE_INVALID, 0}
};
Common::HardwareInputSet *OSystem_SDL_Maemo::getHardwareInputSet() {
Common::CompositeHardwareInputSet *inputSet = new Common::CompositeHardwareInputSet();
inputSet->addHardwareInputSet(new Common::MouseHardwareInputSet(Common::defaultMouseButtons));
inputSet->addHardwareInputSet(new Common::KeyboardHardwareInputSet(maemoKeys, Common::defaultModifiers));
inputSet->addHardwareInputSet(new Common::KeyboardHardwareInputSet(Common::defaultKeys, Common::defaultModifiers));
return inputSet;
}
Common::KeymapArray OSystem_SDL_Maemo::getGlobalKeymaps() {
using namespace Common;
KeymapArray globalMaps = OSystem_POSIX::getGlobalKeymaps();
Keymap *globalMap = new Keymap(Keymap::kKeymapTypeGlobal, "maemo", "Maemo");
Action *act;
act = new Action("CLKM", _("Click Mode"));
act->setCustomBackendActionEvent(Maemo::kEventClickMode);
globalMap->addAction(act);
act = new Action(kStandardActionLeftClick, _("Left Click"));
act->setLeftClickEvent();
globalMap->addAction(act);
act = new Action(kStandardActionMiddleClick, _("Middle Click"));
act->setMiddleClickEvent();
globalMap->addAction(act);
act = new Action(kStandardActionRightClick, _("Right Click"));
act->setRightClickEvent();
globalMap->addAction(act);
globalMaps.push_back(globalMap);
return globalMaps;
}
Common::KeymapperDefaultBindings *OSystem_SDL_Maemo::getKeymapperDefaultBindings() {
Common::KeymapperDefaultBindings *keymapperDefaultBindings = new Common::KeymapperDefaultBindings();
keymapperDefaultBindings->setDefaultBinding("gui", "REMP", "HOME");
keymapperDefaultBindings->setDefaultBinding("global", "REMP", "HOME");
if (_model.hasMenuKey && _model.hasHwKeyboard) {
keymapperDefaultBindings->setDefaultBinding("gui", "FULS", "FULLSCREEN");
keymapperDefaultBindings->setDefaultBinding("global", "FULS", "FULLSCREEN");
}
if (_model.hasHwKeyboard) {
keymapperDefaultBindings->setDefaultBinding("gui", "VIRT", "C+ZOOMMINUS");
keymapperDefaultBindings->setDefaultBinding("global", "VIRT", "C+ZOOMMINUS");
} else {
keymapperDefaultBindings->setDefaultBinding("gui", "VIRT", "FULLSCREEN");
keymapperDefaultBindings->setDefaultBinding("global", "VIRT", "FULLSCREEN");
}
if (_model.hasMenuKey )
keymapperDefaultBindings->setDefaultBinding("global", "MENU", "MENU");
else
keymapperDefaultBindings->setDefaultBinding("global", "MENU", "S+C+M");
keymapperDefaultBindings->setDefaultBinding("gui", "CLOS", "ESCAPE");
keymapperDefaultBindings->setDefaultBinding("maemo", kStandardActionRightClick, "ZOOMPLUS");
keymapperDefaultBindings->setDefaultBinding("maemo", "CLKM", "ZOOMMINUS");
return keymapperDefaultBindings;
}
void OSystem_SDL_Maemo::initObserver() {
assert(_eventManager);
_eventManager->getEventDispatcher()->registerObserver(_eventObserver, 10, false);
}
} //namespace Maemo
#endif

View File

@@ -0,0 +1,62 @@
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#if defined(MAEMO)
#ifndef PLATFORM_SDL_MAEMO_H
#define PLATFORM_SDL_MAEMO_H
#include "backends/platform/sdl/posix/posix.h"
#include "backends/platform/maemo/maemo-common.h"
namespace Maemo {
class MaemoSdlEventObserver;
class OSystem_SDL_Maemo final : public OSystem_POSIX {
public:
OSystem_SDL_Maemo();
~OSystem_SDL_Maemo();
void init() override;
void initBackend() override;
void quit() override;
void fatalError() override;
void setWindowCaption(const Common::U32String &caption) override;
Common::HardwareInputSet *getHardwareInputSet() override;
Common::KeymapArray getGlobalKeymaps() override;
Common::KeymapperDefaultBindings *getKeymapperDefaultBindings() override;
Model getModel() { return _model; }
private:
virtual void setXWindowName(const char *caption);
void initObserver();
const Model detectModel();
Model _model;
MaemoSdlEventObserver *_eventObserver;
};
} // namespace Maemo
#endif // ifndef PLATFORM_SDL_MAEMO_H
#endif // if defined(MAEMO)

View File

@@ -0,0 +1,47 @@
/* ScummVM - Graphic Adventure Engine
*
* ScummVM is the legal property of its developers, whose names
* are too numerous to list here. Please refer to the COPYRIGHT
* file distributed with this source distribution.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
#if defined(MAEMO)
#include "backends/platform/maemo/maemo.h"
#include "backends/plugins/sdl/sdl-provider.h"
#include "base/main.h"
int main(int argc, char* argv[]) {
g_system = new Maemo::OSystem_SDL_Maemo();
assert(g_system);
g_system->init();
#ifdef DYNAMIC_MODULES
PluginManager::instance().addPluginProvider(new SDLPluginProvider());
#endif
// Invoke the actual ScummVM main entry point:
int res = scummvm_main(argc, argv);
// Free OSystem
g_system->destroy();
return res;
}
#endif

View File

@@ -0,0 +1,13 @@
MODULE := backends/platform/maemo
MODULE_OBJS := \
main.o \
maemo.o
# We don't use rules.mk but rather manually update OBJS and MODULE_DIRS.
MODULE_OBJS := $(addprefix $(MODULE)/, $(MODULE_OBJS))
OBJS := $(MODULE_OBJS) $(OBJS)
MODULE_DIRS += $(sort $(dir $(MODULE_OBJS)))
# Hack to ensure the SDL backend is built so we can use OSystem_SDL.
-include $(srcdir)/backends/platform/sdl/module.mk