[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2024-04-14 Thread Thomas Beierlein
commit: b3260dd091c358118c058ebfe3918083bd975ed7
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Apr 14 13:26:08 2024 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Apr 14 13:29:52 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3260dd0

media-libs/hamlib: Add support for Python 3.12

Closes: https://bugs.gentoo.org/929636
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-4.5.5-r3.ebuild | 101 +++
 1 file changed, 101 insertions(+)

diff --git a/media-libs/hamlib/hamlib-4.5.5-r3.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r3.ebuild
new file mode 100644
index ..208e7e9d4980
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.5-r3.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools flag-o-matic python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.github.io;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2+ GPL-2+"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   dev-lang/swig
+   >=dev-build/libtool-2.2
+   doc? ( app-text/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.5.5-gcc14-fix.patch"
+)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/926839
+   # https://github.com/Hamlib/Hamlib/issues/1524
+   filter-lto
+
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2024-03-14 Thread Sam James
commit: dd7f72eea440a3a10303e9adcf61f1275964ef03
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 14 19:06:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 14 19:20:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd7f72ee

media-libs/hamlib: mark as LTO-unsafe

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

 media-libs/hamlib/hamlib-4.5.5-r1.ebuild | 7 ++-
 media-libs/hamlib/hamlib-4.5.5-r2.ebuild | 7 ++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
index b02816dc92bc..6b9c869d3b30 100644
--- a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..11} )
 MY_P=${P/_rc2/~rc2}
 
-inherit autotools python-single-r1
+inherit autotools flag-o-matic python-single-r1
 
 DESCRIPTION="Ham radio backend rig control libraries"
 HOMEPAGE="https://www.hamlib.github.io;
@@ -60,6 +60,11 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/926839
+   # https://github.com/Hamlib/Hamlib/issues/1524
+   filter-lto
+
econf \
--libdir=/usr/$(get_libdir)/hamlib \
--disable-static \

diff --git a/media-libs/hamlib/hamlib-4.5.5-r2.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
index 8c3f902caed5..025890f30263 100644
--- a/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 PYTHON_COMPAT=( python3_{10..11} )
 MY_P=${P/_rc2/~rc2}
 
-inherit autotools python-single-r1
+inherit autotools flag-o-matic python-single-r1
 
 DESCRIPTION="Ham radio backend rig control libraries"
 HOMEPAGE="https://www.hamlib.github.io;
@@ -64,6 +64,11 @@ src_prepare() {
 }
 
 src_configure() {
+   # -Werror=lto-type-mismatch
+   # https://bugs.gentoo.org/926839
+   # https://github.com/Hamlib/Hamlib/issues/1524
+   filter-lto
+
econf \
--libdir=/usr/$(get_libdir)/hamlib \
--disable-static \



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2024-03-14 Thread Sam James
commit: c69b15bad80f7ff9fbf2d1fb2685332434174e6b
Author: Eli Schwartz  gmail  com>
AuthorDate: Thu Mar 14 18:53:14 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Mar 14 19:20:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c69b15ba

media-libs/hamlib: remove uselessly outdated seds

 * SED: the following did not cause any changes
 * sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" -e 
"s#fix}/include#fix}/include/hamlib#" hamlib.pc.in || die "sed failed";
 * no-op: -e s#fix}/lib#fix}/lib64/hamlib#
 * no-op: -e s#fix}/include#fix}/include/hamlib#

Indeed, in 2017 (version 3.2) these hardcoded directories were fixed:
https://github.com/Hamlib/Hamlib/commit/3709fcb9827d39948fb7b384d2c76caf02de059d

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

 media-libs/hamlib/hamlib-4.5.5-r1.ebuild | 5 -
 media-libs/hamlib/hamlib-4.5.5-r2.ebuild | 5 -
 2 files changed, 10 deletions(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
index 0e7ea573af1e..b02816dc92bc 100644
--- a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
@@ -47,11 +47,6 @@ pkg_setup() {
 src_prepare() {
default
 
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
# Correct install target to whatever INSTALLDIRS says and use vendor
# installdirs everywhere (bug #611550)
sed -i -e "s#install_site#install#" \

diff --git a/media-libs/hamlib/hamlib-4.5.5-r2.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
index 7c6aabd3b754..8c3f902caed5 100644
--- a/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
@@ -51,11 +51,6 @@ pkg_setup() {
 src_prepare() {
default
 
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
# Correct install target to whatever INSTALLDIRS says and use vendor
# installdirs everywhere (bug #611550)
sed -i -e "s#install_site#install#" \



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/files/, media-libs/hamlib/

2024-01-30 Thread Thomas Beierlein
commit: f7eb6f486c17ac0a57e021a0b8ede3fd4c9ef6cc
Author: Brahmajit Das  gmail  com>
AuthorDate: Mon Jan 29 16:44:57 2024 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Jan 30 11:43:09 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7eb6f48

media-libs/hamlib: Fix implicit declaration of function exit

Closes: https://bugs.gentoo.org/923108
Signed-off-by: Brahmajit Das  gmail.com>
Closes: https://bugs.gentoo.org/923108
Closes: https://github.com/gentoo/gentoo/pull/35077
Signed-off-by: Thomas Beierlein  gentoo.org>

 .../hamlib/files/hamlib-4.5.5-gcc14-fix.patch  |  12 +++
 media-libs/hamlib/hamlib-4.5.5-r2.ebuild   | 101 +
 2 files changed, 113 insertions(+)

diff --git a/media-libs/hamlib/files/hamlib-4.5.5-gcc14-fix.patch 
b/media-libs/hamlib/files/hamlib-4.5.5-gcc14-fix.patch
new file mode 100644
index ..35eade8f68e2
--- /dev/null
+++ b/media-libs/hamlib/files/hamlib-4.5.5-gcc14-fix.patch
@@ -0,0 +1,12 @@
+diff --git a/tests/memload.c b/tests/memload.c
+index 6157a08..4f189d0 100644
+--- a/tests/memload.c
 b/tests/memload.c
+@@ -19,6 +19,7 @@
+  */
+ 
+ 
++#include 
+ #include 
+ 
+ #include 

diff --git a/media-libs/hamlib/hamlib-4.5.5-r2.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
new file mode 100644
index ..7c6aabd3b754
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.5-r2.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.github.io;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2+ GPL-2+"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   dev-lang/swig
+   >=dev-build/libtool-2.2
+   doc? ( app-text/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.5.5-gcc14-fix.patch"
+)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2024-01-16 Thread Thomas Beierlein
commit: 1154edebea70d11afb3db443af760b62c32e29f7
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Jan 16 08:47:56 2024 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Jan 16 08:47:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1154edeb

media-libs/hamlib: drop 4.5.5

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-4.5.5.ebuild | 96 ---
 1 file changed, 96 deletions(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5.ebuild 
b/media-libs/hamlib/hamlib-4.5.5.ebuild
deleted file mode 100644
index 9ce02e5c2cda..
--- a/media-libs/hamlib/hamlib-4.5.5.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-MY_P=${P/_rc2/~rc2}
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://www.hamlib.github.io;
-SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="LGPL-2+ GPL-2+"
-SLOT="0/4.2"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=dev-build/libtool-2.2
-   doc? ( app-text/doxygen
-   dev-util/source-highlight )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use python && python_optimize
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2024-01-15 Thread Sam James
commit: dc2d9679a5d233185eaa025e890106da9fcc099a
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 15 18:17:40 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 15 18:17:40 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc2d9679

media-libs/hamlib: Stabilize 4.5.5-r1 amd64, #922171

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

 media-libs/hamlib/hamlib-4.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
index e252b8ca4ee7..ffd471240f45 100644
--- a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="LGPL-2+ GPL-2+"
 SLOT="0/4.2"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2024-01-15 Thread Sam James
commit: 952401a735ee197c474cbcaca97169f35df136ef
Author: Sam James  gentoo  org>
AuthorDate: Mon Jan 15 18:17:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jan 15 18:17:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=952401a7

media-libs/hamlib: Stabilize 4.5.5-r1 x86, #922171

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

 media-libs/hamlib/hamlib-4.5.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
index ffd471240f45..0e7ea573af1e 100644
--- a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
@@ -15,7 +15,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="LGPL-2+ GPL-2+"
 SLOT="0/4.2"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-08-15 Thread Conrad Kostecki
commit: 121fb11d7fef313e9e275dfdc40e804840a6cc89
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Aug 15 15:38:40 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Aug 15 22:41:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=121fb11d

media-libs/hamlib: move DEPEND to BDEPEND

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

 media-libs/hamlib/hamlib-4.5.5-r1.ebuild | 97 
 1 file changed, 97 insertions(+)

diff --git a/media-libs/hamlib/hamlib-4.5.5-r1.ebuild 
b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
new file mode 100644
index ..f6aa86f75387
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.5-r1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.github.io;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="LGPL-2+ GPL-2+"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-08-15 Thread Conrad Kostecki
commit: 71e8926fce93d2aa52406fbb0a1d3985b08634e2
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Aug 15 15:34:55 2023 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Aug 15 22:41:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e8926f

media-libs/hamlib: update HOMEPAGE, fix LICENSE, add github remote-id

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 media-libs/hamlib/hamlib-4.5.5.ebuild | 9 -
 media-libs/hamlib/metadata.xml| 1 +
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5.ebuild 
b/media-libs/hamlib/hamlib-4.5.5.ebuild
index 96af68a967fc..0a7003a9cb26 100644
--- a/media-libs/hamlib/hamlib-4.5.5.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5.ebuild
@@ -9,10 +9,11 @@ MY_P=${P/_rc2/~rc2}
 inherit autotools python-single-r1
 
 DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="http://www.hamlib.org;
+HOMEPAGE="https://www.hamlib.github.io;
 SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
-LICENSE="LGPL-2 GPL-2"
+LICENSE="LGPL-2+ GPL-2+"
 SLOT="0/4.2"
 KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 IUSE="doc perl python tcl"
@@ -27,7 +28,7 @@ RDEPEND="
python? ( ${PYTHON_DEPS} )
tcl? ( dev-lang/tcl:0= )"
 
-DEPEND=" ${RDEPEND}
+DEPEND="${RDEPEND}
virtual/pkgconfig
dev-lang/swig
>=sys-devel/libtool-2.2
@@ -38,8 +39,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
 
-S="${WORKDIR}/${MY_P}"
-
 pkg_setup() {
use python && python-single-r1_pkg_setup
 }

diff --git a/media-libs/hamlib/metadata.xml b/media-libs/hamlib/metadata.xml
index 18a56ea21ff4..1cb8e6ea9822 100644
--- a/media-libs/hamlib/metadata.xml
+++ b/media-libs/hamlib/metadata.xml
@@ -7,5 +7,6 @@


hamlib
+   Hamlib/Hamlib

 



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-07-30 Thread Thomas Beierlein
commit: 59b498bdcd17f35acd6e1cc612a8be7383fd8924
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Jul 28 17:35:13 2023 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Jul 30 07:34:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b498bd

media-libs/hamlib: drop 4.5.4

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|  1 -
 media-libs/hamlib/hamlib-4.5.4.ebuild | 97 ---
 2 files changed, 98 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 7f94e4c0029e..bee3703d46c6 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1 @@
-DIST hamlib-4.5.4.tar.gz 2598483 BLAKE2B 
7f9654d6aa8c241e58dfdcd4d1967cb0d2415f9cd7a06de68f0ec0e837442db4fd373cfcd08406afca6d6c6c71435358bc5d31969fb0569dea5853b4f3d4f38e
 SHA512 
882fb517a3e5854cdaad506520e96c7736214fe27d1ac053f0510e3c5c08e1bf40217442f519d1c4be92e3d05135c7bd90bc0d60f334f52994e69b2ce9d3f442
 DIST hamlib-4.5.5.tar.gz 2603846 BLAKE2B 
ad4a286a7aa1e972707cb9ed15a4268909a7d252a64b98b01d35c9d9e42c605cd600e819e195e49d501c1e135191fda585581e27801fa217c9141236a81ad770
 SHA512 
2cdff2630e89fa95c7ac40e998492e8a04e000fcca18b9491ddcb967927ffaa771ed2e6ac3232a060947883533a6ae7405042a2f8fdb1de157d71f74381f5899

diff --git a/media-libs/hamlib/hamlib-4.5.4.ebuild 
b/media-libs/hamlib/hamlib-4.5.4.ebuild
deleted file mode 100644
index 96af68a967fc..
--- a/media-libs/hamlib/hamlib-4.5.4.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-MY_P=${P/_rc2/~rc2}
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="http://www.hamlib.org;
-SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0/4.2"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen
-   dev-util/source-highlight )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use python && python_optimize
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-06-10 Thread Sam James
commit: d0a6ee184553afb28eed462f84a975c33de60d91
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 10 13:34:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 10 13:35:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a6ee18

media-libs/hamlib: Stabilize 4.5.5 amd64, #908226

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

 media-libs/hamlib/hamlib-4.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5.ebuild 
b/media-libs/hamlib/hamlib-4.5.5.ebuild
index 082c329ab9e6..96af68a967fc 100644
--- a/media-libs/hamlib/hamlib-4.5.5.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-06-10 Thread Sam James
commit: a92b7bc56542380cd114af0b2bfef86dcef2ec2f
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 10 13:34:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 10 13:35:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a92b7bc5

media-libs/hamlib: Stabilize 4.5.5 x86, #908226

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

 media-libs/hamlib/hamlib-4.5.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.5.5.ebuild 
b/media-libs/hamlib/hamlib-4.5.5.ebuild
index cc3babe21d69..082c329ab9e6 100644
--- a/media-libs/hamlib/hamlib-4.5.5.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.5.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-04-16 Thread Thomas Beierlein
commit: 692f7bec3a069420ac6d7ab9fb16718e1a77fdbb
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Apr 16 15:20:42 2023 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Apr 16 15:22:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=692f7bec

media-libs/hamlib: add 4.5.5

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|  1 +
 media-libs/hamlib/hamlib-4.5.5.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 425f7bb3083e..7f94e4c0029e 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1 +1,2 @@
 DIST hamlib-4.5.4.tar.gz 2598483 BLAKE2B 
7f9654d6aa8c241e58dfdcd4d1967cb0d2415f9cd7a06de68f0ec0e837442db4fd373cfcd08406afca6d6c6c71435358bc5d31969fb0569dea5853b4f3d4f38e
 SHA512 
882fb517a3e5854cdaad506520e96c7736214fe27d1ac053f0510e3c5c08e1bf40217442f519d1c4be92e3d05135c7bd90bc0d60f334f52994e69b2ce9d3f442
+DIST hamlib-4.5.5.tar.gz 2603846 BLAKE2B 
ad4a286a7aa1e972707cb9ed15a4268909a7d252a64b98b01d35c9d9e42c605cd600e819e195e49d501c1e135191fda585581e27801fa217c9141236a81ad770
 SHA512 
2cdff2630e89fa95c7ac40e998492e8a04e000fcca18b9491ddcb967927ffaa771ed2e6ac3232a060947883533a6ae7405042a2f8fdb1de157d71f74381f5899

diff --git a/media-libs/hamlib/hamlib-4.5.5.ebuild 
b/media-libs/hamlib/hamlib-4.5.5.ebuild
new file mode 100644
index ..cc3babe21d69
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.5.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/files/, media-libs/hamlib/

2023-02-16 Thread Thomas Beierlein
commit: 8d46f4f82f127c3fb83db4709380a675d10a1a9e
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Feb 16 16:08:10 2023 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Feb 16 16:08:10 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d46f4f8

media-libs/hamlib: drop 4.4, 4.5.3

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest |   2 -
 .../files/hamlib-4.4-fix-clang-warnings.patch  | 191 -
 media-libs/hamlib/files/hamlib-4.4-slibtool.patch  |  73 
 media-libs/hamlib/hamlib-4.4.ebuild| 102 ---
 media-libs/hamlib/hamlib-4.5.3.ebuild  |  97 ---
 5 files changed, 465 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 25ce0be5f8d6..425f7bb3083e 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,3 +1 @@
-DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
-DIST hamlib-4.5.3.tar.gz 2590200 BLAKE2B 
7c06a20a1185a2e413fee56231f3e0f6aa77a7585b9853896b00abb773e2e23fc5e97a8a3fbb873528282756ee674b1ca5b2b14f0fe8e6b9b8e8f7e8ffa223f2
 SHA512 
be3b58c7276c1289d85b4dc9054016757200fde06d66116f7a1687442e53bf322f0a3ae974c9b784cbd0bff0c64b901b97fac74184f4b4a0fdf1f5079d0ea509
 DIST hamlib-4.5.4.tar.gz 2598483 BLAKE2B 
7f9654d6aa8c241e58dfdcd4d1967cb0d2415f9cd7a06de68f0ec0e837442db4fd373cfcd08406afca6d6c6c71435358bc5d31969fb0569dea5853b4f3d4f38e
 SHA512 
882fb517a3e5854cdaad506520e96c7736214fe27d1ac053f0510e3c5c08e1bf40217442f519d1c4be92e3d05135c7bd90bc0d60f334f52994e69b2ce9d3f442

diff --git a/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch 
b/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch
deleted file mode 100644
index 832af50e0e6c..
--- a/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch
+++ /dev/null
@@ -1,191 +0,0 @@
-From 1aebee2da9d29ff1d1a16e19f23bbff4e0f319a8 Mon Sep 17 00:00:00 2001
-From: Mike Black W9MDB 
-Date: Mon, 14 Nov 2022 16:37:20 -0600
-Subject: [PATCH 1/2] Fix clang warning on callback functions
- https://github.com/Hamlib/Hamlib/issues/1149
-

- include/hamlib/rig.h |  4 +++-
- rigs/aor/aor.c   |  4 ++--
- src/mem.c| 15 ---
- tests/testcaps.sh| 12 
- 4 files changed, 25 insertions(+), 10 deletions(-)
- create mode 100755 tests/testcaps.sh
-
-diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h
-index 574c21bd..5dbb5a7b 100644
 a/include/hamlib/rig.h
-+++ b/include/hamlib/rig.h
-@@ -1675,7 +1675,7 @@ typedef struct cal_table_float cal_table_float_t;
- //! @cond Doxygen_Suppress
- #define EMPTY_FLOAT_CAL { 0, { { 0, 0f }, } }
- 
--typedef int (* chan_cb_t)(RIG *, channel_t **, int, const chan_t *, 
rig_ptr_t);
-+typedef int (* chan_cb_t)(RIG *, vfo_t vfo, channel_t **, int, const chan_t 
*, rig_ptr_t);
- typedef int (* confval_cb_t)(RIG *,
-  const struct confparams *,
-  value_t *,
-@@ -2024,10 +2024,12 @@ struct rig_caps {
- int (*get_chan_all_cb)(RIG *rig, vfo_t vfo, chan_cb_t chan_cb, rig_ptr_t);
- 
- int (*set_mem_all_cb)(RIG *rig,
-+  vfo_t vfo,
-   chan_cb_t chan_cb,
-   confval_cb_t parm_cb,
-   rig_ptr_t);
- int (*get_mem_all_cb)(RIG *rig,
-+  vfo_t vfo,
-   chan_cb_t chan_cb,
-   confval_cb_t parm_cb,
-   rig_ptr_t);
-diff --git a/rigs/aor/aor.c b/rigs/aor/aor.c
-index ad4331d9..3f69d723 100644
 a/rigs/aor/aor.c
-+++ b/rigs/aor/aor.c
-@@ -1364,7 +1364,7 @@ int aor_get_chan_all_cb(RIG *rig, vfo_t vfo, chan_cb_t 
chan_cb, rig_ptr_t arg)
-  * future data for channel channel_num
-  */
- chan = NULL;
--retval = chan_cb(rig, , chan_next, chan_list, arg);
-+retval = chan_cb(rig, vfo, , chan_next, chan_list, arg);
- 
- if (retval != RIG_OK)
- {
-@@ -1414,7 +1414,7 @@ int aor_get_chan_all_cb(RIG *rig, vfo_t vfo, chan_cb_t 
chan_cb, rig_ptr_t arg)
-  * provide application with channel data,
-  * and ask for a new channel structure
-  */
--chan_cb(rig, , chan_next, chan_list, arg);
-+chan_cb(rig, vfo, , chan_next, chan_list, arg);
- 
- if (j >= LINES_PER_MA - 1)
- {
-diff --git a/src/mem.c b/src/mem.c
-index 8aa51e57..a6d72e59 100644
 a/src/mem.c
-+++ b/src/mem.c
-@@ -954,7 +954,7 @@ int get_chan_all_cb_generic(RIG *rig, vfo_t vfo, chan_cb_t 
chan_cb,
-  * future data for channel channel_num
-  */
- chan = NULL;
--   

[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-02-16 Thread Sam James
commit: 2719a0b0acab70cbad7aa6ad649cabf894d368ce
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 10:01:06 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 10:01:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2719a0b0

media-libs/hamlib: Stabilize 4.5.4 amd64, #894580

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

 media-libs/hamlib/hamlib-4.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.5.4.ebuild 
b/media-libs/hamlib/hamlib-4.5.4.ebuild
index cc3babe21d69..cd73212c38b5 100644
--- a/media-libs/hamlib/hamlib-4.5.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-02-16 Thread Sam James
commit: 402fe1d57df065e75fb7308c51cea1cc7954ef4b
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 16 10:01:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 16 10:01:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=402fe1d5

media-libs/hamlib: Stabilize 4.5.4 x86, #894580

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

 media-libs/hamlib/hamlib-4.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.5.4.ebuild 
b/media-libs/hamlib/hamlib-4.5.4.ebuild
index cd73212c38b5..96af68a967fc 100644
--- a/media-libs/hamlib/hamlib-4.5.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-01-13 Thread Thomas Beierlein
commit: 90febe47b16a6eefa24b56412305ed5164db1b65
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Jan 13 18:10:06 2023 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Jan 13 18:10:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90febe47

media-libs/hamlib: add 4.5.4

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|  1 +
 media-libs/hamlib/hamlib-4.5.4.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index bce411fa3727..25ce0be5f8d6 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1,3 @@
 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
 DIST hamlib-4.5.3.tar.gz 2590200 BLAKE2B 
7c06a20a1185a2e413fee56231f3e0f6aa77a7585b9853896b00abb773e2e23fc5e97a8a3fbb873528282756ee674b1ca5b2b14f0fe8e6b9b8e8f7e8ffa223f2
 SHA512 
be3b58c7276c1289d85b4dc9054016757200fde06d66116f7a1687442e53bf322f0a3ae974c9b784cbd0bff0c64b901b97fac74184f4b4a0fdf1f5079d0ea509
+DIST hamlib-4.5.4.tar.gz 2598483 BLAKE2B 
7f9654d6aa8c241e58dfdcd4d1967cb0d2415f9cd7a06de68f0ec0e837442db4fd373cfcd08406afca6d6c6c71435358bc5d31969fb0569dea5853b4f3d4f38e
 SHA512 
882fb517a3e5854cdaad506520e96c7736214fe27d1ac053f0510e3c5c08e1bf40217442f519d1c4be92e3d05135c7bd90bc0d60f334f52994e69b2ce9d3f442

diff --git a/media-libs/hamlib/hamlib-4.5.4.ebuild 
b/media-libs/hamlib/hamlib-4.5.4.ebuild
new file mode 100644
index ..c09e460664c0
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.4.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-01-03 Thread Thomas Beierlein
commit: e4b75196b40c712b7aa1c776564dcbec419d765e
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Jan  3 15:19:10 2023 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Jan  3 15:20:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b75196

media-libs/hamlib: drop 4.5, 4.5.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|   2 -
 media-libs/hamlib/hamlib-4.5.1.ebuild |  97 
 media-libs/hamlib/hamlib-4.5.ebuild   | 101 --
 3 files changed, 200 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 7a18497ef0b7..bce411fa3727 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,4 +1,2 @@
 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
-DIST hamlib-4.5.1.tar.gz 2588713 BLAKE2B 
11b45fe82adc0bedfabed1847589ee67fe3612c8b2c34e0c91bbf33b237f2992c97ab266687f7173767bf01db81747ea1b710af0bd3fdb3aa5c4035190d35ceb
 SHA512 
3fbfa18f3f04890eb0bb2ffef5347ffc3759fa276d613785a0e585dd3613837db4461eb79bf7e3794f6ce33dcae8a4357b3f27c8be44a9d838fcb82cb0a60753
 DIST hamlib-4.5.3.tar.gz 2590200 BLAKE2B 
7c06a20a1185a2e413fee56231f3e0f6aa77a7585b9853896b00abb773e2e23fc5e97a8a3fbb873528282756ee674b1ca5b2b14f0fe8e6b9b8e8f7e8ffa223f2
 SHA512 
be3b58c7276c1289d85b4dc9054016757200fde06d66116f7a1687442e53bf322f0a3ae974c9b784cbd0bff0c64b901b97fac74184f4b4a0fdf1f5079d0ea509
-DIST hamlib-4.5.tar.gz 2568061 BLAKE2B 
6ccb0c1faf8f64453c3696e75ced413048e7705184c7755fdde200be1d9b17f5495427ba492317cf7e75b5f373b859840d1d364db1f057c28f7779f8284fd96a
 SHA512 
671da06aed54951ca810b4de7291a16de3a2f6ed54b8d024d4d9bfed9dfc6a21336c3cadd6f5b128c3ab54f1edd2b22db491b074b7759b9dfd9e71e1ce4055f3

diff --git a/media-libs/hamlib/hamlib-4.5.1.ebuild 
b/media-libs/hamlib/hamlib-4.5.1.ebuild
deleted file mode 100644
index a519e701d933..
--- a/media-libs/hamlib/hamlib-4.5.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-MY_P=${P/_rc2/~rc2}
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="http://www.hamlib.org;
-SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0/4.2"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen
-   dev-util/source-highlight )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   default
-
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use python && python_optimize
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-
-   find "${ED}" -name '*.la' -delete || die
-}

diff --git a/media-libs/hamlib/hamlib-4.5.ebuild 
b/media-libs/hamlib/hamlib-4.5.ebuild
deleted file mode 100644
index 18a7511241b4..
--- 

[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-01-03 Thread Thomas Beierlein
commit: 3319964bf4ad35f16a3f21494bc5845b19a5
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Jan  3 15:20:04 2023 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Jan  3 15:20:36 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3319964b

media-libs/hamlib: Add support for Python_3.11

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-4.5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.5.3.ebuild 
b/media-libs/hamlib/hamlib-4.5.3.ebuild
index 1b172b2c2880..c09e460664c0 100644
--- a/media-libs/hamlib/hamlib-4.5.3.ebuild
+++ b/media-libs/hamlib/hamlib-4.5.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 MY_P=${P/_rc2/~rc2}
 
 inherit autotools python-single-r1



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2023-01-02 Thread Thomas Beierlein
commit: 91e905cd85af3d6c8195e817320eae31f2f1dd40
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Jan  2 16:36:13 2023 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Jan  2 16:37:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e905cd

media-libs/hamlib: add 4.5.3

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|  1 +
 media-libs/hamlib/hamlib-4.5.3.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 5d5553ba9f2c..7a18497ef0b7 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,3 +1,4 @@
 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
 DIST hamlib-4.5.1.tar.gz 2588713 BLAKE2B 
11b45fe82adc0bedfabed1847589ee67fe3612c8b2c34e0c91bbf33b237f2992c97ab266687f7173767bf01db81747ea1b710af0bd3fdb3aa5c4035190d35ceb
 SHA512 
3fbfa18f3f04890eb0bb2ffef5347ffc3759fa276d613785a0e585dd3613837db4461eb79bf7e3794f6ce33dcae8a4357b3f27c8be44a9d838fcb82cb0a60753
+DIST hamlib-4.5.3.tar.gz 2590200 BLAKE2B 
7c06a20a1185a2e413fee56231f3e0f6aa77a7585b9853896b00abb773e2e23fc5e97a8a3fbb873528282756ee674b1ca5b2b14f0fe8e6b9b8e8f7e8ffa223f2
 SHA512 
be3b58c7276c1289d85b4dc9054016757200fde06d66116f7a1687442e53bf322f0a3ae974c9b784cbd0bff0c64b901b97fac74184f4b4a0fdf1f5079d0ea509
 DIST hamlib-4.5.tar.gz 2568061 BLAKE2B 
6ccb0c1faf8f64453c3696e75ced413048e7705184c7755fdde200be1d9b17f5495427ba492317cf7e75b5f373b859840d1d364db1f057c28f7779f8284fd96a
 SHA512 
671da06aed54951ca810b4de7291a16de3a2f6ed54b8d024d4d9bfed9dfc6a21336c3cadd6f5b128c3ab54f1edd2b22db491b074b7759b9dfd9e71e1ce4055f3

diff --git a/media-libs/hamlib/hamlib-4.5.3.ebuild 
b/media-libs/hamlib/hamlib-4.5.3.ebuild
new file mode 100644
index ..1b172b2c2880
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.3.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-12-21 Thread Thomas Beierlein
commit: 397769163d6801cd3d397a92db88eb7bb8a4ab0f
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Dec 21 13:15:50 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Dec 21 13:15:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39776916

media-libs/hamlib: add 4.5.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|  1 +
 media-libs/hamlib/hamlib-4.5.1.ebuild | 97 +++
 2 files changed, 98 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index cc75d348a2cd..5d5553ba9f2c 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1,3 @@
 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
+DIST hamlib-4.5.1.tar.gz 2588713 BLAKE2B 
11b45fe82adc0bedfabed1847589ee67fe3612c8b2c34e0c91bbf33b237f2992c97ab266687f7173767bf01db81747ea1b710af0bd3fdb3aa5c4035190d35ceb
 SHA512 
3fbfa18f3f04890eb0bb2ffef5347ffc3759fa276d613785a0e585dd3613837db4461eb79bf7e3794f6ce33dcae8a4357b3f27c8be44a9d838fcb82cb0a60753
 DIST hamlib-4.5.tar.gz 2568061 BLAKE2B 
6ccb0c1faf8f64453c3696e75ced413048e7705184c7755fdde200be1d9b17f5495427ba492317cf7e75b5f373b859840d1d364db1f057c28f7779f8284fd96a
 SHA512 
671da06aed54951ca810b4de7291a16de3a2f6ed54b8d024d4d9bfed9dfc6a21336c3cadd6f5b128c3ab54f1edd2b22db491b074b7759b9dfd9e71e1ce4055f3

diff --git a/media-libs/hamlib/hamlib-4.5.1.ebuild 
b/media-libs/hamlib/hamlib-4.5.1.ebuild
new file mode 100644
index ..a519e701d933
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-11-27 Thread Thomas Beierlein
commit: 8c18989043e64bca88f79a76954ed8d0c9906a05
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Nov 27 09:11:19 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Nov 27 09:12:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c189890

media-libs/hamlib: add 4.5

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |   1 +
 media-libs/hamlib/hamlib-4.5.ebuild | 101 
 2 files changed, 102 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 784d5e34f9f6..cc75d348a2cd 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1 +1,2 @@
 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b
+DIST hamlib-4.5.tar.gz 2568061 BLAKE2B 
6ccb0c1faf8f64453c3696e75ced413048e7705184c7755fdde200be1d9b17f5495427ba492317cf7e75b5f373b859840d1d364db1f057c28f7779f8284fd96a
 SHA512 
671da06aed54951ca810b4de7291a16de3a2f6ed54b8d024d4d9bfed9dfc6a21336c3cadd6f5b128c3ab54f1edd2b22db491b074b7759b9dfd9e71e1ce4055f3

diff --git a/media-libs/hamlib/hamlib-4.5.ebuild 
b/media-libs/hamlib/hamlib-4.5.ebuild
new file mode 100644
index ..18a7511241b4
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.5.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.4-fix-clang-warnings.patch" # 880961
+)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   default
+
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/files/, media-libs/hamlib/

2022-11-16 Thread Thomas Beierlein
commit: 573dae0ef553e180e7f5c85a333adce34237f59b
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Nov 17 07:06:09 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Nov 17 07:09:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=573dae0e

media-libs/hamlib: fix CLANG warnings

Backported from Hamlib repo i
(see https://github.com/Hamlib/Hamlib/issues/1149)

Closes: https://bugs.gentoo.org/880961
Signed-off-by: Thomas Beierlein  gentoo.org>

 .../files/hamlib-4.4-fix-clang-warnings.patch  | 191 +
 media-libs/hamlib/hamlib-4.4.ebuild|   1 +
 2 files changed, 192 insertions(+)

diff --git a/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch 
b/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch
new file mode 100644
index ..832af50e0e6c
--- /dev/null
+++ b/media-libs/hamlib/files/hamlib-4.4-fix-clang-warnings.patch
@@ -0,0 +1,191 @@
+From 1aebee2da9d29ff1d1a16e19f23bbff4e0f319a8 Mon Sep 17 00:00:00 2001
+From: Mike Black W9MDB 
+Date: Mon, 14 Nov 2022 16:37:20 -0600
+Subject: [PATCH 1/2] Fix clang warning on callback functions
+ https://github.com/Hamlib/Hamlib/issues/1149
+
+---
+ include/hamlib/rig.h |  4 +++-
+ rigs/aor/aor.c   |  4 ++--
+ src/mem.c| 15 ---
+ tests/testcaps.sh| 12 
+ 4 files changed, 25 insertions(+), 10 deletions(-)
+ create mode 100755 tests/testcaps.sh
+
+diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h
+index 574c21bd..5dbb5a7b 100644
+--- a/include/hamlib/rig.h
 b/include/hamlib/rig.h
+@@ -1675,7 +1675,7 @@ typedef struct cal_table_float cal_table_float_t;
+ //! @cond Doxygen_Suppress
+ #define EMPTY_FLOAT_CAL { 0, { { 0, 0f }, } }
+ 
+-typedef int (* chan_cb_t)(RIG *, channel_t **, int, const chan_t *, 
rig_ptr_t);
++typedef int (* chan_cb_t)(RIG *, vfo_t vfo, channel_t **, int, const chan_t 
*, rig_ptr_t);
+ typedef int (* confval_cb_t)(RIG *,
+  const struct confparams *,
+  value_t *,
+@@ -2024,10 +2024,12 @@ struct rig_caps {
+ int (*get_chan_all_cb)(RIG *rig, vfo_t vfo, chan_cb_t chan_cb, rig_ptr_t);
+ 
+ int (*set_mem_all_cb)(RIG *rig,
++  vfo_t vfo,
+   chan_cb_t chan_cb,
+   confval_cb_t parm_cb,
+   rig_ptr_t);
+ int (*get_mem_all_cb)(RIG *rig,
++  vfo_t vfo,
+   chan_cb_t chan_cb,
+   confval_cb_t parm_cb,
+   rig_ptr_t);
+diff --git a/rigs/aor/aor.c b/rigs/aor/aor.c
+index ad4331d9..3f69d723 100644
+--- a/rigs/aor/aor.c
 b/rigs/aor/aor.c
+@@ -1364,7 +1364,7 @@ int aor_get_chan_all_cb(RIG *rig, vfo_t vfo, chan_cb_t 
chan_cb, rig_ptr_t arg)
+  * future data for channel channel_num
+  */
+ chan = NULL;
+-retval = chan_cb(rig, , chan_next, chan_list, arg);
++retval = chan_cb(rig, vfo, , chan_next, chan_list, arg);
+ 
+ if (retval != RIG_OK)
+ {
+@@ -1414,7 +1414,7 @@ int aor_get_chan_all_cb(RIG *rig, vfo_t vfo, chan_cb_t 
chan_cb, rig_ptr_t arg)
+  * provide application with channel data,
+  * and ask for a new channel structure
+  */
+-chan_cb(rig, , chan_next, chan_list, arg);
++chan_cb(rig, vfo, , chan_next, chan_list, arg);
+ 
+ if (j >= LINES_PER_MA - 1)
+ {
+diff --git a/src/mem.c b/src/mem.c
+index 8aa51e57..a6d72e59 100644
+--- a/src/mem.c
 b/src/mem.c
+@@ -954,7 +954,7 @@ int get_chan_all_cb_generic(RIG *rig, vfo_t vfo, chan_cb_t 
chan_cb,
+  * future data for channel channel_num
+  */
+ chan = NULL;
+-retval = chan_cb(rig, , chan_list[i].startc, chan_list, arg);
++retval = chan_cb(rig, vfo, , chan_list[i].startc, chan_list, 
arg);
+ 
+ if (retval != RIG_OK)
+ {
+@@ -995,7 +995,7 @@ int get_chan_all_cb_generic(RIG *rig, vfo_t vfo, chan_cb_t 
chan_cb,
+ 
+ chan_next = j < chan_list[i].endc ? j + 1 : j;
+ 
+-chan_cb(rig, , chan_next, chan_list, arg);
++chan_cb(rig, vfo, , chan_next, chan_list, arg);
+ }
+ }
+ 
+@@ -1016,7 +1016,7 @@ int set_chan_all_cb_generic(RIG *rig, vfo_t vfo, 
chan_cb_t chan_cb,
+ for (j = chan_list[i].startc; j <= chan_list[i].endc; j++)
+ {
+ 
+-chan_cb(rig, , j, chan_list, arg);
++chan_cb(rig, vfo, , j, chan_list, arg);
+ chan->vfo = RIG_VFO_MEM;
+ 
+ retval = rig_set_channel(rig, vfo, chan);
+@@ -1044,6 +1044,7 @@ struct map_all_s
+  * chan_cb_t to be used for non cb get/set_all
+  */
+ static int map_chan(RIG *rig,
++vfo_t vfo,
+ channel_t **chan,
+ int channel_num,
+ const chan_t *chan_list,
+@@ -1343,7 +1344,7 @@ int HAMLIB_API 

[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-11-16 Thread Thomas Beierlein
commit: 22c0bcaa71a17ddf52bc2be680bcf4aaee092c76
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Nov 17 07:04:43 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Nov 17 07:09:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22c0bcaa

media-libs/hamlib: drop 4.3.1

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|  1 -
 media-libs/hamlib/hamlib-4.3.1.ebuild | 97 ---
 2 files changed, 98 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 6e041160e129..784d5e34f9f6 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1 @@
-DIST hamlib-4.3.1.tar.gz 2356944 BLAKE2B 
c803d253c867303cbde98b6f2e10f610aac111b7bd81fd343e1396cb86384b1c26942e5ccb8e395e073f9aa3d48e6f9edc1b64da14b2ec5ca09f98fbd3dee667
 SHA512 
8dee4676a19de7ac1ef733a4285b76e918f11aad6594d0557d36df295faf04c615e0993edb2f9ed5e7aea718c184603fec831caf28b75026c705f0b2e4b9eca7
 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b

diff --git a/media-libs/hamlib/hamlib-4.3.1.ebuild 
b/media-libs/hamlib/hamlib-4.3.1.ebuild
deleted file mode 100644
index 905bf3bb1fd3..
--- a/media-libs/hamlib/hamlib-4.3.1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{7..10} )
-MY_P=${P/_rc2/~rc2}
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="http://www.hamlib.org;
-SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0/4.2"
-KEYWORDS="amd64 x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen
-   dev-util/source-highlight )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use python && python_optimize
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-05-08 Thread Thomas Beierlein
commit: d0a1f37810069a8c50bdb3644ab8469a52639fcc
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun May  8 11:29:13 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun May  8 11:30:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a1f378

media-libs/hamlib: Drop not needed *.la files

Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-4.3.1.ebuild | 4 +++-
 media-libs/hamlib/hamlib-4.4.ebuild   | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.3.1.ebuild 
b/media-libs/hamlib/hamlib-4.3.1.ebuild
index ab42e282b753..905bf3bb1fd3 100644
--- a/media-libs/hamlib/hamlib-4.3.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -92,4 +92,6 @@ src_install() {
 
echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
 }

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index 64e2839ee422..7a49e5967232 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -96,4 +96,6 @@ src_install() {
 
echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
doenvd "${T}"/73hamlib
+
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/, media-libs/hamlib/files/

2022-05-08 Thread Thomas Beierlein
commit: 9c8d77147db9d81b4125433ea3c66b7380f20c74
Author: orbea  riseup  net>
AuthorDate: Sat May  7 03:59:18 2022 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun May  8 09:55:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c8d7714

media-libs/hamlib: Fix USE=tcl with slibtool

Bug: https://bugs.gentoo.org/798273
Upstream-PR: https://github.com/Hamlib/Hamlib/pull/1023
Upstream-commit: 4fa9a211adbc ("bindings: Fix tcl build with slibtool")
Signed-off-by: orbea  riseup.net>
Bug: https://bugs.gentoo.org/798273
Closes: https://github.com/gentoo/gentoo/pull/25363
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/files/hamlib-4.4-slibtool.patch | 73 +++
 media-libs/hamlib/hamlib-4.4.ebuild   |  8 ++-
 2 files changed, 79 insertions(+), 2 deletions(-)

diff --git a/media-libs/hamlib/files/hamlib-4.4-slibtool.patch 
b/media-libs/hamlib/files/hamlib-4.4-slibtool.patch
new file mode 100644
index ..140534e744b0
--- /dev/null
+++ b/media-libs/hamlib/files/hamlib-4.4-slibtool.patch
@@ -0,0 +1,73 @@
+From 4fa9a211adbcb1ae9329db41c27854af70f39d64 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Fri, 6 May 2022 17:13:36 -0700
+Subject: [PATCH] bindings: Fix tcl build with slibtool
+
+---
+ bindings/Makefile.am |  3 ++-
+ configure.ac | 16 
+ macros/tcl.m4|  1 +
+ 3 files changed, 15 insertions(+), 5 deletions(-)
+
+diff --git a/bindings/Makefile.am b/bindings/Makefile.am
+index f9f17d567..7e2647945 100644
+--- a/bindings/Makefile.am
 b/bindings/Makefile.am
+@@ -149,8 +149,9 @@ PKG_VER = $(ABI_VERSION).$(ABI_REVISION)
+ DLL = hamlibtcl-$(PKG_VER)$(TCL_SHLIB_SUFFIX)
+ 
+ nodist_hamlibtcl_la_SOURCES = hamlibtcl_wrap.c
++hamlibtcl_la_CFLAGS = $(TCL_CFLAGS)
+ hamlibtcl_la_LDFLAGS = -no-undefined -module -release $(PKG_VER) 
-avoid-version
+-hamlibtcl_la_LIBADD = $(top_builddir)/src/libhamlib.la $(TCL_LIB_SPEC)
++hamlibtcl_la_LIBADD = $(top_builddir)/src/libhamlib.la $(TCL_LIB_SPEC) 
$(TCL_LIBS)
+ 
+ hamlibtcl_ladir = $(tcldir)
+ hamlibtcl_la_DATA = pkgIndex.tcl
+diff --git a/configure.ac b/configure.ac
+index f58eb0925..ab6e120f7 100644
+--- a/configure.ac
 b/configure.ac
+@@ -589,11 +589,16 @@ AC_ARG_WITH([tcl-binding],
+ [build_tcl=no])
+ AC_MSG_RESULT([$build_tcl])
+ 
+-dnl SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG from macros/tcl.m4
++dnl tcl.pc or SC_PATH_TCLCONFIG and SC_LOAD_TCLCONFIG from macros/tcl.m4
+ AS_IF([test x"${build_tcl}" = "xyes"],[
+-dnl Search for and load tclConfig.sh.
+-SC_PATH_TCLCONFIG
+-SC_LOAD_TCLCONFIG
++dnl Search for and load tcl.pc or tclConfig.sh.
++PKG_CHECK_MODULES([TCL], [tcl],
++[],
++[
++AC_MSG_WARN([Unable to find Tcl pkgconfig])
++SC_PATH_TCLCONFIG
++SC_LOAD_TCLCONFIG
++])
+ 
+ tcl_save_CPPFLAGS=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS $TCL_INCLUDE_SPEC"
+@@ -617,6 +622,9 @@ AC_SUBST([TCL_VERSION])
+ AC_SUBST([TCL_LIB_SPEC])
+ AC_SUBST([TCL_INCLUDE_SPEC])
+ AC_SUBST([TCL_SHLIB_SUFFIX])
++dnl These variables are set once tcl.pc is found.
++AC_SUBST([TCL_LIBS])
++AC_SUBST([TCL_CFLAGS])
+ 
+ 
+ dnl Check for lua availability, so we can enable HamlibLua
+diff --git a/macros/tcl.m4 b/macros/tcl.m4
+index feed05ce3..c1d308cf4 100644
+--- a/macros/tcl.m4
 b/macros/tcl.m4
+@@ -130,6 +130,7 @@ AC_DEFUN([SC_LOAD_TCLCONFIG], [
+   . $TCL_BIN_DIR/tclConfig.sh
+ else
+ AC_MSG_RESULT([file not found])
++AC_MSG_ERROR([failed to load tclConfig.sh])
+ fi
+ 
+ #

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index 72c4dabac98b..64e2839ee422 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -38,6 +38,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
 
+PATCHES=(
+   "${FILESDIR}/${P}-slibtool.patch" # 798273
+)
+
 S="${WORKDIR}/${MY_P}"
 
 pkg_setup() {
@@ -45,6 +49,8 @@ pkg_setup() {
 }
 
 src_prepare() {
+   default
+
# fix hardcoded libdir paths
sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-e "s#fix}/include#fix}/include/hamlib#" \
@@ -60,8 +66,6 @@ src_prepare() {
sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
 
eautoreconf
-
-   eapply_user
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-04-17 Thread Arthur Zamarin
commit: a6eb174d476fcfc619229e4353e7ffc1adef1a1e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Apr 17 18:35:33 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Apr 17 18:35:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6eb174d

media-libs/hamlib: Keyword 4.4 arm, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/hamlib/hamlib-4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index e29daf2b83f0..72c4dabac98b 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="amd64 ~arm64 ~riscv x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-04-12 Thread Jakov Smolić
commit: 4d617fa0786991235cebba3107e69a83467d17b1
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Apr 12 21:17:48 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Apr 12 21:17:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d617fa0

media-libs/hamlib: Keyword 4.4 riscv, #838070

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/hamlib/hamlib-4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index fe40c60c8889..e29daf2b83f0 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm64 ~riscv x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-04-12 Thread Arthur Zamarin
commit: 4c6850b94b33a77fde13068b08a7393977f620c5
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Apr 12 18:44:26 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Apr 12 18:44:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c6850b9

media-libs/hamlib: Keyword 4.4 arm64, #838070

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-libs/hamlib/hamlib-4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index 1cc6e90cd16f..fe40c60c8889 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm64 x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-01-29 Thread Sam James
commit: ef8b82a0ca7c82473f810968d8e22864a313c3f9
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 29 18:49:54 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 29 18:49:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef8b82a0

media-libs/hamlib: Stabilize 4.4 amd64, #832335

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

 media-libs/hamlib/hamlib-4.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index b741ce89b037..97752742fb65 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2022-01-29 Thread Sam James
commit: 70970c8c89ea252c1e481b24d1c73a296604359b
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 29 18:49:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 29 18:49:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70970c8c

media-libs/hamlib: Stabilize 4.4 x86, #832335

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

 media-libs/hamlib/hamlib-4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index 97752742fb65..1cc6e90cd16f 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-12-06 Thread Thomas Beierlein
commit: d9bf97290e0b04abf378ab246a8d5b7a72bff338
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec  7 06:50:10 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec  7 06:50:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9bf9729

media-libs/hamlib: Drop old

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 -
 media-libs/hamlib/hamlib-4.2.ebuild | 94 -
 2 files changed, 95 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 985a81dd4f2c..6e041160e129 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,3 +1,2 @@
-DIST hamlib-4.2.tar.gz 2311775 BLAKE2B 
4fe8d3e6d489369aede1a4cd59f01be44a7787ca71c21c5b92d43c67de68013f488834d0f57238e6a947c24cd5b4c6c667397dec30392f1cccd695df252e
 SHA512 
08ccf4e592fbae938ae1aaa5afede7e2e6ec7d23b449a65b00e093502f4aeb36930624f055d9802349f77df9dd2b7b983aa44d83f8c62a6de5789e7df627f804
 DIST hamlib-4.3.1.tar.gz 2356944 BLAKE2B 
c803d253c867303cbde98b6f2e10f610aac111b7bd81fd343e1396cb86384b1c26942e5ccb8e395e073f9aa3d48e6f9edc1b64da14b2ec5ca09f98fbd3dee667
 SHA512 
8dee4676a19de7ac1ef733a4285b76e918f11aad6594d0557d36df295faf04c615e0993edb2f9ed5e7aea718c184603fec831caf28b75026c705f0b2e4b9eca7
 DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b

diff --git a/media-libs/hamlib/hamlib-4.2.ebuild 
b/media-libs/hamlib/hamlib-4.2.ebuild
deleted file mode 100644
index c26283d90ea6..
--- a/media-libs/hamlib/hamlib-4.2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-MY_P=${P/_rc2/~rc2}
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://www.hamlib.org;
-SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0/4.2"
-KEYWORDS="amd64 x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use python && python_optimize
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-12-04 Thread Thomas Beierlein
commit: 242908c501876d9b7927050a81151069f65fb1d2
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Dec  4 08:32:58 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Dec  4 08:34:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=242908c5

media-libs/hamlib: Fix missing build dep for USE=doc

Closes: https://bugs.gentoo.org/828107
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-4.3.1.ebuild | 3 ++-
 media-libs/hamlib/hamlib-4.4.ebuild   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/hamlib/hamlib-4.3.1.ebuild 
b/media-libs/hamlib/hamlib-4.3.1.ebuild
index 352e4991f6ce..ab42e282b753 100644
--- a/media-libs/hamlib/hamlib-4.3.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.3.1.ebuild
@@ -31,7 +31,8 @@ DEPEND=" ${RDEPEND}
virtual/pkgconfig
dev-lang/swig
>=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
index f7d9f12e8a35..b741ce89b037 100644
--- a/media-libs/hamlib/hamlib-4.4.ebuild
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -31,7 +31,8 @@ DEPEND=" ${RDEPEND}
virtual/pkgconfig
dev-lang/swig
>=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
+   doc? ( app-doc/doxygen
+   dev-util/source-highlight )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-12-03 Thread Thomas Beierlein
commit: 231e21ff2ea467553ece8eee7f37f0d43ed89ada
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Dec  3 17:58:27 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Dec  3 17:58:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=231e21ff

media-libs/hamlib: Version bump

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-4.4.ebuild | 94 +
 2 files changed, 95 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 625133f7cba8..985a81dd4f2c 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1,3 @@
 DIST hamlib-4.2.tar.gz 2311775 BLAKE2B 
4fe8d3e6d489369aede1a4cd59f01be44a7787ca71c21c5b92d43c67de68013f488834d0f57238e6a947c24cd5b4c6c667397dec30392f1cccd695df252e
 SHA512 
08ccf4e592fbae938ae1aaa5afede7e2e6ec7d23b449a65b00e093502f4aeb36930624f055d9802349f77df9dd2b7b983aa44d83f8c62a6de5789e7df627f804
 DIST hamlib-4.3.1.tar.gz 2356944 BLAKE2B 
c803d253c867303cbde98b6f2e10f610aac111b7bd81fd343e1396cb86384b1c26942e5ccb8e395e073f9aa3d48e6f9edc1b64da14b2ec5ca09f98fbd3dee667
 SHA512 
8dee4676a19de7ac1ef733a4285b76e918f11aad6594d0557d36df295faf04c615e0993edb2f9ed5e7aea718c184603fec831caf28b75026c705f0b2e4b9eca7
+DIST hamlib-4.4.tar.gz 2401399 BLAKE2B 
4256b5b4374c62ef4fb957d29deda95aa9d15a8b52b81c5db1c07f3ebbf4c8e48c6c082769cef82c8457b3f813ac00ef7a37136615747f2c93e5275a112891e7
 SHA512 
37366ba180031de34da447c3d4e0086f156b893f57b5ab9bbc38b8e1f4bf9310fa1a9eb2a6d7884f1f11900dbdb811b4071e023aba571ea0ac5d07ddb122bf7b

diff --git a/media-libs/hamlib/hamlib-4.4.ebuild 
b/media-libs/hamlib/hamlib-4.4.ebuild
new file mode 100644
index ..f7d9f12e8a35
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.4.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-11-11 Thread Jakov Smolić
commit: c4408cf64bb04d725b7732346a9e1dbe00039135
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Nov 11 18:54:38 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Nov 11 18:54:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4408cf6

media-libs/hamlib: Stabilize 4.3.1 x86, #823119

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/hamlib/hamlib-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.3.1.ebuild 
b/media-libs/hamlib/hamlib-4.3.1.ebuild
index 74ebbb3c3dd..352e4991f6c 100644
--- a/media-libs/hamlib/hamlib-4.3.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-11-11 Thread Jakov Smolić
commit: d363da502e0b62612131add0571ca084d15977a3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Nov 11 17:57:18 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Nov 11 17:57:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d363da50

media-libs/hamlib: Stabilize 4.3.1 amd64, #823119

Signed-off-by: Jakov Smolić  gentoo.org>

 media-libs/hamlib/hamlib-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.3.1.ebuild 
b/media-libs/hamlib/hamlib-4.3.1.ebuild
index f7d9f12e8a3..74ebbb3c3dd 100644
--- a/media-libs/hamlib/hamlib-4.3.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-09-18 Thread Thomas Beierlein
commit: 99564dc2827a0d81627edb88dd68306391ce06c4
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Sep 18 14:51:24 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Sep 18 14:51:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99564dc2

media-libs/hamlib: Version bump

* Bump to EAPI8
* Fix HOMEPAGE (https:// is not supported)

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest|  1 +
 media-libs/hamlib/hamlib-4.3.1.ebuild | 94 +++
 2 files changed, 95 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index feb6931a589..625133f7cba 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1 +1,2 @@
 DIST hamlib-4.2.tar.gz 2311775 BLAKE2B 
4fe8d3e6d489369aede1a4cd59f01be44a7787ca71c21c5b92d43c67de68013f488834d0f57238e6a947c24cd5b4c6c667397dec30392f1cccd695df252e
 SHA512 
08ccf4e592fbae938ae1aaa5afede7e2e6ec7d23b449a65b00e093502f4aeb36930624f055d9802349f77df9dd2b7b983aa44d83f8c62a6de5789e7df627f804
+DIST hamlib-4.3.1.tar.gz 2356944 BLAKE2B 
c803d253c867303cbde98b6f2e10f610aac111b7bd81fd343e1396cb86384b1c26942e5ccb8e395e073f9aa3d48e6f9edc1b64da14b2ec5ca09f98fbd3dee667
 SHA512 
8dee4676a19de7ac1ef733a4285b76e918f11aad6594d0557d36df295faf04c615e0993edb2f9ed5e7aea718c184603fec831caf28b75026c705f0b2e4b9eca7

diff --git a/media-libs/hamlib/hamlib-4.3.1.ebuild 
b/media-libs/hamlib/hamlib-4.3.1.ebuild
new file mode 100644
index 000..f7d9f12e8a3
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.3.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7..10} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-09-18 Thread Thomas Beierlein
commit: 6c47af4b0ee55cde2de39efd447beb5f572b2c37
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Sep 18 14:49:47 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Sep 18 14:49:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c47af4b

media-libs/hamlib: Drop old

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 -
 media-libs/hamlib/hamlib-4.1.ebuild | 94 -
 2 files changed, 95 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 5c3d50cf665..feb6931a589 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1 @@
-DIST hamlib-4.1.tar.gz 2260629 BLAKE2B 
e53249f476005f3ec8afcbba6d875d913cdc45eb741fdb8b8718c1c5bda9cf8d50087165b72055600bc9ff364117f7d72235a3d68a9fb0882a77a6fdbf366605
 SHA512 
a5fca5dc89a7408628bc77fe22c6d8c77474b3dabee7b2b6d0b280becb6cb63f5619e4a620ad11aeb81b8412145b0f8cb0291a2d4cd3751c643cb1709b2dfa78
 DIST hamlib-4.2.tar.gz 2311775 BLAKE2B 
4fe8d3e6d489369aede1a4cd59f01be44a7787ca71c21c5b92d43c67de68013f488834d0f57238e6a947c24cd5b4c6c667397dec30392f1cccd695df252e
 SHA512 
08ccf4e592fbae938ae1aaa5afede7e2e6ec7d23b449a65b00e093502f4aeb36930624f055d9802349f77df9dd2b7b983aa44d83f8c62a6de5789e7df627f804

diff --git a/media-libs/hamlib/hamlib-4.1.ebuild 
b/media-libs/hamlib/hamlib-4.1.ebuild
deleted file mode 100644
index c8e30755a90..000
--- a/media-libs/hamlib/hamlib-4.1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-MY_P=${P/_rc2/~rc2}
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://www.hamlib.org;
-SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0/4"
-KEYWORDS="amd64 x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
-
-S="${WORKDIR}/${MY_P}"
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use python && python_optimize
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-08-05 Thread Sam James
commit: 522a74f9c2c89abf12c2e3d903bbde6009f5d348
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug  5 14:06:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug  5 14:06:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522a74f9

media-libs/hamlib: Stabilize 4.2 x86, #804942

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

 media-libs/hamlib/hamlib-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.2.ebuild 
b/media-libs/hamlib/hamlib-4.2.ebuild
index cba5841bd76..c26283d90ea 100644
--- a/media-libs/hamlib/hamlib-4.2.ebuild
+++ b/media-libs/hamlib/hamlib-4.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-08-03 Thread Agostino Sarubbo
commit: ae547d1e720403d4e1f215f86f6228aece25227d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug  3 12:35:28 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug  3 12:35:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae547d1e

media-libs/hamlib: amd64 stable wrt bug #804942

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/hamlib/hamlib-4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.2.ebuild 
b/media-libs/hamlib/hamlib-4.2.ebuild
index a1babce2a0e..cba5841bd76 100644
--- a/media-libs/hamlib/hamlib-4.2.ebuild
+++ b/media-libs/hamlib/hamlib-4.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4.2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-06-23 Thread Thomas Beierlein
commit: 108c5996b25c0f0e7b78d7784343dd2bb1d4515c
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Jun 24 05:46:28 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Jun 24 05:46:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=108c5996

media-libs/hamlib: Version bump

Closes: https://bugs.gentoo.org/796866
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-4.2.ebuild | 94 +
 2 files changed, 95 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index b6f546e6b23..5c3d50cf665 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1 +1,2 @@
 DIST hamlib-4.1.tar.gz 2260629 BLAKE2B 
e53249f476005f3ec8afcbba6d875d913cdc45eb741fdb8b8718c1c5bda9cf8d50087165b72055600bc9ff364117f7d72235a3d68a9fb0882a77a6fdbf366605
 SHA512 
a5fca5dc89a7408628bc77fe22c6d8c77474b3dabee7b2b6d0b280becb6cb63f5619e4a620ad11aeb81b8412145b0f8cb0291a2d4cd3751c643cb1709b2dfa78
+DIST hamlib-4.2.tar.gz 2311775 BLAKE2B 
4fe8d3e6d489369aede1a4cd59f01be44a7787ca71c21c5b92d43c67de68013f488834d0f57238e6a947c24cd5b4c6c667397dec30392f1cccd695df252e
 SHA512 
08ccf4e592fbae938ae1aaa5afede7e2e6ec7d23b449a65b00e093502f4aeb36930624f055d9802349f77df9dd2b7b983aa44d83f8c62a6de5789e7df627f804

diff --git a/media-libs/hamlib/hamlib-4.2.ebuild 
b/media-libs/hamlib/hamlib-4.2.ebuild
new file mode 100644
index 000..a1babce2a0e
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0/4.2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/files/

2021-05-29 Thread Thomas Beierlein
commit: 2edcdac342151bc6741d165a0a11eee894a27fbf
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu May 27 19:00:31 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat May 29 18:05:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2edcdac3

media-libs/hamlib: remove unused patch(es)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/21011
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/files/hamlib-3.3-format-security.patch | 14 --
 1 file changed, 14 deletions(-)

diff --git a/media-libs/hamlib/files/hamlib-3.3-format-security.patch 
b/media-libs/hamlib/files/hamlib-3.3-format-security.patch
deleted file mode 100644
index bbf2de1d17d..000
--- a/media-libs/hamlib/files/hamlib-3.3-format-security.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-# Fixes build error with format-securety (bug #714682)
-diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c
-index 44308cc..aab1300 100644
 a/tests/rotctl_parse.c
-+++ b/tests/rotctl_parse.c
-@@ -1009,7 +1009,7 @@ int rotctl_parse(ROT *my_rot, FILE *fin, FILE *fout, 
char *argv[], int argc)
- /* The starting position of the source string is the first
-  * character past the initial '\'.
-  */
--snprintf(cmd_name, sizeof(cmd_name), parsed_input[0] + 1);
-+snprintf(cmd_name, sizeof(cmd_name), "%s", parsed_input[0] + 1);
- 
- /* Sanity check as valid multiple character commands consist of
-  * alpha-numeric characters and the underscore ('_') character.



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-05-26 Thread Thomas Beierlein
commit: baedd3bf9729930ce49ea730acdcbf2d8f2151b1
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed May 26 17:01:46 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed May 26 17:01:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=baedd3bf

media-libs/hamlib: Drop old

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest |  1 -
 media-libs/hamlib/hamlib-3.3-r1.ebuild | 93 --
 2 files changed, 94 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 16d141d57b9..b6f546e6b23 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1 @@
-DIST hamlib-3.3.tar.gz 2192119 BLAKE2B 
edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd
 SHA512 
4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80
 DIST hamlib-4.1.tar.gz 2260629 BLAKE2B 
e53249f476005f3ec8afcbba6d875d913cdc45eb741fdb8b8718c1c5bda9cf8d50087165b72055600bc9ff364117f7d72235a3d68a9fb0882a77a6fdbf366605
 SHA512 
a5fca5dc89a7408628bc77fe22c6d8c77474b3dabee7b2b6d0b280becb6cb63f5619e4a620ad11aeb81b8412145b0f8cb0291a2d4cd3751c643cb1709b2dfa78

diff --git a/media-libs/hamlib/hamlib-3.3-r1.ebuild 
b/media-libs/hamlib/hamlib-3.3-r1.ebuild
deleted file mode 100644
index 556650e6662..000
--- a/media-libs/hamlib/hamlib-3.3-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://www.hamlib.org;
-SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz;
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PATCHES=( "${FILESDIR}"/hamlib-3.3-format-security.patch )
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-
-   eapply "${PATCHES}"
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-04-22 Thread Sam James
commit: ad7bfd582aed32723fe3150bbfc49c25b4253e7d
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 22 12:09:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 22 12:11:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad7bfd58

media-libs/hamlib: Stabilize 4.1 x86, #784905

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

 media-libs/hamlib/hamlib-4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.1.ebuild 
b/media-libs/hamlib/hamlib-4.1.ebuild
index 22379aee048..c8e30755a90 100644
--- a/media-libs/hamlib/hamlib-4.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-04-22 Thread Sam James
commit: 9f56e11ba66754dbe9c0025614fa246c1a8731c3
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 22 12:06:59 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 22 12:08:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f56e11b

media-libs/hamlib: Stabilize 4.1 amd64, #784905

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

 media-libs/hamlib/hamlib-4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.1.ebuild 
b/media-libs/hamlib/hamlib-4.1.ebuild
index 0e74ee1e6b9..22379aee048 100644
--- a/media-libs/hamlib/hamlib-4.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0/4"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-03-11 Thread Thomas Beierlein
commit: a72721de728c1f52640269acca845ec7e9967d74
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Mar 11 14:29:39 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Mar 11 14:38:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a72721de

media-libs/hamlib: Drop old

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  2 -
 media-libs/hamlib/hamlib-4.0.ebuild | 91 ---
 media-libs/hamlib/hamlib-4.0_rc2.ebuild | 94 -
 3 files changed, 187 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 3d635aa925f..16d141d57b9 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,4 +1,2 @@
 DIST hamlib-3.3.tar.gz 2192119 BLAKE2B 
edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd
 SHA512 
4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80
-DIST hamlib-4.0.tar.gz 2242857 BLAKE2B 
458a5cadc36f8f434fefc73b6230b08c858a741a685805e8d8ab1e2bd74aef9667d6b3d006aa493516830a6fc8af19e77b4d92736198bb920797aecfac605f41
 SHA512 
6c097f503d1050dca4e5ab9091cd9885f8db8b0e4b2fb26af570f1871f2da713ac3fe10e3629d20ebfc2927768555ad277e68cc38821f4a905900b8d3a5ba8c9
-DIST hamlib-4.0~rc2.tar.gz 2188867 BLAKE2B 
02df21910266e47c99e3cd72fc815ed75b9b5f50b29b9a94aa6fc5ddac73b1a09d16caa0d5e4be71bfe44e1940b853a0a8e1303f23fbacf003da18eed198531c
 SHA512 
6d192bbb1c98e76fdfd1dd6bde1d0fd8b668243332827ae609e7bb4a93a3fed9fda0b12363638f5e9df65d65fd2305dfd493bd37a99aca2f2bd5b0861e948d5b
 DIST hamlib-4.1.tar.gz 2260629 BLAKE2B 
e53249f476005f3ec8afcbba6d875d913cdc45eb741fdb8b8718c1c5bda9cf8d50087165b72055600bc9ff364117f7d72235a3d68a9fb0882a77a6fdbf366605
 SHA512 
a5fca5dc89a7408628bc77fe22c6d8c77474b3dabee7b2b6d0b280becb6cb63f5619e4a620ad11aeb81b8412145b0f8cb0291a2d4cd3751c643cb1709b2dfa78

diff --git a/media-libs/hamlib/hamlib-4.0.ebuild 
b/media-libs/hamlib/hamlib-4.0.ebuild
deleted file mode 100644
index 5d4e7ef486e..000
--- a/media-libs/hamlib/hamlib-4.0.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://www.hamlib.org;
-SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz;
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use python && python_optimize
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-}

diff --git a/media-libs/hamlib/hamlib-4.0_rc2.ebuild 
b/media-libs/hamlib/hamlib-4.0_rc2.ebuild
deleted file mode 100644
index a3b8c853065..000
--- a/media-libs/hamlib/hamlib-4.0_rc2.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 

[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-03-11 Thread Thomas Beierlein
commit: 18f90cc4645b8ff4e3c32349239be7f63dea749b
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Thu Mar 11 14:37:37 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Thu Mar 11 14:38:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f90cc4

media-libs/hamlib: Add Subslot for >=media-radio/hamlib-4.1

Closes: https://bugs.gentoo.org/774885
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.1.ebuild 
b/media-libs/hamlib/hamlib-4.1.ebuild
index d5550a87ae9..0e74ee1e6b9 100644
--- a/media-libs/hamlib/hamlib-4.1.ebuild
+++ b/media-libs/hamlib/hamlib-4.1.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://www.hamlib.org;
 SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
-SLOT="0"
+SLOT="0/4"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc perl python tcl"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2021-02-06 Thread Thomas Beierlein
commit: 2fcd5cb20a83a06f434a9d78da259757caa0c443
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Feb  6 12:18:49 2021 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Feb  6 12:18:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fcd5cb2

media-libs/hamlib: Version bump

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-4.1.ebuild | 94 +
 2 files changed, 95 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 6c406fe1edd..3d635aa925f 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,3 +1,4 @@
 DIST hamlib-3.3.tar.gz 2192119 BLAKE2B 
edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd
 SHA512 
4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80
 DIST hamlib-4.0.tar.gz 2242857 BLAKE2B 
458a5cadc36f8f434fefc73b6230b08c858a741a685805e8d8ab1e2bd74aef9667d6b3d006aa493516830a6fc8af19e77b4d92736198bb920797aecfac605f41
 SHA512 
6c097f503d1050dca4e5ab9091cd9885f8db8b0e4b2fb26af570f1871f2da713ac3fe10e3629d20ebfc2927768555ad277e68cc38821f4a905900b8d3a5ba8c9
 DIST hamlib-4.0~rc2.tar.gz 2188867 BLAKE2B 
02df21910266e47c99e3cd72fc815ed75b9b5f50b29b9a94aa6fc5ddac73b1a09d16caa0d5e4be71bfe44e1940b853a0a8e1303f23fbacf003da18eed198531c
 SHA512 
6d192bbb1c98e76fdfd1dd6bde1d0fd8b668243332827ae609e7bb4a93a3fed9fda0b12363638f5e9df65d65fd2305dfd493bd37a99aca2f2bd5b0861e948d5b
+DIST hamlib-4.1.tar.gz 2260629 BLAKE2B 
e53249f476005f3ec8afcbba6d875d913cdc45eb741fdb8b8718c1c5bda9cf8d50087165b72055600bc9ff364117f7d72235a3d68a9fb0882a77a6fdbf366605
 SHA512 
a5fca5dc89a7408628bc77fe22c6d8c77474b3dabee7b2b6d0b280becb6cb63f5619e4a620ad11aeb81b8412145b0f8cb0291a2d4cd3751c643cb1709b2dfa78

diff --git a/media-libs/hamlib/hamlib-4.1.ebuild 
b/media-libs/hamlib/hamlib-4.1.ebuild
new file mode 100644
index 000..d5550a87ae9
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-12-29 Thread Thomas Beierlein
commit: 22b1c29102e7bd9b6d4902c9afec9dd47513f02c
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Dec 29 17:54:50 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Dec 29 17:55:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22b1c291

media-libs/hamlib: Major version bump

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-4.0.ebuild | 91 +
 2 files changed, 92 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 04a2aeab276..6c406fe1edd 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1,3 @@
 DIST hamlib-3.3.tar.gz 2192119 BLAKE2B 
edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd
 SHA512 
4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80
+DIST hamlib-4.0.tar.gz 2242857 BLAKE2B 
458a5cadc36f8f434fefc73b6230b08c858a741a685805e8d8ab1e2bd74aef9667d6b3d006aa493516830a6fc8af19e77b4d92736198bb920797aecfac605f41
 SHA512 
6c097f503d1050dca4e5ab9091cd9885f8db8b0e4b2fb26af570f1871f2da713ac3fe10e3629d20ebfc2927768555ad277e68cc38821f4a905900b8d3a5ba8c9
 DIST hamlib-4.0~rc2.tar.gz 2188867 BLAKE2B 
02df21910266e47c99e3cd72fc815ed75b9b5f50b29b9a94aa6fc5ddac73b1a09d16caa0d5e4be71bfe44e1940b853a0a8e1303f23fbacf003da18eed198531c
 SHA512 
6d192bbb1c98e76fdfd1dd6bde1d0fd8b668243332827ae609e7bb4a93a3fed9fda0b12363638f5e9df65d65fd2305dfd493bd37a99aca2f2bd5b0861e948d5b

diff --git a/media-libs/hamlib/hamlib-4.0.ebuild 
b/media-libs/hamlib/hamlib-4.0.ebuild
new file mode 100644
index 000..d52c7828e6a
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.org;
+SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz;
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-12-16 Thread Thomas Beierlein
commit: ad33f60b536990183f7458fea3f5ddeb96b6a46c
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Dec 16 19:11:17 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Dec 16 19:11:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad33f60b

media-libs/hamlib: Add python3_9 support

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-3.3-r1.ebuild  | 2 +-
 media-libs/hamlib/hamlib-4.0_rc2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/hamlib/hamlib-3.3-r1.ebuild 
b/media-libs/hamlib/hamlib-3.3-r1.ebuild
index f5ac9c6a534..d7cbdeb49d3 100644
--- a/media-libs/hamlib/hamlib-3.3-r1.ebuild
+++ b/media-libs/hamlib/hamlib-3.3-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit autotools python-single-r1
 

diff --git a/media-libs/hamlib/hamlib-4.0_rc2.ebuild 
b/media-libs/hamlib/hamlib-4.0_rc2.ebuild
index 78dd7f26161..fc481e0478c 100644
--- a/media-libs/hamlib/hamlib-4.0_rc2.ebuild
+++ b/media-libs/hamlib/hamlib-4.0_rc2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 MY_P=${P/_rc2/~rc2}
 
 inherit autotools python-single-r1



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-12-04 Thread Thomas Beierlein
commit: 4e5b236de59d74229c0e7090969c3b9b24a4314f
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Fri Dec  4 17:22:51 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Fri Dec  4 17:22:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e5b236d

media-libs/hamlib: Drop old

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-3.3.ebuild | 93 -
 1 file changed, 93 deletions(-)

diff --git a/media-libs/hamlib/hamlib-3.3.ebuild 
b/media-libs/hamlib/hamlib-3.3.ebuild
deleted file mode 100644
index e1f23ef7bc6..000
--- a/media-libs/hamlib/hamlib-3.3.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit autotools python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://www.hamlib.org;
-SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz;
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-PATCHES=( "${FILESDIR}"/hamlib-3.3-format-security.patch )
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-
-   eapply "${PATCHES}"
-
-   eapply_user
-}
-
-src_configure() {
-   econf \
-   --libdir=/usr/$(get_libdir)/hamlib \
-   --disable-static \
-   --with-xml-support \
-   $(use_with perl perl-binding) \
-   $(use_with python python-binding) \
-   $(use_with tcl tcl-binding)
-}
-
-src_compile() {
-   emake
-   use doc && emake html
-}
-
-src_install() {
-   emake DESTDIR="${D}" install
-
-   use doc && HTML_DOCS=( doc/html/ )
-   einstalldocs
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-12-02 Thread Mikle Kolyada
commit: 913b913ecd37399676c7a8d9b3660470808b9689
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Wed Dec  2 14:24:30 2020 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Wed Dec  2 14:24:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=913b913e

media-libs/hamlib: Stabilize 3.3-r1 amd64, #757636

Signed-off-by: Mikle Kolyada  gentoo.org>

 media-libs/hamlib/hamlib-3.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.3-r1.ebuild 
b/media-libs/hamlib/hamlib-3.3-r1.ebuild
index 4f81d5e6518..f5ac9c6a534 100644
--- a/media-libs/hamlib/hamlib-3.3-r1.ebuild
+++ b/media-libs/hamlib/hamlib-3.3-r1.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-11-18 Thread Thomas Beierlein
commit: 69edfd9d12114d0f5996d0710aca6f264d7a9812
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Nov 18 19:32:25 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Nov 18 19:33:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69edfd9d

media-libs/hamlib: Add python3.8 support

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-3.3-r1.ebuild | 93 ++
 1 file changed, 93 insertions(+)

diff --git a/media-libs/hamlib/hamlib-3.3-r1.ebuild 
b/media-libs/hamlib/hamlib-3.3-r1.ebuild
new file mode 100644
index 000..fba1a537a60
--- /dev/null
+++ b/media-libs/hamlib/hamlib-3.3-r1.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.org;
+SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz;
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=( "${FILESDIR}"/hamlib-3.3-format-security.patch )
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply "${PATCHES}"
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-10-05 Thread Thomas Beierlein
commit: 2f7ce12df28b767f7999e752bb74908b23d60db2
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Oct  5 16:12:13 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Oct  5 16:13:47 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7ce12d

media-libs/hamlib: Add python3_8 support

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/hamlib-4.0_rc2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-4.0_rc2.ebuild 
b/media-libs/hamlib/hamlib-4.0_rc2.ebuild
index 48f31be1e14..78dd7f26161 100644
--- a/media-libs/hamlib/hamlib-4.0_rc2.ebuild
+++ b/media-libs/hamlib/hamlib-4.0_rc2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7,8} )
 MY_P=${P/_rc2/~rc2}
 
 inherit autotools python-single-r1



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-09-07 Thread Thomas Beierlein
commit: 6ec6d4cad9172c30e4571f458b56bdd90a59de86
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Sep  8 05:55:12 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Sep  8 05:55:12 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ec6d4ca

media-libs/hamlib: Version bump

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-4.0_rc2.ebuild | 94 +
 2 files changed, 95 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 78d16fda5aa..04a2aeab276 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1 +1,2 @@
 DIST hamlib-3.3.tar.gz 2192119 BLAKE2B 
edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd
 SHA512 
4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80
+DIST hamlib-4.0~rc2.tar.gz 2188867 BLAKE2B 
02df21910266e47c99e3cd72fc815ed75b9b5f50b29b9a94aa6fc5ddac73b1a09d16caa0d5e4be71bfe44e1940b853a0a8e1303f23fbacf003da18eed198531c
 SHA512 
6d192bbb1c98e76fdfd1dd6bde1d0fd8b668243332827ae609e7bb4a93a3fed9fda0b12363638f5e9df65d65fd2305dfd493bd37a99aca2f2bd5b0861e948d5b

diff --git a/media-libs/hamlib/hamlib-4.0_rc2.ebuild 
b/media-libs/hamlib/hamlib-4.0_rc2.ebuild
new file mode 100644
index 000..48f31be1e14
--- /dev/null
+++ b/media-libs/hamlib/hamlib-4.0_rc2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+MY_P=${P/_rc2/~rc2}
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.org;
+SRC_URI="mirror://sourceforge/hamlib/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use python && python_optimize
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-05-07 Thread Michał Górny
commit: 5a87862a95ccbf6de4c05c6e27ecd29bd0c08057
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May  7 15:08:11 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May  7 15:08:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a87862a

media-libs/hamlib: Remove py2.7

Signed-off-by: Michał Górny  gentoo.org>

 media-libs/hamlib/hamlib-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.3.ebuild 
b/media-libs/hamlib/hamlib-3.3.ebuild
index 2cde4b103be..e1f23ef7bc6 100644
--- a/media-libs/hamlib/hamlib-3.3.ebuild
+++ b/media-libs/hamlib/hamlib-3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit autotools python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-03-25 Thread Thomas Beierlein
commit: 993328f9995c755b0655e0427c0658234ad74752
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Mar 25 14:10:43 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Mar 25 14:15:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=993328f9

media-libs/hamlib: Drop old

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  2 -
 media-libs/hamlib/hamlib-3.1.ebuild | 87 -
 media-libs/hamlib/hamlib-3.2.ebuild | 87 -
 3 files changed, 176 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 27bbe53cfe0..78d16fda5aa 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,3 +1 @@
-DIST hamlib-3.1.tar.gz 2130615 BLAKE2B 
dbc348d5df04015e1706b6f165496f0b0d9a4f7ce5e5ba6c8589349c1c9c1119ef31e8c3d4ba14666d19f3638bf27ad9b4a566af2fd4054faafc0604b8aeafd0
 SHA512 
befc5c407379e30711bde2affb9c191add6dbb04a36c1309f8771170cf04156c48609a094775638036282e085de6c78d09ef8d2760d69c595471e16e985e0885
-DIST hamlib-3.2.tar.gz 2223125 BLAKE2B 
c9bffa2b4d2aa4b3f9c590276058c159aa1236f22d3f37a063124af09002dc3034a88fd6f1273b5f4562ae22618222ea50c254fb59384bfae778448fe029ef49
 SHA512 
9aec2d361980abafdedf7b80f5b8bcf5b71f4f0c32bbfecebc0a50e6f74eb263ddc5188cf77283ed7361baabedb8364a2ce94a12fdda1bbdfaa0a030f510f224
 DIST hamlib-3.3.tar.gz 2192119 BLAKE2B 
edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd
 SHA512 
4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80

diff --git a/media-libs/hamlib/hamlib-3.1.ebuild 
b/media-libs/hamlib/hamlib-3.1.ebuild
deleted file mode 100644
index 890f0209c90..000
--- a/media-libs/hamlib/hamlib-3.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools-utils eutils multilib python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://sourceforge.net/apps/mediawiki/hamlib;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="doc perl python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   sys-libs/readline:0=
-   perl? ( dev-lang/perl )
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # Correct install target to whatever INSTALLDIRS says and use vendor
-   # installdirs everywhere (bug #611550)
-   sed -i -e "s#install_site#install#" \
-   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
-   bindings/Makefile.am || die "sed failed patching for perl"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --libdir=/usr/$(get_libdir)/hamlib
-   --disable-static
-   --with-xml-support
-   $(use_with perl perl-binding)
-   $(use_with python python-binding)
-   $(use_with tcl tcl-binding)
-   )
-   autotools-utils_src_configure
-}
-
-src_compile() {
-   autotools-utils_src_compile
-   use doc && autotools-utils_src_compile html
-}
-
-src_install() {
-   use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/html/")
-   autotools-utils_src_install
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins "${AUTOTOOLS_BUILD_DIR}"/hamlib.pc
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
-   doenvd "${T}"/73hamlib
-}

diff --git a/media-libs/hamlib/hamlib-3.2.ebuild 
b/media-libs/hamlib/hamlib-3.2.ebuild
deleted file mode 100644
index bdbd7a2b584..000
--- a/media-libs/hamlib/hamlib-3.2.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 python3_6 )
-
-inherit autotools-utils eutils multilib python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"

[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/, media-libs/hamlib/files/

2020-03-25 Thread Thomas Beierlein
commit: c206ece2b4cc4b081a32850bb50af6c5ec3d73bd
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Wed Mar 25 14:14:44 2020 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Wed Mar 25 14:15:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c206ece2

media-libs/hamlib: Fix build error with -Werror=format-security

Closes: https://bugs.gentoo.org/714682
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/files/hamlib-3.3-format-security.patch | 14 ++
 media-libs/hamlib/hamlib-3.3.ebuild  |  4 
 2 files changed, 18 insertions(+)

diff --git a/media-libs/hamlib/files/hamlib-3.3-format-security.patch 
b/media-libs/hamlib/files/hamlib-3.3-format-security.patch
new file mode 100644
index 000..bbf2de1d17d
--- /dev/null
+++ b/media-libs/hamlib/files/hamlib-3.3-format-security.patch
@@ -0,0 +1,14 @@
+# Fixes build error with format-securety (bug #714682)
+diff --git a/tests/rotctl_parse.c b/tests/rotctl_parse.c
+index 44308cc..aab1300 100644
+--- a/tests/rotctl_parse.c
 b/tests/rotctl_parse.c
+@@ -1009,7 +1009,7 @@ int rotctl_parse(ROT *my_rot, FILE *fin, FILE *fout, 
char *argv[], int argc)
+ /* The starting position of the source string is the first
+  * character past the initial '\'.
+  */
+-snprintf(cmd_name, sizeof(cmd_name), parsed_input[0] + 1);
++snprintf(cmd_name, sizeof(cmd_name), "%s", parsed_input[0] + 1);
+ 
+ /* Sanity check as valid multiple character commands consist of
+  * alpha-numeric characters and the underscore ('_') character.

diff --git a/media-libs/hamlib/hamlib-3.3.ebuild 
b/media-libs/hamlib/hamlib-3.3.ebuild
index 7a23ca37f1b..2cde4b103be 100644
--- a/media-libs/hamlib/hamlib-3.3.ebuild
+++ b/media-libs/hamlib/hamlib-3.3.ebuild
@@ -34,6 +34,8 @@ DEPEND=" ${RDEPEND}
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
+PATCHES=( "${FILESDIR}"/hamlib-3.3-format-security.patch )
+
 DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
 
 pkg_setup() {
@@ -57,6 +59,8 @@ src_prepare() {
 
eautoreconf
 
+   eapply "${PATCHES}"
+
eapply_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2020-03-18 Thread Rick Farina
commit: d3bdd625361c57f0b6e537a180256bff5f914cfd
Author: Rick Farina  gentoo  org>
AuthorDate: Wed Mar 18 20:34:12 2020 +
Commit: Rick Farina  gentoo  org>
CommitDate: Wed Mar 18 20:36:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3bdd625

media-libs/hamlib: python3_7

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Rick Farina  gentoo.org>

 media-libs/hamlib/hamlib-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.3.ebuild 
b/media-libs/hamlib/hamlib-3.3.ebuild
index f4a753957eb..7a23ca37f1b 100644
--- a/media-libs/hamlib/hamlib-3.3.ebuild
+++ b/media-libs/hamlib/hamlib-3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
 
 inherit autotools python-single-r1
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2018-12-13 Thread Mikle Kolyada
commit: 80b84a62782d3afdd12b3e11a92b60bb7ced822d
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Dec 13 14:22:30 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Dec 13 14:23:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80b84a62

media-libs/hamlib: amd64 stable wrt bug #672074

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-libs/hamlib/hamlib-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.3.ebuild 
b/media-libs/hamlib/hamlib-3.3.ebuild
index 81acd1872d2..55fcdb8e6b2 100644
--- a/media-libs/hamlib/hamlib-3.3.ebuild
+++ b/media-libs/hamlib/hamlib-3.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~x86-fbsd"
+KEYWORDS="amd64 x86 ~x86-fbsd"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2018-11-27 Thread Thomas Deutschmann
commit: f6073e44b944a0772ae56f433ed1af4da2761cae
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue Nov 27 21:42:24 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue Nov 27 21:55:12 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6073e44

media-libs/hamlib: x86 stable (bug #672074)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 media-libs/hamlib/hamlib-3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.3.ebuild 
b/media-libs/hamlib/hamlib-3.3.ebuild
index fc21384c733..81acd1872d2 100644
--- a/media-libs/hamlib/hamlib-3.3.ebuild
+++ b/media-libs/hamlib/hamlib-3.3.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 x86 ~x86-fbsd"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2018-09-30 Thread Thomas Beierlein
commit: 90adde8c2b2fb3bc1d39459369d85bb025e8eb87
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sun Sep 30 06:52:29 2018 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sun Sep 30 18:55:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90adde8c

media-libs/hamlib: Version bump

Package-Manager: Portage-2.3.50, Repoman-2.3.11
Signed-off-by: Thomas Beierlein  gentoo.org>

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-3.3.ebuild | 89 +
 2 files changed, 90 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 9a564d4b9c0..27bbe53cfe0 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,2 +1,3 @@
 DIST hamlib-3.1.tar.gz 2130615 BLAKE2B 
dbc348d5df04015e1706b6f165496f0b0d9a4f7ce5e5ba6c8589349c1c9c1119ef31e8c3d4ba14666d19f3638bf27ad9b4a566af2fd4054faafc0604b8aeafd0
 SHA512 
befc5c407379e30711bde2affb9c191add6dbb04a36c1309f8771170cf04156c48609a094775638036282e085de6c78d09ef8d2760d69c595471e16e985e0885
 DIST hamlib-3.2.tar.gz 2223125 BLAKE2B 
c9bffa2b4d2aa4b3f9c590276058c159aa1236f22d3f37a063124af09002dc3034a88fd6f1273b5f4562ae22618222ea50c254fb59384bfae778448fe029ef49
 SHA512 
9aec2d361980abafdedf7b80f5b8bcf5b71f4f0c32bbfecebc0a50e6f74eb263ddc5188cf77283ed7361baabedb8364a2ce94a12fdda1bbdfaa0a030f510f224
+DIST hamlib-3.3.tar.gz 2192119 BLAKE2B 
edefd8b8c75876c07fa498c98f7d6760985fdecc477bf6711e948071e45964bf7fdf6705b3172e56951366a7dfb0288e025eab66d3b6436d158649ae53ac39bd
 SHA512 
4cf6c94d0238c8a13aed09413b3f4a027c8ded07f8840cdb2b9d38b39b6395a4a88a8105257015345f6de0658ab8c60292d11a9de3e16a493e153637af630a80

diff --git a/media-libs/hamlib/hamlib-3.3.ebuild 
b/media-libs/hamlib/hamlib-3.3.ebuild
new file mode 100644
index 000..fc21384c733
--- /dev/null
+++ b/media-libs/hamlib/hamlib-3.3.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit autotools python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.org;
+SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz;
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+
+   eapply_user
+}
+
+src_configure() {
+   econf \
+   --libdir=/usr/$(get_libdir)/hamlib \
+   --disable-static \
+   --with-xml-support \
+   $(use_with perl perl-binding) \
+   $(use_with python python-binding) \
+   $(use_with tcl tcl-binding)
+}
+
+src_compile() {
+   emake
+   use doc && emake html
+}
+
+src_install() {
+   emake DESTDIR="${D}" install
+
+   use doc && HTML_DOCS=( doc/html/ )
+   einstalldocs
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins hamlib.pc || die "doins failed"
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib || die "doenvd failed"
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2018-07-09 Thread Mikle Kolyada
commit: 1fe7bb50644a1798580f62e349d7e4e8596759d4
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Mon Jul  9 13:53:50 2018 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Mon Jul  9 13:53:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fe7bb50

media-libs/hamlib: amd64 stable wrt bug #659114

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-libs/hamlib/hamlib-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.2.ebuild 
b/media-libs/hamlib/hamlib-3.2.ebuild
index 5b7abf81949..82d0cf58c42 100644
--- a/media-libs/hamlib/hamlib-3.2.ebuild
+++ b/media-libs/hamlib/hamlib-3.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86 ~x86-fbsd"
+KEYWORDS="amd64 x86 ~x86-fbsd"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2018-07-06 Thread Thomas Deutschmann
commit: a5a2e4c971e47ce8d18e854584deee635e60e4bb
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Jul  6 13:24:21 2018 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Jul  6 13:41:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a2e4c9

media-libs/hamlib: x86 stable (bug #659114)

Package-Manager: Portage-2.3.41, Repoman-2.3.9

 media-libs/hamlib/hamlib-3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.2.ebuild 
b/media-libs/hamlib/hamlib-3.2.ebuild
index eac2786bab6..5b7abf81949 100644
--- a/media-libs/hamlib/hamlib-3.2.ebuild
+++ b/media-libs/hamlib/hamlib-3.2.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 x86 ~x86-fbsd"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2018-04-02 Thread Thomas Beierlein
commit: de4acfb4deb272a2dbd1088cc23e38679915bb4d
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Mon Apr  2 08:39:00 2018 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Mon Apr  2 08:39:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de4acfb4

media-libs/hamlib: Version bump

Package-Manager: Portage-2.3.27, Repoman-2.3.9

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-3.2.ebuild | 88 +
 2 files changed, 89 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index fa6f074d672..9a564d4b9c0 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1 +1,2 @@
 DIST hamlib-3.1.tar.gz 2130615 BLAKE2B 
dbc348d5df04015e1706b6f165496f0b0d9a4f7ce5e5ba6c8589349c1c9c1119ef31e8c3d4ba14666d19f3638bf27ad9b4a566af2fd4054faafc0604b8aeafd0
 SHA512 
befc5c407379e30711bde2affb9c191add6dbb04a36c1309f8771170cf04156c48609a094775638036282e085de6c78d09ef8d2760d69c595471e16e985e0885
+DIST hamlib-3.2.tar.gz 2223125 BLAKE2B 
c9bffa2b4d2aa4b3f9c590276058c159aa1236f22d3f37a063124af09002dc3034a88fd6f1273b5f4562ae22618222ea50c254fb59384bfae778448fe029ef49
 SHA512 
9aec2d361980abafdedf7b80f5b8bcf5b71f4f0c32bbfecebc0a50e6f74eb263ddc5188cf77283ed7361baabedb8364a2ce94a12fdda1bbdfaa0a030f510f224

diff --git a/media-libs/hamlib/hamlib-3.2.ebuild 
b/media-libs/hamlib/hamlib-3.2.ebuild
new file mode 100644
index 000..eac2786bab6
--- /dev/null
+++ b/media-libs/hamlib/hamlib-3.2.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit autotools-utils eutils multilib python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://www.hamlib.org;
+SRC_URI="https://www.github.com/${PN}/${PN}/releases/download/${PVR}/${P}.tar.gz;
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0=
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --libdir=/usr/$(get_libdir)/hamlib
+   --disable-static
+   --with-xml-support
+   $(use_with perl perl-binding)
+   $(use_with python python-binding)
+   $(use_with tcl tcl-binding)
+   --disable-silent-rules
+   )
+   autotools-utils_src_configure
+}
+
+src_compile() {
+   autotools-utils_src_compile
+   use doc && autotools-utils_src_compile html
+}
+
+src_install() {
+   use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/html/")
+   autotools-utils_src_install
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins "${AUTOTOOLS_BUILD_DIR}"/hamlib.pc || die "doins failed"
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib || die "doenvd failed"
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2018-01-09 Thread Thomas Beierlein
commit: 4d29f975711498baffbbf2266a8963536bb12ca8
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Jan  9 17:56:18 2018 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Jan  9 17:56:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d29f975

media-libs/hamlib: Fixes SLOT dep (bug #643850)

Thanks for reporting Daniel Weeks.

Closes: https://bugs.gentoo.org/643850
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 media-libs/hamlib/hamlib-3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/hamlib/hamlib-3.1.ebuild 
b/media-libs/hamlib/hamlib-3.1.ebuild
index 0b62f324895..5d91795318c 100644
--- a/media-libs/hamlib/hamlib-3.1.ebuild
+++ b/media-libs/hamlib/hamlib-3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -21,7 +21,7 @@ RESTRICT="test"
 RDEPEND="
=virtual/libusb-0*
dev-libs/libxml2
-   sys-libs/readline:0
+   sys-libs/readline:0=
perl? ( dev-lang/perl )
python? ( ${PYTHON_DEPS} )
tcl? ( dev-lang/tcl:0= )"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/files/

2017-09-02 Thread Michael Palimaka
commit: 0ee5bde3d2ab4f3d7733cdcae073759f7d234f79
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Aug 30 18:01:25 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sat Sep  2 14:27:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ee5bde3

media-libs/hamlib: remove unused patches

 .../hamlib/files/hamlib-1.2.11-bindings.diff   | 28 --
 .../hamlib/files/hamlib-1.2.15.3-configure.diff| 12 --
 2 files changed, 40 deletions(-)

diff --git a/media-libs/hamlib/files/hamlib-1.2.11-bindings.diff 
b/media-libs/hamlib/files/hamlib-1.2.11-bindings.diff
deleted file mode 100644
index bf92076c7f8..000
--- a/media-libs/hamlib/files/hamlib-1.2.11-bindings.diff
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: bindings/Makefile.am
-# fix tcl install path
-===
 bindings/Makefile.am   (revision 2854)
-+++ bindings/Makefile.am   (working copy)
-@@ -62,7 +62,7 @@
- 
- tcl_ltlib = hamlibtcl.la
- 
--tcldir = $(prefix)/lib/tcl
-+tcldir = @tclpackagedir@/hamlib
- 
- PKG_VER=1.0
- DLL=hamlibtcl-$(PKG_VER)@TCL_SHLIB_SUFFIX@
-Index: configure.ac
-# add macro to determine path to tcl packages
-===
 configure.ac   (revision 2854)
-+++ configure.ac   (working copy)
-@@ -316,6 +316,8 @@
- AC_SUBST(TCL_LIB_SPEC)
- AC_SUBST(TCL_INCLUDE_SPEC)
- AC_SUBST(TCL_SHLIB_SUFFIX)
-+tclpackagedir=`echo $TCL_PACKAGE_PATH | cut -d ' ' -f 1 | sed 
"s,$TCL_PREFIX,\\${prefix},"`
-+AC_SUBST(tclpackagedir)
- 
- # TODO: require "${ac_cv_header_sys_socket_h}" = "no"
- 

diff --git a/media-libs/hamlib/files/hamlib-1.2.15.3-configure.diff 
b/media-libs/hamlib/files/hamlib-1.2.15.3-configure.diff
deleted file mode 100644
index 51a8e85f91d..000
--- a/media-libs/hamlib/files/hamlib-1.2.15.3-configure.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-# Use CXXFLAGS to built c++ components 
 configure.ac.old   2013-01-22 09:20:31.0 +0100
-+++ configure.ac   2013-01-22 09:20:43.0 +0100
-@@ -87,7 +87,7 @@
- ACX_PTHREAD
- if test x"$acx_pthread_ok" = xyes; then
-   CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
--  CXXFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
-+  CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}"
- fi
- 
- AC_SYS_POSIX_TERMIOS()



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2017-03-11 Thread Thomas Beierlein
commit: ecaf5311e2b81d5c41af19c86170c1ba958131f3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Mar 11 19:14:50 2017 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Mar 11 19:14:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecaf5311

media-libs/hamlib: Fix installation for USE=perl (bug #611550).

Thanks Toralf for reporting and Kent\n for pointing out how to fix.

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-libs/hamlib/hamlib-3.1.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/media-libs/hamlib/hamlib-3.1.ebuild 
b/media-libs/hamlib/hamlib-3.1.ebuild
index 2e02c1100b4..0b62f324895 100644
--- a/media-libs/hamlib/hamlib-3.1.ebuild
+++ b/media-libs/hamlib/hamlib-3.1.ebuild
@@ -46,6 +46,12 @@ src_prepare() {
-e "s#fix}/include#fix}/include/hamlib#" \
hamlib.pc.in || die "sed failed"
 
+   # Correct install target to whatever INSTALLDIRS says and use vendor
+   # installdirs everywhere (bug #611550)
+   sed -i -e "s#install_site#install#" \
+   -e 's#MAKEFILE="Hamlib-pl.mk"#MAKEFILE="Hamlib-pl.mk" 
INSTALLDIRS=vendor#' \
+   bindings/Makefile.am || die "sed failed patching for perl"
+
# make building of documentation compatible with autotools-utils
sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
 



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2017-03-11 Thread Thomas Beierlein
commit: f344089e1f895c55f8f4623884221580cd70fdf3
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Mar 11 19:08:37 2017 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Mar 11 19:08:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f344089e

media-libs/hamlib: Drop old

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 media-libs/hamlib/Manifest  |  3 -
 media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild | 86 -
 media-libs/hamlib/hamlib-3.0.1.ebuild   | 82 ---
 media-libs/hamlib/hamlib-3.0.ebuild | 82 ---
 4 files changed, 253 deletions(-)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 985cbbdbbde..85e2cb9b890 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,4 +1 @@
-DIST hamlib-1.2.15.3.tar.gz 1675879 SHA256 
a2ca4549e4fd99d6e5600e354ebcb57502611aa63c6921c1b8a825289833f75e SHA512 
88f9cb8d82d813ac02944def0adf6eada0e4ed1407f60e344d51172462d51ab0c3ddd9cbf9ef8cbd61efba6c4158a77acb7c23b886e174c9a082bf1dd11f5baa
 WHIRLPOOL 
33f8e114d05c778e30c1b634e2494cd3f9d89213ccc58b34b4d195bb4f1c803c5451f54c8e232bf276a1daebe6c0a01bae73a51fa90538fe537d3b5bf4ce91de
-DIST hamlib-3.0.1.tar.gz 2074254 SHA256 
3fec97ea326d02aa8f35834c4af34194a3f544e6212f391397d788c566b44e32 SHA512 
c71d76343092da03dd3bd8470494fe9bd2789597ab3c83a5c98e007c94016c59de21cdbfb461fa6093e27ca8f300cfed65b4ba7e579b3070c6ed0bf6a4de38b2
 WHIRLPOOL 
95b2ac3d692461085009dc3c45a699c106e0a49e4367d138d18238b32444ffc0a160281c146eb53721ff2e4f12daad3262cf4c772bab318a3b20328d84732adb
-DIST hamlib-3.0.tar.gz 2074188 SHA256 
bc16546161a47e21a44a710a40aeb0bce478f112bffcc4f253eb27e150f1c21e SHA512 
16ac66ab91d44c364054aa6ba8292a6538886744d83a83eb0887f55407f836e1d4a402cc7a41576594bea8100c2eefa26bae212f767a68b2a4db7a709166cbd2
 WHIRLPOOL 
31f96037260160e83f376e87f35669cac73772b73d4b50bf78b32893de17d36e02d41d71ab393ac6fa27efbb387a88d71bdc8cb4a7c02c7251b141afea6d82a9
 DIST hamlib-3.1.tar.gz 2130615 SHA256 
682304c3e88ff6ccfd6a5fc28b33bcc95d2d0a54321973fef015ff62570c994e SHA512 
befc5c407379e30711bde2affb9c191add6dbb04a36c1309f8771170cf04156c48609a094775638036282e085de6c78d09ef8d2760d69c595471e16e985e0885
 WHIRLPOOL 
d73b54161cf452db1edcf32d01caccb153ce332682f92ef2e4c6e9092febd801242dd19ffa87626b24d07cc11e4f8745f2872dc900692dd7d1ef759110399c6b

diff --git a/media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild 
b/media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild
deleted file mode 100644
index 4db2846cf74..000
--- a/media-libs/hamlib/hamlib-1.2.15.3-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools-utils eutils multilib python-single-r1
-
-DESCRIPTION="Ham radio backend rig control libraries"
-HOMEPAGE="https://sourceforge.net/apps/mediawiki/hamlib;
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2 GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ~x86-fbsd"
-IUSE="doc python tcl"
-
-RESTRICT="test"
-
-RDEPEND="
-   =virtual/libusb-0*
-   dev-libs/libxml2
-   python? ( ${PYTHON_DEPS} )
-   tcl? ( dev-lang/tcl:0= )"
-
-DEPEND=" ${RDEPEND}
-   virtual/pkgconfig
-   dev-lang/swig
-   >=sys-devel/libtool-2.2
-   doc? ( app-doc/doxygen )"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
-
-pkg_setup() {
-   use python && python-single-r1_pkg_setup
-}
-
-src_prepare() {
-   # fix hardcoded libdir paths
-   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
-   -e "s#fix}/include#fix}/include/hamlib#" \
-   hamlib.pc.in || die "sed failed"
-
-   # make building of documentation compatible with autotools-utils
-   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
-
-   # fix tcl lib path
-   epatch "${FILESDIR}"/${PN}-1.2.11-bindings.diff
-
-   # use CXXFLAGS for building c++ components (bug #453240)
-   epatch "${FILESDIR}"/${P}-configure.diff
-
-   eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --libdir=/usr/$(get_libdir)/hamlib
-   --disable-static
-   --with-rpc-backends
-   --without-perl-binding
-   $(use_with python python-binding)
-   $(use_enable tcl tcl-binding)
-   --disable-silent-rules
-   )
-   autotools-utils_src_configure
-}
-
-src_compile() {
-   autotools-utils_src_compile
-   use doc && autotools-utils_src_compile html
-}
-
-src_install() {
-   use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/html/")
-   autotools-utils_src_install
-
-   insinto /usr/$(get_libdir)/pkgconfig
-   doins "${AUTOTOOLS_BUILD_DIR}"/hamlib.pc || die "doins failed"
-
-   echo "LDPATH=/usr/$(get_libdir)/hamlib" 

[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2017-02-12 Thread Agostino Sarubbo
commit: 2a3e3b86140343caec45ffb2fc8d4982ab21e25a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Feb 12 15:30:38 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Feb 12 15:30:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3e3b86

media-libs/hamlib: amd64 stable wrt bug #609106

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/hamlib/hamlib-3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.1.ebuild 
b/media-libs/hamlib/hamlib-3.1.ebuild
index 3d87ba0276..59892ced80 100644
--- a/media-libs/hamlib/hamlib-3.1.ebuild
+++ b/media-libs/hamlib/hamlib-3.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~x86 ~x86-fbsd"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2017-01-03 Thread Thomas Beierlein
commit: 84f9ad65546b616ce0b4ef538fba80c446108fe7
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Tue Jan  3 10:16:16 2017 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Tue Jan  3 10:16:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84f9ad65

media-libs/hamlib: Version bump

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-3.1.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index dcc0f3f..985cbbd 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1,3 +1,4 @@
 DIST hamlib-1.2.15.3.tar.gz 1675879 SHA256 
a2ca4549e4fd99d6e5600e354ebcb57502611aa63c6921c1b8a825289833f75e SHA512 
88f9cb8d82d813ac02944def0adf6eada0e4ed1407f60e344d51172462d51ab0c3ddd9cbf9ef8cbd61efba6c4158a77acb7c23b886e174c9a082bf1dd11f5baa
 WHIRLPOOL 
33f8e114d05c778e30c1b634e2494cd3f9d89213ccc58b34b4d195bb4f1c803c5451f54c8e232bf276a1daebe6c0a01bae73a51fa90538fe537d3b5bf4ce91de
 DIST hamlib-3.0.1.tar.gz 2074254 SHA256 
3fec97ea326d02aa8f35834c4af34194a3f544e6212f391397d788c566b44e32 SHA512 
c71d76343092da03dd3bd8470494fe9bd2789597ab3c83a5c98e007c94016c59de21cdbfb461fa6093e27ca8f300cfed65b4ba7e579b3070c6ed0bf6a4de38b2
 WHIRLPOOL 
95b2ac3d692461085009dc3c45a699c106e0a49e4367d138d18238b32444ffc0a160281c146eb53721ff2e4f12daad3262cf4c772bab318a3b20328d84732adb
 DIST hamlib-3.0.tar.gz 2074188 SHA256 
bc16546161a47e21a44a710a40aeb0bce478f112bffcc4f253eb27e150f1c21e SHA512 
16ac66ab91d44c364054aa6ba8292a6538886744d83a83eb0887f55407f836e1d4a402cc7a41576594bea8100c2eefa26bae212f767a68b2a4db7a709166cbd2
 WHIRLPOOL 
31f96037260160e83f376e87f35669cac73772b73d4b50bf78b32893de17d36e02d41d71ab393ac6fa27efbb387a88d71bdc8cb4a7c02c7251b141afea6d82a9
+DIST hamlib-3.1.tar.gz 2130615 SHA256 
682304c3e88ff6ccfd6a5fc28b33bcc95d2d0a54321973fef015ff62570c994e SHA512 
befc5c407379e30711bde2affb9c191add6dbb04a36c1309f8771170cf04156c48609a094775638036282e085de6c78d09ef8d2760d69c595471e16e985e0885
 WHIRLPOOL 
d73b54161cf452db1edcf32d01caccb153ce332682f92ef2e4c6e9092febd801242dd19ffa87626b24d07cc11e4f8745f2872dc900692dd7d1ef759110399c6b

diff --git a/media-libs/hamlib/hamlib-3.1.ebuild 
b/media-libs/hamlib/hamlib-3.1.ebuild
new file mode 100644
index ..3d87ba0
--- /dev/null
+++ b/media-libs/hamlib/hamlib-3.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools-utils eutils multilib python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="https://sourceforge.net/apps/mediawiki/hamlib;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --libdir=/usr/$(get_libdir)/hamlib
+   --disable-static
+   --with-xml-support
+   $(use_with perl perl-binding)
+   $(use_with python python-binding)
+   $(use_with tcl tcl-binding)
+   --disable-silent-rules
+   )
+   autotools-utils_src_configure
+}
+
+src_compile() {
+   autotools-utils_src_compile
+   use doc && autotools-utils_src_compile html
+}
+
+src_install() {
+   use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/html/")
+   autotools-utils_src_install
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins "${AUTOTOOLS_BUILD_DIR}"/hamlib.pc || die "doins failed"
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib || die "doenvd failed"
+}



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2016-01-06 Thread Agostino Sarubbo
commit: 9556c8a67aa362a4b73b145a5eee46031b6e7112
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Jan  6 13:34:30 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Jan  6 13:34:30 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9556c8a6

media-libs/hamlib: x86 stable wrt bug #570362

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/hamlib/hamlib-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.0.ebuild 
b/media-libs/hamlib/hamlib-3.0.ebuild
index 5dbe707..d8dd670 100644
--- a/media-libs/hamlib/hamlib-3.0.ebuild
+++ b/media-libs/hamlib/hamlib-3.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 x86 ~x86-fbsd"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2016-01-02 Thread Agostino Sarubbo
commit: 5b2801c0f1d08fe61f8c994bcfa61388452fdf0a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jan  2 16:27:49 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jan  2 16:27:49 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b2801c0

media-libs/hamlib: amd64 stable wrt bug #570362

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 media-libs/hamlib/hamlib-3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/hamlib/hamlib-3.0.ebuild 
b/media-libs/hamlib/hamlib-3.0.ebuild
index ad9ec0a..5dbe707 100644
--- a/media-libs/hamlib/hamlib-3.0.ebuild
+++ b/media-libs/hamlib/hamlib-3.0.ebuild
@@ -14,7 +14,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-2 GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+KEYWORDS="amd64 ~x86 ~x86-fbsd"
 IUSE="doc perl python tcl"
 
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: media-libs/hamlib/

2015-09-19 Thread Thomas Beierlein
commit: 21ca65c01c7a57a599cdb999cdd3612bffc579d5
Author: Thomas Beierlein  gentoo  org>
AuthorDate: Sat Sep 19 16:39:33 2015 +
Commit: Thomas Beierlein  gentoo  org>
CommitDate: Sat Sep 19 16:42:00 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21ca65c0

media-libs/hamlib: Major version bump

 media-libs/hamlib/Manifest  |  1 +
 media-libs/hamlib/hamlib-3.0.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/media-libs/hamlib/Manifest b/media-libs/hamlib/Manifest
index 17378b8..bf3a3c3 100644
--- a/media-libs/hamlib/Manifest
+++ b/media-libs/hamlib/Manifest
@@ -1 +1,2 @@
 DIST hamlib-1.2.15.3.tar.gz 1675879 SHA256 
a2ca4549e4fd99d6e5600e354ebcb57502611aa63c6921c1b8a825289833f75e SHA512 
88f9cb8d82d813ac02944def0adf6eada0e4ed1407f60e344d51172462d51ab0c3ddd9cbf9ef8cbd61efba6c4158a77acb7c23b886e174c9a082bf1dd11f5baa
 WHIRLPOOL 
33f8e114d05c778e30c1b634e2494cd3f9d89213ccc58b34b4d195bb4f1c803c5451f54c8e232bf276a1daebe6c0a01bae73a51fa90538fe537d3b5bf4ce91de
+DIST hamlib-3.0.tar.gz 2074188 SHA256 
bc16546161a47e21a44a710a40aeb0bce478f112bffcc4f253eb27e150f1c21e SHA512 
16ac66ab91d44c364054aa6ba8292a6538886744d83a83eb0887f55407f836e1d4a402cc7a41576594bea8100c2eefa26bae212f767a68b2a4db7a709166cbd2
 WHIRLPOOL 
31f96037260160e83f376e87f35669cac73772b73d4b50bf78b32893de17d36e02d41d71ab393ac6fa27efbb387a88d71bdc8cb4a7c02c7251b141afea6d82a9

diff --git a/media-libs/hamlib/hamlib-3.0.ebuild 
b/media-libs/hamlib/hamlib-3.0.ebuild
new file mode 100644
index 000..ad9ec0a
--- /dev/null
+++ b/media-libs/hamlib/hamlib-3.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools-utils eutils multilib python-single-r1
+
+DESCRIPTION="Ham radio backend rig control libraries"
+HOMEPAGE="http://sourceforge.net/apps/mediawiki/hamlib;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2 GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="doc perl python tcl"
+
+RESTRICT="test"
+
+RDEPEND="
+   =virtual/libusb-0*
+   dev-libs/libxml2
+   sys-libs/readline:0
+   perl? ( dev-lang/perl )
+   python? ( ${PYTHON_DEPS} )
+   tcl? ( dev-lang/tcl:0= )"
+
+DEPEND=" ${RDEPEND}
+   virtual/pkgconfig
+   dev-lang/swig
+   >=sys-devel/libtool-2.2
+   doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DOCS=(AUTHORS NEWS PLAN README README.betatester README.developer TODO)
+
+pkg_setup() {
+   use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+   # fix hardcoded libdir paths
+   sed -i -e "s#fix}/lib#fix}/$(get_libdir)/hamlib#" \
+   -e "s#fix}/include#fix}/include/hamlib#" \
+   hamlib.pc.in || die "sed failed"
+
+   # make building of documentation compatible with autotools-utils
+   sed -i -e "s/doc:/html:/g" doc/Makefile.am || die "sed failed"
+
+   eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --libdir=/usr/$(get_libdir)/hamlib
+   --disable-static
+   --with-xml-support
+   $(use_with perl perl-binding)
+   $(use_with python python-binding)
+   $(use_with tcl tcl-binding)
+   --disable-silent-rules
+   )
+   autotools-utils_src_configure
+}
+
+src_compile() {
+   autotools-utils_src_compile
+   use doc && autotools-utils_src_compile html
+}
+
+src_install() {
+   use doc && HTML_DOCS=("${AUTOTOOLS_BUILD_DIR}/doc/html/")
+   autotools-utils_src_install
+
+   insinto /usr/$(get_libdir)/pkgconfig
+   doins "${AUTOTOOLS_BUILD_DIR}"/hamlib.pc || die "doins failed"
+
+   echo "LDPATH=/usr/$(get_libdir)/hamlib" > "${T}"/73hamlib
+   doenvd "${T}"/73hamlib || die "doenvd failed"
+}