def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) shelltools.cd("../sip-%s-pyqt5" % get.srcVERSION()) autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/bin/sip", "py2sip")
def install(): pisitools.dodir("/usr/share/cnazar/") pisitools.insinto("/usr/share/applications/", "cnazar.desktop") pisitools.insinto("/usr/share/cnazar", "*") pisitools.dodoc("AUTHORS", "COPYING", "TODO") pisitools.dobin("cnazar.py") pisitools.rename("/usr/bin/cnazar.py", "cnazar")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # installing schemas by hand since make install causes sandboxviolations pisitools.insinto("/etc/gconf/schemas/", "gecko-mediaplayer.schemas") pisitools.rename("/usr/lib/mozilla", "nsbrowser") pisitools.remove("/%s/%s/INSTALL" % (get.docDIR(), get.srcNAME()))
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) for d in ["color.h", "config.h", "register.h", "ws_symbol_export.h"]: pisitools.insinto(includedir, d) pisitools.insinto("/usr/include/wireshark/epan/", "epan/*.h") pisitools.insinto("/usr/include/wireshark/wsutil/", "wsutil/*.h") pisitools.insinto("/usr/include/wireshark/wiretap/", "wiretap/*.h") pisitools.insinto("/usr/include/wireshark/epan/crypt/", "epan/crypt/*.h") pisitools.insinto("/usr/include/wireshark/epan/ftypes/", "epan/ftypes/*.h") pisitools.insinto("/usr/include/wireshark/epan/dfilter/", "epan/dfilter/*.h") pisitools.insinto("/usr/include/wireshark/epan/dissectors/", "epan/dissectors/*.h") pisitools.insinto("/usr/share/icons/hicolor/16x16/apps/wireshark.png", "image/hi16-app-wireshark.png") pisitools.insinto("/usr/share/icons/hicolor/32x32/apps/wireshark.png", "image/hi32-app-wireshark.png") pisitools.insinto("/usr/share/icons/hicolor/48x48/apps/wireshark.png", "image/hi48-app-wireshark.png") pisitools.insinto("/usr/share/icons/hicolor/16x16/mimetypes/application-vnd.tcpdump.pcap.png", "image/WiresharkDoc-16.png") pisitools.insinto("/usr/share/icons/hicolor/24x24/mimetypes/application-vnd.tcpdump.pcap.png", "image/WiresharkDoc-24.png") pisitools.insinto("/usr/share/icons/hicolor/32x32/mimetypes/application-vnd.tcpdump.pcap.png", "image/WiresharkDoc-32.png") pisitools.insinto("/usr/share/icons/hicolor/48x48/mimetypes/application-vnd.tcpdump.pcap.png", "image/WiresharkDoc-48.png") pisitools.insinto("/usr/share/icons/hicolor/64x64/mimetypes/application-vnd.tcpdump.pcap.png", "image/WiresharkDoc-64.png") pisitools.insinto("/usr/share/icons/hicolor/128x128/mimetypes/application-vnd.tcpdump.pcap.png", "image/WiresharkDoc-128.png") pisitools.insinto("/usr/share/icons/hicolor/256x256/mimetypes/application-vnd.tcpdump.pcap.png", "image/WiresharkDoc-256.png") pisitools.insinto("/usr/share/applications/", "wireshark.desktop") pisitools.insinto("/usr/share/pixmaps/", "image/hi48-app-wireshark.png") pisitools.rename("/usr/share/pixmaps/hi48-app-wireshark.png", "wireshark.png") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README*")
def install(): shelltools.system("unsermake DESTDIR=%s install" % get.installDIR()) pisitools.remove("/usr/kde/3.5/share/applications/kde/kradio.desktop") pisitools.insinto("/usr/share/pixmaps", "kradio3/icons/hi64-app-kradio.png", "kradio.png") for d in shelltools.ls("%s/%s/share/locale/" % (get.installDIR(), get.kdeDIR())): pisitools.rename("%s/share/locale/%s/LC_MESSAGES/%s.mo" % (get.kdeDIR(), d, WorkDir), "kradio.mo")
def install(): pisitools.dobin('build/default/sim') pisitools.rename('/usr/bin/sim', sname) for f in ["config", "font", "music", "pak", "skin", "text"]: pisitools.insinto('/usr/share/%s' % sname, '/'.join((sname, f))) pisitools.insinto('/usr/share/pixmaps', '%s.png' % sname) pisitools.dodoc('%s/*.txt' % sname)
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.insinto("/usr/share/hal/fdi/information/20thirdparty/", "scripts/hal/20-ups-nut-device.fdi") pisitools.dodir("/usr/libexec") for f in shelltools.ls("drivers"): if f.startswith("hald-addon-"): pisitools.dosym("/lib/nut/%s" % f, "/usr/libexec/%s" % f) # needed by scripts, this trick is for safely unmounting /usr pisitools.dosym("/lib/nut/upsdrvctl", "/usr/sbin/upsdrvctl") # nut's own statedir pisitools.dodir(nutconfig["STATE_PATH"]) shelltools.chmod("%s/%s" % (get.installDIR(), nutconfig["STATE_PATH"]), 0770) # let configs work for f in shelltools.ls("%s/%s/*.sample" % (get.installDIR(), nutconfig["CONF_DIR"])): _file = shelltools.baseName(f) pisitools.rename("%s/%s" % (nutconfig["CONF_DIR"], _file), _file[:-7]) # docs examples and cable diagrams pisitools.newdoc("lib/README", "README.lib") pisitools.insinto("%s/%s" % (get.docDIR(), get.srcTAG()), "docs/cables") pisitools.dodoc("ChangeLog", "CREDITS", "MAINTAINERS", "NEWS", "README", "UPGRADING", "docs/FAQ", "docs/*.txt")
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 install(): dirs = ["/usr/bin", "/etc/vim", "/usr/share", "/usr/share/man", "/usr/share/vim"] for a in dirs: pisitools.dodir(a) install_args = ( "DESTDIR=%s \ BINDIR=/usr/bin \ MANDIR=/usr/share/man \ DATADIR=/usr/share" % get.installDIR() ) autotools.rawInstall( "-C src/ %s \ installruntime \ installmacros \ installtutor \ installtools \ install-languages \ install-icons" % install_args ) autotools.rawInstall("-C build-gui/src %s" % install_args, "installvimbin") pisitools.dosym("vim", "/usr/bin/vi") pisitools.dosym("/usr/bin/vim", "/bin/ex") pisitools.rename("/usr/bin/vim-gtk", "gvim") for link in ("evim", "eview", "gview", "gvimdiff", "rgview", "rgvim"): pisitools.dosym("gvim", "/usr/bin/%s" % link)
def install(): autotools.install() # This library is deprecated. Make its usage hard. pisitools.rename("/usr/lib/libXp.so", "libdeprecatedXp.so") pisitools.removeDir("/usr/lib/pkgconfig") pisitools.removeDir("/usr/share")
def install(): pisitools.dodir("/usr/bin") shelltools.cd("src/") autotools.rawInstall("installruntime \ DESTDIR=%s \ BINDIR=/usr/bin \ MANDIR=/usr/share/man \ DATADIR=/usr/share" % get.installDIR()) shelltools.cd("../") # we only need vim binary that is linked against GTK2 # gvim depends on vim, /usr/share/vim is common directory, so it should be deleted pisitools.removeDir("/usr/share/vim") # remove manpages too, it's extracted from vim pisitools.removeDir("/usr/share/man") # remove binaries that are also in vim for bin in ["eview", "evim", "ex", "view", "rview", "rvim", "vimdiff", "vimtutor", "xxd"]: pisitools.remove("/usr/bin/%s" % bin) # remove pre-linked binaries, we should link it manually to vim-gtk pre_linked = ["gview", "gvim", "gvimdiff", "rgview", "rgvim"] for bin in pre_linked: pisitools.remove("/usr/bin/%s" % bin) # rename vim binary to vim-gtk pisitools.rename("/usr/bin/vim", "vim-gtk") # do linking for bin in pre_linked: pisitools.dosym("/usr/bin/vim-gtk", "/usr/bin/%s" % bin)
def install(): autotools.rawInstall("-f client.mk DESTDIR=%s" % get.installDIR()) # Any reason to do this renaming ? pisitools.rename("/usr/lib/%s-%s" % (get.srcNAME(), get.srcVERSION()), "MozillaFirefox") pisitools.remove("/usr/bin/firefox") # new Additional File will replace that #install locales for locale in locales: pisitools.insinto("/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]" % locale, "%s/dist/xpi-stage/locale-%s/*" % (ObjDir, locale), sym=False) pisitools.removeDir("/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/defaults" % locale) pisitools.remove("/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties" % (locale, locale)) pisitools.dosym("../../../../../../browserconfig.properties", "/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties" % (locale, locale)) pisitools.dodir("/usr/lib/MozillaFirefox/dictionaries") shelltools.touch("%s%s/dictionaries/tr-TR.aff" % (get.installDIR(), "/usr/lib/MozillaFirefox")) shelltools.touch("%s%s/dictionaries/tr-TR.dic" % (get.installDIR(), "/usr/lib/MozillaFirefox")) # Install fix language packs pisitools.insinto("/usr/lib/MozillaFirefox/extensions", "./fixlang-ff/*") # Create profile dir, we'll copy bookmarks.html in post-install script pisitools.dodir("/usr/lib/MozillaFirefox/defaults/profile") # Install branding icon pisitools.insinto("/usr/share/pixmaps", "browser/branding/official/default256.png", "firefox.png") # Install docs pisitools.dodoc("LEGAL", "LICENSE")
def install(): shelltools.cd("client") autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/etc/smolt/config.py", "smolt.cfg") pisitools.remove("/usr/share/smolt/client/config.py") pisitools.dosym("/etc/smolt/smolt.cfg", "/usr/share/smolt/client/config.py") # Stupid makefile links executables to wrong place.Remove and link them again. pisitools.dosym("/usr/share/smolt/client/sendProfile.py", "/usr/bin/smoltSendProfile") pisitools.dosym("/usr/share/smolt/client/deleteProfile.py", "/usr/bin/smoltDeleteProfile") pisitools.dosym("/usr/share/smolt/client/smoltGui.py", "/usr/bin/smoltGui") shelltools.touch("%s/etc/smolt/pub-uuid-smolt.pardus.org.tr" % get.installDIR()) shelltools.chmod("%s/etc/smolt/pub-uuid-smolt.pardus.org.tr" % get.installDIR(), 0666) shelltools.touch("%s/etc/smolt/smolt-token-smolt.pardus.org.tr" % get.installDIR()) shelltools.chmod("%s/etc/smolt/smolt-token-smolt.pardus.org.tr" % get.installDIR(), 0666) shelltools.touch("%s/etc/smolt/uuiddb.cfg" % get.installDIR()) shelltools.chmod("%s/etc/smolt/uuiddb.cfg" % get.installDIR(), 0666)
def install(): shelltools.cd("%s/Py2Qt-gpl-5.5.1" % get.workDIR()) autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) # Fix conflicts with python3-pyqt5 pisitools.rename("/usr/bin/pylupdate5", "py2lupdate5") pisitools.rename("/usr/bin/pyrcc5", "py2rcc5") pisitools.rename("/usr/lib/qt5/plugins/PyQt5/libpyqt5qmlplugin.so", "libpy2qt5qmlplugin.so") pisitools.rename("/usr/share/qt5/qsci/api/python/PyQt5.api", "Py2Qt5.api") pisitools.rename("/usr/bin/pyuic5", "py2uic5") pisitools.domove("/usr/share/sip/PyQt5/*", "/usr/share/sip/Py2Qt5") pisitools.removeDir("/usr/share/sip/PyQt5") shelltools.cd("%s/PyQt-gpl-5.5.1" % get.workDIR()) autotools.rawInstall("-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()}) #pisitools.insinto("/usr/share/sip/PyQt5", "./sip/*") # Fix conflicts with python-pyqt5 #pisitools.rename("/usr/bin/pyuic5", "python3-pyuic5") pisitools.dohtml("doc/html/*") pisitools.dodoc("NEWS", "README","LICENSE*")
def install(): shelltools.export("PYTHON", "/usr/bin/python3.4") pythonmodules.install(pyVer="3.4") pisitools.rename("/usr/bin/virtualenv", "virtualenv3") pisitools.dodoc("LICENSE*", "AUTHORS*", "README*")
def install(): pythonmodules.install() pisitools.remove("/usr/share/doc/ipython/README_Windows.txt") pisitools.rename("/usr/share/doc/ipython", get.srcTAG()) pisitools.domove("/usr/share/doc/%s/ipython.el"% get.srcTAG(), "/usr/share/emacs/site-lisp/")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.doman("%s/usr/share/gc/gc.man" % get.installDIR()) shelltools.move("%s/usr/share/gc/" % get.installDIR(), "%s/usr/share/doc/bdwgc/" % get.installDIR()) pisitools.rename("/usr/share/doc/bdwgc/README.linux", "README") pisitools.remove("/usr/share/doc/bdwgc/README.*") pisitools.dodoc ("ChangeLog")
def install(): autotools.rawInstall("-f client.mk DESTDIR=%s" % get.installDIR()) # Any reason to do this renaming ? # realdir = shelltools.ls("%s/usr/lib/firefox-?.?.?" % get.installDIR())[0].replace(get.installDIR(), "") # realdir = shelltools.ls("%s/usr/lib/firefox-?.?" % get.installDIR())[0].replace(get.installDIR(), "") # pisitools.rename(realdir, "MozillaFirefox") pisitools.rename("/usr/lib/firefox-20.0", "MozillaFirefox") pisitools.remove("/usr/bin/firefox") # Additional file will replace that #install locales #for locale in locales: # pisitools.copytree("dist/xpi-stage/locale-%s" % locale, "%s/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]" % (get.installDIR(), locale)) # pisitools.removeDir("/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/defaults" % locale) # pisitools.remove("/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties" % (locale, locale)) # pisitools.dosym("../../../../../../browserconfig.properties", "/usr/lib/MozillaFirefox/extensions/langpack-%[email protected]/chrome/%s/locale/branding/browserconfig.properties" % (locale, locale)) pisitools.dodir("/usr/lib/MozillaFirefox/dictionaries") shelltools.touch("%s%s/dictionaries/tr-TR.aff" % (get.installDIR(), "/usr/lib/MozillaFirefox")) shelltools.touch("%s%s/dictionaries/tr-TR.dic" % (get.installDIR(), "/usr/lib/MozillaFirefox")) # Create profile dir, we'll copy bookmarks.html in post-install script pisitools.dodir("/usr/lib/MozillaFirefox/defaults/profile") # Install branding icon pisitools.insinto("/usr/share/pixmaps", "browser/branding/official/default256.png", "firefox.png") # Install docs pisitools.dodoc("LEGAL", "LICENSE")
def install(): autotools.install() perlmodules.fixLocalPod() pisitools.removeDir("/usr/share/rrdtool/fonts") pisitools.rename("%s/rrdtool-%s" % (get.docDIR(), get.srcVERSION()), get.srcTAG())
def install(): autotools.install() autotools.install("-C contrib") pisitools.dodoc("docs/*.txt", "docs/*.htm") pisitools.rename("/usr/bin/wxrc-2.8", "wxrc") pisitools.rename("/usr/bin/wx-config-2.8", "wxconfig")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # Fix documentation path pisitools.rename("/usr/share/doc/yazpp", get.srcTAG()) pisitools.dodoc("README", "LICENSE", "NEWS", "ChangeLog", "TODO")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dobin("contrib/bfproxy.pl") pisitools.dobin("contrib/bogominitrain.pl") pisitools.dobin("contrib/mime.get.rfc822.pl") pisitools.dobin("contrib/printmaildir.pl") pisitools.dobin("contrib/spamitarium.pl") pisitools.dobin("contrib/stripsearch.pl") pisitools.dobin("contrib/trainbogo.sh") pisitools.rename("/etc/bogofilter.cf.example","bogofilter.cf") pisitools.dohtml("doc/*.html") pisitools.dodoc("AUTHORS", "COPYING", "NEWS*", "README", "RELEASE.NOTES*", "TODO", "GETTING.STARTED", "gpl-3.0.txt", "doc/integrating-with-*", "contrib/bogofilter-qfe.sh", "contrib/bogofilter-milter.pl", "contrib/dot-qmail-bogofilter-default", "contrib/*.example", "contrib/parmtest.sh", "contrib/README.*", "contrib/randomtrain.sh", "contrib/scramble.sh")
def install(): autotools.rawInstall('DESTDIR="%s"' % get.installDIR()) pisitools.rename("/usr/bin/fsdump", "FusionSound-dump") pisitools.dohtml("docs/html/*") pisitools.dodoc("AUTHORS")
def install(): autotools.install() pisitools.dobin("setup/src/vssetup.bin") pisitools.rename("/usr/bin/vegastrike", "vegastrike.bin") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "DOCUMENTATION", "NEWS", "README", "*.txt")
def install(): cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO") # wrapper script to avoid initialization problems with tr_TR locale pisitools.rename("/usr/bin/stellarium", "stellarium-bin")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) for i in ["", "-python"]: pisitools.rename("/%s/libxslt%s-%s" % (get.docDIR(), i, get.srcVERSION()), "libxslt%s" % i) pisitools.dodoc("AUTHORS", "ChangeLog", "Copyright", "FEATURES", "NEWS", "README", "TODO")
def install(): pisitools.insinto("/usr/share/mari0", "mari0_%s.love" % get.srcVERSION()) pisitools.rename("/usr/share/mari0/mari0_%s.love" % get.srcVERSION(), "mari0.love") shelltools.chmod("%s/usr/share/mari0/mari0.love" % get.installDIR(), 0644) pisitools.dodoc("readme.txt")
def install(): shelltools.cd("build-shared") autotools.make("libdb=libdb-3.2.a libcxx=libcxx_3.2.a prefix=%s/usr libdir=%s/usr/lib install" % (get.installDIR(), get.installDIR())) shelltools.cd("../build-static") # slot libraries pisitools.dolib_a("libdb.a") pisitools.rename("/usr/lib/libdb.a", "libdb-3.2.a") pisitools.dolib_a("libdb_cxx.a") pisitools.rename("/usr/lib/libdb_cxx.a", "libdb_cxx-3.2.a") # create needed symlink pisitools.remove("/usr/lib/libdb.so") pisitools.remove("/usr/lib/libdb_cxx.so") pisitools.dosym("/usr/lib/libdb-3.2.so", "/usr/lib/libdb.so.3") # slot all program names to avoid overwriting for file in shelltools.ls("%s/usr/bin/db_*" % get.installDIR()): sourceFile = file.replace(get.installDIR(), "") destinationFile = shelltools.baseName(file.replace("_", "3.2_")) destinationDirectory = shelltools.dirName(sourceFile) pisitools.domove(sourceFile, destinationDirectory, destinationFile) # remove unneeded docs pisitools.removeDir("/usr/docs") # slot headers pisitools.dodir("/usr/include/db3/") pisitools.domove("/usr/include/*.h", "/usr/include/db3/") shelltools.cd("../") pisitools.dodoc("README", "LICENSE")
def install(): # create directories for xdg-utils for path in ["icons/hicolor", "packages", "mime/packages", "applications", "desktop-directories"]: pisitools.dodir("%s/%s" % (sharedir, path)) # create directory for calibre environment module # the install script assumes it's there. pisitools.dodir("/usr/lib/%s/site-packages" % get.curPYTHON()) pythonmodules.run( "setup.py install --root=%s/usr \ --no-compile \ --prefix=/usr \ --libdir=/usr/lib \ --staging-libdir=%s/usr/lib" % (installdir, installdir) ) # clean out files under /usr/share/mime shelltools.system("find %s/%s/mime -maxdepth 1 -type f | xargs rm -f" % (installdir, sharedir)) # add icons under /usr/share/pixmaps pisitools.dosym("%s/calibre/images/library.png" % sharedir, "%s/pixmaps/%s-gui.png" % (sharedir, get.srcNAME())) pisitools.dosym("%s/calibre/images/viewer.png" % sharedir, "%s/pixmaps/%s-viewer.png" % (sharedir, get.srcNAME())) pisitools.rename("%s/mime/packages/calibre-mimetypes" % sharedir, "calibre-mimetypes.xml") # packages aren't allowed to register mimetypes like this pisitools.remove("%s/applications/defaults.list" % sharedir) # pisitools.remove("%s/applications/mimeinfo.cache" % sharedir) # correct man page path pisitools.domove("%s/calibre/man/man1/*" % sharedir, "%s/man1/" % get.manDIR()) pisitools.removeDir("%s/calibre/man" % sharedir) # these package are provided externally for pkg in ["cherrypy", "pyPdf", "routes"]: pisitools.removeDir("/usr/lib/%s/%s" % (get.srcNAME(), pkg)) # mimetype icon for lrf for path in ["mimetypes", "apps"]: pisitools.dodir("%s/icons/hicolor/scalable/%s" % (sharedir, path)) pisitools.insinto( "%s/icons/hicolor/scalable/mimetypes" % sharedir, "resources/images/mimetypes/lrf.png", "application-x-sony-bbeb.png", ) pisitools.insinto("%s/icons/hicolor/scalable/apps" % sharedir, "resources/images/viewer.png", "viewer.png") # move etc/bash_completion.d from /usr/etc to /etc pisitools.domove("/usr/etc", "/") pisitools.remove("/usr/bin/calibre-uninstall") pisitools.removeDir("/usr/share/desktop-directories") pisitools.removeDir("/usr/share/packages") pisitools.removeDir("/usr/share/calibre/fonts")
def install(): autotools.rawInstall("INSTALL_PREFIX=%s MANDIR=/usr/share/man" % get.installDIR()) # Move pkgconfig back into /usr/lib/pkgconfig pisitools.domove("/usr/lib64/pkgconfig", "/usr/lib") # openssl decided it needed more conflicts. and more man pages. pisitools.rename("/usr/share/man/man1/passwd.1", "passwd.openssl.1") # shadow conflict pisitools.rename("/usr/share/man/man3/threads.3", "threads.openssl.3") # perl-docs conflict
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/share/doc/audacity", get.srcTAG())
def install(): # create directories for xdg-utils for path in [ "icons/hicolor", "packages", "mime/packages", "applications", "desktop-directories" ]: pisitools.dodir("%s/%s" % (sharedir, path)) # create directory for calibre environment module # the install script assumes it's there. pisitools.dodir("/usr/lib/%s/site-packages" % get.curPYTHON()) pythonmodules.run('setup.py install --root=%s/usr \ --no-compile \ --prefix=/usr \ --libdir=/usr/lib \ --staging-libdir=%s/usr/lib' % (installdir, installdir)) # clean out files under /usr/share/mime shelltools.system("find %s/%s/mime -maxdepth 1 -type f | xargs rm -f" % (installdir, sharedir)) # add icons under /usr/share/pixmaps pisitools.dosym("%s/calibre/images/library.png" % sharedir, "%s/pixmaps/%s-gui.png" % (sharedir, get.srcNAME())) pisitools.dosym("%s/calibre/images/viewer.png" % sharedir, "%s/pixmaps/%s-viewer.png" % (sharedir, get.srcNAME())) pisitools.rename("%s/mime/packages/calibre-mimetypes" % sharedir, "calibre-mimetypes.xml") # packages aren't allowed to register mimetypes like this pisitools.remove("%s/applications/defaults.list" % sharedir) #pisitools.remove("%s/applications/mimeinfo.cache" % sharedir) # correct man page path pisitools.domove("%s/calibre/man/man1/*" % sharedir, "%s/man1/" % get.manDIR()) pisitools.removeDir("%s/calibre/man" % sharedir) # these package are provided externally for pkg in ["cherrypy", "pyPdf", "routes"]: pisitools.removeDir("/usr/lib/%s/%s" % (get.srcNAME(), pkg)) # mimetype icon for lrf for path in ["mimetypes", "apps"]: pisitools.dodir("%s/icons/hicolor/scalable/%s" % (sharedir, path)) pisitools.insinto("%s/icons/hicolor/scalable/mimetypes" % sharedir, \ "resources/images/mimetypes/lrf.png", \ "application-x-sony-bbeb.png") pisitools.insinto("%s/icons/hicolor/scalable/apps" % sharedir, \ "resources/images/viewer.png", "viewer.png") # move etc/bash_completion.d from /usr/etc to /etc pisitools.domove("/usr/etc", "/") pisitools.remove("/usr/bin/calibre-uninstall") pisitools.removeDir("/usr/share/desktop-directories") pisitools.removeDir("/usr/share/packages") pisitools.removeDir("/usr/share/calibre/fonts")
def install(): autotools.install() pisitools.rename("/usr/share/doc/qd", get.srcTAG()) pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS")
def install(): cmaketools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "DESCRIPTION", "README") pisitools.rename("/usr/share/applications/YAGF.desktop", "yagf.desktop")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/share/docs", "doc") pisitools.dodoc("COPYING", "README")
def install(): autotools.install() pisitools.rename("/usr/share/doc/qhull",get.srcTAG())
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/bin/gtk-update-icon-cache", "gtk-update-icon-cache-2.0")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/share/doc/sgml-common-%s" % get.srcVERSION(), get.srcTAG()) pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")
def install(): shelltools.export("DESTDIR", get.installDIR()) shelltools.system("./install-sh") pisitools.rename("/usr/share/icons", "pixmaps")
def install(): autotools.install() pisitools.rename("/usr/share/doc/xpyb", get.srcNAME())
def install(): pythonmodules.install() pisitools.removeDir("/usr/bin") pisitools.rename("/usr/share/doc/urlgrabber-%s" % get.srcVERSION(), get.srcTAG())
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) # move herrie to herrie-bin for wrapper script pisitools.rename("/usr/bin/herrie", "herrie-bin")
def install(): autotools.rawInstall( "-C pyrcc DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR': get.installDIR()}) autotools.rawInstall( "-C pylupdate DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR': get.installDIR()}) autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR': get.installDIR()}) # Fix conflicts with python3-pyqt5 pisitools.rename("/usr/bin/pylupdate5", "py2lupdate5") pisitools.rename("/usr/bin/pyrcc5", "py2rcc5") pisitools.rename("/usr/lib/qt5/plugins/PyQt5/libpyqt5qmlplugin.so", "libpy2qt5qmlplugin.so") pisitools.rename("/usr/lib/qt5/plugins/designer/libpyqt5.so", "libpy2qt5.so") pisitools.rename("/usr/share/qt5/qsci/api/python/PyQt5.api", "Py2Qt5.api") pisitools.rename("/usr/bin/pyuic5", "py2uic5") pisitools.domove("/usr/share/sip/PyQt5/*", "/usr/share/sip/Py2Qt5") pisitools.removeDir("/usr/share/sip/PyQt5")
def install(): crosstools.rawInstall("program_transform_name= DESTDIR=%s" % get.installDIR()) pisitools.rename("/%s/tiff-%s" % (get.docDIR(), get.srcVERSION()), get.srcNAME())
def install(): autotools.install() pisitools.rename("/usr/bin/tetris", "vitetris")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/lib/psqlodbcw.so", "psqlodbc.so") pisitools.remove("/usr/lib/psqlodbcw.la") pisitools.dodoc("license.txt", "readme.txt")
def install(): for exe in shelltools.ls("*.x"): pisitools.dobin(exe) pisitools.rename("/usr/bin/%s" % exe, "palp-%s" % exe) pisitools.dodoc("COPYING")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/%s/tiff-%s" % (get.docDIR(), get.srcVERSION()), get.srcNAME())
def install(): autotools.rawInstall("DESTDIR=%s distro-pack-install" % get.installDIR()) # cleanup gid_Module pisitools.remove("gid_Module*") # add application descriptions pisitools.insinto( "/usr/share/appdata/", "sysui/desktop/appstream-appdata/libreoffice-base.appdata.xml", "libreofficedev-base.appdata.xml") pisitools.insinto( "/usr/share/appdata/", "sysui/desktop/appstream-appdata/libreoffice-calc.appdata.xml", "libreofficedev-calc.appdata.xml") pisitools.insinto( "/usr/share/appdata/", "sysui/desktop/appstream-appdata/libreoffice-draw.appdata.xml", "libreofficedev-draw.appdata.xml") pisitools.insinto( "/usr/share/appdata/", "sysui/desktop/appstream-appdata/libreoffice-impress.appdata.xml", "libreofficedev-impress.appdata.xml") pisitools.insinto( "/usr/share/appdata/", "sysui/desktop/appstream-appdata/libreoffice-writer.appdata.xml", "libreofficedev-writer.appdata.xml") pisitools.insinto( "/usr/share/appdata/", "sysui/desktop/appstream-appdata/org.libreoffice.kde.metainfo.xml") # put configuration files into place pisitools.dosym("/opt/libreofficedev/lib/libreoffice/program/bootstraprc", "/etc/libreofficedev/bootstraprc") pisitools.dosym("/opt/libreofficedev/lib/libreoffice/program/sofficerc", "/etc/libreofficedev/sofficerc") pisitools.dosym( "/opt/libreofficedev/lib/libreoffice/share/psprint/psprint.conf", "/etc/libreofficedev/psprint.conf") # make pyuno find its modules pisitools.dosym("/opt/libreofficedev/libreoffice/program/uno.py", "/usr/lib/python3.6/site-packages/uno.py") pisitools.dosym("/opt/libreofficedev/libreoffice/program/unohelper.py", "/usr/lib/python3.6/site-packages/unohelper.py") for pix in [ "libreoffice-base", "libreoffice-calc", "libreoffice-draw", "libreoffice-impress", "libreoffice-main", "libreoffice-math", "libreoffice-startcenter", "libreoffice-writer" ]: pisitools.dosym( "/opt/libreofficedev/share/icons/hicolor/32x32/apps/%s.png" % pix, "/usr/share/pixmaps/%s-dev.png" % pix) #Change names with libreofficedev and do symlinks pisitools.rename("/usr/share/bash-completion/completions/libreoffice.sh", "libreofficedev.sh") pisitools.dosym( "/opt/libreofficedev/share/application-registry/libreoffice.applications", "/usr/share/application-registry/libreofficedev.applications") shelltools.system( "sed -i 's/libreoffice/libreofficedev/g' %s/opt/libreofficedev/share/application-registry/libreoffice.applications" % get.installDIR()) pisitools.dosym( "/opt/libreofficedev/share/applications/libreoffice-base.desktop", "/usr/share/applications/libreofficedev-base.desktop") pisitools.dosym( "/opt/libreofficedev/share/applications/libreoffice-calc.desktop", "/usr/share/applications/libreofficedev-calc.desktop") pisitools.dosym( "/opt/libreofficedev/share/applications/libreoffice-draw.desktop", "/usr/share/applications/libreofficedev-draw.desktop") pisitools.dosym( "/opt/libreofficedev/share/applications/libreoffice-impress.desktop", "/usr/share/applications/libreofficedev-impress.desktop") pisitools.dosym( "/opt/libreofficedev/share/applications/libreoffice-math.desktop", "/usr/share/applications/libreofficedev-math.desktop") pisitools.dosym( "/opt/libreofficedev/share/applications/libreoffice-startcenter.desktop", "/usr/share/applications/libreofficedev-startcenter.desktop") pisitools.dosym( "/opt/libreofficedev/share/applications/libreoffice-writer.desktop", "/usr/share/applications/libreofficedev-writer.desktop") #pisitools.dosym("/opt/libreofficedev/share/applications/libreoffice-xslfilter.desktop", "/usr/share/applications/libreofficedev-xslfilter.desktop") shelltools.system( "sed -i 's/Icon=libreoffice-base/Icon=libreoffice-base-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/base.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Icon=libreoffice-calc/Icon=libreoffice-calc-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/calc.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Icon=libreoffice-draw/Icon=libreoffice-draw-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/draw.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Icon=libreoffice-impress/Icon=libreoffice-impress-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/impress.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Icon=libreoffice-math/Icon=libreoffice-math-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/math.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Icon=libreoffice-startcenter/Icon=libreoffice-startcenter-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/startcenter.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Icon=libreoffice-writer/Icon=libreoffice-writer-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/writer.desktop" % get.installDIR()) #shelltools.system("sed -i 's/Icon=libreoffice-xslfilter/Icon=libreoffice-xslfilter-dev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/xslfilter.desktop" %get.installDIR()) shelltools.system( "sed -i 's/Exec=libreoffice/Exec=libreofficedev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/base.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Exec=libreoffice/Exec=libreofficedev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/calc.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Exec=libreoffice/Exec=libreofficedev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/draw.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Exec=libreoffice/Exec=libreofficedev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/impress.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Exec=libreoffice/Exec=libreofficedev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/math.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Exec=libreoffice/Exec=libreofficedev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/startcenter.desktop" % get.installDIR()) shelltools.system( "sed -i 's/Exec=libreoffice/Exec=libreofficedev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/writer.desktop" % get.installDIR()) #shelltools.system("sed -i 's/Exec=libreoffice %U/Exec=libreofficedev %U/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/xslfilter.desktop" %get.installDIR()) shelltools.system( "sed -i 's/LibreOffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/base.desktop" % get.installDIR()) shelltools.system( "sed -i 's/LibreOffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/calc.desktop" % get.installDIR()) shelltools.system( "sed -i 's/LibreOffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/draw.desktop" % get.installDIR()) shelltools.system( "sed -i 's/LibreOffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/impress.desktop" % get.installDIR()) shelltools.system( "sed -i 's/LibreOffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/math.desktop" % get.installDIR()) shelltools.system( "sed -i 's/LibreOffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/startcenter.desktop" % get.installDIR()) shelltools.system( "sed -i 's/LibreOffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/writer.desktop" % get.installDIR()) # shelltools.system("sed -i 's/Libreoffice/LibreOfficeDev/g' %s/opt/libreofficedev/lib/libreoffice/share/xdg/xslfilter.desktop" %get.installDIR()) for binary in [ "libreoffice", "lobase", "localc", "lodraw", "loffice", "lofromtemplate", "loimpress", "lomath", "loweb", "lowriter", "soffice", "unopkg" ]: pisitools.dosym("/opt/libreofficedev/bin/%s" % binary, "/usr/bin/%sdev" % binary) pisitools.dosym("/opt/libreofficedev/share/mime/packages/libreoffice.xml", "usr/share/mime/packages/libreofficedev.xml") pisitools.dosym("/opt/libreofficedev/share/mime-info/libreoffice.keys", "/usr/share/mime-info/libreofficedev.keys") pisitools.dosym("/opt/libreofficedev/share/mime-info/libreoffice.mime", "/usr/share/mime-info/libreofficedev.mime")
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")
def install(): qt5.install() pisitools.rename("/usr/bin/qtcreator", "qtcreator-bin") pisitools.domove("/usr/share/qtcreator/debugger/LICENSE.GPL3-EXCEPT", "/usr/share/licenses/qtcreator")
def install(): pythonmodules.install(pyVer="3") pisitools.rename("/usr/bin/pygmentize", "python3-pygmentize")
def install(): pisitools.dobin("merhaba-pisi.py") pisitools.rename("/usr/bin/merhaba-pisi.py", "merhaba-pisi") pisitools.dodir("/usr/lib") shelltools.copy(get.installDIR() + "/usr/bin/merhaba-pisi", get.installDIR() + "/usr/lib/merhaba-osman")
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.dobin("lddtree.sh") pisitools.rename("/usr/share/doc/pax-utils", get.srcTAG())
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/share/doc/warzone2100", get.srcTAG())
def install(): pisitools.dobin("skeleton.py") pisitools.rename("/usr/bin/skeleton.py", "bar")
def install(): autotools.make("DIST_ROOT=%s install install-lib install-dev" % get.installDIR()) pisitools.rename("/usr/share/doc/attr", get.srcTAG())
def install(): autotools.rawInstall("DESTDIR=%s" % get.installDIR()) pisitools.rename("/usr/share/doc/libqalculate-%s" % get.srcVERSION(), "libqalculate")
def install(): jvmdir="/usr/lib/jvm/java-7-openjdk" pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "HACKING", "README", "NEWS") #cd main output directory shelltools.cd("openjdk.build") #---- install openjdk7-doc pisitools.insinto("/usr/share/doc/openjdk7-doc", "docs/*") #install openjdk7-src pisitools.insinto(jvmdir, "j2sdk-image/src.zip") #---- instal jdk7-openjdk for d in ["include","lib","bin"]: pisitools.insinto(jvmdir, "j2sdk-image/%s" % d) for f in shelltools.ls("%s/usr/lib/jvm/java-7-openjdk/bin/" % get.installDIR()): if not f in ["java", "java-rmi.cgi", "keytool", "orbd", "pack200", "policytool", "rmid", "rmiregistry", "servertool", "tnameserv", "unpack200"]: pisitools.dosym("/usr/lib/jvm/java-7-openjdk/bin/%s" % f, "/usr/bin/%s" % f) #install man pages pisitools.doman("j2sdk-image/man/man1/*") pisitools.insinto("/usr/share/man/ja/man1", "j2sdk-image/man/ja_JP.UTF-8/man1/*.1") pisitools.insinto("/usr/share/applications", "../jconsole.desktop") shelltools.system("chmod go+r %s%s/lib/sa-jdi.jar" %(get.installDIR(), jvmdir)) #---- instal jre7-openjdk pisitools.insinto("%s/jre/bin" % jvmdir , "j2sdk-image/jre/bin/*") #pisitools.insinto("%s/jre/lib/amd64" % jvmdir , "j2sdk-image/jre/lib/amd64/xawt") for binfile in shelltools.ls("j2sdk-image/jre/bin"): pisitools.dosym("%s/jre/bin/%s" % (jvmdir, binfile), "/usr/bin/%s" % binfile) pisitools.insinto("/usr/share/applications", "../policytool.desktop") for size in [16, 24, 32, 48]: fullsize = "%dx%d" % ((size, ) * 2) pisitools.insinto("/usr/share/icons/hicolor/%s/apps/" % fullsize, "../openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon%d.png" % size, "java.png") #---- install jre7-openjdk-headless pisitools.insinto("%s/jre/" % jvmdir , "j2sdk-image/jre/lib") pisitools.insinto("%s/jre/bin" % jvmdir, "j2sdk-image/jre/bin/*") pisitools.rename("%s/jre/lib/fontconfig.Ubuntu.properties.src" % jvmdir , "fontconfig.properties") pisitools.rename("%s/jre/lib/fontconfig.Ubuntu.bfc" % jvmdir , "fontconfig.bfc") pisitools.remove("%s/jre/lib/fontconfig.*.bfc" % jvmdir) pisitools.remove("%s/jre/lib/fontconfig.*.properties.src" % jvmdir) pisitools.domove("%s/jre/lib/*.properties*" % jvmdir,"/etc/java-7-openjdk/") for propfile in shelltools.ls("%s/etc/java-7-openjdk/" % get.installDIR()): pisitools.dosym("/etc/java-7-openjdk/%s" % propfile, "%s/jre/lib/%s" % (jvmdir, propfile)) pisitools.domove("%s/jre/lib/images/cursors/cursors.properties" % jvmdir,"/etc/java-7-openjdk/cursors/") pisitools.dosym("/etc/java-7-openjdk/cursors/cursors.properties", "%s/jre/lib/images/cursors/cursors.properties" % jvmdir) pisitools.rename("%s/jre/lib/management/jmxremote.password.template" % jvmdir , "jmxremote.password") pisitools.rename("%s/jre/lib/management/snmp.acl.template" % jvmdir , "snmp.acl") for f in ["management.properties", "jmxremote.access", "jmxremote.password", "snmp.acl"]: pisitools.domove("%s/jre/lib/management/%s" % (jvmdir, f),"/etc/java-7-openjdk/management/") pisitools.dosym("/etc/java-7-openjdk/management/%s" % f, "%s/jre/lib/management/%s" % (jvmdir, f)) for f in ["java.policy","java.security","nss.cfg"]: pisitools.domove("%s/jre/lib/security/%s" % (jvmdir, f),"/etc/java-7-openjdk/security/") pisitools.dosym("/etc/java-7-openjdk/security/%s" % f, "%s/jre/lib/security/%s" % (jvmdir, f)) #confs=os.listdir("%s/etc/java-7-openjdk/" % get.installDIR()) #for i in confs: #shelltools.system("chmod 0644 %s/etc/java-7-openjdk/%s" % (get.installDIR, i)) pisitools.domove("%s/jre/lib/fontconfig.bfc" % jvmdir,"/etc/java-7-openjdk/") pisitools.domove("%s/jre/lib/amd64/jvm.cfg" % jvmdir,"/etc/java-7-openjdk/") pisitools.dosym("/etc/java-7-openjdk/jvm.cfg" , "%s/jre/lib/amd64/jvm.cfg" % jvmdir) for license in ["LICENSE", "THIRD_PARTY_README", "ASSEMBLY_EXCEPTION"]: pisitools.insinto("/usr/share/doc/jre7-openjdk-headless", "j2re-image/%s" % license) pisitools.remove("%s/jre/lib/security/cacerts" % jvmdir) #seems we need to add this symlink into ca-certificates-java package ? pisitools.dosym("/etc/ssl/certs/java/cacerts", "%s/jre/lib/security/cacerts" % jvmdir)
def install(): mesontools.install() pisitools.rename("/usr/bin/gtk-update-icon-cache", "gtk3-update-icon-cache")