transcode portfile

2008-07-31 Thread David Liontooth


I'm enclosing the portfile for transcode 1.1.0 beta, in which the link 
to the new ImageMagick libraries has been fixed -- the port may require 
a recent version of ImageMagick.


The portfile works on Intel iMacs with 10.5.4 using

   port install transcode +a52dec +faac +freetype +imagemagick +libdv 
+libogg +libsdl +libtheora +libvorbis +libxml2 +x264 +xvid



David
# $Id: Portfile 37840 2008-06-25 16:56:28Z [EMAIL PROTECTED] $

PortSystem 1.0

nametranscode
version 1.1.0beta0
revision1
categories  multimedia
maintainers [EMAIL PROTECTED] [EMAIL PROTECTED]
description Video and audio processing tools
long_descriptiontranscode is a suite of tools, all of which are \
command line utilities, for transcoding various \
video, audio, and container formats, running on a \
platform that supports shared libraries and threads.\
\
Decoding and encoding is done by modules that are \
responsible for feeding transcode with raw video/ \
audio streams (import modules) and encoding the frames \
(export modules). \
\
It includes a variety of video and audio filters, \
including (but not limited to) video de-interlacing, \
audio resampling, framerate conversion, different \
resizing algorithms, smoothing, sharpening, denoisifying, \
and cutting.

homepagehttp://www.transcoding.org

master_siteshttp://fromani.exit1.org/
distname${name}-${version}
use_bzip2   yes

checksums   ${distname}${extract.suffix} \
 md5 6f188b74c64595c30df82fcbc0bb22f3 \
 sha1 e0d146278937da76682ba88c2719726f20ab9493

depends_lib port:automake \
port:autoconf \
port:libtool \
port:ffmpeg \
port:libmpeg2 \
port:libdvdread \
port:jpeg \
port:lame

pre-configure   {
system "cd ${worksrcpath} && \
LIBTOOLIZE=glibtoolize autoreconf -i -f"
}

platforms   darwin

configure.args  --disable-mmx \
--disable-altivec \
--with-libavcodec-prefix=${prefix} \
--with-libmpeg2-prefix=${prefix} \
--with-libdvdread-prefix=${prefix} \
--with-libjpeg-prefix=${prefix} \
--with-lame-prefix=${prefix}

# Optional components

variant a52dec {
depends_lib-append port:a52dec
configure.args-append --enable-a52 --enable-a52-default-decoder 
--with-a52-prefix=${prefix}
}

variant faac {
depends_lib-append port:faac
configure.args-append --enable-faac --with-faac-prefix=${prefix}
}

variant faad2 {
depends_lib-append port:faad2
configure.args-append --enable-faad --with-faad-prefix=${prefix}
}

variant freetype {
depends_lib-append port:freetype
configure.args-append --enable-freetype2 --with-freetype2-prefix=${prefix}
}

variant imagemagick {
depends_lib-append port:ImageMagick
configure.args-append --enable-imagemagick 
--with-imagemagick-prefix=${prefix}
}

variant libdv {
depends_lib-append port:libdv
configure.args-append --enable-libdv --with-libdv-prefix=${prefix}
}

variant libogg {
depends_lib-append port:libogg
configure.args-append --enable-ogg --with-ogg-prefix=${prefix}
}

variant libsdl {
depends_lib-append port:libsdl
configure.args-append --enable-sdl --with-sdl-prefix=${prefix}
}

variant libtheora {
depends_lib-append port:libtheora
configure.args-append --enable-theora --with-theora-prefix=${prefix}
}

variant libvorbis {
depends_lib-append port:libvorbis
configure.args-append --enable-vorbis --with-vorbis-prefix=${prefix}
}

variant libxml2 {
depends_lib-append port:libxml2
configure.args-append --enable-libxml2 --with-libxml2-prefix=${prefix}
}

variant x264 {
depends_lib-append port:x264
configure.args-append --enable-x264 --with-x264-prefix=${prefix}
}

variant xvid {
depends_lib-append port:XviD
configure.args-append --enable-xvid --with-xvid-prefix=${prefix}
}

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: more woes with php 5.2.6

2008-07-31 Thread Ryan Schmidt
Hi Mark,


On Jul 31, 2008, at 18:30, Mark Hattam wrote:

> Hi Ryan
>
> Tried today to build it all from scratch ...
>
> I moved /opt to /opt_old
>
> Downloaded and installed MacPorts 1.6.pkg (previously I'd had 1.6  
> but via upgrading it from 1.4)
>
> Did a self-update
>
> Installed MySQL5 +server ... no problem
> sudo port install MySQL5 +server
>
> Installed Apache2 ... no problem
> sudo port install Apache2
>
> But when I got to
> sudo port install  php5 +apache2+macosx+mysql5
>  ... it started off fine. I noticed that it put in autoconf 2.62  
> and Perl 5.8 automatically, whereas I'd had to manually put in  
> autoconf following your advice.

Probably because I had recently added autoconf as a dependency of  
gd2; see:

http://trac.macports.org/ticket/16119


> However it's just failed at this point (which is about 12 hours  
> after I started all this today)
>
>
> --->  Attempting to fetch gd-2.0.35.tar.bz2 from http:// 
> www.libgd.org/releases/
> --->  Verifying checksum(s) for gd2
> --->  Extracting gd2
> --->  Applying patches to gd2
> --->  Configuring gd2
> Error: Target org.macports.configure returned: shell command "cd / 
> opt/local/var/macports/build/ 
> _opt_local_var_macports_sources_rsync.macports.org_release_ports_graph 
> ics_gd2/work/gd-2.0.35 && autoreconf" returned error 1
> Command output: aclocal: configure.ac: 64: macro `AM_ICONV' not  
> found in library
> autoreconf: aclocal failed with exit status: 1

I believe I have got this fixed now. See:

http://trac.macports.org/ticket/16148

So wait 30 minutes, then "sudo port sync" and "sudo port clean --work  
gd2" and try again.


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: more woes with php 5.2.6

2008-07-31 Thread Mark Hattam
Hi Ryan

Tried today to build it all from scratch ...

I moved /opt to /opt_old

Downloaded and installed MacPorts 1.6.pkg (previously I'd had 1.6 but 
via upgrading it from 1.4)

Did a self-update

Installed MySQL5 +server ... no problem
sudo port install MySQL5 +server

Installed Apache2 ... no problem
sudo port install Apache2

But when I got to
sudo port install  php5 +apache2+macosx+mysql5
  ... it started off fine. I noticed that it put in autoconf 2.62 and 
Perl 5.8 automatically, whereas I'd had to manually put in autoconf 
following your advice.

However it's just failed at this point (which is about 12 hours after 
I started all this today)


--->  Attempting to fetch gd-2.0.35.tar.bz2 from http://www.libgd.org/releases/
--->  Verifying checksum(s) for gd2
--->  Extracting gd2
--->  Applying patches to gd2
--->  Configuring gd2
Error: Target org.macports.configure returned: shell command "cd 
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/work/gd-2.0.35
 
&& autoreconf" returned error 1
Command output: aclocal: configure.ac: 64: macro `AM_ICONV' not found 
in library
autoreconf: aclocal failed with exit status: 1

Error: The following dependencies failed to build: gd2 libmcrypt 
libxml2 libtool automake libxslt mhash tiff
Error: Status 1 encountered during processing.


Mark
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Help needed getting Gramps port updated

2008-07-31 Thread Frank Schima
Done. Sorry for the delay!


Cheers!
Frank

On Jul 14, 2008, at 2:26 AM, Richard Taylor wrote:

> Hi
>
> I have been working with a few others to update the GRAMPS portfile.  
> We
> have attached the new portfile to https://trac.macports.org/ticket/15176
> and we are reasonably sure that it is OK and ready to go.
>
> Can anyone tell me what the process is for getting the portfile pushed
> into the main ports repository?
>
> Many thanks,
>
> Richard
> ___
> macports-users mailing list
> macports-users@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Valid platform variant string in libtheora port file?

2008-07-31 Thread Rainer Müller
Tabitha McNerney wrote:
> According to the MacPorts documentation, it does not appear that 
> combining darwin_9 and darwin_i386 into one string is legal:
> 
> http://guide.macports.org/#reference.variants.platform
> 
> Platform variants are either defined by default in MacPorts base, or
> defined by a port author to customize a port's installation
> according to OS (operating system) or hardware platform.
> 
> platform [os_platform] [hw_platform] [version] [arch]

Hm, the documentation seems to be wrong, this should be like this as it 
is also documented in port1.0/portutil.tcl:

platform  [] []

'darwin' is ,
'9' is the ,
'i386' is .

So this is valid, just the documentation is wrong.
Changed in r38790.

Rainer
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users