Example #1
0
def build():
    shelltools.export("IGNORE_XEN_PRESENCE", "1")

    shelltools.export("SYSSRC", "/lib/modules/%s/source/" % get.curKERNEL())
    shelltools.cd("usr/src/nv")

    autotools.make("module")
Example #2
0
def build():
    autotools.make(
        'GCC=%(CXX)s \
                    CXXFLAGS="%(CXXFLAGS)s" \
                    NAME=%(NAME)s'
        % cfg
    )
Example #3
0
def build():
    autotools.make()
    pisitools.dosed(
        "workdir/CustomTarget/sysui/share/oxygenoffice/startcenter.desktop",
        "GenericName\[tr\]=Ofis",
        "GenericName[tr]=Ofis Uygulamaları",
    )
Example #4
0
def build():
    shelltools.export("HOME", get.workDIR())
    # TODO: this does not work, find another solution
    # shelltools.export("CLASSPATH", "%s:/usr/share/java/xercesImpl.jar" % os.environ.get("CLASSPATH"))

    # FIXME: parallel build seems not to work well :/
    autotools.make("-j1")
Example #5
0
def build():
    shelltools.cd("client")
    autotools.make(
        'OPTIMIZE="%s" \
                    DEFAULT_BASEDIR="%s" \
                    BUILD_SERVER=0 \
                    BUILD_CLIENT=1 \
                    BUILD_CLIENT_SMP=1 \
                    BUILD_GAME_SO=1 \
                    BUILD_GAME_QVM=0 \
                    USE_SDL=1 \
                    USE_OPENAL=1 \
                    USE_CURL=1 \
                    USE_CODEC_VORBIS=1 \
                    USE_LOCAL_HEADERS=1'
        % (get.CFLAGS(), datadir)
    )

    shelltools.cd("../server")
    autotools.make(
        'OPTIMIZE="%s" \
                    DEFAULT_BASEDIR="%s" \
                    BUILD_SERVER=1 \
                    BUILD_CLIENT=0 \
                    BUILD_CLIENT_SMP=0 \
                    BUILD_GAME_SO=0 \
                    BUILD_GAME_QVM=0 \
                    USE_LOCAL_HEADERS=1'
        % (get.CFLAGS(), datadir)
    )
Example #6
0
def build():
    shelltools.export("KERNELPATH", "/usr/src/linux")
    shelltools.export("TARGET", "i386-elf")
    shelltools.export("TOOLPREFIX", "/usr/bin/")
    shelltools.export("KERNELRELEASE", get.curKERNEL())

    autotools.make("all")
Example #7
0
def build():
    autotools.make(
        "BACKEND=sdl \
                    COLOUR_DEPTH=16 \
                    OSTYPE=linux \
                    OPTIMISE=2"
    )
Example #8
0
def build():
    autotools.make()
    autotools.make("-C ntpstat-0.2")

    shelltools.cd("html")
    shelltools.system("../scripts/html2man")
    shelltools.system("../fix-man-pages")
Example #9
0
def build():
    # unzip -LL in Makefile, convert DICT-hede filename to dIct-hede, this should be language neutral
    shelltools.export("LC_ALL", "C")
    autotools.make("-j1")

    shelltools.cd("scowl/speller")
    autotools.make("hunspell")
Example #10
0
def build():
    shelltools.cd("source")
    autotools.make()
    autotools.make("-C libs/zziplib")
    autotools.make("-C libs/obsdcompat")
    autotools.make("-C texk/kpathsea")
    autotools.make("-C texk/web2c luatex")
Example #11
0
def build():
    shelltools.cd("pidl")
    perlmodules.configure()
    autotools.make()

    shelltools.cd("../source4/")
    autotools.make()
def build():
    # needed by mozilla patch, swig must be run again
    shelltools.cd("python")
    shelltools.system("./swig_lcms")
    shelltools.cd("..")

    autotools.make()
Example #13
0
def build():
    shelltools.cd("fcgi")
    shelltools.export("LC_ALL", "en_US.UTF-8")
    autotools.make()

    shelltools.cd("../apache")
    autotools.make()
Example #14
0
def build():
    shelltools.export("R_HOME", "")
    autotools.make()

    # build math library
    shelltools.cd("src/nmath/standalone")
    autotools.make("-j1")
Example #15
0
def build():
    shelltools.export("LDFLAGS", "%s -Wl,-z,now" % get.LDFLAGS())

    pisitools.dosed("Makefile", "gcc (\-Wall.*)", "%s \\1 %s" % (get.CC(), get.CFLAGS()))
    pisitools.dosed("Makefile", "^(LDFLAGS[ \t]+=).*", "\\1 %s" % get.LDFLAGS())

    autotools.make()
Example #16
0
def build():
    oldLocale = locale.setlocale(locale.LC_ALL)
    locale.setlocale(locale.LC_ALL, "C")  # Turkish build is broken

    autotools.make()

    locale.setlocale(locale.LC_ALL, oldLocale)  # Restore default locale
Example #17
0
def build():
    shelltools.cd("make/linux")
    autotools.make(
        "PREFIX=/usr \
                   LIBEBML_INCLUDE_DIR=/usr/include/ebml \
                   LIBEBML_LIB_DIR=/usr/lib"
    )
Example #18
0
def build():
    shelltools.export("HOME", get.workDIR())

    # temporary workaround for configure: error: unrecognized option: `-Wl,--hash-style=gnu'
    shelltools.export("LDFLAGS", "")

    autotools.make("-j1")
Example #19
0
def install():
    autotools.rawInstall("INSTALL_MOD_PATH=%s/" % get.installDIR(), "modules_install")

    suffix = "%s-%s-dom0" % (get.srcVERSION(), get.srcRELEASE())

    # remove wrong symlinks
    pisitools.remove("/lib/modules/%s/source" % suffix)
    pisitools.remove("/lib/modules/%s/build" % suffix)

    # create symlinks
    pisitools.dosym("/usr/src/linux-%s/" % suffix, "/lib/modules/%s/source" % suffix)
    pisitools.dosym("/usr/src/linux-%s/" % suffix, "/lib/modules/%s/build" % suffix)

    # insert System.map and bzImage
    pisitools.insinto("/boot/", "System.map", "System.map-%s" % suffix)
    pisitools.insinto("/boot/", "vmlinux", "kernel-%s" % suffix)

    # prepare kernel for module compiliation
    autotools.make("clean")
    autotools.make("modules_prepare")

    # cp source to installDIR for kernel-source package
    pisitools.dodir("/usr/src")

    shelltools.copytree("../%s/" % WorkDir, "%s/usr/src/linux-%s/" % (get.installDIR(), suffix))

    pisitools.dosym("/usr/src/linux-%s/" % suffix, "/usr/src/linux")

    # generate mkinitramfs
    shelltools.system(
        "/sbin/mkinitramfs kernel=%s --full --root-dir=%s --output=/%s/boot"
        % (suffix, get.installDIR(), get.installDIR())
    )
def build():
    shelltools.cd("generator")
    autotools.make("-j1")
    shelltools.system("QTDIR=/usr/share/qt4 ./generator --include-paths='/usr/include'")

    shelltools.cd("../qtbindings")
    autotools.make("-j1")
Example #21
0
def build():
    # compile sdl gui
    autotools.make()

    # backup sdl gui
    pisitools.dosed("client/freeciv.desktop", "freeciv-gtk2", "freeciv-sdl")
    shelltools.move("client/freeciv.desktop", "client/freeciv-sdl.desktop")
    shelltools.system("echo GenericName=Freeciv-SDL>>client/freeciv-sdl.desktop")

    # I need to configure twice to enable both sdl and gtk guis
    autotools.configure(
        "--disable-dependency-tracking \
                         --enable-nls \
                         --with-readline \
                         --without-ggz-client \
                         --without-ggz-server \
                         --enable-shared \
                         --enable-static=no \
                         --enable-client=gtk-2.0"
    )

    pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")

    # compile gtk gui
    autotools.make()
Example #22
0
def build():
    autotools.make("shared")

    for t in ("fpack", "funpack", "imcopy", "fitscopy"):
        autotools.make(t)

    pisitools.dosed("cfitsio.pc", "\\$\\{prefix\\}/include", "${prefix}/include/%s" % get.srcNAME())
Example #23
0
def build():
    for package in shelltools.ls("."):
        if package in SkipFiles:
            continue
        shelltools.cd(package)
        autotools.make()
        shelltools.cd("../")
Example #24
0
def build():
    shelltools.export("CFLAGS", cflags)
    shelltools.export("LDFLAGS", extraldflags)

    printfancy("building qemu")
    autotools.make("V=1 -j1 config-host.h %s" % buildldflags)
    autotools.make("V=1 %s" % buildldflags)
Example #25
0
def build():
    shelltools.cd("source/")
    autotools.make("proto")
    autotools.make("everything")

    # build python modules
    shelltools.system("python python/setup.py build")
Example #26
0
def build():
    shelltools.cd("build")

    autotools.make("-j1")

    shelltools.cd("lib")
    autotools.make("shared")
Example #27
0
def build(debugSymbols=False):
    extra_config = []
    if debugSymbols:
        # Enable debugging symbols (-g -gdwarf2)
        extra_config.append("CONFIG_DEBUG_INFO=y")

    autotools.make("%s" % " ".join(extra_config))
Example #28
0
def build():
    shelltools.cd("kde4")
    autotools.make()
    shelltools.cd("..")
    shelltools.cd("common")
    autotools.make()
    shelltools.cd("..")
Example #29
0
def build():
    shelltools.system("xmkmf")
    autotools.make(
        "XFIGDOCDIR=/usr/share/doc/xfig \
                    LIBDIR=/usr/share \
                    XAPPLOADDIR=/usr/share/X11/app-defaults"
    )
Example #30
0
def build():
    autotools.make()

    shelltools.cd("partx/")

    shelltools.export("CFLAGS", "%s -include linux/compiler.h" % get.CFLAGS())
    autotools.make('CFLAGS="${CFLAGS}"')