-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Add Write from Stylus Labs #24555
Add Write from Stylus Labs #24555
Conversation
Should install to |
It does install to /usr. Or are you talking about $package_location? |
Yeah |
I've moved it to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for that change.
Take a look here, there's a few outstanding issues, https://travis-ci.org/github/void-linux/void-packages/jobs/722610669.
Look at how discord does the EULA download. You should do something similar here with a vlicense
; generally this is required with 99% of these types of programs and is good practice anyway.
Oh, and also squash all your commits under New package: write-styluslabs-3.0.0.
.
srcpkgs/write-styluslabs/template
Outdated
@@ -0,0 +1,32 @@ | |||
# Template file for 'Write' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be identical to the pkgname.
srcpkgs/write-styluslabs/template
Outdated
archs="x86_64" | ||
wrksrc="Write" | ||
depends="SDL2" | ||
short_desc="A word processor for handwriting" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove A
, see xlint error
Update Write.desktop to reflect proper binary location Install to /usr instead of /opt Remove A, change template comment
My bad on the last one, I'm not well versed in git. Working on the squash, heh. Also, I cannot find any kind of license on their site. They have a github for other libraries used in the program but there is no kind of EULA that I can find on the project website. |
Update Write.desktop to reflect proper binary location Install to /usr instead of /opt Remove A, change template comment
Hm, seems to be the case... not 100% sure what to do here. |
Have I not done it already? I did git rebase. Or should it also change the PR name? |
No, it has nothing to do with the PR name. |
What you need to do is, assuming the
If you are working from your fork alone, you should first do
Then, in the editor that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As xlint
reports, indent function bodies with a tab rather than several spaces.
The unversioned distfiles
link militates against inclusion of this template in its current form, and the unknown license militates strongly against inclusion of this template in its current form. Also, the Write tarball includes an executable, two fonts, a desktop shortcut and an icon. I have a suspicion that this executable runs just as well from a local subdirectory of $HOME
as it does from /usr/lib/write-styluslabs
. This package appears to fall short of the quality requirements.
If you disagree, please make a case for why an exception should be made.
maintainer="Cat Marin <me@jmarin.xyz>" | ||
license="custom:Proprietary" | ||
homepage="http://www.styluslabs.com/" | ||
distfiles="http://www.styluslabs.com/write/write-latest.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The distfiles
URL is problematic because there is no fixed versioning. Whenever Stylus Labs releases a new version, that link will break the package, so things like package revbumps or local building become impossible. I suggest you try to find a versioned download, or else reach out to Stylus Labs about providing versioned downloads.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell that's how they release packages. I actually tried doing it with a variable and xbps-src doesn't accept version=latest
. Until they provide versioned downloads, I'm not sure how else to proceed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They provides versioned tarball, they just don't show you, here is the link for 3.0.0 http://www.styluslabs.com/write/write300.tar.gz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They provides versioned tarball, they just don't show you, here is the link for 3.0.0 http://www.styluslabs.com/write/write300.tar.gz
Yep! Saw that in their response to me email. However they still don't have a license available, which as I understand is necessary in order to proceed. In any case, judging by how many changes I needed to make (and quality concerns of my template) I'm in no way ready to take on maintaining a package. I'll look more into the documentation and other package templates before I do anything else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, packages in void aren't that hard. TBH, it's really just that you chose a slightly problematic package to start on :)
depends="SDL2" | ||
short_desc="Word processor for handwriting" | ||
maintainer="Cat Marin <me@jmarin.xyz>" | ||
license="custom:Proprietary" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the xlint
CI test shows, a proprietary license declaration requires use of vlicense
in do_install
or post_install
to copy the license text into the package. As it stands, I see no license terms attached to this software. You should identify the license terms and be able to fetch the license text from somewhere so we know what terms govern the software.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm currently in the process of contacting Stylus Labs on how they'd like me to proceed here, I'll update my PR when I know.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they don't make versioned releases. it's unlikely to be accepted as a package here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure how well it fits under quality requirements either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If they don't make versioned releases. it's unlikely to be accepted as a package here.
I've sent them an email regarding the issues on their end (including the license), I'll be closing my pull request until they respond/provide versioned downloads and a license.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closing |
On 2020-09-04 13:39:43-0700, cat-marin ***@***.***> wrote:
@cat-marin commented on this pull request.
> @@ -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 ***@***.***>"
+license="custom:Proprietary"
+homepage="http://www.styluslabs.com/"
+distfiles="http://www.styluslabs.com/write/write-latest.tar.gz"
> They provides versioned tarball, they just don't show you, here is
> the link for 3.0.0 http://www.styluslabs.com/write/write300.tar.gz
Yep! Saw that in their response to me email. However they still
don't have a license available, which as I understand is necessary
in order to proceed.
The EULA is available at http://www.styluslabs.com/write/eula.docx
Either ship the docx file, or use docx2txt to convert to plain text
file
|
Interesting, was this added after I just emailed asking them to add it? Because when they responded they just said there wasn't really a license. |
Starting college and thought it might be easier to set up new systems with Write in void-packages.