Skip to content

Commit

Permalink
merged community-edition-patches
Browse files Browse the repository at this point in the history
  • Loading branch information
electronstudio committed Sep 8, 2024
2 parents 9feb6e6 + 63cae64 commit 870ea7a
Show file tree
Hide file tree
Showing 9 changed files with 211 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "weylus"
version = "0.11.4"
version = "2024.9.8"
authors = ["HMH <[email protected]>"]
license = "AGPL-3.0-or-later"
edition = "2021"
Expand Down
32 changes: 27 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
# Weylus
# Weylus Community Edition

## Flatpak now available

https://flathub.org/apps/io.github.electronstudio.WeylusCommunityEdition

## Note for MacOS

After unzipping, run:

sudo xattr -dr com.apple.quarantine ~/Downloads/Weylus.app

## Community Edition adds these patches

* Commits from Weylus master that improve Wayland compatibility.
* [bunch of improvements: MacOS Stylus, Virtual Key, Reconnect, etc.](https://github.com/H-M-H/Weylus/pull/276)
* [Always render square QR code so it can be read](https://github.com/H-M-H/Weylus/pull/236)
* [fix scroll direction problems in uinput](https://github.com/H-M-H/Weylus/pull/215)
* [Use WinAPI to simulate pointermovements](https://github.com/H-M-H/Weylus/pull/128)
* [Modify write_video_packet prototype](https://github.com/H-M-H/Weylus/pull/273)
* [Linux build fixes](https://github.com/electronstudio2/Weylus/tree/build-fixes)



![Build](https://github.com/H-M-H/Weylus/workflows/Build/badge.svg)

Weylus turns your tablet or smart phone into a graphic tablet/touch screen for your computer!
Expand Down Expand Up @@ -50,15 +73,14 @@ features on Linux are:

## Installation
Just grab the latest release for your OS from the
[releases page](https://github.com/H-M-H/Weylus/releases) and install it on your computer. No apps
[releases page](https://github.com/electronstudio/WeylusCommunityEdition/releases) and install it on your computer. No apps
except a modern browser (Firefox 80+, iOS/iPadOS 13+) are required on your tablet. **If you run
Linux make sure to follow the instructions described [here](#linux) to enable uinput for features
like pressure sensitivity and multitouch!**

### Packages
AUR packages for Weylus are available here:
- From source: [weylus](https://aur.archlinux.org/packages/weylus/)
- Prebuilt binary: [weylus-bin](https://aur.archlinux.org/packages/weylus-bin/)

https://flathub.org/apps/io.github.electronstudio.WeylusCommunityEdition

## Running
Start Weylus, preferably set an access code in the access code box and press the Start button. This
Expand Down
2 changes: 1 addition & 1 deletion deps/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -ex

test -d x264 || git clone --depth 1 -b stable https://code.videolan.org/videolan/x264.git x264
test -d ffmpeg || git clone --depth 1 -b n5.1 https://git.ffmpeg.org/ffmpeg.git ffmpeg
test -d ffmpeg || git clone --depth 1 -b n7.0 https://git.ffmpeg.org/ffmpeg.git ffmpeg
if [ "$TARGET_OS" == "linux" ]; then
test -d nv-codec-headers || git clone --branch n11.1.5.3 --depth 1 https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
test -d libva || git clone --depth 1 -b 2.15.0 https://github.com/intel/libva
Expand Down
61 changes: 61 additions & 0 deletions io.github.electronstudio.WeylusCommunityEdition.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>io.github.electronstudio.WeylusCommunityEdition</id>

<name>Weylus Community Edition</name>
<summary>Use your tablet as graphic tablet/touch screen on your computer</summary>

<metadata_license>CC0-1.0</metadata_license>
<project_license>AGPL-3.0-or-later</project_license>

<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
<control>tablet</control>
</supports>

<description>
<p>
Weylus turns your tablet or smart phone into a graphic tablet/touch screen for your computer!
</p>
<p>Control your mouse with your tablet</p>
<p>Mirror your screen to your tablet</p>
<p>Send keyboard input using physical keyboards</p>
<p>Hardware accelerated video encoding</p>
<p>Support for a stylus/pen (supports pressure and tilt)</p>
<p>Multi-touch: Try it with software that supports multi-touch, like Krita, and see for yourself!</p>
<p>Capturing specific windows and only drawing to them</p>
<p>Faster screen mirroring</p>
<p>Tablet as second screen</p>

</description>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/electronstudio2/Weylus/community-edition-patches/screenshot.png</image>
<caption>The one and only window</caption>
</screenshot>
</screenshots>

<url type="homepage">https://github.com/electronstudio/WeylusCommunityEdition</url>

<content_rating type="oars-1.1" />

<launchable type="desktop-id">io.github.electronstudio.WeylusCommunityEdition.desktop</launchable>
<developer id="io.github.electronstudio">
<name>H-M-H</name>
</developer>

<releases>
<release version="2024.8.3" date="2024-8-3">
<description>
<p>Increase bundled ffmpeg to 7.0 so it will build on macos.</p>
</description>
</release>
<release version="2024.8.1" date="2024-8-1">
<description>
<p>Support for flatpak build.</p>
</description>
</release>
</releases>
</component>
68 changes: 68 additions & 0 deletions io.github.electronstudio.WeylusCommunityEdition.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions patch_community_edition.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
git clone https://github.com/H-M-H/Weylus.git
cd Weylus
echo "CONTRIBUTORS merge=ours" >.gitattributes
git config --global merge.ours.driver true

git remote add qdlmcfresh https://github.com/qdlmcfresh/Weylus.git
git fetch qdlmcfresh stylus_windows
git merge qdlmcfresh/stylus_windows -m "merged qdlmcfresh"

git remote add qdlmcfreshcompat https://github.com/electronstudio2/WeylusQdlmcFreshLyonbotCompat.git
git fetch qdlmcfreshcompat stylus_windows
git merge qdlmcfreshcompat/stylus_windows -m "merged qdlmcfresh compatability"

git remote add OmegaRogue https://github.com/OmegaRogue/Weylus.git
git fetch OmegaRogue master
git merge OmegaRogue/master -m "merged OmegaRogue"

git remote add scribblemaniac https://github.com/scribblemaniac/Weylus.git
git fetch scribblemaniac fix-qr-code
git merge scribblemaniac/fix-qr-code -m "merged scribblemaniac"

git remote add Diordany https://github.com/Diordany/Weylus.git
git fetch Diordany pr-func-proto
git merge Diordany/pr-func-proto -m "merged Diordany"


git remote add lyonbot https://github.com/lyonbot/Weylus.git
git fetch lyonbot pr
git merge lyonbot/pr -m "merged lyonbot"


git remote add electronstudio2 https://github.com/electronstudio2/Weylus.git
git fetch electronstudio2 build-fixes
git merge electronstudio2/build-fixes -m "merged build-fixes"


sed -i '/<<<<<<< HEAD/,/=======/d' .github/workflows/build.yml
sed -i '/>>>>>>> electronstudio2\/build-fixes/d' .github/workflows/build.yml

sed -i '/<<<<<<< HEAD/d' build.rs
sed -i '/=======/,/>>>>>>> electronstudio2\/build-fixes/d' build.rs
sed -i '/>>>>>>> electronstudio2\/build-fixes/d' build.rs

git add build.rs .github/workflows/build.yml
git commit -m 'resolve conflict'

git fetch electronstudio2 community-edition-patches
git merge electronstudio2/community-edition-patches -m "merged community-edition-patches"

git remote add wce https://github.com/electronstudio/WeylusCommunityEdition.git
###git push -u wce master --force
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion weylus.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ Comment=Use your tablet as graphic tablet/touch screen on your computer.
TryExec=weylus
Exec=weylus
Terminal=false
Icon=input-tablet
Icon=io.github.electronstudio.WeylusCommunityEdition
Categories=Office;Graphics;Education;Presentation;
StartupWMClass=weylus

0 comments on commit 870ea7a

Please sign in to comment.