Esempio n. 1
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())

    binaries_for_inst=["chrome", "chrome_sandbox", "chromedriver", "natives_blob.bin", "snapshot_blob.bin"]
    #libraries_for_inst=["libffmpegsumo.so", "icudtl.dat"]

    # install and strip binaries
    for mybin in binaries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mybin)

    # install and strip shared libs  
    # for mylib in libraries_for_inst:
        # pisitools.insinto("/usr/lib/chromium-browser", mylib)

    pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/lib/chromium-browser/chromium-browser")
    pisitools.rename("/usr/lib/chromium-browser/chrome_sandbox", "chrome-sandbox")
    shelltools.chmod("%s/usr/lib/chromium-browser/chrome-sandbox" % get.installDIR(), 04755)

     # install rest of needed files
    pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")

    pisitools.newman("chrome.1", "chromium-browser.1")

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")

    pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")

    pisitools.dodoc("LICENSE")
Esempio n. 2
0
def install():
    shelltools.cd("out/Release")

    #should be checked should for the missing folder "out/Release"
    pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "*.json")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")
    pisitools.insinto("/usr/lib/chromium-browser", "icudtl.dat")
    pisitools.insinto("/usr/lib/chromium-browser", "mksnapshot")
    pisitools.insinto("/usr/lib/chromium-browser", "chromedriver")
    pisitools.insinto("/usr/lib/chromium-browser", "natives_blob.bin")
    pisitools.insinto("/usr/lib/chromium-browser", "snapshot_blob.bin")
    pisitools.insinto("/usr/lib/chromium-browser", "libwidevinecdm.so")
    pisitools.insinto("/usr/lib/chromium-browser", "libwidevinecdmadapter.so")
    pisitools.insinto("/usr/lib/chromium-browser", "character_data_generator")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox", "chrome-sandbox")
    
    
    pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/bin/chromium-browser")
    
    shelltools.system("chmod -v 4755 %s/usr/lib/chromium-browser/chrome-sandbox" %get.installDIR())
    

    
    pisitools.newman("chrome.1", "chromium-browser.1")
    
    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")
   		
    pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
    
    pisitools.dodoc("LICENSE")
Esempio n. 3
0
def install():
    shelltools.cd("out/Release")

    #should be checked should for the missing folder "out/Release"
    for vla in [
            "*.pak", "*.json", "chrome", "locales", "resources", "icudtl.dat",
            "mksnapshot", "chromedriver", "natives_blob.bin",
            "snapshot_blob.bin", "character_data_generator"
    ]:
        pisitools.insinto("/usr/lib/chromium-browser", "%s" % vla)

    pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox",
                      "chrome-sandbox")
    pisitools.dosym("/usr/lib/chromium-browser/chrome",
                    "/usr/bin/chromium-browser")

    shelltools.system(
        "chmod -v 4755 %s/usr/lib/chromium-browser/chrome-sandbox" %
        get.installDIR())

    pisitools.newman("chrome.1", "chromium-browser.1")

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto(
            "/usr/share/icons/hicolor/%sx%s/apps" % (size, size),
            "chrome/app/theme/chromium/product_logo_%s.png" % size,
            "chromium-browser.png")

    pisitools.dosym(
        "/usr/share/icons/hicolor/256x256/apps/chromium-browser.png",
        "/usr/share/pixmaps/chromium-browser.png")

    pisitools.dodoc("LICENSE")
Esempio n. 4
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())

    pisitools.insinto("/usr/lib/chromium-browser", "chrome.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "resources.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome", "chromium-browser")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox", "chromium_sandbox")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")

    # Nacl plugin
    pisitools.insinto("/usr/lib/chromium-browser", "libppGoogleNaClPluginChrome.so")

    pisitools.dosym("/usr/lib/nsbrowser/plugins", "/usr/lib/chromium-browser/plugins")

    pisitools.newman("chrome.1", "chromium-browser.1")

    # Chromium looks for these in its folder
    # See media_posix.cc and base_paths_linux.cc
    for lib in ["libavcodec.so.52" , "libavformat.so.52", "libavutil.so.50"]:
        shelltools.sym("/usr/lib/%s" % lib, "%s/usr/lib/chromium-browser/%s" % (get.installDIR(), lib))


    shelltools.cd("../..")
    for size in ["16", "22", "24", "32", "48", "64", "128", "256"]:
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")

    pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
Esempio n. 5
0
def install():
    pisitools.dobin("less")
    pisitools.dobin("lessecho")
    pisitools.dobin("lesskey")

    pisitools.newman("lesskey.nro", "lesskey.1")
    pisitools.newman("less.nro", "less.1")

    pisitools.dodoc("NEWS", "README")
Esempio n. 6
0
def install():
    pisitools.dobin("less")
    pisitools.dobin("lessecho")
    pisitools.dobin("lesskey")

    pisitools.newman("lesskey.nro", "lesskey.1")
    pisitools.newman("less.nro", "less.1")

    pisitools.dodoc("NEWS", "README")
Esempio n. 7
0
def install():
    autotools.rawInstall('DESTDIR="%s"' % get.installDIR())

    pisitools.dobin("less")
    pisitools.dobin("lessecho")
    pisitools.dobin("lesskey")
    pisitools.newman("lesskey.nro", "lesskey.1")
    pisitools.newman("less.nro", "less.1")

    pisitools.dodoc("NEWS", "README", "COPYING")
Esempio n. 8
0
def install():
    pisitools.dobin("urlview")
    pisitools.dobin("url_handler.sh")

    pisitools.dosed("sample.urlview", "url_handler.sh", "/usr/bin/url_handler.sh")

    pisitools.insinto("/etc/urlview/", "sample.urlview", "system.urlview")

    pisitools.newman("urlview.man", "urlview.1")
    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
Esempio n. 9
0
def install():
    pisitools.dobin("urlview")
    pisitools.dobin("url_handler.sh")

    pisitools.dosed("sample.urlview", "url_handler.sh", "/usr/bin/url_handler.sh")

    pisitools.insinto("/etc/urlview/", "sample.urlview", "system.urlview")

    pisitools.newman("urlview.man", "urlview.1")
    pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")
Esempio n. 10
0
def install():
    autotools.rawInstall('DESTDIR="%s"' % get.installDIR())

    pisitools.dobin("less")
    pisitools.dobin("lessecho")
    pisitools.dobin("lesskey")
    pisitools.newman("lesskey.nro", "lesskey.1")
    pisitools.newman("less.nro", "less.1")

    pisitools.dodoc("NEWS", "README", "COPYING")
Esempio n. 11
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.insinto("/usr/include/gc", "include/cord.h")
    pisitools.insinto("/usr/include/gc", "include/ec.h")
    pisitools.insinto("/usr/include/gc", "include/javaxfc.h")
    pisitools.insinto("/usr/include/gc/private", "include/private/*.h")

    pisitools.dodoc("README.QUICK", "doc/README*", "doc/barrett_diagram")
    pisitools.dohtml("doc/")
    pisitools.newman("doc/gc.man", "GC_malloc.1")
Esempio n. 12
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.insinto("/usr/include/gc", "include/cord.h")
    pisitools.insinto("/usr/include/gc", "include/ec.h")
    pisitools.insinto("/usr/include/gc", "include/javaxfc.h")
    pisitools.insinto("/usr/include/gc/private", "include/private/*.h")

    pisitools.dodoc("README.QUICK", "doc/README*", "doc/barrett_diagram")
    pisitools.dohtml("doc/")
    pisitools.newman("doc/gc.man", "GC_malloc.1")
Esempio n. 13
0
def install():
    pisitools.dobin("src/slocate")
    pisitools.newman("doc/slocate.1", "/usr/share/man/man1/slocate.1")

    pisitools.dodir("/var/lib/slocate")
    shelltools.touch("%s/var/lib/slocate/slocate.db" % get.installDIR())

    pisitools.dosym("slocate", "/usr/bin/locate")
    pisitools.dosym("slocate", "/usr/bin/updatedb")
    pisitools.dosym("slocate.1.gz", "/usr/share/man/man1/locate.1.gz")

    pisitools.dodoc("AUTHORS", "README", "ChangeLog")
Esempio n. 14
0
def install():
    pisitools.dobin("src/slocate")
    pisitools.newman("doc/slocate.1", "/usr/share/man/man1/slocate.1")

    pisitools.dodir("/var/lib/slocate")
    shelltools.touch("%s/var/lib/slocate/slocate.db" % get.installDIR())

    pisitools.dosym("slocate", "/usr/bin/locate")
    pisitools.dosym("slocate", "/usr/bin/updatedb")
    pisitools.dosym("slocate.1.gz", "/usr/share/man/man1/locate.1.gz")

    pisitools.dodoc("AUTHORS", "README", "ChangeLog")
Esempio n. 15
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())

    binaries_for_inst = [
        "chrome", "chrome_sandbox", "nacl_helper", "nacl_helper_bootstrap",
        "nacl_irt_x86_64.nexe"
    ]
    libraries_for_inst = ["libffmpegsumo.so", "libppGoogleNaClPluginChrome.so"]

    # install and strip binaries
    for mybin in binaries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mybin)
        #use it if pisi skips stripping
        #shelltools.system("strip --strip-all %s/usr/lib/chromium-browser/%s" % ( get.installDIR(), mybin))

    # install and strip shared libs
    for mylib in libraries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mylib)
        #use it if pisi skips stripping
        #shelltools.system("strip --strip-unneeded %s/usr/lib/chromium-browser/%s" % ( get.installDIR(), mylib))

    pisitools.dosym("/usr/lib/chromium-browser/chrome",
                    "/usr/lib/chromium-browser/chromium-browser")
    pisitools.rename("/usr/lib/chromium-browser/chrome_sandbox",
                     "chrome-sandbox")
    shelltools.chmod(
        "%s/usr/lib/chromium-browser/chrome-sandbox" % get.installDIR(), 04755)

    # install rest of needed files
    pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")

    pisitools.newman("chrome.1", "chromium-browser.1")

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto(
            "/usr/share/icons/hicolor/%sx%s/apps" % (size, size),
            "chrome/app/theme/chromium/product_logo_%s.png" % size,
            "chromium-browser.png")

    pisitools.dosym(
        "/usr/share/icons/hicolor/256x256/apps/chromium-browser.png",
        "/usr/share/pixmaps/chromium-browser.png")

    pisitools.dodoc("LICENSE")
Esempio n. 16
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())

    pisitools.insinto("/usr/lib/chromium-browser", "chrome.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "resources.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_100_percent.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "content_resources.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_remote_desktop.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome",
                      "chromium-browser")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox",
                      "chromium-sandbox")

    # We need to set SUID otherwise it will not run
    shelltools.chmod(
        "%s/usr/lib/chromium-browser/chromium-sandbox" % get.installDIR(),
        04755)

    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")

    # Internal ffmpeg libraries
    pisitools.insinto("/usr/lib/chromium-browser", "libffmpegsumo.so")

    # Nacl plugin
    # pisitools.insinto("/usr/lib/chromium-browser", "libppGoogleNaClPluginChrome.so")

    pisitools.newman("chrome.1", "chromium-browser.1")

    # Chromium looks for these in its folder
    # See media_posix.cc and base_paths_linux.cc
    #for lib in ["libavcodec.so.52" , "libavformat.so.52", "libavutil.so.50"]:
    #    shelltools.sym("/usr/lib/%s" % lib, "%s/usr/lib/chromium-browser/%s" % (get.installDIR(), lib))

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto(
            "/usr/share/icons/hicolor/%sx%s/apps" % (size, size),
            "chrome/app/theme/chromium/product_logo_%s.png" % size,
            "chromium-browser.png")

    pisitools.dosym(
        "/usr/share/icons/hicolor/256x256/apps/chromium-browser.png",
        "/usr/share/pixmaps/chromium-browser.png")
Esempio n. 17
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())
    
    binaries_for_inst=["chrome", "chrome_sandbox", "chromedriver", "mksnapshot", "protoc", "libvpx_obj_int_extract"]
    libraries_for_inst=["libffmpegsumo.so", "icudtl.dat", "libpdf.so", "libyuv.a"]
    
    # install and strip binaries
    for mybin in binaries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mybin)
        #use it if pisi skips stripping
        #shelltools.system("strip --strip-all %s/usr/lib/chromium-browser/%s" % ( get.installDIR(), mybin))
    
    # install and strip shared libs  
    for mylib in libraries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mylib)
        #use it if pisi skips stripping
        #shelltools.system("strip --strip-unneeded %s/usr/lib/chromium-browser/%s" % ( get.installDIR(), mylib))                                    
        
    pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/lib/chromium-browser/chromium-browser")
    pisitools.rename("/usr/lib/chromium-browser/chrome_sandbox", "chrome-sandbox")
    shelltools.chmod("%s/usr/lib/chromium-browser/chrome-sandbox" % get.installDIR(), 04755)
    
    # install rest of needed files
    pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")
    pisitools.insinto("/usr/lib/chromium-browser", "pseudo_locales")
    pisitools.insinto("/usr/lib/chromium-browser", "remoting_locales")
    pisitools.insinto("/usr/lib/chromium-browser", "pyproto")
    pisitools.insinto("/usr/lib/chromium-browser", "java_mojo")
    pisitools.insinto("/usr/lib/chromium-browser/lib", "lib/*.so")
    
    pisitools.newman("chrome.1", "chromium-browser.1")

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")

    pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
    
    pisitools.dodoc("LICENSE")
Esempio n. 18
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())

    pisitools.insinto("/usr/lib/chromium-browser", "chrome.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "resources.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_100_percent.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "content_resources.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_remote_desktop.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome", "chromium-browser")
    pisitools.insinto("/usr/lib/chromium-browser", "chrome_sandbox", "chromium-sandbox")

    # We need to set SUID otherwise it will not run
    shelltools.chmod("%s/usr/lib/chromium-browser/chromium-sandbox" % get.installDIR(), 04755)

    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")

    # Internal ffmpeg libraries
    pisitools.insinto("/usr/lib/chromium-browser", "libffmpegsumo.so")

    # Nacl plugin
    # pisitools.insinto("/usr/lib/chromium-browser", "libppGoogleNaClPluginChrome.so")

    pisitools.newman("chrome.1", "chromium-browser.1")

    # Chromium looks for these in its folder
    # See media_posix.cc and base_paths_linux.cc
    # for lib in ["libavcodec.so.52" , "libavformat.so.52", "libavutil.so.50"]:
    #    shelltools.sym("/usr/lib/%s" % lib, "%s/usr/lib/chromium-browser/%s" % (get.installDIR(), lib))

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto(
            "/usr/share/icons/hicolor/%sx%s/apps" % (size, size),
            "chrome/app/theme/chromium/product_logo_%s.png" % size,
            "chromium-browser.png",
        )

    pisitools.dosym(
        "/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png"
    )
Esempio n. 19
0
def install():

    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())

    binaries_for_inst = ["chrome", "chrome_sandbox", "chromedriver", "natives_blob.bin", "snapshot_blob.bin"]
    # libraries_for_inst=["libffmpegsumo.so", "icudtl.dat"]

    # install and strip binaries
    for mybin in binaries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mybin)

    # install and strip shared libs
    # for mylib in libraries_for_inst:
    # pisitools.insinto("/usr/lib/chromium-browser", mylib)

    pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/lib/chromium-browser/chromium-browser")
    pisitools.rename("/usr/lib/chromium-browser/chrome_sandbox", "chrome-sandbox")
    shelltools.chmod("%s/usr/lib/chromium-browser/chrome-sandbox" % get.installDIR(), 04755)

    # install rest of needed files
    pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")

    pisitools.newman("chrome.1", "chromium-browser.1")

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto(
            "/usr/share/icons/hicolor/%sx%s/apps" % (size, size),
            "chrome/app/theme/chromium/product_logo_%s.png" % size,
            "chromium-browser.png",
        )

    pisitools.dosym(
        "/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png"
    )

    pisitools.dodoc("LICENSE")
Esempio n. 20
0
def install():
	
    pisitools.dosed("out/Release/xdg-settings", "xdg-mime", "/usr/lib/chromium-chromium-browser/xdg-mime")
    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())
  
    shelltools.cd("out/Release")
    
    binaries_for_inst=["chrome", "chrome_sandbox", "chromedriver", "natives_blob.bin", "snapshot_blob.bin", "nacl_helper", "nacl_helper_nonsfi", "nacl_helper_bootstrap", "nacl_irt_x86_64.nexe", "icudtl.dat", "bro", "chrome-wrapper", "tls_edit"]
    
    libraries_for_inst=["libclearkeycdm.so", "libwidevinecdmadapter.so", "libwidevinecdm.so", "libyuv.a", "xdg-mime", "xdg-settings"]

   
    # install and strip binaries
    for mybin in binaries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mybin)
       
    # install and strip shared libs  
    for mylib in libraries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mylib)
         
    pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/lib/chromium-browser/chromium-browser")
    pisitools.rename("/usr/lib/chromium-browser/chrome_sandbox", "chrome-sandbox")
    shelltools.chmod("%s/usr/lib/chromium-browser/chrome-sandbox" % get.installDIR(), 04755)
    
     # install rest of needed files
    pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "*.json")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "pseudo_locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")
    
    pisitools.newman("chrome.1", "chromium-browser.1")
    
    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")
   		
    pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
    
    pisitools.dodoc("LICENSE")
Esempio n. 21
0
def install():
    shelltools.cd("out/Release")

    shelltools.makedirs("%s/usr/lib/chromium-browser" % get.installDIR())
    
    binaries_for_inst=["chrome", "chrome_sandbox", "nacl_helper", "nacl_helper_bootstrap", "nacl_irt_x86_64.nexe"]
    libraries_for_inst=["libffmpegsumo.so", "libppGoogleNaClPluginChrome.so"]
    
    # install and strip binaries
    for mybin in binaries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mybin)
        #use it if pisi skips stripping
        #shelltools.system("strip --strip-all %s/usr/lib/chromium-browser/%s" % ( get.installDIR(), mybin))
    
    # install and strip shared libs  
    for mylib in libraries_for_inst:
        pisitools.insinto("/usr/lib/chromium-browser", mylib)
        #use it if pisi skips stripping
        #shelltools.system("strip --strip-unneeded %s/usr/lib/chromium-browser/%s" % ( get.installDIR(), mylib))                                    
        
    pisitools.dosym("/usr/lib/chromium-browser/chrome", "/usr/lib/chromium-browser/chromium-browser")
    pisitools.rename("/usr/lib/chromium-browser/chrome_sandbox", "chrome-sandbox")
    shelltools.chmod("%s/usr/lib/chromium-browser/chrome-sandbox" % get.installDIR(), 04755)
    
    # install rest of needed files
    pisitools.insinto("/usr/lib/chromium-browser", "*.pak")
    pisitools.insinto("/usr/lib/chromium-browser", "locales")
    pisitools.insinto("/usr/lib/chromium-browser", "resources")
    
    pisitools.newman("chrome.1", "chromium-browser.1")

    shelltools.cd("../..")
    for size in ["22", "24", "48", "64", "128", "256"]:
        pisitools.insinto("/usr/share/icons/hicolor/%sx%s/apps" %(size, size), "chrome/app/theme/chromium/product_logo_%s.png" % size, "chromium-browser.png")

    pisitools.dosym("/usr/share/icons/hicolor/256x256/apps/chromium-browser.png", "/usr/share/pixmaps/chromium-browser.png")
    
    pisitools.dodoc("LICENSE")
Esempio n. 22
0
def install():
    autotools.install()
    pisitools.removeDir("/usr/share/man/manm")
    
    pisitools.newman("DPS/demos/xepsf/xepsf.man", "xepsf.1")
    pisitools.newman("DPS/demos/dpsexec/dpsexec.man", "dspexec.1")
    pisitools.newman("DPS/clients/makepsres/makepsres.man", "makepsres.1")
    
    pisitools.dodoc("ANNOUNCE", "ChangeLog", "FAQ", "NEWS", "NOTES", "README", "STATUS", "TODO", "Version")
Esempio n. 23
0
def install():
    autotools.install()
    pisitools.removeDir("/usr/share/man/manm")

    pisitools.newman("DPS/demos/xepsf/xepsf.man", "xepsf.1")
    pisitools.newman("DPS/demos/dpsexec/dpsexec.man", "dspexec.1")
    pisitools.newman("DPS/clients/makepsres/makepsres.man", "makepsres.1")

    pisitools.dodoc("ANNOUNCE", "ChangeLog", "FAQ", "NEWS", "NOTES", "README",
                    "STATUS", "TODO", "Version")
Esempio n. 24
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.insinto("/etc/fonts", "fonts.conf")
    pisitools.insinto("/etc/fonts" "fonts.conf", "fonts.conf.new")

    pisitools.newman("fc-cache/fc-cache.man", "fc-cache.1")
    pisitools.newman("fc-list/fc-list.man", "fc-list.1")
    pisitools.newman("src/fontconfig.man", "fontconfig.3")

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
Esempio n. 25
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.insinto("/etc/fonts", "fonts.conf")
    pisitools.insinto("/etc/fonts" "fonts.conf", "fonts.conf.new")

    pisitools.newman("fc-cache/fc-cache.man", "fc-cache.1")
    pisitools.newman("fc-list/fc-list.man", "fc-list.1")
    pisitools.newman("src/fontconfig.man", "fontconfig.3")

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
Esempio n. 26
0
def install():
    cmaketools.install("DESTDIR=%s" % get.installDIR())

    pisitools.dosym("FLTK-1.1", "/usr/lib/fltk")

    pisitools.dosed("CMake/fltk-config", r"( *LIBS=.*)\.a(.*)", r"\1.so\2")
    pisitools.dobin("CMake/fltk-config")

    pisitools.dodoc("ANNOUNCEMENT", "CHANGES", "COPYING", "CREDITS", "README")

    pisitools.newman("documentation/fltk.man", "fltk.3")
    pisitools.newman("documentation/fltk-config.man", "fltk-config.1")
    pisitools.newman("documentation/fluid.man", "fluid.1")
Esempio n. 27
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.insinto("/etc/fonts", "fonts.conf", "fonts.conf.new")

    pisitools.newman("fc-cache/fc-cache.man", "fc-cache.1")
    pisitools.newman("fc-list/fc-list.man", "fc-list.1")
    pisitools.newman("src/fontconfig.man", "fontconfig.3")

    pisitools.dosym("/etc/fonts/conf.avail/01-pardus.conf","/etc/fonts/conf.d/01-pardus.conf")
    # pisitools.dosym("/etc/fonts/conf.avail/70-no-bitmaps.conf","/etc/fonts/conf.d/70-no-bitmaps.conf")
    pisitools.dosym("/etc/fonts/conf.avail/70-yes-bitmaps.conf","/etc/fonts/conf.d/70-yes-bitmaps.conf")

    pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "README")
Esempio n. 28
0
def install():
    pisitools.dobin("btyacc")
    pisitools.newman("manpage", "btyacc.1")
    pisitools.dodoc("README*")
Esempio n. 29
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.newman("doc/gc.man", "GC_malloc.1")
    pisitools.dohtml("doc")
    pisitools.dodoc("ChangeLog","doc/README","doc/README.changes")
Esempio n. 30
0
def install():
    autotools.rawInstall("DESTDIR=%s" % get.installDIR())

    pisitools.newman("doc/gc.man", "GC_malloc.1")
    pisitools.dohtml("doc")
    pisitools.dodoc("ChangeLog", "doc/README", "doc/README.changes")
Esempio n. 31
0
def install():
    pisitools.dobin("src/gvidcap")
    pisitools.newman("man/gvidcap.man", "gvidcap.1")
    pisitools.insinto("/usr/share/pixmaps", "xbm/select.png", "gvidcap.png")
    pisitools.dodoc("NEWS", "TODO", "README", "AUTHORS", "ChangeLog", "XVidcap.ad")
def install():
    pisitools.dobin("fbgrab")

    pisitools.newman("fbgrab.1.man", "fbgrab.1")
Esempio n. 33
0
def install():
    pisitools.dobin("fbgrab")

    pisitools.newman("fbgrab.1.man", "fbgrab.1")
Esempio n. 34
0
def install():
    pisitools.dobin("btyacc")
    pisitools.newman("manpage", "btyacc.1")
    pisitools.dodoc("README*")