From nobody Sun Feb 12 16:52:26 2023 X-Original-To: dev-commits-ports-all@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 4PFD6L4wNTz3q5DJ; Sun, 12 Feb 2023 16:52:26 +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 4PFD6L4DFmz3N3B; Sun, 12 Feb 2023 16:52:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676220746; 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=sbs8K4XvB8w3kJiWT8/HYkk6v1+mldOlB2PuG+hPoks=; b=cq/X94/C6wg90z7TOuu6cnCYyY/BnjSJ7tBYW4k9TPU4YbDr/HP6cqwMuOtkFiR1ibLsoy 0TjmEU4qkg9kEU127goeQm8TMzBr3cYB5yXXKvX10tzxWEvlIVxTyoq8o7j8i2Jg9A4S3d qAH0hG+HeXSgmqlwH4p0lV/OSN2qmACbk+G8+OXc1GWBJ9zeHplCMzwFJrb6AKB5ATs/22 tom6BJa0HBnuNy1NoQsJormda18ki9w+uwPxNNP4T57zzZzU/xBqiv9B9h0n1WDNmwij2x g46jVe3xulDm7IhsPPR1N7N+kYAT62Qc3Q1QX6Jw9qMkX0ZEmJ8VlSpYiayJeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676220746; 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=sbs8K4XvB8w3kJiWT8/HYkk6v1+mldOlB2PuG+hPoks=; b=vGqB30W++VPlRpihe8zvRqMY7f18ISekm1M3x1wy5Au1wZDIaYsuN2MFndl4MDTQWnIuC4 NFNyDvxjG62QOiFK8z8Wym6aMk5J52IiNJtwI2urtw33WbvssZ2jVdolUGkL9dknGKSvgl kazZl6AkkgK9VWkg6Z0d1Lu3lwv97l4d8BWcanb2Uf47WcA1FC2NnB2j1msrHJ2+zRnDt/ qNoVFqVAGdTMno72QTCE7hfAubehPhMlV19m80bP1f5l0sk2mMOWOQ6LGUPK1U1H6u7boN rJ/IIgEeC/XOLdv/YjQO82ul2b3Oth1aQEpztzYviuGhqLWLhp6qqQazrxrItg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676220746; a=rsa-sha256; cv=none; b=T3vOMJvfXkGJq0ZAuWOvgY3Kx6ujo/TGBWM2/sFm9aIsZhwYiZdE4f9spQ7EuKJ4TzgYVg zNzxq6HHXZMXsXxjVJGuuCXGOay1ici0qz8fFmBWmIsjYwsD8rUvmcPIbx+o1Rjqi0bW1C Bmaglpdv1xDKOUxRdU83SDT/0C9Cp2KfcfuId4mZXWfOXxHw81r37criZ/AdaaugkjYiyZ 41QrkWY4M3D7iN4MdohTeHoudGVr76c13he4Cbl5Ix8QF/ViWhqE+G86hFoDEaFZ1Okcf6 67b7Xqg2LLXjjWa0+eLQR/KVmhieuZtPxLb/DgPjB1C9WtlMZHfLcEYGHFkeVA== 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 4PFD6L3HjhzlLK; Sun, 12 Feb 2023 16:52:26 +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 31CGqQwS039143; Sun, 12 Feb 2023 16:52:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31CGqQBQ039142; Sun, 12 Feb 2023 16:52:26 GMT (envelope-from git) Date: Sun, 12 Feb 2023 16:52:26 GMT Message-Id: <202302121652.31CGqQBQ039142@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: eacbf30357eb - main - x11/mrxvt: Refactor List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: eacbf30357eb5cda143ab4da24f5065632f4feaa Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=eacbf30357eb5cda143ab4da24f5065632f4feaa commit eacbf30357eb5cda143ab4da24f5065632f4feaa Author: Muhammad Moinur Rahman AuthorDate: 2023-02-12 16:48:49 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-02-12 16:52:19 +0000 x11/mrxvt: Refactor - Add LICENSE GPLv2 - Change to USES=localbase - Add description for JAPANESE OPTION - Convert post-install target to @ keywork - make patches make-makepatch compatible - Take MAINTAINERSHIP --- x11/mrxvt/Makefile | 31 ++++++++++++++++--------------- x11/mrxvt/files/patch-src-logging.c | 6 +++--- x11/mrxvt/files/patch-src-main.c | 6 +++--- x11/mrxvt/files/patch-src-strings.c | 6 +++--- x11/mrxvt/pkg-plist | 2 +- 5 files changed, 26 insertions(+), 25 deletions(-) diff --git a/x11/mrxvt/Makefile b/x11/mrxvt/Makefile index 63c575178384..072a6eb85244 100644 --- a/x11/mrxvt/Makefile +++ b/x11/mrxvt/Makefile @@ -4,27 +4,23 @@ PORTREVISION= 10 CATEGORIES= x11 MASTER_SITES= SF/materm/${PORTNAME}%20source/${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= bofh@FreeBSD.org COMMENT= Tabbed version of rxvt WWW= http://materm.sourceforge.net/ -LIB_DEPENDS= libpng.so:graphics/png +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING -CONFLICTS= mrxvt-0.5.* +LIB_DEPENDS= libpng.so:graphics/png -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-lastlog --disable-wtmp -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -USES= cpe jpeg tar:tgz xorg +USES= cpe jpeg localbase tar:tgz xorg CPE_VENDOR= ${PORTNAME}_project USE_XORG= x11 -OPTIONS_DEFINE= DOCS JAPANESE XFT +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-lastlog --disable-wtmp -JAPANESE_CONFIGURE_ON= --enable-xim --enable-cjk --with-encoding=eucj -XFT_LIB_DEPENDS= libXft.so:x11-fonts/libXft -XFT_CONFIGURE_ENABLE= xft +CONFLICTS= mrxvt-0.5.* PORTDOCS= TIPS \ README.greek \ @@ -35,6 +31,14 @@ PORTDOCS= TIPS \ mrxvt.vbs \ mrxvtset.pl +OPTIONS_DEFINE= DOCS JAPANESE XFT + +JAPANESE_DESC= Japanese Language support + +JAPANESE_CONFIGURE_ON= --enable-xim --enable-cjk --with-encoding=eucj +XFT_LIB_DEPENDS= libXft.so:x11-fonts/libXft +XFT_CONFIGURE_ENABLE= xft + .include .if ${PORT_OPTIONS:MXFT} && ${PORT_OPTIONS:MJAPANESE} @@ -49,7 +53,4 @@ CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=no CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv_open=yes .endif -post-install: - ${CHMOD} 4511 ${STAGEDIR}${PREFIX}/bin/mrxvt - .include diff --git a/x11/mrxvt/files/patch-src-logging.c b/x11/mrxvt/files/patch-src-logging.c index 281cfc5f6478..b4994372c607 100644 --- a/x11/mrxvt/files/patch-src-logging.c +++ b/x11/mrxvt/files/patch-src-logging.c @@ -1,6 +1,6 @@ ---- src/logging.c.orig 2010-01-15 17:27:05.000000000 +0100 -+++ src/logging.c 2010-01-15 17:29:39.000000000 +0100 -@@ -114,14 +114,22 @@ +--- src/logging.c.orig 2004-11-11 00:20:28 UTC ++++ src/logging.c +@@ -114,14 +114,22 @@ rxvt_makeutent(rxvt_t *r, int page, const char *pty, c if (!STRNCMP(pty, "/dev/", 5)) pty += 5; /* skip /dev/ prefix */ diff --git a/x11/mrxvt/files/patch-src-main.c b/x11/mrxvt/files/patch-src-main.c index 52ba4111e025..b66e07b8e82e 100644 --- a/x11/mrxvt/files/patch-src-main.c +++ b/x11/mrxvt/files/patch-src-main.c @@ -1,6 +1,6 @@ ---- src/main.c.orig Fri Jul 22 19:42:38 2005 -+++ src/main.c Fri Jul 22 19:43:03 2005 -@@ -1568,7 +1568,7 @@ +--- src/main.c.orig 2005-08-31 05:30:41 UTC ++++ src/main.c +@@ -1568,7 +1568,7 @@ rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window w void rxvt_set_utf8_property (rxvt_t* r, Atom prop, Window win, const char* str) { diff --git a/x11/mrxvt/files/patch-src-strings.c b/x11/mrxvt/files/patch-src-strings.c index 3962ba672e09..ace2f0e6596c 100644 --- a/x11/mrxvt/files/patch-src-strings.c +++ b/x11/mrxvt/files/patch-src-strings.c @@ -1,5 +1,5 @@ ---- src/strings.c.orig Fri Jul 22 19:49:43 2005 -+++ src/strings.c Fri Jul 22 19:50:40 2005 +--- src/strings.c.orig 2005-03-21 00:42:08 UTC ++++ src/strings.c @@ -44,6 +44,7 @@ #ifdef HAVE_WCHAR_H @@ -8,7 +8,7 @@ char* rxvt_wcstombs (const wchar_t* str, int len) { -@@ -70,6 +71,7 @@ +@@ -70,6 +71,7 @@ rxvt_wcstombs (const wchar_t* str, int len) return r; } diff --git a/x11/mrxvt/pkg-plist b/x11/mrxvt/pkg-plist index b8ae961a7b1c..a9739c43eb62 100644 --- a/x11/mrxvt/pkg-plist +++ b/x11/mrxvt/pkg-plist @@ -1,4 +1,4 @@ -bin/mrxvt +@(,,4511) bin/mrxvt man/man1/mrxvt.1.gz share/pixmaps/mrxvt-csh.png share/pixmaps/mrxvt-csh.xpm