From nobody Fri May 12 14:57:43 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QHsLw0pKwz4B6Mn; Fri, 12 May 2023 14:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QHsLw00FMz46hY; Fri, 12 May 2023 14:57:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683903464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rx2M8YSu+DlgX4fd2v/na0IPHVn05/KzRF2Ro7QLV3g=; b=Jlfucuo5fEj8nh5D9Cl66ZJ6I/LLYF7WcjlkX2am9xg2pFGvQsNZO/7gQX+LoVhI7L9a6L 8VnkRVdvtZT0zAypFNyQZfRC/jusMkfnoptl3yJO9uDp1xZbrurDFtNQQJHep0P9QHXsWs m+HH6RLYOvGOcXJ7STDaKQXLzJZPKlgrEKDqc88sP3fUoaCksEcZLVHMiUeCcG1GMG82Da hwK0Dn9lg7MZuSzt/pr5fukq0QSvRr9xWTDJ/EXahJlB2JFJM/AhQJuEJc1jmhfx4qBgeK LBYspdhsBqAtOHvXHwuy7KZBBA0FBEoKwWeAZO+hNTTFolEjyoqxFq39Pycl2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1683903464; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rx2M8YSu+DlgX4fd2v/na0IPHVn05/KzRF2Ro7QLV3g=; b=Eqsq32uHLoM8hEE4wCPBgLgjqajozd5rj7C98UwA7SIOv5Blf91g/eAt/4vFccBmw6qkSJ nmvISoQRUggBUHTH4nydoDJK1jLTAeejH6WDalRX8iEdTb34yAcopSurXMGUxcGKfUo6Ad 4kesQ4B/RlyJZVcKIWft8HtzK0FE2M2y7A5j+Jtzp1zF7Pj71aqkHniUa2Wp/trbpjT32W i/PCIb4B43oxyzpSNqSuPZzd3CiYejb8m+fbJBPiU/age3SHwd2wjMbio2pRc9Ev5LSaXx ZXoMNxHOg56V85ZRUBHNHr3mWA/IWvIeA+ilUGBhyL2p/Kp/msd/Mgq6WQ0XMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683903464; a=rsa-sha256; cv=none; b=Gclw664pUcm841Yf7Dgewawsex5fiQm7V+YfV/dUK1ra/j3pmNUPWyii+uEunVXuwY2+LS DukYwbrb0WObYhC3RZ9VI8Ab0/g6R4PVmSVOd1Sv7wJdFO7bIL0kc1fYDkAJCS3KqynaIy pIE4RbuAM2bXl0RCULYYSYrBg04+egctwCLN2UGqE1SZR2QmaDDbl7Fs0rjR9DGnB/by3X cR3GjRkdQqdW3+2P21LR5BYarRNw3g93P4Z+ErN35S4O8ymqTEErUhjyLkkAJVOgV90NQ5 0iPCv5bk7sj3BiVAvcLh+oT+4DvwA2oZ9dXFdDuQ0QRfWMruEX8oyqmfWLFquw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QHsLv5jhTzgCY; Fri, 12 May 2023 14:57:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34CEvhOj080827; Fri, 12 May 2023 14:57:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34CEvhD7080826; Fri, 12 May 2023 14:57:43 GMT (envelope-from git) Date: Fri, 12 May 2023 14:57:43 GMT Message-Id: <202305121457.34CEvhD7080826@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 43569aa16570 - main - japanese/ebview-gtk2: Unbreak on HEAD List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 43569aa1657055418738f3c294b77aaedb37afe5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=43569aa1657055418738f3c294b77aaedb37afe5 commit 43569aa1657055418738f3c294b77aaedb37afe5 Author: Muhammad Moinur Rahman AuthorDate: 2023-05-12 14:53:13 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-05-12 14:57:24 +0000 japanese/ebview-gtk2: Unbreak on HEAD - Optionize post-install target for DOCS - Utilize USES=localbase --- japanese/ebview-gtk2/Makefile | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/japanese/ebview-gtk2/Makefile b/japanese/ebview-gtk2/Makefile index 4bea062bfb1d..5718f5dbd2f3 100644 --- a/japanese/ebview-gtk2/Makefile +++ b/japanese/ebview-gtk2/Makefile @@ -13,21 +13,25 @@ LICENSE= GPLv2+ LIB_DEPENDS= libeb.so:japanese/eb -CONFLICTS= ja-ebview - -USES= gettext gmake gnome pkgconfig -USE_GNOME= gtk20 pangox-compat +USES= gettext gmake gnome localbase:ldflags pkgconfig USE_CSTD= gnu89 +USE_GNOME= gtk20 pangox-compat + GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-eb-conf=${LOCALBASE}/etc/eb.conf -SUB_FILES= ebview.desktop +CONFLICTS= ja-ebview -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +SUB_FILES= ebview.desktop OPTIONS_DEFINE= DOCS +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} -e 's|#define GTK_DISABLE_DEPRECATED 1||g' \ ${WRKSRC}/src/ebview.c @@ -37,9 +41,11 @@ post-install: ${STAGEDIR}${DESKTOPDIR}) (cd ${WRKSRC}/pixmaps && ${INSTALL_DATA} ebview.xpm \ ${STAGEDIR}${PREFIX}/share/pixmaps) + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ChangeLog README (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor -.include +.include