Exemplo n.º 1
0
def install():
    pisitools.dodir("/usr")
    pisitools.dodir("/usr/lib")

    autotools.rawInstall("prefix=%s/usr \
                          libdir=%s/usr/lib \
                          datadir=%s/usr/share/sgml/%s "\
                          % (get.installDIR(),\
                             get.installDIR(),\
                             get.installDIR(),\
                             openjade))

    pisitools.dosym("openjade", "/usr/bin/jade")
    pisitools.dosym("onsgmls", "/usr/bin/nsgmls")
    pisitools.dosym("osgmlnorm", "/usr/bin/sgmlnorm")
    pisitools.dosym("ospam", "/usr/bin/spam")
    pisitools.dosym("ospent", "/usr/bin/spent")
    pisitools.dosym("osx", "/usr/bin/sgml2xml")

    pisitools.insinto("/usr/share/sgml/%s" % openjade, "dsssl/builtins.dsl") 

    pisitools.insinto("/usr/share/sgml/%s/dsssl" % openjade, "dsssl/dsssl.dtd") 
    pisitools.insinto("/usr/share/sgml/%s/dsssl" % openjade, "dsssl/style-sheet.dtd") 
    pisitools.insinto("/usr/share/sgml/%s/dsssl" % openjade, "dsssl/fot.dtd")
    pisitools.insinto("/usr/share/sgml/%s/pubtext" % openjade, "pubtext/*")

    pisitools.dodoc("COPYING", "NEWS", "README", "VERSION")
    pisitools.dohtml("doc/*.htm")

    pisitools.insinto("/usr/share/doc/%s-%s/jadedoc" % (openjade, get.srcRELEASE()), "jadedoc/*.htm")
    pisitools.insinto("/usr/share/doc/%s-%s/jadedoc/images" % (openjade, get.srcRELEASE()), "jadedoc/images/*")
Exemplo n.º 2
0
def install():
    for binary in ["dos2unix", "mac2unix", "unix2dos", "unix2mac"]:
        pisitools.dobin(binary)

    pisitools.dodoc("NEWS.txt", "README.txt" ,"TODO.txt", "ChangeLog.txt", "COPYING.txt")
    pisitools.dohtml("dos2unix.htm")
    pisitools.doman("man/man1/dos2unix.1")
Exemplo n.º 3
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dodoc("AUTHORS", "NEWS", "README*")
    # Move HTML content into proper directory
    pisitools.dohtml("%s/usr/doc/indent/" % get.installDIR())
    # Remove no-needed directory
    pisitools.removeDir("/usr/doc")
Exemplo n.º 4
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "soinstall")
    if not get.buildTYPE() == "emul32": autotools.rawInstall("-C ijs DESTDIR=%s" % get.installDIR())

    pisitools.dohtml("doc/*")
    pisitools.dodoc("doc/AUTHORS", "doc/COPYING")
Exemplo n.º 5
0
def install():
    pythonmodules.install()

    pisitools.dohtml("doc/")
    pisitools.insinto(htmltxt, "doc/*.txt")

    pisitools.dodoc("README.txt", "COPYING", "ChangeLog")
Exemplo n.º 6
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.removeDir("/usr/share/doc")

    pisitools.dodoc("AUTHORS", "README", "todo.txt", "doc/*.txt")
    pisitools.dohtml("doc/*")
Exemplo n.º 7
0
def install():
    # Kernel driver
    pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, "usr/src/nv/nvidia.ko", "%s.ko" % driver)

    # Libraries and X modules
    pisitools.insinto(libdir, "usr/X11R6/lib/*")
    pisitools.insinto(libdir, "usr/lib/*")

    # Symlinks
    pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % libdir)
    pisitools.dosym("libGLcore.so.%s" % version, "%s/libGLcore.so.1" % libdir)

    pisitools.dosym("libXvMCNVIDIA.so.%s" % version, "%s/libXvMCNVIDIA.so.1" % libdir)
    pisitools.dosym("libXvMCNVIDIA.so.1", "%s/libXvMCNVIDIA.so" % libdir)

    pisitools.dosym("libnvidia-cfg.so.%s" % version, "%s/libnvidia-cfg.so.1" % libdir)
    pisitools.dosym("libnvidia-tls.so.%s" % version, "%s/libnvidia-tls.so.1" % libdir)

    pisitools.dosym("libglx.so.%s" % version, "%s/modules/extensions/libglx.so" % libdir)

    # Remove static libraries
    pisitools.remove("%s/*.a" % libdir)

    pisitools.insinto(datadir, "ld.so.conf")
    pisitools.insinto(datadir, "XvMCConfig")

    # Documentation
    docdir = "xorg-video-%s" % driver
    pisitools.dodoc("LICENSE", destDir=docdir)
    pisitools.dodoc("usr/share/doc/[!h]*", destDir=docdir)
    pisitools.dohtml("usr/share/doc/html/*", destDir=docdir)
Exemplo n.º 8
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.removeDir("/usr/share/doc/xine-lib")

    pisitools.dohtml("doc/faq/faq.html", "doc/hackersguide/*.html", "doc/hackersguide/*.png")
    pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO", "doc/README*", "doc/faq/faq.txt")
Exemplo n.º 9
0
def install():
    shelltools.cd("unix")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    
    shelltools.cd()
    pisitools.dodoc("LICENCE", "README", "doc/puttydoc.txt")
    pisitools.dohtml("doc/*.html")
Exemplo n.º 10
0
def install():

    # execute install target of build system
    shelltools.cd("Qt4/")
    autotools.make("all staticlib CC=\"%s\" CXX=\"%s\" LINK=\"%s\"" % (get.CC(), get.CXX(), get.CC()))
    pisitools.insinto("/%s/lib" % Qt4DIR, "libqscintilla2.so*")

    shelltools.cd("../designer-Qt4/")
    autotools.make("DESTDIR=\"%s/%s/plugins/designer\"" % (get.installDIR(), Qt4DIR))

    # Get Makefile of qscintilla-python via sip
    shelltools.cd("../Python")
    pythonmodules.run("configure.py -p 4 -n ../Qt4 -o ../Qt4")

    # installs not managed by the build system
    shelltools.cd("../Qt4/")
    shelltools.makedirs("%s/%s/include" % (get.installDIR(), Qt4DIR))
    shelltools.copytree("Qsci", "%s/%s/include/Qsci" % (get.installDIR(), Qt4DIR))
    pisitools.insinto("%s/translations" % Qt4DIR, "qscintilla*.qm")

    shelltools.cd("../")
    pisitools.insinto("%s/plugins/designer" % Qt4DIR, "designer-Qt4/libqscintillaplugin.so")

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

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

    pisitools.dodoc("ChangeLog", "LICENSE", "NEWS", "README")
Exemplo n.º 11
0
def install():

    for i in ["*.sty", "*.xmt"]:
        pisitools.insinto("/usr/share/texmf-site/tex/xmltex/%s" % WorkDir, i)

    pisitools.dodoc("README.passivetex", "index.xml")
    pisitools.dohtml("index.html")
Exemplo n.º 12
0
def install():
    # Kernel driver
    pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR, "kernel/nvidia.ko", "%s.ko" % driver)

    # Command line tools and their man pages
    pisitools.dobin("nvidia-smi")
    pisitools.doman("nvidia-smi.1.gz")

    # Libraries and X modules
    for lib in ("GL", "OpenCL", "XvMCNVIDIA", "cuda", "nvidia"):
        pisitools.dolib("lib%s*.so*" % lib, "%s/lib" % base)

    pisitools.dolib("nvidia_drv.so", "%s/drivers" % base)
    pisitools.dolib("libglx.so*", "%s/extensions" % base)
    pisitools.dolib("libvdpau_nvidia.so*", "%s/lib/vdpau" % base)

    # Headers
    pisitools.insinto("%s/include/CL" % base, "cl*.h")
    pisitools.insinto("%s/include/GL" % base, "gl*.h")
    pisitools.insinto("%s/include/cuda" % base, "cuda*.h")

    # Documentation
    docdir = "xorg-video-%s" % driver
    pisitools.dodoc("LICENSE", "NVIDIA_Changelog", "README.txt", destDir=docdir)
    pisitools.dohtml("html/*", destDir=docdir)
Exemplo n.º 13
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "soinstall")

    # For cjk stuff
    #pisitools.dodir("/usr/share/ghostscript/Resource/Init")

    # Install missing header
    #pisitools.insinto("/usr/include/ghostscript", "base/errors.h")

    # Install ijs
    autotools.rawInstall("-C ijs DESTDIR=%s" % get.installDIR())
    pisitools.removeDir("/usr/lib/pkgconfig")

    # Remove ijs examples
    pisitools.remove("/usr/bin/ijs_*_example")
    pisitools.remove("/usr/lib/libijs-0.35.so")
    pisitools.remove("/usr/share/man/man1/ijs-config.1")
    pisitools.remove("/usr/lib/libijs.so")
    pisitools.remove("/usr/include/ijs/ijs_client.h")
    pisitools.remove("/usr/bin/ijs-config")
    pisitools.remove("/usr/include/ijs/ijs_server.h")
    pisitools.remove("/usr/include/ijs/ijs.h")

    # Install docs
    #pisitools.remove("/usr/share/doc/ghostscript/*.htm*")
    #pisitools.remove("/usr/share/doc/ghostscript/*.css")

    pisitools.dohtml("doc/*")
    pisitools.dodoc("doc/AUTHORS", "doc/COPYING")
Exemplo n.º 14
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")
Exemplo n.º 15
0
def install():
    autotools.rawInstall("DESTDIR=%s -j1\
                          ppddir=/usr/share/cups/model/hplip" % get.installDIR())

    # Uncompress ppd files for a better lzma compression (~1.5MB with level -9)
    for ppd in shelltools.ls("%s/usr/share/cups/model/hplip" % get.installDIR()):
        if ppd.endswith(".gz"):
            mygunzip("%s/usr/share/cups/model/hplip/%s" % (get.installDIR(), ppd))

    # Fix bogus HP-cups ppds (Fixed upstream)
    # pisitools.dosed("%s/usr/share/cups/model/hplip/*hpcups*" % get.installDIR(), "^\*(Product:.*\")(.*)\"", "*\\1(\\2)\"")

    # Create a compatibility symlink for foomatic-rip-hplip
    pisitools.dosym("/usr/lib/cups/filter/foomatic-rip", "/usr/lib/cups/filter/foomatic-rip-hplip")

    # Remove the hal preprobe rules as they were causing breakage (bug #479648).
    pisitools.removeDir("/usr/share/hal/fdi/preprobe")

    # Do not mess with sane, init, foomatic etc.
    pisitools.removeDir("/etc/sane.d")

    # This notifies user through libnotify when the printer requires a firmware
    # Should port it to KNotify if possible, argh.
    pisitools.remove("/lib/udev/rules.d/56-hpmud_support.rules")

    # --disable-doc-build used. It doesn't go to the true directory.
    pisitools.dohtml("doc/*")
Exemplo n.º 16
0
def install():
    pisitools.dodir("/usr/share")

    autotools.install()

    pisitools.dodoc("README.txt", "doc/*.txt")
    pisitools.dohtml("doc/html/")
Exemplo n.º 17
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dodoc("Changes", "LICENSE", "README*", "doc/doc.readme", "doc/libmng.txt")

    pisitools.doman("doc/man/*")
    pisitools.dohtml("doc")
Exemplo n.º 18
0
def install():
    shelltools.export("PATH", "%s:%s" % (get.curDIR(), get.ENV("PATH")))
    shelltools.export("BINDIR", "%s/usr/bin" % get.installDIR())
    shelltools.system("./jam0 install")

    pisitools.dohtml("Jam.html", "Jambase.html", "Jamfile.html")
    pisitools.dodoc("README", "RELNOTES", "Porting")
Exemplo n.º 19
0
def install():
    scons.install()

    pisitools.dohtml("*.html", "Documentation/userdocs/'*.html'", "Documentation/*.html")
    pisitools.insinto("/usr/share/doc/%s/Lobby" % get.srcTAG(), "Documentation/Lobby")
    pisitools.insinto("/usr/share/doc/%s/UML" % get.srcTAG(), "Documentation/UML/*")
    pisitools.dodoc("Documentation/*.txt", "Documentation/*.odt")
Exemplo n.º 20
0
def install():
    shelltools.cd("build")
    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    shelltools.cd("..")
    pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LIB", "ChangeLog", "NEWS", "TODO")
    pisitools.dohtml("README.html", "FAQ.html")
Exemplo n.º 21
0
def install():
    autotools.rawInstall("INSTALL_PREFIX=%s MANDIR=/usr/share/man" % get.installDIR())

    # Rename conflicting manpages
    pisitools.rename("/usr/share/man/man1/passwd.1", "ssl-passwd.1")
    pisitools.rename("/usr/share/man/man3/rand.3", "ssl-rand.3")
    pisitools.rename("/usr/share/man/man3/err.3", "ssl-err.3")

    if get.buildTYPE() == "_emul32":
        from distutils.dir_util import copy_tree
        copy_tree("%s/_emul32/lib32/" % get.installDIR(), "%s/usr/lib32" % get.installDIR())
        pisitools.removeDir("/_emul32")
        pisitools.remove("/usr/lib32/*.a")
        path = "%s/usr/lib32/pkgconfig" % get.installDIR()
        for f in shelltools.ls(path): pisitools.dosed("%s/%s" % (path, f), "^(prefix=\/)_emul32", r"\1usr")
        return

    # Move engines to /usr/lib/openssl/engines
    pisitools.dodir("/usr/lib/openssl")
    pisitools.domove("/usr/lib/engines", "/usr/lib/openssl")

    # Certificate stuff
    pisitools.dobin("tools/c_rehash")
    pisitools.dosym("/etc/pki/tls/certs/ca-bundle.crt","/etc/pki/tls/cert.pem")


    # Create CA dirs
    for cadir in ["CA", "CA/private", "CA/certs", "CA/crl", "CA/newcerts"]:
        pisitools.dodir("/etc/pki/%s" % cadir)

    # No static libs
    pisitools.remove("/usr/lib/*.a")

    pisitools.dohtml("doc/*")
    pisitools.dodoc("CHANGES*", "FAQ", "LICENSE", "NEWS", "README", "doc/*.txt")
Exemplo n.º 22
0
def install():
    pisitools.dosed("data/defaults.conf", "speed_down=131072", "speed_down=524288")

    cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dohtml("doc/*")
    pisitools.dodoc("AUTHORS", "LICENSE", "README", "TRANSLATIONS")
Exemplo n.º 23
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # Prepare chroot jail
    for d in ("dev", "etc/bind", "etc/pki/dnssec-keys", "lib/bind", "var/tmp", "var/log", "var/run/named", "var/named"):
        pisitools.dodir("%s/%s" % (CHROOT, d))

    # At least drop a file in it
    shelltools.echo("%s%s/README" % (get.installDIR(), CHROOT), "Chroot jail for named")

    # Create directories
    pisitools.dodir("/var/run/named")
    for d in ("pri", "sec", "slaves", "data", "dynamic"):
        pisitools.dodir("%s/%s" % (BINDDIR, d))

    # Create symlinks
    for src, dest in [
        ("named.ca", "%s/root.cache" % BINDDIR),
        ("%s/pri" % BINDDIR, "/etc/bind/pri"),
        ("%s/sec" % BINDDIR, "/etc/bind/sec"),
    ]:
        pisitools.dosym(src, dest)

    # Documentation
    pisitools.dodoc("CHANGES", "COPYRIGHT", "FAQ", "README")
    pisitools.dodoc("doc/misc/*", "contrib/scripts/named-bootconf.sh", "contrib/scripts/nanny.pl")
    pisitools.dohtml("doc/arm/*")
    pisitools.remove("/usr/share/doc/%s/Makefile*" % get.srcNAME())
Exemplo n.º 24
0
def install():
    pisitools.insinto("/usr/include", "*.h")
    pisitools.dolib("libtinyxml.so.0.%s" % get.srcVERSION())
    pisitools.dosym("/usr/lib/libtinyxml.so.0.%s" % get.srcVERSION(), "/usr/lib/libtinyxml.so.0")
    pisitools.dosym("/usr/lib/libtinyxml.so.0.%s" % get.srcVERSION(), "/usr/lib/libtinyxml.so")
    pisitools.dodoc("changes.txt", "readme.txt")
    pisitools.dohtml("docs/*")
Exemplo n.º 25
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.removeDir("/usr/doc")

    pisitools.dohtml("doc/html/*")
    pisitools.dodoc("AUTHORS", "FAQ", "ChangeLog", "NEWS", "README*", "THANKS")
Exemplo n.º 26
0
def install():
    if get.buildTYPE() == "emul32":
        autotools.rawInstall("-C src \
                              lib_LTLIBRARIES=\"%s\" \
                              DESTDIR=%s" % (emul32_libs, get.installDIR()),
                             "install-libLTLIBRARIES")
        autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "install-pkgconfigDATA")
        return

    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # Disable autospawn by default
    shelltools.system("sed -e '/autospawn/iautospawn=no' -i '%s/etc/pulse/client.conf'" % get.installDIR())
    # Speed up pulseaudio shutdown
    # Lower resample quality, saves CPU
    shelltools.system("sed -e '/exit-idle-time/iexit-idle-time=0' \
                       -e '/resample-method/iresample-method=speex-float-0' \
                       -i '%s/etc/pulse/daemon.conf'" % get.installDIR())

    # Needed for service.py
    pisitools.dodir("/run/pulse")
    pisitools.dodir("/var/lib/pulse")

    # HAL is no longer supported by default
    pisitools.removeDir("/etc/dbus-1")

    pisitools.dodoc("README", "LICENSE", "GPL", "LGPL")
    pisitools.dohtml("doxygen/html/*")
Exemplo n.º 27
0
def install():
    pisitools.dodir("/usr/share")

    autotools.rawInstall("DESTDIR='%s'" % get.installDIR())

    pisitools.dodoc("README.txt", "doc/*.txt")
    pisitools.dohtml("doc/html/")
Exemplo n.º 28
0
def install():
    pisitools.insinto("/usr/include", "CImg.h")

    pisitools.insinto(examples, "examples/*")
    pisitools.insinto(plugins, "plugins/*")
    pisitools.dohtml("html/*")
    pisitools.dodoc("*.txt")
Exemplo n.º 29
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.insinto("%s/html" % docdir, "%s/%s/rasqal/*" % (get.installDIR(), docdir))
    pisitools.removeDir("%s/rasqal" % docdir)
    pisitools.dohtml("*.html")
    pisitools.dodoc("AUTHORS", "ChangeLog*", "COPYING*", "NEWS", "README")
Exemplo n.º 30
0
def install():
    pythonmodules.install()

    pisitools.dodoc("doc/*.txt")
    pisitools.dohtml("doc/*.html")
    pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "doc/build")
    pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()), "examples")
Exemplo n.º 31
0
def install():
    autotools.rawInstall("INSTALL_PREFIX=%s MANDIR=/usr/share/man" %
                         get.installDIR())
    pisitools.dodoc("CHANGES*", "FAQ", "LICENSE", "NEWS", "README",
                    "doc/*.txt")
    pisitools.dohtml("doc/*")

    # create the certs directory.
    pisitools.insinto("/etc/ssl/certs/", "certs/*.pem")
    shelltools.system(
        "OPENSSL=%s/usr/bin/openssl /usr/bin/perl tools/c_rehash %s/etc/ssl/certs"
        % (get.installDIR(), get.installDIR()))

    # The man pages rand.3 and passwd.1 conflict with other packages
    # Rename them to ssl-* and also make a symlink from openssl-* to ssl-*
    pisitools.domove("/usr/share/man/man1/passwd.1", "/usr/share/man/man1/",
                     "ssl-passwd.1")
    pisitools.dosym("ssl-passwd.1", "/usr/share/man/man1/openssl-passwd.1")

    pisitools.domove("/usr/share/man/man3/rand.3", "/usr/share/man/man3/",
                     "ssl-rand.3")
    pisitools.dosym("ssl-rand.3", "/usr/share/man/man3/openssl-rand.3")

    shelltools.chmod("%s/usr/lib/pkgconfig" % get.installDIR())
Exemplo n.º 32
0
def install():
    pisitools.dodir("/usr")
    pisitools.dodir("/usr/lib")

    autotools.rawInstall("prefix=%s/usr \
                          libdir=%s/usr/lib \
                          datadir=%s/usr/share/sgml/%s "\
                          % (get.installDIR(),\
                             get.installDIR(),\
                             get.installDIR(),\
                             openjade))

    pisitools.dosym("openjade", "/usr/bin/jade")
    pisitools.dosym("onsgmls", "/usr/bin/nsgmls")
    pisitools.dosym("osgmlnorm", "/usr/bin/sgmlnorm")
    pisitools.dosym("ospam", "/usr/bin/spam")
    pisitools.dosym("ospent", "/usr/bin/spent")
    pisitools.dosym("osx", "/usr/bin/sgml2xml")

    pisitools.insinto("/usr/share/sgml/%s" % openjade, "dsssl/builtins.dsl")

    pisitools.insinto("/usr/share/sgml/%s/dsssl" % openjade, "dsssl/dsssl.dtd")
    pisitools.insinto("/usr/share/sgml/%s/dsssl" % openjade,
                      "dsssl/style-sheet.dtd")
    pisitools.insinto("/usr/share/sgml/%s/dsssl" % openjade, "dsssl/fot.dtd")
    pisitools.insinto("/usr/share/sgml/%s/pubtext" % openjade, "pubtext/*")

    pisitools.dodoc("COPYING", "NEWS", "README", "VERSION")
    pisitools.dohtml("doc/*.htm")

    pisitools.insinto(
        "/usr/share/doc/%s-%s/jadedoc" % (openjade, get.srcRELEASE()),
        "jadedoc/*.htm")
    pisitools.insinto(
        "/usr/share/doc/%s-%s/jadedoc/images" % (openjade, get.srcRELEASE()),
        "jadedoc/images/*")
Exemplo n.º 33
0
def install():
    # gtk gui
    shelltools.system("echo GenericName=Freeciv-GTK>>client/freeciv.desktop")
    pisitools.insinto("/usr/share/applications", "client/freeciv.desktop",
                      "freeciv-gtk2.desktop")
    autotools.rawInstall('DESTDIR="%s"' % get.installDIR())

    # sdl gui
    pisitools.dobin("client/.libs/freeciv-sdl")
    pisitools.insinto("/usr/share/applications", "client/freeciv-sdl.desktop",
                      "freeciv-sdl.desktop")
    pisitools.insinto("/usr/share/freeciv/themes/gui-sdl",
                      "data/themes/gui-sdl/human")

    # cleanup
    pisitools.remove("/usr/share/freeciv/themes/gui-sdl/human/Makefile*")
    pisitools.remove("/usr/share/applications/freeciv.desktop")

    # docs
    shelltools.system("./manual/freeciv-manual")
    pisitools.dohtml("manual*.html")

    pisitools.dodoc("ChangeLog", "NEWS", "doc/BUGS", "doc/HOWTOPLAY",
                    "doc/README*", "doc/TODO")
Exemplo n.º 34
0
def install():
    autotools.rawInstall("INSTALL_PREFIX=%s MANDIR=/usr/share/man" %
                         get.installDIR())

    # Rename conflicting manpages
    pisitools.rename("/usr/share/man/man1/passwd.1", "ssl-passwd.1")
    pisitools.rename("/usr/share/man/man3/rand.3", "ssl-rand.3")
    pisitools.rename("/usr/share/man/man3/err.3", "ssl-err.3")

    if get.buildTYPE() == "emul32":
        from distutils.dir_util import copy_tree
        copy_tree("%s/emul32/lib32/" % get.installDIR(),
                  "%s/usr/lib32" % get.installDIR())
        pisitools.removeDir("/emul32")
        pisitools.removeDir("/usr/lib32/*.a")
        return

    # Move engines to /usr/lib/openssl/engines
    pisitools.dodir("/usr/lib/openssl")
    pisitools.domove("/usr/lib/engines", "/usr/lib/openssl")

    # Certificate stuff
    pisitools.dobin("tools/c_rehash")
    pisitools.dosym("/etc/pki/tls/certs/ca-bundle.crt",
                    "/etc/pki/tls/cert.pem")

    # Create CA dirs
    for cadir in ["CA", "CA/private", "CA/certs", "CA/crl", "CA/newcerts"]:
        pisitools.dodir("/etc/pki/%s" % cadir)

    # No static libs
    pisitools.remove("/usr/lib/*.a")

    pisitools.dohtml("doc/*")
    pisitools.dodoc("CHANGES*", "FAQ", "LICENSE", "NEWS", "README",
                    "doc/*.txt")
Exemplo n.º 35
0
def install():
    # Kernel driver
    pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR,
                      "usr/src/nv/nvidia.ko", "%s.ko" % driver)

    # Libraries and X modules
    pisitools.insinto(libdir, "usr/X11R6/lib/*")
    pisitools.insinto(libdir, "usr/lib/*")

    # Symlinks
    pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2" % libdir)
    pisitools.dosym("libGLcore.so.%s" % version, "%s/libGLcore.so.1" % libdir)

    pisitools.dosym("libXvMCNVIDIA.so.%s" % version,
                    "%s/libXvMCNVIDIA.so.1" % libdir)
    pisitools.dosym("libXvMCNVIDIA.so.1", "%s/libXvMCNVIDIA.so" % libdir)

    pisitools.dosym("libnvidia-cfg.so.%s" % version,
                    "%s/libnvidia-cfg.so.1" % libdir)
    pisitools.dosym("libnvidia-tls.so.%s" % version,
                    "%s/libnvidia-tls.so.1" % libdir)

    pisitools.dosym("libglx.so.%s" % version,
                    "%s/modules/extensions/libglx.so" % libdir)

    # Remove static libraries
    pisitools.remove("%s/*.a" % libdir)

    pisitools.insinto(datadir, "ld.so.conf")
    pisitools.insinto(datadir, "XvMCConfig")

    # Documentation
    docdir = "xorg-video-%s" % driver
    pisitools.dodoc("LICENSE", destDir=docdir)
    pisitools.dodoc("usr/share/doc/[!h]*", destDir=docdir)
    pisitools.dohtml("usr/share/doc/html/*", destDir=docdir)
Exemplo n.º 36
0
def install():
    shelltools.system("jam -s DESTDIR=%s install_bin" % get.installDIR())

    for data in ["data/npcbehave.xml", "data/npcdefs.xml", "data/pvp_regions.xml"]:
        pisitools.insinto("%s/data" % datadir, data)

    for f in ["eedit.cfg", "npcclient.cfg", "pslaunch.cfg", "psserver.cfg"]:
        pisitools.insinto(datadir, f)

    shelltools.copytree("lang", "%s/%s" % (get.installDIR(), datadir))
    shelltools.copytree("data/eedit", "%s/%s/data" % (get.installDIR(), datadir))
    shelltools.copytree("data/gui", "%s/%s/data" % (get.installDIR(), datadir))
    shelltools.copytree("art/music", "%s/%s/art" % (get.installDIR(), datadir))
    shelltools.copytree("art/runes", "%s/%s/art" % (get.installDIR(), datadir))

    pisitools.insinto("%s/art/world" % datadir, "art/world/sound.xml")
    pisitools.insinto("%s/art" % datadir, "art/racelib.xml")
    pisitools.insinto("%s/art" % datadir, "art/sfxfiles.dtd")

    pisitools.domove("/usr/bin/*", datadir)
    pisitools.removeDir("/usr/bin")

    pisitools.dohtml("docs/*.html")
    pisitools.dodoc("docs/*.txt")
Exemplo n.º 37
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    autotools.rawInstall("DESTDIR=%s" % get.installDIR(), "soinstall")

    # For cjk stuff
    pisitools.dodir("/usr/share/ghostscript/Resource/Init")

    # Install missing header
    pisitools.insinto("/usr/include/ghostscript", "base/errors.h")

    # Install ijs
    shelltools.cd("ijs")
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    shelltools.cd("..")

    # Remove ijs examples
    pisitools.remove("/usr/bin/ijs_*_example")
    #pisitools.removeDir("/usr/lib/pkgconfig")

    # Install docs
    pisitools.remove("/usr/share/doc/ghostscript/*.htm*")
    pisitools.remove("/usr/share/doc/ghostscript/*.css")
    pisitools.dohtml("doc/*")
    pisitools.dodoc("doc/README", "doc/COPYING")
Exemplo n.º 38
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    # Remove autotools installed man pages
    pisitools.removeDir("/usr/share/man")

    # pisitools.doman("html/man/man5/*.5", "html/man/man8/*.8")

    for sbin in [
            "sntp", "ntpdc", "ntpd", "ntp-keygen", "ntp-wait", "ntpq",
            "ntptime", "ntptrace", "tickadj", "ntpsnmpd", "ntpdate"
    ]:
        pisitools.domove("/usr/bin/%s" % sbin, "/usr/sbin")

    # Additional ntpstat binary and man page
    pisitools.dobin("ntpstat-0.2/ntpstat")
    pisitools.doman("ntpstat-0.2/ntpstat.1")

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

    #pisitools.removeDir("/usr/lib")

    pisitools.dohtml("html/*")
    pisitools.dodoc("ChangeLog", "NEWS", "README", "TODO", "WHERE-TO-START")
Exemplo n.º 39
0
def install():
    # installs not managed by the build system
    shelltools.cd("Qt4/")
    pisitools.insinto("/%s/lib" % Qt4DIR, "libqscintilla2.so*")
    shelltools.makedirs("%s/%s/include" % (get.installDIR(), Qt4DIR))
    shelltools.copytree("Qsci",
                        "%s/%s/include/Qsci" % (get.installDIR(), Qt4DIR))
    pisitools.insinto("%s/translations" % Qt4DIR, "qscintilla*.qm")

    shelltools.cd("../")
    pisitools.insinto("%s/plugins/designer" % Qt4DIR,
                      "designer-Qt4/libqscintillaplugin.so")

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

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

    pisitools.dodoc("GPL*", "LICENSE*", "NEWS", "README",
                    "OPENSOURCE-NOTICE.TXT")
Exemplo n.º 40
0
def install():
    # gtk gui
    pisitools.dosed("client/freeciv.desktop", "civclient", "civclient-gtk")
    shelltools.system("echo GenericName=Freeciv-GTK>>client/freeciv.desktop")
    autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
    pisitools.rename("/usr/bin/civclient", "civclient-gtk")

    # sdl gui
    pisitools.insinto("/usr/bin", "client/civclient-sdl", "civclient-sdl")
    pisitools.insinto("/usr/share/applications", "client/freeciv-sdl.desktop",
                      "freeciv-sdl.desktop")
    pisitools.insinto("/usr/share/freeciv/themes/gui-sdl",
                      "data/themes/gui-sdl/human")

    # cleanup
    pisitools.remove("/usr/share/freeciv/themes/gui-sdl/human/Makefile*")

    # docs
    shelltools.system("./manual/civmanual")
    pisitools.dohtml("manual*.html")

    pisitools.dodoc("ChangeLog", "NEWS", "doc/BUGS", "doc/CodingStyle",
                    "doc/HACKING", "doc/HOWTOPLAY", "doc/PEOPLE",
                    "doc/README*", "doc/TODO")
Exemplo n.º 41
0
def install():
    crosstools.rawInstall("PREFIX=%s/usr" % get.installDIR())

    # No static libs
    pisitools.removeDir("/usr/lib")

    pisitools.domove("/usr/bin", "/")
    pisitools.remove("/bin/bzip2")
    pisitools.dodir("/lib")

    shelltools.system("cp -v bzip2-shared %s/bin/bzip2" % get.installDIR())

    for link in ("/bin/bunzip2", "/bin/bzcat"):
        pisitools.remove(link)
        pisitools.dosym("bzip2", link)

    pisitools.dolib("libbz2.so.%s" % libversion, "/lib")

    pisitools.dosym("libbz2.so.1", "/lib/libbz2.so")
    pisitools.dosym("libbz2.so.1.0", "/lib/libbz2.so.1")
    pisitools.dosym("libbz2.so.%s" % libversion, "/lib/libbz2.so.1.0")

    pisitools.dohtml("manual.html")
    pisitools.dodoc("README", "CHANGES", "bzip2.txt")
Exemplo n.º 42
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    #Create Log Dir
    pisitools.dodir("/var/log/icecast")
    pisitools.dodir("/var/run/icecast")

    #Correct permissions
    shelltools.chmod("%s/var/log/icecast" % get.installDIR(), 0755)
    shelltools.chmod("%s/etc/icecast/icecast.xml" % get.installDIR(), 0640)
    shelltools.chmod("%s/var/run/icecast" % get.installDIR(), 0755)

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

    pisitools.doman("debian/icecast2.1")
    pisitools.dohtml("doc/*.html")
    pisitools.dohtml("doc/*.css")
    pisitools.dohtml("doc/*.jpg")
    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README",
                    "TODO", "HACKING")

    pisitools.removeDir("/usr/share/doc/icecast")
Exemplo n.º 43
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())
    pisitools.dosym("links", "/usr/bin/links2")

    pisitools.dohtml("doc/links_cal")
    pisitools.dodoc("AUTHORS", "BUGS", "ChangeLog", "NEWS", "README", "SITES", "TODO")
Exemplo n.º 44
0
def install():
    pythonmodules.install()

    pisitools.dohtml("docs/*")
Exemplo n.º 45
0
def install():
    pythonmodules.install()
    pisitools.insinto(examples, "*.py")

    pisitools.dohtml("doc/*")
    pisitools.dodoc("LICENSE", "README*")
Exemplo n.º 46
0
def install():
    pythonmodules.install()
    pisitools.dohtml("doc/_build/html/")
    pisitools.doman("doc/_build/man/pytest.1")
    pisitools.insinto("%s/python-pytest" % get.docDIR(), "doc/example")
Exemplo n.º 47
0
def install():
    autotools.rawInstall('DESTDIR=%s man1dir=/usr/share/man/man1' %
                         get.installDIR())

    pisitools.dohtml("doc/*")
    pisitools.dodoc("Changes", "README")
Exemplo n.º 48
0
def install():
    pisitools.dosed("setup.py", "distutils.core", "setuptools")
    pisitools.dohtml("docs/*")

    pythonmodules.install()
Exemplo n.º 49
0
def install():
    pisitools.insinto("/usr/lib/snack", "*.so")
    pisitools.insinto("/usr/lib/snack", "*.tcl")

    pisitools.dodoc("../doc/*.txt")
    pisitools.dohtml("../doc/*.html")
Exemplo n.º 50
0
def install():
    pythonmodules.install()

    pisitools.dohtml("docs/")
    #pisitools.insinto(htmltxt, "docs/*.txt")
    pisitools.dodoc("LICENSE", "AUTHORS", "README")
Exemplo n.º 51
0
def install():
    autotools.install()

    pisitools.dohtml("README.html")
    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "THANK*")
Exemplo n.º 52
0
def install():

    if not get.buildTYPE() == 'emul32':
        # Kernel driver
        pisitools.insinto("/lib/modules/%s/extra" % KDIR, "kernel/nvidia.ko")

        pisitools.insinto("/lib/modules/%s/extra" % KDIR,
                          "kernel/nvidia-drm.ko")

        pisitools.insinto("/lib/modules/%s/extra" % KDIR,
                          "kernel/nvidia-uvm.ko")

        pisitools.insinto("/lib/modules/%s/extra" % KDIR,
                          "kernel/nvidia-modeset.ko")

        # Command line tools and their man pages
        pisitools.dobin("nvidia-smi")
        pisitools.doman("nvidia-smi.1.gz")
        pisitools.dobin("nvidia-debugdump")
        #pisitools.dobin("nvidia-xconfig")
        #pisitools.doman("nvidia-xconfig.1.gz")
        pisitools.dobin("nvidia-bug-report.sh")
        pisitools.dobin("nvidia-cuda-mps-server")
        pisitools.dobin("nvidia-cuda-mps-control")
        pisitools.doman("nvidia-cuda-mps-control.1.gz")
        pisitools.dobin("nvidia-modprobe")
        pisitools.doman("nvidia-modprobe.1.gz")
        pisitools.dobin("nvidia-persistenced")
        pisitools.doman("nvidia-persistenced.1.gz")
        #pisitools.dobin("nvidia-settings")
        #pisitools.doman("nvidia-settings.1.gz")

        # dkms
        pisitools.insinto("/usr/src/nvidia-%s" % version, "kernel-dkms/*")

    ###  Libraries

    # 32-bit libraries
    if get.buildTYPE() == 'emul32':
        pisitools.dolib("32/libGL.so.%s" % version, nvlibdir)
        #        pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % nvlibdir)
        pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1" % nvlibdir)
        pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so" % nvlibdir)

        pisitools.dolib("32/libEGL.so.1.1.0", nvlibdir)
        pisitools.dosym("libEGL.so.1.1.0", "%s/libEGL.so.1" % nvlibdir)
        pisitools.dosym("32/libEGL.so.1.1.0", "%s/libEGL.so" % nvlibdir)
        pisitools.dolib("32/libEGL_nvidia.so.%s" % version, libdir)
        pisitools.dolib("32/libGLESv1_CM_nvidia.so.%s" % version, libdir)
        pisitools.dolib("32/libGLESv2_nvidia.so.%s" % version, libdir)

        pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd")
        pisitools.dolib("32/libnvidia-compiler.so.%s" % version, libdir)
        pisitools.dosym("libnvidia-compiler.so.%s" % version,
                        "%s/libnvidia-compiler.so.1" % libdir)
        pisitools.dosym("libnvidia-compiler.so.%s" % version,
                        "%s/libnvidia-compiler.so" % libdir)

        #pisitools.dolib("32/libOpenCL.so.1.0.0", libdir)
        #pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir)
        #pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir)
        #pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so" % libdir)

        pisitools.dolib("32/libnvidia-opencl.so.%s" % version, libdir)
        pisitools.dosym("libnvidia-opencl.so.%s" % version,
                        "%s/libnvidia-opencl.so.1" % libdir)
        pisitools.dosym("libnvidia-opencl.so.1",
                        "%s/libnvidia-opencl.so" % libdir)

        pisitools.dolib("32/libcuda.so.%s" % version, libdir)
        pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir)
        pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir)

        pisitools.dolib("32/libnvcuvid.so.%s" % version, libdir)
        pisitools.dosym("libnvcuvid.so.%s" % version,
                        "%s/libnvcuvid.so.1" % libdir)
        pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir)

        pisitools.dolib("32/libnvidia-ml.so.%s" % version, libdir)
        pisitools.dosym("libnvidia-ml.so.%s" % version,
                        "%s/libnvidia-ml.so.1" % libdir)

        for lib in ("eglcore", "encode", "fatbinaryloader", "fbc", "glcore",  "glsi", \
                    "glvkspirv", "ifr", "opticalflow", "ptxjitcompiler", "tls" ):
            pisitools.dolib("32/libnvidia-%s.so.%s" % (lib, version), libdir)
            pisitools.dosym("libnvidia-%s.so.%s" % (lib, version),
                            "%s/libnvidia-%s.so.1" % (libdir, lib))
            pisitools.dosym("libnvidia-%s.so.%s" % (lib, version),
                            "%s/libnvidia-%s.so" % (libdir, lib))

        pisitools.dolib("32/libvdpau_nvidia.so.%s" % version,
                        "%s/vdpau" % libdir)
        pisitools.dosym("libvdpau_nvidia.so.%s" % version,
                        "%s/libvdpau_nvidia.so" % libdir)

        pisitools.dolib("32/libGLX_nvidia.so.%s" % version, libdir)
        pisitools.dosym("libGLX_nvidia.so.%s" % version,
                        "%s/libGLX_indirect.so.0" % libdir)
        pisitools.dosym("libGLX_nvidia.so.%s" % version,
                        "%s/libGLX_indirect.so" % libdir)

    else:
        # OpenGl library
        pisitools.dolib("libGL.so.%s" % version, nvlibdir)
        #        pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % nvlibdir)
        pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1" % nvlibdir)
        pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so" % nvlibdir)

        pisitools.dolib("libEGL.so.1.1.0", nvlibdir)
        pisitools.dosym("libEGL.so.1.1.0", "%s/libEGL.so.1" % nvlibdir)
        pisitools.dosym("libEGL.so.1.1.0", "%s/libEGL.so" % nvlibdir)
        pisitools.dolib("libEGL_nvidia.so.%s" % version, libdir)
        pisitools.dolib("libGLESv1_CM_nvidia.so.%s" % version, libdir)
        pisitools.dolib("libGLESv2_nvidia.so.%s" % version, libdir)

        pisitools.dolib("libGLdispatch.so.0", libdir)
        pisitools.dosym("libGLdispatch.so.0", "%s/libGLdispatch.so" % libdir)

        # OpenCL
        pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd")
        pisitools.dolib("libnvidia-compiler.so.%s" % version, libdir)
        pisitools.dosym("libnvidia-compiler.so.%s" % version,
                        "%s/libnvidia-compiler.so.1" % libdir)
        pisitools.dosym("libnvidia-compiler.so.%s" % version,
                        "%s/libnvidia-compiler.so" % libdir)

        #pisitools.dolib("libOpenCL.so.1.0.0", libdir)
        #pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir)
        #pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir)
        #pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so" % libdir)

        pisitools.dolib("libnvidia-opencl.so.%s" % version, libdir)
        pisitools.dosym("libnvidia-opencl.so.%s" % version,
                        "%s/libnvidia-opencl.so.1" % libdir)
        pisitools.dosym("libnvidia-opencl.so.1",
                        "%s/libnvidia-opencl.so" % libdir)

        # CUDA
        pisitools.dolib("libcuda.so.%s" % version, libdir)
        pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir)
        pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir)

        pisitools.dolib("libnvcuvid.so.%s" % version, libdir)
        pisitools.dosym("libnvcuvid.so.%s" % version,
                        "%s/libnvcuvid.so.1" % libdir)
        pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir)

        # NVML
        # Provides programmatic access to static information and monitoring
        # data for NVIDIA GPUs, as well as limited managment capabilities
        pisitools.dolib("libnvidia-ml.so.%s" % version, libdir)
        pisitools.dosym("libnvidia-ml.so.%s" % version,
                        "%s/libnvidia-ml.so.1" % libdir)

        pisitools.dolib("libnvidia-cfg.so.%s" % version, libdir)
        pisitools.dosym("libnvidia-cfg.so.%s" % version,
                        "%s/libnvidia-cfg.so.1" % libdir)

        pisitools.dolib("libnvoptix.so.%s" % version, libdir)
        pisitools.dosym("libnvoptix.so.%s" % version,
                        "%s/libnvoptix.so.1" % libdir)
        pisitools.dosym("libnvoptix.so.%s" % version,
                        "%s/libnvoptix.so" % libdir)

        pisitools.dolib("libnvidia-egl-wayland.so.1.1.2", libdir)
        pisitools.dosym("libnvidia-egl-wayland.so.1.1.2",
                        "%s/libnvidia-egl-wayland.so.1" % libdir)
        pisitools.dosym("libnvidia-egl-wayland.so.1.1.2",
                        "%s/libnvidia-egl-wayland.so" % libdir)

        # OpenGL core library and others
        for lib in ("cbl", "eglcore", "encode", "fatbinaryloader", "fbc", "glcore",  "glsi", \
                 "glvkspirv", "ifr", "opticalflow", "ptxjitcompiler", "rtcore", "tls" ):
            pisitools.dolib("libnvidia-%s.so.%s" % (lib, version), libdir)
            pisitools.dosym("libnvidia-%s.so.%s" % (lib, version),
                            "%s/libnvidia-%s.so.1" % (libdir, lib))
            pisitools.dosym("libnvidia-%s.so.%s" % (lib, version),
                            "%s/libnvidia-%s.so" % (libdir, lib))

        # VDPAU driver
        pisitools.dolib("libvdpau_nvidia.so.%s" % version, "%s/vdpau" % libdir)
        pisitools.dosym("libvdpau_nvidia.so.%s" % version,
                        "%s/libvdpau_nvidia.so" % libdir)

        # X modules
        pisitools.dolib("nvidia_drv.so", "%s/modules/drivers" % xorglibdir)
        pisitools.dolib("libglxserver_nvidia.so.%s" % version, "%s" % nvlibdir)
        pisitools.dosym("libglxserver_nvidia.so.%s" % version,
                        "%s/libglx.so.1" % nvlibdir)
        pisitools.dosym("libglxserver_nvidia.so.%s" % version,
                        "%s/libglx.so" % nvlibdir)
        pisitools.dolib("libglxserver_nvidia.so.%s" % version,
                        "%s/modules/extensions" % xorglibdir)
        pisitools.dosym("libglxserver_nvidia.so.%s" % version,
                        "%s/modules/extensions/libglx.so.1" % xorglibdir)
        pisitools.dolib("libGLX_nvidia.so.%s" % version, libdir)
        pisitools.dosym("libGLX_nvidia.so.%s" % version,
                        "%s/libGLX_indirect.so.0" % libdir)
        pisitools.dosym("libGLX_nvidia.so.%s" % version,
                        "%s/libGLX_indirect.so" % libdir)

        pisitools.insinto("/usr/share/X11/xorg.conf.d",
                          "nvidia-drm-outputclass.conf")
    #  pisitools.insinto("/usr/share/nvidia", "nvidia-application-profiles-367.27-rc")
# pisitools.insinto("/usr/share/nvidia", "nvidia-application-profiles-367.27-key-documentation")
#pisitools.insinto("/usr/share/pixmaps", "nvidia-settings.png")

#pisitools.dolib("libnvidia-gtk2.so.%s" % version, libdir)
#pisitools.dolib("libnvidia-gtk3.so.%s" % version, libdir)

# Exit time for emul32 build
#if get.buildTYPE() == 'emul32':
#pisitools.insinto(datadir, "ld.so.conf", "32bit-ld.so.conf")
#return

    pisitools.insinto(datadir, "ld.so.conf")
    pisitools.insinto(datadir, "XvMCConfig")

    # Documentation
    docdir = "xorg-video-%s" % driver_dir_name
    pisitools.dodoc("LICENSE",
                    "NVIDIA_Changelog",
                    "README.txt",
                    destDir=docdir)
    pisitools.dohtml("html/*", destDir=docdir)
Exemplo n.º 53
0
def install():
    autotools.make("DESTDIR=%s x11-install" % get.installDIR())

    pisitools.dohtml("readme.html")
    pisitools.dodoc("docs/*")
Exemplo n.º 54
0
def install():
    pythonmodules.install()

    pisitools.insinto(contrib, "contrib/*")
    pisitools.dohtml("doc/")
    pisitools.dodoc("README", "LICENCE", "CHANGES")
Exemplo n.º 55
0
def install():

    if not get.buildTYPE() == 'emul32':
        # Kernel driver
        pisitools.insinto("/lib/modules/%s/extra/nvidia" % KDIR,
                          "kernel/nvidia.ko")

        # Command line tools and their man pages
        pisitools.dobin("nvidia-smi")
        pisitools.doman("nvidia-smi.1.gz")

    ###  Libraries
    # OpenGl library
    pisitools.dolib("libGL.so.%s" % version, nvlibdir)
    pisitools.dosym("libGL.so.%s" % version, "%s/libGL.so.1.2.0" % nvlibdir)

    # OpenCL
    pisitools.dolib("libOpenCL.so.1.0.0", libdir)
    pisitools.dosym("libOpenCL.so.1.0.0", "%s/libOpenCL.so.1.0" % libdir)
    pisitools.dosym("libOpenCL.so.1.0", "%s/libOpenCL.so.1" % libdir)

    # CUDA
    pisitools.dolib("libcuda.so.%s" % version, libdir)
    pisitools.dosym("libcuda.so.%s" % version, "%s/libcuda.so.1" % libdir)
    pisitools.dosym("libcuda.so.1", "%s/libcuda.so" % libdir)

    pisitools.dolib("libnvcuvid.so.%s" % version, libdir)
    pisitools.dosym("libnvcuvid.so.%s" % version,
                    "%s/libnvcuvid.so.1" % libdir)
    pisitools.dosym("libnvcuvid.so.1", "%s/libnvcuvid.so" % libdir)

    # NVML
    # Provides programmatic access to static information and monitoring
    # data for NVIDIA GPUs, as well as limited managment capabilities
    pisitools.dolib("libnvidia-ml.so.%s" % version, libdir)
    pisitools.dosym("libnvidia-ml.so.%s" % version,
                    "%s/libnvidia-ml.so.1" % libdir)

    pisitools.dolib("libnvidia-cfg.so.%s" % version, libdir)
    pisitools.dosym("libnvidia-cfg.so.%s" % version,
                    "%s/libnvidia-cfg.so.1" % libdir)

    pisitools.dolib("libnvidia-compiler.so.%s" % version, libdir)
    pisitools.dosym("libnvidia-compiler.so.%s" % version,
                    "%s/libnvidia-compiler.so.1" % libdir)

    # OpenGL cpre library
    for lib in ("glcore", "tls"):
        pisitools.dolib("libnvidia-%s.so.%s" % (lib, version), libdir)

    # VDPAU driver
    pisitools.dolib("libvdpau_nvidia.so.%s" % version, "%s/vdpau" % nvlibdir)
    pisitools.dosym(
        "../nvidia-current/vdpau/libvdpau_nvidia.so.%s" % version,
        "%s/vdpau/libvdpau_nvidia.so.1" % nvlibdir.strip(driver_dir_name))

    # X modules
    pisitools.dolib("nvidia_drv.so", "%s/modules/drivers" % nvlibdir)
    pisitools.dolib("libglx.so.%s" % version,
                    "%s/modules/extensions" % nvlibdir)
    pisitools.dosym("libglx.so.%s" % version,
                    "%s/modules/extensions/libglx.so" % nvlibdir)

    # Exit time for emul32 build
    if get.buildTYPE() == 'emul32':
        pisitools.insinto(datadir, "ld.so.conf", "32bit-ld.so.conf")
        return

    pisitools.insinto("/etc/OpenCL/vendors", "nvidia.icd")

    pisitools.insinto(datadir, "ld.so.conf")
    pisitools.insinto(datadir, "XvMCConfig")

    # Documentation
    docdir = "xorg-video-%s" % driver_dir_name
    pisitools.dodoc("LICENSE",
                    "NVIDIA_Changelog",
                    "README.txt",
                    destDir=docdir)
    pisitools.dohtml("html/*", destDir=docdir)
Exemplo n.º 56
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.dohtml("doc/*")
    pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO")
Exemplo n.º 57
0
def install():
    pythonmodules.install()

    pisitools.dodoc("LICENSE", "CHANGES", "README*", "NEWS", "doc/src/*.tex")
    pisitools.dohtml("doc/*")
    pisitools.insinto(examples, "*test.py")
Exemplo n.º 58
0
def install():
    pisitools.insinto("/usr/share/java","dist/*.jar")

    pisitools.dohtml("*.html")
    pisitools.dodoc("README.txt", "LICENSE.txt", "NOTICE.txt", "RELEASE-NOTES.txt")
Exemplo n.º 59
0
def install():
    autotools.install()

    pisitools.removeDir("/usr/doc/")
    pisitools.dohtml("doc/HTML/*.html")
Exemplo n.º 60
0
def install():
    shelltools.cd("hsqldb")
    pisitools.insinto("/usr/share/java", "lib/hsqldb.jar")
    pisitools.dohtml("doc/*.html", "doc/guide/*", "doc-src/*")
    pisitools.dodoc("readme.txt", "doc/*.txt")