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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A897F158086 for ; Sat, 9 Oct 2021 07:24:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB7E7E0843; Sat, 9 Oct 2021 07:24:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBFC8E0843 for ; Sat, 9 Oct 2021 07:24:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B63E3343114 for ; Sat, 9 Oct 2021 07:24:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2DCC79B for ; Sat, 9 Oct 2021 07:23:59 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1633764223.91b939c8d57ed0acc5cdbc7596a90eb406874ebf.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/xlog/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-radio/xlog/Manifest media-radio/xlog/xlog-2.0.24.ebuild X-VCS-Directories: media-radio/xlog/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 91b939c8d57ed0acc5cdbc7596a90eb406874ebf X-VCS-Branch: master Date: Sat, 9 Oct 2021 07:23:59 +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: 7ce6fe01-e4d7-4f6a-8e2b-87e952cba506 X-Archives-Hash: 12e182420c7b722f8591d9f86d7f8c31 commit: 91b939c8d57ed0acc5cdbc7596a90eb406874ebf Author: Thomas Beierlein gentoo org> AuthorDate: Sat Oct 9 07:23:43 2021 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Sat Oct 9 07:23:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b939c8 media-radio/xlog: Version bump Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Thomas Beierlein gentoo.org> media-radio/xlog/Manifest | 1 + media-radio/xlog/xlog-2.0.24.ebuild | 83 +++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/media-radio/xlog/Manifest b/media-radio/xlog/Manifest index 122f60bc65a..e194be9ca3d 100644 --- a/media-radio/xlog/Manifest +++ b/media-radio/xlog/Manifest @@ -1,2 +1,3 @@ DIST xlog-2.0.22.tar.gz 11407849 BLAKE2B 85d2e904d33ef39883cb8ac086eed4dc7e65503cdccb95e8d33f169d12de4f1ed556a28ac2f40e0044e937185bf4d93fe55608088d6e95744617c9c3a051fb55 SHA512 a261f8e28b75aed9380c29b3da69c7615b0d32346eaf84a0ace5cf77c53407372c4985c599078dba5ed92f77bd8052a74c7dca40028b99bca49cc3164d4ec490 DIST xlog-2.0.23.tar.gz 11407743 BLAKE2B 82828d043006b7f73ee32bae5b0beb261684aa70a2c556af34a8a269b790ad76e24d40a7ddb5c9b5cfd74ac7feb510c19deacc1b3dea647594d1f5f8c1293ca4 SHA512 1c235e6a49c7d6dd049aade4a0c34ffed61c211ea31c0f8d4d62db1a03b2d1e025ffd2fd9ae42b639113485d36e1ee2e40439f74e1971eb99847f4564b21bd10 +DIST xlog-2.0.24.tar.gz 11407825 BLAKE2B 0de5203d4229005ba84940443672a9787a9ab2a87565bcbf47e0a0fcf375dcddec7636d11a359a117c42b7e07ea81fd482a2684b8a75379da1fe72cbc991643d SHA512 cc96dfabf01a6c49ed7db1257cc102a469642bdd32a158b0a026da2017181060f8aace5de22ada5df42b3bc89c14448dd372332a9ff0101121570f5b1187e5ab diff --git a/media-radio/xlog/xlog-2.0.24.ebuild b/media-radio/xlog/xlog-2.0.24.ebuild new file mode 100644 index 00000000000..6a50652eae6 --- /dev/null +++ b/media-radio/xlog/xlog-2.0.24.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs xdg-utils +MY_P=${P/_} + +DESCRIPTION="An amateur radio logging program" +HOMEPAGE="https://www.nongnu.org/xlog" +SRC_URI="https://download.savannah.gnu.org/releases/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/hamlib:= + dev-libs/glib:2 + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + media-libs/libpng:0 + sys-devel/gettext + virtual/pkgconfig" + +S=${WORKDIR}/${MY_P} + +DOCS=( AUTHORS data/doc/THANKS NEWS README ) + +src_prepare() { + eapply_user + eapply -p0 "${FILESDIR}/${PN}-2.0.7-desktop.patch" + + # Drop -Werror + sed -i -e "s:-Werror::g" configure.ac || die + # fix underlinking + sed -i -e "s:HAMLIB_LIBS@:HAMLIB_LIBS@ -lm:g" src/Makefile.am || die + eautoconf + + # prepare for media-radio/hamlib-4.2 change of API + if has_version '>=media-libs/hamlib-4.2' ; then + sed -i -e "s/FILPATHLEN/HAMLIB_FILPATHLEN/g" "${S}"/src/hamlib-utils.c || die + fi + + # Fix broken png files<< + einfo "Fixing broken png files." + pushd "${S}"/data/doc/manual/output/html + for png in xlog-clock.png xlog-dropdown.png xlog-editbox.png; do + pngfix -q --out=out.png ${png} + mv -f out.png "${png}" || die + done + popd + einfo "done ..." + +} + +src_configure() { + # mime-update causes file collisions if enabled + econf --disable-mime-update +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + emake DESTDIR="${D}" install + # build system makes it complicate to inhibit updating desktop + # database, so just remove the offending file + rm "${D}"/usr/share/applications/mimeinfo.cache || die + docompress -x /usr/share/doc/${PF}/{KEYS,ChangeLog,TODO,BUGS} + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +}