Github messages for voidlinux
 help / color / mirror / Atom feed
From: the-maldridge <the-maldridge@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: yate-6.1.0.
Date: Wed, 02 Mar 2022 22:09:54 +0100	[thread overview]
Message-ID: <20220302210954.LyMXnEwfnkN_wItoNjkJobJt7eCbb8UFYObg9zYpvaM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35167@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

There is an updated pull request by the-maldridge against master on the void-packages repository

https://github.com/the-maldridge/void-packages yate
https://github.com/void-linux/void-packages/pull/35167

New package: yate-6.1.0.
Shady telecommunications software. What could be more fun?

@b4 for testing.

A patch file from https://github.com/void-linux/void-packages/pull/35167.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yate-35167.patch --]
[-- Type: text/x-diff, Size: 7720 bytes --]

From e8c9ab8de889dc1e23e0a57e25180bdefbaaaf05 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Fri, 21 Jan 2022 21:01:54 -0600
Subject: [PATCH 1/3] New package: ptlib-2.10.9.4.

---
 common/shlibs          |  1 +
 srcpkgs/ptlib-devel    |  1 +
 srcpkgs/ptlib/template | 26 ++++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/ptlib-devel
 create mode 100644 srcpkgs/ptlib/template

diff --git a/common/shlibs b/common/shlibs
index 5096ab5dad6b..e20d2a2e5ce9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4117,3 +4117,4 @@ libspatialite.so.7 libspatialite-5.0.1_1
 mod_spatialite.so.7 libspatialite-5.0.1_1
 libSvtAv1Enc.so.0 libsvt-av1-0.9.0_1
 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1
+libpt.so.2.10.9 ptlib-2.10.9.4_1
diff --git a/srcpkgs/ptlib-devel b/srcpkgs/ptlib-devel
new file mode 120000
index 000000000000..8b723fa84a72
--- /dev/null
+++ b/srcpkgs/ptlib-devel
@@ -0,0 +1 @@
+ptlib
\ No newline at end of file
diff --git a/srcpkgs/ptlib/template b/srcpkgs/ptlib/template
new file mode 100644
index 000000000000..d4a491834167
--- /dev/null
+++ b/srcpkgs/ptlib/template
@@ -0,0 +1,26 @@
+# Template file for 'ptlib'
+pkgname=ptlib
+version=2.10.9.4
+revision=1
+wrksrc=$pkgname-${version//./_}
+build_style=gnu-configure
+hostmakedepends="pkg-config flex"
+short_desc="PTLib 2.10.9 fork for GNU Gatekeeper and H323Plus"
+maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
+license="MPL-1.0"
+homepage="https://github.com/willamowius/ptlib"
+distfiles="https://github.com/willamowius/ptlib/archive/refs/tags/v${version//./_}.tar.gz"
+checksum=f85f2ee9f16df7df78d222ba538a824a8b66b8536aef66454440aa5b666ee4b7
+
+ptlib-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/share
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+		vmove usr/bin/ptlib-config
+	}
+}

From 53b8113bae3d276f0663e82777556066a99def86 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@VoidLinux.org>
Date: Fri, 21 Jan 2022 21:40:42 -0600
Subject: [PATCH 2/3] New package: h323plus-1.27.2.

---
 common/shlibs                               |  1 +
 srcpkgs/h323plus-devel                      |  1 +
 srcpkgs/h323plus/patches/fix-autoconf.patch | 59 +++++++++++++++++++++
 srcpkgs/h323plus/template                   | 24 +++++++++
 4 files changed, 85 insertions(+)
 create mode 120000 srcpkgs/h323plus-devel
 create mode 100644 srcpkgs/h323plus/patches/fix-autoconf.patch
 create mode 100644 srcpkgs/h323plus/template

diff --git a/common/shlibs b/common/shlibs
index e20d2a2e5ce9..12fe57796283 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -4118,3 +4118,4 @@ mod_spatialite.so.7 libspatialite-5.0.1_1
 libSvtAv1Enc.so.0 libsvt-av1-0.9.0_1
 libSvtAv1Dec.so.0 libsvt-av1-0.9.0_1
 libpt.so.2.10.9 ptlib-2.10.9.4_1
+libh323_linux_x86_64_.so.1.27.2 h323plus-1.27.2_1
diff --git a/srcpkgs/h323plus-devel b/srcpkgs/h323plus-devel
new file mode 120000
index 000000000000..33fd80ed0b22
--- /dev/null
+++ b/srcpkgs/h323plus-devel
@@ -0,0 +1 @@
+h323plus
\ No newline at end of file
diff --git a/srcpkgs/h323plus/patches/fix-autoconf.patch b/srcpkgs/h323plus/patches/fix-autoconf.patch
new file mode 100644
index 000000000000..0bad535fa9c4
--- /dev/null
+++ b/srcpkgs/h323plus/patches/fix-autoconf.patch
@@ -0,0 +1,59 @@
+From 8bda09298b64ae909f081dac6143ffa41992dea0 Mon Sep 17 00:00:00 2001
+From: Jan Willamowius <jan@willamowius.de>
+Date: Wed, 23 Feb 2022 08:30:42 +0100
+Subject: [PATCH] disable check for PTLib Makefile for now, as it breaks
+ cross-compilation with autoconf 2.69
+
+---
+ configure    | 22 +---------------------
+ configure.ac |  4 +++-
+ 2 files changed, 4 insertions(+), 22 deletions(-)
+
+diff --git a/configure b/configure
+index 0f0eeac..20ceee5 100755
+--- a/configure
++++ b/configure
+@@ -3906,27 +3906,7 @@ if test "x$PTLIBDIR" = "x/usr/local" -o "x$PTLIBDIR" = "x/usr/local/"; then
+   PTLIBDIR="/usr/local/share/ptlib/"
+ fi
+ 
+-as_ac_File=`$as_echo "ac_cv_file_${PTLIBDIR}/make/lib.mak" | $as_tr_sh`
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${PTLIBDIR}/make/lib.mak" >&5
+-$as_echo_n "checking for ${PTLIBDIR}/make/lib.mak... " >&6; }
+-if eval \${$as_ac_File+:} false; then :
+-  $as_echo_n "(cached) " >&6
+-else
+-  test "$cross_compiling" = yes &&
+-  as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
+-if test -r "${PTLIBDIR}/make/lib.mak"; then
+-  eval "$as_ac_File=yes"
+-else
+-  eval "$as_ac_File=no"
+-fi
+-fi
+-eval ac_res=\$$as_ac_File
+-	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
+-$as_echo "$ac_res" >&6; }
+-if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
+-  HAS_PTLIB_LIB_MAK=1
+-fi
+-
++HAS_PTLIB_LIB_MAK=1
+ 
+ if test "${HAS_PTLIB_LIB_MAK:-unset}" = "unset" ; then
+ 
+diff --git a/configure.ac b/configure.ac
+index cf72965..93bf1ab 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -109,7 +109,9 @@ if test "x$PTLIBDIR" = "x/usr/local" -o "x$PTLIBDIR" = "x/usr/local/"; then
+   PTLIBDIR="/usr/local/share/ptlib/"
+ fi
+ 
+-AC_CHECK_FILE(${PTLIBDIR}/make/lib.mak, HAS_PTLIB_LIB_MAK=1)
++dnl disable check for now, as it breaks cross-compilation with autoconf 2.69
++dnl AC_CHECK_FILE(${PTLIBDIR}/make/lib.mak, HAS_PTLIB_LIB_MAK=1)
++HAS_PTLIB_LIB_MAK=1
+ 
+ if test "${HAS_PTLIB_LIB_MAK:-unset}" = "unset" ; then
+   PKG_PROG_PKG_CONFIG
diff --git a/srcpkgs/h323plus/template b/srcpkgs/h323plus/template
new file mode 100644
index 000000000000..2c56ea10923d
--- /dev/null
+++ b/srcpkgs/h323plus/template
@@ -0,0 +1,24 @@
+# Template file for 'h323plus'
+pkgname=h323plus
+version=1.27.2
+revision=1
+wrksrc=$pkgname-${version//./_}
+build_style=gnu-configure
+hostmakedepends="pkg-config ptlib-devel"
+makedepends="ptlib-devel speex-devel"
+short_desc="Development framework for H.323 applications"
+maintainer="Michael Aldridge <maldridge@VoidLinux.org>"
+license="MPL-1.1"
+homepage="https://www.h323plus.org"
+distfiles="https://github.com/willamowius/h323plus/archive/refs/tags/v${version//./_}.tar.gz"
+checksum=7ec50e4d63a8eeffe074f96835a336c08c374cd4cba17173ccd2193afd74c4f9
+nocross="checking for /usr/share/ptlib//make/lib.mak... configure: error: cannot check for file existence when cross compiling"
+h323plus-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/share
+		vmove "usr/lib/*.so"
+	}
+}

From 7671330501a93755297ce28fca3a1dcb786856e9 Mon Sep 17 00:00:00 2001
From: Michael Aldridge <maldridge@voidlinux.org>
Date: Fri, 21 Jan 2022 15:29:56 -0600
Subject: [PATCH 3/3] New package: yate-6.1.0.

---
 srcpkgs/yate/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/yate/template

diff --git a/srcpkgs/yate/template b/srcpkgs/yate/template
new file mode 100644
index 000000000000..518430e28277
--- /dev/null
+++ b/srcpkgs/yate/template
@@ -0,0 +1,20 @@
+# Template file for 'yate'
+pkgname=yate
+version=6.1.0
+revision=1
+wrksrc=$pkgname
+build_style=gnu-configure
+hostmakedepends="pkg-config"
+makedepends="speex-devel libusb-devel zlib-devel h323plus-devel openssl-devel sqlite-devel ptlib-devel"
+short_desc="Yet Another Telephony Engine"
+maintainer="Michael Aldridge <maldridge@voidlinux.org>"
+license="GPL-2.0-or-later"
+homepage="http://yate.null.ro/"
+distfiles="http://yate.null.ro/tarballs/yate6/yate-$version-1.tar.gz"
+checksum=ed88519c8e2f63eec0d699bc6ed8831854af9b32b654b3d7e7c2697b528aa377
+
+case "$XBPS_TARGET_MACHINE" in
+	*musl)
+		CFLAGS=-DPTHREAD_MUTEX_RECURSIVE_NP=PTHREAD_MUTEX_RECURSIVE
+		;;
+esac

  parent reply	other threads:[~2022-03-02 21:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21 21:33 [PR PATCH] " the-maldridge
2022-01-22  0:43 ` [PR PATCH] [Updated] " the-maldridge
2022-01-22  0:47 ` the-maldridge
2022-01-22  1:08 ` the-maldridge
2022-01-22  3:56 ` the-maldridge
2022-01-22  4:00 ` the-maldridge
2022-01-25 23:29 ` the-maldridge
2022-01-30  0:39 ` the-maldridge
2022-01-30  0:39 ` the-maldridge
2022-01-30  0:42 ` the-maldridge
2022-02-18 20:04 ` the-maldridge
2022-02-18 20:20 ` the-maldridge
2022-03-02 21:09 ` the-maldridge [this message]
2022-06-22  2:14 ` github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220302210954.LyMXnEwfnkN_wItoNjkJobJt7eCbb8UFYObg9zYpvaM@z \
    --to=the-maldridge@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    --subject='Re: [PR PATCH] [Updated] New package: yate-6.1.0.' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).