diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-misc/fujiplay | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-misc/fujiplay')
-rw-r--r-- | app-misc/fujiplay/Manifest | 1 | ||||
-rw-r--r-- | app-misc/fujiplay/files/fujiplay-1.33-unterminated-strings.patch | 75 | ||||
-rw-r--r-- | app-misc/fujiplay/fujiplay-1.33.ebuild | 50 | ||||
-rw-r--r-- | app-misc/fujiplay/metadata.xml | 8 |
4 files changed, 134 insertions, 0 deletions
diff --git a/app-misc/fujiplay/Manifest b/app-misc/fujiplay/Manifest new file mode 100644 index 000000000000..722f551b42d4 --- /dev/null +++ b/app-misc/fujiplay/Manifest @@ -0,0 +1 @@ +DIST fujiplay.tgz 12588 SHA256 d65c473b799532169d6ff362c24ee81f98efa2d2031bbcb8b638606701e75438 SHA512 168ce95b6926da2438fb858b2537060877145b28638217214f72833fcc75b76dd7e5bba9ed0ca966cd2f7f1c31ca3302ee4662907bf743c393314d615d795149 WHIRLPOOL 67cb3d43d94be6ae9348ca0de1b58fc32fdddce4d5648716f17bcaef4a87e926ce3151fd7edef37125bcb53def6a35f4cf7e1dcd0eb2b204cb7907a8e4cb308e 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) + { diff --git a/app-misc/fujiplay/fujiplay-1.33.ebuild b/app-misc/fujiplay/fujiplay-1.33.ebuild new file mode 100644 index 000000000000..13360e001e66 --- /dev/null +++ b/app-misc/fujiplay/fujiplay-1.33.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils toolchain-funcs + +DESCRIPTION="Utility for Fujifilm/Leica digital cameras (via serial port)" +HOMEPAGE="http://topo.math.u-psud.fr/~bousch/fujiplay.html" +SRC_URI="http://topo.math.u-psud.fr/~bousch/${PN}.tgz" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 x86" +IUSE="" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-unterminated-strings.patch +} + +src_compile() { + emake CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + || die "emake failed" +} + +src_install() { + dobin fujiplay yycc2ppm || die + dodoc README fujiplay.lsm mx700-commands.html + emake all clean +} + +pkg_postinst() { + ln -s /dev/ttyS0 /dev/fujifilm + elog "A symbolic link /dev/ttyS0 -> /dev/fujifilm was created." + elog "You may want to create a serial group to allow non-root" + elog "members R/W access to the serial device." + echo +} + +pkg_postrm() { + rm -f /dev/fujifilm + echo + elog "The symbolic link /dev/fujifilm was removed." + echo +} diff --git a/app-misc/fujiplay/metadata.xml b/app-misc/fujiplay/metadata.xml new file mode 100644 index 000000000000..333a655e1976 --- /dev/null +++ b/app-misc/fujiplay/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>maintainer-needed@gentoo.org</email> + <description>This package lacks a primary herd or maintainer.</description> +</maintainer> +</pkgmetadata> |