[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmrack/
commit: 98d1f733183593908cf1826ee031c440ef98dab8 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Thu Jun 8 09:15:42 2023 + Commit: Bernard Cafarelli gentoo org> CommitDate: Tue Jun 13 14:15:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98d1f733 x11-plugins/wmrack: use HTTPS Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/31350 Signed-off-by: Bernard Cafarelli gentoo.org> x11-plugins/wmrack/wmrack-1.4-r1.ebuild | 4 ++-- x11-plugins/wmrack/wmrack-1.4-r2.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x11-plugins/wmrack/wmrack-1.4-r1.ebuild b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild index 87ecae2c815b..f41d124b4421 100644 --- a/x11-plugins/wmrack/wmrack-1.4-r1.ebuild +++ b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="a sound mixer and CD player dockapp" -HOMEPAGE="http://wmrack.sourceforge.net"; +HOMEPAGE="https://wmrack.sourceforge.net"; SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2" diff --git a/x11-plugins/wmrack/wmrack-1.4-r2.ebuild b/x11-plugins/wmrack/wmrack-1.4-r2.ebuild index 9a17bb0441bc..694a3530a03b 100644 --- a/x11-plugins/wmrack/wmrack-1.4-r2.ebuild +++ b/x11-plugins/wmrack/wmrack-1.4-r2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DESCRIPTION="a sound mixer and CD player dockapp" -HOMEPAGE="http://wmrack.sourceforge.net"; +HOMEPAGE="https://wmrack.sourceforge.net"; SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2"
[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmrack/files/, x11-plugins/wmrack/
commit: bdd850179a500daee07749f3b496d28be1280e07 Author: Brahmajit Das gmail com> AuthorDate: Thu May 11 06:17:36 2023 + Commit: Bernard Cafarelli gentoo org> CommitDate: Fri May 12 15:29:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdd85017 x11-plugins/wmrack: Fix type specifier missing and undeclared function Closes: https://bugs.gentoo.org/899046 Signed-off-by: Brahmajit Das gmail.com> Closes: https://github.com/gentoo/gentoo/pull/30983 Signed-off-by: Bernard Cafarelli gentoo.org> ...ecifier-missing-and-undeclared-function-c.patch | 41 ++ x11-plugins/wmrack/wmrack-1.4-r2.ebuild| 37 +++ 2 files changed, 78 insertions(+) diff --git a/x11-plugins/wmrack/files/1.4-Fix-type-specifier-missing-and-undeclared-function-c.patch b/x11-plugins/wmrack/files/1.4-Fix-type-specifier-missing-and-undeclared-function-c.patch new file mode 100644 index ..6e44f34a2ee2 --- /dev/null +++ b/x11-plugins/wmrack/files/1.4-Fix-type-specifier-missing-and-undeclared-function-c.patch @@ -0,0 +1,41 @@ +From ff65fefaa53a199933c005129b78e0c4f5a5ab47 Mon Sep 17 00:00:00 2001 +From: Brahmajit Das +Date: Thu, 11 May 2023 11:34:42 +0530 +Subject: [PATCH] Fix type specifier missing and undeclared function call with + clang 16 + +- wmrack.c:1243:12: error: type specifier missing, defaults to 'int' +- wmrack.c:1300:22: error: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations + +Signed-off-by: Brahmajit Das + +Bug: https://bugs.gentoo.org/899046 +Upstream Issue: https://sourceforge.net/p/wmrack/patches/3/ +--- + wmrack.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/wmrack.c b/wmrack.c +index ea49d40..4aa3d56 100644 +--- a/wmrack.c b/wmrack.c +@@ -25,6 +25,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -1240,7 +1241,7 @@ redrawDisplay (int force_win, int force_disp) + int track[2] = { 0, 0 }; + int cdtime[4] = { 0, 0, 0, 0 }; + static time_t last_flash_time; +-static flash = 0; ++static int flash = 0; + int st = 0, newRack = RACK_NODISC, im_stop = 0; + MSF pos; + +-- +2.40.1 + diff --git a/x11-plugins/wmrack/wmrack-1.4-r2.ebuild b/x11-plugins/wmrack/wmrack-1.4-r2.ebuild new file mode 100644 index ..9a17bb0441bc --- /dev/null +++ b/x11-plugins/wmrack/wmrack-1.4-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="a sound mixer and CD player dockapp" +HOMEPAGE="http://wmrack.sourceforge.net"; +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +DOCS=( CHANGES README TODO ) + +PATCHES=( "${FILESDIR}"/${PV}-Fix-type-specifier-missing-and-undeclared-function-c.patch ) + +src_prepare() { + default + ln -s grey.style XPM/standart.style || die + sed -i \ + -e 's:gcc:$(CC):' \ + -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in || die +} + +src_install() { + emake LIBDIR="${D}/usr/$(get_libdir)/WMRack" \ + MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \ + install + einstalldocs +}
[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmrack/
commit: da2d0d0e9620456874d0e574817b24bc5337302c Author: Bernard Cafarelli gentoo org> AuthorDate: Sun Jul 10 13:56:23 2022 + Commit: Bernard Cafarelli gentoo org> CommitDate: Sun Jul 10 13:56:23 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da2d0d0e x11-plugins/wmrack: fix XPM/standart.style compilation error Closes: https://bugs.gentoo.org/805206 Signed-off-by: Bernard Cafarelli gentoo.org> x11-plugins/wmrack/wmrack-1.4-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-plugins/wmrack/wmrack-1.4-r1.ebuild b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild index f40d1f916205..87ecae2c815b 100644 --- a/x11-plugins/wmrack/wmrack-1.4-r1.ebuild +++ b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs DESCRIPTION="a sound mixer and CD player dockapp" HOMEPAGE="http://wmrack.sourceforge.net"; @@ -22,6 +21,7 @@ DOCS=( CHANGES README TODO ) src_prepare() { default + ln -s grey.style XPM/standart.style || die sed -i \ -e 's:gcc:$(CC):' \ -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in || die
[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmrack/
commit: 556ebfea44705b7ee961bc3db0a54754aaeee80d Author: Michael Mair-Keimberger gmail com> AuthorDate: Fri Dec 7 14:10:27 2018 + Commit: Bernard Cafarelli gentoo org> CommitDate: Tue Dec 11 14:27:57 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=556ebfea x11-plugins/wmrack: drop old Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Bernard Cafarelli gentoo.org> x11-plugins/wmrack/Manifest | 1 - x11-plugins/wmrack/wmrack-1.3.ebuild | 41 x11-plugins/wmrack/wmrack-1.4.ebuild | 33 - 3 files changed, 75 deletions(-) diff --git a/x11-plugins/wmrack/Manifest b/x11-plugins/wmrack/Manifest index d1778cdede7..e0f9255a091 100644 --- a/x11-plugins/wmrack/Manifest +++ b/x11-plugins/wmrack/Manifest @@ -1,2 +1 @@ -DIST wmrack-1.3.tar.gz 61120 BLAKE2B 7eb745224f829145af77fba8dd477ed8d9c529dbe2ff206c2af2b4fb90735ec5dd5bc7b11500a5047d41329eaeecea61dee83e512844be336e1e24b568cfa156 SHA512 b9d01fc15cb2e15192f66487e80422ce3e319e160ee6961b5ed1ce0341fd2ddb74063261bce209b83bfda9af76a445b018320514f48402a56fd9aa2a6566e62f DIST wmrack-1.4.tar.gz 124243 BLAKE2B a1d8581b9ebc252429abe4c04aebbe9774d8a84048511b6dc5af02b8495f9c6c50d23e3fa26dd68f31d2d155ddae28e19c37d81082ed4378d269d19fd6888ae6 SHA512 27ed399a56f7f37e494005f02e74a09ad22c448ac288a3d2123987488ce65460f4c80841e8ff0fe3ff20db156130bc9e4894b42280181a1af58e06c1f8320a1e diff --git a/x11-plugins/wmrack/wmrack-1.3.ebuild b/x11-plugins/wmrack/wmrack-1.3.ebuild deleted file mode 100644 index 52fa77442a2..000 --- a/x11-plugins/wmrack/wmrack-1.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=0 - -inherit multilib toolchain-funcs - -DESCRIPTION="a sound mixer and CD player dockapp" -HOMEPAGE="http://wmrack.sourceforge.net"; -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc x86" -IUSE="" - -RDEPEND="x11-libs/libX11 - x11-libs/libXpm - x11-libs/libXext" -DEPEND="${RDEPEND} - x11-base/xorg-proto" - -src_unpack() { - unpack ${A} - sed -i -e 's:gcc:$(CC):' "${S}"/Makefile.in - sed -i -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in -} - -src_compile() { - tc-export CC - econf --x-includes=/usr/include --x-libraries=/usr/$(get_libdir) - emake -j1 || die "emake failed." -} - -src_install() { - emake -j1 LIBDIR="${D}/usr/$(get_libdir)/WMRack" \ - MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \ - install || die "emake install failed." - - dodoc CHANGES README TODO -} diff --git a/x11-plugins/wmrack/wmrack-1.4.ebuild b/x11-plugins/wmrack/wmrack-1.4.ebuild deleted file mode 100644 index 2b0d6930da5..000 --- a/x11-plugins/wmrack/wmrack-1.4.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 -inherit multilib toolchain-funcs - -DESCRIPTION="a sound mixer and CD player dockapp" -HOMEPAGE="http://wmrack.sourceforge.net"; -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" -IUSE="" - -RDEPEND="x11-libs/libX11 - x11-libs/libXpm - x11-libs/libXext" -DEPEND="${RDEPEND} - x11-base/xorg-proto" - -src_prepare() { - sed -i -e 's:gcc:$(CC):' "${S}"/Makefile.in - sed -i -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in -} - -src_install() { - emake LIBDIR="${D}/usr/$(get_libdir)/WMRack" \ - MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \ - install - - dodoc CHANGES README TODO -}
[gentoo-commits] repo/gentoo:master commit in: x11-plugins/wmrack/
commit: b63509b589c4ce92914865b4db422c0317fe4583 Author: Michael Mair-Keimberger gmail com> AuthorDate: Mon Jul 23 18:42:01 2018 + Commit: Bernard Cafarelli gentoo org> CommitDate: Thu Aug 2 20:17:56 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b63509b5 x11-plugins/wmrack: EAPI7, improve ebuild x11-plugins/wmrack/wmrack-1.4-r1.ebuild | 35 + 1 file changed, 35 insertions(+) diff --git a/x11-plugins/wmrack/wmrack-1.4-r1.ebuild b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild new file mode 100644 index 000..f40d1f91620 --- /dev/null +++ b/x11-plugins/wmrack/wmrack-1.4-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="a sound mixer and CD player dockapp" +HOMEPAGE="http://wmrack.sourceforge.net"; +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +RDEPEND="x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXext" +DEPEND="${RDEPEND} + x11-base/xorg-proto" + +DOCS=( CHANGES README TODO ) + +src_prepare() { + default + sed -i \ + -e 's:gcc:$(CC):' \ + -e 's:$(OBJECTS) -o:$(OBJECTS) $(LDFLAGS) -o:' "${S}"/Makefile.in || die +} + +src_install() { + emake LIBDIR="${D}/usr/$(get_libdir)/WMRack" \ + MANDIR="${D}/usr/share/man" BINDIR="${D}/usr/bin" \ + install + einstalldocs +}