public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/
@ 2018-03-01 18:28 Pacho Ramos
  0 siblings, 0 replies; 5+ messages in thread
From: Pacho Ramos @ 2018-03-01 18:28 UTC (permalink / raw
  To: gentoo-commits

commit:     43cd9635bf3c74b00a9bb1f726e4b351fb045c28
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  1 18:16:25 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Mar  1 18:27:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43cd9635

net-misc/vncrec: Drop old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/vncrec/vncrec-0.2-r1.ebuild | 49 ------------------------------------
 1 file changed, 49 deletions(-)

diff --git a/net-misc/vncrec/vncrec-0.2-r1.ebuild b/net-misc/vncrec/vncrec-0.2-r1.ebuild
deleted file mode 100644
index ef08f35b48b..00000000000
--- a/net-misc/vncrec/vncrec-0.2-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="VNC session recorder and player"
-HOMEPAGE="http://www.sodan.org/~penny/vncrec/"
-SRC_URI="http://www.sodan.org/~penny/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE=""
-
-RDEPEND="x11-libs/libXaw
-	x11-libs/libXext
-	x11-libs/libXmu
-	x11-libs/libXp
-	x11-libs/libXpm
-	x11-libs/libXt"
-DEPEND="${RDEPEND}
-	app-text/rman
-	x11-misc/gccmakedep
-	x11-misc/imake
-	x11-proto/xextproto"
-
-DOCS=( README README.vnc )
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-includes.patch
-	touch vncrec/vncrec.man || die
-	sed -i Imakefile \
-		-e '/make Makefiles/d' \
-		|| die "sed Imakefile"
-}
-
-src_configure() {
-	xmkmf -a || die
-}
-
-src_compile() {
-	emake \
-		CC=$(tc-getCC) \
-		CCOPTIONS="${CXXFLAGS}" \
-		EXTRA_LDOPTIONS="${LDFLAGS}" \
-		World
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/
@ 2018-03-01 18:28 Pacho Ramos
  0 siblings, 0 replies; 5+ messages in thread
From: Pacho Ramos @ 2018-03-01 18:28 UTC (permalink / raw
  To: gentoo-commits

commit:     7a3dac0e836ff1c43accdfa20cd0118596da848a
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  1 18:15:56 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu Mar  1 18:27:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a3dac0e

net-misc/vncrec: x11-libs/libXp is not really needed

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/vncrec/vncrec-0.2-r2.ebuild | 50 ++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/net-misc/vncrec/vncrec-0.2-r2.ebuild b/net-misc/vncrec/vncrec-0.2-r2.ebuild
new file mode 100644
index 00000000000..759d2b27ac5
--- /dev/null
+++ b/net-misc/vncrec/vncrec-0.2-r2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit toolchain-funcs
+
+DESCRIPTION="VNC session recorder and player"
+HOMEPAGE="http://www.sodan.org/~penny/vncrec/"
+SRC_URI="http://www.sodan.org/~penny/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="
+	x11-libs/libXaw
+	x11-libs/libXext
+	x11-libs/libXmu
+	x11-libs/libXpm
+	x11-libs/libXt
+"
+DEPEND="${RDEPEND}
+	app-text/rman
+	x11-misc/gccmakedep
+	x11-misc/imake
+	x11-proto/xextproto
+"
+
+DOCS=( README README.vnc )
+
+src_prepare() {
+	default
+
+	eapply "${FILESDIR}"/${P}-includes.patch
+	touch vncrec/vncrec.man || die
+	sed -i Imakefile -e '/make Makefiles/d'	|| die
+}
+
+src_configure() {
+	xmkmf -a || die
+}
+
+src_compile() {
+	emake \
+		CC=$(tc-getCC) \
+		CCOPTIONS="${CXXFLAGS}" \
+		EXTRA_LDOPTIONS="${LDFLAGS}" \
+		World
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/
@ 2021-04-15  6:39 Joonas Niilola
  0 siblings, 0 replies; 5+ messages in thread
From: Joonas Niilola @ 2021-04-15  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     bca2dc9137a9966187d7a7ce084bd0e152b359bc
Author:     Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Wed Apr 14 11:03:03 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Apr 15 06:38:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bca2dc91

net-misc/vncrec: fix build with -native-symlinks

Closes: https://bugs.gentoo.org/725262
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-misc/vncrec/vncrec-0.2-r2.ebuild | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/net-misc/vncrec/vncrec-0.2-r2.ebuild b/net-misc/vncrec/vncrec-0.2-r2.ebuild
index cb4d1e4f751..71f1c49f257 100644
--- a/net-misc/vncrec/vncrec-0.2-r2.ebuild
+++ b/net-misc/vncrec/vncrec-0.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -24,7 +24,7 @@ DEPEND="${RDEPEND}
 	app-text/rman
 	x11-base/xorg-proto
 	x11-misc/gccmakedep
-	x11-misc/imake
+	>=x11-misc/imake-1.0.8-r1
 "
 
 DOCS=( README README.vnc )
@@ -38,13 +38,16 @@ src_prepare() {
 }
 
 src_configure() {
-	xmkmf -a || die
+	CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
+		IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf -a || die
 }
 
 src_compile() {
 	emake \
-		CC=$(tc-getCC) \
-		CCOPTIONS="${CXXFLAGS}" \
+		AR="$(tc-getAR) cq" \
+		CC="$(tc-getCC)" \
+		RANLIB="$(tc-getRANLIB)" \
+		CDEBUGFLAGS="${CFLAGS}" \
 		EXTRA_LDOPTIONS="${LDFLAGS}" \
 		World
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/
@ 2022-10-11  5:10 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2022-10-11  5:10 UTC (permalink / raw
  To: gentoo-commits

commit:     0491a4264baf9951dd726b96094459a7b3363b95
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 04:17:09 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 04:38:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0491a426

net-misc/vncrec: further fix w/ upcoming clang16

When last tested this package, did not know clang16 was newly enabling
-Werror=incompatible-pointer-types yet and hadn't looked at this.

Bit dodgy here given we don't know what the X11 headers want, i.e.
_X_NORETURN could be set or not set, and an update could remove it
from XtErrorhandler entirely (so passing it may break later) -- so
pass -Wno-error instead (should be harmless in this case).

Bug: https://bugs.gentoo.org/871000
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/vncrec/vncrec-0.2-r3.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/net-misc/vncrec/vncrec-0.2-r3.ebuild b/net-misc/vncrec/vncrec-0.2-r3.ebuild
index e3295a4579be..66d88e91b811 100644
--- a/net-misc/vncrec/vncrec-0.2-r3.ebuild
+++ b/net-misc/vncrec/vncrec-0.2-r3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="VNC session recorder and player"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@@ -42,6 +42,11 @@ src_prepare() {
 }
 
 src_configure() {
+	# XtErrorHandler usage matches docs (seems right), but headers "may" add
+	# __attribute__((noreturn)) giving an incompatible type error with clang-16
+	# (could alternatively use private _X_NORETURN but this may be fragile).
+	append-cflags -Wno-error=incompatible-function-pointer-types #871000
+
 	CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
 		IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/
@ 2022-10-11  8:56 Ionen Wolkens
  0 siblings, 0 replies; 5+ messages in thread
From: Ionen Wolkens @ 2022-10-11  8:56 UTC (permalink / raw
  To: gentoo-commits

commit:     e7878ba74f45f95af5d6b354ffb6d1d67d503c46
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:25:23 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 08:56:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7878ba7

net-misc/vncrec: pass -std=gnu89, fixup previous clang fix

Does not build with `clang -std=c2x`, early workaround for
when this will become a default.

(not actively hunting for these, merely revisiting packages
previously looked at for clang16 even if not an issue "yet").

wrt previous fix, thought could get away using a more precise
-Wno-error but gcc does not like it.

Fixes: 0491a4264baf9951dd726b96094459a7b3363b95
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-misc/vncrec/vncrec-0.2-r3.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-misc/vncrec/vncrec-0.2-r3.ebuild b/net-misc/vncrec/vncrec-0.2-r3.ebuild
index 66d88e91b811..5ddfaf0d7f86 100644
--- a/net-misc/vncrec/vncrec-0.2-r3.ebuild
+++ b/net-misc/vncrec/vncrec-0.2-r3.ebuild
@@ -45,7 +45,8 @@ src_configure() {
 	# XtErrorHandler usage matches docs (seems right), but headers "may" add
 	# __attribute__((noreturn)) giving an incompatible type error with clang-16
 	# (could alternatively use private _X_NORETURN but this may be fragile).
-	append-cflags -Wno-error=incompatible-function-pointer-types #871000
+	append-cflags -Wno-error=incompatible-pointer-types #871000
+	append-cflags -std=gnu89 # old codebase, incompatible with c2x
 
 	CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
 		IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf -a || die


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-11  8:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 18:28 [gentoo-commits] repo/gentoo:master commit in: net-misc/vncrec/ Pacho Ramos
  -- strict thread matches above, loose matches on Subject: below --
2022-10-11  8:56 Ionen Wolkens
2022-10-11  5:10 Ionen Wolkens
2021-04-15  6:39 Joonas Niilola
2018-03-01 18:28 Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox