Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723758 - x11-misc/ksnip: New package request
Summary: x11-misc/ksnip: New package request
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://github.com/ksnip/ksnip
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 760069
  Show dependency tree
 
Reported: 2020-05-18 12:53 UTC by David Flogeras
Modified: 2022-08-16 23:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proof-of-concept ebuild for kColorPicker (kcolorpicker-0.1.1.ebuild,533 bytes, text/plain)
2020-05-18 12:54 UTC, David Flogeras
Details
Proof-of-concept ebuild for kImageAnnotator (kimageannotator-0.2.1.ebuild,510 bytes, text/plain)
2020-05-18 12:54 UTC, David Flogeras
Details
Proof-of-concent ebuild for ksnip (ksnip-1.6.1.ebuild,571 bytes, text/plain)
2020-05-18 12:55 UTC, David Flogeras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Flogeras 2020-05-18 12:53:37 UTC
Recently while writing documentation, I found myself lacking for a good tool to create quick snippets and annotating them.   I'm a plasma user, and didn't really find a great solution in the tree.  I happened upon ksnip, which has an AppImage "fat-binary" you can download and run without installing.  It really is a nice tool, and I hope to get it added to the tree.

Despite its name, ksnip isn't tied to KDE, but only requires Qt and CMake to build.

It has two dependent libraries (by the same author) which it uses as shared libs.
https://github.com/ksnip/kColorPicker
https://github.com/ksnip/kImageAnnotator

I've created proof of concept ebuilds that worked here for me in a local overlay.  I'm not sure if the following categories are correct, but I created them as

dev-libs/kcolorpicker
dev-libs/kimageannotator
sys-apps/ksnip

Please see attached ebuilds.

Reproducible: Always
Comment 1 David Flogeras 2020-05-18 12:54:25 UTC
Created attachment 640148 [details]
Proof-of-concept ebuild for kColorPicker
Comment 2 David Flogeras 2020-05-18 12:54:49 UTC
Created attachment 640150 [details]
Proof-of-concept ebuild for kImageAnnotator
Comment 3 David Flogeras 2020-05-18 12:55:25 UTC
Created attachment 640152 [details]
Proof-of-concent ebuild for ksnip
Comment 4 David Flogeras 2020-05-26 11:07:32 UTC
I've joined project GURU, and have added my WIP ebuilds to the guru git tree.  Please disregard those attached here and refer to the overlay here

https://gitweb.gentoo.org/repo/proj/guru.git
Comment 5 Andreas Sturmlechner gentoo-dev 2020-08-13 20:14:16 UTC
kde-apps/ category is exclusively meant for projects hosted on kde.org.
Comment 6 David Flogeras 2020-08-14 09:57:47 UTC
Right, I forgot to update here. The relevant package and deps in the guru overlay are:

x11-libs/kcolorpicker
x11-libs/kimageannotator
x11-misc/knsip
Comment 7 Andreas Sturmlechner gentoo-dev 2020-09-02 19:46:43 UTC
kde-apps/spectacle in git master just gained support for x11-libs/kimageannotator, which means I would be moving this and x11-libs/kcolorpicker to Gentoo ebuild repository at some point, with you+proxy-maint as maintainers, if that sounds alright for you.
Comment 8 David Flogeras 2020-09-02 20:42:29 UTC
Absolutely, as long as I can get some mentorship/review along the way.
Comment 9 Andreas Sturmlechner gentoo-dev 2020-09-05 11:27:55 UTC
Review is a given through the proxy-maint/GitHub workflow, mentorship is something different (can happen later if you want to go that route).

You can start by submitting a New Packages PR for both x11-libs/kcolorpicker and x11-libs/kimageannotator with linking back to this bug and explanation that it is required for future KDE packaging, to give it more priority over other New Package submissions that typically have to wait.
Comment 10 David Flogeras 2020-09-08 21:52:52 UTC
Sorry, I was away for the (long) weekend.  Here's my first attempt.
Comment 11 Larry the Git Cow gentoo-dev 2021-01-08 00:00:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7f80d7076db0877dc50853adb4ef7db68238d4

commit 4b7f80d7076db0877dc50853adb4ef7db68238d4
Author:     David Flogeras <dflogeras2@gmail.com>
AuthorDate: 2020-09-08 21:45:29 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-01-07 23:56:51 +0000

    media-libs/kimageannotator: New package
    
    This package (and media-libs/kcolorpicker) will soon be dependencies
    of kde-apps/spectacle to add annotation capabilities.  I have been
    maintaining both in the GURU overlay since about May 2020.
    
    Suggested-by: Andreas Sturmlechner <asturm@gentoo.org>
    Bug: https://bugs.gentoo.org/723758
    Package-Manager: Portage-3.0.4, Repoman-2.3.23
    Signed-off-by: David Flogeras <dflogeras2@gmail.com>
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/kimageannotator/Manifest                |  1 +
 ...tator-0.4.0-fix-static-test-library-PR195.patch | 25 +++++++++++
 .../kimageannotator/kimageannotator-0.4.0.ebuild   | 51 ++++++++++++++++++++++
 media-libs/kimageannotator/metadata.xml            | 12 +++++
 4 files changed, 89 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0646fe8cd8102d0c0d2a467c2a6b7018429fbfa

commit e0646fe8cd8102d0c0d2a467c2a6b7018429fbfa
Author:     David Flogeras <dflogeras2@gmail.com>
AuthorDate: 2020-09-08 21:41:01 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-01-07 23:56:50 +0000

    media-libs/kcolorpicker: New package
    
    This package (and media-libs/kimageannotator) will soon be dependencies
    of kde-apps/spectacle to add annotation capabilities.  I have been
    maintaining both in the GURU overlay since about May 2020.
    
    Suggested-by: Andreas Sturmlechner <asturm@gentoo.org>
    Bug: https://bugs.gentoo.org/723758
    Package-Manager: Portage-3.0.4, Repoman-2.3.23
    Signed-off-by: David Flogeras <dflogeras2@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/17477
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-libs/kcolorpicker/Manifest                  |  1 +
 media-libs/kcolorpicker/kcolorpicker-0.1.4.ebuild | 41 +++++++++++++++++++++++
 media-libs/kcolorpicker/metadata.xml              | 16 +++++++++
 3 files changed, 58 insertions(+)
Comment 12 Manfred Knick 2021-05-26 10:59:01 UTC
May 24, 2021:
Finish up version 1.9.0     <-----

May 25, 2021:
Start version 1.9.1

https://github.com/ksnip/ksnip
Comment 13 David Flogeras 2021-05-26 17:04:31 UTC
@Manfred

KSnip is available in the Guru overlay at the moment, which I maintain.  I cannot yet bump it to 1.9.x until I submit my PR for its in-tree deps (kcolorpicker & kimageannotator, for which I am also proxy maintainer).  KSnip will need higher versions for those to build.  I'll be doing that in a day or two, then it will need to be reviewed prior to getting into the tree.
Comment 14 Manfred Knick 2021-05-26 18:54:01 UTC
(In reply to David Flogeras from comment #13)
Yes, I did understand that from your git comments.
No hurry intended at all!
Just a happy mention about continuing progress :-)
Thanks  &  Kind regards!
Comment 15 David Flogeras 2022-08-16 23:54:03 UTC
Thanks for the poke, admnd.  I'll get ksnip bumped in the guru overlay as soon as I get the dep libs into the main tree.