[40745] trunk/dports/graphics

Ryan Schmidt ryandesign at macports.org
Mon Oct 13 13:29:48 PDT 2008


On Oct 13, 2008, at 15:14, devans at macports.org wrote:

> Revision: 40745
>           http://trac.macports.org/changeset/40745
> Author:   devans at macports.org
> Date:     2008-10-13 13:14:34 -0700 (Mon, 13 Oct 2008)
> Log Message:
> -----------
> New port libopenraw-0.0.5, a free software implementation for  
> camera RAW files decoding.
>
> Added Paths:
> -----------
>     trunk/dports/graphics/libopenraw/
>     trunk/dports/graphics/libopenraw/Portfile
>     trunk/dports/graphics/libopenraw/files/
>     trunk/dports/graphics/libopenraw/files/patch-Makefile.in.diff
>
> Added: trunk/dports/graphics/libopenraw/Portfile
> ===================================================================
> --- trunk/dports/graphics/libopenraw/ 
> Portfile	                        (rev 0)
> +++ trunk/dports/graphics/libopenraw/Portfile	2008-10-13 20:14:34  
> UTC (rev 40745)
> @@ -0,0 +1,47 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode:  
> nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem      1.0
> +
> +name            libopenraw
> +version         0.0.5
> +categories      graphics
> +maintainers     devans
> +platforms       darwin
> +homepage        http://libopenraw.freedesktop.org/wiki/
> +master_sites    http://libopenraw.freedesktop.org/download/
> +
> +description \
> +    libopenraw is an ongoing project to provide a free software  
> implementation for camera RAW files decoding.
> +
> +long_description \
> +    libopenraw is an ongoing project to provide a free software  
> implementation for camera RAW files decoding. \
> +    One of the main reasons is that dcraw is not suited for easy  
> integration into applications, and there is a \
> +    need for an easy to use API to build free software digital  
> image processing applications. It also has the \
> +    goal to address features missing from dcraw such as meta-data  
> decoding and easy thumbnail extraction.
> +
> +checksums       md5     90f9038cc6b47374ea1dd9aa347dfe5a \
> +                sha1    c2752b879ddc34682f1f0195b9499b1c4e983dc8 \
> +                rmd160  9493041dd61a8dd9245fce71db4199c15abbbdfb
> +
> +patchfiles      patch-Makefile.in.diff
> +
> +depends_build \
> +    port:pkgconfig
> +
> +depends_lib \
> +    port:glib2 \
> +    port:jpeg \
> +    port:boost
> +
> +configure.args-append  --with-darwinports

You should remove this configure argument. According to ./configure -- 
help, "--with-darwinports" simply "add[s] /opt/local/... to CPP/ 
LDFLAGS" but a) MacPorts already adds its prefix to CPPFLAGS/LDFLAGS,  
and b) the MacPorts prefix might not be /opt/local.

Also, it can't find boost on my system (maybe because my MacPorts is  
not in /opt/local) unless I add --with-boost=${prefix} to the  
configure.args.

See attached patch.


> +variant no_gnome description {Build without GNOME/GTK2 support}  {
> +    depends_lib-delete port:glib2
> +    configure.args-append  --disable-gnome
> +}
> +
> +livecheck.check regex
> +livecheck.url   ${homepage}
> +livecheck.regex {version\ (\d+(?:\.\d+)*)}

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libopenraw.diff
Type: application/octet-stream
Size: 383 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20081013/d5f7f750/attachment.obj 


More information about the macports-dev mailing list