Merge pull request #222 from MightyCreak/update-to-gnome-45

chore: update flatpak manifest
This commit is contained in:
Creak 2024-01-06 21:04:45 -05:00 committed by GitHub
commit a65acad67f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 34 additions and 9 deletions

View File

@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased ## Unreleased
### Changed
- Update from GNOME 44 to 45 (@sabriunal)
- Flatpak manifest now runs the tests (@sabriunal)
### Removed ### Removed
- Remove support for the SVK CVS (@MightyCreak) - Remove support for the SVK CVS (@MightyCreak)
@ -14,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed ### Fixed
- Fix compatibility with Python 3.12: remove use of `distutils` (@MightyCreak) - Fix compatibility with Python 3.12: remove use of `distutils` (@MightyCreak)
- Fix new errors raised by Flake8 (@MightyCreak)
## 0.8.2 - 2023-04-16 ## 0.8.2 - 2023-04-16

View File

@ -44,9 +44,27 @@ few manual steps.
## Create new release on Flatpak ## Create new release on Flatpak
1. Clone the Flathub repository: <https://github.com/flathub/io.github.mightycreak.Diffuse> 1. Clone the Flathub repository: <https://github.com/flathub/io.github.mightycreak.Diffuse>
2. Copy the contents of Diffuse's `io.github.mightycreak.Diffuse.yml` to Flathub's 2. Copy the contents of `io.github.mightycreak.Diffuse.yml` in Diffuse repository
3. Keep Flathub's `config-opts` and `sources` sections to Flathub's
4. In `sources` section, change the `commit` and `tag` 3. Edit the file:
5. Create commit with changes and push to `master` - Replace the content of the `diffuse` module with these lines:
6. Check the build on Flathub: <https://flathub.org/builds/>
7. When it's done and successful, publish the build ```yaml
- name: diffuse
builddir: true
buildsystem: meson
config-opts:
- -Dlog_print_output=true
- -Duse_flatpak=true
sources:
- type: git
url: https://github.com/MightyCreak/diffuse
tag: <tag>
commit: <tag_commit>
```
- Replace `<tag>` with the release tag (e.g. `v1.2.3`)
- Replace `<tag_commit>` with the release tag commit (e.g. `c0cefac1c4ab99a309b65002e820f5c815e368e1`)
4. Create commit with changes and push to `main`
5. Check the build on Flathub: <https://flathub.org/builds/>
6. When it's done and successful, publish the build

View File

@ -1,6 +1,6 @@
app-id: io.github.mightycreak.Diffuse app-id: io.github.mightycreak.Diffuse
runtime: org.gnome.Platform runtime: org.gnome.Platform
runtime-version: '44' runtime-version: '45'
sdk: org.gnome.Sdk sdk: org.gnome.Sdk
command: diffuse command: diffuse
finish-args: finish-args:
@ -12,8 +12,9 @@ finish-args:
- --talk-name=org.freedesktop.Flatpak - --talk-name=org.freedesktop.Flatpak
modules: modules:
- name: diffuse - name: diffuse
builddir: true
buildsystem: meson buildsystem: meson
builddir: true
run-tests: true
config-opts: config-opts:
- -Dlog_print_output=true - -Dlog_print_output=true
- -Dlog_print_stack=true - -Dlog_print_stack=true

View File

@ -185,7 +185,7 @@ def popenRead(
prefs.convertToNativePath('/bin/bash.exe'), prefs.convertToNativePath('/bin/bash.exe'),
'-l', '-l',
'-c', '-c',
f"cd {_bash_escape(cwd)}; {' '.join([ _bash_escape(arg) for arg in cmd ])}" f"cd {_bash_escape(cwd)}; {' '.join([_bash_escape(arg) for arg in cmd])}"
] ]
opt_cwd = None opt_cwd = None