public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: app-text/Lorien-bin/files/, app-text/Lorien-bin/
@ 2023-07-13  9:42 David Roman
  0 siblings, 0 replies; 2+ messages in thread
From: David Roman @ 2023-07-13  9:42 UTC (permalink / raw
  To: gentoo-commits

commit:     cf310a1287ede120329eadfff8f882045157914a
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Wed Jul 12 10:59:07 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Jul 12 10:59:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf310a12

app-text/Lorien-bin: new package, add 0.5.0

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/Lorien-bin/Lorien-bin-0.5.0.ebuild |  38 +++++++++++++++
 app-text/Lorien-bin/Manifest                |   1 +
 app-text/Lorien-bin/files/Lorien.desktop    |  12 +++++
 app-text/Lorien-bin/files/Lorien.png        | Bin 0 -> 3930 bytes
 app-text/Lorien-bin/files/manual_v0.5.0.md  |  72 ++++++++++++++++++++++++++++
 app-text/Lorien-bin/metadata.xml            |   7 +++
 6 files changed, 130 insertions(+)

diff --git a/app-text/Lorien-bin/Lorien-bin-0.5.0.ebuild b/app-text/Lorien-bin/Lorien-bin-0.5.0.ebuild
new file mode 100644
index 000000000..5e34a2946
--- /dev/null
+++ b/app-text/Lorien-bin/Lorien-bin-0.5.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop xdg
+SRC_URI="https://github.com/mbrlabs/Lorien/releases/download/v${PV}/Lorien_${PV}_Linux.tar.xz"
+DESCRIPTION="Infinite canvas drawing/whiteboarding. Made with Godot."
+HOMEPAGE="https://github.com/mbrlabs/Lorien"
+
+LICENSE="GPL-3"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/Lorien_${PV}_Linux"
+
+src_install() {
+	#Copy Manual & Make a copy of the folder
+	cp "${FILESDIR}/manual_v${PV}.md" "${S}/manual_v${PV}.md"
+	cp -r "${S}" "${WORKDIR}/Lorien"
+
+	#Install in /opt
+	insinto /opt
+	doins -r "${WORKDIR}/Lorien"
+	fperms +x /opt/Lorien/Lorien.x86_64
+
+	#Install icon and desktop file
+	domenu "${FILESDIR}/Lorien.desktop"
+	doicon "${FILESDIR}/Lorien.png"
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	ewarn "Manual of this package is hosted on the github repo: https://github.com/mbrlabs/Lorien/blob/main/docs/manuals/manual_v${PV}.md"
+	ewarn "You also have a copy of the manual in /opt/Lorien/manual_v${PV}.md"
+	ewarn "Note: The manual is writen in Markdown format"
+}

diff --git a/app-text/Lorien-bin/Manifest b/app-text/Lorien-bin/Manifest
new file mode 100644
index 000000000..e888d77c1
--- /dev/null
+++ b/app-text/Lorien-bin/Manifest
@@ -0,0 +1 @@
+DIST Lorien_0.5.0_Linux.tar.xz 17662128 BLAKE2B 5c7fc6239afc49281f07efb46969101aa39a2daffd431be66ac093d89a51a370a637cf5eb3fa4ecf05edabf3fa771414ceb5b36681c61bb97ef1d36eb042f01d SHA512 5f839350377fdac16c8b96f1151d5a48d61130fb72025c62967027d0a0b7c2e9af445e37ff3fbc71990ff7d0ba0ccaddb9c52472c68b635aca5291283ecb802e

diff --git a/app-text/Lorien-bin/files/Lorien.desktop b/app-text/Lorien-bin/files/Lorien.desktop
new file mode 100644
index 000000000..9a1563487
--- /dev/null
+++ b/app-text/Lorien-bin/files/Lorien.desktop
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Name=Lorien
+Comment=Infinite canvas drawing/whiteboarding app for Windows, Linux and macOS. Made with Godot.
+Keywords=tablet;Wacom;pen input;svg;markup
+TryExec=/opt/Lorien/Lorien.x86_64
+Exec=/opt/Lorien/Lorien.x86_64 %f
+StartupNotify=true
+Terminal=false
+Type=Application
+Icon=Lorien
+Categories=Office;Godot
+MimeType=application/svg;
\ No newline at end of file

diff --git a/app-text/Lorien-bin/files/Lorien.png b/app-text/Lorien-bin/files/Lorien.png
new file mode 100644
index 000000000..c80e2ca04
Binary files /dev/null and b/app-text/Lorien-bin/files/Lorien.png differ

diff --git a/app-text/Lorien-bin/files/manual_v0.5.0.md b/app-text/Lorien-bin/files/manual_v0.5.0.md
new file mode 100644
index 000000000..ba01f1660
--- /dev/null
+++ b/app-text/Lorien-bin/files/manual_v0.5.0.md
@@ -0,0 +1,72 @@
+# Lorien Manual v0.5.0
+
+Drawing tablets are supported and recommended, but you can also just use Keyboard+Mouse. 
+
+## Basic Usage
+- Draw with the left mouse button (<kbd>LMB</kbd>) or with your drawing tablet's pen
+- Pan/drag across the canvas with the middle mouse button (i recommend to map a button on your pen to the middle mouse button for easy navigation)
+- Zoom with the mouse wheel. You can also zoom while holding <kbd>CTRL</kbd> and the middle mouse button <kbd>MMB</kbd> while moving the mose up/down. This is especially useful when using a drawing tablet with a pen.
+- You can open files by dragging them into the window or by opening it via the menu (Shortcut <kbd>CTRL</kbd> + <kbd>O</kbd>)
+
+## Tools
+Lorien provides you with different tools which you can find in the toolbar. If you want to enable a tool all you have to do is click on it or use the keyboard shortcut. If you hover over the icons you can also see a short description including the keyboard shortcut.
+
+### Brush Tool
+- The brush tool is selected by default. It allows you to freely draw on the canvas with your mouse or drawing tablet. 
+- You can change the brush size with the adjuster in the toolbar
+- The brush color can be changed by clicking on the colored button in the toolbar next to the brush size adjuster 
+- It is pressure sensitve
+
+### Rectangle Tool
+- You can use the rectangle tool to create perfect (unfilled) rectagles
+- Not pressure sensitive 
+
+### Line Tool
+- Allows you to draw perfect lines
+- You can hold down <kbd>Shift</kbd> while using the line tool to snap the line in 15° increments 
+- Not pressure sensitve
+
+### Circle Tool
+- Allows you to draw perfect ellipses and circles
+- You can hold down <kbd>Shift</kbd> while using the circle tool to draw perfect circles. Otherwise it defaults to ellipses
+- Not pressure sensitve
+
+### Eraser Tool
+- Allows you to erease brush strokes by drawing over it. Once the eraser intersects with a brush stroke, the whole brush stroke will be removed
+- The brush size affects the area of effect
+
+### Selection Tool
+- With the Selection tool you can select a number of brush strokes by dragging across the screen with your <kbd>LMB</kbd> pressed. Brush strokes which are considered inside the selection recatangle will be added to the current selection. You can add more strokes to your current selection by holding down <kbd>Shift</kbd> while dragging.
+- You can deselect your current selection by pressing <kbd>RMB</kbd> or <kbd>Esc</kbd>.
+- To move the selected strokes simply drag them while holding down <kbd>LMB</kbd>. If you did not move your mouse while pressing <kbd>LMB</kbd>, everything will be deselected automatically.
+- Press <kbd>Delete</kbd> to delete the current selection
+- Press <kbd>CTRL</kbd> + <kbd>C</kbd> to copy the current selection
+- Press <kbd>CTRL</kbd> + <kbd>V</kbd> to paste the copied brush strokes
+- Press <kbd>CTRL</kbd> + <kbd>D</kbd> to duplicate the current selection
+
+## Color Palettes
+- Color palettes allow you to easily switch between different pre-defined colors. To open the pallete you have to click on the colored button in the toolbar next to the brush size adjsuter.
+- You can add/edit/delete custom color palettes
+- The default color palette can't be edited or deleted. If you want to customize it you can can make a copy of it and edit that instead.
+
+## Keyboard shortcuts
+- <kbd>Ctrl</kbd> + <kbd>S</kbd>: Saves the current file
+- <kbd>Ctrl</kbd> + <kbd>N</kbd>: Open a new file
+- <kbd>Ctrl</kbd> + <kbd>O</kbd>: Open a new empty tab
+- <kbd>Ctrl</kbd> + <kbd>E</kbd>: Opens the SVG export dialog
+- <kbd>Ctrl</kbd> + <kbd>Z</kbd>: Undo a brush stroke
+- <kbd>Ctrl</kbd> + <kbd>Y</kbd>: Redo a brush stroke
+- <kbd>Ctrl</kbd> + <kbd>C</kbd>: Copy selected brush strokes
+- <kbd>Ctrl</kbd> + <kbd>V</kbd>: Paste copied brush strokes
+- <kbd>Ctrl</kbd> + <kbd>D</kbd>: Duplicate selected brush strokes
+- <kbd>SPACE</kbd>: Center the canvas based on current mouse position
+- <kbd>B</kbd>: Brush tool
+- <kbd>R</kbd>: Rectangle tool
+- <kbd>E</kbd>: Eraser tool
+- <kbd>L</kbd>: Line tool
+- <kbd>C</kbd>: Circle tool
+- <kbd>S</kbd>: Selection tool
+- <kbd>Esc</kbd> or <kbd>RMB</kbd>: Deselect everything
+- <kbd>Delete</kbd>: Deletes selected brush strokes
+- <kbd>Tab</kbd>: enter/exit distraction free mode (no UI)
+- <kbd>F12</kbd>: Spwans a playable character at the mouse position who can walk on the drawn lines (easteregg)

diff --git a/app-text/Lorien-bin/metadata.xml b/app-text/Lorien-bin/metadata.xml
new file mode 100644
index 000000000..bf000af3b
--- /dev/null
+++ b/app-text/Lorien-bin/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<remote-id type="github">mbrlabs/Lorien</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: app-text/lorien-bin/files/, app-text/lorien-bin/
@ 2024-05-21 21:10 Julien Roy
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-05-21 21:10 UTC (permalink / raw
  To: gentoo-commits

commit:     d0a9f46a380e3e497bc2776c7d670419677431cb
Author:     Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Tue May 21 15:41:44 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Tue May 21 15:47:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0a9f46a

app-text/lorien-bin: add missing RDEPENDS

* fix dekstop files
* fix other bug related with RDEPENDS

Closes: https://bugs.gentoo.org/910318
Closes: https://bugs.gentoo.org/910319
Closes: https://bugs.gentoo.org/910320
Closes: https://bugs.gentoo.org/910321
Closes: https://bugs.gentoo.org/910322
Closes: https://bugs.gentoo.org/932301
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>

 app-text/lorien-bin/files/lorien.desktop                      |  4 ++--
 .../{lorien-bin-0.6.0.ebuild => lorien-bin-0.6.0-r1.ebuild}   | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/app-text/lorien-bin/files/lorien.desktop b/app-text/lorien-bin/files/lorien.desktop
index 1199d36b86..770fcd6386 100644
--- a/app-text/lorien-bin/files/lorien.desktop
+++ b/app-text/lorien-bin/files/lorien.desktop
@@ -8,5 +8,5 @@ StartupNotify=true
 Terminal=false
 Type=Application
 Icon=lorien
-Categories=Office;Godot
-MimeType=application/svg;
\ No newline at end of file
+Categories=Office
+MimeType=application/svg;

diff --git a/app-text/lorien-bin/lorien-bin-0.6.0.ebuild b/app-text/lorien-bin/lorien-bin-0.6.0-r1.ebuild
similarity index 85%
rename from app-text/lorien-bin/lorien-bin-0.6.0.ebuild
rename to app-text/lorien-bin/lorien-bin-0.6.0-r1.ebuild
index 4e482e8b3b..fa675e08c9 100644
--- a/app-text/lorien-bin/lorien-bin-0.6.0.ebuild
+++ b/app-text/lorien-bin/lorien-bin-0.6.0-r1.ebuild
@@ -15,6 +15,17 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+RDEPEND="
+	>=media-libs/mesa-[opengl(+)]
+	x11-libs/libXcursor
+	x11-libs/libXi
+	x11-libs/libXinerama
+	x11-libs/libXrandr
+"
+
+# Since is a binary package
+QA_PREBUILT="/opt/Lorien/Lorien.x86_64"
+
 src_install() {
 	#Copy Manual & Make a copy of the folder
 	cp "${FILESDIR}/manual_v${PV}.md" "${S}/manual_v${PV}.md"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-21 21:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 21:10 [gentoo-commits] repo/proj/guru:master commit in: app-text/lorien-bin/files/, app-text/lorien-bin/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2023-07-13  9:42 [gentoo-commits] repo/proj/guru:master commit in: app-text/Lorien-bin/files/, app-text/Lorien-bin/ David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox