On Mittwoch, 11. April 2007, Stefan Lucke wrote:
> Hello,
>
Hi!

> we got a new release :-) .
>
And I have some patches, that the gentoo ebuild uses that are not yet 
contained :)

vdr-softdevice-0.3.1-osdmode-software-default.diff:
Correctly initialize the osdmode, as that var is normally uninitialized (with 
luck it is initialized to 0 - but that corresponds to pseudo blending).

vdr-softdevice-0.2.3-shm-fullscreen.diff:
Hack to add cmd-line-option "-f" to ShmClient, to start it fullscreen.

vdr-softdevice-0.4.0-xinerama-configure-opts.patch:
Added option "--disable-xinerama" to configure to stop it linking against 
libXinerama. This helps for example when creating binary packages and the 
dev-system has xinerama lib installed, but not the dest.

Matthias

-- 
Matthias Schwarzott (zzam)
diff -ru softdevice-0.3.1-orig/setup-softdevice.c softdevice-0.3.1/setup-softdevice.c
--- softdevice-0.3.1-orig/setup-softdevice.c	2006-11-09 14:43:21.841179646 +0100
+++ softdevice-0.3.1/setup-softdevice.c	2006-11-09 14:43:28.846888627 +0100
@@ -123,6 +123,7 @@
   syncTimerMode = 2;
   vidCaps = 0;
   vidBrightness = vidHue = vidContrast = vidSaturation = -1;
+  osdMode = 1;
 
   /* --------------------------------------------------------------------------
    * these screen width/height values are operating in square pixel mode.
diff -ru softdevice-0.4.0-orig/configure softdevice-0.4.0/configure
--- softdevice-0.4.0-orig/configure	2007-04-11 17:30:54.486914045 +0200
+++ softdevice-0.4.0/configure	2007-04-11 17:31:38.619850758 +0200
@@ -59,6 +59,7 @@
   echo "  --disable-mmx"
   echo "  --disable-mmx2"
   echo "  --disable-alsa"
+  echo "  --disable-xinerama"
   echo "  --disable-oss"
   echo "  --disable-suspendkey"
   echo "  --disable-yaepg / --enable-yapg (yaepg patch support)"
@@ -83,6 +84,7 @@
     --disable-mmx) shift; with_mmx="no";;
     --disable-mmx2) shift; with_mmx2="no";;
     --disable-alsa) shift; alsa="no";;
+    --disable-xinerama) shift; xinerama="no";;
     --disable-oss) shift; oss="no";;
     --disable-suspendkey) shift; suspendkey="no";;
     --disable-yaepg) shift; yaepg="no";;
diff -ru softdevice-0.2.3.cvs/ShmClient.c softdevice-0.2.3.cvs-shm-fullscreen/ShmClient.c
--- softdevice-0.2.3.cvs/ShmClient.c	2006-05-14 21:56:07.000000000 +0200
+++ softdevice-0.2.3.cvs-shm-fullscreen/ShmClient.c	2006-05-29 21:33:21.000000000 +0200
@@ -67,6 +67,16 @@
 int main(int argc, char **argv) {
         cSetupStore SetupStore;
         SetupStore.xvFullscreen=0;
+	if (argc>1) {
+		if (strcmp(argv[1], "-f") == 0) {
+			SetupStore.xvFullscreen=1;
+		} else if (strcmp(argv[1], "-h") == 0) {
+			printf ("Shared-Memory-Client for vdr-softdevice\n");
+			printf ("Options:\n");
+			printf ("  -f   Start fullscreen\n");
+			return 0;
+		}
+	}
         cXvVideoOut *vout=new cXvVideoOut(&SetupStore);
         xvRemote= new cShmRemote("softdevice-xv");
 
Nur in softdevice-0.2.3.cvs-shm-fullscreen/: .ShmClient.c.swp.
_______________________________________________
Softdevice-devel mailing list
[EMAIL PROTECTED]
https://lists.berlios.de/mailman/listinfo/softdevice-devel

Reply via email to