From nobody Sun May 1 02:59:18 2022 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 E0502199CC1F; Sun, 1 May 2022 02:59:18 +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 4KrWCV62Wdz3ks9; Sun, 1 May 2022 02:59:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651373958; 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=fenap8ABm7b44bP1AnRTegYIPsLRU+7q5l6F3W/8p1k=; b=nm+8D7Br4+4JfNrH2+vhLOhA4v7B+I03wXw/+oqrwoiimIv4mMcVXgMxMAK6EUjhSX11k3 aoEnPtjVUVbgijdVt30ogXy17DflH3iCpnWl11h/sG0Vnt0zJTt2I12opFv3ErNGyJoUMG 6t0ZMBzDnJOSqIes//2SmxCVe/ZmMTSzrKkz2kkfjL0gET7myO4SIi3w1Yee4fCUo5+Qy1 i5LSR0xgJ/IXwnYg48Cxh7s8ZYsfZcLNSHfPTnA104MdMOtzrgjBn75Rl0exVKn+EtsrPw rGfZwrcqRn6nvO2VXDRma6N1thB6kXgXbjBQqo/U3leKgafFheT3DSbpTAjA3w== 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 AC351589A; Sun, 1 May 2022 02:59:18 +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 2412xIGM089267; Sun, 1 May 2022 02:59:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2412xIMZ089266; Sun, 1 May 2022 02:59:18 GMT (envelope-from git) Date: Sun, 1 May 2022 02:59:18 GMT Message-Id: <202205010259.2412xIMZ089266@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 2415af006390 - main - editors/notepadnext: New port: Reimplementation of Notepad++ 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: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2415af0063906e57aa706b88705831820aa12558 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651373958; 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=fenap8ABm7b44bP1AnRTegYIPsLRU+7q5l6F3W/8p1k=; b=fsdUZZqOb/JAJINo52rv3vaX29wY/SKfRWxrkU43kXu2IBRawH2z6s4Brz5QYKY+B1VFiC veXCqXgqx0IA3LH4rB3Ohh4gqZtM3XX+j6tlMaylbStc8NvshJ0oNk1yjWKcM1WXqiZe/9 3FYJgXkZBCPsnbxWkdB3B8neNQhEzFId8p8IO2LGEk20nKoMCKBDX9CHI3U1sme8yR0Fzf tlXo6145gSpUbQMtXPP/iPAlwbgzroJk7EOJB9l4+cozxu50pnn2u5C/6WnHhh21YZIfW8 Cm60Uyne4miwHDSxR/l7XiCJam8Cjw83yAJYYQfGkdhzzMd+pEPo/wtVJXcKEA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651373958; a=rsa-sha256; cv=none; b=PeMEg6taz14hpREgahnc27U3Nw1U075xexNtpxvQCMcY42DifrdAtSsj7Jts42XTnrWic4 jOUzzeNWQYmnauv9kAPHZaxkG+L9iNQ21rBFXIdfi8ugfig237v07rxcaq269NwgxRn6ZZ 6cvjzZEi+lHrbh7ve+bGb5tZO0srJAHm34mBlxWZH7FpMMqUSY+KQdFfmyUjOV8fmqBW5R s4fZqer+8tivguVBj5ZRTcWI8rJJNdx87ar6WhKXoEy/lRFOZ6WW/Vt7IZyhh6grEJ2LiI Qs70BToyvEakmz0OoVDXW3C4/8LqWculvtJyxC3R3MEa2pdwpZW+XxCD14n/kw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=2415af0063906e57aa706b88705831820aa12558 commit 2415af0063906e57aa706b88705831820aa12558 Author: Yuri Victorovich AuthorDate: 2022-05-01 02:58:25 +0000 Commit: Yuri Victorovich CommitDate: 2022-05-01 02:59:16 +0000 editors/notepadnext: New port: Reimplementation of Notepad++ --- editors/Makefile | 1 + editors/notepadnext/Makefile | 39 ++++++++++++++++++++++ editors/notepadnext/distinfo | 13 ++++++++ .../files/patch-src_NotepadNext_ScintillaNext.cpp | 11 ++++++ ...ch-src_ads_src_linux_FloatingWidgetTitleBar.cpp | 11 ++++++ editors/notepadnext/pkg-descr | 3 ++ 6 files changed, 78 insertions(+) diff --git a/editors/Makefile b/editors/Makefile index 7d55ae920ab6..283e9163216c 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -207,6 +207,7 @@ SUBDIR += nedit SUBDIR += neovim SUBDIR += neovim-qt + SUBDIR += notepadnext SUBDIR += nvi-m17n SUBDIR += nvi2 SUBDIR += o diff --git a/editors/notepadnext/Makefile b/editors/notepadnext/Makefile new file mode 100644 index 000000000000..5d49a1dd5c90 --- /dev/null +++ b/editors/notepadnext/Makefile @@ -0,0 +1,39 @@ +PORTNAME= notepadnext +DISTVERSIONPREFIX= v +DISTVERSION= 0.5.1 +CATEGORIES= editors + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Reimplementation of Notepad++ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libuchardet.so:textproc/uchardet + +USES= gl qmake qt:5 xorg +USE_QT= core gui network printsupport widgets buildtools_build linguisttools_build +USE_GL= gl +USE_XORG= xcb + +USE_GITHUB= yes +GH_ACCOUNT= dail8859 +GH_PROJECT= NotepadNext + +GH_TUPLE= alex-spataru:QSimpleUpdater:62e0ce7dde4c76e7533f2f0ee53f19ee1690c8dd:alex_spataru_QSimpleUpdater/src/QSimpleUpdater \ + editorconfig:editorconfig-core-qt:52820d59769fcba6d0ed94f685406c0383fe1a30:editorconfig_editorconfig_core_qt/src/editorconfig-core-qt \ + editorconfig:editorconfig-core-test:70840cfaf6a06766ab61e975b8a1fe3b891ee08e:editorconfig_editorconfig_core_test/src/editorconfig-core-qt/tests \ + githubuser0xFFFF:Qt-Advanced-Docking-System:d5fefaa35fb53e299b7f39b0d8f541954c710d94:githubuser0xFFFF_Qt_Advanced_Docking_System/src/ads \ + itay-grudev:SingleApplication:d0c43a51ad7d4f74ae5cff8d8cbf8aba0cf5e51c:itay_grudev_SingleApplication/src/singleapplication + +QMAKE_SOURCE_PATH= ${WRKSRC}/src/NotepadNext.pro + +CXXFLAGS+= -I${LOCALBASE}/include/uchardet +LDFLAGS+= -luchardet + +PLIST_FILES= bin/NotepadNext + +do-install: # workaround for https://github.com/dail8859/NotepadNext/issues/123 + ${INSTALL_PROGRAM} ${WRKSRC}/NotepadNext/NotepadNext ${STAGEDIR}${PREFIX}/bin/NotepadNext + +.include diff --git a/editors/notepadnext/distinfo b/editors/notepadnext/distinfo new file mode 100644 index 000000000000..7aa11e0532f9 --- /dev/null +++ b/editors/notepadnext/distinfo @@ -0,0 +1,13 @@ +TIMESTAMP = 1651366379 +SHA256 (dail8859-NotepadNext-v0.5.1_GH0.tar.gz) = 6033f82d41be516f04fabd31213ead35ca2a4ead5adb74501766c9464a3d9548 +SIZE (dail8859-NotepadNext-v0.5.1_GH0.tar.gz) = 4544658 +SHA256 (alex-spataru-QSimpleUpdater-62e0ce7dde4c76e7533f2f0ee53f19ee1690c8dd_GH0.tar.gz) = 1cc98b82e117f10d8eb563357a53c541e2b5e70a7b6845c4ae855b2a27edf448 +SIZE (alex-spataru-QSimpleUpdater-62e0ce7dde4c76e7533f2f0ee53f19ee1690c8dd_GH0.tar.gz) = 298412 +SHA256 (editorconfig-editorconfig-core-qt-52820d59769fcba6d0ed94f685406c0383fe1a30_GH0.tar.gz) = c28d5fded91231985f2b08729dd3f9ad5adbe6d117fbd9b00ab4c5314a761f6a +SIZE (editorconfig-editorconfig-core-qt-52820d59769fcba6d0ed94f685406c0383fe1a30_GH0.tar.gz) = 6348 +SHA256 (editorconfig-editorconfig-core-test-70840cfaf6a06766ab61e975b8a1fe3b891ee08e_GH0.tar.gz) = 1692c09541fa0c4b0b166335c4cc0cb6a7b38bc65a6f5c0d4973c57768341c53 +SIZE (editorconfig-editorconfig-core-test-70840cfaf6a06766ab61e975b8a1fe3b891ee08e_GH0.tar.gz) = 13587 +SHA256 (githubuser0xFFFF-Qt-Advanced-Docking-System-d5fefaa35fb53e299b7f39b0d8f541954c710d94_GH0.tar.gz) = ddad83d4a349f5401e973fccd36e72d2d15fa140902d51a4accb39288c477413 +SIZE (githubuser0xFFFF-Qt-Advanced-Docking-System-d5fefaa35fb53e299b7f39b0d8f541954c710d94_GH0.tar.gz) = 10206316 +SHA256 (itay-grudev-SingleApplication-d0c43a51ad7d4f74ae5cff8d8cbf8aba0cf5e51c_GH0.tar.gz) = e49a35dd366a3a2ddc4b97f1d5fb5af9bed84a04a693645f61248c78ba370676 +SIZE (itay-grudev-SingleApplication-d0c43a51ad7d4f74ae5cff8d8cbf8aba0cf5e51c_GH0.tar.gz) = 21560 diff --git a/editors/notepadnext/files/patch-src_NotepadNext_ScintillaNext.cpp b/editors/notepadnext/files/patch-src_NotepadNext_ScintillaNext.cpp new file mode 100644 index 000000000000..a1449e2ef07a --- /dev/null +++ b/editors/notepadnext/files/patch-src_NotepadNext_ScintillaNext.cpp @@ -0,0 +1,11 @@ +--- src/NotepadNext/ScintillaNext.cpp.orig 2022-05-01 01:18:16 UTC ++++ src/NotepadNext/ScintillaNext.cpp +@@ -17,7 +17,7 @@ + */ + + #include "ScintillaNext.h" +-#include "uchardet.h" ++#include + #include + + #include diff --git a/editors/notepadnext/files/patch-src_ads_src_linux_FloatingWidgetTitleBar.cpp b/editors/notepadnext/files/patch-src_ads_src_linux_FloatingWidgetTitleBar.cpp new file mode 100644 index 000000000000..b62b3f7bfa86 --- /dev/null +++ b/editors/notepadnext/files/patch-src_ads_src_linux_FloatingWidgetTitleBar.cpp @@ -0,0 +1,11 @@ +--- src/ads/src/linux/FloatingWidgetTitleBar.cpp.orig 2022-05-01 01:03:58 UTC ++++ src/ads/src/linux/FloatingWidgetTitleBar.cpp +@@ -194,7 +194,7 @@ void CFloatingWidgetTitleBar::mouseMoveEvent(QMouseEve + { + if(d->FloatingWidget->isMaximized()) + { +- d->FloatingWidget->showNormal(true); ++ d->FloatingWidget->showNormal(); + } + d->FloatingWidget->moveFloating(); + Super::mouseMoveEvent(ev); diff --git a/editors/notepadnext/pkg-descr b/editors/notepadnext/pkg-descr new file mode 100644 index 000000000000..d68d699ef54f --- /dev/null +++ b/editors/notepadnext/pkg-descr @@ -0,0 +1,3 @@ +Notepad Next is a cross-platform reimplementation of Notepad++. + +WWW: https://github.com/dail8859/NotepadNext