Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package notepadqq for openSUSE:Factory checked in at 2026-08-11 17:15:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/notepadqq (Old) and /work/SRC/openSUSE:Factory/.notepadqq.new.17972 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "notepadqq" Tue Aug 11 17:15:35 2026 rev:17 rq:1370600 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/notepadqq/notepadqq.changes 2021-07-03 20:51:28.968476192 +0200 +++ /work/SRC/openSUSE:Factory/.notepadqq.new.17972/notepadqq.changes 2026-08-11 17:16:37.980767884 +0200 @@ -1,0 +2,29 @@ +Mon Aug 3 17:48:43 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 2.1.1 (boo#1273174) + Highlights: + * Migrated the project build system from qmake to CMake. + * Completed the move to Qt 6 across the application. + * Fixed several long-standing stability issues in autosave, + backup, session restore, and command handling. + * Added a handful of editor and UX improvements, including + transpose-line support and RTL/LTR direction support. + User-facing improvements: + * Added transpose-line support. + * Added RTL/LTR direction switching support. + * Fixed visible close buttons in Advanced Search under Qt 6. + * Fixed a shortcut conflict involving Duplicate Line. + * Updated and expanded translations, including Dutch and + several translation fixes. + Stability and bug fixes: + * Fixed session-restore encoding issues that could cause + unsaved tabs to reopen with the wrong encoding. + * Fixed a crash in BackupService::executeBackup(). + * Fixed an autosave-related segfault. + * Fixed special placeholder handling for running commands. + * Added additional null-pointer and defensive fixes in a few + crash-prone paths. + * Cleaned up a range of build warnings and Qt 6 compatibility + issues. + +------------------------------------------------------------------- Old: ---- _service _servicedata notepadqq-2.0.0~20201022T180930.03cdde0.tar.xz New: ---- notepadqq-2.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ notepadqq.spec ++++++ --- /var/tmp/diff_new_pack.RMng6A/_old 2026-08-11 17:16:38.780801785 +0200 +++ /var/tmp/diff_new_pack.RMng6A/_new 2026-08-11 17:16:38.780801785 +0200 @@ -1,7 +1,7 @@ # # spec file for package notepadqq # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,77 +16,80 @@ # +%define qt6_version 6.4.0 + Name: notepadqq -Version: 2.0.0~20201022T180930.03cdde0 +Version: 2.1.1 Release: 0 Summary: Notepad++-like editor License: GPL-3.0-or-later -Group: Productivity/Text/Editors URL: https://notepadqq.com/ -Source: %{name}-%{version}.tar.xz +Source0: https://github.com/notepadqq/notepadqq/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: fdupes -BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme -BuildRequires: libqt5-linguist BuildRequires: pkgconfig -BuildRequires: update-desktop-files -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Network) -BuildRequires: pkgconfig(Qt5PrintSupport) -BuildRequires: pkgconfig(Qt5Svg) -BuildRequires: pkgconfig(Qt5Test) -BuildRequires: pkgconfig(Qt5WebChannel) -BuildRequires: pkgconfig(Qt5WebEngineWidgets) -BuildRequires: pkgconfig(Qt5WebSockets) -BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Core5Compat) >= %{qt6_version} +BuildRequires: cmake(Qt6DBus) >= %{qt6_version} +BuildRequires: cmake(Qt6Gui) >= %{qt6_version} +BuildRequires: cmake(Qt6LinguistTools) >= %{qt6_version} +BuildRequires: cmake(Qt6Network) >= %{qt6_version} +BuildRequires: cmake(Qt6PrintSupport) >= %{qt6_version} +BuildRequires: cmake(Qt6Svg) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6WebChannel) >= %{qt6_version} +BuildRequires: cmake(Qt6WebEngineWidgets) >= %{qt6_version} +BuildRequires: cmake(Qt6WebSockets) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} BuildRequires: pkgconfig(uchardet) +ExclusiveArch: %{x86_64} aarch64 riscv64 %description Text editor with support for multiple programming languages, multiple encodings, and plugins. %prep -%setup -q +%autosetup -p1 find src/extension_tools/node_modules/ -type f -name '*.js' -exec sed -i '1s/^\(#!.\+\)env /\1/' {} \; sed -i '1s/^\(#!.\+\)env /\1/' src/extension_tools/node_modules/shelljs/bin/shjs +sed -i '1 s|^#!%{_bindir}/env bash|#!%{_bindir}/bash|' src/extension_tools/node_modules/archiver/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh -pushd src/extension_tools/node_modules/archiver/node_modules -chmod 0755 tar-stream/node_modules/bl/test/sauce.js -chmod 0755 glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh -popd chmod 0644 src/editor/libs/codemirror/mode/sas/sas.js # W: script-without-shebang chmod -x src/editor/libs/throttle-debounce/* %build -%qmake5 \ - PREFIX=%{_prefix} \ - QMAKE_CXXFLAGS="%{optflags}" \ - LRELEASE=%{_libqt5_bindir}/lrelease \ - notepadqq.pro -%make_build +%cmake_qt6 \ + -DCMAKE_SKIP_RPATH:BOOL=TRUE + +%qt6_build %install -%qmake5_install -%suse_update_desktop_file -r %{name} Utility TextEditor +%qt6_install -find %{buildroot}/ -name '.*' -print0 | xargs -0 rm -rf +find %{buildroot} -name '.*' -print0 | xargs -0 rm -r -sed -i '1 s|^#!%{_bindir}/env bash|#!%{_bindir}/bash|' %{buildroot}%{_datadir}/%{name}/extension_tools/node_modules/archiver/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh +pushd %{buildroot}%{_datadir}/notepadqq/extension_tools/node_modules +chmod 0755 \ + archiver/node_modules/async/support/sync-package-managers.js \ + archiver/node_modules/glob/node_modules/minimatch/node_modules/brace-expansion/test/generate.sh \ + archiver/node_modules/tar-stream/node_modules/bl/test/sauce.js \ + shelljs/bin/shjs \ + shelljs/scripts/generate-docs.js \ + shelljs/scripts/run-tests.js +popd -%fdupes %{buildroot}%{_datadir}/ +%fdupes %{buildroot}%{_datadir} %files %license COPYING %doc CONTRIBUTING.md README.md -%{_bindir}/%{name} -%{_prefix}/lib/%{name}/ -%{_datadir}/%{name}/ -%{_datadir}/applications/%{name}.desktop -%{_datadir}/icons/hicolor/*/apps/%{name}.* -%{_datadir}/metainfo/notepadqq.appdata.xml +%{_bindir}/notepadqq +%{_datadir}/notepadqq/ +%{_datadir}/applications/notepadqq.desktop +%{_datadir}/icons/hicolor/*/apps/notepadqq.* +%{_datadir}/metainfo/com.notepadqq.Notepadqq.metainfo.xml +%{_mandir}/man1/notepadqq.1%{?ext_man}
