Beispiel #1
0
def perform():
    # Install
    compile_package(CHEROKEE_URL,
                    "cherokee-0.99.44",
                    skip_check="cherokee-worker")

    exe('mkdir -p %s && chown activae:activae %s' %
        (GRAPH_DIRECTORY, GRAPH_DIRECTORY))
Beispiel #2
0
def perform():
    #compile_package (ZLIB_URL,      "zlib-1.2.3",      skip_check="zlib.3", pkg_type='zlib')
    compile_package (LIBBZIP2_URL,  "bzip2-1.0.5",     skip_check="libbz2.a", pkg_type='bzip2')
    compile_package (LIBICONV_URL,  "libiconv-1.13.1", skip_check="libiconv.*")
    compile_package (GETTEXT_URL,   "gettext-0.18",    skip_check="libintl.*")
    compile_package (EXPAT_URL,     "expat-2.0.1",     skip_check="libexpat.a")
    #compile_package (PKGCONFIG_URL, "pkg-config-0.23", skip_check="pkg-config.1")
    compile_package (GLIB_URL,      "glib-2.20.4",     skip_check="libgobject-2.0*")
Beispiel #3
0
def perform():
    #compile_package (ZLIB_URL,      "zlib-1.2.3",      skip_check="zlib.3", pkg_type='zlib')
    compile_package(LIBBZIP2_URL,
                    "bzip2-1.0.5",
                    skip_check="libbz2.a",
                    pkg_type='bzip2')
    compile_package(LIBICONV_URL, "libiconv-1.13.1", skip_check="libiconv.*")
    compile_package(GETTEXT_URL, "gettext-0.18", skip_check="libintl.*")
    compile_package(EXPAT_URL, "expat-2.0.1", skip_check="libexpat.a")
    #compile_package (PKGCONFIG_URL, "pkg-config-0.23", skip_check="pkg-config.1")
    compile_package(GLIB_URL, "glib-2.20.4", skip_check="libgobject-2.0*")
Beispiel #4
0
def perform():
    compile_package(FREETYPE_URL, "freetype-2.3.9", skip_check="libfreetype.a")
    compile_package(GS_FONTS_URL,
                    "fonts",
                    skip_check="n021003l.pfb",
                    pkg_type="gsfonts")
    compile_package(GHOSTSCRIPT_URL,
                    "ghostscript-8.64",
                    skip_check="gslp.1",
                    conf_params=GHOSTSCRIPT_PARMS,
                    make_params='')
    compile_package(LIBTIFF_URL, "tiff-3.8.2", skip_check="libtiff.a")
    #compile_package (LIBJPEG_URL,     "jpeg-7",              skip_check="libjpeg.a")
    compile_package(LIBPNG_URL, "libpng-1.2.39", skip_check="libpng.a")
    #compile_package (LIBXML2_URL,     "libxml2-2.7.7",       skip_check="libxml2.so",       pkg_type='xml2')
    compile_package(LIBWMF_URL,
                    "libwmf-0.2.8.3",
                    skip_check="libwmflite-0*",
                    pkg_type='wmf')
    compile_package(JASPER_URL,
                    "jasper-1.900.1",
                    skip_check="libjasper.*",
                    pkg_type='jasper')
    compile_package(LCMS_URL, "lcms-1.18", skip_check="liblcms.a")
    compile_package(DCRAW_URL, "dcraw", skip_check="dcraw.1", pkg_type='dcraw')
    compile_package(PIXMAN_URL, "pixman-0.15.20", skip_check="libpixman-1.*")
    compile_package(FONTCONFIG_URL,
                    "fontconfig-2.8.0",
                    skip_check="fontconfig.pc",
                    pkg_type='fontconfig')
    compile_package(CAIRO_URL, "cairo-1.8.8", skip_check="libcairo.a")
    compile_package(PANGO_URL, "pango-1.24.5", skip_check="libpango-1.*")
    compile_package(IMAGEMAGICK_URL,
                    "ImageMagick-6.5.5-2",
                    skip_check="ImageMagick.h",
                    conf_params=IMAGEMAGICK_PARAMS)
Beispiel #5
0
def perform():
    # Ogg, Vorbis, Theora
    compile_package (LIBOGG_URL,    "libogg-1.1.4",       skip_check="libogg.*")
    compile_package (LIBVORBIS_URL, "libvorbis-1.2.3",    skip_check="libvorbis.*")
    compile_package (LIBTHEORA_URL, "libtheora-1.1beta2", skip_check="libtheora.*")

    # x264
    conf = "--prefix=%s --enable-shared " %(config.BASE_DIR)
    if not which("yasm"):
        conf += "--disable-asm "

    compile_package (LIBX264_URL, "x264-snapshot-20100606-2245",
                     conf_params = conf,
                     skip_check  = "libx264.*")

    # Xvid
    compile_package (LIBXVID_URL, "xvidcore", 
                     pkg_type='xvidcore',
                     skip_check="libxvidcore.*")

    # MP3
    compile_package (LIBMP3LAME_URL, "lame-398-2", skip_check="libmp3lame.*")
    
    # MPEG-2 AAC decoder and encoder
    compile_package (LIBFAAD_URL, "faad2-2.7", skip_check="libfaad.*")
    compile_package (LIBFAAC_URL, "faac-1.28", skip_check="libfaac.*")

    # Speex
    compile_package (LIBSPEEX_URL, "speex-1.2rc1", skip_check="libspeex.*")

    # FLAC
    conf = "--prefix=%s --disable-rpath --disable-xmms-plugin --disable-asm-optimizations" %(config.BASE_DIR)
    compile_package (LIBFLAC_URL, "flac-1.2.1", conf_params = conf, skip_check="libFLAC.a")

    # GSM
    compile_package (LIBGSM_URL, "gsm-1.0-pl12", pkg_type='gsm', skip_check="libgsm.a")

    # DC1394
    compile_package (LIBDC1394_URL, "libdc1394-2.1.2", skip_check="libdc1394.a")

    # Ffmpeg
    conf_params = "--prefix=%s --extra-cflags=-I%s/include --extra-ldflags=-L%s/lib "%(config.BASE_DIR,config.BASE_DIR,config.BASE_DIR)
    conf_tweaks = "--enable-gpl --enable-nonfree --enable-shared "
    conf_enable = "--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-libfaad  --enable-libfaac --enable-libspeex --enable-libgsm"

    if "Darwin" in exe_output('uname'):
        conf_params += "--disable-mmx "

    compile_package (FFMPEG_URL, "ffmpeg-trunk",
                     conf_params = conf_params + conf_tweaks + conf_enable,
                     skip_check="libavcodec.a")
Beispiel #6
0
def perform():
    compile_package (FREETYPE_URL,    "freetype-2.3.9",      skip_check="libfreetype.a")
    compile_package (GS_FONTS_URL,    "fonts",               skip_check="n021003l.pfb",   pkg_type="gsfonts")
    compile_package (GHOSTSCRIPT_URL, "ghostscript-8.64",    skip_check="gslp.1",         conf_params=GHOSTSCRIPT_PARMS, make_params='')
    compile_package (LIBTIFF_URL,     "tiff-3.8.2",          skip_check="libtiff.a")
    #compile_package (LIBJPEG_URL,     "jpeg-7",              skip_check="libjpeg.a")
    compile_package (LIBPNG_URL,      "libpng-1.2.39",       skip_check="libpng.a" )
    #compile_package (LIBXML2_URL,     "libxml2-2.7.7",       skip_check="libxml2.so",       pkg_type='xml2')
    compile_package (LIBWMF_URL,      "libwmf-0.2.8.3",      skip_check="libwmflite-0*",    pkg_type='wmf')
    compile_package (JASPER_URL,      "jasper-1.900.1",      skip_check="libjasper.*",      pkg_type='jasper')
    compile_package (LCMS_URL,        "lcms-1.18",           skip_check="liblcms.a")
    compile_package (DCRAW_URL,       "dcraw",               skip_check="dcraw.1",          pkg_type='dcraw')
    compile_package (PIXMAN_URL,      "pixman-0.15.20",      skip_check="libpixman-1.*")
    compile_package (FONTCONFIG_URL,  "fontconfig-2.8.0",    skip_check="fontconfig.pc",    pkg_type='fontconfig')
    compile_package (CAIRO_URL,       "cairo-1.8.8",         skip_check="libcairo.a")
    compile_package (PANGO_URL,       "pango-1.24.5",        skip_check="libpango-1.*")
    compile_package (IMAGEMAGICK_URL, "ImageMagick-6.5.5-2", skip_check="ImageMagick.h",  conf_params=IMAGEMAGICK_PARAMS)
Beispiel #7
0
def perform():
    # Install
    compile_package (CHEROKEE_URL, "cherokee-0.99.44", skip_check="cherokee-worker")

    exe('mkdir -p %s && chown activae:activae %s'%(GRAPH_DIRECTORY,
                                                   GRAPH_DIRECTORY))
Beispiel #8
0
def perform():
    compile_package (CURL_URL, "curl-7.19.4", skip_check="libcurl.a")
Beispiel #9
0
def perform():
    # Ogg, Vorbis, Theora
    compile_package(LIBOGG_URL, "libogg-1.1.4", skip_check="libogg.*")
    compile_package(LIBVORBIS_URL, "libvorbis-1.2.3", skip_check="libvorbis.*")
    compile_package(LIBTHEORA_URL,
                    "libtheora-1.1beta2",
                    skip_check="libtheora.*")

    # x264
    conf = "--prefix=%s --enable-shared " % (config.BASE_DIR)
    if not which("yasm"):
        conf += "--disable-asm "

    compile_package(LIBX264_URL,
                    "x264-snapshot-20100606-2245",
                    conf_params=conf,
                    skip_check="libx264.*")

    # Xvid
    compile_package(LIBXVID_URL,
                    "xvidcore",
                    pkg_type='xvidcore',
                    skip_check="libxvidcore.*")

    # MP3
    compile_package(LIBMP3LAME_URL, "lame-398-2", skip_check="libmp3lame.*")

    # MPEG-2 AAC decoder and encoder
    compile_package(LIBFAAD_URL, "faad2-2.7", skip_check="libfaad.*")
    compile_package(LIBFAAC_URL, "faac-1.28", skip_check="libfaac.*")

    # Speex
    compile_package(LIBSPEEX_URL, "speex-1.2rc1", skip_check="libspeex.*")

    # FLAC
    conf = "--prefix=%s --disable-rpath --disable-xmms-plugin --disable-asm-optimizations" % (
        config.BASE_DIR)
    compile_package(LIBFLAC_URL,
                    "flac-1.2.1",
                    conf_params=conf,
                    skip_check="libFLAC.a")

    # GSM
    compile_package(LIBGSM_URL,
                    "gsm-1.0-pl12",
                    pkg_type='gsm',
                    skip_check="libgsm.a")

    # DC1394
    compile_package(LIBDC1394_URL, "libdc1394-2.1.2", skip_check="libdc1394.a")

    # Ffmpeg
    conf_params = "--prefix=%s --extra-cflags=-I%s/include --extra-ldflags=-L%s/lib " % (
        config.BASE_DIR, config.BASE_DIR, config.BASE_DIR)
    conf_tweaks = "--enable-gpl --enable-nonfree --enable-shared "
    conf_enable = "--enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-libmp3lame --enable-libfaad  --enable-libfaac --enable-libspeex --enable-libgsm"

    if "Darwin" in exe_output('uname'):
        conf_params += "--disable-mmx "

    compile_package(FFMPEG_URL,
                    "ffmpeg-trunk",
                    conf_params=conf_params + conf_tweaks + conf_enable,
                    skip_check="libavcodec.a")