This repository was archived by the owner on Jun 5, 2025. It is now read-only.
forked from instead-hub/instead
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmaemo-build.patch
More file actions
141 lines (127 loc) · 4.83 KB
/
maemo-build.patch
File metadata and controls
141 lines (127 loc) · 4.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
diff -Nur instead-2.2.0/Rules.make.system instead-2.2.0-maemo/Rules.make.system
--- instead-2.2.0/Rules.make.system 2015-01-01 10:53:50.000000000 +0300
+++ instead-2.2.0-maemo/Rules.make.system 2015-01-01 11:04:20.000000000 +0300
@@ -28,7 +28,7 @@
SDL_CFLAGS=$(shell sdl-config --cflags)
SDL_LFLAGS=$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image -lm
-CFLAGS += -Wall -Dunix -D_USE_UNPACK # -D_SDL_MOD_BUG
+CFLAGS += -Wall -Dunix -D_USE_UNPACK -DMAEMO # -D_SDL_MOD_BUG
INSTALLD=install -d -m 0755
INSTALLB=install -m 0755
diff -Nur instead-2.2.0/debian/compat instead-2.2.0-maemo/debian/compat
--- instead-2.2.0/debian/compat 2015-01-01 10:53:50.000000000 +0300
+++ instead-2.2.0-maemo/debian/compat 2015-01-01 11:04:20.000000000 +0300
@@ -1 +1 @@
-7
+4
diff -Nur instead-2.2.0/debian/control instead-2.2.0-maemo/debian/control
--- instead-2.2.0/debian/control 2015-01-01 10:53:50.000000000 +0300
+++ instead-2.2.0-maemo/debian/control 2015-01-01 11:04:20.000000000 +0300
@@ -1,8 +1,8 @@
Source: instead
-Section: games
+Section: user/games
Priority: optional
Maintainer: Peter Kosyh <p.kosyh@gmail.com>
-Build-Depends: debhelper (>= 7), pkg-config, liblua5.1-dev, libsdl1.2-dev, libsdl-ttf2.0-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, zlib1g-dev
+Build-Depends: debhelper (>= 5), pkg-config, liblua5.1-dev, libsdl1.2-dev, libsdl-ttf2.0-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, zlib1g-dev
Standards-Version: 3.8.3
Homepage: http://instead.sourceforge.net
@@ -11,4 +11,3 @@
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: simple text adventures/visual novels engine
Visual novell/text quest-like engine.
-
diff -Nur instead-2.2.0/debian/rules instead-2.2.0-maemo/debian/rules
--- instead-2.2.0/debian/rules 2015-01-01 10:53:50.000000000 +0300
+++ instead-2.2.0-maemo/debian/rules 2015-01-01 11:04:20.000000000 +0300
@@ -61,7 +61,7 @@
install: build
dh_testdir
dh_testroot
- dh_prep
+# dh_prep
dh_installdirs
# Add here commands to install the package into debian/instead.
diff -Nur instead-2.2.0/desktop/Makefile instead-2.2.0-maemo/desktop/Makefile
--- instead-2.2.0/desktop/Makefile 2015-01-01 10:53:50.000000000 +0300
+++ instead-2.2.0-maemo/desktop/Makefile 2015-01-01 11:04:20.000000000 +0300
@@ -10,9 +10,9 @@
cat instead.desktop.in | sed -e "s|@BIN@|$(BIN)|g" > instead.desktop
install:
- $(INSTALLD) $(DESTDIR)$(PREFIX)/share/applications
- $(INSTALL) instead.desktop $(DESTDIR)$(PREFIX)/share/applications/instead.desktop
+ $(INSTALLD) $(DESTDIR)$(PREFIX)/share/applications/hildon
+ $(INSTALL) instead.desktop $(DESTDIR)$(PREFIX)/share/applications/hildon/instead.desktop
uninstall:
- $(RM) $(DESTDIR)$(PREFIX)/share/applications/instead.desktop
+ $(RM) $(DESTDIR)$(PREFIX)/share/applications/hildon/instead.desktop
diff -Nur instead-2.2.0/desktop/instead.desktop.in instead-2.2.0-maemo/desktop/instead.desktop.in
--- instead-2.2.0/desktop/instead.desktop.in 2015-01-01 10:53:50.000000000 +0300
+++ instead-2.2.0-maemo/desktop/instead.desktop.in 2015-01-01 11:04:20.000000000 +0300
@@ -13,4 +13,8 @@
Exec=@BIN@/sdl-instead
Icon=sdl_instead
Terminal=false
+X-Window-Icon=sdl_instead
+X-Window-Icon-Dimmed=sdl_instead
+X-HildonDesk-ShowInToolbar=true
+StartupWMClass=instead
Categories=Game;LogicGame;
diff -Nur instead-2.2.0/src/sdl-instead/externals.h instead-2.2.0-maemo/src/sdl-instead/externals.h
--- instead-2.2.0/src/sdl-instead/externals.h 2015-01-01 10:53:52.000000000 +0300
+++ instead-2.2.0-maemo/src/sdl-instead/externals.h 2015-01-01 11:04:29.000000000 +0300
@@ -1,4 +1,4 @@
-#include <SDL_config.h>
+/* #include <SDL_config.h> */
#ifdef _WIN32_WCE
#include "wince.h"
#endif
diff -Nur instead-2.2.0/themes/default/theme.ini instead-2.2.0-maemo/themes/default/theme.ini
--- instead-2.2.0/themes/default/theme.ini 2015-01-01 10:53:54.000000000 +0300
+++ instead-2.2.0-maemo/themes/default/theme.ini 2015-01-01 11:04:20.000000000 +0300
@@ -5,7 +5,7 @@
; $Name(it): Predefinito$
scr.w = 800
-scr.h = 600
+scr.h = 480
scr.gfx.scalable = 1
scr.gfx.h = -1
@@ -23,7 +23,7 @@
win.x = 48
win.y = 8
win.w = 500
-win.h = 568
+win.h = 448
win.fnt.name = {sans,sans-b,sans-i,sans-bi}.ttf
win.fnt.size = 16
@@ -42,7 +42,8 @@
inv.x = 620
inv.y = 8
inv.w = 144
-inv.h = 564
+inv.h = 448
+
inv.fnt.name = {sans,sans-b,sans-i,sans-bi}.ttf
inv.fnt.size = 16
@@ -70,8 +71,8 @@
menu.fnt.height = 1.0
menu.gfx.button = menu.png
menu.button.x = 776
-menu.button.y = 576
+menu.button.y = 456
snd.click = click.wav ; click.ogg
diff -Nur instead-2.2.0/themes/wide/theme.ini instead-2.2.0-maemo/themes/wide/theme.ini
--- instead-2.2.0/themes/wide/theme.ini 2015-01-01 10:53:54.000000000 +0300
+++ instead-2.2.0-maemo/themes/wide/theme.ini 2015-01-01 11:04:20.000000000 +0300
@@ -3,10 +3,3 @@
; $Name(ua):Широка$
; $Name(es):Amplio$
; $Name(it):Ampio$
-
-scr.w = 800
-scr.h = 480
-win.h = 448
-inv.h = 448
-
-menu.button.y = 456