OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | diff -urN sarien-0.7.0/etc/sarien.cfg sarien-0.7.0-nanonote/etc/sarien.cfg |
| 2 | --- sarien-0.7.0/etc/sarien.cfg 2001-11-06 10:49:58.000000000 +0100 |
| 3 | +++ sarien-0.7.0-nanonote/etc/sarien.cfg 2010-06-21 00:21:42.000000000 +0200 |
| 4 | @@ -6,8 +6,7 @@ |
| 5 | # to the operating system being used. |
| 6 | # |
| 7 | # In UNIX: |
| 8 | -# $HOME/.sarienrc |
| 9 | -# /etc/sarien.conf |
| 10 | +# /usr/share/sarien/sarien.cfg |
| 11 | # |
| 12 | # In Cygwin: |
| 13 | # /etc/sarien.conf |
| 14 | diff -urN sarien-0.7.0/Makefile sarien-0.7.0-nanonote/Makefile |
| 15 | --- sarien-0.7.0/Makefile 2001-09-04 04:17:00.000000000 +0200 |
| 16 | +++ sarien-0.7.0-nanonote/Makefile 2010-06-21 01:29:46.000000000 +0200 |
| 17 | @@ -72,6 +72,17 @@ |
| 18 | rm -Rf $(DIST) |
| 19 | sync |
| 20 | |
| 21 | +ipkg: |
| 22 | + rm -Rf ipkg-tmp $(DIST).ipk |
| 23 | + mkdir -p ipkg-tmp/CONTROL |
| 24 | + cp openwrt/control ipkg-tmp/CONTROL |
| 25 | + $(MAKE) DISTDIR=ipkg-tmp install |
| 26 | + ipkg-build -o root -g root ipkg-tmp |
| 27 | + |
| 28 | +install: all |
| 29 | + install -D -m 0755 -s --strip-program=$(STRIP) bin/sarien $(DISTDIR)$(BIN_DIR)/sarien |
| 30 | + install -D -m 0644 etc/sarien.cfg $(DISTDIR)$(DATADIR)/sarien.cfg |
| 31 | + |
| 32 | chkoldver: |
| 33 | @if [ "$(OLDVER)" = "" ]; then \ |
| 34 | echo "parameter missing: OLDVER=<old_version>"; \ |
| 35 | diff -urN sarien-0.7.0/openwrt/control sarien-0.7.0-nanonote/openwrt/control |
| 36 | --- sarien-0.7.0/openwrt/control 1970-01-01 01:00:00.000000000 +0100 |
| 37 | +++ sarien-0.7.0-nanonote/openwrt/control 2010-06-21 00:54:37.000000000 +0200 |
| 38 | @@ -0,0 +1,18 @@ |
| 39 | +Package: sarien |
| 40 | +Version: 0.7.0-1 |
| 41 | +Source: http://sourceforge.net/projects/sarien/ |
| 42 | +Architecture: xburst |
| 43 | +Maintainer: Magnus Bergman <magnusbe@algonet.se> |
| 44 | +Priority: optional |
| 45 | +Section: extras |
| 46 | +Depends: libsdl |
| 47 | +Description: An interpreter for AGI resources |
| 48 | + The old Sierra games are made with the AGI engine. Sarien |
| 49 | + is a free interpreter for AGI resources. |
| 50 | + . |
| 51 | + Games written in AGI includes: |
| 52 | + * Kings Quest I - IV |
| 53 | + * Police Quest |
| 54 | + * Leisure Suit Larry |
| 55 | + . |
| 56 | + You need the files from the original games. |
| 57 | diff -urN sarien-0.7.0/Rules.in sarien-0.7.0-nanonote/Rules.in |
| 58 | --- sarien-0.7.0/Rules.in 2001-09-06 14:41:36.000000000 +0200 |
| 59 | +++ sarien-0.7.0-nanonote/Rules.in 2010-06-21 00:14:38.000000000 +0200 |
| 60 | @@ -3,6 +3,7 @@ |
| 61 | prefix = @prefix@ |
| 62 | exec_prefix = @prefix@ |
| 63 | BIN_DIR = @bindir@ |
| 64 | +DATA_DIR = @datadir@/sarien |
| 65 | LIB_DIR = @libdir@ |
| 66 | MAN_DIR = @mandir@/man1 |
| 67 | |
| 68 | diff -urN sarien-0.7.0/src/filesys/unix/path.c sarien-0.7.0-nanonote/src/filesys/unix/path.c |
| 69 | --- sarien-0.7.0/src/filesys/unix/path.c 2001-08-05 01:59:48.000000000 +0200 |
| 70 | +++ sarien-0.7.0-nanonote/src/filesys/unix/path.c 2010-06-21 00:57:09.000000000 +0200 |
| 71 | @@ -46,6 +46,6 @@ |
| 72 | #endif |
| 73 | #endif |
| 74 | |
| 75 | - return "/etc/sarien.conf"; |
| 76 | + return DATADIR "/sarien.cfg"; |
| 77 | } |
| 78 | |
| 79 | diff -urN sarien-0.7.0/src/graphics/sdl/sdl.c sarien-0.7.0-nanonote/src/graphics/sdl/sdl.c |
| 80 | --- sarien-0.7.0/src/graphics/sdl/sdl.c 2010-06-19 17:41:56.000000000 +0200 |
| 81 | +++ sarien-0.7.0-nanonote/src/graphics/sdl/sdl.c 2010-06-20 23:02:18.000000000 +0200 |
| 82 | @@ -460,6 +460,7 @@ |
| 83 | SDL_GetError ()); |
| 84 | return err_Unk; |
| 85 | } |
| 86 | + SDL_ShowCursor (SDL_DISABLE); |
| 87 | |
| 88 | mode = SDL_SWSURFACE | SDL_ANYFORMAT; |
| 89 | |
| 90 |
