Example #1
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    # the java test is problematic (see kde bug 100729) and
    # useless. All that's needed for java applets to work is
    # to have the 'java' executable in PATH.
    shelltools.export("DO_NOT_COMPILE", "kpersonalizer")
    kde.configure("--with-dpms \
                   --enable-dnssd \
                   --with-libaudit=yes \
                   --with-hal \
                   --with-ldap \
                   --with-cups \
                   --with-gl \
                   --with-ssl \
                   --with-samba \
                   --with-libusb \
                   --with-openexr \
                   --with-libraw1394 \
                   --with-hal \
                   --with-pam=yes \
                   --with-sudo-kdesu-backend \
                   --with-krb5auth \
                   --without-sensors \
                   --without-java")
Example #2
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])

    kde.make("-f admin/Makefile.common")
    kde.configure()
Example #3
0
def setup():
    # Update the admin dir used in KDE template projects.
    for i in shelltools.ls("admin/*"):
        shelltools.copy(i, "parts/appwizard/common/admin/")

    # copy system's ltmain.sh over old one
    shelltools.copy("/usr/share/libtool/ltmain.sh", "parts/appwizard/common/admin/")
    shelltools.copy("/usr/share/libtool/ltmain.sh", "parts/appwizard/common/incadmin/")

    kde.make("-f admin/Makefile.common")

    kde.configure(
        "--with-kdelibsdoxy-dir=%s/share/doc/HTML/en/kdelibs-apidocs \
                   --enable-java \
                   --enable-python \
                   --enable-ruby \
                   --enable-ada \
                   --enable-fortran \
                   --enable-haskell \
                   --enable-pascal \
                   --enable-perl \
                   --enable-php \
                   --enable-sql \
                   --enable-antproject \
                   --enable-subversion"
        % get.kdeDIR()
    )
Example #4
0
def setup():
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    shelltools.export("LC_ALL", "C")
    kde.make("-f admin/Makefile.common")
    shelltools.system("cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in")
    shelltools.system("cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh")
    kde.configure('--with-distribution="Pardus" \
                   --enable-inotify \
                   --enable-cups \
                   --enable-dnssd \
                   --enable-gcc-hidden-visibility \
                   --with-libart \
                   --with-libidn \
                   --with-utempter \
                   --with-alsa \
                   --with-ssl \
                   --with-tiff \
                   --with-gssapi \
                   --with-openexr \
                   --with-jasper \
                   --with-aspell \
                   --with-acl \
                   --disable-libfam \
                   --without-lua \
                   --without-hspell \
                   --with-qt-dir=/usr/qt/3 \
                   --with-qt-includes=/usr/qt/3/include \
                   --with-qt-libraries=/usr/qt/3/lib \
                   --without-arts')

    """
Example #5
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    kde.configure('--with-distribution="Pardus" \
                   --enable-inotify \
                   --enable-cups \
                   --enable-dnssd \
                   --enable-gcc-hidden-visibility \
                   --with-libart \
                   --with-libidn \
                   --with-utempter \
                   --with-alsa \
                   --with-ssl \
                   --with-tiff \
                   --with-gssapi \
                   --with-openexr \
                   --with-jasper \
                   --with-aspell \
                   --with-acl \
                   --disable-libfam \
                   --without-lua \
                   --without-hspell')
Example #6
0
def setup():
    # needed by networkstatus.patch
    kde.make("-f admin/Makefile.common")

    #fix conflicting headers (connections_manager.h)
    pisitools.dosed("konversation/src/Makefile.in", 'DEFAULT_INCLUDES = -I\.@am__isrc@', "DEFAULT_INCLUDES = ")
    kde.configure("--disable-final")
Example #7
0
def setup():
    # 4 ÇOMAR (-lcomar)
    kde.make("-f admin/Makefile.common")

    # the java test is problematic (see kde bug 100729) and
    # useless. All that's needed for java applets to work is
    # to have the 'java' executable in PATH.
    shelltools.export("DO_NOT_COMPILE", "kpersonalizer")
    kde.configure(
        "--with-dpms \
                   --with-arts \
                   --enable-dnssd \
                   --with-hal \
                   --with-ldap \
                   --with-cups \
                   --with-gl \
                   --with-ssl \
                   --with-samba \
                   --without-sensors \
                   --with-libusb \
                   --with-openexr \
                   --with-libraw1394 \
                   --with-hal \
                   --with-pam=yes \
                   --with-sudo-kdesu-backend \
                   --with-krb5auth \
                   --without-java"
    )
Example #8
0
def build():
    pisitools.dosed("kcminit/Makefile", 
            "\-\-mode=link \$\(CXXLD\) \$\(AM_CXXFLAGS\) \$\(CXXFLAGS\) \$\(KDE_CXXFLAGS\) \$\(AM_LDFLAGS\)", 
            "--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) $(AM_LDFLAGS) /usr/kde/3.5/lib/libkdeui.so /usr/kde/3.5/lib/libkutils.so")
    pisitools.dosed("kdepasswd/Makefile",
            "\$\(CXXFLAGS\) \$\(KDE_CXXFLAGS\) \$\(kdepasswd_LDFLAGS\) \$\(LDFLAGS\)",
            "$(CXXFLAGS) $(KDE_CXXFLAGS) /usr/kde/3.5/lib/libkio.so $(kdepasswd_LDFLAGS) $(LDFLAGS)")
    kde.make("-j1")
Example #9
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "kandy korn networkstatus")
    kde.configure("--with-sasl")
Example #10
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "atlantik kasteroids kolf")    # kasteroids and kolf don't compile without arts
    kde.configure("--disable-setgid")
Example #11
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "kvoctrain blinken")
    kde.configure("--enable-closure")
Example #12
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "dcoppython python")
    kde.configure("--with-java=/opt/sun-jdk \
                   --with-python-dir=/usr/lib/%s" % get.curPYTHON())
Example #13
0
def setup():
    shelltools.export("DO_NOT_COMPILE", "ksirc wifi lanbrowsing")

    kde.make("-f Makefile.cvs")
    kde.configure("--with-slp \
                   --with-wifi \
                   --disable-sametime-plugin \
                   --without-xmms \
                   --without-external-libgadu")
Example #14
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "atlantikdesigner noatun-plugins ksig")

    kde.configure("--with-sdl \
                   --without-xmms \
                   --with-berkeley-db")
Example #15
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "kpovmodeler kmrml kview")
    kde.configure("--with-poppler \
                   --with-kamera \
                   --enable-closure \
                   ")
Example #16
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed(
        "admin/acinclude.m4.in",
        'KDE_CHECK_PYTHON_INTERN\("2.5',
        'KDE_CHECK_PYTHON_INTERN("%s' % get.curPYTHON().split("python")[1],
    )
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "ksysv lilo-config kuser kpackage")
    kde.configure("--enable-closure")
Example #17
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    kde.configure("--with-dpms \
                   --with-libart \
                   --with-opengl \
                   --with-xscreensaver \
                   --enable-closure \
                   ")
Example #18
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "ksirc wifi lanbrowsing")

    kde.configure("--with-slp \
                   --without-wifi \
                   --disable-sametime-plugin \
                   --without-xmms \
                   --without-external-libgadu")
Example #19
0
def setup():
    shelltools.export("MAKE_PO", "bg ca br da de cs cy el es et fi ga fr gl hu is it lt nb mt nl pa pl pt ro ru rw ta sr sv tr en_GB pt_BR zh_CN sr@Latn")
    shelltools.export("MAKE_DOC", "da et fr it nl pt ru sv")

    pisitools.dosed("po/Makefile.in", "^SUBDIRS =.*", "SUBDIRS = %s" % get.ENV("MAKE_PO"))
    pisitools.dosed("doc/Makefile.in", "^SUBDIRS =.*", "SUBDIRS = . %s kdetv" % get.ENV("MAKE_DOC"))

    shelltools.export("CXXFLAGS", "%s -fno-strict-aliasing" % get.CXXFLAGS())

    kde.make("-f admin/Makefile.common")
    kde.configure("--enable-kdetv-lirc \
                   --with-arts \
                   --with-zvbi \
                   --with-gl")
Example #20
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed(
        "admin/acinclude.m4.in",
        'KDE_CHECK_PYTHON_INTERN\("2.5',
        'KDE_CHECK_PYTHON_INTERN("%s' % get.curPYTHON().split("python")[1],
    )
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "kdessh klaptopdaemon")
    kde.configure(
        "--without-snmp \
                   --without-xmms"
    )
Example #21
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "kpovmodeler kmrml kview")

    # New fribidi do not have fribidi-config, make it use pkg-config instead
    # Caution: This is needed to enable KSVG support
    shelltools.export("FRIBIDI_CONFIG", "pkg-config fribidi")
    pisitools.dosed("ksvg/impl/libs/libtext2path/src/Converter.cpp", "fribidi_types.h", "fribidi-types.h")
    pisitools.dosed("ksvg/plugin/backends/Makefile.am", "agg", "") #disable agg backend, TODO: KSVG AGG backend needs to be ported to new AGG

    kde.configure("--with-poppler \
                   --with-kamera")
Example #22
0
def setup():
    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    shelltools.export("DO_NOT_COMPILE", "mpeglib mpeglib_artsplug kaboodle noatun arts krec")    # krec doesn't compile without arts

    kde.configure("--with-extra-includes=/usr/include/speex \
                   --with-cdparanoia \
                   --with-akode \
                   --with-alsa \
                   --with-vorbis \
                   --with-lame \
                   --with-flac \
                   --with-xine \
                   --with-musicbrainz")
Example #23
0
def setup():
    kde.make("-f admin/Makefile.common")
    kde.configure("--enable-libsuffix= \
                   --enable-ffmpeg-all-codecs \
                   --disable-rpath \
                   --disable-warnings \
                   --with-alsa \
                   --with-hal \
                   --with-lame \
                   --with-flac \
                   --with-libmad \
                   --with-oggvorbis \
                   --with-libdvdread \
                   --with-musepack \
                   --with-sndfile \
                   --with-musicbrainz \
                   --with-external-libsamplerate \
                   --without-resmgr \
                   --without-k3bsetup")
Example #24
0
def setup():
    shelltools.export("DO_NOT_COMPILE", "mpeglib mpeglib_artsplug kaboodle noatun")

    # needed for xine.m4
    kde.make("-f admin/Makefile.common")

    kde.configure("--with-extra-includes=/usr/include/speex \
                   --with-akode \
                   --with-cdparanoia \
                   --enable-cdparanoia \
                   --with-arts-alsa \
                   --with-alsa \
                   --with-vorbis \
                   --with-lame \
                   --with-flac \
                   --with-speex \
                   --with-libmad \
                   --without-jack \
                   --with-xine \
                   --with-musicbrainz")
Example #25
0
def setup():
    kde.make("-f admin/Makefile.common")
    kde.configure('--with-distribution="Pardus" \
                   --disable-libfam \
                   --enable-inotify \
                   --with-libart \
                   --with-libidn \
                   --with-utempter \
                   --with-alsa \
                   --with-arts \
                   --with-ssl \
                   --with-tiff \
                   --with-gssapi \
                   --with-openexr \
                   --with-jasper \
                   --enable-cups \
                   --enable-dnssd \
                   --with-aspell \
                   --with-acl \
                   --without-lua \
                   --without-hspell')
Example #26
0
def setup():
    # 4 ÇOMAR (-lcomar)
    kde.make("-f admin/Makefile.common")

    # the java test is problematic (see kde bug 100729) and
    # useless. All that's needed for java applets to work is
    # to have the 'java' executable in PATH.
    kde.configure(
        "--with-dpms \
                  --with-arts \
                  --without-ldap \
                  --with-cups \
                  --with-gl \
                  --with-ssl \
                  --with-samba \
                  --without-openexr \
                  --without-sensors \
                  --with-libusb \
                  --with-libraw1394 \
                  --with-hal \
                  --with-pam=yes \
                  --without-java"
    )
Example #27
0
def setup():
    # Update the admin dir used in KDE template projects.
    for i in shelltools.ls("admin/*"):
        shelltools.copy(i, "parts/appwizard/common/admin/")

    # Fix automake and python detection
    pisitools.dosed("admin/cvs.sh", "automake\*1\.10\*", "automake*1.1[0-5]*")
    pisitools.dosed("admin/acinclude.m4.in", "KDE_CHECK_PYTHON_INTERN\(\"2.5", "KDE_CHECK_PYTHON_INTERN(\"%s" % get.curPYTHON().split("python")[1])
    kde.make("-f admin/Makefile.common")

    kde.configure("--with-kdelibsdoxy-dir=%s/share/doc/HTML/en/kdelibs-apidocs \
                   --enable-java \
                   --enable-python \
                   --enable-ruby \
                   --enable-ada \
                   --enable-fortran \
                   --enable-haskell \
                   --enable-pascal \
                   --enable-perl \
                   --enable-php \
                   --enable-sql \
                   --enable-antproject \
                   --enable-subversion" % get.kdeDIR())
Example #28
0
def build():
    pisitools.dosed("src/Makefile", "libtechmath.la", "libmath.la")
    kde.make()
Example #29
0
def setup():
    kde.make("-f admin/Makefile.common")
    kde.configure()
Example #30
0
def setup():
    shelltools.export("DO_NOT_COMPILE", "kvoctrain")
    kde.make("-f Makefile.cvs")
    kde.configure()
Example #31
0
def build():
    kde.make()
    kde.make("apidox")
Example #32
0
def setup():
    kde.make("-f admin/Makefile.common")

    kde.configure("--enable-kipi")
Example #33
0
def build():
    shelltools.export("LC_ALL", "C")
    kde.make("-j1")
    #kde.make()
    """
Example #34
0
def build():
    kde.make()

    shelltools.export("LC_ALL",
                      "C")  # Workaround a doxygen bug until we fix it
    kde.make("apidox")
Example #35
0
def build():
    kde.make("-j1")
Example #36
0
def build():
    kde.make("-f Makefile.cvs")
Example #37
0
def setup():
    # translations.peç needs reconfigure
    kde.make("-f admin/Makefile.common")

    kde.configure("--disable-dependency-tracking \
                  --disable-final")
Example #38
0
def setup():
    kde.make("-f admin/Makefile.common")
    kde.configure("--with-xine \
                   --with-gstreamer")
Example #39
0
def setup():
    kde.make("-f admin/Makefile.common")

    kde.configure("--without-arts \
                   --with-kipi")
Example #40
0
def build():
    # it seems we hit a nasty compiler bug, workaround for a while
    pisitools.dosed("digikam/libs/greycstoration/Makefile", "-O2")

    kde.make()
Example #41
0
def build():
    kde.make()
Example #42
0
def build():
    kde.make("-j1")
Example #43
0
def build():
    shelltools.system("lrelease po/klearnnotes2_tr_TR.ts")

    kde.make()
Example #44
0
def setup():
    kde.make("-f admin/Makefile.common")
    kde.configure(" --bindir=/usr/bin \
                    --libdir=/usr/lib \
                    --includedir=/usr/include")
Example #45
0
def setup():
    kde.make("-f admin/Makefile.common")
    kde.configure()
Example #46
0
def setup():
    # needed by networkstatus.patch
    kde.make("-f admin/Makefile.common")
    kde.configure()
Example #47
0
def build():
    kde.make()
Example #48
0
def build():
    kde.make("kvirc -j1")