forked from workbenchdev/Workbench
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add development profile/manifest (workbenchdev#159)
- Loading branch information
Showing
23 changed files
with
186 additions
and
100 deletions.
There are no files selected for viewing
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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<component type="desktop"> | ||
<id>re.sonny.Workbench</id> | ||
<launchable type="desktop-id">re.sonny.Workbench.desktop</launchable> | ||
<id>@app_id@</id> | ||
<launchable type="desktop-id">@app_id@.desktop</launchable> | ||
<name translatable="no">Workbench</name> | ||
<developer_name translatable="no">Sonny Piers</developer_name> | ||
<update_contact>[email protected]</update_contact> | ||
<metadata_license>CC0-1.0</metadata_license> | ||
<project_license>GPL-3.0</project_license> | ||
<summary>Learn and prototype with GNOME technologies</summary> | ||
<translation type="gettext">re.sonny.Workbench</translation> | ||
<translation type="gettext">@app_id@</translation> | ||
<description> | ||
<p>Workbench goal is to let you experiment with GNOME technologies, no matter if tinkering for the first time or building and testing a GTK user interface.</p> | ||
<p>Among other things, Workbench comes with</p> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[D-BUS Service] | ||
Name=re.sonny.Workbench | ||
Name=@app_id@ | ||
Exec=@bindir@/workbench --gapplication-service |
File renamed without changes
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
desktop_file = i18n.merge_file( | ||
input: 're.sonny.Workbench.desktop', | ||
output: 're.sonny.Workbench.desktop', | ||
input: configure_file( | ||
input: 'app.desktop', | ||
output: 'tmp.app.desktop', | ||
configuration: { 'app_id': app_id } | ||
), | ||
output: '@[email protected]'.format(app_id), | ||
type: 'desktop', | ||
po_dir: '../po', | ||
install: true, | ||
|
@@ -15,19 +19,21 @@ if desktop_utils.found() | |
endif | ||
|
||
appstream_file = i18n.merge_file( | ||
input: 're.sonny.Workbench.metainfo.xml', | ||
output: 're.sonny.Workbench.metainfo.xml', | ||
input: configure_file( | ||
input: 'app.metainfo.xml', | ||
output: 'tmp.app.metainfo.xml', | ||
configuration: { 'app_id': app_id } | ||
), | ||
output: '@[email protected]'.format(app_id), | ||
po_dir: '../po', | ||
install: true, | ||
install_dir: join_paths(get_option('datadir'), 'metainfo') | ||
) | ||
|
||
service_conf = configuration_data() | ||
service_conf.set('bindir', bindir) | ||
configure_file( | ||
input: 're.sonny.Workbench.service', | ||
output: 're.sonny.Workbench.service', | ||
configuration: service_conf, | ||
input: 'app.service', | ||
output: '@0@.service'.format(app_id), | ||
configuration: { 'app_id': app_id, 'bindir': bindir }, | ||
install_dir: join_paths(get_option('datadir'), 'dbus-1/services') | ||
) | ||
|
||
|
@@ -38,7 +44,10 @@ if appstream_util.found() | |
) | ||
endif | ||
|
||
install_data('re.sonny.Workbench.gschema.xml', | ||
configure_file( | ||
input: 'app.gschema.xml', | ||
output: '@[email protected]'.format(app_id), | ||
configuration: { 'app_id': app_id }, | ||
install_dir: join_paths(get_option('datadir'), 'glib-2.0/schemas') | ||
) | ||
|
||
|
@@ -49,4 +58,4 @@ if compile_schemas.found() | |
) | ||
endif | ||
|
||
install_subdir('icons/', install_dir : join_paths(get_option('datadir'))) | ||
install_subdir('icons/hicolor', install_dir : join_paths(get_option('datadir'), 'icons')) |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
option( | ||
'profile', | ||
type: 'combo', | ||
choices: [ | ||
'default', | ||
'development' | ||
], | ||
value: 'default' | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
i18n.gettext(application_id, preset: 'glib', args: ['--no-wrap']) | ||
i18n.gettext(app_id, preset: 'glib', args: ['--no-wrap']) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"app-id": "re.sonny.Workbench.Devel", | ||
"runtime": "org.gnome.Sdk", | ||
"runtime-version": "43", | ||
"sdk": "org.gnome.Sdk", | ||
"command": "workbench", | ||
"finish-args": [ | ||
"--share=ipc", | ||
"--socket=fallback-x11", | ||
"--socket=wayland", | ||
"--device=dri", | ||
"--socket=session-bus", | ||
"--share=network" | ||
], | ||
"modules": [ | ||
{ | ||
"name": "vte", | ||
"buildsystem": "meson", | ||
"config-opts": [ | ||
"-Ddocs=false", | ||
"-Dgtk3=false", | ||
"-Dgtk4=true", | ||
"-Dvapi=false", | ||
"-Dglade=false" | ||
], | ||
"sources": [ | ||
{ | ||
"type": "git", | ||
"url": "https://gitlab.gnome.org/GNOME/vte.git", | ||
"commit": "ae4a5d7df9e32ab40ceca5e06240561e819db148", | ||
"tag": "0.70.0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "libportal", | ||
"buildsystem": "meson", | ||
"config-opts": ["-Ddocs=false", "-Dvapi=false", "-Dbackends=gtk4"], | ||
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://github.com/flatpak/libportal/releases/download/0.6/libportal-0.6.tar.xz", | ||
"sha256": "88a12c3ba71bc31acff7238c280de697d609cebc50830c3766776ec35abc6566" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "blueprint-compiler", | ||
"buildsystem": "meson", | ||
"builddir": true, | ||
"sources": [ | ||
{ | ||
"type": "dir", | ||
"path": "./blueprint-compiler" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "Workbench", | ||
"buildsystem": "meson", | ||
"builddir": true, | ||
"config-opts": ["-Dprofile=development"], | ||
"sources": [ | ||
{ | ||
"type": "dir", | ||
"path": "." | ||
} | ||
] | ||
} | ||
] | ||
} |
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ import { | |
} from "./troll/src/util.js"; | ||
import { getFlatpakInfo } from "./util.js"; | ||
|
||
export default function About({ application, version }) { | ||
export default function About({ application }) { | ||
const flatpak_info = getFlatpakInfo(); | ||
|
||
const debug_info = ` | ||
|
@@ -30,11 +30,11 @@ ${getBlueprintVersion()} | |
developer_name: "Sonny Piers", | ||
copyright: "Copyright 2022 Sonny Piers", | ||
license_type: Gtk.License.GPL_3_0_ONLY, | ||
version, | ||
version: pkg.version, | ||
transient_for: application.get_active_window(), | ||
modal: true, | ||
website: "https://workbench.sonny.re", | ||
application_icon: "re.sonny.Workbench", | ||
application_icon: pkg.name, | ||
issue_url: "https://github.com/sonnyp/Workbench/issues", | ||
// TRANSLATORS: eg. 'Translator Name <[email protected]>' or 'Translator Name https://website.example' | ||
translator_credits: _("translator-credits"), | ||
|
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
File renamed without changes.
Oops, something went wrong.