[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2024-05-25 Thread Nickolas Raymond Kaczynski
commit: e2485703d7953174535994fc0c859526b1affe3d
Author: NRK  disroot  org>
AuthorDate: Sat May 25 15:15:21 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat May 25 15:15:21 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2485703

media-gfx/nsxiv: add missing fontconfig dependency

Closes: https://bugs.gentoo.org/932706
Signed-off-by: NRK  disroot.org>

 media-gfx/nsxiv/nsxiv-32.ebuild   | 2 +-
 media-gfx/nsxiv/nsxiv-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
index 678b4963d..0068bee5b 100644
--- a/media-gfx/nsxiv/nsxiv-32.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -23,7 +23,7 @@ IUSE="+statusbar +inotify exif debug"
 RDEPEND="
x11-libs/libX11
>=media-libs/imlib2-1.8.0[X]
-   statusbar? ( x11-libs/libXft )
+   statusbar? ( x11-libs/libXft media-libs/fontconfig )
exif? ( media-libs/libexif )
 "
 DEPEND="${RDEPEND}"

diff --git a/media-gfx/nsxiv/nsxiv-.ebuild 
b/media-gfx/nsxiv/nsxiv-.ebuild
index 678b4963d..0068bee5b 100644
--- a/media-gfx/nsxiv/nsxiv-.ebuild
+++ b/media-gfx/nsxiv/nsxiv-.ebuild
@@ -23,7 +23,7 @@ IUSE="+statusbar +inotify exif debug"
 RDEPEND="
x11-libs/libX11
>=media-libs/imlib2-1.8.0[X]
-   statusbar? ( x11-libs/libXft )
+   statusbar? ( x11-libs/libXft media-libs/fontconfig )
exif? ( media-libs/libexif )
 "
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/proj/guru:dev commit in: dev-libs/md4c/, app-text/md4c/, profiles/updates/

2024-04-02 Thread Nickolas Raymond Kaczynski
commit: 471e02564e193e59b07224dd5ba843ad81fec128
Author: NRK  disroot  org>
AuthorDate: Tue Apr  2 11:19:32 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Tue Apr  2 11:19:32 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=471e0256

dev-libs/md4c: moved from app-text

Signed-off-by: NRK  disroot.org>

 {app-text => dev-libs}/md4c/Manifest| 0
 {app-text => dev-libs}/md4c/md4c-0.4.8_p20220115.ebuild | 0
 {app-text => dev-libs}/md4c/md4c-0.5.2.ebuild   | 1 -
 {app-text => dev-libs}/md4c/metadata.xml| 0
 profiles/updates/2Q-2024| 1 +
 5 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/md4c/Manifest b/dev-libs/md4c/Manifest
similarity index 100%
rename from app-text/md4c/Manifest
rename to dev-libs/md4c/Manifest

diff --git a/app-text/md4c/md4c-0.4.8_p20220115.ebuild 
b/dev-libs/md4c/md4c-0.4.8_p20220115.ebuild
similarity index 100%
rename from app-text/md4c/md4c-0.4.8_p20220115.ebuild
rename to dev-libs/md4c/md4c-0.4.8_p20220115.ebuild

diff --git a/app-text/md4c/md4c-0.5.2.ebuild b/dev-libs/md4c/md4c-0.5.2.ebuild
similarity index 91%
rename from app-text/md4c/md4c-0.5.2.ebuild
rename to dev-libs/md4c/md4c-0.5.2.ebuild
index 524311cd3f..59a6bad4cb 100644
--- a/app-text/md4c/md4c-0.5.2.ebuild
+++ b/dev-libs/md4c/md4c-0.5.2.ebuild
@@ -8,7 +8,6 @@ inherit cmake
 # TODO(NRK):
 # - enable tests
 # - useflag for static lib (?)
-# - move this under dev-libs or maybe split the md2html tool into it's own 
package (??)
 
 if [[ ${PV} ==  ]]; then
inherit git-r3

diff --git a/app-text/md4c/metadata.xml b/dev-libs/md4c/metadata.xml
similarity index 100%
rename from app-text/md4c/metadata.xml
rename to dev-libs/md4c/metadata.xml

diff --git a/profiles/updates/2Q-2024 b/profiles/updates/2Q-2024
index 33364a8e16..151e8d79da 100644
--- a/profiles/updates/2Q-2024
+++ b/profiles/updates/2Q-2024
@@ -1 +1,2 @@
 move dev-util/cargo-make dev-build/cargo-make
+move app-text/md4c dev-libs/md4c



[gentoo-commits] repo/proj/guru:dev commit in: /

2024-04-02 Thread Nickolas Raymond Kaczynski
commit: facd111a9fcc18a3b732cc9fc92f851c167e3584
Author: NRK  disroot  org>
AuthorDate: Tue Apr  2 11:11:39 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Tue Apr  2 11:13:03 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=facd111a

TODO: remove Lua-cURL

I believe this was added because of mpv_sponsorblock_minimal but
upstream no longer depends on it:
https://codeberg.org/jouni/mpv_sponsorblock_minimal/commit/01e05c633dca900bda84da1b4a2f8868799e9b17

Signed-off-by: NRK  disroot.org>

 TODO.md | 1 -
 1 file changed, 1 deletion(-)

diff --git a/TODO.md b/TODO.md
index 903445711d..4dca1afdcc 100644
--- a/TODO.md
+++ b/TODO.md
@@ -11,7 +11,6 @@ If you find an interesting piece of software here, consider 
to package it, also
 [pyArango](https://pypi.org/project/pyArango/) | setuptools | devel | Anna | ✔ 
| ✔
 [pycouchdb](https://pypi.org/project/pycouchdb/) | poetry | devel | Anna | ✔ | 
✔
 
[azure-sdk-tools](https://github.com/Azure/azure-sdk-for-python/tree/main/tools/azure-sdk-tools)
 | setuptools | devel | Anna | ✔ | ✔
-[Lua-cURL](https://github.com/Lua-cURL/Lua-cURLv3) | cmake | lua | Anna | ✔ | ✔
 [odilia](https://odilia.app) | cargo | accessibility | Anna | ✔ | ✖
 [ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | 
utils | David Roman | ✔ | ✖
 [croissant](https://github.com/giann/croissant) | ? | dev-lua | NRK | ✔ | ?



[gentoo-commits] repo/proj/guru:dev commit in: /

2024-04-02 Thread Nickolas Raymond Kaczynski
commit: 0f449b0cab292a84e3758c6a8a574f1375e619ec
Author: NRK  disroot  org>
AuthorDate: Tue Apr  2 11:06:10 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Tue Apr  2 11:08:08 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f449b0c

TODO: add back greenclip

mistakenly removed in 51b7fdc15199c27fc724f53f4862a3e73e43cbc8

Signed-off-by: NRK  disroot.org>

 TODO.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/TODO.md b/TODO.md
index 6afd0be3d5..903445711d 100644
--- a/TODO.md
+++ b/TODO.md
@@ -15,3 +15,4 @@ If you find an interesting piece of software here, consider 
to package it, also
 [odilia](https://odilia.app) | cargo | accessibility | Anna | ✔ | ✖
 [ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | 
utils | David Roman | ✔ | ✖
 [croissant](https://github.com/giann/croissant) | ? | dev-lua | NRK | ✔ | ?
+[greenclip](https://github.com/erebe/greenclip) (source build) | cabal | 
x11-misc | NRK | ✔ | ✖



[gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/files/, dev-lang/uasm/

2024-04-01 Thread Nickolas Raymond Kaczynski
commit: ea612f548c48f74fce1abc60d5ad205c521c7492
Author: NRK  disroot  org>
AuthorDate: Mon Apr  1 16:46:57 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Apr  1 16:48:19 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea612f54

dev-lang/uasm: fix a bunch of build failures

Closes: https://bugs.gentoo.org/927802
Signed-off-by: NRK  disroot.org>

 dev-lang/uasm/files/build-fix.patch | 179 
 dev-lang/uasm/uasm-2.56.2.ebuild|   3 +
 2 files changed, 182 insertions(+)

diff --git a/dev-lang/uasm/files/build-fix.patch 
b/dev-lang/uasm/files/build-fix.patch
new file mode 100644
index 00..6870528ef8
--- /dev/null
+++ b/dev-lang/uasm/files/build-fix.patch
@@ -0,0 +1,179 @@
+Fixes various build issues with newer clang
+https://bugs.gentoo.org/927802
+
+From b6457542bd56507cb2b659d50772f87cc66d6ea3 Mon Sep 17 00:00:00 2001
+From: NRK 
+Date: Mon, 1 Apr 2024 15:29:47 +
+Subject: [PATCH 1/4] Add missing includes
+
+---
+ assemble.c  | 2 +-
+ codegenv2.c | 2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/assemble.c b/assemble.c
+index 2ce0e14..a9f2899 100644
+--- a/assemble.c
 b/assemble.c
+@@ -43,7 +43,7 @@
+ #include "lqueue.h"
+ #include "orgfixup.h"
+ #include "macrolib.h"
+-//#include "simd.h"
++#include "simd.h"
+ 
+ #if DLLIMPORT
+ #include "mangle.h"
+diff --git a/codegenv2.c b/codegenv2.c
+index 6bcc08d..7063c27 100644
+--- a/codegenv2.c
 b/codegenv2.c
+@@ -1,6 +1,7 @@
+ 
+ #include "codegenv2.h"
+ 
++#include 
+ #include 
+ #include "globals.h"
+ #include "parser.h"
+@@ -12,6 +13,7 @@
+ #include "types.h"
+ #include "macro.h"
+ #include "listing.h"
++#include "input.h"
+ 
+ #define OutputCodeByte( x ) OutputByte( x )
+ 
+-- 
+2.42.0
+
+
+From bc4ffb4ac77f97b42f7d83cae0f0ea7a59c5b6be Mon Sep 17 00:00:00 2001
+From: NRK 
+Date: Mon, 1 Apr 2024 15:36:14 +
+Subject: [PATCH 2/4] Add missing prototypes
+
+ref: https://github.com/Terraspace/UASM/pull/186
+---
+ H/globals.h | 8 
+ 1 file changed, 8 insertions(+)
+
+diff --git a/H/globals.h b/H/globals.h
+index e202c50..7320cb9 100644
+--- a/H/globals.h
 b/H/globals.h
+@@ -49,6 +49,7 @@
+ #endif
+ #define _ltoa   ltoa
+ #define _strupr strupr
++extern char *strupr(char *);
+ 
+ #elif defined(__POCC__)
+ 
+@@ -946,4 +947,11 @@ extern char *num2hex64(uint_64 value, char 
*buffer);
+ extern char *ConvertSectionName( const struct asym *, enum 
seg_type *pst, char *buffer );
+ extern void RewindToWin64(void);
+ 
++extern void CreateMacroLibCases64(void);
++extern void CreateMacroLibCases32(void);
++extern void OutputInterleavedBytes(const unsigned char *pbytes, int len, 
struct fixup *fixup);
++extern void SymSimd(struct dsym *sym);
++extern void RunLineQueue( void );
++extern ret_code BackPatch( struct asym *sym );
++
+ #endif
+-- 
+2.42.0
+
+
+From d4d625d009dfc7ab91136516aafb4fc706d0c1ab Mon Sep 17 00:00:00 2001
+From: NRK 
+Date: Mon, 1 Apr 2024 15:40:30 +
+Subject: [PATCH 3/4] Fix incompatible assignment of `void *` to `uint32_t`
+
+---
+ macho64.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/macho64.c b/macho64.c
+index 8e74842..8b81d5e 100644
+--- a/macho64.c
 b/macho64.c
+@@ -725,7 +725,7 @@ static ret_code macho_write_module( struct module_info 
*modinfo )
+   mm.header.cputype = CPU_TYPE_X86_64;
+   mm.header.cpusubtype = CPU_SUBTYPE_LITTLE_ENDIAN | 
CPU_SUBTYPE_X86_64_ALL;
+   mm.header.filetype = MH_OBJECT;
+-  mm.header.flags = NULL;
++  mm.header.flags = 0;
+   
+   macho_build_structures(modinfo, mm);
+   }
+-- 
+2.42.0
+
+
+From 0108e8754737c9ceac0314c8f70da8c9f4bd2095 Mon Sep 17 00:00:00 2001
+From: NRK 
+Date: Mon, 1 Apr 2024 15:54:02 +
+Subject: [PATCH 4/4] Fix incompatible function pointer
+
+---
+ proc.c | 16 ++--
+ 1 file changed, 14 insertions(+), 2 deletions(-)
+
+diff --git a/proc.c b/proc.c
+index fdd8b49..80e8674 100644
+--- a/proc.c
 b/proc.c
+@@ -162,10 +162,12 @@ struct delphicall_conv {
+ 
+ 
+ static  int ms32_pcheck(struct dsym *, struct dsym *, int *);
++static  int ms32_syspcheck(struct dsym *, struct dsym *, int *, int *);
+ static void ms32_return(struct dsym *, char *);
+ 
+ #if OWFC_SUPPORT
+ static  int watc_pcheck(struct dsym *, struct dsym *, int *);
++static  int watc_syspcheck(struct dsym *, struct dsym *, int *, int *);
+ static void watc_return(struct dsym *, char *);
+ #endif
+ 
+@@ -212,9 +214,9 @@ static const struct vectorcall_conv vectorcall_tab[] = {
+ };
+ 
+ static const struct sysvcall_conv sysvcall_tab[] = {
+-  { ms32_pcheck, ms32_return },  /* FCT_MSC */
++  { ms32_syspcheck, ms32_return },  /* FCT_MSC */
+ #if OWFC_SUPPORT 

[gentoo-commits] repo/proj/guru:dev commit in: app-text/md4c/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: 0d7cd393ac22dfaf40fa48bf1a4863af64700ae3
Author: NRK  disroot  org>
AuthorDate: Mon Feb 26 18:37:11 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 18:37:32 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d7cd393

app-text/md4c: add md2html useflag

Signed-off-by: NRK  disroot.org>

 app-text/md4c/md4c-0.5.2.ebuild | 4 +++-
 app-text/md4c/metadata.xml  | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/app-text/md4c/md4c-0.5.2.ebuild b/app-text/md4c/md4c-0.5.2.ebuild
index 4a8b725b1c..524311cd3f 100644
--- a/app-text/md4c/md4c-0.5.2.ebuild
+++ b/app-text/md4c/md4c-0.5.2.ebuild
@@ -7,8 +7,8 @@ inherit cmake
 
 # TODO(NRK):
 # - enable tests
-# - useflag to not build md2html tool
 # - useflag for static lib (?)
+# - move this under dev-libs or maybe split the md2html tool into it's own 
package (??)
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
@@ -25,6 +25,7 @@ HOMEPAGE="https://github.com/mity/md4c;
 
 LICENSE="MIT"
 SLOT="0"
+IUSE="+md2html"
 
 src_prepare() {
cmake_src_prepare
@@ -34,6 +35,7 @@ src_configure() {
mycmakeargs=(
-DCMAKE_BUILD_TYPE=Release
-DBUILD_SHARED_LIBS=ON
+   -DBUILD_MD2HTML_EXECUTABLE=$(usex md2html ON OFF)
)
 
cmake_src_configure

diff --git a/app-text/md4c/metadata.xml b/app-text/md4c/metadata.xml
index 0b2c5c0d69..102047fdc7 100644
--- a/app-text/md4c/metadata.xml
+++ b/app-text/md4c/metadata.xml
@@ -4,6 +4,9 @@

n...@disroot.org

+   
+   Build the md2html cli tool
+   

mity/md4c




[gentoo-commits] repo/proj/guru:dev commit in: app-arch/7zip/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: cdc75fb7c0cb1982ee5065effc061903fd679190
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 15:47:52 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cdc75fb7

app-arch/7zip: add myself as co-maintainer

Signed-off-by: NRK  disroot.org>

 app-arch/7zip/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/app-arch/7zip/metadata.xml b/app-arch/7zip/metadata.xml
index 3f87406d71..f6008af2b1 100644
--- a/app-arch/7zip/metadata.xml
+++ b/app-arch/7zip/metadata.xml
@@ -5,6 +5,9 @@
m...@matous.dev
Martin Matouš

+   
+   n...@disroot.org
+   

Enable support for non-free rar decoder
Use dev-lang/uasm to include 
optimized code



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/7zip/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: 5e9e2ad78d04b60b5e2bfcd6174b9482e27a2003
Author: NRK  disroot  org>
AuthorDate: Sun Feb 25 10:35:33 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e9e2ad7

app-arch/7zip: grab docs from the linux tarball

Signed-off-by: NRK  disroot.org>

 app-arch/7zip/7zip-23.01.ebuild | 10 +-
 app-arch/7zip/Manifest  |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-arch/7zip/7zip-23.01.ebuild b/app-arch/7zip/7zip-23.01.ebuild
index c3ec08e7e0..340dd91b03 100644
--- a/app-arch/7zip/7zip-23.01.ebuild
+++ b/app-arch/7zip/7zip-23.01.ebuild
@@ -8,7 +8,10 @@ inherit edos2unix toolchain-funcs flag-o-matic
 NO_DOT_PV=$(ver_rs 1- '')
 DESCRIPTION="A free file archiver for extremely high compression"
 HOMEPAGE="https://www.7-zip.org/ https://sourceforge.net/projects/sevenzip/;
-SRC_URI="https://sourceforge.net/projects/sevenzip/files/7-Zip/${PV}/7z${NO_DOT_PV}-src.tar.xz/download
 -> ${PN}-${PV}.tar.xz"
+SRC_URI="
+   
https://sourceforge.net/projects/sevenzip/files/7-Zip/${PV}/7z${NO_DOT_PV}-src.tar.xz/download
 -> ${PN}-${PV}.tar.xz
+   
https://sourceforge.net/projects/sevenzip/files/7-Zip/${PV}/7z${NO_DOT_PV}-linux-x64.tar.xz/download
 -> ${PN}-${PV}-linux.tar.xz
+"
 LICENSE="LGPL-2 BSD rar? ( unRAR )"
 
 IUSE="uasm jwasm rar"
@@ -17,6 +20,8 @@ SLOT="0"
 KEYWORDS="~amd64"
 
 S="${WORKDIR}/CPP/7zip/"
+DOCS=( readme.txt History.txt License.txt )
+HTML_DOCS=( MANUAL )
 RESTRICT="mirror"
 
 RDEPEND=""
@@ -92,4 +97,7 @@ src_compile() {
 
 src_install() {
dobin "./Bundles/Alone2/b/${bdir}/7zz"
+
+   pushd "${WORKDIR}" || die "Unable to switch directory"
+   einstalldocs
 }

diff --git a/app-arch/7zip/Manifest b/app-arch/7zip/Manifest
index 0f23ebee40..39335efa32 100644
--- a/app-arch/7zip/Manifest
+++ b/app-arch/7zip/Manifest
@@ -1 +1,2 @@
+DIST 7zip-23.01-linux.tar.xz 1527700 BLAKE2B 
35dc74f0a7a4e586ea5ae969dce72c14e0231822630d2d70f24e1c911cea0492354a258ef65096a6ce0da1510117c12466bc6cda577cdf9e8e74ede17e47f23e
 SHA512 
d3549468de8fd161e4c9233fa0b170af1f28c74749d20f3d0eeb3873857f6c6d2cc0777d564e6a79be7cc21c9e982e10710a795320428dc51db809a8d0f9454e
 DIST 7zip-23.01.tar.xz 1378588 BLAKE2B 
348484b24b39db70e513fe50d79954ea0e2dd669f83e3601fa796c8f0ca4734132ca20fac8cda9b8ba550bad9146627fc0ae07056abb99028ef6d825b6a533bd
 SHA512 
e39f660c023aa65e55388be225b5591fe2a5c9138693f3c9107e2eb4ce97fafde118d3375e01ada99d29de9633f56221b5b3d640c982178884670cd84c8aa986



[gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: 68c75128c03373ec97181652fdfd9203c9fc71c7
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 15:49:14 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=68c75128

dev-lang/uasm: use append-cflags

Signed-off-by: NRK  disroot.org>

 dev-lang/uasm/uasm-2.56.2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-lang/uasm/uasm-2.56.2.ebuild b/dev-lang/uasm/uasm-2.56.2.ebuild
index 911bc83151..dab3f1d2df 100644
--- a/dev-lang/uasm/uasm-2.56.2.ebuild
+++ b/dev-lang/uasm/uasm-2.56.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="UASM is a free MASM-compatible assembler"
 HOMEPAGE="https://www.terraspace.co.uk/uasm.html;
@@ -25,9 +25,9 @@ src_prepare() {
 }
 
 src_compile() {
-   # -fcommon: https://github.com/Terraspace/UASM/issues/143
+   append-cflags -fcommon  # Bug: 
https://github.com/Terraspace/UASM/issues/143
emake -f gccLinux64.mak CC="$(tc-getCC)" \
-   CFLAGS="${CFLAGS} -fcommon" LDFLAGS="${LDFLAGS}"
+   CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/7zip/, app-arch/7zip/files/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: f324f3dde6e0be2d5893756315b8413754252407
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 21:42:27 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:02 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f324f3dd

app-arch/7zip: simplify patch

Signed-off-by: NRK  disroot.org>

 app-arch/7zip/7zip-23.01.ebuild| 12 --
 .../7zip/files/7zip-23.01-respect-build-env.patch  | 45 --
 2 files changed, 9 insertions(+), 48 deletions(-)

diff --git a/app-arch/7zip/7zip-23.01.ebuild b/app-arch/7zip/7zip-23.01.ebuild
index 414d6e33be..c3ec08e7e0 100644
--- a/app-arch/7zip/7zip-23.01.ebuild
+++ b/app-arch/7zip/7zip-23.01.ebuild
@@ -26,6 +26,10 @@ BDEPEND="
jwasm? ( dev-lang/jwasm )
 "
 
+# TODO(NRK): also build and install the library
+# TODO(NRK): make it so this package can be used as a drop-in replacement
+# for app-arch/p7zip ??
+
 pkg_setup() {
# instructions in DOC/readme.txt, Compiling 7-Zip for Unix/Linux
# TLDR; every combination of options (clang|gcc)+(asm/noasm)
@@ -61,12 +65,14 @@ src_prepare() {
 src_compile() {
pushd "./Bundles/Alone2" || die "Unable to switch directory"
append-ldflags -Wl,-z,noexecstack
-   export G_CC=$(tc-getCC)
-   export G_CXX=$(tc-getCXX)
export G_CFLAGS=${CFLAGS}
export G_CXXFLAGS=${CXXFLAGS}
export G_LDFLAGS=${LDFLAGS}
-   local args=( -f "../../${mfile}" )
+   local args=(
+   -f "../../${mfile}"
+   CC=$(tc-getCC)
+   CXX=$(tc-getCXX)
+   )
# NOTE: makefile doesn't check the value of DISABLE_RAR_COMPRESS, only
# whether it's defined or not. so in case user has `rar` enabled
# DISABLE_RAR_COMPRESS (and DISABLE_RAR) needs to stay undefined.

diff --git a/app-arch/7zip/files/7zip-23.01-respect-build-env.patch 
b/app-arch/7zip/files/7zip-23.01-respect-build-env.patch
index 2615a9e34a..c897cf6259 100644
--- a/app-arch/7zip/files/7zip-23.01-respect-build-env.patch
+++ b/app-arch/7zip/files/7zip-23.01-respect-build-env.patch
@@ -51,48 +51,3 @@ Bug: https://bugs.gentoo.org/913189
  endif
 
  LFLAGS_ALL = $(LFLAGS_STRIP) $(MY_ARCH_2) $(LDFLAGS) $(FLAGS_FLTO) $(LD_arch) 
$(OBJS) $(MY_LIBS) $(LIB2)
 a/var_clang.mak
-+++ b/var_clang.mak
-@@ -6,6 +6,6 @@ IS_ARM64=
- CROSS_COMPILE=
- MY_ARCH=
- USE_ASM=
--CC=$(CROSS_COMPILE)clang
--CXX=$(CROSS_COMPILE)clang++
-+CC=$(G_CC)
-+CXX=$(G_CXX)
- USE_CLANG=1
 a/var_clang_x64.mak
-+++ b/var_clang_x64.mak
-@@ -6,7 +6,7 @@ IS_ARM64=
- CROSS_COMPILE=
- MY_ARCH=
- USE_ASM=1
--CC=$(CROSS_COMPILE)clang
--CXX=$(CROSS_COMPILE)clang++
-+CC=$(G_CC)
-+CXX=$(G_CXX)
- USE_CLANG=1
-
 a/var_gcc.mak
-+++ b/var_gcc.mak
-@@ -6,7 +6,7 @@ IS_ARM64=
- CROSS_COMPILE=
- MY_ARCH=
- USE_ASM=
--CC=$(CROSS_COMPILE)gcc
--CXX=$(CROSS_COMPILE)g++
-+CC=$(G_CC)
-+CXX=$(G_CXX)
-
- # -march=armv8-a+crc+crypto
 a/var_gcc_x64.mak
-+++ b/var_gcc_x64.mak
-@@ -6,5 +6,5 @@ IS_ARM64=
- CROSS_COMPILE=
- MY_ARCH=
- USE_ASM=1
--CC=$(CROSS_COMPILE)gcc
--CXX=$(CROSS_COMPILE)g++
-+CC=$(G_CC)
-+CXX=$(G_CXX)



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/7zip/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: 66e3c38e9193bb36ef35a1eab00016b4b1e6a5e6
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 15:35:48 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66e3c38e

app-arch/7zip: add support for dev-lang/uasm

Signed-off-by: NRK  disroot.org>

 app-arch/7zip/7zip-23.01.ebuild | 28 ++--
 app-arch/7zip/metadata.xml  |  3 ++-
 2 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/app-arch/7zip/7zip-23.01.ebuild b/app-arch/7zip/7zip-23.01.ebuild
index 45f60812c2..7fe4ad21c1 100644
--- a/app-arch/7zip/7zip-23.01.ebuild
+++ b/app-arch/7zip/7zip-23.01.ebuild
@@ -11,7 +11,8 @@ HOMEPAGE="https://www.7-zip.org/ 
https://sourceforge.net/projects/sevenzip/;
 
SRC_URI="https://sourceforge.net/projects/sevenzip/files/7-Zip/${PV}/7z${NO_DOT_PV}-src.tar.xz/download
 -> ${PN}-${PV}.tar.xz"
 LICENSE="LGPL-2 BSD rar? ( unRAR )"
 
-IUSE="asm rar"
+IUSE="uasm jwasm rar"
+REQUIRED_USE="?? ( uasm jwasm )"
 SLOT="0"
 KEYWORDS="~amd64"
 
@@ -20,13 +21,11 @@ RESTRICT="mirror"
 
 RDEPEND=""
 DEPEND="${RDEPEND}"
-# TODO(NRK): package asmc? since 7zip docs recommends using it over jwasm since
-# jwasm doesn't support AES instructions.
-#
-# alternatively look into packaging uasm 
(https://www.terraspace.co.uk/uasm.html)
-# instead which is jwasm based but also supports AES. the 7zip AUR package uses
-# uasm for reference.
-BDEPEND="asm? ( dev-lang/jwasm )"
+# TODO: disable executable stack when asm is used
+BDEPEND="
+   uasm? ( dev-lang/uasm )
+   jwasm? ( dev-lang/jwasm )
+"
 
 pkg_setup() {
# instructions in DOC/readme.txt, Compiling 7-Zip for Unix/Linux
@@ -42,7 +41,7 @@ pkg_setup() {
else
die "Unsupported compiler: $(tc-getCC)"
fi
-   if use asm ; then
+   if use jwasm || use uasm ; then
mfile="${mfile}_x64"
bdir="${bdir}_x64"
fi
@@ -67,11 +66,7 @@ src_compile() {
export G_CFLAGS=${CFLAGS}
export G_CXXFLAGS=${CXXFLAGS}
export G_LDFLAGS=${LDFLAGS}
-   # USE_JWASM=1 - if asm: use JWasm assembler instead of Asmc (not a 
gentoo package)
-   local args=(
-   -f "../../${mfile}"
-   USE_JWASM=1
-   )
+   local args=( -f "../../${mfile}" )
# NOTE: makefile doesn't check the value of DISABLE_RAR_COMPRESS, only
# whether it's defined or not. so in case user has `rar` enabled
# DISABLE_RAR_COMPRESS (and DISABLE_RAR) needs to stay undefined.
@@ -80,6 +75,11 @@ src_compile() {
# non-compressed rar archives
args+=(DISABLE_RAR_COMPRESS=1)
fi
+   if use jwasm; then
+   args+=(USE_JWASM=1)
+   elif use uasm; then
+   args+=(MY_ASM=uasm)
+   fi
emake ${args[@]}
popd > /dev/null || die "Unable to switch directory"
 }

diff --git a/app-arch/7zip/metadata.xml b/app-arch/7zip/metadata.xml
index 43ad17ef87..3f87406d71 100644
--- a/app-arch/7zip/metadata.xml
+++ b/app-arch/7zip/metadata.xml
@@ -6,8 +6,9 @@
Martin Matouš


-   Use dev-lang/jwasm to include 
optimized code
Enable support for non-free rar decoder
+   Use dev-lang/uasm to include 
optimized code
+   Use dev-lang/jwasm to include 
optimized code (doesn't support AES)






[gentoo-commits] repo/proj/guru:dev commit in: dev-lang/uasm/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: 2e6dc534cf743f24a2ed122d000b757a5f7f2b14
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 15:16:30 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2e6dc534

dev-lang/uasm: new package

Signed-off-by: NRK  disroot.org>

 dev-lang/uasm/Manifest   |  1 +
 dev-lang/uasm/metadata.xml   | 10 ++
 dev-lang/uasm/uasm-2.56.2.ebuild | 36 
 3 files changed, 47 insertions(+)

diff --git a/dev-lang/uasm/Manifest b/dev-lang/uasm/Manifest
new file mode 100644
index 00..bb9b666ccf
--- /dev/null
+++ b/dev-lang/uasm/Manifest
@@ -0,0 +1 @@
+DIST uasm-2.56.2.tar.gz 1243830 BLAKE2B 
dcc0948d92cdd5972a6698e721a6ccc6a54926ef94778438cf9a88a6e41ebc652d5230003f689d4278bd1e48959dd04595c602427287a48c551d7b847be665f0
 SHA512 
1f6c1037909d012f3293985c4e0516f4b61497de23cac6bbb58db735efb512599c0bba5d60d8ce999e6afc57e44484a094bf10f0ee185a51afd826f5541c9337

diff --git a/dev-lang/uasm/metadata.xml b/dev-lang/uasm/metadata.xml
new file mode 100644
index 00..9ceaa24387
--- /dev/null
+++ b/dev-lang/uasm/metadata.xml
@@ -0,0 +1,10 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   Terraspace/UASM
+   
+

diff --git a/dev-lang/uasm/uasm-2.56.2.ebuild b/dev-lang/uasm/uasm-2.56.2.ebuild
new file mode 100644
index 00..911bc83151
--- /dev/null
+++ b/dev-lang/uasm/uasm-2.56.2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="UASM is a free MASM-compatible assembler"
+HOMEPAGE="https://www.terraspace.co.uk/uasm.html;
+SRC_URI="https://github.com/Terraspace/UASM/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="Watcom-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND=""
+BDEPEND=""
+S="${WORKDIR}/UASM-${PV}"
+
+src_prepare() {
+   default
+   # don't strip binary
+   sed -i gccLinux64.mak -e 's/ -s / /g' || die
+}
+
+src_compile() {
+   # -fcommon: https://github.com/Terraspace/UASM/issues/143
+   emake -f gccLinux64.mak CC="$(tc-getCC)" \
+   CFLAGS="${CFLAGS} -fcommon" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+   dobin GccUnixR/uasm
+   dodoc *.txt Doc/*.txt
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/7zip/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: 4d2e32a01b4ae0007af77d3114864276f25ae424
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 13:32:34 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d2e32a0

app-arch/7zip: add rar support

Closes: https://bugs.gentoo.org/918634
Signed-off-by: NRK  disroot.org>

 app-arch/7zip/7zip-23.01.ebuild | 26 ++
 app-arch/7zip/metadata.xml  |  7 ---
 2 files changed, 26 insertions(+), 7 deletions(-)

diff --git a/app-arch/7zip/7zip-23.01.ebuild b/app-arch/7zip/7zip-23.01.ebuild
index 38a77c1c4c..45f60812c2 100644
--- a/app-arch/7zip/7zip-23.01.ebuild
+++ b/app-arch/7zip/7zip-23.01.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -9,9 +9,9 @@ NO_DOT_PV=$(ver_rs 1- '')
 DESCRIPTION="A free file archiver for extremely high compression"
 HOMEPAGE="https://www.7-zip.org/ https://sourceforge.net/projects/sevenzip/;
 
SRC_URI="https://sourceforge.net/projects/sevenzip/files/7-Zip/${PV}/7z${NO_DOT_PV}-src.tar.xz/download
 -> ${PN}-${PV}.tar.xz"
-LICENSE="LGPL-2 BSD"
+LICENSE="LGPL-2 BSD rar? ( unRAR )"
 
-IUSE="asm"
+IUSE="asm rar"
 SLOT="0"
 KEYWORDS="~amd64"
 
@@ -20,6 +20,12 @@ RESTRICT="mirror"
 
 RDEPEND=""
 DEPEND="${RDEPEND}"
+# TODO(NRK): package asmc? since 7zip docs recommends using it over jwasm since
+# jwasm doesn't support AES instructions.
+#
+# alternatively look into packaging uasm 
(https://www.terraspace.co.uk/uasm.html)
+# instead which is jwasm based but also supports AES. the 7zip AUR package uses
+# uasm for reference.
 BDEPEND="asm? ( dev-lang/jwasm )"
 
 pkg_setup() {
@@ -62,7 +68,19 @@ src_compile() {
export G_CXXFLAGS=${CXXFLAGS}
export G_LDFLAGS=${LDFLAGS}
# USE_JWASM=1 - if asm: use JWasm assembler instead of Asmc (not a 
gentoo package)
-   emake DISABLE_RAR=1 USE_JWASM=1 --file "../../${mfile}"
+   local args=(
+   -f "../../${mfile}"
+   USE_JWASM=1
+   )
+   # NOTE: makefile doesn't check the value of DISABLE_RAR_COMPRESS, only
+   # whether it's defined or not. so in case user has `rar` enabled
+   # DISABLE_RAR_COMPRESS (and DISABLE_RAR) needs to stay undefined.
+   if ! use rar; then
+   # disables non-free rar code but allows listing and extracting
+   # non-compressed rar archives
+   args+=(DISABLE_RAR_COMPRESS=1)
+   fi
+   emake ${args[@]}
popd > /dev/null || die "Unable to switch directory"
 }
 

diff --git a/app-arch/7zip/metadata.xml b/app-arch/7zip/metadata.xml
index 099821269c..43ad17ef87 100644
--- a/app-arch/7zip/metadata.xml
+++ b/app-arch/7zip/metadata.xml
@@ -1,13 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   Use dev-lang/jwasm to include 
optimized code
-   

m...@matous.dev
Martin Matouš

+   
+   Use dev-lang/jwasm to include 
optimized code
+   Enable support for non-free rar decoder
+   


Igor Pavlov



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/7zip/

2024-02-26 Thread Nickolas Raymond Kaczynski
commit: d00074052481cbb468d930cc42caeaa6990d1987
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 15:46:14 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Feb 26 17:45:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0007405

app-arch/7zip: disable executable stack when using uasm

Signed-off-by: NRK  disroot.org>

 app-arch/7zip/7zip-23.01.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-arch/7zip/7zip-23.01.ebuild b/app-arch/7zip/7zip-23.01.ebuild
index 7fe4ad21c1..414d6e33be 100644
--- a/app-arch/7zip/7zip-23.01.ebuild
+++ b/app-arch/7zip/7zip-23.01.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit edos2unix toolchain-funcs
+inherit edos2unix toolchain-funcs flag-o-matic
 
 NO_DOT_PV=$(ver_rs 1- '')
 DESCRIPTION="A free file archiver for extremely high compression"
@@ -21,7 +21,6 @@ RESTRICT="mirror"
 
 RDEPEND=""
 DEPEND="${RDEPEND}"
-# TODO: disable executable stack when asm is used
 BDEPEND="
uasm? ( dev-lang/uasm )
jwasm? ( dev-lang/jwasm )
@@ -61,6 +60,7 @@ src_prepare() {
 
 src_compile() {
pushd "./Bundles/Alone2" || die "Unable to switch directory"
+   append-ldflags -Wl,-z,noexecstack
export G_CC=$(tc-getCC)
export G_CXX=$(tc-getCXX)
export G_CFLAGS=${CFLAGS}



[gentoo-commits] repo/proj/guru:dev commit in: sys-devel/gdb-dashboard/, profiles/updates/, dev-debug/gdb-dashboard/

2024-02-24 Thread Nickolas Raymond Kaczynski
commit: 9393503a864345a38fb6094ebe1e26a677b67257
Author: NRK  disroot  org>
AuthorDate: Sat Feb 24 08:00:16 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 24 08:03:51 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9393503a

sys-devel/gdb-dashboard: move under dev-debug

Signed-off-by: NRK  disroot.org>

 {sys-devel => dev-debug}/gdb-dashboard/Manifest| 0
 {sys-devel => dev-debug}/gdb-dashboard/gdb-dashboard-0.17.2.ebuild | 2 +-
 {sys-devel => dev-debug}/gdb-dashboard/metadata.xml| 0
 profiles/updates/1Q-2024   | 1 +
 4 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys-devel/gdb-dashboard/Manifest b/dev-debug/gdb-dashboard/Manifest
similarity index 100%
rename from sys-devel/gdb-dashboard/Manifest
rename to dev-debug/gdb-dashboard/Manifest

diff --git a/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild 
b/dev-debug/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
similarity index 97%
rename from sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
rename to dev-debug/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
index 2d76b5994b..2645a724c8 100644
--- a/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
+++ b/dev-debug/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8

diff --git a/sys-devel/gdb-dashboard/metadata.xml 
b/dev-debug/gdb-dashboard/metadata.xml
similarity index 100%
rename from sys-devel/gdb-dashboard/metadata.xml
rename to dev-debug/gdb-dashboard/metadata.xml

diff --git a/profiles/updates/1Q-2024 b/profiles/updates/1Q-2024
index 8c355259a1..0398f0c881 100644
--- a/profiles/updates/1Q-2024
+++ b/profiles/updates/1Q-2024
@@ -10,3 +10,4 @@ move x11-wm/phoc gui-wm/phoc
 move gui-wm/phosh phosh-base/phosh-shell
 move gui-apps/phosh-tour phosh-base/phosh-tour
 move x11-misc/squeekboard phosh-base/squeekboard
+move sys-devel/gdb-dashboard dev-debug/gdb-dashboard



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/selx/

2024-02-22 Thread Nickolas Raymond Kaczynski
commit: 592c48eebc669702281afa866ccad2b049e24f69
Author: NRK  disroot  org>
AuthorDate: Thu Feb 22 11:33:56 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Thu Feb 22 11:33:56 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=592c48ee

x11-misc/selx: use `edo`

Signed-off-by: NRK  disroot.org>

 x11-misc/selx/selx-1.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/selx/selx-1.1.0.ebuild b/x11-misc/selx/selx-1.1.0.ebuild
index b0a3fa7252..15f8e130fa 100644
--- a/x11-misc/selx/selx-1.1.0.ebuild
+++ b/x11-misc/selx/selx-1.1.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit toolchain-funcs edo
 
 DESCRIPTION="Minimal X11 rectangle selection tool"
 HOMEPAGE="https://codeberg.org/NRK/selx;
@@ -23,7 +23,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 src_compile() {
-   $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext -l 
Xrandr || die "Compilation failed"
+   edo $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext -l 
Xrandr
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/selx/

2024-02-21 Thread Nickolas Raymond Kaczynski
commit: b3d46b5ca9efac405bb8332ffd9699e435526936
Author: NRK  disroot  org>
AuthorDate: Wed Feb 21 15:28:34 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Wed Feb 21 15:28:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b3d46b5c

x11-misc/selx: add 1.1.0, drop old

Signed-off-by: NRK  disroot.org>

 x11-misc/selx/Manifest | 2 +-
 x11-misc/selx/{selx-1.0.0.ebuild => selx-1.1.0.ebuild} | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/x11-misc/selx/Manifest b/x11-misc/selx/Manifest
index 1721537ade..3a358dbf04 100644
--- a/x11-misc/selx/Manifest
+++ b/x11-misc/selx/Manifest
@@ -1 +1 @@
-DIST selx-1.0.0.tar.gz 21423 BLAKE2B 
af7480e8ea5bfef8027c52acb6c0230888510abba31d117d650c8047c2f9fd680e5a2d2abec345048969957701e2bc14faf6e1396aac0e7f9e641ca6d4ae55e9
 SHA512 
4368f29731d81a3c91ac09093b6e721d850057900e21efea85ebbc29f851a7fd9b450d3ba7045e044ff0b6a87da1dc1d75f4e73b4dadbc7902192e0b4c753deb
+DIST selx-1.1.0.tar.gz 22109 BLAKE2B 
73a68fa3a9c98f49705c8efd425523cbef8bfb15df9e73b0166985dfae3afe5bff9a22a88ff31d99a671e2d9e2bf482d18e8dd558d79e690e59d7bc976cb39bd
 SHA512 
74aeb6ea5b9cf1d3793e8c5b90b44894d63096484f7d9c7fdf231d743f53178c85a9097d5daaa12739c0e83cdeb498d6454235c987267489757aa59080e3f131

diff --git a/x11-misc/selx/selx-1.0.0.ebuild b/x11-misc/selx/selx-1.1.0.ebuild
similarity index 86%
rename from x11-misc/selx/selx-1.0.0.ebuild
rename to x11-misc/selx/selx-1.1.0.ebuild
index 062d435185..b0a3fa7252 100644
--- a/x11-misc/selx/selx-1.0.0.ebuild
+++ b/x11-misc/selx/selx-1.1.0.ebuild
@@ -18,13 +18,12 @@ SLOT="0"
 RDEPEND="
x11-libs/libX11
x11-libs/libXext
+   x11-libs/libXrandr
 "
-# NOTE: next version also depends on:
-# x11-libs/libXrandr
 DEPEND="${RDEPEND}"
 
 src_compile() {
-   $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext || die 
"Compilation failed"
+   $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext -l 
Xrandr || die "Compilation failed"
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/thumbfast/

2024-02-17 Thread Nickolas Raymond Kaczynski
commit: c12d5217ab715d7e9f0ffc9affa8f886745f7811
Author: NRK  disroot  org>
AuthorDate: Sat Feb 17 10:58:28 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 17 10:59:51 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c12d5217

mpv-plugin/thumbfast: fix license typpo

Signed-off-by: NRK  disroot.org>

 mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild 
b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
index 0868818c77..0de62af727 100644
--- a/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
+++ b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://github.com/po5/thumbfast;
 SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
 S="${WORKDIR}/${PN}-${COMMIT}"
 
-LICENSE="MPL-2"
+LICENSE="MPL-2.0"
 KEYWORDS="~amd64"
 
 RDEPEND="app-shells/bash"



[gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock_minimal/

2024-02-16 Thread Nickolas Raymond Kaczynski
commit: 24651e484d4fde2e26faf8bc72ae904cd87e2f32
Author: NRK  disroot  org>
AuthorDate: Sat Feb 17 04:04:40 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 17 04:04:40 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=24651e48

mpv-plugin/mpv_sponsorblock_minimal: remove TODO

upstream no longer depends on it:
https://codeberg.org/jouni/mpv_sponsorblock_minimal/commit/01e05c633dca900bda84da1b4a2f8868799e9b17

Signed-off-by: NRK  disroot.org>

 .../mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild  | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
 
b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
index 720ae9bd7c..6b212d1202 100644
--- 
a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
+++ 
b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
@@ -16,7 +16,6 @@ S="${WORKDIR}/${PN}"
 LICENSE="GPL-3"
 KEYWORDS="~amd64"
 
-# TODO: package Lua-cURL
 RDEPEND="net-misc/curl"
 
 MPV_PLUGIN_FILES=( sponsorblock_minimal.lua )



[gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock_minimal/

2024-02-16 Thread Nickolas Raymond Kaczynski
commit: 5055a593944b15a581287942bc530a9cd34b263a
Author: NRK  disroot  org>
AuthorDate: Sat Feb 17 01:54:42 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 17 02:03:13 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5055a593

mpv-plugin/mpv_sponsorblock_minimal: update snapshot

also add myself as maintainer

Signed-off-by: NRK  disroot.org>

 mpv-plugin/mpv_sponsorblock_minimal/Manifest  |  2 +-
 mpv-plugin/mpv_sponsorblock_minimal/metadata.xml  | 11 +++
 ...2.07.ebuild => mpv_sponsorblock_minimal-2023.08.20.ebuild} |  9 -
 3 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/mpv-plugin/mpv_sponsorblock_minimal/Manifest 
b/mpv-plugin/mpv_sponsorblock_minimal/Manifest
index 6830cf5808..85bc663b19 100644
--- a/mpv-plugin/mpv_sponsorblock_minimal/Manifest
+++ b/mpv-plugin/mpv_sponsorblock_minimal/Manifest
@@ -1 +1 @@
-DIST mpv_sponsorblock_minimal-2022.02.07.tar.gz 14172 BLAKE2B 
200249e6fcdf0580aae81dffe4ae1da24d98385ddd51d3b6bac23ed399a22f6e78089b9bbfb79d568a174eb886744bc3267a777651e480616ef13290801c72f3
 SHA512 
b7af7409d5496857dac064137cd417c85ab7389ed8539664a2cf305285da9a0932b37c7ab3e4aa9cbd97817adf588f4d329460276e0425528f00763ae7983862
+DIST mpv_sponsorblock_minimal-2023.08.20.tar.gz 14419 BLAKE2B 
bb055273d1dc6f1aaeb6cc4a77f1686dc4f98930b59eeb185c379f0e9da172f960d194cc7b26fe914fd54b0fcafc6600eda5f4690561e5ba669a3243c8abf6a3
 SHA512 
f790ae06e26bd78b686790245d2aa135af2f0f71e11a800ad916e6ba9cc863f4be9ec7829945ac9dfe1349c51ac9f2bcba5fd4c4c3c7b08660ecce1289c7ec21

diff --git a/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml 
b/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml
index f0fa831ec9..d65256fb63 100644
--- a/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml
+++ b/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml
@@ -1,8 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd;>
 
-   
-   
-   jouni/mpv_sponsorblock_minimal 
-   
+   
+   n...@disroot.org
+   NRK
+   
+   
+   jouni/mpv_sponsorblock_minimal
+   
 

diff --git 
a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2022.02.07.ebuild
 
b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
similarity index 75%
rename from 
mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2022.02.07.ebuild
rename to 
mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
index 741fae11fd..720ae9bd7c 100644
--- 
a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2022.02.07.ebuild
+++ 
b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -7,7 +7,7 @@ USE_MPV="rdepend"
 MPV_REQ_USE="lua"
 inherit mpv-plugin
 
-COMMIT="b71beb60eb71eb7df1266abfccd14c8cc451c643"
+COMMIT="ca2844b8cf7674bfccd282d389a50427742251d3"
 DESCRIPTION="A minimal script to skip sponsored segments of YouTube videos"
 HOMEPAGE="https://codeberg.org/jouni/mpv_sponsorblock_minimal;
 SRC_URI="https://codeberg.org/jouni/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
@@ -19,6 +19,5 @@ KEYWORDS="~amd64"
 # TODO: package Lua-cURL
 RDEPEND="net-misc/curl"
 
-MPV_PLUGIN_FILES=(
-   sponsorblock_minimal.lua
-)
+MPV_PLUGIN_FILES=( sponsorblock_minimal.lua )
+DOCS=( README )



[gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/thumbfast/

2024-02-16 Thread Nickolas Raymond Kaczynski
commit: a7429a61291d4891d6c8883ccc47dadf06f1e0c4
Author: NRK  disroot  org>
AuthorDate: Sat Feb 17 01:38:04 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 17 02:02:31 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a7429a61

mpv-plugin/thumbfast: new package

Signed-off-by: NRK  disroot.org>

 mpv-plugin/thumbfast/Manifest|  1 +
 mpv-plugin/thumbfast/metadata.xml| 11 
 mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild | 35 
 3 files changed, 47 insertions(+)

diff --git a/mpv-plugin/thumbfast/Manifest b/mpv-plugin/thumbfast/Manifest
new file mode 100644
index 00..ec5520fdb8
--- /dev/null
+++ b/mpv-plugin/thumbfast/Manifest
@@ -0,0 +1 @@
+DIST thumbfast-2023.12.08.tar.gz 16515 BLAKE2B 
94a8d75315b77b3290fb6e90a44d6ff7970e663ecbdadf29acff6c1282e6834afb1dd079967dadee26c81cc6ae181df9ff0e815c662e11a70fe29a1f6b11cdc7
 SHA512 
af69b8bd90d6acbd8aeeb7821998684239047efb2f1147149d1cfc824e763e459dc88364d5903f0228e2f3e1b372ced0df6c8b6c07bfd12b05937f2a889a851e

diff --git a/mpv-plugin/thumbfast/metadata.xml 
b/mpv-plugin/thumbfast/metadata.xml
new file mode 100644
index 00..4458f732dc
--- /dev/null
+++ b/mpv-plugin/thumbfast/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   NRK
+   
+   
+   po5/thumbfast
+   
+

diff --git a/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild 
b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
new file mode 100644
index 00..0868818c77
--- /dev/null
+++ b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="03e93feee5a85bf7c65db953ada41b4826e9f905"
+DESCRIPTION="High-performance on-the-fly thumbnailer script for mpv."
+HOMEPAGE="https://github.com/po5/thumbfast;
+SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MPL-2"
+KEYWORDS="~amd64"
+
+RDEPEND="app-shells/bash"
+
+MPV_PLUGIN_FILES=(
+   thumbfast.lua
+)
+
+DOCS=(
+   thumbfast.conf
+   README.md
+)
+
+pkg_postinst() {
+   mpv-plugin_pkg_postinst
+   einfo "thumbfast requires using a supported ui (such as 
mpv-plugin/mfpbar)."
+   # TODO(NRK): add a useflag for the vanilla-osc fork??
+   # https://github.com/po5/thumbfast/blob/vanilla-osc/player/lua/osc.lua
+}



[gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mfpbar/

2024-02-16 Thread Nickolas Raymond Kaczynski
commit: 92aa07107c7347355186db7424d5a2b2a0506f1b
Author: NRK  disroot  org>
AuthorDate: Sat Feb 17 01:44:02 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 17 02:02:32 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=92aa0710

mpv-plugin/mfpbar: tidy up

Signed-off-by: NRK  disroot.org>

 mpv-plugin/mfpbar/mfpbar-20240215.ebuild | 12 +++-
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild 
b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
index 1d56ee1a82..7b8264d207 100644
--- a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
+++ b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit mpv-plugin
+inherit mpv-plugin optfeature
 
 RDEPEND=">=media-video/mpv-0.33.0[lua]"
 
@@ -17,17 +17,11 @@ LICENSE="GPL-3+"
 KEYWORDS="~amd64"
 
 MPV_PLUGIN_FILES=( mfpbar.lua )
-
-src_install() {
-   mpv-plugin_src_install
-   dodoc mfpbar.conf
-   dodoc README.md
-}
+DOCS=( mfpbar.conf README.md )
 
 pkg_postinst() {
mpv-plugin_pkg_postinst
einfo "mfpbar requires disabling the default osc."
einfo "put 'osc=no' in your 'mpv.conf' in order to do so."
-   einfo ""
-   einfo "for thumbnail support install: https://github.com/po5/thumbfast; 
 # TODO(NRK): package thumbfast
+   optfeature "thumbnail support" mpv-plugin/thumbfast
 }



[gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mfpbar/

2024-02-16 Thread Nickolas Raymond Kaczynski
commit: 0a9e9dc3446ae212e7711d0131da0a86c1743133
Author: NRK  disroot  org>
AuthorDate: Sat Feb 17 01:19:15 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 17 02:02:31 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a9e9dc3

mpv-plugin/mfpbar: new package

Signed-off-by: NRK  disroot.org>

 mpv-plugin/mfpbar/Manifest   |  1 +
 mpv-plugin/mfpbar/metadata.xml   | 11 +++
 mpv-plugin/mfpbar/mfpbar-20240215.ebuild | 33 
 3 files changed, 45 insertions(+)

diff --git a/mpv-plugin/mfpbar/Manifest b/mpv-plugin/mfpbar/Manifest
new file mode 100644
index 00..0ce03dd640
--- /dev/null
+++ b/mpv-plugin/mfpbar/Manifest
@@ -0,0 +1 @@
+DIST mfpbar-20240215.tar.gz 21585 BLAKE2B 
1b67b59a74a494d1c8e43533dd95a72008c59191a9d41a9f7b9cbd4da6db8b5e457be0ed6bcc4d9c82769f302ef2bf65065909ffba6905c6d6ae5b6ec6347c7e
 SHA512 
2c37d64136f1c5c19537ab675215616fe24708d3f988ae0c539add3f0d94f73f76b1ec7b0c7cb8f258ddc45c4bb15967500cc72eee42247a9c1d6f6ce4fd1779

diff --git a/mpv-plugin/mfpbar/metadata.xml b/mpv-plugin/mfpbar/metadata.xml
new file mode 100644
index 00..5d95ab1e33
--- /dev/null
+++ b/mpv-plugin/mfpbar/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   NRK
+   
+   
+   NRK/mpv-toolbox
+   
+

diff --git a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild 
b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
new file mode 100644
index 00..1d56ee1a82
--- /dev/null
+++ b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mpv-plugin
+
+RDEPEND=">=media-video/mpv-0.33.0[lua]"
+
+DESCRIPTION="A minimalistic progressbar and osc replacement"
+HOMEPAGE="https://codeberg.org/NRK/mpv-toolbox;
+
+SRC_URI="https://codeberg.org/NRK/mpv-toolbox/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/mpv-toolbox/${PN}"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+
+MPV_PLUGIN_FILES=( mfpbar.lua )
+
+src_install() {
+   mpv-plugin_src_install
+   dodoc mfpbar.conf
+   dodoc README.md
+}
+
+pkg_postinst() {
+   mpv-plugin_pkg_postinst
+   einfo "mfpbar requires disabling the default osc."
+   einfo "put 'osc=no' in your 'mpv.conf' in order to do so."
+   einfo ""
+   einfo "for thumbnail support install: https://github.com/po5/thumbfast; 
 # TODO(NRK): package thumbfast
+}



[gentoo-commits] repo/proj/guru:dev commit in: /

2024-02-16 Thread Nickolas Raymond Kaczynski
commit: fba6270dee84249da3d0ed0e7da488d64363464f
Author: NRK  disroot  org>
AuthorDate: Fri Feb 16 09:47:54 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Feb 16 09:48:13 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fba6270d

TODO.md: add croissant

Signed-off-by: NRK  disroot.org>

 TODO.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/TODO.md b/TODO.md
index 72dde98c0a..a495cab56c 100644
--- a/TODO.md
+++ b/TODO.md
@@ -104,10 +104,11 @@ If you find an interesting piece of software here, 
consider to package it, also
 [TauonMusicBox](https://github.com/Taiko2k/TauonMusicBox) | setuptools | audio 
| | | ✖
 [mmtracking](https://github.com/open-mmlab/mmtracking) | setuptools | science 
| Alessandro-Barbieri | ✖
 [libensemble](https://github.com/Libensemble/libensemble) | setuptools | 
cluster | Alessandro-Barbieri | ✖ | ✔
-[ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | 
utils | David Roman | ✔ | ✖ 
+[ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | 
utils | David Roman | ✔ | ✖
 [greenclip](https://github.com/erebe/greenclip) | cabal | desktop | NRK | ✔ | ✖
 [kaitai](https://github.com/kaitai-io/kaitai_struct) | sbt | util | 
Alessandro-Barbieri | ✔ | ✖
 [casadi](https://web.casadi.org/) | cmake swig | science | Alessandro-Barbieri 
| ✖ | ✔
 [ipyleaflet](https://github.com/jupyter-widgets/ipyleaflet) | setuptools yarn 
| jupyter | Alessandro-Barbieri | ✔ | ✖
 [gitlab](https://gitlab.com/gitlab-org/gitlab-foss) | yarn gem | vcs | 
Alessandro-Barbieri | ✔ | ✖
 [HOL4](http://hol-theorem-prover.org/) | ? | math | Alessandro-Barbieri | ✔ | ✖
+[croissant](https://github.com/giann/croissant) | ? | dev-lua | NRK | ✔ | ?



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/selx/

2024-02-16 Thread Nickolas Raymond Kaczynski
commit: 8a1016723f89524bab873800767bb75e67ea71b1
Author: NRK  disroot  org>
AuthorDate: Fri Feb 16 08:51:01 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Feb 16 08:51:01 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8a101672

x11-misc/selx: new package

Signed-off-by: NRK  disroot.org>

 x11-misc/selx/Manifest  |  1 +
 x11-misc/selx/metadata.xml  | 11 +++
 x11-misc/selx/selx-1.0.0.ebuild | 33 +
 3 files changed, 45 insertions(+)

diff --git a/x11-misc/selx/Manifest b/x11-misc/selx/Manifest
new file mode 100644
index 00..1721537ade
--- /dev/null
+++ b/x11-misc/selx/Manifest
@@ -0,0 +1 @@
+DIST selx-1.0.0.tar.gz 21423 BLAKE2B 
af7480e8ea5bfef8027c52acb6c0230888510abba31d117d650c8047c2f9fd680e5a2d2abec345048969957701e2bc14faf6e1396aac0e7f9e641ca6d4ae55e9
 SHA512 
4368f29731d81a3c91ac09093b6e721d850057900e21efea85ebbc29f851a7fd9b450d3ba7045e044ff0b6a87da1dc1d75f4e73b4dadbc7902192e0b4c753deb

diff --git a/x11-misc/selx/metadata.xml b/x11-misc/selx/metadata.xml
new file mode 100644
index 00..fc3e50bea6
--- /dev/null
+++ b/x11-misc/selx/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   NRK
+   
+   
+   NRK/selx
+   
+

diff --git a/x11-misc/selx/selx-1.0.0.ebuild b/x11-misc/selx/selx-1.0.0.ebuild
new file mode 100644
index 00..062d435185
--- /dev/null
+++ b/x11-misc/selx/selx-1.0.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Minimal X11 rectangle selection tool"
+HOMEPAGE="https://codeberg.org/NRK/selx;
+
+SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+   x11-libs/libX11
+   x11-libs/libXext
+"
+# NOTE: next version also depends on:
+# x11-libs/libXrandr
+DEPEND="${RDEPEND}"
+
+src_compile() {
+   $(tc-getCC) -o selx selx.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xext || die 
"Compilation failed"
+}
+
+src_install() {
+   dobin selx
+   doman selx.1
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-text/md4c/

2024-02-15 Thread Nickolas Raymond Kaczynski
commit: b5c47b5d6ca034b75784ef6b7182523087a45779
Author: NRK  disroot  org>
AuthorDate: Fri Feb 16 06:24:34 2024 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Feb 16 06:28:34 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b5c47b5d

app-text/md4c: add v0.5.2

Signed-off-by: NRK  disroot.org>

 app-text/md4c/Manifest  |  1 +
 app-text/md4c/md4c-0.5.2.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/app-text/md4c/Manifest b/app-text/md4c/Manifest
index 0614a29be6..732e0d6ddd 100644
--- a/app-text/md4c/Manifest
+++ b/app-text/md4c/Manifest
@@ -1 +1,2 @@
 DIST md4c-0.4.8_p20220115.tar.gz 230786 BLAKE2B 
a2820563bd2f8094d9b57d1ee4bba629229b789b74b34860b1dfcbd45fffea4a477226ad5e8d9eace52b527c08698223ab9343729e4af605d8f9639166aea106
 SHA512 
1249e8d9c8aef1d305301c4d71f3d438cb81f0e754d9e3ca15c11bf384be67a112086332f41cfddfa2b89790748da0e7db7e62126dc0d9729846268e0dbee651
+DIST md4c-0.5.2.tar.gz 237973 BLAKE2B 
7f3f80c1bcfa3040b4458876abc8eabbad387242fbdcde08b34d9a279da56e4c2264a591deb6ad3061c951b4ca547f896589682aa5c6b50febfc03b89c61be3e
 SHA512 
30607ba39d6c59329f5a56a90cd816ff60b82ea752ac2b9df356d756529cfc49170019fae5df32fa94afc0e2a186c66eaf56fa6373d18436c06ace670675ba85

diff --git a/app-text/md4c/md4c-0.5.2.ebuild b/app-text/md4c/md4c-0.5.2.ebuild
new file mode 100644
index 00..4a8b725b1c
--- /dev/null
+++ b/app-text/md4c/md4c-0.5.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+# TODO(NRK):
+# - enable tests
+# - useflag to not build md2html tool
+# - useflag for static lib (?)
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/mity/md4c.git;
+else
+   MY_VERSION="release-${PV}"
+   
SRC_URI="https://github.com/mity/${PN}/archive/refs/tags/${MY_VERSION}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64"
+   S="${WORKDIR}/${PN}-${MY_VERSION}"
+fi
+
+DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark 
Compliant."
+HOMEPAGE="https://github.com/mity/md4c;
+
+LICENSE="MIT"
+SLOT="0"
+
+src_prepare() {
+   cmake_src_prepare
+}
+
+src_configure() {
+   mycmakeargs=(
+   -DCMAKE_BUILD_TYPE=Release
+   -DBUILD_SHARED_LIBS=ON
+   )
+
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   find "${ED}/usr/$(get_libdir)" -name '*.a' -exec rm {} \; || die
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-10-02 Thread Nickolas Raymond Kaczynski
commit: 0d65b247b839fc2574f59722d650ab04b3a5f803
Author: NRK  disroot  org>
AuthorDate: Mon Oct  2 12:18:32 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Oct  2 12:21:39 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0d65b247

media-gfx/nsxiv: add debug useflag

v32 changed from having assertions enabled by default to having them
disabled. explicitly passing `-DDEBUG` is now required to enable
assertions.

Signed-off-by: NRK  disroot.org>

 media-gfx/nsxiv/nsxiv-32.ebuild   | 9 ++---
 media-gfx/nsxiv/nsxiv-.ebuild | 9 ++---
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/media-gfx/nsxiv/nsxiv-32.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
index 21454ad79b..289eb79656 100644
--- a/media-gfx/nsxiv/nsxiv-32.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
 
 LICENSE="GPL-2+ public-domain"
 SLOT="0"
-IUSE="+statusbar +inotify exif"
+IUSE="+statusbar +inotify exif debug"
 
 RDEPEND="
x11-libs/libX11
@@ -43,12 +43,15 @@ src_prepare() {
 }
 
 src_configure() {
+   # avoid rebuild on `make install`
sed -i -e '/^install: / s|: all|:|' Makefile || die
-   sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
 }
 
 src_compile() {
-   emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
+   local dbg=""
+   use debug && dbg="-UNDEBUG -DDEBUG"
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${dbg}" \
+   OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"

diff --git a/media-gfx/nsxiv/nsxiv-.ebuild 
b/media-gfx/nsxiv/nsxiv-.ebuild
index 21454ad79b..289eb79656 100644
--- a/media-gfx/nsxiv/nsxiv-.ebuild
+++ b/media-gfx/nsxiv/nsxiv-.ebuild
@@ -18,7 +18,7 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
 
 LICENSE="GPL-2+ public-domain"
 SLOT="0"
-IUSE="+statusbar +inotify exif"
+IUSE="+statusbar +inotify exif debug"
 
 RDEPEND="
x11-libs/libX11
@@ -43,12 +43,15 @@ src_prepare() {
 }
 
 src_configure() {
+   # avoid rebuild on `make install`
sed -i -e '/^install: / s|: all|:|' Makefile || die
-   sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
 }
 
 src_compile() {
-   emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
+   local dbg=""
+   use debug && dbg="-UNDEBUG -DDEBUG"
+   emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} ${dbg}" \
+   OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-10-01 Thread Nickolas Raymond Kaczynski
commit: 60f1163b6fe4d3c100a25a4084285ba0add94295
Author: NRK  disroot  org>
AuthorDate: Sun Oct  1 13:56:44 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sun Oct  1 13:56:44 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=60f1163b

media-gfx/nsxiv: add v32, drop v31

Signed-off-by: NRK  disroot.org>

 media-gfx/nsxiv/Manifest | 2 +-
 media-gfx/nsxiv/{nsxiv-31.ebuild => nsxiv-32.ebuild} | 8 
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index 3773c07764..bb50055e22 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1 +1 @@
-DIST nsxiv-31.tar.gz 73821 BLAKE2B 
f5a5f16d82fb78ce9ae5da341cb481f653dd28db7138529f20b76b4f0a73415e9c5ffa9a8c2dee23ec754d1d7f5451ae631e786a535799b6542ef55ed3548c5a
 SHA512 
f6814f337763f23b569f12ad6d2aa33380b1f5dec0890f0bedb54620a725330fa6518acd6ddabe79c420f0feab01c307bdc91e4ea6141ce1a4528ea0a96addd8
+DIST nsxiv-32.tar.gz 74345 BLAKE2B 
92257a95095291068c982d91ed32a0ae358f89048057fa6f1cb356caccbba9cb1f9fdb6ca0e16faf4e6e411af942858182cf2bea3b5d19904f3ca686f7b372ed
 SHA512 
e53de494f104440c87eb55606c322cb7ac9989176547131f59e02eb091d04a3a2de6c11c1c775cb25302ff1da5997bc499d753a822c1de4652aa77bf2858fa9a

diff --git a/media-gfx/nsxiv/nsxiv-31.ebuild b/media-gfx/nsxiv/nsxiv-32.ebuild
similarity index 90%
rename from media-gfx/nsxiv/nsxiv-31.ebuild
rename to media-gfx/nsxiv/nsxiv-32.ebuild
index 99825be3d5..21454ad79b 100644
--- a/media-gfx/nsxiv/nsxiv-31.ebuild
+++ b/media-gfx/nsxiv/nsxiv-32.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
 
@@ -43,8 +43,8 @@ src_prepare() {
 }
 
 src_configure() {
-   sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
-   sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
+   sed -i -e '/^install: / s|: all|:|' Makefile || die
+   sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
 }
 
 src_compile() {



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/sxcs/

2023-07-05 Thread Nickolas Raymond Kaczynski
commit: c21d1a7f41b401aebb71055f69f255a575718fe9
Author: NRK  disroot  org>
AuthorDate: Wed Jul  5 11:57:02 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Wed Jul  5 11:57:02 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c21d1a7f

x11-misc/sxcs: bump 0.7.3, dump 0.7.1

Signed-off-by: NRK  disroot.org>

 x11-misc/sxcs/Manifest |  2 +-
 x11-misc/sxcs/{sxcs-0.7.1.ebuild => sxcs-0.7.3.ebuild} | 12 
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/x11-misc/sxcs/Manifest b/x11-misc/sxcs/Manifest
index ee83071b9..f85f72b42 100644
--- a/x11-misc/sxcs/Manifest
+++ b/x11-misc/sxcs/Manifest
@@ -1,2 +1,2 @@
-DIST sxcs-0.7.1.tar.gz 22699 BLAKE2B 
d947a4ffb7d45daafd829c36e820f38a7c0759459e02f306bdcd653a8771bf53b03c5fe60710478e62256f057d7b7c698ef0c24528114a1ee240f11598d93520
 SHA512 
2865a23cad442c181fbad7cb5137c70483b78862a6e41dc4619969b5d45bcff60c3fa3b93df425e4223174b6c172f47976181a97129e6c02acea58faa304dcbe
 DIST sxcs-0.7.2.tar.gz 21933 BLAKE2B 
8a514f5cec0dd772ba28633e25ae769ffae739b8976ec96cfabb177c656bd323798cddf2d4873f1a6306fb11506a39f94cd187a30ad354c26be32cd95c19d0d7
 SHA512 
6d5b57d0ae56da062ce75dabbf53e372042abb2e883ef3bc33f6d655d2d39e122530a46d10ecdee832575402262ded0118a006cd30584f1afc0ae79e56a77767
+DIST sxcs-0.7.3.tar.gz 22204 BLAKE2B 
04bb29188c89622dd2bc348dbc334963a807691ce6fda2f6a6eafedc860be5855d614aeab801dd6cba916dae67a5af92d37317420a04345f1aa8d9203cc44510
 SHA512 
dbd11ecae74e7a50a346efd0d919952cdd138ebcf75a369888c9f889fcc2752923152b07bcec5f7d4f259672e3af11762d88d9a0b7fe37342f9f5880ecd724ec

diff --git a/x11-misc/sxcs/sxcs-0.7.1.ebuild b/x11-misc/sxcs/sxcs-0.7.3.ebuild
similarity index 73%
rename from x11-misc/sxcs/sxcs-0.7.1.ebuild
rename to x11-misc/sxcs/sxcs-0.7.3.ebuild
index 4d235209c..2edccfcae 100644
--- a/x11-misc/sxcs/sxcs-0.7.1.ebuild
+++ b/x11-misc/sxcs/sxcs-0.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -23,15 +23,11 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 src_compile() {
-   emake \
-   CC=$(tc-getCC) \
-   CFLAGS="${CFLAGS}" \
-   LDFLAGS="${LDFLAGS}"
+   $(tc-getCC) -o sxcs sxcs.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xcursor
 }
 
 src_install() {
-   emake install \
-   DESTDIR="${D}" \
-   PREFIX="${EPREFIX}/usr"
+   dobin sxcs
+   doman sxcs.1
dodoc README.md
 }



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/sxcs/

2023-06-02 Thread Nickolas Raymond Kaczynski
commit: 4a3ce98ac948e00e55dac31a7ef16170d52ae422
Author: NRK  disroot  org>
AuthorDate: Fri Jun  2 15:51:20 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Jun  2 15:52:24 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4a3ce98a

x11-misc/sxcs: add v0.7.2

Signed-off-by: NRK  disroot.org>

 x11-misc/sxcs/Manifest  |  1 +
 x11-misc/sxcs/sxcs-0.7.2.ebuild | 33 +
 2 files changed, 34 insertions(+)

diff --git a/x11-misc/sxcs/Manifest b/x11-misc/sxcs/Manifest
index e399fcb25..ee83071b9 100644
--- a/x11-misc/sxcs/Manifest
+++ b/x11-misc/sxcs/Manifest
@@ -1 +1,2 @@
 DIST sxcs-0.7.1.tar.gz 22699 BLAKE2B 
d947a4ffb7d45daafd829c36e820f38a7c0759459e02f306bdcd653a8771bf53b03c5fe60710478e62256f057d7b7c698ef0c24528114a1ee240f11598d93520
 SHA512 
2865a23cad442c181fbad7cb5137c70483b78862a6e41dc4619969b5d45bcff60c3fa3b93df425e4223174b6c172f47976181a97129e6c02acea58faa304dcbe
+DIST sxcs-0.7.2.tar.gz 21933 BLAKE2B 
8a514f5cec0dd772ba28633e25ae769ffae739b8976ec96cfabb177c656bd323798cddf2d4873f1a6306fb11506a39f94cd187a30ad354c26be32cd95c19d0d7
 SHA512 
6d5b57d0ae56da062ce75dabbf53e372042abb2e883ef3bc33f6d655d2d39e122530a46d10ecdee832575402262ded0118a006cd30584f1afc0ae79e56a77767

diff --git a/x11-misc/sxcs/sxcs-0.7.2.ebuild b/x11-misc/sxcs/sxcs-0.7.2.ebuild
new file mode 100644
index 0..2edccfcae
--- /dev/null
+++ b/x11-misc/sxcs/sxcs-0.7.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Color picker and magnifier for X11."
+HOMEPAGE="https://codeberg.org/NRK/sxcs;
+
+SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+   x11-libs/libX11
+   x11-libs/libXcursor
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+   $(tc-getCC) -o sxcs sxcs.c ${CFLAGS} ${LDFLAGS} -l X11 -l Xcursor
+}
+
+src_install() {
+   dobin sxcs
+   doman sxcs.1
+   dodoc README.md
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-05-20 Thread Nickolas Raymond Kaczynski
commit: cf5521adf10da683580306ae4142a1b337675cc6
Author: NRK  disroot  org>
AuthorDate: Sat May 20 17:26:51 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat May 20 17:30:23 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf5521ad

media-gfx/nsxiv: update  ebuild

* update to EAPI 8
* adjust the sed command due to recent upstream change

Signed-off-by: NRK  disroot.org>

 media-gfx/nsxiv/nsxiv-.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-gfx/nsxiv/nsxiv-.ebuild 
b/media-gfx/nsxiv/nsxiv-.ebuild
index 75c9332a1..c588aabf6 100644
--- a/media-gfx/nsxiv/nsxiv-.ebuild
+++ b/media-gfx/nsxiv/nsxiv-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
 
@@ -43,8 +43,8 @@ src_prepare() {
 }
 
 src_configure() {
-   sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
-   sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
+   sed -i -e '/^install: / s|: all|:|' Makefile || die
+   sed -i -e 's|^CFLAGS =|CFLAGS +=|;s|-O2 ||;' config.mk || die
 }
 
 src_compile() {



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-05-20 Thread Nickolas Raymond Kaczynski
commit: 045bda6931d1decca4adda3e4e670b7b791c34a1
Author: NRK  disroot  org>
AuthorDate: Sat May 20 17:28:53 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat May 20 17:30:23 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=045bda69

media-gfx/nsxiv: fix copyright notice

nsxiv didn't even exist back in 1999, earliest commit in this dir dates
back to 2021, d22db6606219ff0101fff0c0609d8de86eff95e0

Signed-off-by: NRK  disroot.org>

 media-gfx/nsxiv/nsxiv-31.ebuild   | 2 +-
 media-gfx/nsxiv/nsxiv-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/nsxiv/nsxiv-31.ebuild b/media-gfx/nsxiv/nsxiv-31.ebuild
index 75c9332a1..99825be3d 100644
--- a/media-gfx/nsxiv/nsxiv-31.ebuild
+++ b/media-gfx/nsxiv/nsxiv-31.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7

diff --git a/media-gfx/nsxiv/nsxiv-.ebuild 
b/media-gfx/nsxiv/nsxiv-.ebuild
index c588aabf6..21454ad79 100644
--- a/media-gfx/nsxiv/nsxiv-.ebuild
+++ b/media-gfx/nsxiv/nsxiv-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/fuse-archive/

2023-05-20 Thread Nickolas Raymond Kaczynski
commit: 8c977008636aa0e3f2dcdd051ac03298eb042a81
Author: NRK  disroot  org>
AuthorDate: Sat May 20 14:58:59 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat May 20 14:58:59 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8c977008

app-arch/fuse-archive: disable test phase

Closes: https://bugs.gentoo.org/906830
Signed-off-by: NRK  disroot.org>

 app-arch/fuse-archive/fuse-archive-0.1.14.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild 
b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
index a57506a3e..622458094 100644
--- a/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
+++ b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
@@ -26,6 +26,11 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+# TODO(NRK): enable tests. requires additional dependency on dev-lang/go and 
such.
+src_test() {
+   :
+}
+
 src_compile() {
emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
@@ -33,5 +38,3 @@ src_compile() {
 src_install() {
dobin out/fuse-archive
 }
-
-# TODO(NRK): enable tests



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xbanish/

2023-05-19 Thread Nickolas Raymond Kaczynski
commit: 59512a3bbb3f3c99abcf3602e9e242969598801f
Author: NRK  disroot  org>
AuthorDate: Fri May 19 16:26:46 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri May 19 16:26:46 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59512a3b

x11-misc/xbanish: add pkgconfig as BDEPEND

Signed-off-by: NRK  disroot.org>

 x11-misc/xbanish/xbanish-1.8_p20230519.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild 
b/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild
index da0ccba5f..769e960bb 100644
--- a/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild
+++ b/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild
@@ -24,6 +24,7 @@ RDEPEND="
x11-libs/libXext
 "
 DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 src_compile() {
emake CC=$(tc-getCC)



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xbanish/

2023-05-19 Thread Nickolas Raymond Kaczynski
commit: 582d80cd9950755a48ebebc4e02ce0a235fcdc2a
Author: NRK  disroot  org>
AuthorDate: Fri May 19 16:17:43 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri May 19 16:22:11 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=582d80cd

x11-misc/xbanish: add snapshot

a couple useful bugfixes and feature has been merged since last
release, but no tagged release yet.

changes compared to v1.8:
* upgrade to EAPI 8
* drop libXt from DEPEND: wasn't needed, unnecessary include dropped
  upstream.
* drop src_configure: upstream makefile now respects env LDFLAGS

Signed-off-by: NRK  disroot.org>

 x11-misc/xbanish/Manifest |  1 +
 x11-misc/xbanish/xbanish-1.8_p20230519.ebuild | 35 +++
 2 files changed, 36 insertions(+)

diff --git a/x11-misc/xbanish/Manifest b/x11-misc/xbanish/Manifest
index dd29d02ca..086b2d129 100644
--- a/x11-misc/xbanish/Manifest
+++ b/x11-misc/xbanish/Manifest
@@ -1 +1,2 @@
 DIST xbanish-1.8.tar.gz 7082 BLAKE2B 
2b54a93754264723b6c18d089db40aae902a8e406d919ffbc42d01cd4b85675477cef9c586c09cbf3f518a84aff9f33069cc228627d9967ae182fac545b1a6e5
 SHA512 
d6c3434f38bd0c9aabdc8745cb46ad196df379acae156f2f282aba83f69ecb88164fe752cd868e63ab887ca5758fbfd502d709c811843fe1deafd880e161a972
+DIST xbanish-1.8_p20230519.tar.gz 7357 BLAKE2B 
0e39657000fafef6ca2e2020c01b7a4511a9f094fd35deba3c23e61ddc9c0c13aafc9e47c92a073e737a9c1be9a494224fd5081ef89f9637d197b841d3024a06
 SHA512 
8ab02a78a4e1b86111c0c100044f850185d9365d02f2f09138da2b2b0a7bc3ea3f54491e25fb618b015f3741656f60561cb14a68e93c054f69e8318b444aa1bb

diff --git a/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild 
b/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild
new file mode 100644
index 0..da0ccba5f
--- /dev/null
+++ b/x11-misc/xbanish/xbanish-1.8_p20230519.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse 
moves"
+HOMEPAGE="https://github.com/jcs/xbanish;
+
+COMMIT="189ce79b1df4eb4995980530ebc3d28715a67488"
+SRC_URI="https://github.com/jcs/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+KEYWORDS="~amd64"
+LICENSE="ISC"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+   x11-libs/libX11
+   x11-libs/libXfixes
+   x11-libs/libXi
+   x11-libs/libXext
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+   emake CC=$(tc-getCC)
+}
+
+src_install() {
+   dobin xbanish
+   doman xbanish.1
+}



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xbanish/

2023-05-19 Thread Nickolas Raymond Kaczynski
commit: d2254b8e8d48653727a3f00a99776043a6f781a9
Author: NRK  disroot  org>
AuthorDate: Fri May 19 16:03:46 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri May 19 16:21:56 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d2254b8e

x11-misc/xbanish: drop v1.7

Signed-off-by: NRK  disroot.org>

 x11-misc/xbanish/Manifest   |  1 -
 x11-misc/xbanish/xbanish-1.7.ebuild | 45 -
 2 files changed, 46 deletions(-)

diff --git a/x11-misc/xbanish/Manifest b/x11-misc/xbanish/Manifest
index a24d7f3e1..dd29d02ca 100644
--- a/x11-misc/xbanish/Manifest
+++ b/x11-misc/xbanish/Manifest
@@ -1,2 +1 @@
-DIST xbanish-1.7.tar.gz 6379 BLAKE2B 
b5c2da9890676be642d963147b38585089160bbeb8609e66e586ce69b886e39e4b02e60e1c4554fb27454ae3bc89c7169f5b1ece3e511e327ee0bfbef25035c3
 SHA512 
f790ea12bb6b7793f0a60a900724fc407ec4485672e37d464387ffacfa4bf2dc891862f3fed06948cda31024745816b3adb58074c4578edc6a9848f2bd08
 DIST xbanish-1.8.tar.gz 7082 BLAKE2B 
2b54a93754264723b6c18d089db40aae902a8e406d919ffbc42d01cd4b85675477cef9c586c09cbf3f518a84aff9f33069cc228627d9967ae182fac545b1a6e5
 SHA512 
d6c3434f38bd0c9aabdc8745cb46ad196df379acae156f2f282aba83f69ecb88164fe752cd868e63ab887ca5758fbfd502d709c811843fe1deafd880e161a972

diff --git a/x11-misc/xbanish/xbanish-1.7.ebuild 
b/x11-misc/xbanish/xbanish-1.7.ebuild
deleted file mode 100644
index 5aaeac21c..0
--- a/x11-misc/xbanish/xbanish-1.7.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse 
moves"
-HOMEPAGE="https://github.com/jcs/xbanish;
-
-SRC_URI="https://github.com/jcs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-KEYWORDS="~amd64"
-# NOTE: Upstream moved to ISC license on master.
-# So this needs to be changed on the next version (1.7+).
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-
-# NOTE: x11-libs/libXext might become a dep next version (1.7+)
-RDEPEND="
-   x11-libs/libX11
-   x11-libs/libXfixes
-   x11-libs/libXi
-"
-DEPEND="
-   ${RDEPEND}
-   x11-libs/libXt
-"
-
-src_configure() {
-   # Makefile doesn't respect user's LDFLAGS
-   sed -i \
-   -e 's|\$(LIBS) |\$(LIBS) $(LDFLAGS) |g' \
-   Makefile || die "sed failed"
-}
-
-src_compile() {
-   emake CC=$(tc-getCC)
-}
-
-src_install() {
-   dobin xbanish
-   doman xbanish.1
-}



[gentoo-commits] repo/proj/guru:dev commit in: app-arch/fuse-archive/

2023-05-18 Thread Nickolas Raymond Kaczynski
commit: 32b6dba1e28039b14284bb10dfbe6c9ea04ae811
Author: NRK  disroot  org>
AuthorDate: Thu May 18 14:05:03 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Thu May 18 14:09:57 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32b6dba1

app-arch/fuse-archive: init

Signed-off-by: NRK  disroot.org>

 app-arch/fuse-archive/Manifest   |  1 +
 app-arch/fuse-archive/fuse-archive-0.1.14.ebuild | 37 
 app-arch/fuse-archive/metadata.xml   | 10 +++
 3 files changed, 48 insertions(+)

diff --git a/app-arch/fuse-archive/Manifest b/app-arch/fuse-archive/Manifest
new file mode 100644
index 0..cb1ac3921
--- /dev/null
+++ b/app-arch/fuse-archive/Manifest
@@ -0,0 +1 @@
+DIST fuse-archive-0.1.14.tar.gz 59066 BLAKE2B 
f60a9d5c2f722ba1a8a9f853bb268923d16957137dcb503c4b8499415c98ce4f3c55e2db2d77d11e98ecf7539aaaf6851d44499303ec5f286b95cfe0e293b433
 SHA512 
03bdb9d360e3677dc10e2728919c3c6cdd712487d768db4cd2ccf9f1b7e725828119132bf539f08e54d0fc9df9fa534e4b374a626c4bd1f4ca519e46e90a6a8b

diff --git a/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild 
b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
new file mode 100644
index 0..a57506a3e
--- /dev/null
+++ b/app-arch/fuse-archive/fuse-archive-0.1.14.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Read-only FUSE file system for mounting archives and compressed 
files"
+HOMEPAGE="https://github.com/google/fuse-archive;
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/google/fuse-archive.git;
+else
+   SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   sys-fs/fuse:0
+   app-arch/libarchive
+"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+   emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_install() {
+   dobin out/fuse-archive
+}
+
+# TODO(NRK): enable tests

diff --git a/app-arch/fuse-archive/metadata.xml 
b/app-arch/fuse-archive/metadata.xml
new file mode 100644
index 0..64ed95d08
--- /dev/null
+++ b/app-arch/fuse-archive/metadata.xml
@@ -0,0 +1,10 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   google/fuse-archive
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: sys-devel/gdb-dashboard/

2023-05-15 Thread Nickolas Raymond Kaczynski
commit: 16c67750026dee2a339a64808266623ec4ad92d4
Author: NRK  disroot  org>
AuthorDate: Mon May 15 12:49:47 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon May 15 12:51:22 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16c67750

sys-devel/gdb-dashboard: add metadata.xml

just noticed metadata was missing after pushing the commit.
pkgcheck didn't seem to complain...

Signed-off-by: NRK  disroot.org>

 sys-devel/gdb-dashboard/metadata.xml | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/sys-devel/gdb-dashboard/metadata.xml 
b/sys-devel/gdb-dashboard/metadata.xml
new file mode 100644
index 0..ca01d6418
--- /dev/null
+++ b/sys-devel/gdb-dashboard/metadata.xml
@@ -0,0 +1,10 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   cyrus-and/gdb-dashboard
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: sys-devel/gdb-dashboard/

2023-05-15 Thread Nickolas Raymond Kaczynski
commit: 560cc96fdde4881b899b2d561614a87f6c0b811a
Author: NRK  disroot  org>
AuthorDate: Mon May 15 12:46:20 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon May 15 12:46:20 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=560cc96f

sys-devel/gdb-dashboard: init new package

ebuild mostly inspired/stolen from pentoo, but a couple things have been
changed to fit EAPI8 + some minor improvements (e.g using optfeature for
optional syntax highlighting).

Signed-off-by: NRK  disroot.org>

 sys-devel/gdb-dashboard/Manifest   |  1 +
 .../gdb-dashboard/gdb-dashboard-0.17.2.ebuild  | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/sys-devel/gdb-dashboard/Manifest b/sys-devel/gdb-dashboard/Manifest
new file mode 100644
index 0..b38215757
--- /dev/null
+++ b/sys-devel/gdb-dashboard/Manifest
@@ -0,0 +1 @@
+DIST gdb-dashboard-0.17.2.tar.gz 23275 BLAKE2B 
6c7cfd2ac5ffa686629bbfa628bfcf1b383e44d632c3acf1205a7e0e01192f167744e54f2e145644c1e2f8479f9021ca05a39481a4f4c07f0ca2db75946392cd
 SHA512 
caa723479b8539f01e9c46e2c95731fed2fe16087d495aa9eddacf93ffbf5f61f59166a106157ea099e0e2d90d1d0e97b7d2b6b3addb776506ce809438871006

diff --git a/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild 
b/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
new file mode 100644
index 0..e25cff86d
--- /dev/null
+++ b/sys-devel/gdb-dashboard/gdb-dashboard-0.17.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit python-single-r1 optfeature wrapper
+
+DESCRIPTION="Modular visual interface for GDB in Python"
+HOMEPAGE="https://github.com/cyrus-and/gdb-dashboard;
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/cyrus-and/gdb-dashboard;
+else
+   
SRC_URI="https://github.com/cyrus-and/gdb-dashboard/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="sys-devel/gdb[python]"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+pkg_setup() {
+   python-single-r1_pkg_setup
+}
+
+src_install() {
+   insinto "/usr/share/${PN}"
+   newins .gdbinit "${PN}"
+
+   # install a convenient wrapper. disables any typical .gdbinit (-nh) to
+   # get a clean state without interference. -q to disable annoying
+   # copyright message at startup.
+   make_wrapper "$PN" "gdb -q -nh -iex 'source /usr/share/${PN}/${PN}'"
+
+   dodoc README.md
+}
+
+pkg_postinst() {
+   einfo "To use ${PN}:"
+   einfo "Either use the installed '${PN}' wrapper script directly."
+   einfo "Or put 'source /usr/share/${PN}/${PN}' in your .gdbinit 
file."
+   einfo ""
+
+   optfeature "syntax highlighting" "dev-python/pygments"
+}



[gentoo-commits] repo/proj/guru:dev commit in: /

2023-05-13 Thread Nickolas Raymond Kaczynski
commit: ef1657c048f68ecdc253391c8d2aa814c58efe3f
Author: NRK  disroot  org>
AuthorDate: Sat May 13 10:43:30 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat May 13 10:43:30 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef1657c0

TODO.md: remove ueberzug, update greenclip

* Remove ueberzug, it's already added to ::gentoo
* I have zero experience with haskell/cabal - so definitely tick the
  "need help" box.

Signed-off-by: NRK  disroot.org>

 TODO.md | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/TODO.md b/TODO.md
index 434355e0e..9452c2e0c 100644
--- a/TODO.md
+++ b/TODO.md
@@ -107,10 +107,9 @@ If you find an interesting piece of software here, 
consider to package it, also
 [foobnix](https://github.com/foobnix/foobnix) | setuptools | audio | | | ✖
 [TauonMusicBox](https://github.com/Taiko2k/TauonMusicBox) | setuptools | audio 
| | | ✖
 [mmtracking](https://github.com/open-mmlab/mmtracking) | setuptools | science 
| Alessandro-Barbieri | ✖
-[ueberzug](https://github.com/seebye/ueberzug) | setuptools | cli | N-R-K | | ✖
 [libensemble](https://github.com/Libensemble/libensemble) | setuptools | 
cluster | Alessandro-Barbieri | ✖ | ✔
 [ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | 
utils | David Roman | ✔ | ✖ 
-[greenclip](https://github.com/erebe/greenclip) | cabal | desktop | N-R-K | | ✖
+[greenclip](https://github.com/erebe/greenclip) | cabal | desktop | NRK | ✔ | ✖
 [kaitai](https://github.com/kaitai-io/kaitai_struct) | sbt | util | 
Alessandro-Barbieri | ✔ | ✖
 [casadi](https://web.casadi.org/) | cmake swig | science | Alessandro-Barbieri 
| ✖ | ✔
 [ipyleaflet](https://github.com/jupyter-widgets/ipyleaflet) | setuptools yarn 
| jupyter | Alessandro-Barbieri | ✔ | ✖



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-02-18 Thread Nickolas Raymond Kaczynski
commit: 8d5d67b234346179c18e4e1341b2e145a3bb51c0
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sat Feb 18 09:47:51 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 18 09:47:51 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d5d67b2

media-gfx/nsxiv: drop v30

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 media-gfx/nsxiv/metadata.xml|  2 -
 media-gfx/nsxiv/nsxiv-30.ebuild | 85 -
 2 files changed, 87 deletions(-)

diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
index cde50557f..69904dd36 100644
--- a/media-gfx/nsxiv/metadata.xml
+++ b/media-gfx/nsxiv/metadata.xml
@@ -8,8 +8,6 @@
nsxiv/nsxiv


-   Add animated gif support
Add statusbar support
-   Add animated webp support

 

diff --git a/media-gfx/nsxiv/nsxiv-30.ebuild b/media-gfx/nsxiv/nsxiv-30.ebuild
deleted file mode 100644
index 0b27fee7f..0
--- a/media-gfx/nsxiv/nsxiv-30.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
-
-if [[ ${PV} == "" ]] ; then
-   EGIT_REPO_URI="https://codeberg.org/nsxiv/nsxiv.git;
-   inherit git-r3
-else
-   SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
-HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="+statusbar exif +inotify +gif webp"
-
-RDEPEND="
-   x11-libs/libX11
-   media-libs/imlib2[X]
-   statusbar? ( x11-libs/libXft )
-   exif? ( media-libs/libexif )
-   gif? ( media-libs/giflib:0= )
-   webp? ( media-libs/libwebp )
-"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
-   if use inotify; then
-   CONFIG_CHECK+=" ~INOTIFY_USER"
-   ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
-   linux-info_pkg_setup
-   fi
-}
-
-src_prepare() {
-   default
-
-   restore_config config.h
-}
-
-src_configure() {
-   sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
-   sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
-}
-
-src_compile() {
-   emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
-   HAVE_INOTIFY="$(usex inotify 1 0)" \
-   HAVE_LIBFONTS="$(usex statusbar 1 0)" \
-   HAVE_LIBGIF="$(usex gif 1 0)" \
-   HAVE_LIBWEBP="$(usex webp 1 0)" \
-   HAVE_LIBEXIF="$(usex exif 1 0)"
-}
-
-src_install() {
-   emake \
-   DESTDIR="${ED}" \
-   PREFIX="/usr" \
-   EGPREFIX="/usr/share/doc/${P}/examples" \
-   install install-icon
-   dodoc README.md
-   domenu nsxiv.desktop
-
-   save_config config.h
-}
-
-pkg_postinst() {
-   xdg_desktop_database_update
-   xdg_icon_cache_update
-
-   einfo "${PN} uses media-libs/imlib2 for loading images."
-   einfo "To enable/disable support for specific image formats,"
-   einfo "toggle the necessary USE flag for imlib2."
-}
-
-pkg_postrm() {
-   xdg_desktop_database_update
-   xdg_icon_cache_update
-}



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-02-18 Thread Nickolas Raymond Kaczynski
commit: 04bb3133f5d7000ee08289103613786d5851656b
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sat Feb 18 09:49:30 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Feb 18 09:49:30 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04bb3133

media-gfx/nsxiv: correct license

Bug: https://bugs.gentoo.org/872179
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 media-gfx/nsxiv/nsxiv-31.ebuild   | 2 +-
 media-gfx/nsxiv/nsxiv-.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-gfx/nsxiv/nsxiv-31.ebuild b/media-gfx/nsxiv/nsxiv-31.ebuild
index aef44e615..75c9332a1 100644
--- a/media-gfx/nsxiv/nsxiv-31.ebuild
+++ b/media-gfx/nsxiv/nsxiv-31.ebuild
@@ -16,7 +16,7 @@ fi
 DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
 HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+ public-domain"
 SLOT="0"
 IUSE="+statusbar +inotify exif"
 

diff --git a/media-gfx/nsxiv/nsxiv-.ebuild 
b/media-gfx/nsxiv/nsxiv-.ebuild
index aef44e615..75c9332a1 100644
--- a/media-gfx/nsxiv/nsxiv-.ebuild
+++ b/media-gfx/nsxiv/nsxiv-.ebuild
@@ -16,7 +16,7 @@ fi
 DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
 HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+ public-domain"
 SLOT="0"
 IUSE="+statusbar +inotify exif"
 



[gentoo-commits] repo/proj/guru:dev commit in: app-text/md4c/

2023-01-29 Thread Nickolas Raymond Kaczynski
commit: b4265a1c06d775fb5329c1c457607890bdbd7297
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sun Jan 29 17:23:51 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sun Jan 29 17:28:07 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4265a1c

app-text/md4c: add snapshot, drop , tidy up

upstream seems to be somewhat inactive - so it will take a while before
a new version is released i'd assume. i don't remember exactly what it
was, but there was some bug in the stable version which is why i added
 instead (and why i'm doing a snapshot right now).

also fixes the copyright year, i'm quite sure md4c didn't even exist
back in 1999 :)

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 app-text/md4c/Manifest |  1 +
 .../md4c/{md4c-.ebuild => md4c-0.4.8_p20220115.ebuild} | 10 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/app-text/md4c/Manifest b/app-text/md4c/Manifest
new file mode 100644
index 0..0614a29be
--- /dev/null
+++ b/app-text/md4c/Manifest
@@ -0,0 +1 @@
+DIST md4c-0.4.8_p20220115.tar.gz 230786 BLAKE2B 
a2820563bd2f8094d9b57d1ee4bba629229b789b74b34860b1dfcbd45fffea4a477226ad5e8d9eace52b527c08698223ab9343729e4af605d8f9639166aea106
 SHA512 
1249e8d9c8aef1d305301c4d71f3d438cb81f0e754d9e3ca15c11bf384be67a112086332f41cfddfa2b89790748da0e7db7e62126dc0d9729846268e0dbee651

diff --git a/app-text/md4c/md4c-.ebuild 
b/app-text/md4c/md4c-0.4.8_p20220115.ebuild
similarity index 70%
rename from app-text/md4c/md4c-.ebuild
rename to app-text/md4c/md4c-0.4.8_p20220115.ebuild
index caf6b2562..d0bcf814d 100644
--- a/app-text/md4c/md4c-.ebuild
+++ b/app-text/md4c/md4c-0.4.8_p20220115.ebuild
@@ -1,18 +1,22 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 inherit cmake
 
-# TODO: enable tests, add stable version and useflag for static lib
+# TODO(NRK):
+# - enable tests
+# - useflag for static lib (?)
 
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/mity/md4c.git;
 else
-   SRC_URI="https://github.com/mity/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   COMMIT="e9ff661ff818ee94a4a231958d9b6768dc6882c9"
+   SRC_URI="https://github.com/mity/${PN}/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
KEYWORDS="~amd64"
+   S="${WORKDIR}/${PN}-${COMMIT}"
 fi
 
 DESCRIPTION="C Markdown parser. Fast, SAX-like interface, CommonMark 
Compliant."



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/ani-cli/

2023-01-29 Thread Nickolas Raymond Kaczynski
commit: f6feb803ae1ae0b4a8f87a79c927c2b8f510c567
Author: jbara  gmail  com>
AuthorDate: Sun Jan 29 13:20:34 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sun Jan 29 17:17:32 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f6feb803

app-misc/ani-cli: add 4.0 & , drop old

Closes: https://github.com/gentoo/guru/pull/88
Signed-off-by: Med Anis Jbara  gmail.com>
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 app-misc/ani-cli/Manifest|  2 +-
 app-misc/ani-cli/ani-cli-1.9.ebuild  | 26 --
 app-misc/ani-cli/ani-cli-4.0.ebuild  | 30 ++
 app-misc/ani-cli/ani-cli-.ebuild | 30 ++
 app-misc/ani-cli/metadata.xml|  4 
 5 files changed, 65 insertions(+), 27 deletions(-)

diff --git a/app-misc/ani-cli/Manifest b/app-misc/ani-cli/Manifest
index 4a8836a84..07a979824 100644
--- a/app-misc/ani-cli/Manifest
+++ b/app-misc/ani-cli/Manifest
@@ -1 +1 @@
-DIST ani-cli-1.9.tar.gz 8016229 BLAKE2B 
0b4120fb038e8f01f74e5a9c43b665e978e2c47e1b76059d20b364a7cec386e7c3cd3028d4e03ba8ef02bf45ae9df3ee66d896f9be09118736c605110ce3e5dd
 SHA512 
f3fe0109fc3f1d910fa4f621bc056d7c291ed2c0f91b76f9b65fc65925d864d3ab86a6610ec5960cc24a329507ab1fbb054e4304c4ececeb88c2411e66b48452
+DIST ani-cli-4.0.tar.gz 121522 BLAKE2B 
0dabe50b90173f8afe228e467bd6e008777e78b16e9f0d38eee1379666ead263d6cf558b5bab56c3be4101ddc6fb63f980d6be3cb8e52af3bb62ee313193b3ea
 SHA512 
8dc8228b775d03d79bc0005c15fb2453845bdc4bf4135c730922fc99fc451da9a289d7c42ac7dfeb5eb636a295ea6a4d583d81e40425c0ec4f92ffd969cac4f8

diff --git a/app-misc/ani-cli/ani-cli-1.9.ebuild 
b/app-misc/ani-cli/ani-cli-1.9.ebuild
deleted file mode 100644
index 158bada4a..0
--- a/app-misc/ani-cli/ani-cli-1.9.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="A cli to browse and watch anime."
-HOMEPAGE="https://github.com/pystardust/ani-cli/;
-SRC_URI="https://github.com/pystardust/$PN/archive/refs/tags/v$PV.tar.gz -> 
$P.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="media-video/mpv
-   dev-libs/openssl
-   net-misc/curl
-   media-video/ffmpeg"
-
-RDEPEND="${DEPEND}"
-BDEPEND=""
-
-src_install() {
-   dobin ani-cli
-
-}

diff --git a/app-misc/ani-cli/ani-cli-4.0.ebuild 
b/app-misc/ani-cli/ani-cli-4.0.ebuild
new file mode 100644
index 0..da5959a8d
--- /dev/null
+++ b/app-misc/ani-cli/ani-cli-4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A cli to browse and watch anime."
+HOMEPAGE="https://github.com/pystardust/ani-cli;
+if [[ "${PV}" == ** ]]; then
+   EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git;
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/pystardust/ani-cli/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   media-video/mpv
+   app-shells/fzf
+   media-video/ffmpeg
+   net-misc/aria2"
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+   dobin ani-cli
+   doman ani-cli.1
+}

diff --git a/app-misc/ani-cli/ani-cli-.ebuild 
b/app-misc/ani-cli/ani-cli-.ebuild
new file mode 100644
index 0..da5959a8d
--- /dev/null
+++ b/app-misc/ani-cli/ani-cli-.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A cli to browse and watch anime."
+HOMEPAGE="https://github.com/pystardust/ani-cli;
+if [[ "${PV}" == ** ]]; then
+   EGIT_REPO_URI="https://github.com/pystardust/ani-cli.git;
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/pystardust/ani-cli/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   media-video/mpv
+   app-shells/fzf
+   media-video/ffmpeg
+   net-misc/aria2"
+
+RDEPEND="${DEPEND}"
+
+src_install() {
+   dobin ani-cli
+   doman ani-cli.1
+}

diff --git a/app-misc/ani-cli/metadata.xml b/app-misc/ani-cli/metadata.xml
index 43410e8d2..e3891e0e6 100644
--- a/app-misc/ani-cli/metadata.xml
+++ b/app-misc/ani-cli/metadata.xml
@@ -5,6 +5,10 @@
j327a...@anonaddy.me
Primary maintainer
 
+
+   med.anis.jbara.2...@gmail.com
+   Primary maintainer
+
 
pystardust/ani-cli
 



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-01-28 Thread Nickolas Raymond Kaczynski
commit: 023867cdbde34eb3c61780f109456305473d21be
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sat Jan 28 16:26:52 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Jan 28 16:32:04 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=023867cd

media-gfx/nsxiv: add v31, drop v29

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 media-gfx/nsxiv/Manifest |  2 +-
 media-gfx/nsxiv/{nsxiv-29.ebuild => nsxiv-31.ebuild} | 17 ++---
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
index 28b502a3d..cec12c781 100644
--- a/media-gfx/nsxiv/Manifest
+++ b/media-gfx/nsxiv/Manifest
@@ -1,2 +1,2 @@
-DIST nsxiv-29.tar.gz 64012 BLAKE2B 
1b964736619a56cc8fb4092979f12749389fa347e3fda7a40fcfdc1b07a72e101c61d99fb12b10f4ea7ab6459c8068d5c64d754e3e988ec6bfd4504813bcc485
 SHA512 
d891fc0885f280a622401e105dc1ed9ba39e40f3e760e3e0cd34ae79fdb32187b1d3dc15590bbefd68a18db2aa12795433907e6e744561cc891fc03e7a1f1e94
 DIST nsxiv-30.tar.gz 65642 BLAKE2B 
910d1afe2c32e729bf5f848255d5b5d31658b4027f1a44d0e9812e5aac992fe3bb5bc0662aa70aca4f49fba5f3d769c83d5afb098d3ab662883c0b0ccffdb6b0
 SHA512 
2c852790c5940a8995a5c8a152b6f74198de4640e3827164c8e99855dc06b921c4601ac712a16c801071c656da4a6cd839a6590894f6ab86af35e90b30a8f5af
+DIST nsxiv-31.tar.gz 73821 BLAKE2B 
f5a5f16d82fb78ce9ae5da341cb481f653dd28db7138529f20b76b4f0a73415e9c5ffa9a8c2dee23ec754d1d7f5451ae631e786a535799b6542ef55ed3548c5a
 SHA512 
f6814f337763f23b569f12ad6d2aa33380b1f5dec0890f0bedb54620a725330fa6518acd6ddabe79c420f0feab01c307bdc91e4ea6141ce1a4528ea0a96addd8

diff --git a/media-gfx/nsxiv/nsxiv-29.ebuild b/media-gfx/nsxiv/nsxiv-31.ebuild
similarity index 80%
rename from media-gfx/nsxiv/nsxiv-29.ebuild
rename to media-gfx/nsxiv/nsxiv-31.ebuild
index 6aa11c535..aef44e615 100644
--- a/media-gfx/nsxiv/nsxiv-29.ebuild
+++ b/media-gfx/nsxiv/nsxiv-31.ebuild
@@ -18,15 +18,13 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+statusbar exif +inotify +gif webp"
+IUSE="+statusbar +inotify exif"
 
 RDEPEND="
x11-libs/libX11
-   media-libs/imlib2[X]
+   >=media-libs/imlib2-1.8.0[X]
statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
-   gif? ( media-libs/giflib:0= )
-   webp? ( media-libs/libwebp )
 "
 DEPEND="${RDEPEND}"
 
@@ -45,17 +43,14 @@ src_prepare() {
 }
 
 src_configure() {
-   sed -i -e '/^install: / s|: all|:|' \
-   -e 's|^CFLAGS =|CFLAGS +=|' \
-   Makefile || die "sed failed"
+   sed -i -e '/^install: / s|: all|:|' Makefile || die "sed failed"
+   sed -i -e 's|^CFLAGS =|CFLAGS +=|' config.mk || die "sed failed"
 }
 
 src_compile() {
emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
-   HAVE_LIBGIF="$(usex gif 1 0)" \
-   HAVE_LIBWEBP="$(usex webp 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"
 }
 
@@ -66,7 +61,7 @@ src_install() {
EGPREFIX="/usr/share/doc/${P}/examples" \
install install-icon
dodoc README.md
-   domenu nsxiv.desktop
+   domenu etc/nsxiv.desktop
 
save_config config.h
 }
@@ -77,7 +72,7 @@ pkg_postinst() {
 
einfo "${PN} uses media-libs/imlib2 for loading images."
einfo "To enable/disable support for specific image formats,"
-   einfo "toggle the necessary USE flag for imlib2."
+   einfo "toggle the necessary USE flag for media-libs/imlib2."
 }
 
 pkg_postrm() {



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-01-09 Thread Nickolas Raymond Kaczynski
commit: 2ad9d995c5bab4163fa2037b9864dc5c73aeb891
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Tue Jan 10 04:53:21 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Tue Jan 10 04:53:21 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2ad9d995

media-gfx/nsxiv: build with animated image support uncondionally

gentoo repos already have sufficient version of imlib2 and the binary
size saved by compiling out animation support is just 1kb.

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 media-gfx/nsxiv/metadata.xml  | 1 -
 media-gfx/nsxiv/nsxiv-.ebuild | 7 +++
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
index 0f74c8e53..cde50557f 100644
--- a/media-gfx/nsxiv/metadata.xml
+++ b/media-gfx/nsxiv/metadata.xml
@@ -8,7 +8,6 @@
nsxiv/nsxiv


-   Add animated image support
Add animated gif support
Add statusbar support
Add animated webp support

diff --git a/media-gfx/nsxiv/nsxiv-.ebuild 
b/media-gfx/nsxiv/nsxiv-.ebuild
index 0c6c27ce0..aef44e615 100644
--- a/media-gfx/nsxiv/nsxiv-.ebuild
+++ b/media-gfx/nsxiv/nsxiv-.ebuild
@@ -18,14 +18,13 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+statusbar +animated +inotify exif"
+IUSE="+statusbar +inotify exif"
 
 RDEPEND="
x11-libs/libX11
-   media-libs/imlib2[X]
+   >=media-libs/imlib2-1.8.0[X]
statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
-   animated? ( >=media-libs/imlib2-1.8.0[X] )
 "
 DEPEND="${RDEPEND}"
 
@@ -73,7 +72,7 @@ pkg_postinst() {
 
einfo "${PN} uses media-libs/imlib2 for loading images."
einfo "To enable/disable support for specific image formats,"
-   einfo "toggle the necessary USE flag for imlib2."
+   einfo "toggle the necessary USE flag for media-libs/imlib2."
 }
 
 pkg_postrm() {



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2023-01-09 Thread Nickolas Raymond Kaczynski
commit: 94a9da220dd351ae2334c097261492fcdab3a0fc
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Mon Jan  9 10:11:35 2023 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Jan  9 10:17:03 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=94a9da22

media-gfx/nsxiv: add animated USE flag, drop gif & webp

the gif and webp build options are depreciated upstream.

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 media-gfx/nsxiv/metadata.xml  | 3 ++-
 media-gfx/nsxiv/nsxiv-.ebuild | 7 ++-
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
index 9b518bd51..0f74c8e53 100644
--- a/media-gfx/nsxiv/metadata.xml
+++ b/media-gfx/nsxiv/metadata.xml
@@ -8,8 +8,9 @@
nsxiv/nsxiv


-   Add statusbar support
+   Add animated image support
Add animated gif support
+   Add statusbar support
Add animated webp support

 

diff --git a/media-gfx/nsxiv/nsxiv-.ebuild 
b/media-gfx/nsxiv/nsxiv-.ebuild
index cea408441..0c6c27ce0 100644
--- a/media-gfx/nsxiv/nsxiv-.ebuild
+++ b/media-gfx/nsxiv/nsxiv-.ebuild
@@ -18,15 +18,14 @@ HOMEPAGE="https://codeberg.org/nsxiv/nsxiv;
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="+statusbar exif +inotify +gif webp"
+IUSE="+statusbar +animated +inotify exif"
 
 RDEPEND="
x11-libs/libX11
media-libs/imlib2[X]
statusbar? ( x11-libs/libXft )
exif? ( media-libs/libexif )
-   gif? ( media-libs/giflib:0= )
-   webp? ( media-libs/libwebp )
+   animated? ( >=media-libs/imlib2-1.8.0[X] )
 "
 DEPEND="${RDEPEND}"
 
@@ -53,8 +52,6 @@ src_compile() {
emake CC="$(tc-getCC)" OPT_DEP_DEFAULT=0 \
HAVE_INOTIFY="$(usex inotify 1 0)" \
HAVE_LIBFONTS="$(usex statusbar 1 0)" \
-   HAVE_LIBGIF="$(usex gif 1 0)" \
-   HAVE_LIBWEBP="$(usex webp 1 0)" \
HAVE_LIBEXIF="$(usex exif 1 0)"
 }
 



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/sxcs/

2022-11-10 Thread Nickolas Raymond Kaczynski
commit: bf880cd7dd8a95adf9c464eea875487242d3180e
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Thu Nov 10 08:12:09 2022 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Thu Nov 10 08:12:09 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf880cd7

x11-misc/sxcs: add v0.7.1, drop v0.7

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/sxcs/Manifest   | 2 +-
 x11-misc/sxcs/{sxcs-0.7.ebuild => sxcs-0.7.1.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-misc/sxcs/Manifest b/x11-misc/sxcs/Manifest
index 34d8acea1..e399fcb25 100644
--- a/x11-misc/sxcs/Manifest
+++ b/x11-misc/sxcs/Manifest
@@ -1 +1 @@
-DIST sxcs-0.7.tar.gz 22442 BLAKE2B 
ebc11e55cf0676fd86353c915678aa52265b13572bcad61302fbb42b3490d6651af5872b58e44158c06d933ea731808fd025bfcd02bde31be834808601ffe980
 SHA512 
58bf998ba3ab82ced546ee44f3d2159ceb6d4bd4c524eabe7f80c6e762c2c6dc3e4727da0c6a45fa204ed158dd57ae8f2973f66948b35beb399682e4c8bf4666
+DIST sxcs-0.7.1.tar.gz 22699 BLAKE2B 
d947a4ffb7d45daafd829c36e820f38a7c0759459e02f306bdcd653a8771bf53b03c5fe60710478e62256f057d7b7c698ef0c24528114a1ee240f11598d93520
 SHA512 
2865a23cad442c181fbad7cb5137c70483b78862a6e41dc4619969b5d45bcff60c3fa3b93df425e4223174b6c172f47976181a97129e6c02acea58faa304dcbe

diff --git a/x11-misc/sxcs/sxcs-0.7.ebuild b/x11-misc/sxcs/sxcs-0.7.1.ebuild
similarity index 89%
rename from x11-misc/sxcs/sxcs-0.7.ebuild
rename to x11-misc/sxcs/sxcs-0.7.1.ebuild
index 88ff0eaf9..4d235209c 100644
--- a/x11-misc/sxcs/sxcs-0.7.ebuild
+++ b/x11-misc/sxcs/sxcs-0.7.1.ebuild
@@ -23,10 +23,10 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 src_compile() {
-   # bug: https://bugs.gentoo.org/879833
emake \
CC=$(tc-getCC) \
-   CFLAGS="${CFLAGS} ${LDFLAGS}"
+   CFLAGS="${CFLAGS}" \
+   LDFLAGS="${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/sxcs/

2022-11-05 Thread Nickolas Raymond Kaczynski
commit: 2585d4886ceb7f08612068fd83f148ef230333f3
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sat Nov  5 14:35:06 2022 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Nov  5 14:40:10 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2585d488

x11-misc/sxcs: fix LDFLAGS issue

Closes: https://bugs.gentoo.org/879833
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/sxcs/sxcs-0.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/sxcs/sxcs-0.7.ebuild b/x11-misc/sxcs/sxcs-0.7.ebuild
index 4d235209c..88ff0eaf9 100644
--- a/x11-misc/sxcs/sxcs-0.7.ebuild
+++ b/x11-misc/sxcs/sxcs-0.7.ebuild
@@ -23,10 +23,10 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 src_compile() {
+   # bug: https://bugs.gentoo.org/879833
emake \
CC=$(tc-getCC) \
-   CFLAGS="${CFLAGS}" \
-   LDFLAGS="${LDFLAGS}"
+   CFLAGS="${CFLAGS} ${LDFLAGS}"
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/sxcs/

2022-11-02 Thread Nickolas Raymond Kaczynski
commit: 4e4d04ea45fc81021f604f0e12f87e8a6f22edc1
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Wed Nov  2 15:36:44 2022 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Wed Nov  2 15:37:44 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e4d04ea

x11-misc/sxcs: new package

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/sxcs/Manifest|  1 +
 x11-misc/sxcs/metadata.xml| 10 ++
 x11-misc/sxcs/sxcs-0.7.ebuild | 37 +
 3 files changed, 48 insertions(+)

diff --git a/x11-misc/sxcs/Manifest b/x11-misc/sxcs/Manifest
new file mode 100644
index 0..34d8acea1
--- /dev/null
+++ b/x11-misc/sxcs/Manifest
@@ -0,0 +1 @@
+DIST sxcs-0.7.tar.gz 22442 BLAKE2B 
ebc11e55cf0676fd86353c915678aa52265b13572bcad61302fbb42b3490d6651af5872b58e44158c06d933ea731808fd025bfcd02bde31be834808601ffe980
 SHA512 
58bf998ba3ab82ced546ee44f3d2159ceb6d4bd4c524eabe7f80c6e762c2c6dc3e4727da0c6a45fa204ed158dd57ae8f2973f66948b35beb399682e4c8bf4666

diff --git a/x11-misc/sxcs/metadata.xml b/x11-misc/sxcs/metadata.xml
new file mode 100644
index 0..129190c39
--- /dev/null
+++ b/x11-misc/sxcs/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   
+   
+

diff --git a/x11-misc/sxcs/sxcs-0.7.ebuild b/x11-misc/sxcs/sxcs-0.7.ebuild
new file mode 100644
index 0..4d235209c
--- /dev/null
+++ b/x11-misc/sxcs/sxcs-0.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Color picker and magnifier for X11."
+HOMEPAGE="https://codeberg.org/NRK/sxcs;
+
+SRC_URI="https://codeberg.org/NRK/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE=""
+
+RDEPEND="
+   x11-libs/libX11
+   x11-libs/libXcursor
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+   emake \
+   CC=$(tc-getCC) \
+   CFLAGS="${CFLAGS}" \
+   LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+   emake install \
+   DESTDIR="${D}" \
+   PREFIX="${EPREFIX}/usr"
+   dodoc README.md
+}



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2021-09-23 Thread Nickolas Raymond Kaczynski
commit: f3206dd137fa5caa52756078819bf5a194aab502
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Thu Sep 23 06:44:42 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Thu Sep 23 06:46:32 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f3206dd1

media-gfx/nsxiv: add inotify, deafult enable gif

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 media-gfx/nsxiv/nsxiv-27.1.ebuild | 20 +---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/media-gfx/nsxiv/nsxiv-27.1.ebuild 
b/media-gfx/nsxiv/nsxiv-27.1.ebuild
index d6b554f39..f53c57016 100644
--- a/media-gfx/nsxiv/nsxiv-27.1.ebuild
+++ b/media-gfx/nsxiv/nsxiv-27.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit desktop xdg-utils savedconfig toolchain-funcs
+inherit desktop xdg-utils savedconfig toolchain-funcs linux-info
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="https://github.com/nsxiv/nsxiv.git;
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/nsxiv/nsxiv;
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="exif gif +jpeg +png webp tiff"
+IUSE="exif +gif +jpeg +png webp tiff +inotify"
 
 RDEPEND="
exif? ( media-libs/libexif )
@@ -29,6 +29,17 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 
+pkg_setup() {
+   if use inotify; then
+   nsxiv_autoreload="inotify"
+   CONFIG_CHECK+=" ~INOTIFY_USER"
+   ERROR_INOTIFY_USER="${P} requires inotify in-kernel support."
+   linux-info_pkg_setup
+   else
+   nsxiv_autoreload="nop"
+   fi
+}
+
 src_prepare() {
default
 
@@ -44,7 +55,10 @@ src_configure() {
 }
 
 src_compile() {
-   emake CC="$(tc-getCC)" HAVE_LIBEXIF=$(usex exif 1 0) HAVE_LIBGIF=$(usex 
gif 1 0)
+   emake CC="$(tc-getCC)" \
+   HAVE_LIBEXIF=$(usex exif 1 0) \
+   HAVE_LIBGIF=$(usex gif 1 0) \
+   AUTORELOAD="${nsxiv_autoreload}"
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: media-gfx/nsxiv/

2021-09-16 Thread Nickolas Raymond Kaczynski
commit: d22db6606219ff0101fff0c0609d8de86eff95e0
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Fri Sep 17 00:17:09 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Sep 17 00:17:09 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d22db660

media-gfx/nsxiv: add new package

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 media-gfx/nsxiv/Manifest  |  1 +
 media-gfx/nsxiv/metadata.xml  | 10 ++
 media-gfx/nsxiv/nsxiv-27.1.ebuild | 67 +++
 3 files changed, 78 insertions(+)

diff --git a/media-gfx/nsxiv/Manifest b/media-gfx/nsxiv/Manifest
new file mode 100644
index 0..6cc70600c
--- /dev/null
+++ b/media-gfx/nsxiv/Manifest
@@ -0,0 +1 @@
+DIST nsxiv-27.1.tar.gz 54242 BLAKE2B 
baed35787874b02e0051e0b19b2cb9670a66ce01de1ca3446a8ca5f99fcebd785232a5b3715f0f3dd733314096e3a46a6ebcc8960417abfc1a6e5e09224f15d2
 SHA512 
08a250a43a92a08258e2a6e871d6d5f596206af344fe3896505c0e85bdf556d02f13b1dbc9b365ce7c597770425d0e3635878b3fceb37f324957674ccc1b1eb0

diff --git a/media-gfx/nsxiv/metadata.xml b/media-gfx/nsxiv/metadata.xml
new file mode 100644
index 0..fb509378e
--- /dev/null
+++ b/media-gfx/nsxiv/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   nsxiv/nsxiv
+   
+

diff --git a/media-gfx/nsxiv/nsxiv-27.1.ebuild 
b/media-gfx/nsxiv/nsxiv-27.1.ebuild
new file mode 100644
index 0..d6b554f39
--- /dev/null
+++ b/media-gfx/nsxiv/nsxiv-27.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop xdg-utils savedconfig toolchain-funcs
+
+if [[ ${PV} == "" ]] ; then
+   EGIT_REPO_URI="https://github.com/nsxiv/nsxiv.git;
+   inherit git-r3
+else
+   SRC_URI="https://github.com/nsxiv/nsxiv/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Neo (or New or Not) Simple (or Small or Suckless) X Image Viewer"
+HOMEPAGE="https://github.com/nsxiv/nsxiv;
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="exif gif +jpeg +png webp tiff"
+
+RDEPEND="
+   exif? ( media-libs/libexif )
+   gif? ( media-libs/giflib:0= )
+   media-libs/imlib2[X,gif?,jpeg?,png?,webp?,tiff?]
+   x11-libs/libX11
+   x11-libs/libXft
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+
+   restore_config config.h
+}
+
+src_configure() {
+   sed -i \
+   -e '/-include config.mk/d' \
+   -e '/\$(OBJS): / s|config.mk||' \
+   -e '/^install: / s|: all|:|' \
+   Makefile || die "sed failed"
+}
+
+src_compile() {
+   emake CC="$(tc-getCC)" HAVE_LIBEXIF=$(usex exif 1 0) HAVE_LIBGIF=$(usex 
gif 1 0)
+}
+
+src_install() {
+   emake DESTDIR="${ED}" PREFIX=/usr install
+   emake -C icon DESTDIR="${ED}" PREFIX=/usr install
+   dodoc README.md
+   domenu nsxiv.desktop
+
+   save_config config.h
+}
+
+pkg_postinst() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+}
+
+pkg_postrm() {
+   xdg_desktop_database_update
+   xdg_icon_cache_update
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-text/smu/

2021-09-08 Thread Nickolas Raymond Kaczynski
commit: f21d03ff3c0ce73b8be3da53cd309690fe9b2948
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Wed Sep  8 10:07:12 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Wed Sep  8 10:09:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f21d03ff

app-text/smu: fix calling CC directly

Closes: https://bugs.gentoo.org/812116
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 app-text/smu/smu-1.5.ebuild  | 7 +++
 app-text/smu/smu-.ebuild | 7 +++
 2 files changed, 14 insertions(+)

diff --git a/app-text/smu/smu-1.5.ebuild b/app-text/smu/smu-1.5.ebuild
index dee873a6c..d926d593e 100644
--- a/app-text/smu/smu-1.5.ebuild
+++ b/app-text/smu/smu-1.5.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit toolchain-funcs
+
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Gottox/${PN}.git;
@@ -17,9 +19,14 @@ HOMEPAGE="https://github.com/Gottox/smu;
 LICENSE="MIT"
 SLOT="0"
 
+pkg_setup() {
+   export CC="$(tc-getCC)"
+}
+
 src_prepare() {
default
sed -i \
+   -e '/^CC/d' \
-e '/^CFLAGS/ s|-g -O0 ||;s|-Werror ||;s|^CFLAGS =|CFLAGS +=|;' 
\
-e '/^LDFLAGS/ s|^LDFLAGS =|LDFLAGS +=|' \
config.mk || die "sed failed"

diff --git a/app-text/smu/smu-.ebuild b/app-text/smu/smu-.ebuild
index 72ebfc1d5..318067044 100644
--- a/app-text/smu/smu-.ebuild
+++ b/app-text/smu/smu-.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit toolchain-funcs
+
 if [[ ${PV} ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Gottox/smu.git;
@@ -17,9 +19,14 @@ HOMEPAGE="https://github.com/Gottox/smu;
 LICENSE="MIT"
 SLOT="0"
 
+pkg_setup() {
+   export CC="$(tc-getCC)"
+}
+
 src_prepare() {
default
sed -i \
+   -e '/^CC/d' \
-e '/^CFLAGS/ s|-g -O0 ||;s|-Werror ||;s|^CFLAGS =|CFLAGS +=|;' 
\
-e '/^LDFLAGS/ s|^LDFLAGS =|LDFLAGS +=|' \
config.mk || die "sed failed"



[gentoo-commits] repo/proj/guru:dev commit in: app-text/smu/

2021-09-06 Thread Nickolas Raymond Kaczynski
commit: 77b631651a08f839e07ae5db0491d14ccfb6be75
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Tue Sep  7 00:32:50 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Tue Sep  7 00:32:50 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=77b63165

app-text/smu: initial import

Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 app-text/smu/Manifest|  1 +
 app-text/smu/metadata.xml| 10 ++
 app-text/smu/smu-1.5.ebuild  | 31 +++
 app-text/smu/smu-.ebuild | 31 +++
 4 files changed, 73 insertions(+)

diff --git a/app-text/smu/Manifest b/app-text/smu/Manifest
new file mode 100644
index 0..45f7f7124
--- /dev/null
+++ b/app-text/smu/Manifest
@@ -0,0 +1 @@
+DIST smu-1.5.tar.gz 8552 BLAKE2B 
1539c32c1a3a63d47541d226de5b60946d0cb85460fa01e8f9562f82aa546f2815403027932e5d18d875f6c54db181354cb0a5036369f2b8519c0af6033f61b4
 SHA512 
243f6896e34acf3a21dc5b55e4aa0f99bf417917b20716d3e9997a33320e7151ecc9e889e26d87bd7be3da38b964ed496e149a7d0e4236124e000d030939a8d4

diff --git a/app-text/smu/metadata.xml b/app-text/smu/metadata.xml
new file mode 100644
index 0..7b84464c5
--- /dev/null
+++ b/app-text/smu/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   Gottox/smu
+   
+

diff --git a/app-text/smu/smu-1.5.ebuild b/app-text/smu/smu-1.5.ebuild
new file mode 100644
index 0..dee873a6c
--- /dev/null
+++ b/app-text/smu/smu-1.5.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/Gottox/${PN}.git;
+else
+   KEYWORDS="~amd64"
+   SRC_URI="https://github.com/Gottox/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+DESCRIPTION="Simple markup - markdown like syntax"
+HOMEPAGE="https://github.com/Gottox/smu;
+
+LICENSE="MIT"
+SLOT="0"
+
+src_prepare() {
+   default
+   sed -i \
+   -e '/^CFLAGS/ s|-g -O0 ||;s|-Werror ||;s|^CFLAGS =|CFLAGS +=|;' 
\
+   -e '/^LDFLAGS/ s|^LDFLAGS =|LDFLAGS +=|' \
+   config.mk || die "sed failed"
+}
+
+src_install() {
+   emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
+   dodoc "documentation"
+}

diff --git a/app-text/smu/smu-.ebuild b/app-text/smu/smu-.ebuild
new file mode 100644
index 0..72ebfc1d5
--- /dev/null
+++ b/app-text/smu/smu-.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+if [[ ${PV} ==  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/Gottox/smu.git;
+else
+   SRC_URI="https://github.com/Gottox/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Simple markup - markdown like syntax"
+HOMEPAGE="https://github.com/Gottox/smu;
+
+LICENSE="MIT"
+SLOT="0"
+
+src_prepare() {
+   default
+   sed -i \
+   -e '/^CFLAGS/ s|-g -O0 ||;s|-Werror ||;s|^CFLAGS =|CFLAGS +=|;' 
\
+   -e '/^LDFLAGS/ s|^LDFLAGS =|LDFLAGS +=|' \
+   config.mk || die "sed failed"
+}
+
+src_install() {
+   emake PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" install
+   dodoc "documentation"
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/dragon/

2021-08-22 Thread Nickolas Raymond Kaczynski
commit: e2f08cbf57f5dcea72ed91fd8e86cb21d667093f
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sun Aug 22 11:35:48 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sun Aug 22 11:35:48 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e2f08cbf

app-misc/dragon: die on failed sed

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 app-misc/dragon/dragon-1.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/dragon/dragon-1.1.1.ebuild 
b/app-misc/dragon/dragon-1.1.1.ebuild
index 85315f87d..a0538967e 100644
--- a/app-misc/dragon/dragon-1.1.1.ebuild
+++ b/app-misc/dragon/dragon-1.1.1.ebuild
@@ -17,7 +17,7 @@ RDEPEND="${DEPEND}"
 src_prepare() {
default
sed -e 's/\(`pkg-config --cflags .*`\) \(`pkg-config --libs .*`\)/\1 
$(CFLAGS) \2 $(LDFLAGS)/' \
-   -i Makefile
+   -i Makefile || die "sed failed"
 }
 
 src_install() {



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/dragon/

2021-08-22 Thread Nickolas Raymond Kaczynski
commit: a89a6ad581c8d9e3f4cc0f6a688a0ba23a7f04a6
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sun Aug 22 10:22:55 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sun Aug 22 10:22:55 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a89a6ad5

app-misc/dragon: add a snapshot version

upstream have added a couple useful features but no version bump.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 app-misc/dragon/Manifest  |  1 +
 app-misc/dragon/dragon-1.1.1_p20210820.ebuild | 30 +++
 2 files changed, 31 insertions(+)

diff --git a/app-misc/dragon/Manifest b/app-misc/dragon/Manifest
index 9426b99df..9bb7ba072 100644
--- a/app-misc/dragon/Manifest
+++ b/app-misc/dragon/Manifest
@@ -1 +1,2 @@
 DIST dragon-1.1.1.tar.gz 17178 BLAKE2B 
bfe8cbda4beaf62de670eb2a02ad96b0289abd8ed2929ed35ddab2887ef63c6555dca1aad8bd73e87212ac79c8bfebd52371c9acaef180b475dab5ba03e01635
 SHA512 
e94a91752ff1af25452c09fb85ca318b29cb2301178346d3ff84ffd6270f6cf03e6f90c0db2e39567f5f724fdf8e6551a16e051b78920236c8177d965c209700
+DIST dragon-1.1.1_p20210820.tar.gz 18197 BLAKE2B 
2bf5a5531be7114da2903120f82b3b0586582eeae7e1ed1b93d85bd1b4792587b1ec2b3b36e281f0809452c7fd10135927cbefe2b72e2a80fb1865cb2b548920
 SHA512 
9607f9344e573542ff45cadebffd2805432e3add4ad680c1320933ea63f00950af9789e7cb3a13289592d020ea5d20a02dad1e65cc777930fbc9f25a3f7bc2eb

diff --git a/app-misc/dragon/dragon-1.1.1_p20210820.ebuild 
b/app-misc/dragon/dragon-1.1.1_p20210820.ebuild
new file mode 100644
index 0..275379c28
--- /dev/null
+++ b/app-misc/dragon/dragon-1.1.1_p20210820.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+COMMIT="c0ddf8d4f0a57b984570ceacb1f3e587639d8bda"
+DESCRIPTION="Simple drag-and-drop source/sink for X and Wayland"
+HOMEPAGE="https://github.com/mwh/dragon;
+SRC_URI="https://github.com/mwh/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+KEYWORDS="~amd64"
+LICENSE="GPL-3"
+SLOT="0"
+
+DEPEND=">=x11-libs/gtk+-3"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+src_prepare() {
+   default
+   sed -e 's/\(`pkg-config --cflags .*`\) \(`pkg-config --libs .*`\)/\1 
$(CFLAGS) \2 $(LDFLAGS)/' \
+   -i Makefile || die "sed failed"
+}
+
+src_install() {
+   dobin dragon
+   dodoc README
+   doman dragon.1
+}



[gentoo-commits] repo/proj/guru:dev commit in: /

2021-08-17 Thread Nickolas Raymond Kaczynski
commit: d3b2d3e0c5823f12365060e24398b7987c62c0b6
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Wed Aug 18 00:36:00 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Wed Aug 18 00:36:00 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3b2d3e0

TODO.md: add greenclip

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 TODO.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/TODO.md b/TODO.md
index 825c54307..dde0bb62e 100644
--- a/TODO.md
+++ b/TODO.md
@@ -50,6 +50,9 @@ C++
 GO
 * [open-match](https://github.com/googleforgames/open-match)
 
+HASKELL
+* [greenclip](https://github.com/erebe/greenclip) (non-bin, source ebuild)
+
 JAVA
 * [osmosis](https://wiki.openstreetmap.org/wiki/Osmosis)
 * [Opensearch](https://github.com/opensearch-project/OpenSearch)



[gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed/

2021-08-07 Thread Nickolas Raymond Kaczynski
commit: 00b4537cdd29901cf6db7cf6df97f287dd0c3f7b
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sun Aug  8 01:31:09 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sun Aug  8 01:33:03 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=00b4537c

net-news/sfeed: bump version to 1.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 net-news/sfeed/Manifest  | 2 +-
 net-news/sfeed/{sfeed-0.9.25.ebuild => sfeed-1.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-news/sfeed/Manifest b/net-news/sfeed/Manifest
index 072baff5f..ca71b54c5 100644
--- a/net-news/sfeed/Manifest
+++ b/net-news/sfeed/Manifest
@@ -1 +1 @@
-DIST sfeed-0.9.25.tar.gz 39226 BLAKE2B 
b928867e1bfdc2645349e8419db7377578e98325510e26c1aae78c68e0653e8544868e555cc713f2fafada949406a1f9e08929e690d4a19a1f36e939426f7b8a
 SHA512 
fadb6db4077e4712f40385d99ee52c9e4a7f7cf654da6d5b6bff1b71419187e5d992ab8374272070f3c175834e253e16346b1795a4dc96a5a2ca6351698d9c34
+DIST sfeed-1.0.tar.gz 39349 BLAKE2B 
75b74ec4f3fbe400f030c10f31e5084e82313de9a4c766ee46106b55dae53b17ce02f490ca348aad73da527af34bc22ae0598bbe82fadb3b0b833065dedabd60
 SHA512 
8377b092c797483564e189e77f9cb37a675d5d88ad41625ab5afbafb39af13bf2787d27d1bc543f8089f2fffec4532b58687a8ed2b0f3d31a1aa030359de6a93

diff --git a/net-news/sfeed/sfeed-0.9.25.ebuild 
b/net-news/sfeed/sfeed-1.0.ebuild
similarity index 100%
rename from net-news/sfeed/sfeed-0.9.25.ebuild
rename to net-news/sfeed/sfeed-1.0.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/

2021-08-07 Thread Nickolas Raymond Kaczynski
commit: 2881ef0f6e7b8c6553a50c7fa835c214caada270
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sun Aug  8 01:32:13 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sun Aug  8 01:33:03 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2881ef0f

net-news/sfeed_curses: bump version to 1.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 net-news/sfeed_curses/Manifest  | 2 +-
 .../{sfeed_curses-0.9.13.ebuild => sfeed_curses-1.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-news/sfeed_curses/Manifest b/net-news/sfeed_curses/Manifest
index dd04e063e..d27270573 100644
--- a/net-news/sfeed_curses/Manifest
+++ b/net-news/sfeed_curses/Manifest
@@ -1 +1 @@
-DIST sfeed_curses-0.9.13.tar.gz 22611 BLAKE2B 
8afc6cac44a7beaf3fbe09e8f5c42c3ba2712a9e68c966da69a257d75e960e39e9f46201977e498630e4ff237dab334881c974c9850cc153a5161e20ee136e8f
 SHA512 
c52b6afe3b3037f7865493f7475c757f561db28279b80bc1ddb7aecd8144d166c84c4dd2c5e58d78e42909c6d8829f92648e55ba01dce65494671de98503326b
+DIST sfeed_curses-1.0.tar.gz 23381 BLAKE2B 
1e3d7b494dbec997c8d8e3809059283b55f7cead4bb8b68c734f302248dc2279ff756aa0a484e1687afc882546f235414d7542b2b6501c597bf46903ee339c6a
 SHA512 
575e09a71bab0cec18506426461f2f0fad7247de0520ea32e557ab87755424f015c9edb317c4799ff178746794bdf18509f375cff68caab3ca9e11bf4284b946

diff --git a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild 
b/net-news/sfeed_curses/sfeed_curses-1.0.ebuild
similarity index 100%
rename from net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
rename to net-news/sfeed_curses/sfeed_curses-1.0.ebuild



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xbanish/

2021-08-04 Thread Nickolas Raymond Kaczynski
commit: 5ddd25398395acef8b4d35fe470de3c053e6369b
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Wed Aug  4 04:08:53 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Wed Aug  4 04:08:53 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5ddd2539

x11-misc/xbanish: add x11-libs/libXt as DEPEND

Closes: https://bugs.gentoo.org/806258
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/xbanish/xbanish-1.7.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xbanish/xbanish-1.7.ebuild 
b/x11-misc/xbanish/xbanish-1.7.ebuild
index c4261782f..5aaeac21c 100644
--- a/x11-misc/xbanish/xbanish-1.7.ebuild
+++ b/x11-misc/xbanish/xbanish-1.7.ebuild
@@ -18,12 +18,15 @@ SLOT="0"
 IUSE=""
 
 # NOTE: x11-libs/libXext might become a dep next version (1.7+)
-DEPEND="
+RDEPEND="
x11-libs/libX11
x11-libs/libXfixes
x11-libs/libXi
 "
-RDEPEND="${DEPEND}"
+DEPEND="
+   ${RDEPEND}
+   x11-libs/libXt
+"
 
 src_configure() {
# Makefile doesn't respect user's LDFLAGS



[gentoo-commits] repo/proj/guru:dev commit in: /

2021-08-02 Thread Nickolas Raymond Kaczynski
commit: 2947a0bce59cb98ae1e697b9a2eb9a0ffeec59f8
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Mon Aug  2 17:15:53 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Mon Aug  2 17:15:53 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2947a0bc

TODO.md: add ueberzug

Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 TODO.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/TODO.md b/TODO.md
index 8a49c7b78..49e9ad1f1 100644
--- a/TODO.md
+++ b/TODO.md
@@ -95,6 +95,7 @@ PYTHON
 * [TauonMusicBox](https://github.com/Taiko2k/TauonMusicBox)
 * 
[temanejo](https://www.hlrs.de/solutions-services/service-portfolio/programming/hpc-development-tools/temanejo)
 * [mmtracking](https://github.com/open-mmlab/mmtracking)
+* [ueberzug](https://github.com/seebye/ueberzug)
 
 RUST
 * [enarx](https://enarx.dev/)



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xbanish/

2021-07-31 Thread Nickolas Raymond Kaczynski
commit: c4cd4a19f8c3ecd591c3e29e13ceb8287b53c384
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sat Jul 31 17:21:46 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Jul 31 17:23:24 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c4cd4a19

x11-misc/xbanish: dont use $HOMEPAGE on SRC_URI

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/xbanish/xbanish-1.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xbanish/xbanish-1.7.ebuild 
b/x11-misc/xbanish/xbanish-1.7.ebuild
index dee55cf7e..c4261782f 100644
--- a/x11-misc/xbanish/xbanish-1.7.ebuild
+++ b/x11-misc/xbanish/xbanish-1.7.ebuild
@@ -8,7 +8,7 @@ inherit toolchain-funcs
 DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse 
moves"
 HOMEPAGE="https://github.com/jcs/xbanish;
 
-SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/jcs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 KEYWORDS="~amd64"
 # NOTE: Upstream moved to ISC license on master.



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/greenclip-bin/

2021-07-31 Thread Nickolas Raymond Kaczynski
commit: b05215ac5fbec4cad9cde9283016f1d686546c2d
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Sat Jul 31 17:20:16 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Sat Jul 31 17:23:24 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b05215ac

x11-misc/greenclip-bin: add new package

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/greenclip-bin/Manifest |  2 ++
 x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild | 31 +
 x11-misc/greenclip-bin/metadata.xml | 10 
 3 files changed, 43 insertions(+)

diff --git a/x11-misc/greenclip-bin/Manifest b/x11-misc/greenclip-bin/Manifest
new file mode 100644
index 0..57cd6d744
--- /dev/null
+++ b/x11-misc/greenclip-bin/Manifest
@@ -0,0 +1,2 @@
+DIST greenclip-bin-4.2 4184360 BLAKE2B 
eef17446ae85c76fff1386097baff5665753e4dfeb01455b7e19935753eaa1e09a9a90e1fa0d4ceb91d0a5439ed079ffb8c3aa68ef587a74f5e338188f6c65cd
 SHA512 
9861b208bcb358a47f4c3afcde7b164e6cb3db9d599bab0fbb0f55254601551cb0a8ee486c496d9e30aa373ed596fdd159ac7eac57211b3a75a66b5629b06f06
+DIST greenclip-bin-4.2.README.md 5105 BLAKE2B 
6deff08b3dfc75ba257a5ebfa0ddfc80450fd13c273aefd92fd9ce58e43a01bd59e69ee45f1401596a216ce30d792ff13b043ab213cfd522846450547af1c9e5
 SHA512 
7a06bc581a9dbbc76d7b6c2039ca9f6781dfbf0d492fb42bfc90a2189be5643877132b78284593e8adfc70fea76bc65e329429248aa77d96c3017d612380841f

diff --git a/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild 
b/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild
new file mode 100644
index 0..061f97958
--- /dev/null
+++ b/x11-misc/greenclip-bin/greenclip-bin-4.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+HOMEPAGE="https://github.com/erebe/greenclip;
+DESCRIPTION="Simple clipboard manager to be integrated with rofi"
+
+MY_PN=${PN%-bin}
+SRC_URI="
+   https://github.com/erebe/${MY_PN}/releases/download/v${PV}/${MY_PN} -> 
${P}
+   https://raw.githubusercontent.com/erebe/${MY_PN}/v${PV}/README.md -> 
${P}.README.md
+"
+
+KEYWORDS="~amd64"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+QA_PREBUILT="/usr/bin/${MY_PN}"
+S="${WORKDIR}"
+
+src_install() {
+   newbin "${DISTDIR}/${P}" "${MY_PN}"
+   newdoc "${DISTDIR}/${P}.README.md" README.md
+}
+
+pkg_postinst() {
+   elog "Please read /usr/share/doc/${PF}/README.md.bz2"
+   elog "on how to use rofi/dmenu/fzf as a menu for the clipboard."
+}

diff --git a/x11-misc/greenclip-bin/metadata.xml 
b/x11-misc/greenclip-bin/metadata.xml
new file mode 100644
index 0..718134bf3
--- /dev/null
+++ b/x11-misc/greenclip-bin/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   erebe/greenclip
+   
+



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xbanish/

2021-07-30 Thread Nickolas Raymond Kaczynski
commit: 8e20554170134f739fe7df19ac34f022b543424e
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Fri Jul 30 16:10:30 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Jul 30 16:10:30 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8e205541

x11-misc/xbanish: rename SRC_URI download

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/xbanish/Manifest   | 2 +-
 x11-misc/xbanish/xbanish-1.7.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/x11-misc/xbanish/Manifest b/x11-misc/xbanish/Manifest
index 3d9b16c82..0aa1cc974 100644
--- a/x11-misc/xbanish/Manifest
+++ b/x11-misc/xbanish/Manifest
@@ -1 +1 @@
-DIST v1.7.tar.gz 6379 BLAKE2B 
b5c2da9890676be642d963147b38585089160bbeb8609e66e586ce69b886e39e4b02e60e1c4554fb27454ae3bc89c7169f5b1ece3e511e327ee0bfbef25035c3
 SHA512 
f790ea12bb6b7793f0a60a900724fc407ec4485672e37d464387ffacfa4bf2dc891862f3fed06948cda31024745816b3adb58074c4578edc6a9848f2bd08
+DIST xbanish-1.7.tar.gz 6379 BLAKE2B 
b5c2da9890676be642d963147b38585089160bbeb8609e66e586ce69b886e39e4b02e60e1c4554fb27454ae3bc89c7169f5b1ece3e511e327ee0bfbef25035c3
 SHA512 
f790ea12bb6b7793f0a60a900724fc407ec4485672e37d464387ffacfa4bf2dc891862f3fed06948cda31024745816b3adb58074c4578edc6a9848f2bd08

diff --git a/x11-misc/xbanish/xbanish-1.7.ebuild 
b/x11-misc/xbanish/xbanish-1.7.ebuild
index 414181e9d..dee55cf7e 100644
--- a/x11-misc/xbanish/xbanish-1.7.ebuild
+++ b/x11-misc/xbanish/xbanish-1.7.ebuild
@@ -8,7 +8,7 @@ inherit toolchain-funcs
 DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse 
moves"
 HOMEPAGE="https://github.com/jcs/xbanish;
 
-SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz"
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 KEYWORDS="~amd64"
 # NOTE: Upstream moved to ISC license on master.



[gentoo-commits] repo/proj/guru:dev commit in: x11-misc/xbanish/

2021-07-30 Thread Nickolas Raymond Kaczynski
commit: 2814d0e7a412801d30163917156e322b5700132b
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Fri Jul 30 15:52:02 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Jul 30 15:52:02 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2814d0e7

x11-misc/xbanish: add new package

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 x11-misc/xbanish/Manifest   |  1 +
 x11-misc/xbanish/metadata.xml   | 10 +
 x11-misc/xbanish/xbanish-1.7.ebuild | 42 +
 3 files changed, 53 insertions(+)

diff --git a/x11-misc/xbanish/Manifest b/x11-misc/xbanish/Manifest
new file mode 100644
index 0..3d9b16c82
--- /dev/null
+++ b/x11-misc/xbanish/Manifest
@@ -0,0 +1 @@
+DIST v1.7.tar.gz 6379 BLAKE2B 
b5c2da9890676be642d963147b38585089160bbeb8609e66e586ce69b886e39e4b02e60e1c4554fb27454ae3bc89c7169f5b1ece3e511e327ee0bfbef25035c3
 SHA512 
f790ea12bb6b7793f0a60a900724fc407ec4485672e37d464387ffacfa4bf2dc891862f3fed06948cda31024745816b3adb58074c4578edc6a9848f2bd08

diff --git a/x11-misc/xbanish/metadata.xml b/x11-misc/xbanish/metadata.xml
new file mode 100644
index 0..2018f28ad
--- /dev/null
+++ b/x11-misc/xbanish/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   jcs/xbanish
+   
+

diff --git a/x11-misc/xbanish/xbanish-1.7.ebuild 
b/x11-misc/xbanish/xbanish-1.7.ebuild
new file mode 100644
index 0..414181e9d
--- /dev/null
+++ b/x11-misc/xbanish/xbanish-1.7.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="Banish the mouse cursor when typing, show it again when the mouse 
moves"
+HOMEPAGE="https://github.com/jcs/xbanish;
+
+SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz"
+
+KEYWORDS="~amd64"
+# NOTE: Upstream moved to ISC license on master.
+# So this needs to be changed on the next version (1.7+).
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+# NOTE: x11-libs/libXext might become a dep next version (1.7+)
+DEPEND="
+   x11-libs/libX11
+   x11-libs/libXfixes
+   x11-libs/libXi
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+   # Makefile doesn't respect user's LDFLAGS
+   sed -i \
+   -e 's|\$(LIBS) |\$(LIBS) $(LDFLAGS) |g' \
+   Makefile || die "sed failed"
+}
+
+src_compile() {
+   emake CC=$(tc-getCC)
+}
+
+src_install() {
+   dobin xbanish
+   doman xbanish.1
+}



[gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed/

2021-07-30 Thread Nickolas Raymond Kaczynski
commit: a2f14538446e67ee587062d70edcb822b42e2364
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Fri Jul 30 09:37:15 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Jul 30 09:37:15 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a2f14538

net-news/sfeed: bump version v0.9.25

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 net-news/sfeed/Manifest | 2 +-
 net-news/sfeed/{sfeed-0.9.23.ebuild => sfeed-0.9.25.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-news/sfeed/Manifest b/net-news/sfeed/Manifest
index ec359bbd0..072baff5f 100644
--- a/net-news/sfeed/Manifest
+++ b/net-news/sfeed/Manifest
@@ -1 +1 @@
-DIST sfeed-0.9.23.tar.gz 38377 BLAKE2B 
fe44328390fe6aa48016bfe2d49bdb43b0c3a6f6a602903125324909a4274dc363d54e5ae31e92ae7cb0611763db83b533cc28b8dffca7f7b1e7415f77f0c0d8
 SHA512 
8c9c0d2d77cbb7340eeea75cf77432b7a0a4c0250ebbb6914d8856ebc319f3a512865e188b769cdb65569e2320f245873ba364f3b593d1e3808795044aa3623d
+DIST sfeed-0.9.25.tar.gz 39226 BLAKE2B 
b928867e1bfdc2645349e8419db7377578e98325510e26c1aae78c68e0653e8544868e555cc713f2fafada949406a1f9e08929e690d4a19a1f36e939426f7b8a
 SHA512 
fadb6db4077e4712f40385d99ee52c9e4a7f7cf654da6d5b6bff1b71419187e5d992ab8374272070f3c175834e253e16346b1795a4dc96a5a2ca6351698d9c34

diff --git a/net-news/sfeed/sfeed-0.9.23.ebuild 
b/net-news/sfeed/sfeed-0.9.25.ebuild
similarity index 94%
rename from net-news/sfeed/sfeed-0.9.23.ebuild
rename to net-news/sfeed/sfeed-0.9.25.ebuild
index 95c50fc04..971e9af0c 100644
--- a/net-news/sfeed/sfeed-0.9.23.ebuild
+++ b/net-news/sfeed/sfeed-0.9.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/proj/guru:dev commit in: net-news/sfeed_curses/

2021-07-30 Thread Nickolas Raymond Kaczynski
commit: 7a476d8523b4f7ba67648109d133c9cccbe256e6
Author: Nickolas Raymond Kaczynski  disroot  org>
AuthorDate: Fri Jul 30 06:38:08 2021 +
Commit:     Nickolas Raymond Kaczynski  disroot  org>
CommitDate: Fri Jul 30 06:38:08 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a476d85

net-news/sfeed_curses: add new package

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Nickolas Raymond Kaczynski  disroot.org>

 net-news/sfeed_curses/Manifest   |  1 +
 net-news/sfeed_curses/metadata.xml   | 16 +++
 net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild | 60 
 3 files changed, 77 insertions(+)

diff --git a/net-news/sfeed_curses/Manifest b/net-news/sfeed_curses/Manifest
new file mode 100644
index 0..dd04e063e
--- /dev/null
+++ b/net-news/sfeed_curses/Manifest
@@ -0,0 +1 @@
+DIST sfeed_curses-0.9.13.tar.gz 22611 BLAKE2B 
8afc6cac44a7beaf3fbe09e8f5c42c3ba2712a9e68c966da69a257d75e960e39e9f46201977e498630e4ff237dab334881c974c9850cc153a5161e20ee136e8f
 SHA512 
c52b6afe3b3037f7865493f7475c757f561db28279b80bc1ddb7aecd8144d166c84c4dd2c5e58d78e42909c6d8829f92648e55ba01dce65494671de98503326b

diff --git a/net-news/sfeed_curses/metadata.xml 
b/net-news/sfeed_curses/metadata.xml
new file mode 100644
index 0..52ddf5fc1
--- /dev/null
+++ b/net-news/sfeed_curses/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   n...@disroot.org
+   
+   
+   mailto:hil...@codemadness.org
+   
+   
+   Use mono theme
+   Use mono_highlight 
theme
+   Use newsboat theme
+   Use templeos theme
+   
+

diff --git a/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild 
b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
new file mode 100644
index 0..894a1af8a
--- /dev/null
+++ b/net-news/sfeed_curses/sfeed_curses-0.9.13.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit savedconfig toolchain-funcs
+
+DESCRIPTION="A curses UI front-end for sfeed"
+HOMEPAGE="https://codemadness.org/sfeed_ui.html;
+
+SRC_URI="https://codemadness.org/releases/sfeed_curses/sfeed_curses-${PV}.tar.gz;
+
+KEYWORDS="~amd64"
+LICENSE="ISC"
+SLOT="0"
+
+IUSE="
+   +theme-mono
+   theme-mono_highlight
+   theme-newsboat
+   theme-templeos
+"
+REQUIRED_USE="^^ ( theme-mono theme-mono_highlight theme-newsboat 
theme-templeos )"
+
+DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+   # Gentoo requires -ltinfo
+   sed -i \
+   -e "/^#SFEED_LDFLAGS.*-ltinfo/{s|#||g}" \
+   Makefile || die "sed failed"
+
+   if use theme-mono ; then
+   SFEED_THEME="mono"
+   elif use theme-mono_highlight ; then
+   SFEED_THEME="mono_highlight"
+   elif use theme-newsboat ; then
+   SFEED_THEME="newsboat"
+   elif use theme-templeos ; then
+   SFEED_THEME="templeos"
+   fi
+
+   restore_config themes/mono.h themes/mono_highlight.h themes/newsboat.h 
themes/templeos.h
+}
+
+src_compile() {
+   emake CC=$(tc-getCC) SFEED_THEME=${SFEED_THEME}
+}
+
+src_install() {
+   emake \
+   DESTDIR="${D}" \
+   PREFIX="/usr" \
+   MANPREFIX="/usr/share/man" \
+   DOCPREFIX="/usr/share/doc/${PF}" \
+   install
+
+   save_config themes/mono.h themes/mono_highlight.h themes/newsboat.h 
themes/templeos.h
+}