[oe-commits] org.oe.dev merge of '470abd3e031218485cbc8e340327fcfa663ed504'

oe commit openembedded-commits at lists.openembedded.org
Sun Aug 19 17:49:39 UTC 2007


merge of '470abd3e031218485cbc8e340327fcfa663ed504'
     and 'e3172af4d60e901a6bd89e3e56ad6e04471826d1'

Author: oe at openembedded.org
Branch: org.openembedded.dev
Revision: 5ed39543fd08e1e8104ea222e307798781b5e351
ViewMTN: http://monotone.openembedded.org/revision.psp?id=5ed39543fd08e1e8104ea222e307798781b5e351
Files:
1
packages/xorg-xserver/xserver-xorg-1.3.0.0
packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch
packages/xorg-xserver/xserver-xorg_1.3.0.0.bb
packages/scummvm/files/fic-gta01
packages/scummvm/files/fic-gta01/openmoko-scummvm
packages/scummvm/files/makefile-nostrip.patch
packages/scummvm/files/scummvm.desktop
packages/scummvm/scummvm.inc
packages/scummvm/scummvm_0.9.1.bb
mtn:execute
true
Diffs:

#
# mt diff -r470abd3e031218485cbc8e340327fcfa663ed504 -r5ed39543fd08e1e8104ea222e307798781b5e351
#
# 
# 
# add_dir "packages/xorg-xserver/xserver-xorg-1.3.0.0"
# 
# add_file "packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch"
#  content [72edf4806ea57b3c561a14e789d07709534e163a]
# 
# patch "packages/xorg-xserver/xserver-xorg_1.3.0.0.bb"
#  from [c73bffb1e3641cde21223b8fe821232c15036b4d]
#    to [c33cdc04da5f76dfa5814af63e8f55d82464ae61]
# 
============================================================
--- packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch	72edf4806ea57b3c561a14e789d07709534e163a
+++ packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch	72edf4806ea57b3c561a14e789d07709534e163a
@@ -0,0 +1,11 @@
+--- xorg-server-1.3.0.0.orig/hw/xfree86/os-support/linux/Makefile.am
++++ xorg-server-1.3.0.0/hw/xfree86/os-support/linux/Makefile.am
+@@ -38,7 +38,7 @@
+ 
+ AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(PLATFORM_DEFINES)
+ 
+-INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) -I/usr/include/drm # FIXME this last part is crack
++INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS)
+ 
+ # FIXME: These need to be added to the build
+ LNX_EXTRA_SOURCES = \
============================================================
--- packages/xorg-xserver/xserver-xorg_1.3.0.0.bb	c73bffb1e3641cde21223b8fe821232c15036b4d
+++ packages/xorg-xserver/xserver-xorg_1.3.0.0.bb	c33cdc04da5f76dfa5814af63e8f55d82464ae61
@@ -1,8 +1,11 @@ PE = "1"
 MESA_VER = "6.5.2"
 
 require xorg-xserver-common.inc
 PE = "1"
+PR = "r1"
 
+SRC_URI += "file://drmfix.patch;patch=1"
+
 EXTRA_OECONF += " ac_cv_file__usr_share_X11_sgml_defs_ent=no "
 
 export LDFLAGS += " -ldl "


#
# mt diff -re3172af4d60e901a6bd89e3e56ad6e04471826d1 -r5ed39543fd08e1e8104ea222e307798781b5e351
#
# 
# 
# add_dir "packages/scummvm/files/fic-gta01"
# 
# add_file "packages/scummvm/files/fic-gta01/openmoko-scummvm"
#  content [2151aa3ba2826c460d0618140846150531a098bd]
# 
# add_file "packages/scummvm/files/makefile-nostrip.patch"
#  content [800d2b32c57cf34ae64bbeab62971be259376c87]
# 
# add_file "packages/scummvm/files/scummvm.desktop"
#  content [555a291650cf69e4657db44f746545b8179c89cd]
# 
# patch "packages/scummvm/scummvm.inc"
#  from [881cbe05da932099a88bebbb6f1576dde96ad1d6]
#    to [195a28283db02d87e7361fce8f6cda1776848c24]
# 
# patch "packages/scummvm/scummvm_0.9.1.bb"
#  from [7a143213146b4e648a364d33165d80b505cff402]
#    to [a7d83e6abecad479aeba9199278c19affc862fde]
# 
#   set "packages/scummvm/files/fic-gta01/openmoko-scummvm"
#  attr "mtn:execute"
# value "true"
# 
============================================================
--- packages/scummvm/files/fic-gta01/openmoko-scummvm	2151aa3ba2826c460d0618140846150531a098bd
+++ packages/scummvm/files/fic-gta01/openmoko-scummvm	2151aa3ba2826c460d0618140846150531a098bd
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+# Save current AUX Key mapping
+SAVE_KEY="$(xmodmap -pke | grep 'keycode   8')"
+
+# Map AUX Key to F5
+xmodmap -e "keycode 8 = F5"
+
+# Turn LCD feft
+xrandr -o left
+
+# Start the scummvm in fullscreen mode
+scummvm --fullscreen --themepath=/usr/share/scummvm/
+
+# Turn LCD normal
+xrandr -o normal
+
+# Restore the AUX Key mapping
+xmodmap -e "$SAVE_KEY"
============================================================
--- packages/scummvm/files/makefile-nostrip.patch	800d2b32c57cf34ae64bbeab62971be259376c87
+++ packages/scummvm/files/makefile-nostrip.patch	800d2b32c57cf34ae64bbeab62971be259376c87
@@ -0,0 +1,13 @@
+Index: scummvm-0.9.1/Makefile
+===================================================================
+--- scummvm-0.9.1.orig/Makefile	2007-08-18 13:02:07.000000000 +0200
++++ scummvm-0.9.1/Makefile	2007-08-18 13:02:24.000000000 +0200
+@@ -45,7 +45,7 @@
+ 
+ install: all
+ 	$(INSTALL) -d "$(DESTDIR)$(BINDIR)"
+-	$(INSTALL) -c -s -m 755 "$(srcdir)/scummvm$(EXEEXT)" "$(DESTDIR)$(BINDIR)/scummvm$(EXEEXT)"
++	$(INSTALL) -c -m 755 "$(srcdir)/scummvm$(EXEEXT)" "$(DESTDIR)$(BINDIR)/scummvm$(EXEEXT)"
+ 	$(INSTALL) -d "$(DESTDIR)$(MANDIR)/man6/"
+ 	$(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.6" "$(DESTDIR)$(MANDIR)/man6/scummvm.6"
+ 	$(INSTALL) -d "$(DESTDIR)$(PREFIX)/share/pixmaps/"
============================================================
--- packages/scummvm/files/scummvm.desktop	555a291650cf69e4657db44f746545b8179c89cd
+++ packages/scummvm/files/scummvm.desktop	555a291650cf69e4657db44f746545b8179c89cd
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=ScummVM
+Name[pl]=ScummVM
+Comment=Interpreter for several adventure games
+Comment[pl]=Interpreter graficznych gier przygodowych
+Exec=openmoko-scummvm
+Icon=scummvm.xpm
+Terminal=false
+Type=Application
+Categories=Application;Game;AdventureGame;
+StartupNotify=false
============================================================
--- packages/scummvm/scummvm.inc	881cbe05da932099a88bebbb6f1576dde96ad1d6
+++ packages/scummvm/scummvm.inc	195a28283db02d87e7361fce8f6cda1776848c24
@@ -1,4 +1,5 @@
-DESCRIPTION = "Virtual Machine for LucasArts Adventures"
+DESCRIPTION = "Virtual Machine for several classic graphical point-and-click adventure games"
+HOMEPAGE = "http://www.scummvm.org"
 SECTION = "games"
 PRIORITY = "optional"
 LICENSE = "GPL"
============================================================
--- packages/scummvm/scummvm_0.9.1.bb	7a143213146b4e648a364d33165d80b505cff402
+++ packages/scummvm/scummvm_0.9.1.bb	a7d83e6abecad479aeba9199278c19affc862fde
@@ -1,8 +1,12 @@
-DEFAULT_PREFERENCE = "-1"
-
 require scummvm.inc
 DEPENDS = "virtual/libsdl libmad libvorbis libogg zlib mpeg2dec"
 
+SRC_URI += "file://makefile-nostrip.patch;patch=1"
+SRC_URI_append_openmoko = " file://openmoko-scummvm \
+                           file://scummvm.desktop"
+
+SRC_URI_OVERRIDES_PACKAGE_ARCH = "1"
+
 EXTRA_OECONF += "--enable-lure \
 		 --enable-agi \
 		 --enable-cine \
@@ -10,7 +14,20 @@ do_compile() {
 
 do_compile() {
 	oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lmpeg2" \
-                   DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT  -DUSE_MAD -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2"
+	           DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DUSE_MAD -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2"
 }
 
 
+do_install_append() {
+	if [ -f ${WORKDIR}/openmoko-scummvm ]; then
+		install -d ${D}${bindir}
+		install -m 0755 ${WORKDIR}/openmoko-scummvm ${D}${bindir}/openmoko-scummvm
+	fi
+	if  [ -f ${WORKDIR}/scummvm.desktop ]; then
+		install -d ${D}${datadir}/applications
+		install -m 0644 ${WORKDIR}/scummvm.desktop ${D}${datadir}/applications
+	fi
+	install -d ${D}${datadir}/scummvm
+	install -m 0644 gui/themes/modern.ini ${D}${datadir}/scummvm/ 
+	install -m 0644 gui/themes/modern.zip ${D}${datadir}/scummvm/
+}






More information about the Openembedded-commits mailing list