def install(): pisitools.dodir("/usr/share/icons/BCTango") shelltools.cd("..") shelltools.copytree("bctangokde", "%s/usr/share/icons/" % get.installDIR()) shelltools.cd("bctangokde") pisitools.rename("/usr/share/icons/bctangokde", "BCTango") # Symlinks mapping = { "lock.png" : ["actions/object-locked.png"], "systemsettings.png": ["apps/multimedia-volume-control.png"], "printer.png": ["devices/printer-printing.png"], "button_cancel.png": ["actions/no.png", "actions/cancel.png"], "kmenu.png": ["apps/panel.png", "apps/panel_settings.png"], "mail_replyall.png": ["actions/mail-reply-all.png"], "mail_reply.png": ["actions/mail-reply.png"], } for size in (16, 22, 32, 48, 64, 128): for k,values in mapping.items(): for icon in values: try: pisitools.dosym(k, "usr/share/icons/BCTango/%dx%d/%s" % (size, size, icon)) except: pass
def setup(): shelltools.copytree("%s/PyQt-gpl-5.4.1" % get.workDIR(), "%s/Py2Qt-gpl-5.4.1" % get.workDIR()) pythonmodules.run("configure.py --confirm-license \ --assume-shared \ --no-timestamp \ --qsci-api \ --enable=QtCore \ --enable=QtWidgets \ --enable=QtXml \ --enable=QtGui \ --qmake='/usr/bin/qmake' \ --destdir='/usr/lib/python3.4/site-packages' \ --sip-incdir='/usr/include/python3.4' \ CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") shelltools.cd("%s/Py2Qt-gpl-5.4.1" % get.workDIR()) shelltools.system("python configure.py --confirm-license \ --assume-shared \ --no-timestamp \ --qsci-api \ --enable=QtCore \ --enable=QtWidgets \ --enable=QtXml \ --enable=QtGui \ --qmake='/usr/bin/qmake'")
def install(): pisitools.dodir("/usr/share") shelltools.copytree("data", "%s/%s" % (get.installDIR(), datadir)) pisitools.dohtml("data/*.htm") for f in shelltools.ls("%s/%s/" % (get.installDIR(), datadir)): pisitools.remove("%s/%s" % (datadir, f))
def setup(): shelltools.copy("../unifont*.bdf", "./unifont.bdf") shelltools.export("GRUB_CONTRIB", "%s/grub-%s/grub-extras" % (get.workDIR(), get.srcVERSION())) pisitools.cflags.remove("-fstack-protector", "-fasynchronous-unwind-tables", "-fexceptions", "-fPIC") pisitools.cflags.sub("\s?(-O[\ds]|-D_FORTIFY_SOURCE=\d)\s?", " ") #shelltools.system("./linguas.sh") shelltools.system("./autogen.sh") autotools.configure("--disable-werror \ --with-grubdir=grub2 \ --program-transform-name='s,grub,grub2,'\ --program-prefix= \ --with-platform=pc \ --target='i386' \ --htmldir='/usr/share/doc/grub2/html' ") shelltools.copytree("../grub-%s" % (get.srcVERSION().replace("_", "~")), "../grub-%s-efi" % get.srcVERSION()) shelltools.cd("../grub-%s-efi" % get.srcVERSION()) shelltools.system("./autogen.sh") autotools.configure("--disable-werror \ --with-grubdir=grub2 \ --program-transform-name='s,grub,grub2,'\ --program-prefix= \ --with-platform=efi \ --target=x86_64 \ --htmldir='/usr/share/doc/grub2/html' ") shelltools.cd("..")
def install(): xbmcDir = "/usr/share/xbmc" pisitools.dodir(xbmcDir) for fl in ["xbmc.bin", "xbmc-xrandr"]: shelltools.copy(fl, "%s/usr/share/xbmc/" % get.installDIR()) pisitools.dodir("/usr/bin") shelltools.copy("tools/Linux/xbmc.sh", "%s/usr/bin/xbmc" % get.installDIR()) shelltools.chmod("%s/usr/bin/xbmc" % get.installDIR()) #copy data files for dir in ["language", "media", "screensavers", "scripts", "skin", "sounds", "userdata", "visualisations", "system"]: shelltools.copytree(dir, "%s/usr/share/xbmc" % get.installDIR()) #install web server pisitools.dodir("/usr/share/xbmc/web") shelltools.system("/usr/bin/unzip -oq web/Project_Mayhem_III_webserver_v1.0.zip -d %s/usr/share/xbmc/web" % get.installDIR()) #remove .so and .dlls shelltools.unlinkDir("%s/usr/share/xbmc/system/players" % get.installDIR()) shelltools.unlinkDir("%s/usr/share/xbmc/system/cdrip" % get.installDIR()) for root, dirs, files in os.walk(get.installDIR()): for name in files: lname = name.lower() if lname.endswith(".so") or lname.endswith(".dll") or lname.endswith(".a"): shelltools.unlink(os.path.join(root, name)) pisitools.dodoc("*.txt", "README.linux", "LICENSE.GPL")
def install(): pisitools.dodir("/usr/share/icons/Tulliana-2.0") for dir in ("128x128", "64x64", "48x48", "32x32", "22x22", "16x16"): shelltools.copytree(dir, "%s/usr/share/icons/Tulliana-2.0/%s" % (get.installDIR(), dir)) pisitools.insinto("/usr/share/icons/Tulliana-2.0", "index.theme")
def setup(): # for f in ["configure", "libmpdemux/demux_rtp.cpp", "libmpdemux/demux_rtp_internal.h"]: # pisitools.dosed(f, "([\"<])(liveMedia|BasicUsageEnvironment)(\.hh)([\">])", "\\1\\2/\\2\\3\\4") # pisitools.dosed("libmpdemux/demux_rtp.cpp", "GroupsockHelper.hh", "groupsock/GroupsockHelper.hh") shelltools.copytree("../ffmpeg-2.4.2", "ffmpeg") autotools.rawConfigure(' \ --prefix=/usr \ --enable-runtime-cpudetection \ --enable-gui \ --disable-arts \ --disable-liblzo \ --disable-speex \ --disable-openal \ --disable-libdv \ --disable-musepack \ --disable-esd \ --disable-mga \ --disable-ass-internal \ --disable-cdparanoia \ --enable-xvmc \ --enable-radio \ --enable-radio-capture \ --enable-smb \ --language=all \ --enable-ffmpeg_a \ --confdir=/etc/mplayer \ ')
def install(): pisitools.dodir(datadir) shelltools.copytree("data", "%s/%s/" % (get.installDIR(), datadir)) shelltools.copy("*.py", "%s/%s/" % (get.installDIR(), datadir)) pisitools.dodoc("*.txt")
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")
def install(): pisitools.dodir("/usr/share/scourge") for data in os.listdir("."): fixperms(data) shelltools.copytree(data ,"%s/usr/share/scourge" % get.installDIR())
def setup(): shelltools.copytree("%s/PyQt-gpl-5.5" % get.workDIR(), "%s/Py2Qt-gpl-5.5" % get.workDIR()) pythonmodules.run("configure.py --confirm-license \ --assume-shared \ --no-timestamp \ --qsci-api \ --enable=QtXmlPatterns \ --enable=QtSvg \ --enable=QtDBus \ --enable=QtQml \ --enable=QtQuick \ --enable=QtQuickWidgets \ --enable=QtOpenGL \ --enable=QtTest \ --enable=QtSql \ --enable=QtSensors \ --enable=QtCore \ --enable=QtWidgets \ --enable=QtWebKitWidgets \ --enable=QtXml \ --enable=QtGui \ --enable=QtNetwork \ --enable=QtWebKit \ --enable=QtPrintSupport \ --enable=QtX11Extras \ --sip /usr/bin/sip \ --qmake='/usr/lib/qt5/bin/qmake' \ --destdir='/usr/lib/python3.4/site-packages' \ --sip-incdir='/usr/include/python3.4' \ CFLAGS='%s' CXXFLAGS='%s'" % (get.CFLAGS(), get.CXXFLAGS()), pyVer = "3") shelltools.cd("%s/Py2Qt-gpl-5.5" % get.workDIR()) shelltools.system("python configure.py --confirm-license \ --assume-shared \ --no-timestamp \ --qsci-api \ --enable=QtXmlPatterns \ --enable=QtSvg \ --enable=QtDBus \ --enable=QtQml \ --enable=QtQuick \ --enable=QtQuickWidgets \ --enable=QtOpenGL \ --enable=QtTest \ --enable=QtSql \ --enable=QtSensors \ --enable=QtCore \ --enable=QtWidgets \ --enable=QtWebKitWidgets \ --enable=QtXml \ --enable=QtGui \ --enable=QtNetwork \ --enable=QtWebKit \ --enable=QtPrintSupport \ --enable=QtX11Extras \ --destdir='/usr/lib/python2.7/site-packages' \ --sip-incdir='/usr/include/python2.7' \ --sip /usr/bin/sip \ --qmake='/usr/lib/qt5/bin/qmake'")
def install(): shelltools.cd("..") shelltools.copytree("pdfid-%s" % get.srcVERSION(), "%s/usr/share/pdfid/" % get.installDIR()) shelltools.cd(WorkDir) shelltools.chmod(get.installDIR() + "/usr/share/pdfid/pdfid.py", mode=0755) pisitools.dosym("/usr/share/pdfid/pdfid.py", "/usr/bin/pdfid")
def setup(): autotools.autoreconf("-fi") shelltools.copytree("../fftw-%s" % get.srcVERSION(), "../fftw-%s-double" % get.srcVERSION()) shelltools.copytree("../fftw-%s" % get.srcVERSION(), "../fftw-%s-long-double" % get.srcVERSION()) autotools.configure("--enable-sse \ --enable-shared \ --disable-static \ --disable-dependency-tracking \ --enable-threads \ --enable-single") # The only difference here is that there is no --enable-float shelltools.cd("../fftw-%s-double" % get.srcVERSION()) autotools.configure("--enable-sse2 \ --enable-shared \ --disable-static \ --disable-dependency-tracking \ --enable-threads") # The only difference here is --enable-long-double shelltools.cd("../fftw-%s-long-double" % get.srcVERSION()) autotools.configure("--enable-shared \ --disable-static \ --disable-dependency-tracking \ --enable-threads \ --enable-long-double")
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")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dodir("/var/cache/systemtap") pisitools.dodir("/run/systemtap") pisitools.dodir("/var/log/stap-server") pisitools.dodir("/etc/logrotate.d") pisitools.dodir("/etc/stap-server/conf.d") pisitools.dodir("/etc/systemtap/conf.d") pisitools.dodir("/etc/systemtap/script.d") pisitools.dobin("stap-prep") pisitools.domove("/var/run/stap-server", "/run/") pisitools.removeDir("var/run") shelltools.copytree("testsuite", "%s/usr/share/systemtap" % get.installDIR()) pisitools.insinto("/etc/logrotate.d", "initscript/logrotate.stap-server", "stap-server") pisitools.insinto("/etc/conf.d", "initscript/config.stap-server", "stap-server") pisitools.insinto("/etc/systemtap", "initscript/config.systemtap", "config") # Clean uprobes directory #autotools.make("-C %s/usr/share/systemtap/runtime/uprobes clean" % get.installDIR()) pisitools.dodoc("COPYING", "HACKING", "INTERNALS", "README.*")
def install(): autotools.install("prefix=%s/usr \ BINDIR=%s/usr/bin \ LIBDIR=%s/usr/lib \ CONFDIR=%s/usr/share/mplayer \ DATADIR=%s/usr/share/mplayer \ MANDIR=%s/usr/share/man" % (get.installDIR(), get.installDIR(), get.installDIR(), get.installDIR(), get.installDIR(), get.installDIR())) pisitools.dodir("/usr/share/mplayer/Skin") shelltools.copytree("default_skin", "%s/usr/share/mplayer/Skin/default" % get.installDIR()) # Add Turkish raw fonts (though not used as default) pisitools.dodir("/usr/share/mplayer/fonts") shelltools.copytree("default_fonts", "%s/usr/share/mplayer/fonts/turkish-fonts" % get.installDIR()) pisitools.removeDir("/usr/share/mplayer/font") pisitools.dosym("/usr/share/mplayer/fonts/turkish-fonts", "/usr/share/mplayer/font") pisitools.insinto("/etc", "etc/example.conf", "mplayer.conf") pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf") pisitools.insinto("/usr/share/mplayer", "etc/input.conf") pisitools.insinto("/usr/share/mplayer", "etc/menu.conf") pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf") pisitools.dodoc("AUTHORS", "ChangeLog", "README") pisitools.insinto("/usr/share/doc/%s/" % get.srcTAG(), "TOOLS") # midentify script to /usr/bin for emovix, we may also use it pisitools.doexe("TOOLS/midentify", "/usr/bin")
def install(): installdir = get.installDIR() + datadir pisitools.dodir(datadir) pisitools.dodir("%s/applications" % datadir) shelltools.copytree("%s/playonlinux" % get.workDIR(), "%s/" % installdir) pisitools.dobin("%s/playonlinux/playonlinux" % installdir) pisitools.domo("%s/playonlinux/lang/po/tr.po" % installdir, "tr", "pol.mo") # pisitools.domove("usr/share/locale/tr/LC_MESSAGES", "/usr/share/playonlinux/lang/locale/tr") pisitools.dodoc("%s/playonlinux/LICENCE" % installdir, "%s/playonlinux/CHANGELOG" % installdir) shelltools.move( "%s/etc/PlayOnLinux.desktop" % (get.installDIR() + "/usr/share/playonlinux"), "%s/usr/share/applications/PlayOnLinux.desktop" % get.installDIR(), ) shelltools.unlink("%s/usr/bin/playonlinux" % get.installDIR()) shelltools.sym( "%s/usr/share/playonlinux/playonlinux" % get.installDIR(), "%s/usr/bin/playonlinux" % get.installDIR() )
def install(): pisitools.dodir(datadir) shelltools.copytree("data", "%s/%s/nexuiz" % (get.installDIR(), datadir)) pisitools.dodoc("Docs/*.txt") pisitools.dohtml("Docs/*") pisitools.dodoc("Docs/server/*")
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 shelltools.copytree("%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") # Create needed dirs for cadir in ["misc", "private"]: pisitools.dodir("/etc/ssl/%s" % cadir) # No static libs pisitools.remove("/usr/lib/*.a") pisitools.dohtml("doc/*") pisitools.dodoc("CHANGES*", "FAQ", "LICENSE", "NEWS", "README", "doc/*.txt")
def install(): pisitools.insinto(datadir, "gamedata.vfs") fixperms("DATA") shelltools.copytree("DATA", "%s/%s" % (get.installDIR(), datadir)) pisitools.dodoc("../*.txt", "ReadMe.txt")
def install(): suffix = "%s-%s-dom0" % (get.srcVERSION(), get.srcRELEASE()) # install modules autotools.rawInstall("INSTALL_MOD_PATH=%s/" % get.installDIR(), "modules_install") # remove wrong symlinks pisitools.remove("/lib/modules/%s/source" % suffix) pisitools.remove("/lib/modules/%s/build" % suffix) # create true symlinks pisitools.dosym("/usr/src/linux-%s/" % suffix, "/lib/modules/%s/source" % suffix) pisitools.dosym("/usr/src/linux-%s/" % suffix, "/lib/modules/%s/build" % suffix) # insert System.map and bzImage pisitools.insinto("/boot/", "System.map", "System.map-%s" % suffix) pisitools.insinto("/boot/", "vmlinux", "kernel-%s" % suffix) # prepare kernel for module compiliation autotools.make("clean") autotools.make("modules_prepare") # cp source to installDIR for kernel-source package pisitools.dodir("/usr/src") shelltools.copytree("../%s/" % WorkDir, "%s/usr/src/linux-%s/" % (get.installDIR(), suffix)) # create linux symlink pisitools.dosym("/usr/src/linux-%s/" % suffix, "/usr/src/linux") # generate mkinitramfs shelltools.system("/sbin/mkinitramfs kernel=%s --full --root-dir=%s --output=/%s/boot" % (suffix, get.installDIR(), get.installDIR())) # remove modules.* files, they will autogenerated on next boot pisitools.remove("/lib/modules/%s/modules.*" % suffix)
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.copytree("%s/usr/share/pkgconfig" % get.installDIR(), "%s/usr/lib/pkgconfig" % get.installDIR()) pisitools.removeDir("/usr/share/pkgconfig") pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README")
def install(): pisitools.dobin("src/loosecannon") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README") pisitools.dodir("/usr/share") shelltools.copytree("share/loosecannon", "%s/usr/share/" % get.installDIR()) pythonmodules.fixCompiledPy()
def install(): autotools.install("prefix=%(D)s/usr \ BINDIR=%(D)s/usr/bin \ LIBDIR=%(D)s/usr/lib \ CONFDIR=%(D)s/usr/share/mplayer \ DATADIR=%(D)s/usr/share/mplayer \ MANDIR=%(D)s/usr/share/man" % {"D": get.installDIR()}) # set the default skin for gui shelltools.copytree("default_skin", "%s/usr/share/mplayer/skins/default" % get.installDIR()) # codecs conf, not something user will interact with pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf") # example dvb conf pisitools.insinto("/usr/share/mplayer", "etc/dvb-menu.conf") # just for fast access to conf pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf") pisitools.dosym("/etc/mencoder.conf", "/usr/share/mplayer/mencoder.conf") # install docs, tools, examples pisitools.dodoc("AUTHORS", "Changelog", "README", "LICENSE") pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "TOOLS") pisitools.insinto("/%s/%s/" % (get.docDIR(), get.srcNAME()), "DOCS/tech") pythonmodules.fixCompiledPy("/usr/share/doc")
def install(): autotools.install("prefix=%(D)s/usr \ BINDIR=%(D)s/usr/bin \ LIBDIR=%(D)s/usr/lib \ CONFDIR=%(D)s/usr/share/mplayer \ DATADIR=%(D)s/usr/share/mplayer \ MANDIR=%(D)s/usr/share/man" % {"D": get.installDIR()}) # set the default skin for gui shelltools.copytree("default_skin", "%s/usr/share/mplayer/skins/default" % get.installDIR()) # codecs conf, not something user will interact with pisitools.insinto("/usr/share/mplayer", "etc/codecs.conf") # example dvb conf pisitools.insinto("/usr/share/mplayer", "etc/dvb-menu.conf") # just for fast access to conf pisitools.dosym("/etc/mplayer.conf", "/usr/share/mplayer/mplayer.conf") pisitools.dosym("/etc/mencoder.conf", "/usr/share/mplayer/mencoder.conf") # install docs, tools, examples pisitools.dodoc("AUTHORS", "ChangeLog", "README") pisitools.insinto("/usr/share/doc/%s/" % get.srcTAG(), "TOOLS") pisitools.insinto("/usr/share/doc/%s/" % get.srcTAG(), "DOCS/tech") pythonmodules.fixCompiledPy("/usr/share/doc") # we will use our own desktop file and icon pisitools.remove("/usr/share/applications/mplayer.desktop") pisitools.remove("/usr/share/pixmaps/mplayer.xpm")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.chmod("%s/lib/libacl.so.*.*.*" % get.installDIR(), 0755) shelltools.copytree("%s/lib/pkgconfig" % get.installDIR(), "%s/usr/lib/pkgconfig" % get.installDIR()) pisitools.removeDir("/lib/pkgconfig") pisitools.dodoc("README")
def install(): shelltools.makedirs("%s/usr/share/" % get.installDIR()) shelltools.copytree("compiled/dist", "%s/usr/share/nightingale" % get.installDIR()) pisitools.insinto("/usr/share/pixmaps/", "app/branding/nightingale-512.png", "nightingale.png") pisitools.dosym("/usr/share/nightingale/nightingale-bin", "/usr/bin/nightingale") pisitools.dodoc("*.txt", "LICENSE", "README")
def install(): pisitools.dodir("/opt/eclipse") shelltools.copytree("features", "%s/opt/eclipse" % get.installDIR()) shelltools.copytree("plugins", "%s/opt/eclipse" % get.installDIR()) # Fix permissions fixPermissions("%s/opt" % get.installDIR())
def install(): pisitools.dodir(datadir) shelltools.copytree("data", "%s/%s/" % (get.installDIR(), datadir)) shelltools.copy("*.py", "%s/%s/" % (get.installDIR(), datadir)) pisitools.dodoc("*.txt") pisitools.insinto("/usr/share/pixmaps", "data/kuvake.png", "funnyboat.png")
def install(): pisitools.dodir(target) for d in dirs: shelltools.copytree(d, "%s/%s/" % (get.installDIR(), target)) pisitools.dosym("/usr/share/fish-fillets/images/icon.png", "/usr/share/pixmaps/fillets.png") pisitools.dodoc("COPYING")
def install(): pisitools.dodir(target) for d in dirs: shelltools.copytree(d, "%s/%s/" % (get.installDIR(), target))
def install(): pisitools.dodir(datadir) fixperms("media") shelltools.copytree("media", "%s/%s" % (get.installDIR(), datadir))
def install(): pisitools.dodir("/usr/share/warsow") shelltools.copytree("basewsw", "%s/usr/share/warsow/" % get.installDIR()) pisitools.dodoc("docs/*")
def setup(): shelltools.cd("..") shelltools.makedirs("build_python3") shelltools.copytree("./%s" % WorkDir, "build_python3") shelltools.cd(WorkDir)
def install(): pythonmodules.install() pisitools.dodir(pydir) shelltools.copytree("Demo/NumTut", "%s/%s/" % (get.installDIR(), pydir)) pisitools.dodoc("changes.txt", "DEVELOPERS")
def install(): pisitools.dobin("build/vdrift") pisitools.dodir("/usr/share") shelltools.copytree("data", "%s/usr/share/vdrift" % get.installDIR()) pisitools.dodoc("LICENSE", "README*")
def install(): # Kernel driver pisitools.dodir("/lib/modules/%s/kernel/drivers/video" % get.curKERNEL()) shelltools.copy( "usr/src/nv/nvidia.ko", "%s/lib/modules/%s/kernel/drivers/video/nvidia.ko" % (get.installDIR(), get.curKERNEL())) # X driver pisitools.dodir("/usr/lib/xorg/modules/drivers") shelltools.copy( "usr/X11R6/lib/modules/drivers/nvidia_drv.so", "%s/usr/lib/xorg/modules/drivers/nvidia_drv.so" % get.installDIR()) # XvMC library pisitools.dodir("/usr/lib") shelltools.copy("usr/X11R6/lib/libXvMCNVIDIA*", "%s/usr/lib" % get.installDIR()) pisitools.dosym("/usr/lib/libXvMCNVIDIA.so.%s" % get.srcVERSION(), "/usr/lib/libXvMCNVIDIA.so") # Glx library & headers pisitools.dodir("/usr/lib/opengl/nvidia") pisitools.copytree("usr/include", "%s/usr/lib/opengl/nvidia/include" % get.installDIR()) pisitools.copytree("usr/lib", "%s/usr/lib/opengl/nvidia/lib" % get.installDIR()) pisitools.copytree( "usr/X11R6/lib/modules/extensions/", "%s/usr/lib/opengl/nvidia/extensions" % get.installDIR()) pisitools.dosym( "/usr/lib/opengl/nvidia/extensions/libglx.so.%s" % get.srcVERSION(), "/usr/lib/opengl/nvidia/extensions/libglx.so") pisitools.dosym( "/usr/lib/opengl/nvidia/lib/libGLcore.so.%s" % get.srcVERSION(), "/usr/lib/opengl/nvidia/lib/libGLcore.so") pisitools.dosym( "/usr/lib/opengl/nvidia/lib/libGLcore.so.%s" % get.srcVERSION(), "/usr/lib/opengl/nvidia/lib/libGLcore.so.1") pisitools.dosym( "/usr/lib/opengl/nvidia/lib/libGL.so.%s" % get.srcVERSION(), "/usr/lib/opengl/nvidia/lib/libGL.so") pisitools.dosym( "/usr/lib/opengl/nvidia/lib/libGL.so.%s" % get.srcVERSION(), "/usr/lib/opengl/nvidia/lib/libGL.so.1") pisitools.dosym( "/usr/lib/opengl/nvidia/lib/libGL.so.%s" % get.srcVERSION(), "/usr/lib/opengl/nvidia/lib/libGL.so.1.2") # nvidia-cfg library pisitools.dosym( "/usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.%s" % get.srcVERSION(), "/usr/lib/libnvidia-cfg.so") pisitools.dosym( "/usr/lib/opengl/nvidia/lib/libnvidia-cfg.so.%s" % get.srcVERSION(), "/usr/lib/libnvidia-cfg.so.1") # libwfb.so replacement for some GPUs pisitools.insinto( "/usr/lib/xorg/modules", "usr/X11R6/lib/modules/libnvidia-wfb.so.%s" % get.srcVERSION()) pisitools.dosym( "/usr/lib/xorg/modules/libnvidia-wfb.so.%s" % get.srcVERSION(), "/usr/lib/xorg/modules/libwfb.so") # Our libc is TLS enabled so use TLS library pisitools.remove("/usr/lib/opengl/nvidia/lib/libnvidia-tls.so.%s" % get.srcVERSION()) pisitools.dosym( "/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.%s" % get.srcVERSION(), "/usr/lib/libnvidia-tls.so") pisitools.dosym( "/usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so.%s" % get.srcVERSION(), "/usr/lib/libnvidia-tls.so.1") # Documentation pisitools.dodir("/usr/share/doc") shelltools.copytree( "usr/share/doc", "%s/usr/share/doc/%s" % (get.installDIR(), get.srcTAG())) shelltools.copytree("usr/share/man/", "%s/usr/share/man" % get.installDIR()) # nVIDIA utilities pisitools.dobin("usr/bin/nvidia-bug-report.sh") pisitools.dobin("usr/bin/nvidia-settings") pisitools.dobin("usr/bin/nvidia-xconfig")
def install(): pisitools.dodir("/usr/share/crack-attack") shelltools.copytree("sounds", "%s/usr/share/crack-attack/sounds" % get.installDIR())
def setup(): shelltools.copytree("../qwt-%s" % get.srcVERSION(),"../qwt-%s-qt4" % get.srcVERSION()) shelltools.system("qmake qwt.pro") shelltools.cd("../qwt-%s-qt4" % get.srcVERSION()) shelltools.system("qmake-qt4 qwt.pro")
def install(): pisitools.dobin("bin/shutter") shelltools.copytree("share", "%s/usr" % get.installDIR())
def install(): # Installing texmf, texmf-dist, tlpkg for texmf in ["texmf", "texmf-dist"]: shelltools.copytree("%s/%s" % (CoreSource, texmf), "%s/usr/share/%s" % (get.installDIR(), texmf)) shelltools.copytree("tlpkg", "%s/usr/share/tlpkg" % get.installDIR()) shelltools.cd(CoreSource) autotools.install( "bindir=%s/usr/bin texmf=%s/usr/share/texmf/ run_texlinks=true run_mktexlsr=true" % (get.installDIR(), get.installDIR())) # Install documents docs = ["ChangeLog", "README", "BUGS", "NEWS", "README.14m", "PROJECTS"] dirs = ["kpathsea", "dviljk", "dvipsk", "makeindexk", "ps2pkm", "web2c"] pisitools.dodoc("texk/ChangeLog", "texk/README") for d in docs: for dir in dirs: if shelltools.can_access_file("%s/texk/%s/%s" % (get.curDIR(), dir, d)): pisitools.insinto( "usr/share/doc/%s/texk/%s" % (get.srcNAME(), dir), "texk/%s/%s" % (dir, d)) # Remove these directories pisitools.removeDir("/usr/share/texmf/doc") pisitools.removeDir("/usr/share/texmf-dist/doc") for d in [ "web2c", "updmap.d", "fmtutil.d", "texmf.d", "language.dat.d", "language.def.d" ]: pisitools.dodir("/etc/texmf/%s" % d) # Remove those as they will be regenerated by texmf-update pisitools.remove("/usr/share/texmf/web2c/fmtutil.cnf") pisitools.remove("/usr/share/texmf/web2c/texmf.cnf") pisitools.domove("/usr/share/texmf/web2c/updmap.cfg", "/etc/texmf/updmap.d/", "00updmap.cfg") pisitools.dodir("/etc/texmf/dvips.d") pisitools.dodir("/etc/texmf/dvips/config") pisitools.domove("/usr/share/texmf/dvips/config/config.ps", "/etc/texmf/dvips.d/", "00%s-config.ps" % get.srcNAME()) # Create symlinks from format to engines texlivemodules.createSymlinksFormat2Engines() # Handle config files shelltools.cd("%s/usr/share/texmf" % get.installDIR()) texlivemodules.handleConfigFiles(".", "cfg", "cnf") pisitools.dodir("/usr/share/texmf-site") # Symlinks for regenerated files by texmf-update for sym in ["fmtutil.cnf", "texmf.cnf", "updmap.cfg"]: pisitools.dosym("/etc/texmf/web2c/%s" % sym, "/usr/share/texmf/web2c/%s" % sym) pisitools.dosym("/etc/texmf/dvips/config/config.ps", "/usr/share/dvips/config/config.ps") pisitools.dosym("tex", "/usr/bin/virtex") pisitools.dosym("pdftex", "/usr/bin/pdfvirtex") pisitools.dodir("/var/lib/texmf") # Rename mpost to leave room for mplib pisitools.domove("/usr/bin/mpost", "/usr/bin/", "mpost-%s" % get.srcNAME()) pisitools.dosym("mpost-%s" % get.srcNAME(), "/usr/bin/mpost")
def install(): pisitools.dodir("/opt") shelltools.copytree("eclipse", "%s/opt/eclipse" % get.installDIR())
def install(): pisitools.dodir("/usr/share") shelltools.copytree("data", "%s/%s" % (get.installDIR(), sharedir))
def install(): pisitools.dodir(datadir) for i in data: fixperms(i) shelltools.copytree(i, "%s/%s" % (get.installDIR(), datadir))
def install(): mesontools.install() shelltools.copytree("%s/usr/share/pkgconfig" % get.installDIR(), "%s/usr/lib/pkgconfig" % get.installDIR()) pisitools.removeDir("/usr/share/pkgconfig") pisitools.dodoc("COPYING", "README*")
def install(): autotools.install() pisitools.dodoc("ChangeLog", "DESCRIPTION.txt","README*", "STATUS", "devdoc/*.txt") pisitools.dohtml("devdoc/*.html") shelltools.copytree("examples", "%s/usr/share/doc/%s" % (get.installDIR(), get.srcTAG()))
def build(): shelltools.cd("%s" % get.workDIR()) shelltools.copytree("unrar", "libunrar") #changed for version 4.2.4 autotools.make("-C libunrar lib") autotools.make("-C unrar -j1")
def install(): pisitools.dodir(datadir) shelltools.copytree("base", "%s/%s/" % (get.installDIR(), datadir)) for f in ["CC", "ChangeLog", "COPYING", "GPL", "manual.pdf"]: pisitools.dodoc(f)
def install(): pisitools.dodir("/usr/share") shelltools.copytree("data", "%s/usr/share/vdrift" % get.installDIR())
def install(): # prepare and install installed packs list ## pisitools.dodir("/var/lib/texmf/pisilinux/installedpacks") pisitools.dosed("CONTENTS", "^#", deleteLine=True) pisitools.insinto("/var/lib/texmf/pisilinux/installedpkgs", "CONTENTS", "%s_%s.list" % (get.srcNAME(), revnr)) for i in shelltools.ls("texmf-dist"): shelltools.copytree("texmf-dist/%s/" % i, "%s/usr/share/texmf-dist/" % get.installDIR()) shelltools.system( "find texmf-dist -type f -executable -exec chmod 755 %s/usr/share/{} \;" % get.installDIR()) for i in ["tlpkg"]: shelltools.copytree("%s/" % i, "%s/usr/share/" % get.installDIR()) for i in [ "bibtex", "dvips", "fonts", "makeindex", "metafont", "metapost", "mft", "scripts", "tlpkg", "tex" ]: shelltools.system( "find %s -type d -exec install -d -m755 %s/usr/share/texmf-dist/'{}' \;" % (i, get.installDIR())) shelltools.system( "find %s -type f -exec install -m644 '{}' %s/usr/share/texmf-dist/'{}' \;" % (i, get.installDIR())) # clean config files pisitools.dosed("tex/generic/config", "DO NOT EDIT", deleteLine=True, filePattern="language\.d..$") pisitools.dosed("texmf-dist/web2c/updmap.cfg", "^(#!\s*)?(Map|MixedMap)", deleteLine=True) ## pisitools.dosed("%s/usr/share/texmf-dist/fmtutil.cnf" % get.installDIR(), "aleph", deleteLine=True) # install config files cfs = [ "chktex/chktexrc", "web2c/mktex.cnf", "web2c/updmap.cfg", "web2c/fmtutil.cnf", "dvips/config/config.ps", "dvipdfmx/dvipdfmx.cfg", "tex/generic/config/language.dat", "tex/generic/config/language.def", "tex/generic/tex-ini-files/pdftexconfig.tex", "ttf2pk/ttf2pk.cfg", "xdvi/XDvi" ] for cf in cfs: d = "/".join(cf.split("/")[:-1]) p = cf if shelltools.isFile(cf) else "texmf-dist/%s" % cf pisitools.insinto("/etc/texmf/%s" % d, p) #pisitools.dosym("/etc/texmf/web2c/texmf.cnf", "/usr/share/texmf-dist/web2c/texmf.cnf") # fix sandbox violations #pisitools.dosed("texmf-dist/scripts/texlive/texlinks.sh", '"\$symlinkdir', r'"%s/$symlinkdir' % get.installDIR()) # create symlinks pisitools.dodir("/usr/bin") #shelltools.system("texmf-dist/scripts/texlive/texlinks.sh -f %s/usr/share/texmf-dist/web2c/fmtutil.cnf %s/usr/bin" % ((get.installDIR(), ) * 2)) # remove upstream updmap.cfg: it contains too many maps ## pisitools.remove("/usr/share/texmf-dist/updmap.cfg") # remove unneeded dir pisitools.removeDir("/usr/share/texmf-dist/scripts/context/stubs/mswin") pisitools.removeDir("/usr/share/texmf-dist/scripts/context/stubs/win64") # link programs from /usr/share/texmf-dist/scripts linked_scripts = """ a2ping/a2ping.pl accfonts/mkt1font accfonts/vpl2ovp accfonts/vpl2vpl adhocfilelist/adhocfilelist.sh arara/arara.sh attachfile2/pdfatfi.pl bundledoc/arlatex bundledoc/bundledoc checkcites/checkcites.lua checklistings/checklistings.sh chklref/chklref.pl chktex/chkweb.sh chktex/deweb.pl cjk-gs-integrate/cjk-gs-integrate.pl clojure-pamphlet/pamphletangler cluttex/cluttex.lua context/perl/mptopdf.pl context/stubs/unix/context context/stubs/unix/contextjit context/stubs/unix/luatools context/stubs/unix/mtxrun context/stubs/unix/mtxrunjit context/stubs/unix/texexec context/stubs/unix/texmfstart ctan-o-mat/ctan-o-mat.pl ctanbib/ctanbib ctanify/ctanify ctanupload/ctanupload.pl de-macro/de-macro dosepsbin/dosepsbin.pl dtxgen/dtxgen dviasm/dviasm.py dviinfox/dviinfox.pl epstopdf/epstopdf.pl findhyph/findhyph fontools/afm2afm fontools/autoinst fontools/ot2kpx fragmaster/fragmaster.pl installfont/installfont-tl jfmutil/jfmutil.pl ketcindy/ketcindy.sh latex-git-log/latex-git-log latex-papersize/latex-papersize.py latex2man/latex2man latex2nemeth/latex2nemeth latexdiff/latexdiff-vc.pl latexdiff/latexdiff.pl latexdiff/latexrevise.pl latexfileversion/latexfileversion latexindent/latexindent.pl latexmk/latexmk.pl latexpand/latexpand ltxfileinfo/ltxfileinfo ltximg/ltximg.pl luaotfload/luaotfload-tool.lua lwarp/lwarpmk.lua make4ht/make4ht match_parens/match_parens mf2pt1/mf2pt1.pl mkjobtexmf/mkjobtexmf.pl pdfbook2/pdfbook2 pdfcrop/pdfcrop.pl pdfjam/pdfjam pdflatexpicscale/pdflatexpicscale.pl pdftex-quiet/pdftex-quiet pdfxup/pdfxup pfarrei/a5toa4.tlu pfarrei/pfarrei.tlu pkfix-helper/pkfix-helper pkfix/pkfix.pl ps2eps/ps2eps.pl purifyeps/purifyeps pythontex/depythontex.py pythontex/pythontex.py simpdftex/simpdftex srcredact/srcredact.pl sty2dtx/sty2dtx.pl tex4ebook/tex4ebook tex4ht/ht.sh tex4ht/htcontext.sh tex4ht/htlatex.sh tex4ht/htmex.sh tex4ht/httex.sh tex4ht/httexi.sh tex4ht/htxelatex.sh tex4ht/htxetex.sh tex4ht/mk4ht.pl tex4ht/xhlatex.sh texcount/texcount.pl texdef/texdef.pl texdiff/texdiff texdirflatten/texdirflatten texdoc/texdoc.tlu texdoctk/texdoctk.pl texfot/texfot.pl texlive-extra/allcm.sh texlive-extra/allneeded.sh texlive-extra/dvi2fax.sh texlive-extra/dvired.sh texlive-extra/e2pall.pl texlive-extra/fontinst.sh texlive-extra/kpsetool.sh texlive-extra/kpsewhere.sh texlive-extra/ps2frag.sh texlive-extra/pslatex.sh texlive-extra/texconfig-dialog.sh texlive-extra/texconfig-sys.sh texlive-extra/texconfig.sh texlive-extra/texlinks.sh texlive/fmtutil-sys.sh texlive/fmtutil-user.sh texlive/fmtutil.pl texlive/mktexlsr texlive/mktexmf texlive/mktexpk texlive/mktextfm texlive/rungs.tlu texlive/updmap-sys.sh texlive/updmap-user.sh texlive/updmap.pl texliveonfly/texliveonfly.py texloganalyser/texloganalyser texplate/texplate.sh thumbpdf/thumbpdf.pl typeoutfileinfo/typeoutfileinfo.sh xindex/xindex.lua xindy/texindy.pl xindy/xindy.pl """ for p in linked_scripts.split(): bn = shelltools.baseName(p).split(".")[0] if shelltools.isFile("%s/usr/share/texmf-dist/scripts/%s" % (get.installDIR(), p)): pisitools.dosym("/usr/share/texmf-dist/scripts/%s" % p, "/usr/bin/%s" % bn) pisitools.dosym( "/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh", "/usr/bin/listings-ext.sh") # additional symlinks pisitools.dosym("allcm", "/usr/bin/allec") pisitools.dosym("cluttex", "/usr/bin/cllualatex") pisitools.dosym("cluttex", "/usr/bin/clxelatex") pisitools.dosym("epstopdf", "/usr/bin/repstopdf") pisitools.dosym("fmtutil", "/usr/bin/mktexfmt") pisitools.dosym("kpsetool", "/usr/bin/kpsepath") pisitools.dosym("kpsetool", "/usr/bin/kpsexpand") pisitools.dosym("luaotfload-tool", "/usr/bin/mkluatexfontdb") pisitools.dosym("mktexlsr", "/usr/bin/texhash") pisitools.dosym("pdfcrop", "/usr/bin/rpdfcrop") pisitools.dosym("texdef", "/usr/bin/latexdef")
def install(): shelltools.copytree("usr/", "%s/usr" % get.installDIR())
def install(): pisitools.dodir("/usr/share") shelltools.copytree("data", "%s/%s" % (get.installDIR(), datadir)) pisitools.dohtml("data/*.htm")
def install(): # prepare and install installed packs list pisitools.dodir("/var/lib/texmf/pisilinux/installedpacks") pisitools.dosed("CONTENTS", "^#", deleteLine=True) pisitools.insinto("/var/lib/texmf/pisilinux/installedpacks", "CONTENTS", "%s_%s.list" % (get.srcNAME(), revnr)) for i in shelltools.ls("texmf-dist"): shelltools.copytree("texmf-dist/%s/" % i, "%s/usr/share/texmf-dist/" % get.installDIR()) shelltools.system( "find texmf-dist -type f -executable -exec chmod 755 %s/usr/share/{} \;" % get.installDIR()) for i in shelltools.ls("."): if shelltools.isDirectory(i) and not i.startswith("texmf"): shelltools.copytree(i, "%s/usr/share/texmf-dist/" % get.installDIR()) # clean config files pisitools.dosed("tex/generic/config", "DO NOT EDIT", deleteLine=True, filePattern="language\.d..$") pisitools.dosed("texmf-dist/web2c/updmap.cfg", "^(#!\s*)?(Map|MixedMap)", deleteLine=True) pisitools.dosed("%s/usr/share/texmf-dist/web2c/fmtutil.cnf" % get.installDIR(), "aleph", deleteLine=True) # install config files cfs = [ "chktex/chktexrc", "web2c/mktex.cnf", "web2c/updmap.cfg", "web2c/fmtutil.cnf", "dvips/config/config.ps", "dvipdfmx/dvipdfmx.cfg", "tex/generic/config/language.dat", "tex/generic/config/language.def", "tex/generic/config/pdftexconfig.tex", "ttf2pk/ttf2pk.cfg", "xdvi/XDvi" ] for cf in cfs: d = "/".join(cf.split("/")[:-1]) p = cf if shelltools.isFile(cf) else "texmf-dist/%s" % cf pisitools.insinto("/etc/texmf/%s" % d, p) #pisitools.dosym("/etc/texmf/web2c/texmf.cnf", "/usr/share/texmf-dist/web2c/texmf.cnf") # fix sandbox violations #pisitools.dosed("texmf-dist/scripts/texlive/texlinks.sh", '"\$symlinkdir', r'"%s/$symlinkdir' % get.installDIR()) # create symlinks pisitools.dodir("/usr/bin") #shelltools.system("texmf-dist/scripts/texlive/texlinks.sh -f %s/usr/share/texmf-dist/web2c/fmtutil.cnf %s/usr/bin" % ((get.installDIR(), ) * 2)) # remove upstream updmap.cfg: it contains too many maps pisitools.remove("/usr/share/texmf-dist/web2c/updmap.cfg") # manpages already in texlive-bin pisitools.removeDir("/usr/share/texmf-dist/doc/man") # remove unneeded dir pisitools.removeDir("/usr/share/texmf-dist/scripts/context/stubs/mswin") # link programs from /usr/share/texmf-dist/scripts linked_scripts = """ a2ping/a2ping.pl accfonts/mkt1font accfonts/vpl2ovp accfonts/vpl2vpl adhocfilelist/adhocfilelist.sh arara/arara.sh bundledoc/arlatex bundledoc/bundledoc checkcites/checkcites.lua chktex/chkweb.sh chktex/deweb.pl context/perl/mptopdf.pl context/stubs/unix/context context/stubs/unix/ctxtools context/stubs/unix/luatools context/stubs/unix/mtxrun context/stubs/unix/pstopdf context/stubs/unix/texexec context/stubs/unix/texmfstart ctanify/ctanify ctanupload/ctanupload.pl de-macro/de-macro dosepsbin/dosepsbin.pl dtxgen/dtxgen dviasm/dviasm.py epstopdf/epstopdf.pl findhyph/findhyph fontools/afm2afm fontools/autoinst fontools/ot2kpx fragmaster/fragmaster.pl installfont/installfont-tl latex2man/latex2man latexdiff/latexdiff-vc.pl latexdiff/latexdiff.pl latexdiff/latexrevise.pl latexfileversion/latexfileversion latexmk/latexmk.pl latexpand/latexpand ltxfileinfo/ltxfileinfo lua2dox/lua2dox_filter luaotfload/luaotfload-tool.lua match_parens/match_parens mf2pt1/mf2pt1.pl mkjobtexmf/mkjobtexmf.pl oberdiek/pdfatfi.pl pdfcrop/pdfcrop.pl pdfjam/pdf180 pdfjam/pdf270 pdfjam/pdf90 pdfjam/pdfbook pdfjam/pdfflip pdfjam/pdfjam pdfjam/pdfjam-pocketmod pdfjam/pdfjam-slides3up pdfjam/pdfjam-slides6up pdfjam/pdfjoin pdfjam/pdfnup pdfjam/pdfpun pfarrei/a5toa4.tlu pfarrei/pfarrei.tlu pkfix-helper/pkfix-helper pkfix/pkfix.pl ps2eps/ps2eps.pl purifyeps/purifyeps simpdftex/simpdftex sty2dtx/sty2dtx.pl texcount/texcount.pl texdef/texdef.pl texdiff/texdiff texdirflatten/texdirflatten texdoc/texdoc.tlu texdoctk/texdoctk.pl texlive/allcm.sh texlive/allneeded.sh texlive/dvi2fax.sh texlive/dvired.sh texlive/e2pall.sh texlive/fmtutil-sys.sh texlive/fmtutil.sh texlive/fontinst.sh texlive/kpsetool.sh texlive/kpsewhere.sh texlive/ps2frag.sh texlive/pslatex.sh texlive/rungs.tlu texlive/texconfig-dialog.sh texlive/texconfig-sys.sh texlive/texconfig.sh texlive/texlinks.sh texlive/updmap-sys.sh texlive/updmap.pl texliveonfly/texliveonfly.py texloganalyser/texloganalyser thumbpdf/thumbpdf.pl typeoutfileinfo/typeoutfileinfo.sh xindy/texindy.pl xindy/xindy.pl """ for p in linked_scripts.split(): bn = shelltools.baseName(p).split(".")[0] if shelltools.isFile("%s/usr/share/texmf-dist/scripts/%s" % (get.installDIR(), p)): pisitools.dosym("/usr/share/texmf-dist/scripts/%s" % p, "/usr/bin/%s" % bn) pisitools.dosym( "/usr/share/texmf-dist/scripts/listings-ext/listings-ext.sh", "/usr/bin/listings-ext.sh") pisitools.dosym("allcm", "/usr/bin/allec") pisitools.dosym("fmtutil", "/usr/bin/mktexfmt") pisitools.dosym("kpsetool", "/usr/bin/kpsexpand") pisitools.dosym("kpsetool", "/usr/bin/kpsepath") pisitools.dosym("epstopdf", "/usr/bin/repstopdf") pisitools.dosym("pdfcrop", "/usr/bin/rpdfcrop") pisitools.dosym("luaotfload-tool", "/usr/bin/mkluatexfontdb")
def install(): pisitools.dodir("/usr/share/cursors/xorg-x11/DMZ/") shelltools.copytree( "Vanilla-DMZ/cursors/", "%s/usr/share/cursors/xorg-x11/DMZ/cursors" % get.installDIR(), True)
def install(): pisitools.dodir("/usr/share/pixmaps") shelltools.copytree("data", "%s/%s" % (get.installDIR(), sharedir)) pisitools.dosym("/usr/share/magicor/sprites/sun.png", "/usr/share/pixmaps/magicor.png")