Last active
January 17, 2018 21:52
-
-
Save ptomato/3f679bdeb77f3b788281afe9161209c8 to your computer and use it in GitHub Desktop.
Flapjack configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "difflint", | |
"buildsystem": "simple", | |
"build-commands": ["pip3 install ."], | |
"sources": [ | |
{ | |
"type": "git", | |
"url": "https://github.com/endlessm/difflint", | |
"branch": "master" | |
} | |
] | |
}, | |
{ | |
"name": "jq", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz", | |
"sha256": "c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c" | |
} | |
] | |
}, | |
{ | |
"name": "mercurial", | |
"no-autogen": true, | |
"make-args": ["build"], | |
"install-rule": "install-bin", | |
"make-install-args": ["PREFIX=/usr"], | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://www.mercurial-scm.org/release/mercurial-4.4.2.tar.gz", | |
"sha256": "dc2f72caccd6b760226753d48c2f4e8889fe176a6b23ef50775caac55ce28b85" | |
} | |
] | |
}, | |
{ | |
"name": "python-dbusmock", | |
"buildsystem": "simple", | |
"build-commands": [ | |
"pip3 install --no-index --find-links \"file://${PWD}\" dbus-python python-dbusmock" | |
], | |
"sources": [ | |
{ | |
"url": "https://pypi.python.org/packages/4d/cd/a5f571ef37addb45a86eca2e66a6b4789d915dbb9170a997dba02b7a0a89/python-dbusmock-0.17.tar.gz", | |
"type": "file", | |
"sha256": "58f802ef4c659a1adbca31eb6c26688f1c09599b5832354eb258340b66673346" | |
}, | |
{ | |
"url": "https://pypi.python.org/packages/ad/1b/76adc363212c642cabbf9329457a918308c0b9b5d38ce04d541a67255174/dbus-python-1.2.4.tar.gz", | |
"type": "file", | |
"sha256": "e2f1d6871f74fba23652e51d10873e54f71adab0525833c19bad9e99b1b2f9cc" | |
} | |
] | |
}, | |
{ | |
"name": "rr", | |
"buildsystem": "cmake-ninja", | |
"only-arches": ["i386", "x86_64"], | |
"build-options": { | |
"arch": { | |
"i386": { | |
"config-opts": ["-Dforce32bit=ON"] | |
}, | |
"x86_64": { | |
"config-opts": ["-Ddisable32bit=ON"] | |
} | |
} | |
}, | |
"modules": [ | |
{ | |
"name": "capnproto", | |
"sources": [ | |
{ | |
"type": "archive", | |
"url": "https://capnproto.org/capnproto-c++-0.6.1.tar.gz", | |
"sha256": "8082040cd8c3b93c0e4fc72f2799990c72fdcf21c2b5ecdae6611482a14f1a04" | |
} | |
] | |
}, | |
{ | |
"name": "rr-python-dependencies", | |
"buildsystem": "simple", | |
"build-commands": [ | |
"pip2 install --no-index --find-links \"file://${PWD}\" ptyprocess pexpect" | |
], | |
"sources": [ | |
{ | |
"type": "file", | |
"url": "https://pypi.python.org/packages/14/05/47c8bca66390c9b18c91f6152db4b74eb850382e8e13aa2f06dfb3036466/pexpect-4.3.1.tar.gz", | |
"sha256": "8e287b171dbaf249d0b06b5f2e88cb7e694651d2d0b8c15bccb83170d3c55575" | |
}, | |
{ | |
"type": "file", | |
"url": "https://pypi.python.org/packages/51/83/5d07dc35534640b06f9d9f1a1d2bc2513fb9cc7595a1b0e28ae5477056ce/ptyprocess-0.5.2.tar.gz", | |
"sha256": "e64193f0047ad603b71f202332ab5527c5e52aa7c8b609704fc28c0dc20c4365" | |
} | |
] | |
} | |
], | |
"sources": [ | |
{ | |
"type": "git", | |
"url": "https://github.com/mozilla/rr", | |
"branch": "5.1.0" | |
} | |
] | |
}, | |
{ | |
"name": "git-prompt", | |
"buildsystem": "simple", | |
"build-commands": [ | |
"install -D git-sh-prompt /usr/lib/git-core/git-sh-prompt" | |
], | |
"sources": [ | |
{ | |
"type": "file", | |
"path": "/usr/lib/git-core/git-sh-prompt" | |
} | |
] | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is your Flapjack config file. It's a keyfile, and you can access the | |
# values of other variables with the syntax ${variable}. Examples of what you | |
# can configure are shown commented. Copy this file to ~/.config/flapjack.ini | |
# and customize it to your liking. | |
# The default configuration lets you hack on the org.gnome.Sdk runtime, with | |
# the core GNOME platform as the default set of modules. This config file | |
# illustrates how you might set up the Endless OS runtime. | |
[Common] | |
# -- DIRECTORIES -------------------------------------------------------------- | |
# Set `workdir` to the directory where Flapjack does all its work. An example | |
# use of this is if you want to maintain two Flapjack config files in order to | |
# hack on two runtimes at different times. `~` in this setting will be expanded | |
# to your home directory. | |
# workdir = ~/flapjack | |
# Set `checkoutdir` to a directory where you want Flapjack to store all your | |
# git checkouts of modules that you are developing. The default is a "checkout" | |
# subdirectory of the workdir, but some might prefer a separate directory. | |
checkoutdir = ~/checkout | |
# If you want to use flatpak's per-user installation instead of the system-wide | |
# one, set this to yes: | |
# user_installation = no | |
# -- RUNTIME SETUP ------------------------------------------------------------ | |
# This specifies the SDK runtime you want to hack on. We assume that its | |
# manifest comes from a git checkout. | |
sdk_upstream = https://github.com/endlessm/endless-sdk-flatpak | |
# sdk_upstream_branch = master | |
sdk_id = com.endlessm.apps.Sdk | |
sdk_branch = master | |
# The manifest is assumed to be in the root of the `sdk_upstream` git | |
# repository, and the filename is `sdk_id` plus `.json.in`. Customize that here | |
# if that's not the case. | |
# sdk_manifest_json = ${sdk_id}.json | |
# Flapjack will install the base SDK's repository as "flapjack-source", using | |
# a .flatpakrepo definition file. If you want to use a flatpak repo that you've | |
# already added, so that you don't have to download everything again, set | |
# `sdk_repo_name` here. The .flatpakrepo file will only be added if a flatpak | |
# repo called `sdk_repo_name` doesn't already exist. | |
sdk_repo_name = eos-sdk | |
sdk_repo_definition = | |
http://endlessm.github.io/eos-knowledge-lib/eos-sdk.flatpakrepo | |
# This is the name of the development runtime that you are producing. | |
dev_sdk_id = com.endlessm.appsdev.Sdk | |
# -- DEVELOPMENT ENVIRONMENT -------------------------------------------------- | |
# This is the list of modules that you want to be able to open and hack on. | |
modules = | |
xapian-glib | |
eos-metrics | |
eos-sdk | |
eos-shard | |
basin | |
emeus | |
eos-knowledge-lib | |
# Here you can specify a manifest for any extra developer tools you want to | |
# build into the development runtime. | |
dev_tools_manifest = ${workdir}/devtools.json | |
# Extra flatpak permissions to give to the sandbox in which `flapjack test` | |
# runs modules' tests. For example, you might want to run graphical tests. | |
test_permissions = | |
--socket=x11 | |
--socket=wayland | |
# Extra flatpak permissions to give to the sandbox started by `flapjack run` | |
# and `flapjack shell`. | |
shell_permissions = ${test_permissions} | |
--allow=devel | |
--share=network | |
--filesystem=home | |
--env=G_MESSAGES_DEBUG=EosKnowledgeContent | |
# --env=EOS_PROFILE=1 | |
# --command=bash | |
# Add any extra configuration options for the modules here, that are not | |
# present in the original manifest but you want to change for the development | |
# runtime, such as including debug features or documentation. | |
# You can also override the git repo URL (for example, if you are modifying a | |
# tarball module) with the `url` key. | |
[xapian-glib] | |
extra_config_opts = -Dbuild_docs=true | |
[eos-metrics] | |
extra_config_opts = --enable-gtk-doc | |
[eos-sdk] | |
extra_config_opts = --enable-gtk-doc --enable-js-doc | |
[emeus] | |
extra_config_opts = -Denable-gtk-doc=true | |
[eos-knowledge-lib] | |
extra_config_opts = --enable-js-doc --enable-gtk-doc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment