[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/
commit: 9fa47dc38a64c89974b539ff665083c55c272d19 Author: Petr Vaněk gentoo org> AuthorDate: Sat Dec 30 16:53:20 2023 + Commit: Petr Vaněk gentoo org> CommitDate: Sat Dec 30 16:56:07 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa47dc3 app-arch/pdv: update HOMEPAGE Signed-off-by: Petr Vaněk gentoo.org> app-arch/pdv/pdv-1.5.1-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pdv/pdv-1.5.1-r5.ebuild b/app-arch/pdv/pdv-1.5.1-r5.ebuild index 25fb97f0c2bc..dc90318206d0 100644 --- a/app-arch/pdv/pdv-1.5.1-r5.ebuild +++ b/app-arch/pdv/pdv-1.5.1-r5.ebuild @@ -6,7 +6,7 @@ EAPI=8 inherit autotools toolchain-funcs DESCRIPTION="build a self-extracting and self-installing binary package" -HOMEPAGE="https://sourceforge.net/projects/pdv; +HOMEPAGE="https://sourceforge.net/projects/pdv/; SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" LICENSE="MIT"
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/files/, app-arch/pdv/
commit: 01927fc69d4c7a056d1886c1451416535480405f Author: Petr Vaněk gentoo org> AuthorDate: Sat Dec 30 16:41:44 2023 + Commit: Petr Vaněk gentoo org> CommitDate: Sat Dec 30 16:56:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01927fc6 app-arch/pdv: resolve implicit function declaration issue The issue is fixed with a patch which adds function prototype to a common header file. Closes: https://bugs.gentoo.org/882157 Signed-off-by: Petr Vaněk gentoo.org> app-arch/pdv/files/pdv-1.5.1-missing-prototype.patch | 19 +++ .../pdv/{pdv-1.5.1-r4.ebuild => pdv-1.5.1-r5.ebuild} | 2 ++ 2 files changed, 21 insertions(+) diff --git a/app-arch/pdv/files/pdv-1.5.1-missing-prototype.patch b/app-arch/pdv/files/pdv-1.5.1-missing-prototype.patch new file mode 100644 index ..d35ddedfda74 --- /dev/null +++ b/app-arch/pdv/files/pdv-1.5.1-missing-prototype.patch @@ -0,0 +1,19 @@ +Add missing prototype to a common header file. + +Bug: https://bugs.gentoo.org/882157 + +diff --git a/X11/xmpdvmkpkg.h b/X11/xmpdvmkpkg.h +index abaaa47..fd6c6f5 100644 +--- a/X11/xmpdvmkpkg.h b/X11/xmpdvmkpkg.h +@@ -76,6 +76,7 @@ extern Widget g_statusw; + void spectowidgets(void); + void widgetstospec(struct pdvspec_st *spec); + int cmpspecandwidgets(void); ++void statusmsg(char *fmt, ...); + void xu_SetMainTitle(const char *newtitle, const char *newprefix + , Widget topshell); + +-- +2.41.0 + diff --git a/app-arch/pdv/pdv-1.5.1-r4.ebuild b/app-arch/pdv/pdv-1.5.1-r5.ebuild similarity index 93% rename from app-arch/pdv/pdv-1.5.1-r4.ebuild rename to app-arch/pdv/pdv-1.5.1-r5.ebuild index d77acc17e472..25fb97f0c2bc 100644 --- a/app-arch/pdv/pdv-1.5.1-r4.ebuild +++ b/app-arch/pdv/pdv-1.5.1-r5.ebuild @@ -34,6 +34,8 @@ PATCHES=( "${FILESDIR}"/${P}-default-args.patch # prevent pre-stripped binaries "${FILESDIR}"/${P}-no-strip.patch + # missing function prototype, see bug #882157 + "${FILESDIR}"/${P}-missing-prototype.patch ) src_prepare() {
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/files/, app-arch/pdv/
commit: 7f895a8c495438df236a79c4d798690295f4e0db Author: Petr Vaněk gentoo org> AuthorDate: Sat Dec 30 14:40:13 2023 + Commit: Petr Vaněk gentoo org> CommitDate: Sat Dec 30 16:56:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f895a8c app-arch/pdv: reconfigure also project root It is necessary to reconfigure also project root for modern compiler compatibility. This necessitated updating the no-strip patch to modify extra.mk instead of Makefile.in, responding to the new regeneration process. Closes: https://bugs.gentoo.org/880351 Closes: https://bugs.gentoo.org/906002 Signed-off-by: Petr Vaněk gentoo.org> app-arch/pdv/files/pdv-1.5.1-no-strip.patch | 11 +-- app-arch/pdv/pdv-1.5.1-r4.ebuild| 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/app-arch/pdv/files/pdv-1.5.1-no-strip.patch b/app-arch/pdv/files/pdv-1.5.1-no-strip.patch index 630bf5eb7c36..4beaeb1c4889 100644 --- a/app-arch/pdv/files/pdv-1.5.1-no-strip.patch +++ b/app-arch/pdv/files/pdv-1.5.1-no-strip.patch @@ -1,13 +1,12 @@ -diff -ur pdv-1.5.1-orig/pdv.c pdv-1.5.1/pdv.c pdv-1.5.1-orig/Makefile.in 2008-12-06 23:17:46.0 -0800 -+++ pdv-1.5.1/Makefile.in 2008-12-06 23:18:37.0 -0800 -@@ -536,7 +536,8 @@ +diff --git a/extra.mk b/extra.mk +index 65f6e72..e681adb 100644 +--- a/extra.mk b/extra.mk +@@ -11,7 +11,6 @@ pdv_fixed.c : Makefile touch $@ pdv_fixed : pdv_fixed.c pdv - $(STRIPBIN) pdv -+ # let portage decide whether to strip binaries -+ #$(STRIPBIN) pdv printf "%-5.5s" $$VERSION >> pdv printf "\000\000\000\000\000\000\000\000" >> pdv sleep 1 diff --git a/app-arch/pdv/pdv-1.5.1-r4.ebuild b/app-arch/pdv/pdv-1.5.1-r4.ebuild index b50f939fa91a..d77acc17e472 100644 --- a/app-arch/pdv/pdv-1.5.1-r4.ebuild +++ b/app-arch/pdv/pdv-1.5.1-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -40,7 +40,7 @@ src_prepare() { default # re-build configure script since patch was applied to configure.in - cd X11 || die + # and to refresh old compiler checks, see bugs #880351 and #906002 eautoreconf }
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/
commit: f4237237343bf492a60130d7e2e84e8be2f4488f Author: David Seifert gentoo org> AuthorDate: Sat Jul 2 20:06:58 2022 + Commit: David Seifert gentoo org> CommitDate: Sat Jul 2 20:06:58 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4237237 app-arch/pdv: update EAPI 6 -> 8 Signed-off-by: David Seifert gentoo.org> .../{pdv-1.5.1-r3.ebuild => pdv-1.5.1-r4.ebuild} | 47 +++--- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/app-arch/pdv/pdv-1.5.1-r3.ebuild b/app-arch/pdv/pdv-1.5.1-r4.ebuild similarity index 63% rename from app-arch/pdv/pdv-1.5.1-r3.ebuild rename to app-arch/pdv/pdv-1.5.1-r4.ebuild index 8b712196c4de..b50f939fa91a 100644 --- a/app-arch/pdv/pdv-1.5.1-r3.ebuild +++ b/app-arch/pdv/pdv-1.5.1-r4.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 + inherit autotools toolchain-funcs DESCRIPTION="build a self-extracting and self-installing binary package" @@ -11,48 +12,48 @@ SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~hppa ppc x86 ~x86-linux ~ppc-macos" -IUSE="X" +IUSE="gui" -DEPEND=" - X? ( +RDEPEND=" + gui? ( >=x11-libs/motif-2.3:0 >=x11-libs/libX11-1.0.0 >=x11-libs/libXt-1.0.0 - >=x11-libs/libXext-1.0.0 ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - default + >=x11-libs/libXext-1.0.0 + )" +DEPEND="${RDEPEND}" +PATCHES=( # fix a size-of-variable bug - eapply "${FILESDIR}"/${P}-opt.patch + "${FILESDIR}"/${P}-opt.patch # fix a free-before-use bug - eapply "${FILESDIR}"/${P}-early-free.patch + "${FILESDIR}"/${P}-early-free.patch # fix a configure script bug - eapply "${FILESDIR}"/${P}-x-config.patch + "${FILESDIR}"/${P}-x-config.patch # fix default args bug from assuming 'char' is signed - eapply "${FILESDIR}"/${P}-default-args.patch + "${FILESDIR}"/${P}-default-args.patch # prevent pre-stripped binaries - eapply "${FILESDIR}"/${P}-no-strip.patch + "${FILESDIR}"/${P}-no-strip.patch +) + +src_prepare() { + default # re-build configure script since patch was applied to configure.in - cd "${S}"/X11 - mv configure.in configure.ac || die + cd X11 || die eautoreconf - tc-export CC } src_configure() { - local myconf="" - use X || myconf="--without-x" # configure script is broken, cant use use_with - econf ${myconf} + tc-export CC + + econf $(usev !gui --without-x) # configure script is broken, cant use use_with } src_install() { dobin pdv pdvmkpkg doman pdv.1 pdvmkpkg.1 - if use X ; then + if use gui ; then dobin X11/xmpdvmkpkg doman xmpdvmkpkg.1 fi
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/
commit: f00ab836d398d30aacf67304839c84841e63ef14 Author: Matt Turner gentoo org> AuthorDate: Sun Apr 1 23:58:41 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Apr 1 23:58:41 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f00ab836 app-arch/pdv-1.5.1-r3: amd64 stable, bug 649146 app-arch/pdv/pdv-1.5.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pdv/pdv-1.5.1-r3.ebuild b/app-arch/pdv/pdv-1.5.1-r3.ebuild index cf30d73ea16..719b7152eeb 100644 --- a/app-arch/pdv/pdv-1.5.1-r3.ebuild +++ b/app-arch/pdv/pdv-1.5.1-r3.ebuild @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa ppc ~x86 ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~hppa ppc ~x86 ~x86-linux ~ppc-macos" IUSE="X" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/
commit: 0668eddb49051476930ebd62ef1840ce2af4be19 Author: Matt Turner gentoo org> AuthorDate: Sun Apr 1 23:58:42 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Apr 1 23:58:42 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0668eddb app-arch/pdv-1.5.1-r3: x86 stable, bug 649146 app-arch/pdv/pdv-1.5.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pdv/pdv-1.5.1-r3.ebuild b/app-arch/pdv/pdv-1.5.1-r3.ebuild index 719b7152eeb..8b712196c4d 100644 --- a/app-arch/pdv/pdv-1.5.1-r3.ebuild +++ b/app-arch/pdv/pdv-1.5.1-r3.ebuild @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~hppa ppc ~x86 ~x86-linux ~ppc-macos" +KEYWORDS="amd64 ~hppa ppc x86 ~x86-linux ~ppc-macos" IUSE="X" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/
commit: 9aab7089a16272ae38c63a874be6d0cdf5871b04 Author: Matt Turner gentoo org> AuthorDate: Sun Apr 1 23:58:52 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Apr 1 23:58:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aab7089 app-arch/pdv: Drop old Closes: https://bugs.gentoo.org/649146 app-arch/pdv/pdv-1.5.1-r2.ebuild | 56 1 file changed, 56 deletions(-) diff --git a/app-arch/pdv/pdv-1.5.1-r2.ebuild b/app-arch/pdv/pdv-1.5.1-r2.ebuild deleted file mode 100644 index 509ae0fa82c..000 --- a/app-arch/pdv/pdv-1.5.1-r2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils autotools toolchain-funcs - -DESCRIPTION="build a self-extracting and self-installing binary package" -HOMEPAGE="https://sourceforge.net/projects/pdv; -SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~hppa ppc x86 ~x86-linux ~ppc-macos" -IUSE="X" - -DEPEND="X? ( >=x11-libs/motif-2.3:0 - >=x11-libs/libX11-1.0.0 - >=x11-libs/libXt-1.0.0 - >=x11-libs/libXext-1.0.0 - >=x11-libs/libXp-1.0.0 )" -RDEPEND="${DEPEND}" - -src_prepare() { - # fix a size-of-variable bug - epatch "${FILESDIR}"/${P}-opt.patch - # fix a free-before-use bug - epatch "${FILESDIR}"/${P}-early-free.patch - # fix a configure script bug - epatch "${FILESDIR}"/${P}-x-config.patch - # fix default args bug from assuming 'char' is signed - epatch "${FILESDIR}"/${P}-default-args.patch - # prevent pre-stripped binaries - epatch "${FILESDIR}"/${P}-no-strip.patch - - # re-build configure script since patch was applied to configure.in - cd "${S}"/X11 - eautoreconf - tc-export CC -} - -src_configure() { - local myconf="" - use X || myconf="--without-x" # configure script is broken, cant use use_with - econf ${myconf} -} - -src_install() { - dobin pdv pdvmkpkg - doman pdv.1 pdvmkpkg.1 - if use X ; then - dobin X11/xmpdvmkpkg - doman xmpdvmkpkg.1 - fi - dodoc AUTHORS ChangeLog NEWS README pdv.lsm -}
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/
commit: b4035c33bf4ab2fa7076cc083932ae27d9e9a424 Author: Matt Turner gentoo org> AuthorDate: Sun Apr 1 23:45:49 2018 + Commit: Matt Turner gentoo org> CommitDate: Sun Apr 1 23:45:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4035c33 app-arch/pdv-1.5.1-r3: ppc stable, bug 649146 app-arch/pdv/pdv-1.5.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-arch/pdv/pdv-1.5.1-r3.ebuild b/app-arch/pdv/pdv-1.5.1-r3.ebuild index c865fa96798..cf30d73ea16 100644 --- a/app-arch/pdv/pdv-1.5.1-r3.ebuild +++ b/app-arch/pdv/pdv-1.5.1-r3.ebuild @@ -10,7 +10,7 @@ SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-linux ~ppc-macos" +KEYWORDS="~amd64 ~hppa ppc ~x86 ~x86-linux ~ppc-macos" IUSE="X" DEPEND="
[gentoo-commits] repo/gentoo:master commit in: app-arch/pdv/
commit: cf45683b1d89e0cacc023eb13c0cccdb0c9248b6 Author: Pacho Ramos gentoo org> AuthorDate: Thu Mar 1 18:25:58 2018 + Commit: Pacho Ramos gentoo org> CommitDate: Thu Mar 1 18:28:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf45683b app-arch/pdv: x11-libs/libXp is not really needed Package-Manager: Portage-2.3.24, Repoman-2.3.6 app-arch/pdv/pdv-1.5.1-r3.ebuild | 60 1 file changed, 60 insertions(+) diff --git a/app-arch/pdv/pdv-1.5.1-r3.ebuild b/app-arch/pdv/pdv-1.5.1-r3.ebuild new file mode 100644 index 000..c865fa96798 --- /dev/null +++ b/app-arch/pdv/pdv-1.5.1-r3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools toolchain-funcs + +DESCRIPTION="build a self-extracting and self-installing binary package" +HOMEPAGE="https://sourceforge.net/projects/pdv; +SRC_URI="mirror://sourceforge/pdv/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-linux ~ppc-macos" +IUSE="X" + +DEPEND=" + X? ( + >=x11-libs/motif-2.3:0 + >=x11-libs/libX11-1.0.0 + >=x11-libs/libXt-1.0.0 + >=x11-libs/libXext-1.0.0 ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + # fix a size-of-variable bug + eapply "${FILESDIR}"/${P}-opt.patch + # fix a free-before-use bug + eapply "${FILESDIR}"/${P}-early-free.patch + # fix a configure script bug + eapply "${FILESDIR}"/${P}-x-config.patch + # fix default args bug from assuming 'char' is signed + eapply "${FILESDIR}"/${P}-default-args.patch + # prevent pre-stripped binaries + eapply "${FILESDIR}"/${P}-no-strip.patch + + # re-build configure script since patch was applied to configure.in + cd "${S}"/X11 + mv configure.in configure.ac || die + eautoreconf + tc-export CC +} + +src_configure() { + local myconf="" + use X || myconf="--without-x" # configure script is broken, cant use use_with + econf ${myconf} +} + +src_install() { + dobin pdv pdvmkpkg + doman pdv.1 pdvmkpkg.1 + if use X ; then + dobin X11/xmpdvmkpkg + doman xmpdvmkpkg.1 + fi + dodoc AUTHORS ChangeLog NEWS README pdv.lsm +}