commit
22f4c95bbe
|
@ -25,6 +25,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get -y install libgirepository1.0-dev
|
sudo apt-get -y install libgirepository1.0-dev
|
||||||
pip install -r requirements.dev.txt
|
pip install -r requirements.dev.txt
|
||||||
|
pip list
|
||||||
|
|
||||||
- name: Flake8
|
- name: Flake8
|
||||||
run: |
|
run: |
|
||||||
|
@ -43,34 +44,23 @@ jobs:
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
|
- run: sudo apt-get -y install meson appstream appstream-util desktop-file-utils gettext
|
||||||
- name: Install dependencies
|
- run: pip install meson ninja
|
||||||
run: |
|
- run: meson setup build
|
||||||
sudo apt-get -y install appstream appstream-util desktop-file-utils gettext
|
- run: meson compile -C build
|
||||||
|
- run: meson test -C build
|
||||||
- name: Meson build
|
|
||||||
uses: BSFishy/meson-build@v1.0.3
|
|
||||||
with:
|
|
||||||
action: build
|
|
||||||
setup-options: --prefix=/tmp/diffuse
|
|
||||||
|
|
||||||
- name: Meson test
|
|
||||||
uses: BSFishy/meson-build@v1.0.3
|
|
||||||
with:
|
|
||||||
action: test
|
|
||||||
|
|
||||||
flatpak-build-test:
|
flatpak-build-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-40
|
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
||||||
options: --privileged
|
options: --privileged
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.8'
|
python-version: '3.8'
|
||||||
- name: Flatpak builder
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v4
|
|
||||||
with:
|
with:
|
||||||
bundle: "diffuse.flatpak"
|
bundle: "diffuse.flatpak"
|
||||||
manifest-path: "io.github.mightycreak.Diffuse.yml"
|
manifest-path: "io.github.mightycreak.Diffuse.yml"
|
||||||
|
|
|
@ -19,6 +19,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Dialog: prompt only once if several files needs to be reloaded (@yuriiz)
|
- Dialog: prompt only once if several files needs to be reloaded (@yuriiz)
|
||||||
- Use GTK3's Gtk.Application/Gtk.ApplicationWindow (@yuriiz)
|
- Use GTK3's Gtk.Application/Gtk.ApplicationWindow (@yuriiz)
|
||||||
- Split `DiffuseApplication` and `DiffuseWindow` classes in their own files (@MightyCreak)
|
- Split `DiffuseApplication` and `DiffuseWindow` classes in their own files (@MightyCreak)
|
||||||
|
- Use new Meson (from 0.50 to 0.55) and fixed deprecation warnings (@MightyCreak)
|
||||||
|
- Update from GNOME 42 to GNOME 44 (@MightyCreak)
|
||||||
|
- Mac: fix the shortcut for first/previous/next/last differences, now uses ⌘
|
||||||
|
instead of Ctrl (@krlmlr)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<caption>Main window: diff between two files</caption>
|
<caption>Main window: diff between two files</caption>
|
||||||
<image>https://mightycreak.github.io/diffuse/images/screenshot_v0.7.0.png</image>
|
<image>https://mightycreak.github.io/diffuse/docs/images/screenshot_v0.7.0.png</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,7 @@ pip3 install -r requirements.dev.txt
|
||||||
To build, test and install Diffuse locally:
|
To build, test and install Diffuse locally:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
flatpak install runtime/org.gnome.Sdk/$(uname -p)/42
|
flatpak install runtime/org.gnome.Sdk/$(uname -p)/44
|
||||||
flatpak-builder --user --install build-flatpak io.github.mightycreak.Diffuse.yml
|
flatpak-builder --user --install build-flatpak io.github.mightycreak.Diffuse.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ flatpak-builder --user --install build-flatpak io.github.mightycreak.Diffuse.yml
|
||||||
To run Diffuse through Flatpak:
|
To run Diffuse through Flatpak:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
flatpak run io.github.mightycreak.Diffuse
|
flatpak run --user io.github.mightycreak.Diffuse
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Uninstall
|
#### Uninstall
|
||||||
|
@ -88,7 +88,7 @@ flatpak run io.github.mightycreak.Diffuse
|
||||||
To uninstall Diffuse:
|
To uninstall Diffuse:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
flatpak remove io.github.mightycreak.Diffuse
|
flatpak remove --user io.github.mightycreak.Diffuse
|
||||||
```
|
```
|
||||||
|
|
||||||
### Setup on Linux using Meson
|
### Setup on Linux using Meson
|
||||||
|
@ -101,9 +101,8 @@ To build and test Diffuse:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
meson setup build
|
meson setup build
|
||||||
cd build
|
meson compile -C build
|
||||||
meson compile
|
meson test -C build
|
||||||
meson test
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Install on system and run
|
#### Install on system and run
|
||||||
|
@ -111,7 +110,7 @@ meson test
|
||||||
To install Diffuse on your system (e.g. `/usr/local/`):
|
To install Diffuse on your system (e.g. `/usr/local/`):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
meson install # requires admin privileges
|
meson install -C build # requires admin privileges
|
||||||
```
|
```
|
||||||
|
|
||||||
To run Diffuse:
|
To run Diffuse:
|
||||||
|
@ -128,7 +127,7 @@ Meson allows to change the default installation directories, see
|
||||||
To install Diffuse in a custom directory (e.g. `~/bin/diffuse`):
|
To install Diffuse in a custom directory (e.g. `~/bin/diffuse`):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
meson install --destdir ~/bin/diffuse
|
meson install -C build --destdir ~/bin/diffuse
|
||||||
```
|
```
|
||||||
|
|
||||||
To run Diffuse:
|
To run Diffuse:
|
||||||
|
@ -159,9 +158,8 @@ To build and test Diffuse:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
meson setup build
|
meson setup build
|
||||||
cd build
|
meson compile -C build
|
||||||
meson compile
|
meson test -C build
|
||||||
meson test
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Install on system and run
|
#### Install on system and run
|
||||||
|
@ -170,7 +168,7 @@ To install Diffuse on your system (e.g. `/Applications/` and `/opt/homebrew/`
|
||||||
or `/usr/local/`):
|
or `/usr/local/`):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
meson install # requires admin privileges
|
meson install -C build # requires admin privileges
|
||||||
```
|
```
|
||||||
|
|
||||||
To run Diffuse:
|
To run Diffuse:
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 233 KiB |
|
@ -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: '42'
|
runtime-version: '44'
|
||||||
sdk: org.gnome.Sdk
|
sdk: org.gnome.Sdk
|
||||||
command: diffuse
|
command: diffuse
|
||||||
finish-args:
|
finish-args:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
project('diffuse',
|
project('diffuse',
|
||||||
version: '0.7.7',
|
version: '0.7.7',
|
||||||
meson_version: '>= 0.50',
|
meson_version: '>= 0.55',
|
||||||
license: 'GPL-2.0-or-later',
|
license: 'GPL-2.0-or-later',
|
||||||
default_options: [ 'warning_level=2' ])
|
default_options: [ 'warning_level=2' ])
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
flake8 ~= 3.8
|
flake8 ~= 6.0
|
||||||
flake8-noqa ~= 1.2
|
flake8-noqa ~= 1.3
|
||||||
mypy ~= 0.910
|
mypy ~= 1.1
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
PyGObject ~= 3.40
|
PyGObject ~= 3.44
|
||||||
|
|
|
@ -4,7 +4,7 @@ moduledir = join_paths(pkgdatadir, 'diffuse')
|
||||||
python = import('python')
|
python = import('python')
|
||||||
|
|
||||||
conf = configuration_data()
|
conf = configuration_data()
|
||||||
conf.set('PYTHON', python.find_installation('python3').path())
|
conf.set('PYTHON', python.find_installation('python3').full_path())
|
||||||
conf.set('VERSION', meson.project_version())
|
conf.set('VERSION', meson.project_version())
|
||||||
conf.set('PKGDATADIR', pkgdatadir)
|
conf.set('PKGDATADIR', pkgdatadir)
|
||||||
conf.set('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
conf.set('LOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
|
||||||
|
|
Loading…
Reference in New Issue