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

2022-04-07 Thread Alexander Holcomb
commit: 2cf5af8e8c422c7f553460fdaf777d88e79da9f9
Author: Alexander Holcomb  alexsdigital  rodeo>
AuthorDate: Fri Apr  8 03:21:19 2022 +
Commit:     Alexander Holcomb  alexsdigital  rodeo>
CommitDate: Fri Apr  8 03:21:19 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2cf5af8e

app-editors/mined: Fix direct call to cc

This commit should fix bug 831698, the build script calling
cc directly. It uses the tc-export command from
toolchain-funcs to set and use $CC.

Signed-off-by: Alexander Holcomb  alexsdigital.rodeo>

 app-editors/mined/mined-2015.25.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-editors/mined/mined-2015.25.ebuild 
b/app-editors/mined/mined-2015.25.ebuild
index 6844b33e5..56af7db0f 100644
--- a/app-editors/mined/mined-2015.25.ebuild
+++ b/app-editors/mined/mined-2015.25.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
-
 EAPI=7
+inherit toolchain-funcs
 
 DESCRIPTION="A powerful text editor with extensive Unicode and CJK support"
 HOMEPAGE="http://towo.net/mined/;
@@ -16,6 +16,7 @@ DEPEND="${RDEPEND}"
 BDEPEND=""
 S=${S}/src
 src_configure() {
+   tc-export CC
sed -in 's/OBJDIR=..\/bin\/sh/OBJDIR=bin\/sh/' mkmined
sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO} 
\${LDFLAGS}\"/' mkmined
sed -in 's/name.o/name.o \$LDFLAGS/' mkmined



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

2022-02-19 Thread Alexander Holcomb
commit: 503799036a7c56cacc33ad87c876141304362499
Author: Alexander Holcomb  alexsdigital  rodeo>
AuthorDate: Sun Feb 20 04:19:44 2022 +
Commit:     Alexander Holcomb  alexsdigital  rodeo>
CommitDate: Sun Feb 20 04:25:52 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50379903

app-editors/mined: Make package respect LDFLAGS

This will edit the build command used for compilation to
explicitly enable LDFLAGS.
This commit should resolve bug 832740.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alex Holcomb  alexsdigital.rodeo>

 app-editors/mined/mined-2015.25.ebuild | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-editors/mined/mined-2015.25.ebuild 
b/app-editors/mined/mined-2015.25.ebuild
index 006d7fe6d..6844b33e5 100644
--- a/app-editors/mined/mined-2015.25.ebuild
+++ b/app-editors/mined/mined-2015.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,10 @@ BDEPEND=""
 S=${S}/src
 src_configure() {
sed -in 's/OBJDIR=..\/bin\/sh/OBJDIR=bin\/sh/' mkmined
-   sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO}\"/' 
mkmined
+   sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO} 
\${LDFLAGS}\"/' mkmined
+   sed -in 's/name.o/name.o \$LDFLAGS/' mkmined
+   sed -in 's/link=false/link=true/' mkmined
+   sed -in 142's/$/ \$LDFLAGS/' mkmined
 }
 
 src_compile() {



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

2022-02-03 Thread Alexander Holcomb
commit: ab5323899177ed87341c97b4a75f76a2781e5d10
Author: Alexander Holcomb  alexsdigital  rodeo>
AuthorDate: Thu Feb  3 15:03:20 2022 +
Commit:     Alexander Holcomb  alexsdigital  rodeo>
CommitDate: Thu Feb  3 15:03:20 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab532389

app-editors/mined: Make Ebuild Respect CFLAGS

This changes the build process to use the src/mkmined script,
rather than the makemined script called by the makefile. This
should solve bug 831704 (https://bugs.gentoo.org/831704), by
making the script use CFLAGS, rather than having them explicity
set.
Also, I changed the copyright notice to "2022," rather than
"1998-2022," because repoman mentioned it as a minor issue.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alex Holcomb  alexsdigital.rodeo>

 app-editors/mined/mined-2015.25.ebuild | 19 ---
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/app-editors/mined/mined-2015.25.ebuild 
b/app-editors/mined/mined-2015.25.ebuild
index 79ac97d1c..006d7fe6d 100644
--- a/app-editors/mined/mined-2015.25.ebuild
+++ b/app-editors/mined/mined-2015.25.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -14,13 +14,18 @@ IUSE=""
 RDEPEND=""
 DEPEND="${RDEPEND}"
 BDEPEND=""
-#src_configure() {
-#  econf
-#}
+S=${S}/src
+src_configure() {
+   sed -in 's/OBJDIR=..\/bin\/sh/OBJDIR=bin\/sh/' mkmined
+   sed -in 's/\"\${COPT--DTERMIO \$W}\"/\"${CFLAGS} \${COPT--DTERMIO}\"/' 
mkmined
+}
+
 src_compile() {
-   emake -j1
+   mkdir bin/
+   ./mkmined
 }
+
 src_install() {
-   dobin bin/Linux.x86_64/mined
-   doman man/mined.1
+   dobin bin/sh/mined
+   doman ../man/mined.1
 }



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

2022-01-15 Thread Alexander Holcomb
commit: 843a3c0bcae661da652bc42c91c391de45885787
Author: Alexander Holcomb  alexsdigital  rodeo>
AuthorDate: Sat Jan 15 21:58:48 2022 +
Commit:     Alexander Holcomb  alexsdigital  rodeo>
CommitDate: Sat Jan 15 21:58:48 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=843a3c0b

app-editors/mined: Add new package

This adds a package for the MinEd text editor.
The test suite is RESTRICT-ed because it will throw a QA message if
used, due to an upstream make jobserver issue. If removed, it will
still complete, but a QA error will show.
The make process uses the -j1 option for the same reason.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Alex Holcomb  alexsdigital.rodeo>

 app-editors/mined/Manifest |  1 +
 app-editors/mined/metadata.xml | 14 ++
 app-editors/mined/mined-2015.25.ebuild | 26 ++
 3 files changed, 41 insertions(+)

diff --git a/app-editors/mined/Manifest b/app-editors/mined/Manifest
new file mode 100644
index 0..c3938b90a
--- /dev/null
+++ b/app-editors/mined/Manifest
@@ -0,0 +1 @@
+DIST mined-2015.25.tar.gz 6919430 BLAKE2B 
5176cbafff1c427ea773546b43951e4d58a8b007448b42ee2fe478ed0b66230f48d6bc12d7a88fdec5d0c12c599d02527f4989d3ccf77e80ddcb81d5b285e9d0
 SHA512 
24c9313c26ffb00daab7754e42666bb9cf095c3246255b2b44cdb8eb8e325306ef40db03a828a8dad85d3bf406b874d17920365cfbf8c507f909eb97cfe480ea

diff --git a/app-editors/mined/metadata.xml b/app-editors/mined/metadata.xml
new file mode 100644
index 0..cbc0bcde2
--- /dev/null
+++ b/app-editors/mined/metadata.xml
@@ -0,0 +1,14 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   alex@alexsdigital.rodeo
+   Alex Holcomb
+   
+   
+   http://towo.net/mined/
+   
+   
+   Mined is a flexible terminal-based text editor, designed to be easy to 
use while still being lightweight.
+   
+

diff --git a/app-editors/mined/mined-2015.25.ebuild 
b/app-editors/mined/mined-2015.25.ebuild
new file mode 100644
index 0..79ac97d1c
--- /dev/null
+++ b/app-editors/mined/mined-2015.25.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="A powerful text editor with extensive Unicode and CJK support"
+HOMEPAGE="http://towo.net/mined/;
+SRC_URI="https://downloads.sourceforge.net/project/mined/mined/mined%202015.25/mined-2015.25.tar.gz?ts=gABhfF-EKWvxGfwH7tpfR0NI8LV87Muimvh4jUigxZZZAD1fN8xgcbBPJc1TQ3f8djMFDbHXXz6rQZI4_qwwEsqakvBpqg%3D%3D=https%3A%2F%2Fsourceforge.net%2Fprojects%2Fmined%2Ffiles%2Fmined%2Fmined%25202015.25%2Fmined-2015.25.tar.gz%2Fdownload
 -> mined-2015.25.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+IUSE=""
+RDEPEND=""
+DEPEND="${RDEPEND}"
+BDEPEND=""
+#src_configure() {
+#  econf
+#}
+src_compile() {
+   emake -j1
+}
+src_install() {
+   dobin bin/Linux.x86_64/mined
+   doman man/mined.1
+}



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

2021-09-17 Thread Alexander Holcomb
commit: 8e073615f6fe69a0843ec5a0c7bfff5574d88113
Author: Alexander Edward Holcomb  alexsdigital  rodeo>
AuthorDate: Fri Sep 17 22:45:55 2021 +
Commit:     Alexander Holcomb  alexsdigital  rodeo>
CommitDate: Fri Sep 17 22:45:55 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8e073615

www-servers/quark: add package

Adds package files for the quark webserver.
The project doesn't seem to do "releases," so for now, only
a v.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alex Holcomb  alexsdigital.rodeo>

 www-servers/quark/metadata.xml  | 15 +++
 www-servers/quark/quark-.ebuild | 25 +
 2 files changed, 40 insertions(+)

diff --git a/www-servers/quark/metadata.xml b/www-servers/quark/metadata.xml
new file mode 100644
index 0..68cd9b140
--- /dev/null
+++ b/www-servers/quark/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   alex@alexsdigital.rodeo
+   Alex Holcomb
+   
+   
+   https://tools.suckless.org/quark/
+   
+   
+   quark is a lightweight webserver, writen to serve static files quickly. 
quark supports only HTTP GET/HEAD requests. quark does not natively support TLS.
+   
+
+

diff --git a/www-servers/quark/quark-.ebuild 
b/www-servers/quark/quark-.ebuild
new file mode 100644
index 0..c6b21dfdb
--- /dev/null
+++ b/www-servers/quark/quark-.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit git-r3
+DESCRIPTION="A small, GET-only static HTTP server"
+HOMEPAGE="https://tools.suckless.org/quark/;
+EGIT_REPO_URI="https://git.suckless.org/quark/;
+S="${WORKDIR}/${P}"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}"
+BDEPEND=""
+src_configure() {
+   sed -in 's/local//' config.mk
+   sed -in 's/d -s/d/' config.mk
+   sed -in 's/CF/#CF/' config.mk
+   sed -in 's/CPP/#CPP/' config.mk
+}



[gentoo-commits] repo/proj/guru:dev commit in: app-misc/jdupes/, app-misc/jdupes/files/

2021-08-16 Thread Alexander Holcomb
commit: 12da65c4d484b5bc7e2af74a2fe2f918261e714c
Author: Alexander Edward Holcomb  alexsdigital  rodeo>
AuthorDate: Mon Aug 16 16:49:47 2021 +
Commit:     Alexander Holcomb  alexsdigital  rodeo>
CommitDate: Mon Aug 16 16:59:56 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=12da65c4

app-misc/jdupes: Fix Failing Tests

Added a patch to create a simple test script and enabled the patch in
the ebuild. Tests now work.
This fixes Bug 80796 (app-misc/jdupes-1.20.0 fails tests).

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alexander Edward Holcomb  alexsdigital.rodeo>

 app-misc/jdupes/Manifest  |  2 +-
 app-misc/jdupes/files/jdupes-1.20.0-test.sh.patch | 10 +++
 app-misc/jdupes/jdupes-1.20.0.ebuild  | 34 ++-
 app-misc/jdupes/metadata.xml  |  5 
 4 files changed, 26 insertions(+), 25 deletions(-)

diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
index d6600033b..121841923 100644
--- a/app-misc/jdupes/Manifest
+++ b/app-misc/jdupes/Manifest
@@ -1 +1 @@
-DIST jdupes-1.20.0.tar.gz 93809 BLAKE2B 
cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015
 SHA512 
62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff
+DIST v1.20.0.tar.gz 93809 BLAKE2B 
cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015
 SHA512 
62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff

diff --git a/app-misc/jdupes/files/jdupes-1.20.0-test.sh.patch 
b/app-misc/jdupes/files/jdupes-1.20.0-test.sh.patch
new file mode 100644
index 0..fec588f18
--- /dev/null
+++ b/app-misc/jdupes/files/jdupes-1.20.0-test.sh.patch
@@ -0,0 +1,10 @@
+--- ${WORKDIR}/test.sh 2021-08-14 12:44:02.609722687 -0500
 ${WORKDIR}/test.sh 2021-08-14 12:46:18.505023762 -0500
+@@ -0,0 +1,7 @@
++#!/bin/bash
++if [[ $(./jdupes -rmq testdir) = "71 duplicate files (in 22 sets), occupying 
79 KB" ]]; then
++  echo "Test successful."
++else
++  echo "Test failed."
++  exit 1
++fi

diff --git a/app-misc/jdupes/jdupes-1.20.0.ebuild 
b/app-misc/jdupes/jdupes-1.20.0.ebuild
index 02b728d3d..6f4cdf110 100644
--- a/app-misc/jdupes/jdupes-1.20.0.ebuild
+++ b/app-misc/jdupes/jdupes-1.20.0.ebuild
@@ -3,32 +3,28 @@
 
 EAPI=7
 
-inherit toolchain-funcs
-
 DESCRIPTION="Identify and manipulate duplicate files"
-HOMEPAGE="https://www.jodybruchon.com/software/#jdupes
-https://github.com/jbruchon/jdupes;
-SRC_URI="https://github.com/jbruchon/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.tar.gz"
-
+HOMEPAGE="https://www.jodybruchon.com/software/#jdupes;
+SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v${PV}.tar.gz;
+PATCHES=(
+   "${FILESDIR}/${P}-test.sh.patch")
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="low-memory"
+IUSE=""
 
-# ./test.sh: No such file or directory
-RESTRICT="test"
-
-DOCS=( CHANGES README.md README.stupid_dupes )
+RDEPEND=""
 
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+src_prepare(){
+   eapply "${FILESDIR}/${P}-test.sh.patch"
+   chmod +x test.sh
+   eapply_user
+}
 src_configure() {
-   tc-export CC
+   sed -in 's/local//' Makefile
 }
-
 src_compile() {
-   emake ENABLE_DEDUPE=1 HARDEN=1 LOW_MEMORY=$(usex low-memory 1 0)
-}
-
-src_install() {
-   emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
-   einstalldocs
+   emake
 }

diff --git a/app-misc/jdupes/metadata.xml b/app-misc/jdupes/metadata.xml
index acdd717d8..75d1d5ee3 100644
--- a/app-misc/jdupes/metadata.xml
+++ b/app-misc/jdupes/metadata.xml
@@ -14,10 +14,5 @@
files. It was forked from fdupes, and intends to accomplish the
same result while adding features and being noticeably faster.

-   
-   
-   Build for low memory usage at the expense of speed and 
features
-   
-   
 
 



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

2021-08-11 Thread Alexander Holcomb
commit: 53badd07b1a884e4f341cfac7174cf61d7f9c2a4
Author: Alexander Edward Holcomb  alexsdigital  rodeo>
AuthorDate: Wed Aug 11 20:55:12 2021 +
Commit:     Alexander Holcomb  alexsdigital  rodeo>
CommitDate: Wed Aug 11 21:01:27 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53badd07

app-misc/jdupes: Add ebuild for jdupes duplicate finder

Adds ebuild, metadata.xml, and Manifest files.
Added to app-misc because fdupes is located there in the gentoo repo.

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alex Holcomb  alexsdigital.rodeo>

 app-misc/jdupes/Manifest |  1 +
 app-misc/jdupes/jdupes-1.20.0.ebuild | 28 
 app-misc/jdupes/metadata.xml | 15 +++
 3 files changed, 44 insertions(+)

diff --git a/app-misc/jdupes/Manifest b/app-misc/jdupes/Manifest
new file mode 100644
index 0..121841923
--- /dev/null
+++ b/app-misc/jdupes/Manifest
@@ -0,0 +1 @@
+DIST v1.20.0.tar.gz 93809 BLAKE2B 
cce6ca06794ee3af9523e3c86550ff2b49a5f42a13278bd61c99099b4c2cab1a392bc973c44593acb23b7e8f99d4f23518f526244182a0d9d3b4084e80cc1015
 SHA512 
62bb78a902e77f0c9acce93c7c139fc2aaa5911aa85322a372dd0e6b375ee5c4992e91b821fa3f9eb407820657f57591303c9bc14a9fe453d9a4c5651caf05ff

diff --git a/app-misc/jdupes/jdupes-1.20.0.ebuild 
b/app-misc/jdupes/jdupes-1.20.0.ebuild
new file mode 100644
index 0..aa250ca62
--- /dev/null
+++ b/app-misc/jdupes/jdupes-1.20.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+#inherit toolchain-funcs
+
+DESCRIPTION="Identify and manipulate duplicate files"
+HOMEPAGE="https://www.jodybruchon.com/software/#jdupes;
+SRC_URI="https://github.com/jbruchon/jdupes/archive/refs/tags/v1.20.0.tar.gz;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+#DOCS=( CHANGES CONTRIBUTORS README )
+src_configure() {
+#  econf
+   sed -in 's/local//' Makefile
+}
+src_compile() {
+   emake
+}

diff --git a/app-misc/jdupes/metadata.xml b/app-misc/jdupes/metadata.xml
new file mode 100644
index 0..311b7d127
--- /dev/null
+++ b/app-misc/jdupes/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   alex@alexsdigital.rodeo
+   Alex Holcomb
+   
+   
+   https://github.com/jbruchon/jdupes/issues
+   
+   
+   jdupes is a program for finding and dealing with duplicate files. It 
was forked from fdupes, and intends to accomplish the same result while adding 
features and being noticeably faster.
+   
+
+