[Player-dev] some other helix player on windows patches
Ryan Gammon rgammon at real.com... attached.
These aren't ready to go in, just provided for anyone following along.
- cl doesn't like #'s in it's command line #defines
- UpdateReleaseNotes doing something weird
- remove /Zp1 from the windows compile options
With this + what's checked in + the dropline gtk for windows sdk, one
should be able to build the player on windows using the "current" (HEAD)
branch.
Crashes on startup in rarender.cpp though...
-------------- next part --------------
Index: win32-msvc.cf
===================================================================
RCS file: /cvsroot/ribosome/build/umakecf/win32-msvc.cf,v
retrieving revision 1.9
diff -u -r1.9 win32-msvc.cf
--- win32-msvc.cf 20 Aug 2004 01:46:16 -0000 1.9
+++ win32-msvc.cf 12 Dec 2004 22:10:55 -0000
@@ -64,7 +64,7 @@
cc.include_arg = '/I'
## define base arguments for build modes
-cc.args['default'] = '/nologo /Zp1 /Zm200 /W3 /GX- /FD'
+cc.args['default'] = '/nologo /Zm200 /W3 /GX- /FD'
cc.args['debug'] = '/Od'
## no_optimize: no optimization on release builds
-------------- next part --------------
? Makefile
? README.realplay
? Umakefil.upp
? dbg32
? player_app_gtk.dsp
? player_app_gtk.dsw
? vc70.idb
? locale/de/README.realplay
? locale/es/README.realplay
? locale/fr/README.realplay
? locale/it/README.realplay
? locale/ja/README.realplay
? locale/ko/README.realplay
? locale/pt_BR/README.realplay
? locale/zh_CN/README.realplay
? locale/zh_TW/README.realplay
Index: Umakefil
===================================================================
RCS file: /cvsroot/player/app/gtk/Umakefil,v
retrieving revision 1.84
diff -u -r1.84 Umakefil
--- Umakefil 7 Dec 2004 21:19:09 -0000 1.84
+++ Umakefil 13 Dec 2004 22:22:00 -0000
@@ -228,8 +228,7 @@
"guids.cpp",
"contextmenu.cpp",
"sysinfo.cpp",
- "switchboard.cpp",
- "mailcap.cpp")
+ "switchboard.cpp")
if project.IsDefined('HELIX_FEATURE_REAL_BRANDING'):
project.AddDefines('APP_NAME_SHORT="realplay"')
@@ -237,7 +236,8 @@
project.AddDefines('APP_NAME_FULL="RealPlayer 10"')
project.AddDefines('APP_PREFIX_LC="rp"')
project.AddDefines('APP_URL="http://www.real.com"')
- project.AddDefines('APP_FG_COLOR="#336699"')
+# project.AddDefines('APP_FG_COLOR="#336699"')
+ project.AddDefines('APP_FG_COLOR="blue"')
ProgramTarget("realplay.bin")
project.AddCopyTargets("realplay")
@@ -262,13 +262,13 @@
DependTarget()
# update release notes in locale dirs
-for entry in os.listdir("locale"):
- path = os.path.join("locale", entry)
- if os.path.isdir(path):
- src_path = os.path.join(path, readme_src)
- if os.path.isfile(src_path):
- dest_path = os.path.join(path, readme_dest)
- UpdateReleaseNotes(src_path, dest_path, verfile)
-
+# for entry in os.listdir("locale"):
+# path = os.path.join("locale", entry)
+# if os.path.isdir(path):
+# src_path = os.path.join(path, readme_src)
+# if os.path.isfile(src_path):
+# dest_path = os.path.join(path, readme_dest)
+# UpdateReleaseNotes(src_path, dest_path, verfile)
+#
# update default release notes
UpdateReleaseNotes(readme_src, readme_dest, verfile)
Index: unix.pcf
===================================================================
RCS file: /cvsroot/player/app/gtk/unix.pcf,v
retrieving revision 1.9
diff -u -r1.9 unix.pcf
--- unix.pcf 11 Nov 2004 02:24:17 -0000 1.9
+++ unix.pcf 13 Dec 2004 04:12:26 -0000
@@ -128,6 +128,7 @@
# platform.link.args["default"] = platform.link.args["default"] + " " + gtk_other_ldflags
project.AddDynamicLibraries(gtk_other_ldflags)
-project.AddSources("xutils.cpp")
+project.AddSources("xutils.cpp",
+ "mailcap.cpp")
project.AddDefines('HELIX_FEATURE_EMBEDDED_PLAYER')