Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial gtk4 migration #39

Merged
merged 50 commits into from
Nov 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
6f48df3
Initial gtk4 migration
ochibani Sep 24, 2022
3c0ea6e
fix window size by changing main.ui
ochibani Sep 28, 2022
78d3fb6
display home icons in folder chooser
ochibani Sep 29, 2022
84cc6b3
area chooser window redesigned
ochibani Sep 30, 2022
8092950
spell check
ochibani Oct 1, 2022
835e466
remove wayland from ffmpeg-interface
ochibani Oct 14, 2022
3428d6d
Remove buggy video formats
ochibani Oct 14, 2022
56f5598
fix is_file_already_exists & play button
ochibani Oct 16, 2022
d9e7458
use system theme colors
xlmnxp Oct 18, 2022
a6ca6d3
look like fixed the video and audio merge
xlmnxp Oct 18, 2022
828074a
fix Progress dialog
xlmnxp Oct 18, 2022
336e8e4
hide window selection in wayland
ochibani Oct 18, 2022
71edab6
folder chooser parent
ochibani Oct 19, 2022
cec2d85
folder chooser hide
ochibani Oct 19, 2022
d1c4706
fix FileChooserButton
ochibani Oct 20, 2022
257c5b4
remove progress button
ochibani Oct 20, 2022
ad01c74
remove audio only record code
ochibani Oct 24, 2022
a3dbd29
add delay timer
ochibani Nov 1, 2022
f7c72ff
add recording timer
ochibani Nov 2, 2022
cbcb44d
add hours to timer
ochibani Nov 2, 2022
3e37cc9
minor change
ochibani Nov 4, 2022
258cda8
Edit indicator.rs
ochibani Nov 26, 2022
78ec81d
Working X11 version
ochibani Nov 26, 2022
fb32ebe
use 60fps as default
xlmnxp Feb 22, 2023
86303da
Merge branch 'blue-recorder-gtk4' of https://github.com/ochibani/blue…
xlmnxp Feb 22, 2023
c5189de
bug fixes, force select audio or video to record
xlmnxp Feb 22, 2023
a8f025e
use of Childs instead of kill command (Work cross multiple operating …
xlmnxp Feb 22, 2023
d82d71b
Simplify the implementation of Ffmpeg
xlmnxp Feb 23, 2023
b5b10cf
fix video and audio merges and fix audio recording issue
xlmnxp Feb 28, 2023
2ed389d
include tr.po with migration to GTK4
xlmnxp Mar 1, 2023
af982be
auto detect dark mode and change icons
xlmnxp Mar 1, 2023
3695530
improve style of select buttons
xlmnxp Oct 14, 2023
f857ba5
remove overwrite switch and fix message dialog
xlmnxp Oct 14, 2023
329c4a7
add wayland recorder
xlmnxp Oct 14, 2023
29b0a61
little improvements
xlmnxp Oct 15, 2023
aa9213a
little improvements
xlmnxp Oct 15, 2023
5d8f19f
update ui
ochibani Oct 16, 2023
7688528
update ui
ochibani Oct 17, 2023
8b7343c
add auto hide
ochibani Oct 19, 2023
b959262
add wayland record and mouse toggle
xlmnxp Oct 19, 2023
0e95762
refactor of code
xlmnxp Oct 21, 2023
5f847a0
remove progress dialog
xlmnxp Oct 21, 2023
5f079b8
fix borrow_mut
xlmnxp Oct 21, 2023
75df858
enable recording of window or screen
xlmnxp Oct 21, 2023
6c049e4
remove temporary video file when recording video only
xlmnxp Oct 21, 2023
510a1e5
enable recording of window or screen
xlmnxp Oct 21, 2023
5af98f9
remember last decision to record window or screen
xlmnxp Oct 22, 2023
4e4756e
update ui
ochibani Oct 23, 2023
591a671
remove appid from gtk part
xlmnxp Oct 27, 2023
d10fdf7
upgrade snap packaging
xlmnxp Oct 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
upgrade snap packaging
  • Loading branch information
xlmnxp committed Oct 28, 2023
commit d10fdf7c0a9a61fcfcefb2b7e8878461cdd862e6
51 changes: 35 additions & 16 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,54 +1,73 @@
name: blue-recorder # you probably want to 'snapcraft register <name>'
base: core18 # the base snap is the execution environment for this snap
base: core22 # the base snap is the execution environment for this snap
version: git # just for humans, typically '1.2+git' or '1.3.2'
summary: A simple screen recorder for Linux desktop. Supports Wayland & Xorg # 79 char long summary
description: |
A simple desktop recorder for Linux systems. Built using Rust, GTK+ 3 and ffmpeg. It supports recording audio and video on almost all Linux interfaces with support for Wayland display server on GNOME session.
The following formats are currently supported: mkv, avi, mp4, wmv, gif and nut. You can stop the recording process easily by right-clicking the icon and choosing "Stop Record". Or middle-clicking the recording icon in the notifications area (but doesn't work on all interfaces).
You can choose the audio input source you want from the list. You can also set the default values you want by simply changing them in the interface, and the program will save them for you for the next time you open it.
Based on GREEN RECORDER but rewritten in RUST
adopt-info: blue-recorder

grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
confinement: devmode # use 'strict' once you have the right plugs and slots
compression: lzo

parts:
rust-deps:
plugin: nil
build-packages:
- curl
override-pull: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
blue-recorder:
plugin: rust
source: .
after: [rust-deps]
stage-snaps:
- ffmpeg
stage-packages:
- libappindicator3-1
- x11-utils
- gstreamer1.0-plugins-bad
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-good
- gstreamer1.0-plugins-ugly
- gstreamer1.0-libav
build-packages:
- libappindicator3-dev
- clang
- gettext
- build-essential
- libgstreamer-plugins-bad1.0-dev
- libgstreamer-plugins-base1.0-dev
- libgstreamer1.0-dev
override-pull: | # set version from Cargo.toml
craftctl default
craftctl set version=$(cat Cargo.toml | grep version | head -n1 | cut -d"=" -f2 | awk '{$1=$1};1' | tr -d '"')
override-build: |
snapcraftctl build
cp -a data interfaces po $SNAPCRAFT_PART_INSTALL
cp -a target/release/blue-recorder $SNAPCRAFT_PART_INSTALL/blue-recorder
craftctl default
cp -a data interfaces po $CRAFT_PART_INSTALL
cp -a target/release/blue-recorder $CRAFT_PART_INSTALL/blue-recorder

apps:
blue-recorder:
command: blue-recorder
desktop: data/snap/blue-recorder.desktop
extensions:
- gnome-3-28
- gnome
plugs:
- desktop
- home
- audio-playback
- audio-record
- wayland
- x11
- screencast-legacy # for wayland support
slots:
- dbus-daemon
common-id: sa.sy.blue-recorder
# slots:
# - dbus-daemon
# common-id: sa.sy.blue-recorder

slots:
dbus-daemon:
interface: dbus
bus: session
name: sa.sy.blue-recorder
# slots:
# dbus-daemon:
# interface: dbus
# bus: session
# name: sa.sy.blue-recorder