bb631d1
diff -Naur blender-2.78a.old/doc/manpage/blenderplayer.1 blender-2.78a/doc/manpage/blenderplayer.1
bb631d1
--- blender-2.78a.old/doc/manpage/blenderplayer.1	1970-01-01 01:00:00.000000000 +0100
bb631d1
+++ blender-2.78a/doc/manpage/blenderplayer.1	2017-01-29 23:10:44.556692826 +0100
7b262cf
@@ -0,0 +1,131 @@
7b262cf
+.TH "BLENDERPLAYER" "1" "October 17, 2011" "Blender 2\&.60 (sub 0)"
7b262cf
+.SH "NAME"
7b262cf
+blenderplayer \- the blender game engine runner
7b262cf
+.SH "SYNOPSIS"
7b262cf
+usage:   blenderplayer [\-w [w h l t]] [\-f [fw fh fb ff]] [\-g gamengineoptions] [\-s stereomode] [\-m aasamples] filename.blend
7b262cf
+.SH "DESCRIPTION"
7b262cf
+.B blenderplayer
7b262cf
+is the 3D and physics game engine
7b262cf
+.SH "OPTIONS"
7b262cf
+.PP
7b262cf
+.B -h
7b262cf
+: Prints this command summary
7b262cf
+.PP
7b262cf
+.B -w
7b262cf
+: display in a window
7b262cf
+  optional parameters
7b262cf
+    w = window width
7b262cf
+    h = window height
7b262cf
+    l = window left coordinate
7b262cf
+    t = window top coordinate
7b262cf
+    Note: If w or h is defined, both must be defined.
7b262cf
+    Also, if l or t is defined, all options must be used.
7b262cf
+.PP
7b262cf
+.B -f
7b262cf
+: start game in full screen mode
7b262cf
+  optional parameters
7b262cf
+    fw = full screen mode pixel width
7b262cf
+    fh = full screen mode pixel height
7b262cf
+    fb = full screen mode bits per pixel
7b262cf
+    ff = full screen mode frequency
7b262cf
+    Note: If fw or fh is defined, both must be defined.
7b262cf
+    Also, if fb is used, fw and fh must be used. ff requires all options.
7b262cf
+.PP
7b262cf
+.B -s
7b262cf
+: start player in stereo
7b262cf
+.PP
7b262cf
+    depending on the type of stereo you want:
7b262cf
+.PP
7b262cf
+    stereomode: hwpageflip
7b262cf
+        (Quad buffered shutter glasses)
7b262cf
+.PP
7b262cf
+    syncdoubling
7b262cf
+        (Above Below)
7b262cf
+.PP
7b262cf
+    sidebyside
7b262cf
+        (Left Right)
7b262cf
+.PP
7b262cf
+    anaglyph
7b262cf
+        (Red\-Blue glasses)
7b262cf
+.PP
7b262cf
+    vinterlace
7b262cf
+        (Vertical interlace for autostereo display)
7b262cf
+.PP
7b262cf
+.B -D
7b262cf
+: start player in dome mode
7b262cf
+.PP
7b262cf
+    Optional parameters:
7b262cf
+.PP
7b262cf
+        angle = field of view in degrees
7b262cf
+.PP
7b262cf
+        tilt  = tilt angle in degrees
7b262cf
+.PP
7b262cf
+        warpdata = a file to use for warping the image (absolute path)
7b262cf
+.PP
7b262cf
+        mode = fisheye (Fisheye), truncatedfront (Front\-Truncated),
7b262cf
+               truncatedrear (Rear\-Truncated), cubemap(Cube Map),
7b262cf
+               sphericalpanoramic (Spherical Panoramic)
7b262cf
+.PP
7b262cf
+               depending on the type of dome you are using
7b262cf
+.PP
7b262cf
+.B -m
7b262cf
+: maximum anti-aliasing (eg. 2,4,8,16)
7b262cf
+.PP
7b262cf
+.B -i
7b262cf
+: parent windows ID
7b262cf
+.PP
7b262cf
+.B -d
7b262cf
+: turn debugging on
7b262cf
+.PP
7b262cf
+.B -g
7b262cf
+: game engine options
7b262cf
+.RS 4
7b262cf
+.TP 29
7b262cf
+Name
7b262cf
+Default      Description
7b262cf
+.TP
7b262cf
+---------------------------
7b262cf
+------------------------------------
7b262cf
+.TP
7b262cf
+fixedtime
7b262cf
+0         "Enable all frames"
7b262cf
+.TP
7b262cf
+nomipmap
7b262cf
+0         Disable mipmaps
7b262cf
+.TP
7b262cf
+show_framerate
7b262cf
+0         Show the frame rate
7b262cf
+.TP
7b262cf
+show_properties
7b262cf
+0         Show debug properties
7b262cf
+.TP
7b262cf
+show_profile
7b262cf
+0         Show profiling information
7b262cf
+.TP
7b262cf
+blender_material
7b262cf
+0         Enable material settings
7b262cf
+.TP
7b262cf
+ignore_deprecation_warnings
7b262cf
+1         Ignore deprecation warnings
7b262cf
+.RE
7b262cf
+.PP
7b262cf
+.B -
7b262cf
+: all arguments after this are ignored, allowing python to access them from sys.argv
7b262cf
+.SH "EXAMPLES"
7b262cf
+.TP
7b262cf
+.B blenderplayer -w 320 200 10 10 -g noaudio //home//user//filename.blend
7b262cf
+Launch blenderplayer in window mode with size 320x200 at 10 pixels from left and 10 pixels
7b262cf
+from top of the screen without audio.
7b262cf
+.TP
7b262cf
+.B blenderplayer -g show_framerate = 0 //home//user//filename.blend
7b262cf
+Disable framerate reports.
7b262cf
+.TP
7b262cf
+.B blenderplayer -i 232421 -m 16 //home//user//filename.blend
7b262cf
+Launch blenderplayer embedded in an existing window and set antialiasing to 16.
7b262cf
+
7b262cf
+.SH "SEE ALSO"
7b262cf
+.B blender(1)
7b262cf
+
7b262cf
+.br
7b262cf
+.SH AUTHORS
7b262cf
+This manpage was written for a Debian by Kevin Roy <kiniou@gmail.com>.
bb631d1
diff -Naur blender-2.78a.old/source/creator/CMakeLists.txt blender-2.78a/source/creator/CMakeLists.txt
bb631d1
--- blender-2.78a.old/source/creator/CMakeLists.txt	2017-01-29 23:10:25.810363127 +0100
bb631d1
+++ blender-2.78a/source/creator/CMakeLists.txt	2017-01-29 23:10:44.556692826 +0100
bb631d1
@@ -480,6 +480,7 @@
7b262cf
 			FILES
7b262cf
 				${CMAKE_SOURCE_DIR}/release/freedesktop/blender.desktop
7b262cf
 				${CMAKE_SOURCE_DIR}/release/freedesktop/icons/scalable/apps/blender.svg
7b262cf
+				${CMAKE_SOURCE_DIR}/doc/manpage/blenderplayer.1
7b262cf
 			DESTINATION "."
7b262cf
 		)
7b262cf
 
bb631d1
@@ -502,6 +503,10 @@
7b262cf
 				FILES ${CMAKE_CURRENT_BINARY_DIR}/blender.1
7b262cf
 				DESTINATION share/man/man1
7b262cf
 			)
7b262cf
+			install(
7b262cf
+				FILES ${CMAKE_SOURCE_DIR}/doc/manpage/blenderplayer.1
7b262cf
+				DESTINATION share/man/man1
7b262cf
+			)
7b262cf
 		endif()
7b262cf
 
7b262cf
 		# misc files