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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7BA4515800A for ; Thu, 13 Jul 2023 13:22:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2859E0869; Thu, 13 Jul 2023 13:22:50 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E17AE0863 for ; Thu, 13 Jul 2023 13:22:50 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33400335CB9 for ; Thu, 13 Jul 2023 13:22:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 76F2DAFC for ; Thu, 13 Jul 2023 13:22:47 +0000 (UTC) From: "Efe İzbudak" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Efe İzbudak" Message-ID: <1689254562.77c610c807c3901eddc6ed65e08eefebaa58ddfd.efe.izbudak@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: www-client/vimb/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-client/vimb/vimb-3.6.0.ebuild www-client/vimb/vimb-9999.ebuild X-VCS-Directories: www-client/vimb/ X-VCS-Committer: efe.izbudak X-VCS-Committer-Name: Efe İzbudak X-VCS-Revision: 77c610c807c3901eddc6ed65e08eefebaa58ddfd X-VCS-Branch: dev Date: Thu, 13 Jul 2023 13:22:47 +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: 902db890-0f3d-4fd7-9bea-82b8005cd075 X-Archives-Hash: 44acd21a1cc7a10298df1421e8553da3 commit: 77c610c807c3901eddc6ed65e08eefebaa58ddfd Author: Efe İzbudak metu edu tr> AuthorDate: Thu Jul 13 13:07:05 2023 +0000 Commit: Efe İzbudak metu edu tr> CommitDate: Thu Jul 13 13:22:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=77c610c8 www-client/vimb: fix compilation for gtk+[-X,wayland] The XEMBED feature has to be disabled if gtk+ has been built with wayland flag only (no X). Also added missing einstalldocs function to src_install. Signed-off-by: Efe İzbudak metu.edu.tr> www-client/vimb/vimb-3.6.0.ebuild | 4 +++- www-client/vimb/vimb-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/www-client/vimb/vimb-3.6.0.ebuild b/www-client/vimb/vimb-3.6.0.ebuild index f7ced56c8..2ffaa5924 100644 --- a/www-client/vimb/vimb-3.6.0.ebuild +++ b/www-client/vimb/vimb-3.6.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit savedconfig optfeature +inherit flag-o-matic optfeature savedconfig DESCRIPTION="A fast, lightweight, vim-like browser based on webkit" HOMEPAGE="https://fanglingsu.github.io/vimb/" @@ -35,6 +35,7 @@ src_prepare() { } src_compile() { + has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1 emake PREFIX="/usr" } @@ -42,6 +43,7 @@ src_install() { emake PREFIX="/usr" DESTDIR="${D}" install save_config src/config.def.h use adblock && dosym /usr/lib/wyebrowser/adblock.so /usr/lib/vimb/adblock.so + einstalldocs } pkg_postinst() { diff --git a/www-client/vimb/vimb-9999.ebuild b/www-client/vimb/vimb-9999.ebuild index f7ced56c8..2ffaa5924 100644 --- a/www-client/vimb/vimb-9999.ebuild +++ b/www-client/vimb/vimb-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit savedconfig optfeature +inherit flag-o-matic optfeature savedconfig DESCRIPTION="A fast, lightweight, vim-like browser based on webkit" HOMEPAGE="https://fanglingsu.github.io/vimb/" @@ -35,6 +35,7 @@ src_prepare() { } src_compile() { + has_version x11-libs/gtk+:3[-X,wayland] && append-cflags -DFEATURE_NO_XEMBED=1 emake PREFIX="/usr" } @@ -42,6 +43,7 @@ src_install() { emake PREFIX="/usr" DESTDIR="${D}" install save_config src/config.def.h use adblock && dosym /usr/lib/wyebrowser/adblock.so /usr/lib/vimb/adblock.so + einstalldocs } pkg_postinst() {