Compare commits

...

11 Commits

Author SHA1 Message Date
Joao Azevedo 95e14f0b61 Update README.md 2021-11-01 15:29:47 +00:00
Joao Azevedo 9e00cc502d make it use xdg-user-dir to determine where the videos are stored. Instead of hard coding a path and a user. Useful for non English L5 users. 2021-11-01 15:19:38 +00:00
Joao Azevedo 2f5784c6b7
use xdg-user-dir to determine directories 2021-11-01 16:02:04 +01:00
Joao Azevedo e3c012fc0e
update readme 2021-10-31 14:59:40 +01:00
Joao Azevedo 460c8bccb9 Merge branch 'drop-checktarball' into 'pureos/byzantium'
Make it a native package again

See merge request librem5-apps/librem5-goodies!25
2021-10-30 16:16:50 +00:00
Guido Günther f487497265 Document changes and release 0.0.7pureos1 2021-10-30 15:41:18 +02:00
Guido Günther 2a444158c6 ci: Drop check-tarball
Not needed (and hence not working) for a 3.0 (native) package
2021-10-30 15:40:44 +02:00
Guido Günther eb71756777 Make it a native package again
There's no upstream other than us afaik.
2021-10-30 15:40:44 +02:00
Joao Azevedo 318802de54
update changelog 2021-10-30 01:26:36 +02:00
Joao Azevedo 93cab485ac
update changelog 2021-10-30 01:26:00 +02:00
Joao Azevedo 236845a654
move from native to quilt 2021-10-30 01:11:18 +02:00
4 changed files with 22 additions and 8 deletions

View File

@ -1,10 +1,12 @@
# Librem 5 Goodies
This project serves to create a deb package with several bash scripts created for the Librem 5 phone.
This project serves to create a deb package with several temporary helper bash scripts created for the Librem 5 phone.
Bring your script here and it might be packaged :tada:
Please Avoid scripts that require cloning and building packages from source.
Please avoid scripts that require cloning and building packages from source.
When one of these temporary helper scripts is no longer considered necessary, it will be removed (say if features provided by the script in question are added to `phosh`).
#### Scripts added to this package:
@ -14,13 +16,16 @@ Please Avoid scripts that require cloning and building packages from source.
|:--:|:--:|:--:|:--:|
|Contacts Importer| Allows to import contacts from a vcard file to GNOME Contacts. Can work with a UI and from command line interface|`yad`, `syncevolution`, `libnotify-bin`, `Evolution Data Server`| This script will be removed from this paclage when the version of GNOME-Contacts available in PureOS supports importing contacts from a vcard file. |
|Screenshot| Allows to take screenshots in the Librem 5 phone|`yad`, `grim`, `libnotify-bin`, `xdg-user-dirs`| This script will be removed from this package when there is a native app that can take screenshots in `Phosh`. |
|Scale the screen| A simple application to scale the screen| `wlr-randr`, `yad` | This script will be removed from this package when `phosh` has better support for screen scaling.|
|Screen recorder | A simple application to record the screen| `wf-recorder`, `yad`, `libnotify-bin` | This script will be removed from this package when `phosh` has better support for recording.|
**Previously removed scripts:**
- Scale the screen: A simple application to scale the screen. This is now supported in `phosh`.
#### Adding a script to this package:
- Make a new branch based on the master branch and work from it.
- Make a merge request
- Make a new branch based on the `pureos/latest` branch and work from it.
- Make a merge request.
- Avoid scripts that download and build source code. If you need a dependency not available in PureOS, package it :D
- If your script stores files somewhere, then please use `xdg-user-dir` to set the path instead of harcoding directory names like "Documents", "Videos", this is usefull because not all users have their OS in English. See example here; https://source.puri.sm/librem5-apps/librem5-goodies/-/blob/pureos/byzantium/l5-screenshot#L27 `xdg-user-dir` is also quite usefull
- if you are not confortable in commiting to a Deb package then open an issue asking for the script to be packaged and we will work it out

12
debian/changelog vendored
View File

@ -1,4 +1,14 @@
librem5-goodies (0.0.7pureos2) amber-phone; urgency=medium
librem5-goodies (0.0.7pureos1) byzantium; urgency=medium
[ Guido Günther ]
* Make it a native package again.
There's no upstream other than us afaik.
* ci: Drop check-tarball.
Not needed (and hence not working) for a 3.0 (native) package
-- Guido Günther <agx@sigxcpu.org> Sat, 30 Oct 2021 15:40:47 +0200
librem5-goodies (0.0.7-1pureos2) byzantium; urgency=medium
[ João Azevedo ]
* Prepare release to byzantium.

View File

@ -1,7 +1,6 @@
include:
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-definitions.yml'
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-byzantium-jobs.yml'
- 'https://source.puri.sm/Librem5/librem5-ci/raw/master/librem5-pipeline-common-jobs.yml'
stages:
- package

View File

@ -15,7 +15,7 @@ case "$1" in
;;
esac
VIDEO="/home/purism/Videos/$(date +%Y-%m-%d-%H%M%S).avi"
VIDEO="$(xdg-user-dir VIDEOS)/$(date +%Y-%m-%d-%H%M%S).avi"
yad --title ScreenCapture --text "A simple GUI to record the screen" --button="Start capture:100" --button="Quit:0" --buttons-layout=center
start_window_return=$?