Github messages for voidlinux
 help / color / mirror / Atom feed
From: cat-marin <cat-marin@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] Add Write from Stylus Labs
Date: Mon, 31 Aug 2020 06:29:32 +0200	[thread overview]
Message-ID: <20200831042932.dE_HdiSVEiHKxSD_dO-FHRmiHiDUP4IOfPH1BXVRcS8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24555@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

There is an updated pull request by cat-marin against master on the void-packages repository

https://github.com/cat-marin/void-packages master
https://github.com/void-linux/void-packages/pull/24555

Add Write from Stylus Labs
Starting college and thought it might be easier to set up new systems with Write in void-packages.

A patch file from https://github.com/void-linux/void-packages/pull/24555.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-24555.patch --]
[-- Type: text/x-diff, Size: 8047 bytes --]

From ea84bca1814152542af21904c7e14a36be751d08 Mon Sep 17 00:00:00 2001
From: cat <25059103+cat-marin@users.noreply.github.com>
Date: Sun, 30 Aug 2020 15:56:35 -0400
Subject: [PATCH 1/6] Add Write from Stylus Labs

---
 srcpkgs/write-styluslabs/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/write-styluslabs/template

diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template
new file mode 100644
index 00000000000..b4192b94016
--- /dev/null
+++ b/srcpkgs/write-styluslabs/template
@@ -0,0 +1,31 @@
+# Template file for 'Write'
+pkgname=write-styluslabs
+version=3.0.0
+revision=1
+archs="x86_64"
+wrksrc="Write"
+depends="SDL2"
+short_desc="A word processor for handwriting"
+maintainer="Cat Marin <me@jmarin.xyz>"
+license="custom:Proprietary"
+homepage="http://www.styluslabs.com/"
+distfiles="http://www.styluslabs.com/write/write-latest.tar.gz"
+checksum="ec7c8a59f453574aa272d859e4c926eab48122d4965644871bf7cbe3d4703c40"
+repository=nonfree
+restricted=yes
+
+do_install() {
+    local package_location="opt/$pkgname" item
+    vmkdir usr/share/pixmaps
+    vcopy Write144x144.png /usr/share/pixmaps
+    vmkdir usr/share/applications
+    vcopy Write.desktop /usr/share/applications
+    vmkdir ${package_location}
+    chmod +x Write
+    for item in Write DroidSansFallback.ttf Intro.svg Roboto-Regular.ttf; do
+        vcopy "Write" "${package_location}"
+        vcopy "${item}" "${package_location}"
+    done
+    vmkdir usr/bin
+    ln -sfr $DESTDIR/${package_location}/Write $DESTDIR/usr/bin/write-styluslabs
+}

From f3c71f67a8765971cab2b3a58718df1afdfccb9d Mon Sep 17 00:00:00 2001
From: cat <25059103+cat-marin@users.noreply.github.com>
Date: Sun, 30 Aug 2020 17:01:12 -0400
Subject: [PATCH 2/6] Update Write.desktop to reflect proper binary location

---
 srcpkgs/write-styluslabs/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template
index b4192b94016..a40a30f85b6 100644
--- a/srcpkgs/write-styluslabs/template
+++ b/srcpkgs/write-styluslabs/template
@@ -19,6 +19,7 @@ do_install() {
     vmkdir usr/share/pixmaps
     vcopy Write144x144.png /usr/share/pixmaps
     vmkdir usr/share/applications
+    sed -i 's|/opt/Write/Write|/opt/write-stylus/Write|g' Write.desktop
     vcopy Write.desktop /usr/share/applications
     vmkdir ${package_location}
     chmod +x Write

From 747351106d77d2b5176d4ae36d95eaf6db779449 Mon Sep 17 00:00:00 2001
From: cat <cat@wally.lan>
Date: Sun, 30 Aug 2020 23:27:52 -0400
Subject: [PATCH 3/6] Install to /usr instead of /opt

---
 srcpkgs/write-styluslabs/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template
index a40a30f85b6..078faee6e11 100644
--- a/srcpkgs/write-styluslabs/template
+++ b/srcpkgs/write-styluslabs/template
@@ -15,11 +15,11 @@ repository=nonfree
 restricted=yes
 
 do_install() {
-    local package_location="opt/$pkgname" item
+    local package_location="usr/lib/$pkgname" item
     vmkdir usr/share/pixmaps
     vcopy Write144x144.png /usr/share/pixmaps
     vmkdir usr/share/applications
-    sed -i 's|/opt/Write/Write|/opt/write-stylus/Write|g' Write.desktop
+    sed -i "s|/opt/Write/Write|/usr/lib/$pkgname/Write|g" Write.desktop
     vcopy Write.desktop /usr/share/applications
     vmkdir ${package_location}
     chmod +x Write

From 9f49c00cce504f7b93931e461485d9321506e885 Mon Sep 17 00:00:00 2001
From: cat-marin <25059103+cat-marin@users.noreply.github.com>
Date: Mon, 31 Aug 2020 00:22:53 -0400
Subject: [PATCH 4/6] Remove A, change template comment

---
 srcpkgs/write-styluslabs/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template
index 078faee6e11..4399584145a 100644
--- a/srcpkgs/write-styluslabs/template
+++ b/srcpkgs/write-styluslabs/template
@@ -1,11 +1,11 @@
-# Template file for 'Write'
+# Template file for 'write-styluslabs'
 pkgname=write-styluslabs
 version=3.0.0
 revision=1
 archs="x86_64"
 wrksrc="Write"
 depends="SDL2"
-short_desc="A word processor for handwriting"
+short_desc="Word processor for handwriting"
 maintainer="Cat Marin <me@jmarin.xyz>"
 license="custom:Proprietary"
 homepage="http://www.styluslabs.com/"

From 826836a7310ae5e8d458d2ea9bd1470005393ba4 Mon Sep 17 00:00:00 2001
From: cat <25059103+cat-marin@users.noreply.github.com>
Date: Sun, 30 Aug 2020 15:56:35 -0400
Subject: [PATCH 5/6] Add Write from Stylus Labs

Update Write.desktop to reflect proper binary location

Install to /usr instead of /opt

Remove A, change template comment
---
 srcpkgs/write-styluslabs/template | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/write-styluslabs/template

diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template
new file mode 100644
index 00000000000..4399584145a
--- /dev/null
+++ b/srcpkgs/write-styluslabs/template
@@ -0,0 +1,32 @@
+# Template file for 'write-styluslabs'
+pkgname=write-styluslabs
+version=3.0.0
+revision=1
+archs="x86_64"
+wrksrc="Write"
+depends="SDL2"
+short_desc="Word processor for handwriting"
+maintainer="Cat Marin <me@jmarin.xyz>"
+license="custom:Proprietary"
+homepage="http://www.styluslabs.com/"
+distfiles="http://www.styluslabs.com/write/write-latest.tar.gz"
+checksum="ec7c8a59f453574aa272d859e4c926eab48122d4965644871bf7cbe3d4703c40"
+repository=nonfree
+restricted=yes
+
+do_install() {
+    local package_location="usr/lib/$pkgname" item
+    vmkdir usr/share/pixmaps
+    vcopy Write144x144.png /usr/share/pixmaps
+    vmkdir usr/share/applications
+    sed -i "s|/opt/Write/Write|/usr/lib/$pkgname/Write|g" Write.desktop
+    vcopy Write.desktop /usr/share/applications
+    vmkdir ${package_location}
+    chmod +x Write
+    for item in Write DroidSansFallback.ttf Intro.svg Roboto-Regular.ttf; do
+        vcopy "Write" "${package_location}"
+        vcopy "${item}" "${package_location}"
+    done
+    vmkdir usr/bin
+    ln -sfr $DESTDIR/${package_location}/Write $DESTDIR/usr/bin/write-styluslabs
+}

From 38ff90268614a4416be020d1b23b97be9680f261 Mon Sep 17 00:00:00 2001
From: cat <25059103+cat-marin@users.noreply.github.com>
Date: Sun, 30 Aug 2020 15:56:35 -0400
Subject: [PATCH 6/6] New package: write-styluslabs-3.0.0.

Update Write.desktop to reflect proper binary location

Install to /usr instead of /opt

Remove A, change template comment
---
 srcpkgs/write-styluslabs/template | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/write-styluslabs/template

diff --git a/srcpkgs/write-styluslabs/template b/srcpkgs/write-styluslabs/template
new file mode 100644
index 00000000000..4399584145a
--- /dev/null
+++ b/srcpkgs/write-styluslabs/template
@@ -0,0 +1,32 @@
+# Template file for 'write-styluslabs'
+pkgname=write-styluslabs
+version=3.0.0
+revision=1
+archs="x86_64"
+wrksrc="Write"
+depends="SDL2"
+short_desc="Word processor for handwriting"
+maintainer="Cat Marin <me@jmarin.xyz>"
+license="custom:Proprietary"
+homepage="http://www.styluslabs.com/"
+distfiles="http://www.styluslabs.com/write/write-latest.tar.gz"
+checksum="ec7c8a59f453574aa272d859e4c926eab48122d4965644871bf7cbe3d4703c40"
+repository=nonfree
+restricted=yes
+
+do_install() {
+    local package_location="usr/lib/$pkgname" item
+    vmkdir usr/share/pixmaps
+    vcopy Write144x144.png /usr/share/pixmaps
+    vmkdir usr/share/applications
+    sed -i "s|/opt/Write/Write|/usr/lib/$pkgname/Write|g" Write.desktop
+    vcopy Write.desktop /usr/share/applications
+    vmkdir ${package_location}
+    chmod +x Write
+    for item in Write DroidSansFallback.ttf Intro.svg Roboto-Regular.ttf; do
+        vcopy "Write" "${package_location}"
+        vcopy "${item}" "${package_location}"
+    done
+    vmkdir usr/bin
+    ln -sfr $DESTDIR/${package_location}/Write $DESTDIR/usr/bin/write-styluslabs
+}

  parent reply	other threads:[~2020-08-31  4:29 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-30 19:58 [PR PATCH] " cat-marin
2020-08-30 21:01 ` [PR PATCH] [Updated] " cat-marin
2020-08-31  1:34 ` fosslinux
2020-08-31  2:05 ` cat-marin
2020-08-31  2:50 ` fosslinux
2020-08-31  3:28 ` [PR PATCH] [Updated] " cat-marin
2020-08-31  3:29 ` cat-marin
2020-08-31  3:58 ` [PR REVIEW] " fosslinux
2020-08-31  3:58 ` fosslinux
2020-08-31  4:23 ` [PR PATCH] [Updated] " cat-marin
2020-08-31  4:26 ` cat-marin
2020-08-31  4:27 ` cat-marin
2020-08-31  4:29 ` cat-marin [this message]
2020-08-31  6:15 ` fosslinux
2020-08-31  6:23 ` cat-marin
2020-08-31  6:24 ` fosslinux
2020-09-02 17:00 ` ahesford
2020-09-02 23:37 ` ahesford
2020-09-02 23:56 ` [PR REVIEW] " ahesford
2020-09-02 23:56 ` ahesford
2020-09-03 19:49 ` cat-marin
2020-09-03 19:52 ` cat-marin
2020-09-03 20:01 ` ericonr
2020-09-03 20:01 ` ericonr
2020-09-03 20:11 ` cat-marin
2020-09-03 20:12 ` [PR PATCH] [Closed]: " cat-marin
2020-09-03 20:12 ` cat-marin
2020-09-04  0:23 ` [PR REVIEW] " sgn
2020-09-04  0:25 ` sgn
2020-09-04 20:39 ` cat-marin
2020-09-05  0:18 ` fosslinux
2020-09-05  0:59 ` sgn
2020-09-05  4:36 ` cat-marin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200831042932.dE_HdiSVEiHKxSD_dO-FHRmiHiDUP4IOfPH1BXVRcS8@z \
    --to=cat-marin@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).