summaryrefslogtreecommitdiff
path: root/recipes/camera-assistant
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/camera-assistant
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/camera-assistant')
-rw-r--r--recipes/camera-assistant/ca.desktop6
-rw-r--r--recipes/camera-assistant/ca.pngbin0 -> 2844 bytes
-rw-r--r--recipes/camera-assistant/camera-assistant_0.2.0.bb37
-rw-r--r--recipes/camera-assistant/g++-3.4-compile-fixes.patch155
4 files changed, 198 insertions, 0 deletions
diff --git a/recipes/camera-assistant/ca.desktop b/recipes/camera-assistant/ca.desktop
new file mode 100644
index 0000000000..b6ab5be56b
--- /dev/null
+++ b/recipes/camera-assistant/ca.desktop
@@ -0,0 +1,6 @@
+[Desktop Entry]
+Comment=Camera Assistant
+Exec=ca
+Icon=ca/ca
+Type=Application
+Name=Camera Assistant
diff --git a/recipes/camera-assistant/ca.png b/recipes/camera-assistant/ca.png
new file mode 100644
index 0000000000..d28cfbe5a1
--- /dev/null
+++ b/recipes/camera-assistant/ca.png
Binary files differ
diff --git a/recipes/camera-assistant/camera-assistant_0.2.0.bb b/recipes/camera-assistant/camera-assistant_0.2.0.bb
new file mode 100644
index 0000000000..fb5b6e1f4e
--- /dev/null
+++ b/recipes/camera-assistant/camera-assistant_0.2.0.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "Camera Assistant aims to be an allround calculator for photographers & Cinematographers. \
+It currently has the following features: \
+ \
+ * Depth of field calculator. \
+ * Inverse Depth of field calculator. (Calculate what aperture you need for a given depth/distance & lens) \
+ * Field of view calculator. \
+ * Variants of the above, calculate distance to object or lens for a given field of view. \
+ * Database of TV cameras, Motion picture cameras and Still photography cameras."
+SECTION = "opie/applications"
+
+
+PRIORITY = "optional"
+LICENSE = "GPL"
+AUTHOR = "zaurus@bredband.net"
+HOMEPAGE = "http://cameraassistant.sourceforge.net/"
+
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/cameraassistant/camera-assistant_0.2.0.tar.gz \
+ file://g++-3.4-compile-fixes.patch;patch=1 \
+ file://ca.desktop \
+ file://ca.png "
+
+
+S = "${WORKDIR}/CameraAssistant"
+
+APPNAME = "ca"
+APPTYPE = "binary"
+APPDESKTOP = "${WORKDIR}"
+
+do_install() {
+ install -d ${D}${palmtopdir}/pics/${APPNAME}/
+ install -m 0644 ${WORKDIR}/ca.png ${D}${palmtopdir}/pics/${APPNAME}/
+}
+
+
+inherit opie
+
diff --git a/recipes/camera-assistant/g++-3.4-compile-fixes.patch b/recipes/camera-assistant/g++-3.4-compile-fixes.patch
new file mode 100644
index 0000000000..383d083981
--- /dev/null
+++ b/recipes/camera-assistant/g++-3.4-compile-fixes.patch
@@ -0,0 +1,155 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- CameraAssistant/defaultconfig.h~g++-3.4-compile-fixes
++++ CameraAssistant/defaultconfig.h
+@@ -2,76 +2,75 @@
+ #define DEFAULTCONFIG_H
+
+ char defaultConfig[]=
+-"
+-<CameraAssistant>
+- <Settings version=\"0.0.3\">
+- <defaultAdjustments value='1'/>
+- <defaultCameraCategory value='Photo'/>
+- <defaultCameraType value='35mm'/>
+- <defaultAspectRatio value='Full aperture'/>
+- </Settings>
+- <Cameras>
+- <CameraCategory name='Television'>
+- <CameraType name='1/4\"' coc='0.00800' width='3.2' height='2.4' />
+- <CameraType name='1/3\"' coc='0.01100' width='4.8' height='3.6' />
+- <CameraType name='1/2\"' coc='0.01500' width='6.4' height='4.8' />
+- <CameraType name='2/3\"' coc='0.02000' width='8.8' height='6.6'>
+- <AspectRatio name='4:3' />
+- <AspectRatio name='16:9' aspectratio='1.77778' />
+- </CameraType>
+- <CameraType name='1\"' coc='0.03000' width='12.7' height='9.525' />
+- </CameraCategory>
+- <CameraCategory name='Film'>
+- <CameraType name='16mm' coc='0.01524' width='10.2616' height='7.493'>
+- <AspectRatio name='Full aperture' />
+- <AspectRatio name='TV (station)' width='9.652' height='7.2644' />
+- <AspectRatio name='TV (transmitted)' width='9.3472' height='7.0104' />
+- <AspectRatio name='TV (safe action)' width='8.4074' height='6.2992' />
+- <AspectRatio name='TV (safe title)' width='7.4422' height='5.6134' />
+- <AspectRatio name='1.85:1' width='9.602' height='5.207' />
+- </CameraType>
+- <CameraType name='16mm (super)' coc='0.01524' width='12.5222' height='7.4168'>
+- <AspectRatio name='Full aperture' />
+- <AspectRatio name='1.66' width='11.7602' height='7.0866' />
+- <AspectRatio name='1.85' width='11.7602' height='6.3754' />
+- </CameraType>
+- <CameraType name='35mm' coc='0.02540' width='21.9456' height='16.002'>
+- <AspectRatio name='Full aperture' />
+- <AspectRatio name='TV (station)' width='20.7264' height='15.5448' />
+- <AspectRatio name='TV (transmitted)' width='20.1168' height='15.0876' />
+- <AspectRatio name='TV (safe action)' width='18.1102' height='13.589' />
+- <AspectRatio name='TV (safe title)' width='16.002' height='12.085' />
+- <AspectRatio name='1.37:1' width='20.955' height='15.2908' />
+- <AspectRatio name='1.66:1' width='20.955' height='12.6238' />
+- <AspectRatio name='1.75:1' width='20.955' height='11.9634' />
+- <AspectRatio name='1.85:1' width='20.955' height='11.3284' />
+- </CameraType>
+- <CameraType name='35mm (super)' coc='0.02540' width='24.892' height='18.669'>
+- <AspectRatio name='Full aperture' />
+- <AspectRatio name='FLAT 1.85:1' width='24.003' height='12.9794' />
+- <AspectRatio name='2.20:1' width='24.003' height='10.0076' />
+- <AspectRatio name='2.40:1' width='24.003' height='10.922' />
+- </CameraType>
+- <CameraType name='65mm' coc='0.03556' width='52.4764' height='23.0124' />
+- <CameraType name='70mm' coc='0.03556' width='48.5648' height='22.098' />
+- <CameraType name='Omnimax' coc='0.03556' width='37.719' height='25.1714' />
+- </CameraCategory>
+- <CameraCategory name='Photo'>
+- <CameraType name='APS' width='30.2' height='16.7' coc='0.01995'>
+- <AspectRatio name='H' aspectratio='1.80838' />
+- <AspectRatio name='C' aspectratio='-1.49701' />
+- <AspectRatio name='P' aspectratio='3.02' />
+- </CameraType>
+- <CameraType name='35mm' width='36' height='24' coc='0.02501'>
+- <AspectRatio name='Full aperture' />
+- <AspectRatio name='Panorama' aspectratio='2.70677' />
+- </CameraType>
+- <CameraType name='6x4.5' width='56' height='42' coc='0.04335' />
+- <CameraType name='6x6' width='56' height='56' coc='0.04905' />
+- <CameraType name='6x7' width='56' height='69.5' coc='0.05329' />
+- <CameraType name='6x9' width='56' height='84' coc='0.06252' />
+- </CameraCategory>
+- </Cameras>
+-</CameraAssistant>
+-";
++""
++"<CameraAssistant>"
++" <Settings version=\"0.0.3\">"
++" <defaultAdjustments value='1'/>"
++" <defaultCameraCategory value='Photo'/>"
++" <defaultCameraType value='35mm'/>"
++" <defaultAspectRatio value='Full aperture'/>"
++" </Settings>"
++" <Cameras>"
++" <CameraCategory name='Television'>"
++" <CameraType name='1/4\"' coc='0.00800' width='3.2' height='2.4' />"
++" <CameraType name='1/3\"' coc='0.01100' width='4.8' height='3.6' />"
++" <CameraType name='1/2\"' coc='0.01500' width='6.4' height='4.8' />"
++" <CameraType name='2/3\"' coc='0.02000' width='8.8' height='6.6'>"
++" <AspectRatio name='4:3' />"
++" <AspectRatio name='16:9' aspectratio='1.77778' />"
++" </CameraType>"
++" <CameraType name='1\"' coc='0.03000' width='12.7' height='9.525' />"
++" </CameraCategory>"
++" <CameraCategory name='Film'>"
++" <CameraType name='16mm' coc='0.01524' width='10.2616' height='7.493'>"
++" <AspectRatio name='Full aperture' />"
++" <AspectRatio name='TV (station)' width='9.652' height='7.2644' />"
++" <AspectRatio name='TV (transmitted)' width='9.3472' height='7.0104' />"
++" <AspectRatio name='TV (safe action)' width='8.4074' height='6.2992' />"
++" <AspectRatio name='TV (safe title)' width='7.4422' height='5.6134' />"
++" <AspectRatio name='1.85:1' width='9.602' height='5.207' />"
++" </CameraType>"
++" <CameraType name='16mm (super)' coc='0.01524' width='12.5222' height='7.4168'>"
++" <AspectRatio name='Full aperture' />"
++" <AspectRatio name='1.66' width='11.7602' height='7.0866' />"
++" <AspectRatio name='1.85' width='11.7602' height='6.3754' />"
++" </CameraType>"
++" <CameraType name='35mm' coc='0.02540' width='21.9456' height='16.002'>"
++" <AspectRatio name='Full aperture' />"
++" <AspectRatio name='TV (station)' width='20.7264' height='15.5448' />"
++" <AspectRatio name='TV (transmitted)' width='20.1168' height='15.0876' />"
++" <AspectRatio name='TV (safe action)' width='18.1102' height='13.589' />"
++" <AspectRatio name='TV (safe title)' width='16.002' height='12.085' />"
++" <AspectRatio name='1.37:1' width='20.955' height='15.2908' />"
++" <AspectRatio name='1.66:1' width='20.955' height='12.6238' />"
++" <AspectRatio name='1.75:1' width='20.955' height='11.9634' />"
++" <AspectRatio name='1.85:1' width='20.955' height='11.3284' />"
++" </CameraType>"
++" <CameraType name='35mm (super)' coc='0.02540' width='24.892' height='18.669'>"
++" <AspectRatio name='Full aperture' />"
++" <AspectRatio name='FLAT 1.85:1' width='24.003' height='12.9794' />"
++" <AspectRatio name='2.20:1' width='24.003' height='10.0076' />"
++" <AspectRatio name='2.40:1' width='24.003' height='10.922' />"
++" </CameraType>"
++" <CameraType name='65mm' coc='0.03556' width='52.4764' height='23.0124' />"
++" <CameraType name='70mm' coc='0.03556' width='48.5648' height='22.098' />"
++" <CameraType name='Omnimax' coc='0.03556' width='37.719' height='25.1714' />"
++" </CameraCategory>"
++" <CameraCategory name='Photo'>"
++" <CameraType name='APS' width='30.2' height='16.7' coc='0.01995'>"
++" <AspectRatio name='H' aspectratio='1.80838' />"
++" <AspectRatio name='C' aspectratio='-1.49701' />"
++" <AspectRatio name='P' aspectratio='3.02' />"
++" </CameraType>"
++" <CameraType name='35mm' width='36' height='24' coc='0.02501'>"
++" <AspectRatio name='Full aperture' />"
++" <AspectRatio name='Panorama' aspectratio='2.70677' />"
++" </CameraType>"
++" <CameraType name='6x4.5' width='56' height='42' coc='0.04335' />"
++" <CameraType name='6x6' width='56' height='56' coc='0.04905' />"
++" <CameraType name='6x7' width='56' height='69.5' coc='0.05329' />"
++" <CameraType name='6x9' width='56' height='84' coc='0.06252' />"
++" </CameraCategory>"
++" </Cameras>"
++"</CameraAssistant>";
+ #endif // DEFAULTCONFIG_H