summaryrefslogtreecommitdiff
path: root/app-misc/fujiplay/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/fujiplay/files
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/fujiplay/files')
-rw-r--r--app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch75
1 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch
new file mode 100644
index 000000000000..7f03c696c20e
--- /dev/null
+++ b/app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch
@@ -0,0 +1,75 @@
+--- fujiplay.c 1999-02-23 10:30:31.000000000 +0100
++++ fujiplay.c 2006-08-05 00:50:08.000000000 +0200
+@@ -759,40 +759,38 @@
+ return 1;
+ }
+
+-const char *Usage = "\
+-Usage: fujiplay [OPTIONS] PICTURES... (download)
+- charge NUMBER (recharge the flash)
+- shoot (take picture)
+- preview (preview to standard output)
+- upload FILES...
+- delete FILES...
+- setid STRING (set camera ID)
+- setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto)
+- setdate gmt|local|YYYYMMDDHHMMSS
+-Options:
+- -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0)
+- -D DEVICE Select another device file (default is /dev/fujifilm)
+- -L List command set
+- -7 DS-7 compatibility mode (experimental)
+- -d Delete pictures after successful download
+- -f Force (overwrite existing files)
+- -p Assume picture numbers instead of frame numbers
+- -h Display this help message
+- -v Version information
+-Pictures:
+- all All pictures
+- last Last picture
+- 4 Only picture 4
+- 2-10 Pictures between 2 and 10
+-Files:
+- DSCxxxxx.JPG Files to delete or to upload into the camera
+-";
+-
+-const char *Copyright = "\
+-Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $
+-Written by Thierry Bousch <bousch@topo.math.u-psud.fr>
+-Public domain. Absolutely no warranty.
+-";
++const char *Usage = "\n" \
++"Usage: fujiplay [OPTIONS] PICTURES... (download) \n" \
++" charge NUMBER (recharge the flash) \n" \
++" shoot (take picture) \n" \
++" preview (preview to standard output) \n" \
++" upload FILES... \n" \
++" delete FILES... \n" \
++" setid STRING (set camera ID) \n" \
++" setflash MODE (0=Off, 1=On, 2=Strobe, 3=Auto) \n" \
++" setdate gmt|local|YYYYMMDDHHMMSS \n" \
++"Options: \n" \
++" -B NUMBER Set baudrate (115200, 57600, 38400, 19200, 9600 or 0) \n" \
++" -D DEVICE Select another device file (default is /dev/fujifilm) \n" \
++" -L List command set \n" \
++" -7 DS-7 compatibility mode (experimental) \n" \
++" -d Delete pictures after successful download \n" \
++" -f Force (overwrite existing files) \n" \
++" -p Assume picture numbers instead of frame numbers \n" \
++" -h Display this help message \n" \
++" -v Version information \n" \
++"Pictures: \n" \
++" all All pictures \n" \
++" last Last picture \n" \
++" 4 Only picture 4 \n" \
++" 2-10 Pictures between 2 and 10 \n" \
++"Files: \n" \
++" DSCxxxxx.JPG Files to delete or to upload into the camera \n";
++
++const char *Copyright = "\n" \
++"Fujiplay, $Id: fujiplay.c,v 1.33 1999/02/22 14:13:01 bousch Exp $\n" \
++"Written by Thierry Bousch <bousch@topo.math.u-psud.fr>\n" \
++"Public domain. Absolutely no warranty.\n";
+
+ static void sigint_handler (int sig)
+ {