3v1n0

Ubuntu JHBuild for GNOME Fractional Scaling

Jun 19th, 2017
1,084
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- mode: python -*-
  2. # -*- coding: utf-8 -*-
  3.  
  4. # if you have a GNOME git account, uncomment this line
  5. #repos['git.gnome.org'] = 'ssh://<user>@git.gnome.org/git/'
  6.  
  7. # what module set should be used.  The default can be found in
  8. # jhbuild/defaults.jhbuildrc, but can be any file in the modulesets directory
  9. # or a URL of a module set file on a web server.
  10. # moduleset = 'gnome-apps-3.12'
  11. #
  12. # A list of the modules to build.  Defaults to the GNOME core and tested apps.
  13. # modules = [ 'meta-gnome-core', 'meta-gnome-apps-tested' ]
  14. modules = [ 'meta-gnome-core-shell', 'The X Window System' ]
  15.  
  16. skip = ['WebKit', 'evolution']
  17.  
  18. # what directory should the source be checked out to?
  19. checkoutroot = os.path.join(os.getenv("HOME"), 'GNOME-DEV')
  20.  
  21. # the prefix to configure/install modules to (must have write access)
  22. prefix = '/opt/GNOME'
  23.  
  24. # Extra modules
  25. moduleset = [moduleset, 'https://cgit.freedesktop.org/xorg/util/modular/plain/xorg.modules']
  26.  
  27. xdg_cache_home = os.path.join(checkoutroot, '_CACHE')
  28. tarballdir = os.path.join(xdg_cache_home, 'downloads')
  29.  
  30. # Set to None to perform builds within the source trees.
  31. buildroot = os.path.join(checkoutroot, '_BUILD')
  32.  
  33. # reduce what we build as much as possible
  34. ignore_suggests = True
  35.  
  36. # Only rebuild modules that have changed
  37. build_policy = 'updated'
  38.  
  39. # Custom env
  40. os.environ['JHBUILD_CHECKOUT_FOLDER'] = checkoutroot
  41. os.environ['JHBUILD_BUILD_FOLDER'] = buildroot
  42.  
  43. # custom CFLAGS / environment pieces for the build
  44. # os.environ['CFLAGS'] = '-Wall -g -O0'
  45.  
  46. # Look in /usr/share for icons, D-BUS service files, etc
  47. addpath('XDG_DATA_DIRS', '/usr/share')
  48. # Look in /etc/xdg for system-global autostart files
  49. addpath('XDG_CONFIG_DIRS', '/etc/xdg')
  50. # Ensure that xcursors are available
  51. addpath('XCURSOR_PATH', '/usr/share/icons')
  52.  
  53. # extra arguments to pass to all autogen.sh scripts
  54. # to speed up builds of GNOME, try '--disable-static --disable-gtk-doc'
  55. autogenargs = '--disable-static --disable-gtk-doc'
  56.  
  57. # Module custom settings
  58. module_autogenargs['libinput'] = '--disable-documentation --enable-tests=no'
  59. module_autogenargs['xserver'] = '--disable-docs --disable-devel-docs --enable-xwayland --disable-xorg --disable-xvfb --disable-xnest --disable-xquartz --disable-xwin'
  60.  
  61. # Custom branches
  62. branches['gnome-settings-daemon'] = ('https://github.com/jadahl/gnome-settings-daemon/', 'wip/monitor-config')
  63. branches['gnome-control-center'] = ('https://github.com/3v1n0/gnome-control-center/', 'fractional-scaling')
  64.  
  65. branches['mutter'] = ('https://github.com/jadahl/mutter', 'wip/resource-scale')
  66. branches['gnome-shell'] = ('https://github.com/jadahl/gnome-shell', 'wip/resource-scale')
  67.  
  68. branches['gtksourceview'] = (None, 'gnome-3-24')
  69.  
  70. # A string listing additional arguments to be passed to make.
  71. # Set makeargs to 'V=1' for verbose build output.
  72. #makeargs = '-j10'
  73.  
  74. # git clone --depth=1
  75. # shallow_clone = True
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×