diff -Nurw free42-1.4.27-orig/common/skin2cc.cc free42-1.4.27-hildon3/common/skin2cc.cc --- free42-1.4.27-orig/common/skin2cc.cc 2006-03-27 05:03:00.000000000 +0300 +++ free42-1.4.27-hildon3/common/skin2cc.cc 2007-02-01 19:03:53.000000000 +0200 @@ -26,7 +26,11 @@ #define SKIN2CC "skin2cpp" #else #define SKINS_CC "skins.cc" +#ifdef HILDON +#define SKIN2CC_CONF "../hildon/skin2cc.conf" +#else #define SKIN2CC_CONF "skin2cc.conf" +#endif #define SKIN2CC "skin2cc" #endif diff -Nurw free42-1.4.27-orig/debian/changelog free42-1.4.27-hildon3/debian/changelog --- free42-1.4.27-orig/debian/changelog 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/changelog 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,20 @@ +free42 (1.4.27-hildon3) unstable; urgency=low + + * Some more fixes for N800 build. + + -- Tatu Mannisto Sat, 27 Jan 2007 17:30:20 +0200 + +free42 (1.4.27-hildon2) unstable; urgency=low + + * Added support for N800, dot-install file. + + * svn fixes + + -- Tatu Mannisto Mon, 22 Jan 2007 21:06:19 +0200 + +free42 (1.4.27-hildon1) unstable; urgency=low + + * Hildonized, steps one and two... + + -- Tatu Mannisto Tue, 12 Sep 2006 18:46:47 +0200 + diff -Nurw free42-1.4.27-orig/debian/compat free42-1.4.27-hildon3/debian/compat --- free42-1.4.27-orig/debian/compat 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/compat 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1 @@ +4 diff -Nurw free42-1.4.27-orig/debian/control free42-1.4.27-hildon3/debian/control --- free42-1.4.27-orig/debian/control 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/control 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,21 @@ +Source: free42 +Section: user/scientific +Priority: optional +Maintainer: Tatu Mannisto +Build-Depends: debhelper (>= 4.0.0), libgtk2.0-dev, libosso-dev (>= 1) +Standards-Version: 3.6.0 + +Package: free42 +Architecture: any +Depends: ${shlibs:Depends} +Description: HP-42 calculator (based on the Free42 project), for the project + itself, please look at http://home.planet.nl/~demun000/thomas_projects/free42. + This package just wraps it up for Maemo platform (e.g. Nokia 770 or N800) with + realistic looking pseudo skins. +XB-Maemo-Icon-26: + iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAABmJLR0QAmQDMAJk0M7raAAAACXBI + WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1wEWEzsMoJkZ/gAAAN5JREFUSMflVcsShDAIA6b//8vZ + g+LYByXt6l62Mx6sYJKGgsiPloqIAMBrAKoqIlK44Dwmo2oZAAPCkClM4p2t6pi9k4qUFQZEbxsA + qvd6PwazJ0BO0y+AUYjtggC4HgbMogpSogrYQqk8ipJcycEWWyBDRTM1vu+Gj493sbw98ZujDRXx + 3sTlvXxhox+6V/7NVW93BmZlKkKgw2RMlbkaj2vD02I4/OkDo94VeRmptLfmUEuw9FXXH0V7UWdz + kr5HEdhK66G6NzMtdyat7Y7m1RzLElnALK488ZP/XB8QHIFUnZ9BegAAAABJRU5ErkJggg== diff -Nurw free42-1.4.27-orig/debian/copyright free42-1.4.27-hildon3/debian/copyright --- free42-1.4.27-orig/debian/copyright 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/copyright 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,7 @@ +Copyright: GNU GPLv2 + +This package is licensed under the GNU GPL license +For further information please refer to the COPYING file + + + diff -Nurw free42-1.4.27-orig/debian/free42.install free42-1.4.27-hildon3/debian/free42.install --- free42-1.4.27-orig/debian/free42.install 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/free42.install 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,5 @@ +gtk/free42.launch usr/bin +hildon/free42.desktop usr/share/applications/hildon +CREDITS usr/share/free42 +README usr/share/free42 +COPYING usr/share/free42 diff -Nurw free42-1.4.27-orig/debian/free42.postinst free42-1.4.27-hildon3/debian/free42.postinst --- free42-1.4.27-orig/debian/free42.postinst 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/free42.postinst 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,13 @@ +#!/bin/sh + +gtk-update-icon-cache -f /usr/share/icons/hicolor + +oldversion="$2" + +if [ -z "$oldversion" ]; then + maemo-select-menu-location free42.desktop +fi + +( cd /usr/bin ; ln -s maemo-invoker free42 ) + +exit 0 diff -Nurw free42-1.4.27-orig/debian/free42.postrm free42-1.4.27-hildon3/debian/free42.postrm --- free42-1.4.27-orig/debian/free42.postrm 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/free42.postrm 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,4 @@ +#!/bin/sh + +/bin/rm -fr $HOME/.free42 +/bin/rm -fr /usr/bin/free42 diff -Nurw free42-1.4.27-orig/debian/README free42-1.4.27-hildon3/debian/README --- free42-1.4.27-orig/debian/README 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/README 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,3 @@ +This is not a standard Debian build stuff, but stuff to make this +compile on the Maemo platform, see http://www.maemo.org for more. + diff -Nurw free42-1.4.27-orig/debian/rules free42-1.4.27-hildon3/debian/rules --- free42-1.4.27-orig/debian/rules 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/rules 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +HILDON_DIR = /usr/share/applications + +CFLAGS = -Wall -g +PACKAGENAME = free42 + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + +configure: +# ./autogen.sh + touch config.status + +build: build-stamp + +build-stamp: config.status + dh_testdir + + ( cd gtk ; $(MAKE) -e HILDON=1 skins.cc ) + ( cd gtk ; $(MAKE) -e HILDON=1 ) + strip gtk/free42 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + dh_clean + + ( cd gtk ; $(MAKE) cleaner ) + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + dh_install + + install -d debian/free42/usr/share/icons/hicolor/26x26/hildon + install -d debian/free42/usr/share/icons/hicolor/40x40/hildon + cp hildon/free42-26.png debian/free42/usr/share/icons/hicolor/26x26/hildon/free42.png + cp hildon/free42-40.png debian/free42/usr/share/icons/hicolor/40x40/hildon/free42.png + + +# Build architecture-independent files here. +binary-indep: build install + + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff -Nurw free42-1.4.27-orig/debian/substvars free42-1.4.27-hildon3/debian/substvars --- free42-1.4.27-orig/debian/substvars 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/debian/substvars 2007-02-01 19:03:51.000000000 +0200 @@ -0,0 +1 @@ +shlibs:Depends=libc6 (>= 2.3.5-1), libgcc1 (>= 1:3.4.4), libstdc++6 (>= 3.4.4) diff -Nurw free42-1.4.27-orig/gtk/Makefile free42-1.4.27-hildon3/gtk/Makefile --- free42-1.4.27-orig/gtk/Makefile 2006-08-14 14:55:16.000000000 +0300 +++ free42-1.4.27-hildon3/gtk/Makefile 2007-02-01 19:03:51.000000000 +0200 @@ -17,8 +17,17 @@ ############################################################################### CXXFLAGS := -MMD -Wall -g -fno-exceptions -fno-rtti $(shell pkg-config --cflags gtk+-2.0) -DVERSION="\"$(shell cat ../VERSION)\"" + +ifdef HILDON +BCD_MATH = 1 +CXXFLAGS += -DHILDON -fpic $(shell pkg-config --cflags hildon-libs) $(shell pkg-config --cflags hildon-fm) +CXXFLAGS_skin2cc = -DHILDON +LDFLAGS = -shared +LIBS = $(shell pkg-config --libs hildon-libs) +else LDFLAGS = -LIBS := $(shell pkg-config --libs gtk+-2.0) +LIBS = $(shell pkg-config --libs gtk+-2.0) +endif SRCS = shell_main.cc shell_skin.cc skins.cc keymap.cc shell_loadimage.cc \ shell_spool.cc core_main.cc core_commands1.cc core_commands2.cc \ @@ -44,6 +53,10 @@ EXE = free42bin endif +ifdef HILDON +EXE = free42.launch +endif + $(EXE): $(OBJS) $(CXX) -o $(EXE) $(LDFLAGS) $(OBJS) $(LIBS) @@ -53,9 +66,9 @@ $(CXX) $(CXXFLAGS) -c -o $@ $< skin2cc: skin2cc.cc - $(CXX) -o skin2cc skin2cc.cc + $(CXX) $(CXXFLAGS_skin2cc) -o skin2cc skin2cc.cc -skins.cc: skin2cc skin2cc.conf +skins.cc: symlinks skin2cc skin2cc.conf ./skin2cc keymap2cc: keymap2cc.cc @@ -128,7 +141,8 @@ cleaner: FORCE rm -f `find . -type l` \ - free42bin free42bin.exe free42dec free42dec.exe \ + free42bin free42bin.exe free42dec free42dec.exe free42 \ + free42.launch \ skin2cc skin2cc.exe skins.cc \ keymap2cc keymap2cc.exe keymap.cc \ *.o *.d *.i *.ii *.s symlinks core.* diff -Nurw free42-1.4.27-orig/gtk/shell_main.cc free42-1.4.27-hildon3/gtk/shell_main.cc --- free42-1.4.27-orig/gtk/shell_main.cc 2006-08-21 14:38:16.000000000 +0300 +++ free42-1.4.27-hildon3/gtk/shell_main.cc 2007-02-01 19:03:51.000000000 +0200 @@ -27,6 +27,10 @@ #include #include #include +#ifdef HILDON +#include +#include +#endif #include "shell.h" #include "shell_main.h" @@ -76,6 +80,9 @@ static int pype[2]; +#ifdef HILDON +static HildonProgram *hildon_program; +#endif static GtkWidget *mainwindow; static GtkWidget *printwindow; static GtkWidget *print_widget; @@ -175,18 +182,28 @@ { "/File/sep2", NULL, NULL, 0, "" }, { "/File/Clear Print-Out", NULL, clearPrintOutCB, 0, "" }, { "/File/Preferences...", NULL, preferencesCB, 0, "" }, +#ifndef HILDON { "/File/sep3", NULL, NULL, 0, "" }, { "/File/Quit", "Q", quitCB, 0, "" }, +#endif { "/Edit", NULL, NULL, 0, "" }, { "/Edit/Copy", "C", copyCB, 0, "" }, { "/Edit/Paste", "V", pasteCB, 0, "" }, { "/Skin", NULL, NULL, 0, "" }, { "/Help", NULL, NULL, 0, "" }, { "/Help/About Free42...", NULL, aboutCB, 0, "" } +#ifdef HILDON + ,{ "/sep3", NULL, NULL, 0, "" }, + { "/Quit", "Q", quitCB, 0, "" }, +#endif }; static gint num_entries = sizeof(entries) / sizeof(entries[0]); +#ifdef HILDON +static int is_fullscreen; +#endif + int main(int argc, char *argv[]) { gtk_init(&argc, &argv); char *skin_arg = NULL; @@ -275,7 +292,19 @@ icon = gdk_pixbuf_new_from_xpm_data((const char **) icon_xpm); +#ifdef HILDON + hildon_program = HILDON_PROGRAM(hildon_program_get_instance()); + g_set_application_name("Free42"); + mainwindow = hildon_window_new(); + hildon_program_add_window(hildon_program, HILDON_WINDOW(mainwindow)); + is_fullscreen = FALSE; + if (is_fullscreen_skin()) { + gtk_window_fullscreen(GTK_WINDOW(mainwindow)); + is_fullscreen = TRUE; + } +#else mainwindow = gtk_window_new(GTK_WINDOW_TOPLEVEL); +#endif gtk_window_set_icon(GTK_WINDOW(mainwindow), icon); gtk_window_set_title(GTK_WINDOW(mainwindow), TITLE); gtk_window_set_resizable(GTK_WINDOW(mainwindow), FALSE); @@ -287,8 +316,13 @@ state.mainWindowY); GtkAccelGroup *acc_grp = gtk_accel_group_new(); +#ifdef HILDON + GtkItemFactory *fac = gtk_item_factory_new(GTK_TYPE_MENU, + "
", acc_grp); +#else GtkItemFactory *fac = gtk_item_factory_new(GTK_TYPE_MENU_BAR, "
", acc_grp); +#endif gtk_item_factory_create_items(fac, num_entries, entries, NULL); gtk_window_add_accel_group(GTK_WINDOW(mainwindow), acc_grp); GtkWidget *menubar = gtk_item_factory_get_widget(fac, "
"); @@ -306,7 +340,11 @@ GtkWidget *box = gtk_vbox_new(FALSE, 0); gtk_container_add(GTK_CONTAINER(mainwindow), box); +#ifdef HILDON + hildon_window_set_menu(HILDON_WINDOW(mainwindow), GTK_MENU(menubar)); +#else gtk_box_pack_start(GTK_BOX(box), menubar, FALSE, FALSE, 0); +#endif /****************************************/ @@ -396,7 +434,7 @@ gint width, height; gtk_window_get_size(GTK_WINDOW(printwindow), &width, &height); gtk_window_resize(GTK_WINDOW(printwindow), width, - state.printWindowKnown ? state.printWindowHeight : 600); + state.printWindowKnown ? state.printWindowHeight : 419); gtk_widget_realize(printwindow); gtk_widget_realize(print_widget); @@ -950,6 +988,11 @@ const char *pattern, bool save, GtkWidget *owner) { +#ifdef HILDON + GtkWidget *dialog = hildon_file_chooser_dialog_new( + GTK_WINDOW(owner), + save ? GTK_FILE_CHOOSER_ACTION_SAVE : GTK_FILE_CHOOSER_ACTION_OPEN); +#else GtkWidget *dialog = gtk_file_chooser_dialog_new( title, GTK_WINDOW(owner), @@ -959,6 +1002,8 @@ save ? GTK_STOCK_SAVE : GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL); +#endif + const char *p = pattern; while (1) { const char *descr, *ext; @@ -989,7 +1034,11 @@ "Program Files (*.raw)\0*.[Rr][Aa][Ww]\0All Files (*.*)\0*\0", false, mainwindow); +#ifdef HILDON + bool cancelled = gtk_dialog_run(GTK_DIALOG(dialog)) != GTK_RESPONSE_OK; +#else bool cancelled = gtk_dialog_run(GTK_DIALOG(dialog)) != GTK_RESPONSE_ACCEPT; +#endif gtk_widget_hide(dialog); if (cancelled) return; @@ -1005,10 +1054,13 @@ filenamebuf[FILENAMELEN - 1] = 0; g_free(filename); +#ifdef HILDON +#else if (strncmp(gtk_file_filter_get_name( gtk_file_chooser_get_filter( GTK_FILE_CHOOSER(dialog))), "All", 3) != 0) appendSuffix(filenamebuf, ".raw"); +#endif import_file = fopen(filenamebuf, "r"); if (import_file == NULL) { @@ -1242,7 +1294,11 @@ gtk_container_add(GTK_CONTAINER(container), box); GtkWidget *image = gtk_image_new_from_pixbuf(icon); gtk_box_pack_start(GTK_BOX(box), image, FALSE, FALSE, 10); +#ifdef HILDON + GtkWidget *label = gtk_label_new("Free42 " VERSION "\n(C) 2004-2006 Thomas Okken\nthomas_okken@yahoo.com\nhttp://home.planet.nl/~demun000/thomas_projects/free42/\nNokia N800 hildonization\n(C) 2006-2007 Tatu Mannisto\ntatu@tajuma.com"); +#else GtkWidget *label = gtk_label_new("Free42 " VERSION "\n(C) 2004-2006 Thomas Okken\nthomas_okken@yahoo.com\nhttp://home.planet.nl/~demun000/thomas_projects/free42/"); +#endif gtk_box_pack_start(GTK_BOX(box), label, FALSE, FALSE, 10); gtk_widget_show_all(GTK_WIDGET(about)); } @@ -1384,6 +1440,22 @@ if (event->hardware_keycode == active_keycode) // Auto-repeat return TRUE; +#ifdef HILDON + if (event->keyval == GDK_F6) { + if (is_fullscreen) { + if (set_fullscreen_skin(0)) { + gtk_window_unfullscreen(GTK_WINDOW(mainwindow)); + is_fullscreen = 0; + } + } else { + if (set_fullscreen_skin(1)) { + gtk_window_fullscreen(GTK_WINDOW(mainwindow)); + is_fullscreen = 1; + } + } + return TRUE; + } +#endif if (ckey == 0 || !mouse_key) { int i; @@ -2024,3 +2096,14 @@ void shell_release_bcd_table(shell_bcd_table_struct *bcdtab) { free(bcdtab); } + +#ifdef HILDON +void switch_to_fullscreen(int fs) { + if (fs) { + gtk_window_fullscreen(GTK_WINDOW(mainwindow)); + } else { + gtk_window_unfullscreen(GTK_WINDOW(mainwindow)); + } + is_fullscreen = fs != 0; +} +#endif diff -Nurw free42-1.4.27-orig/gtk/shell_main.h free42-1.4.27-hildon3/gtk/shell_main.h --- free42-1.4.27-orig/gtk/shell_main.h 2006-04-29 15:48:52.000000000 +0300 +++ free42-1.4.27-hildon3/gtk/shell_main.h 2007-02-01 19:03:51.000000000 +0200 @@ -58,4 +58,8 @@ keymap_entry *parse_keymap_entry(char *line, int lineno); +#ifdef HILDON +void switch_to_fullscreen(int fs); +#endif + #endif diff -Nurw free42-1.4.27-orig/gtk/shell_skin.cc free42-1.4.27-hildon3/gtk/shell_skin.cc --- free42-1.4.27-orig/gtk/shell_skin.cc 2006-06-08 18:31:58.000000000 +0300 +++ free42-1.4.27-hildon3/gtk/shell_skin.cc 2007-02-01 19:03:51.000000000 +0200 @@ -23,13 +23,15 @@ #include #include #include +#ifdef HILDON +#include +#endif #include "shell_skin.h" #include "shell_main.h" #include "shell_loadimage.h" #include "core_main.h" - /**************************/ /* Skin description stuff */ /**************************/ @@ -140,6 +142,67 @@ gtk_widget_show(w); } +#ifdef HILDON +static void switch_to_skin(const char *name) { + if (strcmp(state.skinName, name) != 0) { + int w, h; + strcpy(state.skinName, name); + skin_load(&w, &h); + switch_to_fullscreen(is_fullscreen_skin()); + core_repaint_display(); + gtk_widget_set_size_request(calc_widget, w, h); + } +} + +int is_fullscreen_skin() { + /* ugly hack for embedded skin */ + if (strcmp(state.skinName, "Full Screen") == 0) + return 1; + + /* state.skinName =~ /-full$/ */ + const char *full = strstr(state.skinName, "-full"); + return full && strlen(full) == 5; +} + +int set_fullscreen_skin(int fullscreen) { + char namebuf[1024]; + char basename[1024]; + const char *full; + + /* ugly hacks for embedded skins */ + if (fullscreen && strcmp(state.skinName, "Standard") == 0) { + switch_to_skin("Full Screen"); + return 1; + } + if (!fullscreen && strcmp(state.skinName, "Full Screen") == 0) { + switch_to_skin("Standard"); + return 1; + } + + /* state.skinName =~ s/-full$// */ + strncpy(basename, state.skinName, sizeof(namebuf)); + full = strstr(basename, "-full"); + if (full && strlen(full) == 5) { + basename[strlen(basename)-5] = 0; + } + + full = fullscreen ? "-full" : ""; + snprintf(namebuf, sizeof(namebuf), "%s/.free42/%s%s.gif", getenv("HOME"), basename, full); + if (access(namebuf, R_OK)) return 0; + snprintf(namebuf, sizeof(namebuf), "%s/.free42/%s%s.layout", getenv("HOME"), basename, full); + if (access(namebuf, R_OK)) return 0; + + snprintf(namebuf, sizeof(namebuf), "%s%s", basename, full); + switch_to_skin(namebuf); + + return 1; +} + +static void selectSkinCB(GtkWidget *w, gpointer cd) { + switch_to_skin((char *)cd); +} + +#else static void selectSkinCB(GtkWidget *w, gpointer cd) { char *name = (char *) cd; if (strcmp(state.skinName, name) != 0) { @@ -150,6 +213,7 @@ gtk_widget_set_size_request(calc_widget, w, h); } } +#endif static int skin_open(const char *name, int open_layout) { int i; diff -Nurw free42-1.4.27-orig/gtk/shell_skin.h free42-1.4.27-hildon3/gtk/shell_skin.h --- free42-1.4.27-orig/gtk/shell_skin.h 2006-05-01 19:54:37.000000000 +0300 +++ free42-1.4.27-hildon3/gtk/shell_skin.h 2007-02-01 19:03:51.000000000 +0200 @@ -54,4 +54,9 @@ void skin_repaint_display(); void skin_display_set_enabled(bool enable); +#ifdef HILDON +int set_fullscreen_skin(int fullscreen); +int is_fullscreen_skin(); +#endif + #endif Binary files free42-1.4.27-orig/hildon/free42-26.png and free42-1.4.27-hildon3/hildon/free42-26.png differ Binary files free42-1.4.27-orig/hildon/free42-40.png and free42-1.4.27-hildon3/hildon/free42-40.png differ diff -Nurw free42-1.4.27-orig/hildon/free42.desktop free42-1.4.27-hildon3/hildon/free42.desktop --- free42-1.4.27-orig/hildon/free42.desktop 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/hildon/free42.desktop 2007-02-01 19:03:56.000000000 +0200 @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=HP calculator +Exec=/usr/bin/free42 +Icon=free42 +X-Window-Icon=tn-bookmarks-link +X-Osso-Type=application/x-executable +Terminal=false diff -Nurw free42-1.4.27-orig/hildon/skin2cc.conf free42-1.4.27-hildon3/hildon/skin2cc.conf --- free42-1.4.27-orig/hildon/skin2cc.conf 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/hildon/skin2cc.conf 2007-02-01 19:03:56.000000000 +0200 @@ -0,0 +1,4 @@ +skins/42ct +Standard +skins/42ct-full +Full Screen diff -Nurw free42-1.4.27-orig/README.Debian free42-1.4.27-hildon3/README.Debian --- free42-1.4.27-orig/README.Debian 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/README.Debian 2007-02-01 19:03:56.000000000 +0200 @@ -0,0 +1,13 @@ +The debian subdir is for building Maemo application for Nokia 770 +device. Compilation must be done in a scratchbox environment. + +Inside scratchbox you can compile the whole thing as + +% dpkg-buildpackage -rfakeroot + +Only decimal version is built by default. + +For generic x86 (or other) desktop build use the build-linux script in +the top level dir. + +See http://www.maemo.org for more details. Binary files free42-1.4.27-orig/skins/42ct-full.gif and free42-1.4.27-hildon3/skins/42ct-full.gif differ diff -Nurw free42-1.4.27-orig/skins/42ct-full.layout free42-1.4.27-hildon3/skins/42ct-full.layout --- free42-1.4.27-orig/skins/42ct-full.layout 1970-01-01 02:00:00.000000000 +0200 +++ free42-1.4.27-hildon3/skins/42ct-full.layout 2007-02-01 19:03:52.000000000 +0200 @@ -0,0 +1,78 @@ +# HP-42S skin for Free42 (Windows and Unix) + +Alt 1 : 1 +Alt 2 : 2 +Alt 3 : 3 +Alt 4 : 4 +Alt 5 : 5 +Alt 6 : 6 + +u : 38 # map 'u' to macro 38 +U : 39 # map 'U' to macro 39 +CShift u : 39 # map CShift plus 'u' to macro 39 +CShift U : 39 # map CShift plus 'U' to macro 39 + +p : 37 +P : 28 37 +CShift p : 28 37 +CShift P : 28 37 + +j : 27 +J : 28 27 +CShift j : 28 27 +CShift J : 28 27 + +Skin: 0,0,763,479 +Display: 72,65 3 3 6b836b 0b2327 + + +Annunciator: 1 85,38,20,13 0,481 +Annunciator: 2 110,38,23,13 21,481 +Annunciator: 3 138,38,26,14 46,481 +Annunciator: 4 168,39,17,14 73,481 +Annunciator: 5 189,41,23,9 92,484 +Annunciator: 6 219,40,5,12 118,483 +Annunciator: 7 225,40,17,12 124,483 + +Key: 1 615,410,50,40 615,411,50,42 615,413 +Key: 2 319,181,50,40 319,182,50,42 319,183 +Key: 3 97,181,50,40 97,182,50,42 97,183 +Key: 4 171,181,50,40 171,182,50,42 171,183 +Key: 5 245,181,50,40 245,182,50,42 245,183 +Key: 6 97,257,50,40 97,259,50,42 97,260 +Key: 7 245,410,50,40 245,411,50,42 245,413 +Key: 8 319,410,50,40 319,411,50,42 319,413 +Key: 9 171,334,50,40 171,335,50,42 171,336 +Key: 10 171,257,50,40 171,259,50,42 171,260 +Key: 11 245,257,50,40 245,259,50,42 245,260 +Key: 12 319,257,50,40 319,259,50,42 319,260 +Key: 13 393,334,50,117 393,335,50,119 393,336 +Key: 14 245,334,50,40 245,335,50,42 245,336 +Key: 15 393,181,50,40 393,182,50,42 393,183 +Key: 16 393,257,50,40 393,259,50,42 393,260 +Key: 17 319,334,50,40 319,335,50,42 319,336 +Key: 18 23,181,50,40 23,182,50,42 23,183 +Key: 19 467,181,50,40 467,182,50,42 467,183 +Key: 20 541,181,50,40 541,182,50,42 541,183 +Key: 21 615,181,50,40 615,182,50,42 615,183 +Key: 22 689,181,50,40 689,182,50,42 689,183 +Key: 23 23,257,50,40 23,259,50,42 23,260 +Key: 24 467,257,50,40 467,259,50,42 467,260 +Key: 25 541,257,50,40 541,259,50,42 541,260 +Key: 26 615,257,50,40 615,259,50,42 615,260 +Key: 27 689,257,50,40 689,259,50,42 689,260 +Key: 28 171,410,50,40 171,411,50,42 171,413 +Key: 29 467,334,50,40 467,335,50,42 467,336 +Key: 30 541,334,50,40 541,335,50,42 541,336 +Key: 31 615,334,50,40 615,335,50,42 615,336 +Key: 32 689,334,50,40 689,335,50,42 689,336 +Key: 33 23,410,50,40 23,411,50,42 23,413 +Key: 34 467,410,50,40 467,411,50,42 467,413 +Key: 35 541,410,50,40 541,411,50,42 541,413 +Key: 36 23,334,50,40 23,335,50,42 23,336 +Key: 37 689,410,50,40 689,411,50,42 689,413 +Key: 38,39 97,334,50,40 97,335,50,42 97,336 + +Macro: 38 6 28 13 5 1 23 2 2 13 28 28 +Macro: 39 17 4 28 28 +