[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/, app-misc/dfshow/files/

2024-06-17 Thread Conrad Kostecki
commit: 7392e452876276ca2efeb4cf20530e55dfcfd751
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu May 30 18:46:18 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Jun 17 22:34:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7392e452

app-misc/dfshow: add 0.10.3

Signed-off-by: Michael Mair-Keimberger  levelnine.at>

Closes: https://bugs.gentoo.org/827851
Closes: https://bugs.gentoo.org/926235
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/dfshow/Manifest   |  1 +
 app-misc/dfshow/dfshow-0.10.3_beta.ebuild  | 60 
 ...e-PKG_CHECK_MODULES-for-ncurses-libconfig.patch | 82 ++
 3 files changed, 143 insertions(+)

diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest
index 84f13b6ee364..55168b1422a3 100644
--- a/app-misc/dfshow/Manifest
+++ b/app-misc/dfshow/Manifest
@@ -1 +1,2 @@
+DIST dfshow-0.10.3_beta.tar.gz 317703 BLAKE2B 
88694fbb85b2126aa82fd25b8a4d600d6ee952346abd616537dc14eaf1160917d1d85dcacb41028f2d9265da39570e180277c1704dcf968b172bbcc210cfb665
 SHA512 
08d5e03a77dcc97d517caa2fbef117a362129dfbf5913d52402aabd5c306f0cdb3c8ca006d85046df2661d13047c0ccef7ad079429fcf8dc4a65c9a205eb6907
 DIST dfshow-0.9.1_beta.tar.gz 109882 BLAKE2B 
a8351a4ae1e3d8f0a4166f7642bb32a1ec60723f73d7da9bdc8b496162c4174421e0e369499ace22cfeec64a32b3dbcd9411bdc10c19cc6427d04bc1df298c44
 SHA512 
c13347075f51c213e804855a1cc432076d8fcd5f278e4945b457fdddc3945e9d743f3dc4f26e4194f6a5b612a4e118081dd3afbb1a4523ae3c962a4fae68494e

diff --git a/app-misc/dfshow/dfshow-0.10.3_beta.ebuild 
b/app-misc/dfshow/dfshow-0.10.3_beta.ebuild
new file mode 100644
index ..30ee0b1bae6b
--- /dev/null
+++ b/app-misc/dfshow/dfshow-0.10.3_beta.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools bash-completion-r1 flag-o-matic
+
+MY_PV="${PV//_beta/-beta}"
+DESCRIPTION="Unix-like rewrite of some of the applications from DF-EDIT"
+HOMEPAGE="https://github.com/roberthawdon/dfshow";
+SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+   sys-apps/acl
+   dev-libs/libconfig:=
+   sys-libs/ncurses:0=
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
+)
+
+src_prepare() {
+   default
+
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   # Standard on macOS
+   # No real motivation to push libtool upstream just for this
+   append-ldflags -Wl,-undefined -Wl,dynamic_lookup
+   fi
+
+   eautoreconf
+}
+
+src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/854726
+   # https://github.com/roberthawdon/dfshow/issues/172
+   filter-lto
+
+   default
+}
+
+src_install() {
+   default
+
+   newbashcomp "${S}/misc/auto-completion/bash/sf-completion.bash" sf
+   newbashcomp "${S}/misc/auto-completion/bash/show-completion.bash" show
+
+   insinto /usr/share/zsh/site-functions
+   doins "${S}/misc/auto-completion/zsh/_sf"
+   doins "${S}/misc/auto-completion/zsh/_show"
+}

diff --git 
a/app-misc/dfshow/files/dfshow-0.10.3_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
 
b/app-misc/dfshow/files/dfshow-0.10.3_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
new file mode 100644
index ..ae45de9e28be
--- /dev/null
+++ 
b/app-misc/dfshow/files/dfshow-0.10.3_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
@@ -0,0 +1,82 @@
+From a8185ad9270db54b9e0c66002e7ceebdc264af19 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 30 Apr 2021 04:49:26 +0100
+Subject: [PATCH] Use PKG_CHECK_MODULES for ncurses, libconfig
+
+It's not always clear how to link against ncurses
+and the choices before us are:
+1) use a convoluted chain of autoconf checks
+2) use pkg-config (this commit)
+3) guess and hardcode the most popular values
+
+This is an iteration of a previous change [0] by a
+Gentoo contributor which landed upstream.
+
+The previous change ended up doing 3) which is fine
+but doesn't always work in strange situations. Gentoo
+_usually_ builds 'split tinfo' on Linux but this isn't
+guaranteed.
+
+This change now uses PKG_CHECK_MODULES which uses
+pkg-config behind the scenes to query ncurses
+for the correct way to build & link against it.
+
+(We do the same thing for libconfig too.)
+
+[0] https://github.com/roberthawdon/dfshow/pull/115
+---
+ Makefile.am  | 13 -
+ configure.ac |  5 +++--
+ 2 files changed, 7 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 048ded5..6dcaa1f 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -7,21 +7,16 @@
+ 
+ AM_CPPFLAGS = -DLOCALEDIR=\"$(localedir)\"
+ AM_CFL

[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2024-06-17 Thread Conrad Kostecki
commit: 641d75311144dd60bc21ba827103be9a0251b0a5
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu May 30 18:46:49 2024 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Jun 17 22:34:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=641d7531

app-misc/dfshow: fix LICENSE

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/36907
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild 
b/app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild
index dc9ffb493c9b..9cff88a40bc0 100644
--- a/app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild
+++ b/app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild
@@ -6,12 +6,12 @@ EAPI=8
 inherit autotools bash-completion-r1 flag-o-matic
 
 MY_PV="${PV//_beta/-beta}"
-DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from 
DF-EDIT"
+DESCRIPTION="Unix-like rewrite of some of the applications from DF-EDIT"
 HOMEPAGE="https://github.com/roberthawdon/dfshow";
 SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}/${PN}-${MY_PV}"
 
-LICENSE="GPL-3"
+LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2024-03-05 Thread Sam James
commit: 3054a44ee473d023d0ee281f66878aa1109270d5
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Mar  6 05:45:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  6 06:02:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3054a44e

app-misc/dfshow: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/854726
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild | 11 ++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild 
b/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
index d6a901fd6e7d..7cd16d1a8fd9 100644
--- a/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
+++ b/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -37,6 +37,15 @@ src_prepare() {
eautoreconf
 }
 
+src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/854726
+   # https://github.com/roberthawdon/dfshow/issues/172
+   filter-lto
+
+   default
+}
+
 src_install() {
default
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2024-03-05 Thread Sam James
commit: e22d54e245f0cd2628def36b3fe021ae61df0740
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Mar  6 05:46:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  6 06:02:07 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e22d54e2

app-misc/dfshow: update EAPI 7 -> 8

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 .../dfshow/{dfshow-0.9.1_beta-r1.ebuild => dfshow-0.9.1_beta-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild 
b/app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild
similarity index 99%
rename from app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
rename to app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild
index 7cd16d1a8fd9..dc9ffb493c9b 100644
--- a/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
+++ b/app-misc/dfshow/dfshow-0.9.1_beta-r2.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit autotools bash-completion-r1 flag-o-matic
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/files/

2021-06-19 Thread Sam James
commit: d7421767536ea56c68ab10c0360654287de0491b
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 19 23:32:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 19 23:48:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7421767

app-misc/dfshow: tweak ncurses PKG_CHECK_MODULES patch

We need the wide/unicode symbols on non-macOS/Darwin because of some
assumptions in the codebase.

Closes: https://bugs.gentoo.org/796773
Signed-off-by: Sam James  gentoo.org>

 .../dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/app-misc/dfshow/files/dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
 
b/app-misc/dfshow/files/dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
index 33c5bc35dfb..44fc11b34ca 100644
--- 
a/app-misc/dfshow/files/dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
+++ 
b/app-misc/dfshow/files/dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
@@ -71,7 +71,7 @@ index f185b69..8acf1ab 100644
 -AC_CHECK_HEADERS(libconfig.h, , AC_MSG_ERROR(libconfig header (libconfig.h) 
not found. You may need to install a libconfig development package.))
  AC_CHECK_HEADERS(sys/acl.h, , AC_MSG_ERROR(libacl header (sys/acl.h) not 
found. You may need to install a libacl development package.))
  
-+PKG_CHECK_MODULES([ncurses], [ncurses])
++PKG_CHECK_MODULES([ncurses], [ncursesw ncurses])
 +PKG_CHECK_MODULES([libconfig], [libconfig])
 +
  AC_ARG_WITH([selinux], AS_HELP_STRING([--with-selinux], [Build with selinux 
library (default: disabled)]))



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/files/, app-misc/dfshow/

2021-06-18 Thread David Seifert
commit: 4afd908c32d3bd1feceb96a602a759d4a7bf0e0a
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun 18 21:07:02 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Fri Jun 18 21:07:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4afd908c

app-misc/dfshow: use PKG_CHECK_MODULES for ncurses, libconfig

* Use PKG_CHECK_MODULES to find ncurses (and libconfig while we're
  at it) rather than assuming e.g. split tinfo.

* Add the standard macOS LDFLAGS needed. No point in bothering upstream
  with libtool just for this.

Signed-off-by: Sam James  gentoo.org>
Signed-off-by: David Seifert  gentoo.org>

 app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild| 15 +++-
 ...e-PKG_CHECK_MODULES-for-ncurses-libconfig.patch | 82 ++
 2 files changed, 94 insertions(+), 3 deletions(-)

diff --git a/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild 
b/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
index 883ebd7c7fe..d6a901fd6e7 100644
--- a/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
+++ b/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools bash-completion-r1
+inherit autotools bash-completion-r1 flag-o-matic
 
 MY_PV="${PV//_beta/-beta}"
 DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from 
DF-EDIT"
@@ -19,11 +19,20 @@ DEPEND="dev-libs/libconfig:=
sys-libs/ncurses:0=
 "
 RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+   
"${FILESDIR}"/${PN}-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
+)
 
 src_prepare() {
default
-   sed -i 's/LDADD = -lncursesw -lm -lconfig/LDADD = -lncursesw -lm 
-lconfig -ltinfow/' Makefile.am ||
-   die "sed in Makefile.am failed"
+
+   if [[ ${CHOST} == *-darwin* ]] ; then
+   # Standard on macOS
+   # No real motivation to push libtool upstream just for this
+   append-ldflags -Wl,-undefined -Wl,dynamic_lookup
+   fi
 
eautoreconf
 }

diff --git 
a/app-misc/dfshow/files/dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
 
b/app-misc/dfshow/files/dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
new file mode 100644
index 000..33c5bc35dfb
--- /dev/null
+++ 
b/app-misc/dfshow/files/dfshow-0.9.1_beta-use-PKG_CHECK_MODULES-for-ncurses-libconfig.patch
@@ -0,0 +1,82 @@
+From a8185ad9270db54b9e0c66002e7ceebdc264af19 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Fri, 30 Apr 2021 04:49:26 +0100
+Subject: [PATCH] Use PKG_CHECK_MODULES for ncurses, libconfig
+
+It's not always clear how to link against ncurses
+and the choices before us are:
+1) use a convoluted chain of autoconf checks
+2) use pkg-config (this commit)
+3) guess and hardcode the most popular values
+
+This is an iteration of a previous change [0] by a
+Gentoo contributor which landed upstream.
+
+The previous change ended up doing 3) which is fine
+but doesn't always work in strange situations. Gentoo
+_usually_ builds 'split tinfo' on Linux but this isn't
+guaranteed.
+
+This change now uses PKG_CHECK_MODULES which uses
+pkg-config behind the scenes to query ncurses
+for the correct way to build & link against it.
+
+(We do the same thing for libconfig too.)
+
+[0] https://github.com/roberthawdon/dfshow/pull/115
+---
+ Makefile.am  | 13 -
+ configure.ac |  5 +++--
+ 2 files changed, 7 insertions(+), 11 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 048ded5..6dcaa1f 100644
+--- a/Makefile.am
 b/Makefile.am
+@@ -4,21 +4,16 @@ dfshowconfdir = $(sysconfdir)
+ dfshowdatadir = $(datadir)/dfshow
+ 
+ AM_CFLAGS = -DSYSCONFIG=\"$(dfshowconfdir)\" -DDATADIR=\"$(dfshowdatadir)\" 
-D_XOPEN_SOURCE_EXTENDED -fno-common
++AM_CFLAGS += $(ncurses_CFLAGS) $(libconfig_CFLAGS)
+ 
+-LDADD = -lm -lconfig
+-
+-if DARWIN
+-LDADD += -lncurses
+-else
+-LDADD += -lncursesw
+-endif
++LDADD = -lm $(ncurses_LIBS) $(libconfig_LIBS)
+ 
+ if LINUX
+-LDADD += -lacl -ltinfo
++LDADD += -lacl
+ endif
+ 
+ if HURD
+-LDADD += -lacl -ltinfo
++LDADD += -lacl
+ endif
+ 
+ if SELINUX
+diff --git a/configure.ac b/configure.ac
+index f185b69..8acf1ab 100644
+--- a/configure.ac
 b/configure.ac
+@@ -32,10 +32,11 @@ AC_CHECK_FUNCS(acl_get facl_get acl_set facl_set)
+ 
+ AC_CHECK_MEMBERS([struct stat.st_author])
+ AC_CHECK_HEADERS([stdio.h limits.h signal.h ctype.h wctype.h getopt.h 
sys/types.h sys/stat.h dirent.h fcntl.h pwd.h string.h stdlib.h unistd.h time.h 
sys/statvfs.h libgen.h errno.h wchar.h hurd.h math.h sys/sysmacros.h regex.h 
utime.h sys/xattr.h acl/libacl.h stdint.h])
+-AC_CHECK_HEADERS(ncurses.h, , AC_MSG_ERROR(ncurses header (ncurses.h) not 
found. You may need to install an ncurses development package.))
+-AC_CHECK_HEADERS(libconfig.h, , AC_MSG_ERROR(libconfig header (libconfig.h) 
not found. You may need to install a libconfig development package.))
+ AC_CHECK_HEADERS(sys/acl.h, , AC_MSG_ERROR(libacl header (sys/acl.h) not 
found. You may need to install

[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2021-01-01 Thread Sam James
commit: f079f95c760141105abbe4022f8b5e5a45979652
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan  2 00:40:22 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan  2 00:40:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f079f95c

app-misc/dfshow: revbump for libconfig subslot dep

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 .../dfshow/{dfshow-0.8.2_beta.ebuild => dfshow-0.8.2_beta-r1.ebuild}  | 4 ++--
 .../dfshow/{dfshow-0.9.1_beta.ebuild => dfshow-0.9.1_beta-r1.ebuild}  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-misc/dfshow/dfshow-0.8.2_beta.ebuild 
b/app-misc/dfshow/dfshow-0.8.2_beta-r1.ebuild
similarity index 91%
rename from app-misc/dfshow/dfshow-0.8.2_beta.ebuild
rename to app-misc/dfshow/dfshow-0.8.2_beta-r1.ebuild
index 2b75216f7b9..5733b670051 100644
--- a/app-misc/dfshow/dfshow-0.8.2_beta.ebuild
+++ b/app-misc/dfshow/dfshow-0.8.2_beta-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -17,7 +17,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DEPEND="dev-libs/libconfig
+DEPEND="dev-libs/libconfig:=
sys-libs/ncurses:0=
 "
 RDEPEND="${DEPEND}"

diff --git a/app-misc/dfshow/dfshow-0.9.1_beta.ebuild 
b/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
similarity index 93%
rename from app-misc/dfshow/dfshow-0.9.1_beta.ebuild
rename to app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
index 29830de4a64..883ebd7c7fe 100644
--- a/app-misc/dfshow/dfshow-0.9.1_beta.ebuild
+++ b/app-misc/dfshow/dfshow-0.9.1_beta-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -15,7 +15,7 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-DEPEND="dev-libs/libconfig
+DEPEND="dev-libs/libconfig:=
sys-libs/ncurses:0=
 "
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2020-10-31 Thread Sam James
commit: 804bf63a761c57d16c9df949f3f3bb21b16eeabc
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  1 06:04:59 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  1 06:04:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=804bf63a

app-misc/dfshow: bump to 0.9.1_beta

Closes: https://bugs.gentoo.org/707260
Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 app-misc/dfshow/Manifest |  1 +
 app-misc/dfshow/dfshow-0.9.1_beta.ebuild | 40 
 2 files changed, 41 insertions(+)

diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest
index 7ca0248b41d..16cc9eaa7a6 100644
--- a/app-misc/dfshow/Manifest
+++ b/app-misc/dfshow/Manifest
@@ -1 +1,2 @@
 DIST dfshow-0.8.2_beta.tar.gz 97733 BLAKE2B 
99790b6901760a5e4adc7942fa84d11fb9d5e2f4e60a5d4abc2ce8fed0e86ab5f3def67c2f567b1ca54f1ecdbbe04522d4a75d69694b0ad213a69d86d49514e4
 SHA512 
1fca7f72c0200df13ac6e640314f9ad94ea3b88eb62a18a606f3a06a02252107f59747fbd404891fff5898b3796650023827ca59ceb690a0aa45e3c0a8bca749
+DIST dfshow-0.9.1_beta.tar.gz 109882 BLAKE2B 
a8351a4ae1e3d8f0a4166f7642bb32a1ec60723f73d7da9bdc8b496162c4174421e0e369499ace22cfeec64a32b3dbcd9411bdc10c19cc6427d04bc1df298c44
 SHA512 
c13347075f51c213e804855a1cc432076d8fcd5f278e4945b457fdddc3945e9d743f3dc4f26e4194f6a5b612a4e118081dd3afbb1a4523ae3c962a4fae68494e

diff --git a/app-misc/dfshow/dfshow-0.9.1_beta.ebuild 
b/app-misc/dfshow/dfshow-0.9.1_beta.ebuild
new file mode 100644
index 000..29830de4a64
--- /dev/null
+++ b/app-misc/dfshow/dfshow-0.9.1_beta.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools bash-completion-r1
+
+MY_PV="${PV//_beta/-beta}"
+DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from 
DF-EDIT"
+HOMEPAGE="https://github.com/roberthawdon/dfshow";
+SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/libconfig
+   sys-libs/ncurses:0=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   sed -i 's/LDADD = -lncursesw -lm -lconfig/LDADD = -lncursesw -lm 
-lconfig -ltinfow/' Makefile.am ||
+   die "sed in Makefile.am failed"
+
+   eautoreconf
+}
+
+src_install() {
+   default
+
+   newbashcomp "${S}/misc/auto-completion/bash/sf-completion.bash" 
sf-completion
+   newbashcomp "${S}/misc/auto-completion/bash/show-completion.bash" 
show-completion
+
+   insinto /usr/share/zsh/site-functions
+   doins "${S}/misc/auto-completion/zsh/_sf"
+   doins "${S}/misc/auto-completion/zsh/_show"
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2020-04-14 Thread Joonas Niilola
commit: dc1506c5d137ad55365812403b0ed74cf42ee314
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Apr 14 08:10:59 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Apr 14 08:34:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc1506c5

app-misc/dfshow: drop to m-n

Closes: https://bugs.gentoo.org/694738
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/dfshow/metadata.xml | 9 +
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/app-misc/dfshow/metadata.xml b/app-misc/dfshow/metadata.xml
index 6ba2366d6cc..8a953cf2924 100644
--- a/app-misc/dfshow/metadata.xml
+++ b/app-misc/dfshow/metadata.xml
@@ -1,14 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   pepitsiz...@zoho.com
-   Angelos Kouratzinos
-   
-   
-   proxy-ma...@gentoo.org
-   Proxy Maintainers
-   
+   

DF-SHOW (Directory File Show) is a Unix-like rewrite of some of
the applications from Larry Kroeker's DF-EDIT (Directory File 
Editor)



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2020-03-21 Thread Andreas Sturmlechner
commit: bba042235da71c2ac370a33e299a76a4c5d2373a
Author: Angelos Kouratzinos  zoho  com>
AuthorDate: Sat Mar 21 11:22:59 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar 21 15:11:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bba04223

app-misc/dfshow: remove old version

Signed-off-by: Angelos Kouratzinos  zoho.com>
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/15033
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 app-misc/dfshow/Manifest |  1 -
 app-misc/dfshow/dfshow-0.8.0_beta.ebuild | 30 --
 2 files changed, 31 deletions(-)

diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest
index 26d4ec08f7f..7ca0248b41d 100644
--- a/app-misc/dfshow/Manifest
+++ b/app-misc/dfshow/Manifest
@@ -1,2 +1 @@
-DIST dfshow-0.8.0_beta.tar.gz 97301 BLAKE2B 
fa98ef37d23ef39e8512eed410d4a3a9e45aee87d9ee1c35230a9bea47af61c936091117c7232c195cd661ba61b09376ba1db4167bf8388323311f2a2fa7b6a6
 SHA512 
79cd82916521500d5f6f7ab00770af084f1a52069fe5625b7336f3081084ece6d2773be7f5480c55ad3151e603d937b3feb279a18502c435c1a05d6d1446
 DIST dfshow-0.8.2_beta.tar.gz 97733 BLAKE2B 
99790b6901760a5e4adc7942fa84d11fb9d5e2f4e60a5d4abc2ce8fed0e86ab5f3def67c2f567b1ca54f1ecdbbe04522d4a75d69694b0ad213a69d86d49514e4
 SHA512 
1fca7f72c0200df13ac6e640314f9ad94ea3b88eb62a18a606f3a06a02252107f59747fbd404891fff5898b3796650023827ca59ceb690a0aa45e3c0a8bca749

diff --git a/app-misc/dfshow/dfshow-0.8.0_beta.ebuild 
b/app-misc/dfshow/dfshow-0.8.0_beta.ebuild
deleted file mode 100644
index c452101f7fc..000
--- a/app-misc/dfshow/dfshow-0.8.0_beta.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-MY_PV="${PV//_beta/-beta}"
-
-DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from 
DF-EDIT"
-HOMEPAGE="https://github.com/roberthawdon/dfshow";
-SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
-
-S="${WORKDIR}/${PN}-${MY_PV}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="dev-libs/libconfig
-sys-libs/ncurses:0=
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-   sed -i 's/LDADD = -lncursesw -lm -lconfig/LDADD = -lncursesw -lm 
-lconfig -ltinfow/' Makefile.am || die "sed in Makefile.am failed"
-   eautoreconf
-   eautomake --add-missing
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2019-10-09 Thread Joonas Niilola
commit: df68f09db2a59b2d4e0dc98ba79eb67bd190f58c
Author: Angelos Kouratzinos  zoho  com>
AuthorDate: Sun Oct  6 22:31:25 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Oct 10 05:21:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df68f09d

app-misc/dfshow: version bump to 0.8.2 beta

Closes: https://bugs.gentoo.org/696430
Signed-off-by: Angelos Kouratzinos  zoho.com>
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Closes: https://github.com/gentoo/gentoo/pull/13193
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/dfshow/Manifest |  1 +
 app-misc/dfshow/dfshow-0.8.2_beta.ebuild | 31 +++
 2 files changed, 32 insertions(+)

diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest
index ce73746af13..26d4ec08f7f 100644
--- a/app-misc/dfshow/Manifest
+++ b/app-misc/dfshow/Manifest
@@ -1 +1,2 @@
 DIST dfshow-0.8.0_beta.tar.gz 97301 BLAKE2B 
fa98ef37d23ef39e8512eed410d4a3a9e45aee87d9ee1c35230a9bea47af61c936091117c7232c195cd661ba61b09376ba1db4167bf8388323311f2a2fa7b6a6
 SHA512 
79cd82916521500d5f6f7ab00770af084f1a52069fe5625b7336f3081084ece6d2773be7f5480c55ad3151e603d937b3feb279a18502c435c1a05d6d1446
+DIST dfshow-0.8.2_beta.tar.gz 97733 BLAKE2B 
99790b6901760a5e4adc7942fa84d11fb9d5e2f4e60a5d4abc2ce8fed0e86ab5f3def67c2f567b1ca54f1ecdbbe04522d4a75d69694b0ad213a69d86d49514e4
 SHA512 
1fca7f72c0200df13ac6e640314f9ad94ea3b88eb62a18a606f3a06a02252107f59747fbd404891fff5898b3796650023827ca59ceb690a0aa45e3c0a8bca749

diff --git a/app-misc/dfshow/dfshow-0.8.2_beta.ebuild 
b/app-misc/dfshow/dfshow-0.8.2_beta.ebuild
new file mode 100644
index 000..2b75216f7b9
--- /dev/null
+++ b/app-misc/dfshow/dfshow-0.8.2_beta.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_PV="${PV//_beta/-beta}"
+
+DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from 
DF-EDIT"
+HOMEPAGE="https://github.com/roberthawdon/dfshow";
+SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/libconfig
+   sys-libs/ncurses:0=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   sed -i 's/LDADD = -lncursesw -lm -lconfig/LDADD = -lncursesw -lm 
-lconfig -ltinfow/' Makefile.am ||
+   die "sed in Makefile.am failed"
+   eautoreconf
+   eautomake --add-missing
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/dfshow/

2019-09-08 Thread Joonas Niilola
commit: f80edb0cf3c0fde8b5e467e6cab291fdd183a3da
Author: Angelos Kouratzinos  zoho  com>
AuthorDate: Fri Jul 12 23:06:45 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sun Sep  8 07:55:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f80edb0c

app-misc/dfshow: add ebuild for dfshow

a modern reimplementation of applications from DF-EDIT
Bug: https://bugs.gentoo.org/671874
Signed-off-by: Angelos Kouratzinos  zoho.com>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/12437
Signed-off-by: Joonas Niilola  gentoo.org>

 app-misc/dfshow/Manifest |  1 +
 app-misc/dfshow/dfshow-0.8.0_beta.ebuild | 30 ++
 app-misc/dfshow/metadata.xml | 17 +
 3 files changed, 48 insertions(+)

diff --git a/app-misc/dfshow/Manifest b/app-misc/dfshow/Manifest
new file mode 100644
index 000..ce73746af13
--- /dev/null
+++ b/app-misc/dfshow/Manifest
@@ -0,0 +1 @@
+DIST dfshow-0.8.0_beta.tar.gz 97301 BLAKE2B 
fa98ef37d23ef39e8512eed410d4a3a9e45aee87d9ee1c35230a9bea47af61c936091117c7232c195cd661ba61b09376ba1db4167bf8388323311f2a2fa7b6a6
 SHA512 
79cd82916521500d5f6f7ab00770af084f1a52069fe5625b7336f3081084ece6d2773be7f5480c55ad3151e603d937b3feb279a18502c435c1a05d6d1446

diff --git a/app-misc/dfshow/dfshow-0.8.0_beta.ebuild 
b/app-misc/dfshow/dfshow-0.8.0_beta.ebuild
new file mode 100644
index 000..c452101f7fc
--- /dev/null
+++ b/app-misc/dfshow/dfshow-0.8.0_beta.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+MY_PV="${PV//_beta/-beta}"
+
+DESCRIPTION="DF-SHOW is a Unix-like rewrite of some of the applications from 
DF-EDIT"
+HOMEPAGE="https://github.com/roberthawdon/dfshow";
+SRC_URI="https://github.com/roberthawdon/dfshow/archive/v${MY_PV}.tar.gz -> 
${P}.tar.gz"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/libconfig
+sys-libs/ncurses:0=
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   sed -i 's/LDADD = -lncursesw -lm -lconfig/LDADD = -lncursesw -lm 
-lconfig -ltinfow/' Makefile.am || die "sed in Makefile.am failed"
+   eautoreconf
+   eautomake --add-missing
+}

diff --git a/app-misc/dfshow/metadata.xml b/app-misc/dfshow/metadata.xml
new file mode 100644
index 000..6ba2366d6cc
--- /dev/null
+++ b/app-misc/dfshow/metadata.xml
@@ -0,0 +1,17 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   pepitsiz...@zoho.com
+   Angelos Kouratzinos
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   DF-SHOW (Directory File Show) is a Unix-like rewrite of some of
+   the applications from Larry Kroeker's DF-EDIT (Directory File 
Editor)
+   for MS-DOS and PC-DOS systems, based on the Version 2.3d 
release from 1986.
+   
+