Ejemplo n.º 1
0
def install():
    kde4.install()

    #remove index.theme file of hicolor icon theme, correct source for the file is the hicolor icon theme package itself
    pisitools.remove("/usr/share/icons/hicolor/index.theme")
    
    pisitools.dosym("/usr/bin/", "/usr/lib/kde4/libexec/kdesud")
Ejemplo n.º 2
0
def install():
    kde4.install()

    """
    for d in ["sv"]:
        pisitools.remove("/usr/share/kde4/doc/HTML/%s/%s/common" % (d, get.srcNAME()))
        pisitools.dosym("/usr/share/kde4/doc/HTML/en/common", "/usr/share/kde4/doc/HTML/%s/%s/common" % (d, get.srcNAME()))
    """

    pisitools.dodoc("NEWS", "README")
    
    pisitools.remove("/usr/share/icons/hicolor/64x64/apps/kdcraw.png")
    pisitools.remove("/usr/lib/libksane.so.0")
    pisitools.remove("/usr/lib/libkipi.so.10.0.0")
    pisitools.remove("/usr/lib/libkdcraw.so")
    pisitools.remove("/usr/lib/libkdcraw.so.22")
    pisitools.remove("/usr/share/kde4/apps/kipi/data/kipi-icon.svg")
    pisitools.remove("/usr/bin/kxmlkipicmd")
    pisitools.remove("/usr/share/kde4/apps/libkdcraw/profiles/srgb-d65.icm")
    pisitools.remove("/usr/lib/libkdcraw.so.22.0.0")
    pisitools.remove("/usr/share/kde4/apps/kxmlkipicmd/kxmlkipicmd_defaultui.rc")
    pisitools.remove("/usr/share/kde4/apps/libkdcraw/profiles/prophoto.icm")
    pisitools.remove("/usr/share/icons/hicolor/32x32/apps/kdcraw.png")
    pisitools.remove("/usr/share/kde4/apps/libkdcraw/profiles/applergb.icm")
    pisitools.remove("/usr/share/icons/hicolor/16x16/actions/black-white.png")
    pisitools.remove("/usr/share/kde4/apps/kipi/data/kipi-plugins_logo.png")
    pisitools.remove("/usr/lib/libkexiv2.so")
    pisitools.remove("/usr/lib/libkipi.so")
    pisitools.remove("/usr/share/icons/hicolor/48x48/apps/kdcraw.png")
    pisitools.remove("/usr/share/kde4/apps/kipi/kipiplugin_kxmlhelloworldui.rc")
    pisitools.remove("/usr/lib/kde4/kipiplugin_kxmlhelloworld.so")
    pisitools.remove("/usr/lib/pkgconfig/libkdcraw.pc")
    pisitools.remove("/usr/share/kde4/apps/libkdcraw/profiles/srgb.icm")
    pisitools.remove("/usr/share/icons/hicolor/16x16/apps/kipi.png")
    pisitools.remove("/usr/lib/pkgconfig/libksane.pc")
    pisitools.remove("/usr/share/icons/hicolor/32x32/apps/kipi.png")
    pisitools.remove("/usr/share/kde4/apps/kipi/data/kipi-logo.svg")
    pisitools.remove("/usr/lib/pkgconfig/libkexiv2.pc")
    pisitools.remove("/usr/lib/libksane.so.0.2.0")
    pisitools.remove("/usr/share/kde4/services/kipiplugin_kxmlhelloworld.desktop")
    pisitools.remove("/usr/lib/cmake/KSane/KSaneConfig.cmake")
    pisitools.remove("/usr/lib/libkipi.so.10")
    pisitools.remove("/usr/lib/libkexiv2.so.11")
    pisitools.remove("/usr/share/kde4/apps/libkdcraw/profiles/adobergb.icm")
    pisitools.remove("/usr/share/icons/hicolor/16x16/actions/color.png")
    pisitools.remove("/usr/lib/libksane.so")
    pisitools.remove("/usr/share/icons/hicolor/128x128/apps/kdcraw.png")
    pisitools.remove("/usr/share/icons/hicolor/16x16/actions/gray-scale.png")
    pisitools.remove("/usr/share/icons/hicolor/48x48/apps/kipi.png")
    pisitools.remove("/usr/share/kde4/servicetypes/kipiplugin.desktop")
    pisitools.remove("/usr/share/kde4/apps/libkdcraw/profiles/widegamut.icm")
    pisitools.remove("/usr/share/icons/hicolor/128x128/apps/kipi.png")
    pisitools.remove("/usr/lib/pkgconfig/libkipi.pc")
    pisitools.remove("/usr/share/kde4/apps/libkexiv2/data/topicset.iptc-subjectcode.xml")
    pisitools.remove("/usr/lib/libkexiv2.so.11.1.0")
    pisitools.remove("/usr/share/kde4/apps/kxmlkipicmd/kxmlkipicmd_gwenviewui.rc")
    pisitools.remove("/usr/share/icons/hicolor/22x22/apps/kipi.png")
    pisitools.remove("/usr/include/kde4/libksane/version.h")
    pisitools.remove("/usr/include/kde4/libksane/libksane_export.h")
    pisitools.remove("/usr/include/kde4/libksane/ksane.h")
Ejemplo n.º 3
0
def install():
    kde4.install("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("COPYING*", "README", "doc/status.txt")
    
    #for <Icon></Icon>
    pisitools.dopixmaps("braindump/data/icons/hi32-app-braindump.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-braindump.png", "calligra-braindump.png")
    
    pisitools.dopixmaps("gemini/pics/hi32-app-calligragemini.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligragemini.png", "calligra-gemini.png")

    pisitools.dopixmaps("flow/pics/hi32-app-calligraflow.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligraflow.png", "calligra-flow.png")

    pisitools.dopixmaps("karbon/pics/app/hi32-app-calligrakarbon.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrakarbon.png", "calligra-karbon.png")

    pisitools.dopixmaps("kexi/pics/app/hi32-app-calligrakexi.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrakexi.png", "calligra-kexi.png")

    pisitools.dopixmaps("plan/pics/hi32-app-calligraplan.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligraplan.png", "calligra-plan.png")

    pisitools.dopixmaps("sheets/data/pics/hi32-app-calligrasheets.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrasheets.png", "calligra-sheets.png")

    pisitools.dopixmaps("stage/pics/hi32-app-calligrastage.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrastage.png", "calligra-stage.png")

    pisitools.dopixmaps("words/pics/hi32-app-calligrawords.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrawords.png", "calligra-words.png")
Ejemplo n.º 4
0
def install():
    kde4.install()

    pisitools.dodir("/var/cache/quassel")
    shelltools.chmod("%s/var/cache/quassel" % get.installDIR(), 0770)

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "gpl-?.0.txt")
Ejemplo n.º 5
0
def install():
    kde4.install()

    #Also add symlink for qt-only applications
    pisitools.dosym("%s/plugins/phonon_backend/phonon_vlc.so" % kde4.modulesdir, "%s/phonon_backend/libphonon_vlc.so" % qt4.plugindir)

    pisitools.dodoc("AUTHORS", "COPYING*")
Ejemplo n.º 6
0
def install():
    kde4.install()

    pisitools.dodoc("ChangeLog", "README", "THANKS")

    pythonmodules.fixCompiledPy("/usr/share/kde4/apps/frescobaldi/lib/frescobaldi_app") 
    pythonmodules.fixCompiledPy("/usr/share/kde4/apps/frescobaldi/lib")
Ejemplo n.º 7
0
def install():
    for klasorler in shelltools.ls("."):
        if klasorler in SkipFiles:
            continue
        shelltools.cd(klasorler)
        kde4.install("DESTDIR=%s" % get.installDIR())
        shelltools.cd("../")
Ejemplo n.º 8
0
def install():
    kde4.install()

    #install SVG files
    shelltools.copytree("scalable", "%s/usr/share/icons/oxygen/scalable" % get.installDIR())
    pisitools.remove("/usr/share/icons/oxygen/scalable/*.sh")

    #delete kmplayer icons from oxygen theme
    prefix = "/usr/share/icons/oxygen/"
    conflictingIcons = ("kmplayer", "digikam", "showfoto")

    for size in (16, 22, 32, 48, 64, 128):
        for icon in conflictingIcons:
            pisitools.remove("%s%sx%s/apps/%s.png" % (prefix, size, size, icon))

    for icon in conflictingIcons:
        pisitools.remove("%sscalable/apps/%s.svgz" % (prefix, icon))

    #Unzip svgz icons to better compress them with lzma (in install.tar.lzma)
    for root, dirs, files in os.walk("%s/%s/scalable" % (get.installDIR(), prefix)):
        for name in files:
            if name.endswith(".svgz"):
                f = os.path.join(root, name)
                mygunzip(f)

    pisitools.dodoc("AUTHORS", "CONTRIBUTING", "COPYING")
Ejemplo n.º 9
0
def install():
    kde4.install()

    pisitools.dosym("/usr/share/icons/hicolor/64x64/apps/kshutdown.png", "/usr/share/pixmaps/kshutdown.png")

    pisitools.dodoc("LICENSE",  "ChangeLog", "TODO")
    pisitools.dohtml("README.html")
Ejemplo n.º 10
0
def install():
    kde4.install()

    # pykde4uic symlink
    pisitools.dosym("/usr/lib/%s/site-packages/PyQt4/uic/pykdeuic4.py" % get.curPYTHON(), "/usr/bin/pykde4uic")
    # pykdeuic4 symlink (due to -DPYKDEUIC4_ALTINSTALL=TRUE) to fix sandbox violation
    pisitools.dosym("/usr/lib/%s/site-packages/PyQt4/uic/pykdeuic4.py" % get.curPYTHON(), "/usr/bin/pykdeuic4")
Ejemplo n.º 11
0
def install():
    kde4.install()

    pisitools.dodoc("COPYING*", "README")

    # those come from subversion package, colorsvn is from colorsvn package #16910
    for f in ["svnrevertlast", "svnlastchange", "svnlastlog", "colorsvn"]:
        pisitools.remove("/usr/bin/%s" % f)
Ejemplo n.º 12
0
def install():
    #for installing rbackend mkdir needed directory(for R-2.5.0)
    pisitools.dodir("/usr/lib/R/library")

    kde4.install()

    # TODO: this one seems better than the one in kdelibs
    pisitools.remove("/usr/share/kde4/apps/katepart/syntax/r.xml")
Ejemplo n.º 13
0
def install():
    kde4.install()

    """
    for d in ["sv"]:
        pisitools.remove("/usr/share/kde4/doc/HTML/%s/%s/common" % (d, get.srcNAME()))
        pisitools.dosym("/usr/share/kde4/doc/HTML/en/common", "/usr/share/kde4/doc/HTML/%s/%s/common" % (d, get.srcNAME()))
    """

    pisitools.dodoc("NEWS", "README")
Ejemplo n.º 14
0
def install():
    kde4.install()
    
    # fix for package-manager
    pisitools.dosym("/usr/share/icons/nuvola/16x16/actions/list-add.png", "/usr/share/icons/nuvola/16x16/actions/add.png")
    pisitools.dosym("/usr/share/icons/nuvola/22x22/actions/list-add.png", "/usr/share/icons/nuvola/22x22/actions/add.png")
    pisitools.dosym("/usr/share/icons/nuvola/32x32/actions/list-add.png", "/usr/share/icons/nuvola/32x32/actions/add.png")
    pisitools.dosym("/usr/share/icons/nuvola/48x48/actions/list-add.png", "/usr/share/icons/nuvola/48x48/actions/add.png")

    pisitools.dodoc("COPYING*", "README")
Ejemplo n.º 15
0
def install():
    kde4.install()

    """
    for d in ["et", "sv", "uk"]:
        pisitools.remove("/usr/kde/4/share/doc/HTML/%s/%s/common" % (d, get.srcNAME()))
        pisitools.dosym("/usr/kde/4/share/doc/HTML/en/common", "/usr/kde/4/share/doc/HTML/%s/%s/common" % (d, get.srcNAME()))
    """

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

    pisitools.dosym("/usr/share/icons/hicolor/128x128/apps/choqok.png", "/usr/share/pixmaps/choqok.png")

    # Dont pollute Actions menu with useless service menus
    pisitools.remove("/usr/share/kde4/services/ServiceMenus/choqok_share.desktop")
    pisitools.remove("/usr/share/kde4/services/ServiceMenus/choqok_upload.desktop")

    pisitools.dodoc("AUTHORS", "changelog", "COPYING", "README", "TODO")
Ejemplo n.º 17
0
def install():
    autotools.install("INSTALL_ROOT=%s" % get.installDIR())

    shelltools.cd("kdeplasma")
    kde4.install()
    shelltools.cd("..")

    pisitools.insinto("/usr/share/pixmaps", "qstardict/pixmaps/qstardict.png")
    pisitools.removeDir("/usr/share/doc/qstardict")
    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README", "THANKS")
Ejemplo n.º 18
0
def install():
    kde4.install()
    
    # remove conlicks with kdepim  
    pisitools.remove("/usr/share/akonadi/agents/googlecontactsresource.desktop")
    pisitools.remove("/usr/share/akonadi/agents/googlecalendarresource.desktop")
    pisitools.remove("/usr/bin/akonadi_googlecalendar_resource")
    pisitools.remove("/usr/bin/akonadi_googlecontacts_resource")

    pisitools.dodoc("CHANGELOG", "LICENSE", "README", "TODO")
Ejemplo n.º 19
0
def install():
    kde4.install()

    #move Qt Designer plugins to Qt plugin directory
    pisitools.dodir("%s/designer" % qt4.plugindir)
    pisitools.domove("%s/plugins/designer/*" % kde4.modulesdir, "%s/designer" % qt4.plugindir)
    pisitools.removeDir("%s/plugins/designer" % kde4.modulesdir)

    #Use openssl CA list instead of the outdated KDE list
    pisitools.remove("%s/kssl/ca-bundle.crt" % kde4.appsdir)
    pisitools.dosym("/etc/pki/tls/certs/ca-bundle.crt", "%s/kssl/ca-bundle.crt" % kde4.appsdir)
Ejemplo n.º 20
0
def install():
    kde4.install("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("COPYING*", "README", "doc/status.txt")
    
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaDarker.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/Krita50.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaBlender.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaBrighter.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaBright.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaDark.colors")
Ejemplo n.º 21
0
def install():
    kde4.install()

    # those come from subversion package
    for f in ["svnrevertlast", "svnlastchange", "svnlastlog"]:
        pisitools.remove("/usr/bin/%s" % f)
    # there are no binaries for these manpages
    pisitools.remove("/usr/share/man/man1/transxx.1")
    pisitools.remove("/usr/share/man/man1/reportview.1")

    pisitools.dodoc("README", "COPYING*")
Ejemplo n.º 22
0
def install():
    kde4.install()
    #shelltools.chmod("%s/usr/kde/4/share/apps/pykde4/pykdeuic4.py" % get.installDIR(), 0755)

    # pykde4uic symlink
    pisitools.dosym("/usr/lib/%s/site-packages/PyQt4/uic/pykdeuic4.py" % get.curPYTHON(), "/usr/bin/pykde4uic")

    pisitools.dosym("/usr/bin/rbqtapi", "/usr/bin/rbqt4api")
    pisitools.dosym("/usr/bin/rbqtapi", "/usr/bin/rbkdeapi")
    pisitools.dosym("/usr/bin/rbqtapi", "/usr/bin/rbkde4api")
    #pisitools.dosym("/usr/bin/rbqtapi", "/usr/bin/rbplasmaapi")
    pisitools.dodoc("AUTHORS", "COPYING*", "README")
Ejemplo n.º 23
0
def install():
    kde4.install()
    
    #subversion confilicts
    pisitools.remove("/usr/bin/svnrevertlast")
    pisitools.remove("/usr/bin/svnlastchange")
    pisitools.remove("/usr/bin/svnlastlog")
    
    #colorsvn conflicts
    pisitools.remove("/usr/bin/colorsvn")
    
    pisitools.dodoc("COPYING*", "README")
Ejemplo n.º 24
0
def install():
    kde4.install()

    #move Qt Designer plugins to Qt plugin directory
    pisitools.dodir("%s/designer" % qt4.plugindir)
    pisitools.domove("%s/plugins/designer/*" % kde4.modulesdir, "%s/designer" % qt4.plugindir)
    pisitools.removeDir("%s/plugins/designer" % kde4.modulesdir)

    #Use openssl CA list instead of the outdated KDE list
    pisitools.remove("%s/kssl/ca-bundle.crt" % kde4.appsdir)
    pisitools.dosym("/etc/ssl/certs/ca-certificates.crt", "%s/kssl/ca-bundle.crt" % kde4.appsdir)

    pisitools.dodoc("AUTHORS", "COPYING*", "README", "TODO")
Ejemplo n.º 25
0
def install():
    # TODO: some files belong more than one package
    # Do not use existing system KDM while creating the new one
    shelltools.export("GENKDMCONF_FLAGS", "--no-old")
    kde4.install()

    pisitools.dodir("/var/lib/kdm")

    shelltools.cd("build")

    # Copy desktop files into xsessions directory
    pisitools.insinto("/usr/share/xsessions", "kdm/kfrontend/sessions/kde*.desktop")

    # Put kdmrc into /etc/X11/kdm, so it can be modified on live CDs
    pisitools.domove("/usr/share/kde4/config/kdm/kdmrc", "/etc/X11/kdm/", "kdmrc")
    pisitools.dosym("/etc/X11/kdm/kdmrc", "/usr/share/kde4/config/kdm/kdmrc")

    # Use common Xsession script
    pisitools.remove("/usr/share/kde4/config/kdm/Xsession")
    pisitools.dosym("/usr/lib/X11/xinit/Xsession", "/usr/share/kde4/config/kdm/Xsession")
Ejemplo n.º 26
0
def install():
    # Do not use existing system KDM while creating the new one
    shelltools.export("GENKDMCONF_FLAGS", "--no-old")
    kde4.install()

    pisitools.dodir("/var/lib/kdm")

    shelltools.cd("build")

    # Copy desktop files into xsessions directory
    pisitools.insinto("/usr/share/xsessions", "kdm/kfrontend/sessions/kde*.desktop")

    # Put kdmrc into /etc/X11/kdm, so it can be modified on live CDs
    pisitools.domove("/usr/share/kde4/config/kdm/kdmrc", "/etc/X11/kdm/", "kdmrc")
    pisitools.dosym("/etc/X11/kdm/kdmrc", "/usr/share/kde4/config/kdm/kdmrc")

    # Use common Xsession script
    pisitools.remove("/usr/share/kde4/config/kdm/Xsession")
    pisitools.dosym("/usr/lib/X11/xinit/Xsession", "/usr/share/kde4/config/kdm/Xsession")

    #remove buggy .upd file which causes cursor theme not set and ksplash being locked
    pisitools.remove("/usr/share/kde4/apps/kconf_update/mouse_cursor_theme.upd")
Ejemplo n.º 27
0
def install():
    kde4.install("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("COPYING*", "README", "doc/status.txt")

    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaDarker.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/Krita50.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaBlender.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaBrighter.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaBright.colors")
    pisitools.remove("/usr/share/kde4/apps/color-schemes/KritaDark.colors")
    
    #for <Icon></Icon>
    pisitools.dopixmaps("braindump/data/icons/hi32-app-braindump.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-braindump.png", "calligra-braindump.png")

    pisitools.dopixmaps("flow/pics/hi32-app-calligraflow.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligraflow.png", "calligra-flow.png")

    pisitools.dopixmaps("karbon/pics/app/hi32-app-calligrakarbon.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrakarbon.png", "calligra-karbon.png")

    pisitools.dopixmaps("kexi/pics/app/hi32-app-calligrakexi.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrakexi.png", "calligra-kexi.png")

    pisitools.dopixmaps("plan/pics/hi32-app-calligraplan.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligraplan.png", "calligra-plan.png")

    pisitools.dopixmaps("sheets/data/pics/hi32-app-calligrasheets.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrasheets.png", "calligra-sheets.png")

    pisitools.dopixmaps("stage/pics/hi32-app-calligrastage.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrastage.png", "calligra-stage.png")

    pisitools.dopixmaps("words/pics/hi32-app-calligrawords.png")
    pisitools.rename("/usr/share/pixmaps/hi32-app-calligrawords.png", "calligra-words.png")
Ejemplo n.º 28
0
def install():
    kde4.install()

    pisitools.dodoc("COPYING", "README")
Ejemplo n.º 29
0
def install():
    kde4.install()
    
    pisitools.dodoc("COPYING*")
Ejemplo n.º 30
0
def install():
    kde4.install()

    pisitools.dodoc("COPYING*", "MAINTAINERS", "README*")
Ejemplo n.º 31
0
def install():
    kde4.install()
Ejemplo n.º 32
0
def install():
    kde4.install()

    pisitools.dodoc("AUTHORS", "COPYING*", "README")
Ejemplo n.º 33
0
def install():
    kde4.install()

    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "TODO", "README")
Ejemplo n.º 34
0
def install():
    kde4.install()

    pisitools.dodoc("AUTHORS", "README*", "LICENSE*")
Ejemplo n.º 35
0
def install():
    kde4.install()

    pisitools.dodoc("ChangeLog", "COPYING")
Ejemplo n.º 36
0
def install():
    kde4.install()

    pisitools.dodoc("AUTHORS", "Changelog", "COPYING*", "README*")
Ejemplo n.º 37
0
def install():
    kde4.install()

    pisitools.dodoc("doc/*", "AUTHORS", "CHANGELOG", "README", "TODO")
Ejemplo n.º 38
0
def install():
    kde4.install()

    pisitools.dodoc("COPYING*", "README")
Ejemplo n.º 39
0
def install():
    kde4.install()

    pisitools.dodoc("AUTHORS", "COPYING.LGPL")
Ejemplo n.º 40
0
def install():
    kde4.install()

    pisitools.dodoc("AUTHORS", "README", "NOTES", "TODO", "COPYING*", "ChangeLog")
Ejemplo n.º 41
0
def install():
    kde4.install()

    pisitools.dodoc("LICENSE")