Skip to content

Commit

Permalink
bump version to v0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
flxzt committed Dec 7, 2023
1 parent 28a0142 commit e8bbf1a
Show file tree
Hide file tree
Showing 10 changed files with 182 additions and 158 deletions.
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ liberapay: flxzt # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
# custom: ['https://www.paypal.com/donate?hosted_button_id=LQ9Q4868GKQGG'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
#custom: [] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
15 changes: 8 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
Expand All @@ -13,25 +12,27 @@ A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
2. Click on '...'
3. Scroll down to '...'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Console Output**
Run the app in the terminal with `flatpak --env=RUST_LOG=rnote=debug --env=RUST_BACKTRACE=1 run com.github.flxzt.rnote` and post the output.
Run the app in the terminal with `flatpak --env=RUST_LOG=rnote=debug --env=RUST_BACKTRACE=1 run com.github.flxzt.rnote`
and post the output.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Fedora 38, Windows 11 22H2, ...]
- App Version: [e.g. Rnote v0.9.2]
- OS: [e.g. Fedora 39, Windows 11 23H2, ...]
- App Version: [e.g. Rnote v0.9.3]
- Installation Source: [e.g. Flatpak, Archlinux Community Repo, ...]
- Desktop Environment: [e.g. Gnome 44.2]
- Desktop Environment: [e.g. Gnome 45.2]
- Display Server: [e.g. X11 or Wayland]
- Input Source: [e.g. Mouse and Keyboard, On-Screen-Tablet, External Graphics Tablet, ...]

**Additional context**
Add any other context about the problem here.
3 changes: 1 addition & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Please submit only one feature request in one issue!**
If it is UX / UI related, don't post how a single aspect of the UI should be changed, rather in which use-case you felt
If it is UI/UX related, don't post how a single aspect of the UI should be changed, rather in which use-case you felt
the UI is lacking or should be improved.

**Is your feature request related to a problem? Please describe.**
Expand Down
28 changes: 20 additions & 8 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,26 @@ git submodule update --init --recursive
# Building with Flatpak vs Meson
This project can be compiled in two different ways depending on your needs: flatpak or meson.

Flatpak is a sandboxed environment/distribution used for building and running applications in a way that is more user friendly and cross platform. When using flatpak to build an application, flatpak creates a sandboxed environment tailered to exactly what the application needs. This makes it much easier to compile and run an application without issues.
Flatpak is a sandboxed environment/distribution used for building and running applications in a way that is more user
friendly and cross platform. When using flatpak to build an application, flatpak creates a sandboxed environment
tailored to exactly what the application needs. This makes it much easier to compile and run an application without
issues.

Meson is the build system that Rnote uses for building the application. It is called when the flatpak is built. It is also possible to use meson directly on the host. Because it is building on the host machine, it may require more upfront work managing the host environment, but then compiling changes to the codebase can be much faster since it does not require rebuilding a sandboxed environment.
Meson is the build system that Rnote uses for building the application. It is called when the flatpak is built. It is
also possible to use meson directly on the host. Because it is building on the host machine, it may require more upfront
work managing the host environment, but then compiling changes to the codebase can be much faster since it does not
require rebuilding a sandboxed environment.

# Building with Flatpak
There is a flatpak manifest in `build-aux/com.github.flxzt.rnote.Devel.yaml`.

Make sure you have `flatpak` and `flatkpak-builder` installed on your system.
Make sure you have `flatpak` and `flatpak-builder` installed on your system.


For Fedora:
```bash
sudo dnf install flatpak flatpak-builder
```

Flathub needs to be added as remote repository:

Expand All @@ -43,8 +55,8 @@ the application for you. **This is the easiest and recommended way.**
`systemctl start --user xdg-document-portal` should fix it.
- As long as the flatpak is not installed on the system, The DirectoryList in the workspace browser does not update when
files are created, removed or changed. It will work in the released flatpak.
- Building the flatpak aborts randomly with `status 137 out of memory`: Reset the flatpak app-id permissions by executing
`flatpak permission-reset com.github.flxzt.rnote`, so the build is able to run in the background.
- Building the flatpak aborts randomly with `status 137 out of memory`: Reset the flatpak App-ID permissions by
executing `flatpak permission-reset com.github.flxzt.rnote`, so the build is able to run in the background.
(see [this issue](https://github.com/flatpak/xdg-desktop-portal/issues/478))

## Manual flatpak build
Expand All @@ -71,8 +83,7 @@ flatpak-builder --user --install flatpak-app build-aux/com.github.flxzt.rnote.De
```

### Run
Then it can be run.
From the build directory:
Then it can be run. From the build directory:

```bash
flatpak-builder --run flatpak-app build-aux/com.github.flxzt.rnote.Devel.yaml rnote
Expand All @@ -89,7 +100,8 @@ The flatpak manifest calls the meson build system to build the application.
If a native build on the host is wanted, meson can be called directly.

## Prerequisites
Install all needed dependencies and build tools, e.g. for fedora 38:
Install all needed dependencies and build tools, e.g. for Fedora:

```bash
sudo dnf install gcc gcc-c++ clang clang-devel python3 make cmake meson git kernel-devel gtk4-devel libadwaita-devel \
poppler-glib-devel poppler-data alsa-lib-devel
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.9.2"
version = "0.9.3"
edition = "2021"
rust-version = "1.70"
authors = ["The Rnote Authors"]
Expand All @@ -17,8 +17,8 @@ homepage = "https://rnote.flxzt.net"
repository = "https://github.com/flxzt/rnote"

[workspace.dependencies]
rnote-compose = { version="0.9.2", path = "crates/rnote-compose" }
rnote-engine = { version="0.9.2", path = "crates/rnote-engine" }
rnote-compose = { version="0.9.3", path = "crates/rnote-compose" }
rnote-engine = { version="0.9.3", path = "crates/rnote-engine" }

log = "0.4"
pretty_env_logger = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion crates/rnote-engine/src/fileformats/rnoteformat/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct RnotefileWrapper {
pub type RnoteFile = RnoteFileMaj0Min9;

impl RnoteFile {
pub const SEMVER: &'static str = "0.9.2";
pub const SEMVER: &'static str = "0.9.3";
}

impl FileFormatLoader for RnoteFile {
Expand Down
14 changes: 14 additions & 0 deletions crates/rnote-ui/data/app.metainfo.xml.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,20 @@

<!-- The changelog should not be translated -->
<releases>
<release version="0.9.3" date="2023-12-07">
<description>
<p>this release changes:</p>
<ul>
<li>improvement: add button to export notification to open file location in file-manager after exporting (thanks to @silvasch)</li>
<li>improvement: more readable file row names</li>
<li>improvement: add keyboard shortcut for snap-positions action</li>
<li>improvement: pdf import option to toggle page borders</li>
<li>fix: don't export empty pages that are adjacent to content that is snapped to the document grid</li>
<li>fix: progress pulses getting out of sync when executing multiple operations in parallel</li>
<li>fix: typewriter width adjustment button disappearing after setting it to minimal width</li>
</ul>
</description>
</release>
<release version="0.9.2" date="2023-11-16">
<description>
<p>this release changes:</p>
Expand Down
Loading

0 comments on commit e8bbf1a

Please sign in to comment.