From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6950D1581E7 for ; Sun, 28 Apr 2024 20:48:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A868AE2A23; Sun, 28 Apr 2024 20:48:23 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 821CEE2A23 for ; Sun, 28 Apr 2024 20:48:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 841D3342FA3 for ; Sun, 28 Apr 2024 20:48:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1F27B16F9 for ; Sun, 28 Apr 2024 20:48:21 +0000 (UTC) From: "Petr Vaněk" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Petr Vaněk" Message-ID: <1714337141.ef1bbbf45cd1eceb15d2b0e2ab0461e8f544e2ae.arkamar@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/pedro/files/, net-misc/pedro/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/pedro/Manifest net-misc/pedro/files/pedro-1.14-portage.patch net-misc/pedro/pedro-1.14.ebuild X-VCS-Directories: net-misc/pedro/files/ net-misc/pedro/ X-VCS-Committer: arkamar X-VCS-Committer-Name: Petr Vaněk X-VCS-Revision: ef1bbbf45cd1eceb15d2b0e2ab0461e8f544e2ae X-VCS-Branch: master Date: Sun, 28 Apr 2024 20:48:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7398a543-cb56-4639-a11c-1f24c1769764 X-Archives-Hash: e2bdc0c211a77f297c57465c22d159bf commit: ef1bbbf45cd1eceb15d2b0e2ab0461e8f544e2ae Author: Petr Vaněk gentoo org> AuthorDate: Sun Apr 28 20:44:24 2024 +0000 Commit: Petr Vaněk gentoo org> CommitDate: Sun Apr 28 20:45:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef1bbbf4 net-misc/pedro: add 1.14 Bug: https://bugs.gentoo.org/913494 Closes: https://bugs.gentoo.org/870724 Signed-off-by: Petr Vaněk gentoo.org> net-misc/pedro/Manifest | 1 + net-misc/pedro/files/pedro-1.14-portage.patch | 45 +++++++++++++++++++++ net-misc/pedro/pedro-1.14.ebuild | 58 +++++++++++++++++++++++++++ 3 files changed, 104 insertions(+) diff --git a/net-misc/pedro/Manifest b/net-misc/pedro/Manifest index 8f822449e20c..c7d6532e9f82 100644 --- a/net-misc/pedro/Manifest +++ b/net-misc/pedro/Manifest @@ -1,2 +1,3 @@ DIST pedro-1.12.tgz 1181678 BLAKE2B ed882ab3dae0912519283229d10ff6f12ef4f623d72beaf22b8467e8072752fbd57836a0ebbad0f0ce3da1b4837049161bcb12673e3c38c94eb167e16c0c0a1e SHA512 936b2c6cac526d9d3c0e146b53dc65ed0508c6abd1b66c97656fa5b4011d7dd11912d1c0bf091a29b56e13c3e19ec3e0ad7760d44d4887b939699cdd2389c819 +DIST pedro-1.14.tgz 1213309 BLAKE2B 104f3816d79534411ba5d78517a744d9a0bf892cf99a1c654a94b9041f4ff038c00d029b182b8f825cfe80cb9861e9440b4e73de3be1f74945a34dbaefb995e7 SHA512 ffe32c296c8325ea31a4bf5d937504e9076654253f19dea17b234f53ba62a4b96e8611cab1dbf545f30734cfd8924e4140b08956180886ac21849546b9ad0cad DIST pedro-manual-1.x.tar.gz 222863 BLAKE2B 085b118585808aced9217a8001080b589d9dad958ad14787f929a4808b10bb2be80ae7bc04c07b676e41aed9e2ec916215c5d15dda2317f71ecebbc7c1737d96 SHA512 87f8e07e3a687d12e366f1974398996f2346e417680ab534622f901c0c7e1efeb171f0c0dadad46b578122c9e98531570c303d2d3ce04b1cd8150816d6138f99 diff --git a/net-misc/pedro/files/pedro-1.14-portage.patch b/net-misc/pedro/files/pedro-1.14-portage.patch new file mode 100644 index 000000000000..c43b9f7d6ef8 --- /dev/null +++ b/net-misc/pedro/files/pedro-1.14-portage.patch @@ -0,0 +1,45 @@ +Addapted Gentoo patch from version 1.12 + +diff --git a/configure.ac b/configure.ac +index 21f803d..d89b296 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4,30 +4,21 @@ AM_INIT_AUTOMAKE + AC_PROG_CC + AC_PROG_LEX([noyywrap]) + AC_PROG_INSTALL ++AM_PROG_AR + AC_PROG_RANLIB + #AC_PROG_LIBTOOL + PKG_CHECK_MODULES([GLIB],[glib-2.0 >= 2.12]) + AC_CONFIG_HEADERS(config.h) + AC_CONFIG_MACRO_DIR([m4]) +-CPPFLAGS="-DNDEBUG -O2 -g `pkg-config --cflags glib-2.0`" ++CPPFLAGS="`${PKG_CONFIG} --cflags glib-2.0`" + case "${host}" in +- *i686*) ++ *-mingw32*) + WIN32="yes" +- LDFLAGS="" +- #LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" +- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm" +- ;; +- *x86*) +- WIN32="no" +- LDFLAGS="" +- #LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" +- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm" ++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm -lwsock32 -lws2_32 -lwinmm" + ;; + *) + WIN32="no" +- #LDFLAGS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" +- LDFLAGS="" +- LIBS="-L../lib -lpedro `pkg-config --libs glib-2.0` -lm" ++ LIBS="-L../lib -lpedro `${PKG_CONFIG} --libs glib-2.0` -lm" + ;; + esac + AC_CONFIG_FILES([Makefile src/Makefile src/server/Makefile src/lib/Makefile src/examples/Makefile doc/Makefile]) +-- +2.43.2 + diff --git a/net-misc/pedro/pedro-1.14.ebuild b/net-misc/pedro/pedro-1.14.ebuild new file mode 100644 index 000000000000..19bf94c63701 --- /dev/null +++ b/net-misc/pedro/pedro-1.14.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Pedro is a subscription/notification communications system" +HOMEPAGE="https://staff.itee.uq.edu.au/pjr/HomePages/PedroHome.html" +SRC_URI="https://staff.itee.uq.edu.au/pjr/HomePages/PedroFiles/${P}.tgz + doc? ( https://dev.gentoo.org/~keri/distfiles/pedro/${PN}-manual-1.x.tar.gz )" +S="${WORKDIR}"/${P} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc examples" + +RDEPEND="dev-libs/glib:2" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-portage.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + tc-export PKG_CONFIG + + default +} + +src_install() { + default + + if use doc ; then + dodoc "${WORKDIR}"/${PN}.pdf + fi + + if use examples ; then + docinto examples + dodoc src/examples/*.{c,tcl} + + docinto examples/java_api + dodoc src/java_api/*.java + + docinto examples/python_api + dodoc src/python_api/*.py + fi +}