Per-app compatibility profiles for Phorepoc OS: lets S60 5th edition apps that were made for a landscape-native panel and a resistive touch screen run as they were made, without changing the apps.
How it works: core's window server answers each app's screen-mode queries from a small profile, kept in a Central Repository
file (0xE7016E00, one key per app: its secure id). A profile can shift the rotation the app is told for each mode
(so an app that takes "the first mode whose rotation is 0" as landscape picks our landscape mode) and make a press last
a minimum time. Apps without a profile are not touched.
This repository installs the profiles:
profiles/*.inione file per app (sid,rotation,touchhold_ms); a profile is added by adding a file.os/src/phecompat/phecompatimport.exe, run when the package has been installed: it writes the profiles into the repository.os/src/phepostsurf/PostingSurfaceFactory.dll, the display posting library the N-Gage runtime needs.recipes/sis.shthe package (phecompat-arm.sis,phecompat-x32.sis), built by the pdk'spackage.yml(release.yml).catalogue/the text Catalogue shows.
UIDs: 0xE7016E01 the package, 0xE7016E02 the importer, 0xE7016E03 the posting library.
This is Phorepoc code, licensed under the GNU Affero General Public License, version 3 only (AGPL-3.0-only), with the additional terms its section 7 allows: keep the attribution "Phorepoc, founded by Kyriakos Bompotis" and the legal notices (also where your version shows notices, such as an About screen), and no rights to the Phorepoc names and logos (TRADEMARKS.md). If you run a modified version for users over a network, AGPL section 13 asks you to offer them its source.
Everything here is our own code.
Phorepoc is dual-licensed. Commercial licences or licence exceptions (for example to ship it inside a closed product without the AGPL obligations) are available on request from the founder, Kyriakos Bompotis.
Contributions are welcome; see CONTRIBUTING.md for the licence grant they need.