Ejemplo n.º 1
0
def install():
    qt4.install()
    pisitools.dodir(qt4.bindir)

    #Remove phonon, we use KDE's phonon but we have to build Qt with Phonon support for webkit and some other stuff
    #pisitools.remove("%s/libphonon*" % qt4.libdir)
    #pisitools.removeDir("%s/phonon" % qt4.includedir)
    # -no-phonon-backend : pisitools.removeDir("%s/phonon_backend" % qt4.plugindir)
    #pisitools.remove("%s/pkgconfig/phonon*" % qt4.libdir)
    # Phonon 4.5 provides libphononwidgets.so file
    #pisitools.remove("%s/designer/libphononwidgets.so" % qt4.plugindir)

    # Turkish translations
    shelltools.export("LD_LIBRARY_PATH", "%s%s" % (get.installDIR(), qt4.libdir))
    #shelltools.system("%s%s/lrelease l10n-tr/*.ts" % (get.installDIR(), qt4.bindir))
    #pisitools.insinto(qt4.translationdir, "l10n-tr/*.qm")

    # Fix all occurances of WorkDir in pc files
    #pisitools.dosed("%s%s/pkgconfig/*.pc" % (get.installDIR(), qt4.libdir), "%s/qt-x11-opensource-src-%s" % (get.workDIR(), get.srcVERSION()), qt4.prefix)

    mkspecPath = "/usr/share/qt/mkspecs"

    for root, dirs, files in os.walk("%s/usr" % get.installDIR()):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in ["common","qws","features","default"]:
                    pisitools.removeDir(os.path.join(mkspecPath,dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name), "^QMAKE_PRL_BUILD_DIR.*", "")

    pisitools.dodoc("LGPL_EXCEPTION.txt", "LICENSE.*")
Ejemplo n.º 2
0
def install():
    qt4.install()
    
    pisitools.dobin("touchfreeze")
    pisitools.insinto("/usr/share/pixmaps", "res/touchp*.svg")

    pisitools.dodoc("README", "AUTHORS", "COPYING")
Ejemplo n.º 3
0
def install():
    qt4.install()

    pisitools.insinto(
        "/usr/share/pixmaps/",
        "resources/images/icons/hicolor/32x32/apps/focuswriter.png")
    pisitools.dodoc("ChangeLog", "COPYING", "README*")
Ejemplo n.º 4
0
def install():
    qt4.install()

    pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples")
    pisitools.dohtml("doc/web/doxygen/*")

    pisitools.dodoc("COPYING")
Ejemplo n.º 5
0
def install():
    qt4.install()

    pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples")
    pisitools.dohtml("doc/web/doxygen/*")

    pisitools.dodoc("COPYING")
Ejemplo n.º 6
0
def install():
    qt4.install()

    pisitools.dodoc(
        "AUTHORS",
        "COPYING",
    )
Ejemplo n.º 7
0
def install():
    qt4.install()

    pisitools.remove("/usr/share/texmaker/AUTHORS")
    pisitools.remove("/usr/share/texmaker/CHANGELOG.txt")
    pisitools.remove("/usr/share/texmaker/COPYING")

    pisitools.dodoc("utilities/AUTHORS", "utilities/COPYING", "utilities/CHANGELOG.txt")
Ejemplo n.º 8
0
def install():
    qt4.install()

    pisitools.dobin("KBookocr")

    pisitools.insinto("/usr/share/pixmaps", "kbookocr.png")

    pisitools.dodoc("RoadMap.txt")
Ejemplo n.º 9
0
def install():
    qt4.install()
    
    pisitools.insinto("/usr/share/pixmaps", "resources/images/icons/hicolor/32x32/apps/plume-creator.png")
    
    pisitools.dosed("%s/usr/share/applications/plume-creator.desktop" % get.installDIR(), "Icon=plume-creator", "Icon=/usr/share/pixmaps/plume-creator.png")

    pisitools.dodoc("Credits", "License", "KNOWN ISSUES", "COPYING", "INSTALL_NOTES", "README")
Ejemplo n.º 10
0
def install():
    qt4.install()

    pisitools.dobin("colorcode")

    pisitools.insinto("/usr/share/pixmaps", "img/cc64.png", "colorcode.png")

    pisitools.dodoc("changelog", "COPYING")
Ejemplo n.º 11
0
def install():
    qt4.install()

    for lang in ["cs", "de", "es", "fr", "hu", "id", "it", "pl", "ru", "tr"]:
        shelltools.system("lrelease i18n/lang_%(LANG)s.ts -qm i18n/lang_%(LANG)s.qm" % {'LANG':lang} )
    pisitools.insinto("/usr/share/qtpfsgui/i18n","i18n/*.qm")

    pisitools.dodoc("AUTHORS","Changelog", "LICENSE", "README", "TODO")
Ejemplo n.º 12
0
def install():
    qt4.install()

    shelltools.chmod(get.installDIR() + "/usr/share/chains/data", 0644)

    pisitools.insinto("/usr/share/pixmaps", "images/icon256.png", "bubble-chains.png")

    pisitools.dodoc("README")
Ejemplo n.º 13
0
def install():
    qt4.install()

    pisitools.dobin("symbolmachine")

    pisitools.insinto("/usr/share/pixmaps", "symbolmachine.png")

    pisitools.dodoc("AUTHORS", "COPYING", "README")
Ejemplo n.º 14
0
def install():
    qt4.install()

    pisitools.dobin("openpref")

    pisitools.insinto("/usr/share/pixmaps", "pics/openpref.png")

    pisitools.dodoc("AUTHORS", "BUGS", "COPYING", "NEWS", "README", "THANKS", "TODO")
Ejemplo n.º 15
0
def install():
    qt4.install()

    pisitools.dosym("/usr/share/kdocker/icons/kdocker.png",
                    "/usr/share/pixmaps/kdocker.png")

    pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "COPYING", "CREDITS",
                    "README", "TODO")
Ejemplo n.º 16
0
def install():
    qt4.install()

    pisitools.dobin("KBookocr")

    pisitools.insinto("/usr/share/pixmaps", "kbookocr.png")

    pisitools.dodoc("RoadMap.txt")
Ejemplo n.º 17
0
def install():
    qt4.install()

    pisitools.dobin("QTrex")

    pisitools.insinto("/usr/share/pixmaps", "main.PNG", "qtrex.png")

    shelltools.chmod(get.installDIR() + "/usr/share/pixmaps/qtrex.png", 0644)
Ejemplo n.º 18
0
def install():
    shelltools.cd("heimdall")
    pisitools.dodoc("LICENSE", "description-pak", "doc-pak/LICENSE", "doc-pak/README")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    shelltools.cd("../heimdall-frontend")
    qt4.install("DESTDIR=%s" % get.installDIR())
    pisitools.domove("/usr/local/bin/heimdall-frontend", "/usr/bin")
    pisitools.removeDir("/usr/local")
Ejemplo n.º 19
0
def install():
    qt4.install()

    pisitools.doman("doc/man/*/*")
    pisitools.dohtml("doc/html/*")

    pisitools.rename("/usr/share/man/man3/deprecated.3", "qwt-deprecated.3")

    pisitools.insinto("/usr/share/doc/qwt/examples", "examples")
Ejemplo n.º 20
0
def install():
    qt4.install()

    pisitools.remove("/usr/share/texmaker/AUTHORS")
    pisitools.remove("/usr/share/texmaker/CHANGELOG.txt")
    pisitools.remove("/usr/share/texmaker/COPYING")

    pisitools.dodoc("utilities/AUTHORS", "utilities/COPYING",
                    "utilities/CHANGELOG.txt")
Ejemplo n.º 21
0
def install():
    qt4.install()
    shelltools.chmod(
        "%s/usr/share/icons/hicolor/64x64/apps/qmetro.png" % get.installDIR(),
        0644)
    shelltools.chmod(
        "%s/usr/share/icons/hicolor/scalable/apps/qmetro.svg" %
        get.installDIR(), 0644)
    pisitools.dodoc("AUTHORS", "LICENSE", "README")
Ejemplo n.º 22
0
def install():
    qt4.install()

    pisitools.dolib_so("liboverlay-scrollbar-qt.so.1.0.0")
    pisitools.dosym("/usr/lib/liboverlay-scrollbar-qt.so.1.0.0", "/usr/lib/liboverlay-scrollbar-qt.so.1.0")
    pisitools.dosym("/usr/lib/liboverlay-scrollbar-qt.so.1.0.0", "/usr/lib/liboverlay-scrollbar-qt.so.1")
    pisitools.dosym("/usr/lib/liboverlay-scrollbar-qt.so.1.0.0", "/usr/lib/liboverlay-scrollbar-qt.so")

    pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "TODO")
Ejemplo n.º 23
0
def install():
    shelltools.cd("heimdall")
    pisitools.dodoc("LICENSE", "description-pak", "doc-pak/LICENSE",
                    "doc-pak/README")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    shelltools.cd("../heimdall-frontend")
    qt4.install("DESTDIR=%s" % get.installDIR())
    pisitools.domove("/usr/local/bin/heimdall-frontend", "/usr/bin")
    pisitools.removeDir("/usr/local")
Ejemplo n.º 24
0
def install():
    qt4.install()

    pisitools.dobin("tamanoir")

    pisitools.insinto("/usr/share/applications", "debian/tamanoir.desktop")
    pisitools.insinto("/usr/share/pixmaps", "icon/tamanoir.png")

    pisitools.dodoc("gpl-3.0.txt", "docs/*.txt")
Ejemplo n.º 25
0
def install():
    qt4.install()
    for it in shelltools.ls("%s/usr/share/cdcat" % get.installDIR()):
        if it.endswith("png"): pisitools.dosym("/usr/share/cdcat/%s" % it, "/usr/share/pixmaps/%s" % it)
        else: pisitools.dosym("/usr/share/cdcat/%s" % it, "/usr/share/doc/cdcat/%s" % it)
    for f in shelltools.ls("src/lang/*.ts"):
        d = "%s/usr/share/locale/%s/LC_MESSAGES" % (get.installDIR(), f[15:17])
        shelltools.makedirs(d)
        shelltools.system('lrelease -qm %s/%s %s' % (d, f[9:].replace(".ts", ".qm"), f))
Ejemplo n.º 26
0
def install():
    qt4.install()

    pisitools.dobin("Klikit")

    pisitools.insinto("/usr/share/pixmaps", "images/main.png", "klikit.png")

    pisitools.dodoc("*.txt")
    pisitools.dohtml("doc/*")
Ejemplo n.º 27
0
def install():
    qt4.install()

    for lang in ["cs", "de", "es", "fr", "hu", "id", "it", "pl", "ru", "tr"]:
        shelltools.system(
            "lrelease i18n/lang_%(LANG)s.ts -qm i18n/lang_%(LANG)s.qm" %
            {'LANG': lang})
    pisitools.insinto("/usr/share/qtpfsgui/i18n", "i18n/*.qm")

    pisitools.dodoc("AUTHORS", "Changelog", "LICENSE", "README", "TODO")
Ejemplo n.º 28
0
def install():
    if get.buildTYPE() == "emul32":
        qt4.install("INSTALL_ROOT=%s32" % get.installDIR())
        shelltools.move("%s32/usr/lib32" % get.installDIR(),
                        "%s/usr" % get.installDIR())
        return

    qt4.install()
    pisitools.dodir(qt4.bindir)

    #Remove phonon, we use KDE's phonon but we have to build Qt with Phonon support for webkit and some other stuff
    pisitools.remove("%s/libphonon*" % qt4.libdir)
    pisitools.removeDir("%s/phonon" % qt4.includedir)
    if shelltools.isDirectory("%s/%s/phonon_backend" %
                              (get.installDIR(), qt4.plugindir)):
        pisitools.removeDir("%s/phonon_backend" % qt4.plugindir)
    pisitools.remove("%s/pkgconfig/phonon*" % qt4.libdir)
    # Phonon 4.5 provides libphononwidgets.so file
    pisitools.remove("%s/designer/libphononwidgets.so" % qt4.plugindir)

    #Remove lost /usr/tests directory
    pisitools.removeDir("usr/tests")

    # Turkish translations
    shelltools.export("LD_LIBRARY_PATH",
                      "%s%s" % (get.installDIR(), qt4.libdir))
    shelltools.system("%s%s/lrelease l10n-tr/*.ts" %
                      (get.installDIR(), qt4.bindir))
    pisitools.insinto(qt4.translationdir, "l10n-tr/*.qm")

    # Fix all occurances of WorkDir in pc files
    pisitools.dosed(
        "%s%s/pkgconfig/*.pc" % (get.installDIR(), qt4.libdir),
        "%s/qt-x11-opensource-src-%s" % (get.workDIR(), get.srcVERSION()),
        qt4.prefix)

    mkspecPath = "%s/mkspecs" % qtbase

    for root, dirs, files in os.walk("%s%s" % (get.installDIR(), qtbase)):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in [
                        "common", "qws", "features", "default"
                ]:
                    pisitools.removeDir(os.path.join(mkspecPath, dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name),
                                "^QMAKE_PRL_BUILD_DIR.*", "")

    # Remove useless image directory, images of HTML docs are in doc/html/images
    pisitools.removeDir("%s/src" % qt4.docdir)

    pisitools.dodoc("changes-*", "LGPL_EXCEPTION.txt", "LICENSE.*", "README")
Ejemplo n.º 29
0
def install():
    qt4.install()

    qt4.install("-C lib")

    pisitools.insinto("/usr/share/qt4/mkspecs/features/", "features/assistant.prf")

    pisitools.dodir("/usr/share/qt4/translations")
    pisitools.insinto("/usr/share/qt4/translations", "translations/*qm")

    pisitools.dodoc("LICENSE*", "LGPL*")
Ejemplo n.º 30
0
def install():
    qt4.install()

    # Update Turkish translation
    shelltools.system("lrelease src/translations/keepassx-tr_TR.ts")
    pisitools.insinto("/usr/share/keepassx/i18n/", "src/translations/*tr*.qm")

    #Remove unused mime info
    pisitools.removeDir("/usr/share/mimelnk")

    pisitools.dodoc("changelog", "COPYING")
Ejemplo n.º 31
0
def install():
    qt4.install()

    qt4.install("-C lib")

    pisitools.insinto("/usr/share/qt4/mkspecs/features/",
                      "features/assistant.prf")

    pisitools.dodir("/usr/share/qt4/translations")
    pisitools.insinto("/usr/share/qt4/translations", "translations/*qm")

    pisitools.dodoc("LICENSE*", "LGPL*")
Ejemplo n.º 32
0
def install():
    qt4.install()

    pisitools.dolib_so("liboverlay-scrollbar-qt.so.1.0.0")
    pisitools.dosym("/usr/lib/liboverlay-scrollbar-qt.so.1.0.0",
                    "/usr/lib/liboverlay-scrollbar-qt.so.1.0")
    pisitools.dosym("/usr/lib/liboverlay-scrollbar-qt.so.1.0.0",
                    "/usr/lib/liboverlay-scrollbar-qt.so.1")
    pisitools.dosym("/usr/lib/liboverlay-scrollbar-qt.so.1.0.0",
                    "/usr/lib/liboverlay-scrollbar-qt.so")

    pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "TODO")
Ejemplo n.º 33
0
def install():
    qt4.install()

    pisitools.insinto(
        "/usr/share/pixmaps",
        "resources/images/icons/hicolor/32x32/apps/plume-creator.png")

    pisitools.dosed(
        "%s/usr/share/applications/plume-creator.desktop" % get.installDIR(),
        "Icon=plume-creator", "Icon=/usr/share/pixmaps/plume-creator.png")

    pisitools.dodoc("Credits", "License", "KNOWN ISSUES", "COPYING",
                    "INSTALL_NOTES", "README")
Ejemplo n.º 34
0
def install():
    if get.buildTYPE() == "emul32":
        qt4.install("INSTALL_ROOT=%s32" % get.installDIR())
        shelltools.move("%s32/usr/lib32" % get.installDIR(), "%s/usr" % get.installDIR())
        return

    qt4.install()
    pisitools.dodir(qt4.bindir)

    #Remove phonon, we use KDE's phonon but we have to build Qt with Phonon support for webkit and some other stuff
    pisitools.remove("%s/libphonon*" % qt4.libdir)
    pisitools.removeDir("%s/phonon" % qt4.includedir)
    if shelltools.isDirectory("%s/%s/phonon_backend" % (get.installDIR(), qt4.plugindir)):
        pisitools.removeDir("%s/phonon_backend" % qt4.plugindir)
    pisitools.remove("%s/pkgconfig/phonon*" % qt4.libdir)
    # Phonon 4.5 provides libphononwidgets.so file
    pisitools.remove("%s/designer/libphononwidgets.so" % qt4.plugindir)

    #Remove lost /usr/tests directory
    #pisitools.removeDir("usr/tests")

    # Turkish translations
    shelltools.export("LD_LIBRARY_PATH", "%s%s" % (get.installDIR(), qt4.libdir))
    shelltools.system("%s%s/lrelease l10n-tr/*.ts" % (get.installDIR(), bindirQt4))
    pisitools.insinto(qt4.translationdir, "l10n-tr/*.qm")

    # Fix all occurances of WorkDir in pc files
    pisitools.dosed("%s%s/pkgconfig/*.pc" % (get.installDIR(), qt4.libdir), "%s/qt-x11-opensource-src-%s" % (get.workDIR(), get.srcVERSION()), qt4.prefix)

    #I hope qtchooser will manage this issue
    for bin in shelltools.ls("%s/usr/lib/qt4/bin" % get.installDIR()):
        pisitools.dosym("/usr/lib/qt4/bin/%s" % bin, "/usr/bin/%s-qt4" % bin)

    mkspecPath = "%s/mkspecs" % qtbase

    for root, dirs, files in os.walk("%s%s" % (get.installDIR(), qtbase)):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in ["common","qws","features","default"]:
                    pisitools.removeDir(os.path.join(mkspecPath,dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name), "^QMAKE_PRL_BUILD_DIR.*", "")

    # Remove useless image directory, images of HTML docs are in doc/html/images
    #pisitools.removeDir("%s/src" % qt4.docdir)
    
    pisitools.removeDir("/usr/share/qt4/phrasebooks")

    pisitools.dodoc("changes-*", "LGPL_EXCEPTION.txt", "LICENSE.*", "README")
Ejemplo n.º 35
0
def install():
    qt4.install()
    for it in shelltools.ls("%s/usr/share/cdcat" % get.installDIR()):
        if it.endswith("png"):
            pisitools.dosym("/usr/share/cdcat/%s" % it,
                            "/usr/share/pixmaps/%s" % it)
        else:
            pisitools.dosym("/usr/share/cdcat/%s" % it,
                            "/usr/share/doc/cdcat/%s" % it)
    for f in shelltools.ls("src/lang/*.ts"):
        d = "%s/usr/share/locale/%s/LC_MESSAGES" % (get.installDIR(), f[15:17])
        shelltools.makedirs(d)
        shelltools.system('lrelease -qm %s/%s %s' %
                          (d, f[9:].replace(".ts", ".qm"), f))
Ejemplo n.º 36
0
def install():
    shelltools.cd("Qt4Qt5")
    qt4.install()

    shelltools.cd("../designer-Qt4/")
    qt4.install()

    #build and install qscintilla-python
    shelltools.cd("../Python")
    autotools.install("DESTDIR=%s" % get.installDIR())

    shelltools.cd("..")
    pisitools.dohtml("doc/html-Qt4Qt5/")
    pisitools.insinto("/usr/share/doc/%s/Scintilla" % get.srcNAME(), "doc/Scintilla/*")

    pisitools.dodoc("GPL*", "LICENSE*", "NEWS", "README", "OPENSOURCE-NOTICE.TXT")
Ejemplo n.º 37
0
def install():
    qt4.install()
    pisitools.dodir(qt4.bindir)

    #Remove internal phonon, we use KDE's phonon but we have to build Qt with Phonon support for webkit and some other stuff
    pisitools.remove("%s/libphonon*" % qt4.libdir)
    pisitools.removeDir("%s/phonon" % qt4.includedir)
    #pisitools.removeDir("%s/phonon_backend" % qt4.plugindir)
    pisitools.remove("%s/pkgconfig/phonon*" % qt4.libdir)
    pisitools.remove("%s/designer/libphononwidgets.so" % qt4.plugindir)

    #Remove Webkit, it's now a seperate source package
    pisitools.remove("%s/libQtWebKit*" % qt4.libdir)
    pisitools.removeDir("%s/QtWebKit" % qt4.includedir)
    pisitools.remove("%s/Qt/QtWebKit" % qt4.includedir)
    pisitools.remove("%s/Qt/qwebkit*" % qt4.includedir)
    pisitools.remove("%s/pkgconfig/QtWebKit*" % qt4.libdir)
    pisitools.remove("%s/designer/libqwebview*" % qt4.plugindir)
    pisitools.remove("%s/mkspecs/modules/*webkit*" % qt4.datadir)
    pisitools.removeDir("%s/QtWebKit" % qt4.importdir)

    # Turkish translations
    shelltools.export("LD_LIBRARY_PATH", "%s%s" % (get.installDIR(), qt4.libdir))
    shelltools.system("%s%s/lrelease l10n-tr/*.ts" % (get.installDIR(), qt4.bindir))
    pisitools.insinto(qt4.translationdir, "l10n-tr/*.qm")

    # Fix all occurances of WorkDir in pc files
    pisitools.dosed("%s%s/pkgconfig/*.pc" % (get.installDIR(), qt4.libdir), "%s/qt-x11-opensource-src-%s" % (get.workDIR(), get.srcVERSION()), qt4.prefix)

    mkspecPath = "%s/mkspecs" % qtbase

    for root, dirs, files in os.walk("%s%s" % (get.installDIR(), qtbase)):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in ["common","qws","features","default"]:
                    pisitools.removeDir(os.path.join(mkspecPath,dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name), "^QMAKE_PRL_BUILD_DIR.*", "")

    pisitools.dodoc("LICENSE*", "LGPL*", "header.*")

    # Remove useless image directory, images of HTML docs are in doc/html/images
    pisitools.removeDir("%s/src" % qt4.docdir)
Ejemplo n.º 38
0
def install():
    shelltools.cd("Qt4Qt5")
    qt4.install()

    shelltools.cd("../designer-Qt4/")
    qt4.install()

    #build and install qscintilla-python
    shelltools.cd("../Python3")
    autotools.install("DESTDIR=%s" % get.installDIR())
    shelltools.cd("../Python")
    autotools.install("DESTDIR=%s" % get.installDIR())

    shelltools.cd("..")
    pisitools.dohtml("doc/html-Qt4Qt5/")
    pisitools.insinto("/usr/share/doc/%s/Scintilla" % get.srcNAME(), "doc/Scintilla/*")

    pisitools.dodoc("GPL*", "LICENSE*", "NEWS", "README", "OPENSOURCE-NOTICE.TXT")
Ejemplo n.º 39
0
def install():
    qt4.install()
    pisitools.dodir(qt4.bindir)

    #Remove phonon, we use KDE's phonon but we have to build Qt with Phonon support for webkit and some other stuff
    pisitools.remove("%s/libphonon*" % qt4.libdir)
    pisitools.removeDir("%s/phonon" % qt4.includedir)
    pisitools.removeDir("%s/phonon_backend" % qt4.plugindir)
    pisitools.remove("%s/pkgconfig/phonon*" % qt4.libdir)
    pisitools.remove("/usr/share/dbus-1/interfaces/org.kde.Phonon.AudioOutput.xml")
    os.removedirs("%s/usr/share/dbus-1/interfaces" % get.installDIR())

    pisitools.remove("%s/phononbackends/gstreamer.desktop" % kde4.servicesdir)
    os.removedirs("%s/%s/phononbackends" % (get.installDIR(), kde4.servicesdir))

    # Turkish translations
    shelltools.export("LD_LIBRARY_PATH", "%s%s" % (get.installDIR(), qt4.libdir))
    shelltools.system("%s%s/lrelease l10n-tr/*.ts" % (get.installDIR(), qt4.bindir))
    pisitools.insinto(qt4.translationdir, "l10n-tr/*.qm")

    # Fix all occurances of WorkDir in pc files
    pisitools.dosed("%s%s/pkgconfig/*.pc" % (get.installDIR(), qt4.libdir), "%s/qt-x11-opensource-src-%s" % (get.workDIR(), get.srcVERSION()), qt4.prefix)

    mkspecPath = "%s/mkspecs" % qtbase

    for root, dirs, files in os.walk("%s%s" % (get.installDIR(), qtbase)):
        # Remove unnecessary spec files..
        if root.endswith(mkspecPath):
            for dir in dirs:
                if not dir.startswith("linux") and dir not in ["common","qws","features","default"]:
                    pisitools.removeDir(os.path.join(mkspecPath,dir))
        for name in files:
            if name.endswith(".prl"):
                pisitools.dosed(os.path.join(root, name), "^QMAKE_PRL_BUILD_DIR.*", "")

    # Remove useless image directory, images of HTML docs are in doc/html/images
    pisitools.removeDir("%s/src" % qt4.docdir)
Ejemplo n.º 40
0
def install():
    qt4.install("DESTDIR=%s" % get.installDIR())
    pisitools.dosym("/usr/games/glpeces", "/usr/bin/glpeces")
Ejemplo n.º 41
0
def install():
    qt4.install()

    pisitools.dodoc("AUTHORS", "CHANGES", "COPYING", "TODO")
Ejemplo n.º 42
0
def install():
    qt4.install()
Ejemplo n.º 43
0
def install():
    qt4.install()
    pisitools.dodoc("CHANGES", "COPYING")
Ejemplo n.º 44
0
def install():
    qt4.install()
    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "NEWS-RU", "TODO")
Ejemplo n.º 45
0
def install():
    qt4.install()
    pisitools.insinto("/usr/share/pixmaps/musique.png",  "images/app.png")
    pisitools.dodoc("CHANGES",  "COPYING",  "LICENSE.LGPL",  "TODO")
Ejemplo n.º 46
0
def install():
    qt4.install()

    pisitools.removeDir("/usr/doc")
Ejemplo n.º 47
0
def install():
    qt4.install()
Ejemplo n.º 48
0
def install():
    qt4.install()
    pisitools.dodoc("COPYRIGHT", "LICENSE", "data/license")
Ejemplo n.º 49
0
def install():
    qt4.install()

    pisitools.dodoc("COPYING", "README.txt")
Ejemplo n.º 50
0
def install():
    qt4.install()
    shelltools.chmod("%s/usr/share/icons/hicolor/64x64/apps/qmetro.png" % get.installDIR(), 0644)
    shelltools.chmod("%s/usr/share/icons/hicolor/scalable/apps/qmetro.svg" % get.installDIR(), 0644)
    pisitools.dodoc("AUTHORS", "LICENSE", "README")
Ejemplo n.º 51
0
def install():
    qt4.install()

    pisitools.dodoc("README.TXT", "LICENSE*", "LGPL*")
Ejemplo n.º 52
0
def install():
    qt4.install()

    pisitools.insinto("/usr/share/pixmaps/",
            "resources/images/icons/hicolor/32x32/apps/focuswriter.png")
    pisitools.dodoc("ChangeLog", "COPYING", "README*")
Ejemplo n.º 53
0
def install():
    qt4.install()
    pisitools.dodoc("COPYING", "README.RU.UTF8.txt")