Camera is a graphical frontend to libgphoto2. It lets you download

images from many digital cameras supported by libgphoto2.
This commit is contained in:
sebastia 2013-10-19 14:19:33 +00:00
parent db8a7d8198
commit 679ade7b0c
7 changed files with 83 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/10/19 14:19:33 sebastia Exp $
COMMENT = GNUstep frontent to libgphoto2
DISTNAME = Camera-0.8
EXTRACT_SUFX = .tar.bz2
CATEGORIES = graphics
HOMEPAGE = http://home.gna.org/gsimageapps/
MASTER_SITES = http://download.gna.org/gsimageapps/
MODULES = x11/gnustep
WANTLIB = c m pthread gphoto2 gphoto2_port
LIB_DEPENDS = x11/gnustep/camerakit
WRKDIST = ${WRKDIR}/Camera
pre-configure:
cp ${FILESDIR}/Camera.tif \
${WRKDIST}/Images
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (gnustep/Camera-0.8.tar.bz2) = jJ+YjSi5aCvZAVjFgwqt3FqgOw2Rrwth0ao2u5CKaX4=
SIZE (gnustep/Camera-0.8.tar.bz2) = 27321

Binary file not shown.

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-CameraController_m,v 1.1.1.1 2013/10/19 14:19:33 sebastia Exp $
--- CameraController.m.orig Wed Mar 31 23:44:24 2004
+++ CameraController.m Thu Oct 17 18:56:07 2013
@@ -367,7 +367,7 @@ static BOOL WithThumbnails;
[file filename], index, total];
[progressInfoMsg setStringValue: msg];
- NSLog(msg);
+ NSLog(@"%@", msg);
if (thumbnail)
{
@@ -392,7 +392,7 @@ static BOOL WithThumbnails;
[file filename], index, total];
[progressInfoMsg setStringValue: msg];
- NSLog(msg);
+ NSLog(@"%@", msg);
[progressBar setDoubleValue: (total + (index * 0.25))];
}
@@ -545,7 +545,7 @@ static BOOL WithThumbnails;
if (useTimestampDir)
{
now = [NSCalendarDate calendarDate];
- timestampDir = [NSString stringWithFormat: @"%4d%2d%2d",
+ timestampDir = [NSString stringWithFormat: @"%4"PRIiPTR"%2"PRIiPTR"%2"PRIiPTR,
[now yearOfCommonEra],
[now monthOfYear],
[now dayOfMonth]];

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-GNUmakefile,v 1.1.1.1 2013/10/19 14:19:33 sebastia Exp $
--- GNUmakefile.orig Thu Oct 17 19:01:45 2013
+++ GNUmakefile Thu Oct 17 19:01:54 2013
@@ -34,7 +34,7 @@ include $(GNUSTEP_MAKEFILES)/common.make
PACKAGE_NAME=Camera
APP_NAME=Camera
GNUSTEP_INSTALLATION_DIR=$(GNUSTEP_LOCAL_ROOT)/
-Camera_APPLICATION_ICON=Camera.png
+Camera_APPLICATION_ICON=Camera.tif
Camera_MAIN_MODEL_FILE=Camera.gorm

View File

@ -0,0 +1,2 @@
Camera is a graphical frontend to libgphoto2. It lets you download
images from many digital cameras supported by libgphoto2.

View File

@ -0,0 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/10/19 14:19:33 sebastia Exp $
bin/Camera
libexec/GNUstep/Camera.app/
@bin libexec/GNUstep/Camera.app/Camera
libexec/GNUstep/Camera.app/Resources/
libexec/GNUstep/Camera.app/Resources/Camera.desktop
libexec/GNUstep/Camera.app/Resources/Camera.gorm/
libexec/GNUstep/Camera.app/Resources/Camera.gorm/data.classes
libexec/GNUstep/Camera.app/Resources/Camera.gorm/objects.gorm
libexec/GNUstep/Camera.app/Resources/Camera.png
libexec/GNUstep/Camera.app/Resources/Camera.tif
libexec/GNUstep/Camera.app/Resources/CameraInfo.plist
libexec/GNUstep/Camera.app/Resources/Info-gnustep.plist
libexec/GNUstep/Camera.app/Resources/no_thumbnail.jpg
libexec/GNUstep/Camera.app/stamp.make