This repository has been archived on 2019-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
adventin/maemo-build.patch
2010-12-02 13:05:55 +00:00

81 lines
3.4 KiB
Diff

diff -Nur instead-1.3.1/debian/compat instead-1.3.1.maemo/debian/compat
--- instead-1.3.1/debian/compat 2010-10-12 15:06:29.000000000 +0400
+++ instead-1.3.1.maemo/debian/compat 2010-12-02 15:44:00.000000000 +0300
@@ -1 +1 @@
-7
+4
diff -Nur instead-1.3.1/debian/control instead-1.3.1.maemo/debian/control
--- instead-1.3.1/debian/control 2010-10-12 15:06:29.000000000 +0400
+++ instead-1.3.1.maemo/debian/control 2010-12-02 15:44:00.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.googlecode.com
@@ -11,4 +11,3 @@
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: simply text adventures/visual novels engine and game
Visual novell/text quest-like game in Russian with engine.
-
diff -Nur instead-1.3.1/debian/rules instead-1.3.1.maemo/debian/rules
--- instead-1.3.1/debian/rules 2010-10-12 15:06:29.000000000 +0400
+++ instead-1.3.1.maemo/debian/rules 2010-12-02 15:44:00.000000000 +0300
@@ -52,7 +52,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-1.3.1/desktop/instead.desktop.in instead-1.3.1.maemo/desktop/instead.desktop.in
--- instead-1.3.1/desktop/instead.desktop.in 2010-11-22 11:19:15.000000000 +0300
+++ instead-1.3.1.maemo/desktop/instead.desktop.in 2010-12-02 15:45:00.000000000 +0300
@@ -7,6 +7,10 @@
Comment=Siple Text Adventures Interpreter
Comment[ru]=Интерпретатор простых приключений
Exec=@BIN/sdl-instead
-Icon=sdl_instead.png
+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-1.3.1/desktop/Makefile instead-1.3.1.maemo/desktop/Makefile
--- instead-1.3.1/desktop/Makefile 2010-10-12 15:06:42.000000000 +0400
+++ instead-1.3.1.maemo/desktop/Makefile 2010-12-02 15:45:00.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-1.3.1/Rules.make.system instead-1.3.1.maemo/Rules.make.system
--- instead-1.3.1/Rules.make.system 2010-11-22 11:15:47.000000000 +0300
+++ instead-1.3.1.maemo/Rules.make.system 2010-12-02 15:45:00.000000000 +0300
@@ -28,7 +28,7 @@
SDL_CFLAGS=$(shell sdl-config --cflags)
SDL_LFLAGS=$(shell sdl-config --libs) -lSDL_ttf -lSDL_mixer -lSDL_image
-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