Example #1
0
def setup():
    global UpstreamVersion
    UpstreamVersion = re.search("^DEFAULT_TAG=(.*)$", open("configure.in").read(), re.M).group(1)

    global BaseVersion
    BaseVersion = re.search("^OOO_MAJOR=(.*)$", open("configure.in").read(), re.M).group(1)

    NoStrip.extend(["/opt/OpenOffice.org/lib/ooo-%s/basis%s/share" % (BaseVersion, BaseVersion), "/opt/OpenOffice.org/lib/ooo-%s/share" % BaseVersion])

    shelltools.export("QT4DIR", get.qtDIR())
    shelltools.export("QT4INC", "%s/include" % get.qtDIR())
    shelltools.export("QT4LIB", "%s/lib" % get.qtDIR())
    shelltools.export("KDE4DIR", get.kdeDIR())

    #libdir is needed to set exec_prefix stuff of patches/dev300/system-python-ure-bootstrap.diff
    shelltools.system('./configure \
                       --prefix=/opt/OpenOffice.org \
                       --libdir=/opt/OpenOffice.org/lib \
                       --sysconfdir=/etc \
                       --with-lang="de en-US es fr hu it nl pt-BR sv tr" \
                       --disable-post-install-scripts \
                       --enable-gtk \
                       --enable-kde4 \
                       --disable-kde \
                       --disable-cairo \
                       --disable-mono \
                       --with-distro=Pardus2009 \
                       --with-drink=nargile \
                       --with-gcc-speedup=ccache \
                       --with-ant-home=/usr/share/ant \
                       --with-binsuffix=no \
                       --with-system-mdbtools \
                       --with-openclipart=/usr/share/clipart/openclipart \
                       --with-num-cpus=%s' % getJobCount())
Example #2
0
def setup():
    autotools.configure("--enable-gpl \
                         --enable-shared \
                         --enable-theora \
                         --enable-vorbis \
                         --enable-libogg \
                         --enable-pp \
                         --enable-shared-pp \
                         --enable-motion-est \
                         --enable-avformat \
                         --enable-core \
                         --enable-dv \
                         --enable-feeds \
                         --enable-fezzik \
                         --enable-ffmpeg \
                         --enable-gtk2 \
                         --enable-inigo \
                         --enable-jackrack \
                         --enable-kino \
                         --enable-lumas \
                         --enable-motion_est \
                         --enable-normalize \
                         --enable-plus \
                         --enable-qimage \
                         --enable-resample \
                         --enable-sdl \
                         --enable-sox \
                         --enable-valerie \
                         --enable-vmfx \
                         --enable-vorbis \
                         --enable-westley \
                         --enable-xine \
                         --qimage-libdir=%s \
                         --qimage-includedir=%s/include" %
                        (get.qtDIR(), get.qtDIR()))
Example #3
0
def setup():
    autotools.configure("--enable-gpl \
                         --enable-shared \
                         --enable-theora \
                         --enable-vorbis \
                         --enable-libogg \
                         --enable-pp \
                         --enable-shared-pp \
                         --enable-motion-est \
                         --enable-avformat \
                         --enable-core \
                         --enable-dv \
                         --enable-feeds \
                         --enable-fezzik \
                         --enable-ffmpeg \
                         --enable-gtk2 \
                         --enable-inigo \
                         --enable-jackrack \
                         --enable-kino \
                         --enable-lumas \
                         --enable-motion_est \
                         --enable-normalize \
                         --enable-plus \
                         --enable-qimage \
                         --enable-resample \
                         --enable-sdl \
                         --enable-sox \
                         --enable-valerie \
                         --enable-vmfx \
                         --enable-vorbis \
                         --enable-westley \
                         --enable-xine \
                         --qimage-libdir=%s \
                         --qimage-includedir=%s/include" % (get.qtDIR(), get.qtDIR()))
Example #4
0
def install():
    pisitools.insinto("%s/lib/" % get.qtDIR(), "lib/*")
    pisitools.insinto("%s/include/" % get.qtDIR(), "include/*")

    pisitools.insinto("/usr/share/doc/%s" % get.srcTAG(), "examples")

    shelltools.cd("../qwtplot3d-qt4")
    pisitools.insinto("/usr/qt/4/lib/", "lib/*")
    pisitools.insinto("/usr/qt/4/include/", "include/*")
Example #5
0
def install():
    pisitools.insinto("%s/lib/" % get.qtDIR(),"lib/*")
    pisitools.insinto("%s/include/" % get.qtDIR(),"include/*")

    pisitools.insinto("/usr/share/doc/%s" % get.srcTAG(), "examples")

    shelltools.cd("../qwtplot3d-qt4")
    pisitools.insinto("/usr/qt/4/lib/","lib/*")
    pisitools.insinto("/usr/qt/4/include/","include/*")
Example #6
0
def install():
    pisitools.insinto("%s/lib/" % get.qtDIR(),"lib/*")
    pisitools.insinto("%s/include/qwt" % get.qtDIR() ,"src/*.h")

    pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "examples")
    pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "doc/html")
    pisitools.doman("doc/man/man3/*.3")

    # remove md5
    pisitools.remove("/usr/share/doc/%s//html/*.md5" % get.srcNAME())

    pisitools.insinto("%s/plugins/designer" % get.qtDIR(),"designer/plugins/designer/*.so")
Example #7
0
def install():
    pisitools.insinto("%s/lib/" % get.qtDIR(), "lib/*")
    pisitools.insinto("%s/include/qwt" % get.qtDIR(), "src/*.h")

    pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "examples")
    pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "doc/html")
    pisitools.doman("doc/man/man3/*.3")

    # remove md5
    pisitools.remove("/usr/share/doc/%s//html/*.md5" % get.srcNAME())

    pisitools.insinto("%s/plugins/designer" % get.qtDIR(),
                      "designer/plugins/designer/*.so")
Example #8
0
def setup():
    autotools.configure("--with-x \
                         --with-qtdir=%s \
                         --with-qt-includes=%s/include \
                         --with-qt-libs=%s \
                         --with-taglib \
                         --with-musicextras \
                         --with-mixxx \
                         --with-musicbrainz \
                         --with-ogg \
                         --with-mad \
                         --with-id3 \
                         --with-mysql --with-mysql-lib --with-mysql-include" %
                        (get.qtDIR(), get.qtDIR(), get.qtLIBDIR()))
Example #9
0
def install():
    pisitools.dodoc("ChangeLog", "LICENSE", "NEWS", "README")

    # execute install target of build system
    shelltools.cd("qt/")
    autotools.make("all staticlib") # there is only an install target foolish qmake

    # installs not managed by the build system
    pisitools.insinto("%s/include" % get.qtDIR(), "qextscintilla*.h")
    pisitools.insinto("%s/translations" % get.qtDIR(), "qscintilla*.qm")

    shelltools.cd("../")
    pisitools.dohtml("doc/html/")
    pisitools.insinto("/usr/share/doc/%s/Scintilla" % get.srcTAG(), "doc/Scintilla/*")
Example #10
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                shoutcast=1 \
                optimize=1" % (get.installDIR(), get.qtDIR()))
Example #11
0
def install():
    autotools.install()

    pisitools.dolib("src/build/*", destinationDirectory="%s/lib" % get.qtDIR())

    pisitools.dohtml("html/*")

    pisitools.insinto("%s/qextserialport/examples" % get.docDIR(), "examples/*")
Example #12
0
def install():
    shelltools.export("QTDIR", get.qtDIR())
    scons.install(prefix="/usr")#" install" % get.installDIR())

    pisitools.domove("/usr/share/pixmaps/h2-icon.svg", "/usr/share/icons/hicolor/scalable/apps")
    pisitools.removeDir("/usr/share/pixmaps")

    pisitools.dodoc("AUTHORS", "ChangeLog", "README.txt", "COPYING")
Example #13
0
def setup():
    pisitools.dosed("configure.py", "  check_license()", "# check_license()")

    pythonmodules.run("configure.py \
                       -q %s \
                       -d /usr/lib/%s/site-packages \
                       -b /usr/bin \
                       -v /usr/share/sip" % (get.qtDIR(),get.curPYTHON()))
Example #14
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                shoutcast=1 \
                optimize=1" % (get.installDIR(), get.qtDIR()))
Example #15
0
def install():
    pisitools.insinto("%s/lib/" % get.qtDIR(), "lib/*")
    pisitools.insinto("%s/include/qwt" % get.qtDIR(), "src/*.h")

    pisitools.insinto("/usr/share/doc/%s" % get.srcTAG(), "examples")
    pisitools.insinto("/usr/share/doc/%s" % get.srcTAG(), "doc/html")
    pisitools.doman("doc/man/man3/*.3")

    # remove md5
    pisitools.remove("/usr/share/doc/%s//html/*.md5" % get.srcTAG())

    pisitools.insinto("%s/plugins/designer" % get.qtDIR(), "designer/plugins/designer/*.so")

    shelltools.cd("../qwt-%s-qt4" % get.srcVERSION())
    pisitools.insinto("/usr/qt/4/lib/", "lib/*")
    pisitools.insinto("/usr/qt/4/include/qwt", "src/*.h")

    pisitools.insinto("/usr/qt/4/plugins/designer", "designer/plugins/designer/*.so")
Example #16
0
def build():
    shelltools.export("QTDIR", get.qtDIR())
    scons.make("prefix=/usr \
                DESTDIR=%s \
                lash=1 \
                portaudio=1 \
                portmidi=1 \
                oss=0 \
                optflags=\"%s\"" % (get.installDIR(), get.CFLAGS()))
Example #17
0
def build():
    shelltools.export("QTDIR", get.qtDIR())
    scons.make("prefix=/usr \
                DESTDIR=%s \
                lash=1 \
                portaudio=1 \
                portmidi=1 \
                oss=0 \
                optflags=\"%s\"" % (get.installDIR(), get.CFLAGS()))
Example #18
0
def setup():
    autotools.rawConfigure("-prefix /usr \
                            -libdir /usr/qt/4/lib \
                            -headerdir /usr/qt/4/include \
                            -qmake-bin /usr/qt/4/bin/qmake")

    # Don't use the installed headers as they avoid the package from building
    # when the installed package is old.
    pisitools.dosed("src/*/Makefile", "-I%s/include/QxtCore" % get.qtDIR(), "")
Example #19
0
def install():
    pisitools.insinto("%s/lib/" % get.qtDIR(),"lib/*")
    pisitools.insinto("%s/include/qwt" % get.qtDIR() ,"src/*.h")

    pisitools.insinto("/usr/share/doc/%s" % get.srcTAG(), "examples")
    pisitools.insinto("/usr/share/doc/%s" % get.srcTAG(), "doc/html")
    pisitools.doman("doc/man/man3/*.3")
    
    # remove md5
    pisitools.remove("/usr/share/doc/%s//html/*.md5" % get.srcTAG())

    pisitools.insinto("%s/plugins/designer" % get.qtDIR(),"designer/plugins/designer/*.so")

    shelltools.cd("../qwt-%s-qt4" % get.srcVERSION())
    pisitools.insinto("/usr/qt/4/lib/","lib/*")
    pisitools.insinto("/usr/qt/4/include/qwt","src/*.h")

    pisitools.insinto("/usr/qt/4/plugins/designer","designer/plugins/designer/*.so")
Example #20
0
def setup():
    autotools.configure("--enable-fontconfig \
                         --enable-software-x11 \
                         --enable-software-xcb \
                         --enable-directfb \
                         --enable-fb \
                         --enable-buffer \
                         --enable-software-qtopia \
                         --enable-gl-x11 \
                         --enable-xrender-x11 \
                         --enable-xrender-xcb \
                         --enable-image-loader-gif \
                         --enable-image-loader-png \
                         --enable-image-loader-jpeg \
                         --enable-image-loader-eet \
                         --enable-font-loader-eet \
                         --enable-image-loader-edb \
                         --enable-image-loader-tiff \
                         --enable-image-loader-xpm \
                         --enable-image-loader-svg \
                         --enable-cpu-mmx \
                         --enable-cpu-sse \
                         --enable-cpu-altivec \
                         --enable-cpu-c \
                         --enable-scale-sample \
                         --enable-scale-smooth \
                         --enable-convert-yuv \
                         --enable-small-dither-mask \
                         --enable-convert-8-rgb-332 \
                         --enable-convert-8-rgb-666 \
                         --enable-convert-8-rgb-232 \
                         --enable-convert-8-rgb-222 \
                         --enable-convert-8-rgb-221 \
                         --enable-convert-8-rgb-121 \
                         --enable-convert-8-rgb-111 \
                         --enable-convert-16-rgb-565 \
                         --enable-convert-16-rgb-555 \
                         --enable-convert-16-rgb-444 \
                         --enable-convert-16-rgb-ipq \
                         --enable-convert-16-rgb-rot-0 \
                         --enable-convert-16-rgb-rot-270 \
                         --enable-convert-16-rgb-rot-90 \
                         --enable-convert-24-rgb-888 \
                         --enable-convert-24-bgr-888 \
                         --enable-convert-32-rgb-8888 \
                         --enable-convert-32-rgbx-8888 \
                         --enable-convert-32-bgr-8888 \
                         --enable-convert-32-bgrx-8888 \
                         --enable-convert-32-rgb-rot-0 \
                         --enable-convert-32-rgb-rot-270 \
                         --enable-convert-32-rgb-rot-90 \
                         --with-x \
                         --with-eet-config=/usr/bin/eet-config \
                         --with-edb-config=/usr/bin/edb-config \
                         --with-qtdir=%s \
                         --with-freetype \
                         --disable-static" % get.qtDIR())
Example #21
0
def install():
    shelltools.export("QTDIR", get.qtDIR())
    scons.install(prefix="/usr")

    pisitools.domove("/usr/share/pixmaps/h2-icon.svg",
                     "/usr/share/icons/hicolor/scalable/apps")
    pisitools.removeDir("/usr/share/pixmaps")

    pisitools.dodoc("AUTHORS", "ChangeLog", "README.txt", "COPYING")
Example #22
0
def setup():
    autotools.rawConfigure("-prefix /usr \
                            -libdir /usr/qt/4/lib \
                            -headerdir /usr/qt/4/include \
                            -qmake-bin /usr/qt/4/bin/qmake")

    # Don't use the installed headers as they avoid the package from building
    # when the installed package is old.
    pisitools.dosed("src/*/Makefile", "-I%s/include/QxtCore" % get.qtDIR(), "")
Example #23
0
def install():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.install("install prefix=/usr \
                   install_root=%s/usr \
                   qtdir=%s \
                   djconsole=1 \
                   shoutcast=1 \
                   optimize=1" % (get.installDIR(), get.qtDIR()))

    pisitools.dodoc("README*", "COPYING", "Mixxx-Manual.pdf")
Example #24
0
def install():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.install("install prefix=/usr \
                   install_root=%s/usr \
                   qtdir=%s \
                   djconsole=1 \
                   shoutcast=1 \
                   optimize=1" % (get.installDIR(), get.qtDIR()))

    pisitools.dodoc("README*", "COPYING", "Mixxx-Manual.pdf")
Example #25
0
def build():
    shelltools.cd("wpa_supplicant")

    #Enable syslog output
    cflags = get.CFLAGS() + " -DCONFIG_DEBUG_SYSLOG"
    shelltools.export("CFLAGS", cflags)

    autotools.make("V=1")
    autotools.make("QTDIR=%s wpa_gui" % get.qtDIR())
    autotools.make("eapol_test")
Example #26
0
def build():
    shelltools.cd("wpa_supplicant")

    # Enable syslog output
    cflags = get.CFLAGS() + " -DCONFIG_DEBUG_SYSLOG"
    shelltools.export("CFLAGS", cflags)

    autotools.make("V=1")
    autotools.make("QTDIR=%s wpa_gui" % get.qtDIR())
    autotools.make("eapol_test")
Example #27
0
def configure(parameters = ''):
    ''' parameters = '--with-nls --with-libusb --with-something-usefull '''
    if can_access_file('configure'):
        args = './configure \
                --prefix=%s \
                --build=%s \
                --with-x \
                --enable-mitshm \
                --with-xinerama \
                --with-qt-dir=%s \
                --enable-mt \
                --with-qt-libraries=%s/lib \
                --disable-dependency-tracking \
                --disable-debug \
                %s' % (get.kdeDIR(), get.HOST(), get.qtDIR(), get.qtDIR(), parameters)

        if system(args):
            raise ConfigureError(_('Configure failed.'))
    else:
        raise ConfigureError(_('No configure script found.'))
Example #28
0
File: kde.py Project: Tayyib/uludag
def configure(parameters = ''):
    ''' parameters = '--with-nls --with-libusb --with-something-usefull '''
    if can_access_file('configure'):
        args = './configure \
                --prefix=%s \
                --build=%s \
                --with-x \
                --enable-mitshm \
                --with-xinerama \
                --with-qt-dir=%s \
                --enable-mt \
                --with-qt-libraries=%s/lib \
                --disable-dependency-tracking \
                --disable-debug \
                %s' % (get.kdeDIR(), get.HOST(), get.qtDIR(), get.qtDIR(), parameters)

        if system(args):
            raise ConfigureError(_('Configure failed.'))
    else:
        raise ConfigureError(_('No configure script found.'))
Example #29
0
def setup():
    autotools.autoreconf()
    libtools.libtoolize("--copy --force")

    autotools.configure("--with-x \
        --enable-gtk \
        --enable-python \
        --disable-mono \
        --enable-dnotify \
        --disable-gcj \
        --enable-glib \
        --with-xml=libxml \
        --with-system-pid-file=/var/run/dbus.pid \
        --with-system-socket=/var/run/dbus/system_bus_socket \
        --with-session-socket-dir=/tmp \
        --with-dbus-user=dbus \
        --localstatedir=/var \
        --enable-doxygen-docs \
        --disable-xml-docs \
        --enable-qt3=%s --with-qt3-moc=%s/bin/moc \
        --disable-qt --without-qt-moc" % (get.qtDIR(), get.qtDIR()))
Example #30
0
def setup():
    shelltools.cd("qt/")

    pisitools.dosed("qscintilla.pro", "DESTDIR = \$\(QTDIR\)/lib",
                    "DESTDIR = %s/%s/lib" % (get.installDIR(), get.qtDIR()))
    shelltools.system("qmake -o Makefile qscintilla.pro")

    # Change C/XXFLAGS
    pisitools.dosed("Makefile", "^CFLAGS   = -pipe -w -mcpu=i686 -O2 -pipe",
                    "CFLAGS   = %s -w" % get.CFLAGS())
    pisitools.dosed("Makefile", "^CXXFLAGS = -pipe -w -mcpu=i686 -O2 -pipe",
                    "CXXFLAGS = %s -w" % get.CXXFLAGS())
Example #31
0
def setup():
    viewers = { 'PDF' : 'kpdf',
                'PS' : 'kghostview',
                'DVI' : 'kdvi',
                'HTML' : 'konqueror'}
    
    for k in viewers:
        shelltools.export(k+'_VIEWER', viewers[k])

    autotools.rawConfigure("--prefix=%s/usr \
                            --with-frontend=qt \
                            --with-qt-dir=%s" % (get.installDIR(), get.qtDIR()))
Example #32
0
def setup():
    global UpstreamVersion
    UpstreamVersion = re.search("^DEFAULT_TAG=(.*)$",
                                open("configure.in").read(), re.M).group(1)

    global BaseVersion
    BaseVersion = re.search("^OOO_MAJOR=(.*)$",
                            open("configure.in").read(), re.M).group(1)

    NoStrip.extend([
        "/opt/OpenOffice.org/lib/ooo-%s/basis%s/share" %
        (BaseVersion, BaseVersion),
        "/opt/OpenOffice.org/lib/ooo-%s/share" % BaseVersion
    ])

    shelltools.export("QT4DIR", get.qtDIR())
    shelltools.export("QT4INC", "%s/include" % get.qtDIR())
    shelltools.export("QT4LIB", "%s/lib" % get.qtDIR())
    shelltools.export("KDE4DIR", get.kdeDIR())

    #libdir is needed to set exec_prefix stuff of patches/dev300/system-python-ure-bootstrap.diff
    shelltools.system('./configure \
                       --prefix=/opt/OpenOffice.org \
                       --libdir=/opt/OpenOffice.org/lib \
                       --sysconfdir=/etc \
                       --with-lang="de en-US es fr hu it nl pt-BR sv tr" \
                       --disable-post-install-scripts \
                       --enable-gtk \
                       --enable-kde4 \
                       --disable-kde \
                       --disable-cairo \
                       --disable-mono \
                       --with-distro=Pardus2009 \
                       --with-drink=nargile \
                       --with-gcc-speedup=ccache \
                       --with-ant-home=/usr/share/ant \
                       --with-binsuffix=no \
                       --with-system-mdbtools \
                       --with-openclipart=/usr/share/clipart/openclipart \
                       --with-num-cpus=%s' % getJobCount())
Example #33
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                portmidi=0 \
                optimize=1 \
                script=1 \
                shoutcast=1 \
                tonal=1 \
                m4a=1 \
                ladspa=1 \
                ipod=1" % (get.installDIR(), get.qtDIR()))
Example #34
0
def setup():
    # make sure pkgconfig file is correct
    shelltools.unlink("avifile.pc")

    # Fix qt detection
    pisitools.dosed("configure", "extern \"C\" void exit(int);",
                    "/* extern \"C\" void exit(int); */")

    # adding CFLAGS by default which exists only for x86 is no good idea
    # but I can't get it through gcc 3.4.3 without omit-frame-pointer
    pisitools.dosed("ffmpeg/libavcodec/libpostproc/Makefile.in",
                    "^AM_CFLAGS = .*", "AM_CFLAGS = -fomit-frame-pointer")
    pisitools.dosed("plugins/libwin32/loader/Makefile.in", "^AM_CFLAGS = .*",
                    "AM_CFLAGS = -fomit-frame-pointer")

    # Make sure we include freetype2 headers before freetype1 headers, else Xft2 borks
    shelltools.export("C_INCLUDE_PATH",
                      "%s:/usr/include/freetype2" % get.ENV("C_INCLUDE_PATH"))
    shelltools.export(
        "CPLUS_INCLUDE_PATH",
        "%s:/usr/include/freetype2" % get.ENV("CPLUS_INCLUDE_PATH"))

    # filter-flags "-momit-leaf-frame-pointer"

    shelltools.system("rm acinclude.m4")
    shelltools.system("ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh --copy --force")
    shelltools.export("FFMPEG_CFLAGS", "%s" % get.CFLAGS())
    autotools.configure("--disable-static \
                         --enable-freetype2 \
                         --enable-xv \
                         --enable-sdl \
                         --enable-sdltest \
                         --enable-a52 \
                         --enable-ffmpeg-a52 \
                         --enable-libz \
                         --enable-vorbis \
                         --enable-oggtest \
                         --enable-vorbistest \
                         --with-x \
                         --enable-xft \
                         --enable-samples \
                         --disable-vidix \
                         --with-fpic \
                         --enable-lame-bin \
                         --enable-oss \
                         --disable-xvid \
                         --enable-xvid4 \
                         --enable-quiet \
                         --enable-x86opt \
                         --with-qt-prefix=%s" % get.qtDIR())
Example #35
0
def build():
    shelltools.export("LINKFLAGS", get.LDFLAGS())
    scons.make("prefix=/usr \
                install_root=%s/usr \
                qtdir=%s \
                djconsole=1 \
                portmidi=0 \
                optimize=1 \
                script=1 \
                shoutcast=1 \
                tonal=1 \
                m4a=1 \
                ladspa=1 \
                ipod=1" % (get.installDIR(), get.qtDIR()))
Example #36
0
def setup():
    # make sure pkgconfig file is correct
    shelltools.unlink("avifile.pc")

    # Fix qt detection
    pisitools.dosed("configure", "extern \"C\" void exit(int);", "/* extern \"C\" void exit(int); */")

    # adding CFLAGS by default which exists only for x86 is no good idea
    # but I can't get it through gcc 3.4.3 without omit-frame-pointer
    pisitools.dosed("ffmpeg/libavcodec/libpostproc/Makefile.in", "^AM_CFLAGS = .*", "AM_CFLAGS = -fomit-frame-pointer")
    pisitools.dosed("plugins/libwin32/loader/Makefile.in", "^AM_CFLAGS = .*", "AM_CFLAGS = -fomit-frame-pointer")

    # Make sure we include freetype2 headers before freetype1 headers, else Xft2 borks
    shelltools.export("C_INCLUDE_PATH", "%s:/usr/include/freetype2" % get.ENV("C_INCLUDE_PATH"))
    shelltools.export("CPLUS_INCLUDE_PATH", "%s:/usr/include/freetype2" % get.ENV("CPLUS_INCLUDE_PATH"))

    # filter-flags "-momit-leaf-frame-pointer"
    
    shelltools.system("rm acinclude.m4")
    shelltools.system("ACLOCAL_FLAGS=\"-I m4\" ./autogen.sh --copy --force")
    shelltools.export("FFMPEG_CFLAGS", "%s" % get.CFLAGS())
    autotools.configure("--disable-static \
                         --enable-freetype2 \
                         --enable-xv \
                         --enable-sdl \
                         --enable-sdltest \
                         --enable-a52 \
                         --enable-ffmpeg-a52 \
                         --enable-libz \
                         --enable-vorbis \
                         --enable-oggtest \
                         --enable-vorbistest \
                         --with-x \
                         --enable-xft \
                         --enable-samples \
                         --disable-vidix \
                         --with-fpic \
                         --enable-lame-bin \
                         --enable-oss \
                         --disable-xvid \
                         --enable-xvid4 \
                         --enable-quiet \
                         --enable-x86opt \
                         --with-qt-prefix=%s" % get.qtDIR())
Example #37
0
def build():
    autotools.make("QMAKE=%s/bin/qmake" % get.qtDIR())
Example #38
0
def setup():
    autotools.configure("--with-qt-includes=%s/include" % get.qtDIR())
Example #39
0
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2005-2009 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get

import os

WorkDir = "qt-everywhere-opensource-src-%s" % get.srcVERSION().replace('_','-')
qtbase = get.qtDIR()

def setup():
    #make sure we don't use them
    for d in ('libjpeg', 'freetype', 'libpng', 'zlib', 'libtiff'):
        shelltools.unlinkDir("src/3rdparty/%s" % d)

    filteredCFLAGS = get.CFLAGS().replace("-g3", "-g")
    filteredCXXFLAGS = get.CXXFLAGS().replace("-g3", "-g")

    vars = {"PARDUS_CC" :       get.CC(),
            "PARDUS_CXX":       get.CXX(),
            "PARDUS_CFLAGS":    filteredCFLAGS,
            "PARDUS_LDFLAGS":   get.LDFLAGS()}

    for k, v in vars.items():
Example #40
0
def install():
    pisitools.insinto("%s/lib/" % get.qtDIR(),"lib/*")
    pisitools.insinto("%s/include/" % get.qtDIR(),"include/*")

    pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "examples")
Example #41
0
def setup():
    pisitools.dosed("Makefile", "/Developer/qt", get.qtDIR())
Example #42
0
def setup():
    autotools.configure("--with-qt-includes=%s/include" % get.qtDIR())
Example #43
0
def setup():
    shelltools.cd("qt/")

    pisitools.dosed("qscintilla.pro", "DESTDIR = \$\(QTDIR\)/lib", "DESTDIR = %s/%s/lib" % (get.installDIR(), get.qtDIR()))
    shelltools.system("qmake -o Makefile qscintilla.pro")

    # Change C/XXFLAGS
    pisitools.dosed("Makefile", "^CFLAGS   = -pipe -w -mcpu=i686 -O2 -pipe", "CFLAGS   = %s -w" % get.CFLAGS())
    pisitools.dosed("Makefile", "^CXXFLAGS = -pipe -w -mcpu=i686 -O2 -pipe", "CXXFLAGS = %s -w" % get.CXXFLAGS())
Example #44
0
def build():
    shelltools.export("QTDIR", get.qtDIR())
    autotools.make()
Example #45
0
def setup():
    shelltools.system("qmake-qt4  PREFIX=%s" % get.qtDIR())
Example #46
0
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2010 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

from pisi.actionsapi import get
from pisi.actionsapi import pisitools
from pisi.actionsapi import autotools

# Use Qt4 instead of Qt3
QTDIR = get.qtDIR()
QTINC = "%s/include" % QTDIR
QTINCPATH = " ".join(["-I%s/%s" % (QTINC, p) for p in ("", "Qt", "QtCore", "QtGui", "Qt3Support")])
QTLIBS = "-L%s/lib -lQtCore -lQtGui -lQt3Support" % QTDIR


def setup():
    autotools.autoreconf("-fi")
    autotools.configure("--enable-qt3 \
                         --disable-aqfinance \
                         --enable-gwenhywfar \
                         QTDIR=\"%s\" qt3_libs=\"%s\" qt3_includes=\"%s\"" % (QTDIR, QTLIBS, QTINCPATH))


def build():
    autotools.make("-j1 qt4-port")
    autotools.make("-j1")

def install():
Example #47
0
def build():
    autotools.make("QTDIR=%s" % get.qtDIR())
Example #48
0
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Copyright 2009 TUBITAK/UEKAE
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

from pisi.actionsapi import autotools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
from pisi.actionsapi import pisitools

Qt4DIR = get.qtDIR()

def setup():
    shelltools.system("qmake-qt4  PREFIX=%s" % Qt4DIR)

def build():
    autotools.make()
    pisitools.dosed("lib/libqoauth.prl", "^QMAKE_PRL_BUILD_DIR.*", "")

def install():
    autotools.rawInstall("INSTALL_ROOT=%s" % get.installDIR())
    pisitools.dodoc("CHANGELOG", "LICENSE", "README")
Example #49
0
def setup():
    shelltools.cd("qt/")

    pisitools.dosed("qscintilla.pro", "DESTDIR = \$\(QTDIR\)/lib",
                    "DESTDIR = %s/%s/lib" % (get.installDIR(), get.qtDIR()))
    shelltools.system("qmake -o Makefile qscintilla.pro")
Example #50
0
def setup():
    pisitools.dosed("install.sh", "INSTALL_PATH=\"/usr\"",
                    "INSTALL_PATH=\"%s/usr\"" % get.installDIR())
    shelltools.export("QTDIR", "%s" % get.qtDIR())
Example #51
0
def build():
    shelltools.export("QTDIR", get.qtDIR())
    autotools.make()
Example #52
0
def setup():
    autotools.rawConfigure("--prefix=%s/usr --with-frontend=qt --with-qt-dir=%s" % (get.installDIR(), get.qtDIR()))
Example #53
0
def build():
    shelltools.system("%s/bin/qmake -o Makefile jabbin.pro" % get.qtDIR())
    autotools.make()