Skip to content

Commit 4f2e92f

Browse files
authored
Merge pull request #1 from RedddFoxxyy/main
feat: release v0.1.3
2 parents 10fceb5 + e17b9d0 commit 4f2e92f

27 files changed

Lines changed: 2256 additions & 99 deletions

.clangd

Lines changed: 0 additions & 2 deletions
This file was deleted.

.github/workflows/build_flatpak.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Build Flatpaks
33
on:
44
workflow_dispatch:
55

6+
push:
7+
branches:
8+
- release
9+
610
permissions:
711
contents: write
812

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ build_debug
3030
build_release
3131
build_install
3232
build_appimage
33+
build_local
34+
35+
# misc:
36+
po/README.md

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@
3030
</a>
3131

3232
- Flatpak builds for linux are available in [latest release](https://github.com/RedddFoxxyy/samaya/releases/latest).
33+
34+
- To install the application from source:
35+
36+
```bash
37+
git clone -b release --single-branch https://github.com/RedddFoxxyy/samaya.git
38+
cd samaya
39+
meson setup build_release --buildtype=release -Dprefix=$HOME/.local
40+
meson compile -C build_release
41+
meson install -C build_release
42+
cd ..
43+
rm -rf samaya
44+
```
45+
3346
- For other operating systems, the app can only be compiled and installed manually from source
3447
(and might fail because samaya depends heavily on glib, libcanberra and gsound which are linux only libs).
3548

@@ -50,13 +63,12 @@
5063
| [libadwaita](https://gitlab.gnome.org/GNOME/libadwaita) | `libadwaita-1` | `1.7` | GNOME styling |
5164
| [gsound](https://gitlab.gnome.org/GNOME/gsound) | `gsound` | `1.0.3` | Playing System Sounds |
5265
| [libcanberra](https://0pointer.de/lennart/projects/libcanberra/) | `libcanberra` | `0.30` | Dependency for gsound |
53-
| [glib](https://gitlab.gnome.org/GNOME/glib) | `glib-2.0` | `2.74.6` | Dependency for gtk4 and libadwaita |
5466

5567
### Steps to build:
5668

5769
1. **Clone the repository:**
5870
```bash
59-
git clone [https://github.com/RedddFoxxyy/samaya.git](https://github.com/RedddFoxxyy/samaya.git)
71+
git clone https://github.com/RedddFoxxyy/samaya.git
6072
cd samaya
6173
```
6274

@@ -67,6 +79,11 @@
6779
./build_release/src/samaya
6880
```
6981

82+
3. **Install the application:**
83+
```bash
84+
meson install -C build_release
85+
```
86+
7087
## For Contributors:
7188

7289
- The project follows a mix of C naming conventions from LLVM and GNOME/GNU style C code.
Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,59 @@
11
{
2-
"id": "io.github.redddfoxxyy.samaya",
3-
"runtime": "org.gnome.Platform",
4-
"runtime-version": "49",
5-
"sdk": "org.gnome.Sdk",
6-
"command": "samaya",
7-
"finish-args": [
8-
"--share=ipc",
9-
"--socket=fallback-x11",
10-
"--device=dri",
11-
"--socket=wayland",
12-
"--socket=pulseaudio"
13-
],
14-
"cleanup": [
15-
"/include",
16-
"/lib/pkgconfig",
17-
"/man",
18-
"/share/doc",
19-
"/share/gtk-doc",
20-
"/share/man",
21-
"/share/pkgconfig",
22-
"*.la",
23-
"*.a",
24-
"/bin/*-config",
25-
"/share/aclocal",
26-
"/share/info",
27-
"/lib/cmake",
28-
"/share/vala",
29-
"/lib/girepository-1.0",
30-
"/share/gir-1.0"
31-
],
32-
"modules": [
33-
"shared-modules/libcanberra/libcanberra.json",
34-
{
35-
"name": "gsound",
36-
"buildsystem": "meson",
37-
"config-opts": ["--buildtype=release", "--libdir=/app/lib"],
38-
"sources": [
39-
{
40-
"type": "archive",
41-
"url": "https://download.gnome.org/sources/gsound/1.0/gsound-1.0.3.tar.xz",
42-
"sha256": "ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a"
43-
}
44-
]
45-
},
46-
{
47-
"name": "samaya",
48-
"buildsystem": "meson",
49-
"sources": [
50-
{
51-
"type": "git",
52-
"url": "https://github.com/RedddFoxxyy/samaya.git",
53-
"branch": "main"
54-
}
55-
],
56-
"config-opts": ["--buildtype=release"]
57-
}
58-
]
2+
"id": "io.github.redddfoxxyy.samaya",
3+
"runtime": "org.gnome.Platform",
4+
"runtime-version": "49",
5+
"sdk": "org.gnome.Sdk",
6+
"command": "samaya",
7+
"finish-args": [
8+
"--share=ipc",
9+
"--socket=fallback-x11",
10+
"--device=dri",
11+
"--socket=wayland",
12+
"--socket=pulseaudio"
13+
],
14+
"cleanup": [
15+
"/include",
16+
"/lib/pkgconfig",
17+
"/man",
18+
"/share/doc",
19+
"/share/gtk-doc",
20+
"/share/man",
21+
"/share/pkgconfig",
22+
"*.la",
23+
"*.a",
24+
"/bin/*-config",
25+
"/share/aclocal",
26+
"/share/info",
27+
"/lib/cmake",
28+
"/share/vala",
29+
"/lib/girepository-1.0",
30+
"/share/gir-1.0"
31+
],
32+
"modules": [
33+
"shared-modules/libcanberra/libcanberra.json",
34+
{
35+
"name": "gsound",
36+
"buildsystem": "meson",
37+
"config-opts": ["--buildtype=release", "--libdir=/app/lib"],
38+
"sources": [
39+
{
40+
"type": "archive",
41+
"url": "https://download.gnome.org/sources/gsound/1.0/gsound-1.0.3.tar.xz",
42+
"sha256": "ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a"
43+
}
44+
]
45+
},
46+
{
47+
"name": "samaya",
48+
"buildsystem": "meson",
49+
"sources": [
50+
{
51+
"type": "git",
52+
"url": "https://github.com/RedddFoxxyy/samaya.git",
53+
"branch": "release"
54+
}
55+
],
56+
"config-opts": ["--buildtype=release"]
57+
}
58+
]
5959
}
Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
1+
<?xml version="1.0" encoding="UTF-8" ?>
22
<schemalist gettext-domain="samaya">
33
<schema id="io.github.redddfoxxyy.samaya" path="/io/github/redddfoxxyy/samaya/">
4+
<key name="work-duration" type="d">
5+
<default>25.0</default>
6+
<summary>Work session duration</summary>
7+
<description>Duration of work sessions in minutes</description>
8+
</key>
9+
<key name="short-break-duration" type="d">
10+
<default>5.0</default>
11+
<summary>Short break duration</summary>
12+
<description>Duration of short breaks in minutes</description>
13+
</key>
14+
<key name="long-break-duration" type="d">
15+
<default>20.0</default>
16+
<summary>Long break duration</summary>
17+
<description>Duration of long breaks in minutes</description>
18+
</key>
19+
<key name="sessions-to-complete" type="q">
20+
<default>4</default>
21+
<summary>Sessions before long break</summary>
22+
<description>Number of work sessions to complete before a long break</description>
23+
</key>
424
</schema>
525
</schemalist>

data/io.github.redddfoxxyy.samaya.metainfo.xml.in

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,18 @@
8989
</screenshots>
9090

9191
<releases>
92+
<release version="0.1.3" date="2025-11-30">
93+
<url type="details">https://github.com/RedddFoxxyy/samaya/releases/tag/0.1.3</url>
94+
<description translate="no">
95+
<p>Release Changelog:</p>
96+
<ul>
97+
<li>Preferences now persists between application restart.</li>
98+
<li>Increased limit of minimum and maximum duration for all routines.</li>
99+
<li>Increased limit of maximum number of sessions before long break.</li>
100+
<li>Add translations for Hindi.</li>
101+
</ul>
102+
</description>
103+
</release>
92104
<release version="0.1.1" date="2025-11-27">
93105
<url type="details">https://github.com/RedddFoxxyy/samaya/releases/tag/0.1.1</url>
94106
<description translate="no">

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'samaya',
33
'c',
4-
version: '0.1.2',
4+
version: '0.1.3',
55
meson_version: '>= 1.0.0',
66
default_options: [
77
'warning_level=2',

po/LINGUAS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
11
# Please keep this file sorted alphabetically.
2+
ar
3+
de
4+
es
5+
fr
6+
hi
7+
it
8+
ja
9+
ko
10+
mr
11+
nl
12+
ru
13+
zh_CN

0 commit comments

Comments
 (0)