[fswebcam/f14/master] Added patches

Fabian Affolter fab at fedoraproject.org
Wed Sep 1 16:48:44 UTC 2010


commit 588bb71e13f5b49a7ba318ec56a5b61011ebf181
Author: Fabian Affolter <fab at fedoraproject.org>
Date:   Wed Sep 1 18:47:10 2010 +0200

    Added patches

 fswebcam-font.patch |   12 ++++++++++++
 fswebcam-man.patch  |   11 +++++++++++
 2 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/fswebcam-font.patch b/fswebcam-font.patch
new file mode 100644
index 0000000..d25cda4
--- /dev/null
+++ b/fswebcam-font.patch
@@ -0,0 +1,12 @@
+--- fswebcam-20100622/fswebcam.c.orig	2010-05-12 13:03:42.000000000 +0200
++++ fswebcam-20100622/fswebcam.c	2010-08-31 21:24:19.270382863 +0200
+@@ -1591,6 +1591,9 @@
+ 	/* Setup signal handlers. */
+ 	if(fswc_setup_signals()) return(-1);
+ 	
++	/* Enable FontConfig support in GD */
++	if(!gdFTUseFontConfig(1)) DEBUG("gd has no fontconfig support");
++
+ 	/* Capture the image(s). */
+ 	if(!config->loop) fswc_grab(config);
+ 	else
diff --git a/fswebcam-man.patch b/fswebcam-man.patch
new file mode 100644
index 0000000..3fde3ce
--- /dev/null
+++ b/fswebcam-man.patch
@@ -0,0 +1,11 @@
+--- fswebcam-20100622/fswebcam.1.orig	2010-06-22 12:01:49.000000000 +0200
++++ fswebcam-20100622/fswebcam.1	2010-08-31 21:24:05.927372771 +0200
+@@ -269,7 +269,7 @@
+ 
+ .TP
+ \fB\-\-font\fR \fI<[file or font name]:[font size]>\fR
+-Set the font used in the banner. If no path is specified the path in the GDFONTPATH environment variable is searched for the font.
++Set the font used in the banner. If no path is specified the path in the GDFONTPATH environment variable is searched for the font. Fontconfig names may also be used if the GD library has support.
+ .IP
+ If no font size is specified the default of "10" will be used.
+ .IP


More information about the scm-commits mailing list