diff --git a/editors/Makefile b/editors/Makefile index afc08b6fb362..83c8645fed0a 100644 --- a/editors/Makefile +++ b/editors/Makefile @@ -1,297 +1,298 @@ COMMENT = Editors SUBDIR += 2bsd-vi SUBDIR += abiword SUBDIR += abiword-docs SUBDIR += aee SUBDIR += aewan SUBDIR += amp SUBDIR += apel SUBDIR += asedit SUBDIR += beav SUBDIR += bee-host SUBDIR += biew SUBDIR += bined SUBDIR += bingrok SUBDIR += bitedit SUBDIR += bless SUBDIR += boiling-egg SUBDIR += bpatch SUBDIR += bvi SUBDIR += calligra SUBDIR += calligraplan SUBDIR += chexedit SUBDIR += cooledit SUBDIR += cpeditor SUBDIR += cream SUBDIR += cudatext SUBDIR += deforaos-editor SUBDIR += dhex SUBDIR += diakonos SUBDIR += diamond SUBDIR += dkns SUBDIR += drjava SUBDIR += dte SUBDIR += e3 SUBDIR += e93 SUBDIR += ecce SUBDIR += ecrire SUBDIR += editorconfig-core-c SUBDIR += elementary-code SUBDIR += emacs SUBDIR += emacs-devel SUBDIR += encryptpad SUBDIR += featherpad SUBDIR += fileobj SUBDIR += flim SUBDIR += focuswriter SUBDIR += fxite SUBDIR += gedit SUBDIR += gedit-plugins SUBDIR += ghex SUBDIR += ghostwriter SUBDIR += gmanedit SUBDIR += gnome-latex SUBDIR += gnome-text-editor SUBDIR += gobby SUBDIR += gomate SUBDIR += gummi SUBDIR += helix SUBDIR += heme SUBDIR += hexcurse SUBDIR += hexedit SUBDIR += hexer SUBDIR += hexpert SUBDIR += hnb SUBDIR += hte SUBDIR += imhex SUBDIR += jed SUBDIR += jedit SUBDIR += joe SUBDIR += jucipp SUBDIR += jupp SUBDIR += kak-lsp SUBDIR += kakoune SUBDIR += kate SUBDIR += kate-devel SUBDIR += kibi SUBDIR += kile SUBDIR += komodo-edit SUBDIR += languageclient-neovim SUBDIR += lapce SUBDIR += lazarus SUBDIR += lazarus-devel SUBDIR += lazarus-qt5 SUBDIR += lazarus-qt5-devel SUBDIR += lazarus-qt6 SUBDIR += lazarus-qt6-devel SUBDIR += le SUBDIR += leafpad SUBDIR += libreoffice SUBDIR += libreoffice-af SUBDIR += libreoffice-am SUBDIR += libreoffice-as SUBDIR += libreoffice-ast SUBDIR += libreoffice-be SUBDIR += libreoffice-bg SUBDIR += libreoffice-bn SUBDIR += libreoffice-bn_IN SUBDIR += libreoffice-bo SUBDIR += libreoffice-br SUBDIR += libreoffice-brx SUBDIR += libreoffice-bs SUBDIR += libreoffice-ca SUBDIR += libreoffice-ca_valencia SUBDIR += libreoffice-ckb SUBDIR += libreoffice-cs SUBDIR += libreoffice-cy SUBDIR += libreoffice-da SUBDIR += libreoffice-dgo SUBDIR += libreoffice-dsb SUBDIR += libreoffice-dz SUBDIR += libreoffice-el SUBDIR += libreoffice-en_GB SUBDIR += libreoffice-en_ZA SUBDIR += libreoffice-eo SUBDIR += libreoffice-es SUBDIR += libreoffice-et SUBDIR += libreoffice-eu SUBDIR += libreoffice-fa SUBDIR += libreoffice-fi SUBDIR += libreoffice-fur SUBDIR += libreoffice-fy SUBDIR += libreoffice-ga SUBDIR += libreoffice-gd SUBDIR += libreoffice-gl SUBDIR += libreoffice-gu SUBDIR += libreoffice-gug SUBDIR += libreoffice-hi SUBDIR += libreoffice-hr SUBDIR += libreoffice-hsb SUBDIR += libreoffice-i18n SUBDIR += libreoffice-id SUBDIR += libreoffice-is SUBDIR += libreoffice-it SUBDIR += libreoffice-ka SUBDIR += libreoffice-kab SUBDIR += libreoffice-kk SUBDIR += libreoffice-km SUBDIR += libreoffice-kmr_Latn SUBDIR += libreoffice-kn SUBDIR += libreoffice-kok SUBDIR += libreoffice-ks SUBDIR += libreoffice-lb SUBDIR += libreoffice-lo SUBDIR += libreoffice-lt SUBDIR += libreoffice-lv SUBDIR += libreoffice-mai SUBDIR += libreoffice-mk SUBDIR += libreoffice-ml SUBDIR += libreoffice-mn SUBDIR += libreoffice-mni SUBDIR += libreoffice-mr SUBDIR += libreoffice-my SUBDIR += libreoffice-nb SUBDIR += libreoffice-ne SUBDIR += libreoffice-nl SUBDIR += libreoffice-nn SUBDIR += libreoffice-nr SUBDIR += libreoffice-nso SUBDIR += libreoffice-oc SUBDIR += libreoffice-om SUBDIR += libreoffice-or SUBDIR += libreoffice-pa_IN SUBDIR += libreoffice-ro SUBDIR += libreoffice-rw SUBDIR += libreoffice-sa_IN SUBDIR += libreoffice-sat SUBDIR += libreoffice-sd SUBDIR += libreoffice-si SUBDIR += libreoffice-sid SUBDIR += libreoffice-sk SUBDIR += libreoffice-sl SUBDIR += libreoffice-sq SUBDIR += libreoffice-sr SUBDIR += libreoffice-sr_Latn SUBDIR += libreoffice-ss SUBDIR += libreoffice-st SUBDIR += libreoffice-sv SUBDIR += libreoffice-sw_TZ SUBDIR += libreoffice-szl SUBDIR += libreoffice-ta SUBDIR += libreoffice-te SUBDIR += libreoffice-tg SUBDIR += libreoffice-th SUBDIR += libreoffice-tn SUBDIR += libreoffice-tr SUBDIR += libreoffice-ts SUBDIR += libreoffice-tt SUBDIR += libreoffice-ug SUBDIR += libreoffice-uz SUBDIR += libreoffice-ve SUBDIR += libreoffice-vec SUBDIR += libreoffice-xh SUBDIR += libreoffice-zu SUBDIR += linux-bcompare SUBDIR += linux-r7-office SUBDIR += linux-sublime SUBDIR += linux-sublime-text4 SUBDIR += linux-sublime3 SUBDIR += linux-wps-office SUBDIR += lite SUBDIR += lite-xl SUBDIR += marker SUBDIR += mg SUBDIR += mickey SUBDIR += micro SUBDIR += mined SUBDIR += mle SUBDIR += morla SUBDIR += mousepad SUBDIR += mp SUBDIR += nano SUBDIR += ne SUBDIR += nedit SUBDIR += neovim SUBDIR += neovim-gtk SUBDIR += neovim-qt SUBDIR += notepadnext + SUBDIR += notepadnext-devel SUBDIR += novelwriter SUBDIR += nvi-m17n SUBDIR += nvi2 SUBDIR += omegaT SUBDIR += openoffice-4 SUBDIR += openoffice-devel SUBDIR += orbiton SUBDIR += ox SUBDIR += p5-Proc-InvokeEditor SUBDIR += p5-Vimana SUBDIR += paredit-mode.el SUBDIR += parinfer-rust SUBDIR += pico-alpine SUBDIR += picpas SUBDIR += pluma SUBDIR += pluma-plugins SUBDIR += poedit SUBDIR += poke SUBDIR += psgml SUBDIR += puff SUBDIR += py-babi SUBDIR += py-editorconfig SUBDIR += py-pynvim SUBDIR += py-vim-bridge SUBDIR += quilter SUBDIR += rehex SUBDIR += retext SUBDIR += rubygem-neovim SUBDIR += sam SUBDIR += scite SUBDIR += se SUBDIR += semi SUBDIR += setzer SUBDIR += shed SUBDIR += slime SUBDIR += sly SUBDIR += sly-asdf SUBDIR += sly-named-readtables SUBDIR += sly-quicklisp SUBDIR += ssed SUBDIR += sted SUBDIR += tamago SUBDIR += tea SUBDIR += teco SUBDIR += ted SUBDIR += tetradraw SUBDIR += texmacs SUBDIR += texmaker SUBDIR += texstudio SUBDIR += textadept SUBDIR += texworks SUBDIR += the SUBDIR += treeform SUBDIR += turbo SUBDIR += tweak SUBDIR += uemacs SUBDIR += uhex SUBDIR += uzap SUBDIR += ved SUBDIR += vigor SUBDIR += vile SUBDIR += vim SUBDIR += vim-colorschemes-legacy SUBDIR += vim-lsp SUBDIR += vis SUBDIR += vscode SUBDIR += web-mode SUBDIR += with-editor SUBDIR += with-editor-devel SUBDIR += wordgrinder SUBDIR += wxhexeditor SUBDIR += xcoral SUBDIR += xed SUBDIR += xmlcopyeditor SUBDIR += xvile SUBDIR += yudit SUBDIR += zile .include diff --git a/editors/notepadnext-devel/Makefile b/editors/notepadnext-devel/Makefile new file mode 100644 index 000000000000..3a1185e47429 --- /dev/null +++ b/editors/notepadnext-devel/Makefile @@ -0,0 +1,45 @@ +PORTNAME= notepadnext +DISTVERSIONPREFIX= v +PORTVERSION= ${NPNEXT_COMMIT_DATE} +CATEGORIES= editors +PKGNAMESUFFIX= -devel + +MAINTAINER= cy@FreeBSD.org +COMMENT= Reimplementation of Notepad++ +WWW= https://github.com/dail8859/NotepadNext + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +CONFLICTS= notepadnext-[0-9]* + +LIB_DEPENDS= libuchardet.so:textproc/uchardet + +USES= desktop-file-utils 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_TAGNAME= 9b541cf +NPNEXT_COMMIT_DATE= 2024.02.02 + +GH_TUPLE= alex-spataru:QSimpleUpdater:e4d8c73847d02eeafa1052ccb5cb5631ba3c40ae:alex_spataru_QSimpleUpdater/src/QSimpleUpdater \ + editorconfig:editorconfig-core-qt:ee967262db4fdbd735f9971cc0c90cf4f3100d3a:editorconfig_editorconfig_core_qt/src/editorconfig-core-qt \ + editorconfig:editorconfig-core-test:5ca0b296dc31124d0303895c163013450bd97958:editorconfig_editorconfig_core_test/src/editorconfig-core-qt/tests \ + githubuser0xFFFF:Qt-Advanced-Docking-System:644c828f007fba8dda4292dde432f29f69793362:githubuser0xFFFF_Qt_Advanced_Docking_System/src/ads \ + itay-grudev:SingleApplication:494772e98cef0aa88124f154feb575cc60b08b38:itay_grudev_SingleApplication/src/singleapplication + +QMAKE_SOURCE_PATH= ${WRKSRC}/src/NotepadNext.pro + +CXXFLAGS+= -I${LOCALBASE}/include/uchardet +LDFLAGS+= -luchardet + +PLIST_FILES= bin/NotepadNext \ + share/applications/NotepadNext.desktop \ + share/icons/hicolor/scalable/apps/NotepadNext.svg \ + share/icons/hicolor/scalable/mimetypes/NotepadNext.svg + +.include diff --git a/editors/notepadnext-devel/distinfo b/editors/notepadnext-devel/distinfo new file mode 100644 index 000000000000..acb8f45d34d4 --- /dev/null +++ b/editors/notepadnext-devel/distinfo @@ -0,0 +1,13 @@ +TIMESTAMP = 1707195393 +SHA256 (dail8859-NotepadNext-v2024.02.02-9b541cf_GH0.tar.gz) = f351d5f88526b3177c37805d28f7509c612f9e5329bc0033c85f3cabaf74b9f7 +SIZE (dail8859-NotepadNext-v2024.02.02-9b541cf_GH0.tar.gz) = 5213935 +SHA256 (alex-spataru-QSimpleUpdater-e4d8c73847d02eeafa1052ccb5cb5631ba3c40ae_GH0.tar.gz) = 04d88d7dc3441fc18dbc008e43051947e7b2b53dd08ec07aa09dc2231f75bf47 +SIZE (alex-spataru-QSimpleUpdater-e4d8c73847d02eeafa1052ccb5cb5631ba3c40ae_GH0.tar.gz) = 298758 +SHA256 (editorconfig-editorconfig-core-qt-ee967262db4fdbd735f9971cc0c90cf4f3100d3a_GH0.tar.gz) = 7fe4a44b96676b08d446d22785ac078434138f4e0d834d9f44464a8fb3d0aa22 +SIZE (editorconfig-editorconfig-core-qt-ee967262db4fdbd735f9971cc0c90cf4f3100d3a_GH0.tar.gz) = 7309 +SHA256 (editorconfig-editorconfig-core-test-5ca0b296dc31124d0303895c163013450bd97958_GH0.tar.gz) = a1ca71c8f099c6ffc4fc1c0214732d4e27168fb2a5fbf2da47b5bc50fb7b5e79 +SIZE (editorconfig-editorconfig-core-test-5ca0b296dc31124d0303895c163013450bd97958_GH0.tar.gz) = 13689 +SHA256 (githubuser0xFFFF-Qt-Advanced-Docking-System-644c828f007fba8dda4292dde432f29f69793362_GH0.tar.gz) = d29e023d5dd4380b2f245e6bffa628c70e95577aee8a22b2ff01a9cf46ef276c +SIZE (githubuser0xFFFF-Qt-Advanced-Docking-System-644c828f007fba8dda4292dde432f29f69793362_GH0.tar.gz) = 21521553 +SHA256 (itay-grudev-SingleApplication-494772e98cef0aa88124f154feb575cc60b08b38_GH0.tar.gz) = e1a3625c3e60413847b1e74d2e2fabcabe5863686d26b16ee76f011f0521e535 +SIZE (itay-grudev-SingleApplication-494772e98cef0aa88124f154feb575cc60b08b38_GH0.tar.gz) = 23324 diff --git a/editors/notepadnext-devel/files/patch-src_NotepadNext_ScintillaNext.cpp b/editors/notepadnext-devel/files/patch-src_NotepadNext_ScintillaNext.cpp new file mode 100644 index 000000000000..cc17f4d44a2e --- /dev/null +++ b/editors/notepadnext-devel/files/patch-src_NotepadNext_ScintillaNext.cpp @@ -0,0 +1,11 @@ +--- src/NotepadNext/ScintillaNext.cpp.orig 2022-05-26 23:25:10 UTC ++++ src/NotepadNext/ScintillaNext.cpp +@@ -20,7 +20,7 @@ + #include "ScintillaNext.h" + #include "ScintillaCommenter.h" + +-#include "uchardet.h" ++#include + #include + + #include diff --git a/editors/notepadnext-devel/files/patch-src_ads_src_linux_FloatingWidgetTitleBar.cpp b/editors/notepadnext-devel/files/patch-src_ads_src_linux_FloatingWidgetTitleBar.cpp new file mode 100644 index 000000000000..e4f4d46cf8df --- /dev/null +++ b/editors/notepadnext-devel/files/patch-src_ads_src_linux_FloatingWidgetTitleBar.cpp @@ -0,0 +1,11 @@ +--- src/ads/src/linux/FloatingWidgetTitleBar.cpp.orig 2023-04-08 00:42:57 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-devel/files/patch-src_i18n.pri b/editors/notepadnext-devel/files/patch-src_i18n.pri new file mode 100644 index 000000000000..e49687b102c5 --- /dev/null +++ b/editors/notepadnext-devel/files/patch-src_i18n.pri @@ -0,0 +1,31 @@ +--- src/i18n.pri.orig 2023-10-20 04:05:44 UTC ++++ src/i18n.pri +@@ -18,16 +18,16 @@ + + CONFIG += lrelease embed_translations + +-TRANSLATIONS = \ +- ../../i18n/NotepadNext_zh_CN.ts \ +- ../../i18n/NotepadNext_zh_TW.ts \ +- ../../i18n/NotepadNext_sv_SE.ts \ +- ../../i18n/NotepadNext_uk_UA.ts \ +- ../../i18n/NotepadNext_tr_TR.ts ++#TRANSLATIONS = \ ++# ../../i18n/NotepadNext_zh_CN.ts \ ++# ../../i18n/NotepadNext_zh_TW.ts \ ++# ../../i18n/NotepadNext_sv_SE.ts \ ++# ../../i18n/NotepadNext_uk_UA.ts \ ++# ../../i18n/NotepadNext_tr_TR.ts + +-EXTRA_TRANSLATIONS = \ +- $$[QT_INSTALL_TRANSLATIONS]/qt_zh_CN.qm \ +- $$[QT_INSTALL_TRANSLATIONS]/qt_zh_TW.qm \ +- $$[QT_INSTALL_TRANSLATIONS]/qt_sv.qm \ +- $$[QT_INSTALL_TRANSLATIONS]/qt_uk.qm \ +- $$[QT_INSTALL_TRANSLATIONS]/qt_tr.qm ++#EXTRA_TRANSLATIONS = \ ++# $$[QT_INSTALL_TRANSLATIONS]/qt_zh_CN.qm \ ++# $$[QT_INSTALL_TRANSLATIONS]/qt_zh_TW.qm \ ++# $$[QT_INSTALL_TRANSLATIONS]/qt_sv.qm \ ++# $$[QT_INSTALL_TRANSLATIONS]/qt_uk.qm \ ++# $$[QT_INSTALL_TRANSLATIONS]/qt_tr.qm diff --git a/editors/notepadnext-devel/pkg-descr b/editors/notepadnext-devel/pkg-descr new file mode 100644 index 000000000000..9fa3dc40787c --- /dev/null +++ b/editors/notepadnext-devel/pkg-descr @@ -0,0 +1 @@ +Notepad Next is a cross-platform reimplementation of Notepad++.