commit fe93b8b8f8d97bcda3c984ba1453c4861a69cdf86039e67e995ddf43bd6ef367 Author: Shawn Dunn Date: Wed Oct 30 18:44:21 2024 +0000 - Change BuildRequires from lxqt-build-tools-devel to cmake(lxqt-build-tools) OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/qtermwidget-qt5?expand=0&rev=32 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/qtermwidget-1.4.0.tar.xz b/qtermwidget-1.4.0.tar.xz new file mode 100644 index 0000000..7fbc59c --- /dev/null +++ b/qtermwidget-1.4.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7253065f74fa056843c95f9543e690bcaf7a03647ef5e02379eec4eb162026b +size 190320 diff --git a/qtermwidget-1.4.0.tar.xz.asc b/qtermwidget-1.4.0.tar.xz.asc new file mode 100644 index 0000000..47b52e8 --- /dev/null +++ b/qtermwidget-1.4.0.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJJBAABCAAzFiEEGd/fOleb1QnbtXLYvnkwB60i334FAmVHhxoVHHRzdWphbjIw +MDBAZ21haWwuY29tAAoJEL55MAetIt9+cmcQAJLBzBOmtDKgRKUTq7vQS9TuQ1YW +FaCDLZXrDcQN6ssYuH6+CRZjcQuVUvpEtlxA6i+wZty5foc8zUBHseY+i7C4gXFA +5IpIG+gh/bW6JQPbg/uBYqClOnNHGIOuTsj7teNw9NRbr7GcrnBr7X8V62j3hnCB +6hn8/kwAv2s7UwYEpRYWJpHsXcT+Y7cRh7kR0YkOodzBKHuyYVa44UWn10y7X0Ao +Kid9rx06rqqpwnMld0E3jtwAiyTyeFRzlRRQL/mAn+jENV4K6zY4fjo9gS98D0h7 +PmVejpXJE1KXHoXdhTLNYY6z6iNgHBzUiJTm/w/2KfbCEwkQRlz3tuy4zhMb4SO8 +8tbwrrF24vJBmBg2zdUJto43HgcSPUTfq3qWwN6RPsvPoDrWsPbbTCCB/zjbW9Ab +WJlSIaFI77DmMquYWknIX5Mr681qxhfq8IqLAmD7sL839EdfXDwxqdz35CkI748w +KQH/4gwRuxoo8VM7LkVTbBJLkZwcONH+Tpe++yBHNE0sj+zqWHtj5GHHmu+QdeAj +a9P6YgHj+mKVPCnzKXbuiWqIjs0aZ6uqEKwCxTtSUWCWr+HHqMZQdZZHUCmYbR5N +gTv6eQZ3HywTEbCWYjS9SPqIAffLS/uHV6oYxu21QyDbvb66pwpyLWHcmRH6qJx7 +QQw+8gXX9VHb56+O +=sWrT +-----END PGP SIGNATURE----- diff --git a/qtermwidget-qt5.changes b/qtermwidget-qt5.changes new file mode 100644 index 0000000..8be1af7 --- /dev/null +++ b/qtermwidget-qt5.changes @@ -0,0 +1,270 @@ +------------------------------------------------------------------- +Wed Oct 30 18:43:52 UTC 2024 - Shawn Dunn + +- Change BuildRequires from lxqt-build-tools-devel to + cmake(lxqt-build-tools) + +------------------------------------------------------------------- +Mon Nov 6 02:52:03 UTC 2023 - Shawn Dunn + +- Update to 1.4.0: + * TERM env variable is set to xterm-256color when not set with + QTermWidget::setEnvironment(). + * getForegroundProcessId() is added to QTermWidget class to allow + terminal apps to check if the user has started a process in the + shell and alert them. + * A great amount of code cleanup. + * Falcon color scheme is added. + +------------------------------------------------------------------- +Sat Apr 15 18:18:02 UTC 2023 - Shawn Dunn + +- Update to 1.3.0: + * A problem is fixed in switching the color scheme between dark + and light. + * Prevented a crash on splitting the terminal under + `kwin_wayland` + +------------------------------------------------------------------- +Sat Nov 5 18:43:44 UTC 2022 - Shawn Dunn + +- Update to 1.2.0: + * Enabled Bidi rendering by default. + * Made text DND follow the settings for newline trimming and + multiline prompt. + * Allow `QTermWidget` to be used as a Qt Plugin. + +------------------------------------------------------------------- +Tue Apr 26 16:17:25 UTC 2022 - Michael Vetter + +- Update to 1.1.0: + * Handled the zero history size. + * Added API documentation and followed the naming convention in some + places of the code. + * Return focus to the terminal on closing the search bar. + * Code cleanup and enhancement. + +------------------------------------------------------------------- +Tue Apr 26 14:58:28 UTC 2022 - Christophe Giboudeaux + +- Fix a rpmlint error: + * libqtermwidget5-0.x86_64: E: shlib-policy-name-error + SONAME: libqtermwidget5.so.1, expected package suffix: 1 + +------------------------------------------------------------------- +Mon Nov 8 10:08:12 UTC 2021 - Michael Vetter + +- Update to 1.0.0: + * Bumped minimum required Qt version to 5.15. + * Fixed crash under (Plasma) Wayland on opening tab and splitting. + * Quote drag-and-drop file names. + * Backported CNL and CPL support from Konsole. + * Some code cleanup. + +------------------------------------------------------------------- +Fri Apr 16 10:26:15 UTC 2021 - Michael Vetter + +- Update to 0.17.0: + * Dropped the support for KDE3 color scheme formats. + * Properly implemented the "Action after paste" feature. + * Added modes for background image. How background images are + drawn is changed and manual reconfiguration may be needed. + See docs/configuration.md for more details. + * Added a method to disable bracketed paste mode. + * Fixed the execution after pasting when Ctrl is hold. + +------------------------------------------------------------------- +Sun Nov 15 07:40:50 UTC 2020 - Michael Vetter + +- Update to 0.16.1: + * Bumped version to 0.16.1, for a point release of qterminal. + +------------------------------------------------------------------- +Wed Nov 4 13:54:51 UTC 2020 - Michael Vetter + +- Update to 0.16.0: + * Use qAsConst. + * Don't search application dir for keyboard and scheme data. + * Use Q_EMIT to call signals, instead of the emit keyword. + * Dropped the deprecated class QLinkedList. + * Don't use 0/nullptr to initialize QFlags. + * Fixed ColorEntry copy operator. + * Disabled the use of copy constructors and assignment operators. + * Check for successful ioctl() calls by testing that the call + did not return -1. + * Fix find_package() developer warning in cmake. + * Use const references wherever possible. + * Handle keyboard commands properly. + +------------------------------------------------------------------- +Mon Apr 27 11:28:43 UTC 2020 - Callum Farmer + +- Keyring change + * Renamed qtermwidget.keyring to qtermwidget-qt5.keyring + * Changed key to tsujan's key + +------------------------------------------------------------------- +Sat Apr 25 09:53:31 UTC 2020 - Callum Farmer + +- Update to version 0.15.0 + * Fixes for macOS. + * Fixed the PyQt5 binding with Qt ≥ 5.11. + * Fixed a memory access violation. + * Added saveHistory to QTermWidget. + * Don't set the selection clipboard if it's unsupported. + * Announce truecolor support via COLORTERM. + * Fixed the numpad handling and added entries for numpad 5. + * Allow to disable drawing line characters. + * Fixed compilation on NetBSD. + * Fixed flickering on font change. + * Select all text when opening search-bar. + * Fixed search-bar's light text over white background with dark themes. + * Fixed build with LLVM/clang. + * Several fixes. + +------------------------------------------------------------------- +Fri Mar 1 09:44:38 UTC 2019 - mvetter@suse.com + +- Update to 0.14.1: + * Only translations was changed. + +------------------------------------------------------------------- +Thu Jan 31 10:54:46 UTC 2019 - Michael Vetter + +- Update to 0.14.0: + * Clarify the licenses used in qtermwidget and added the missed root licenses + * Ensure .bash_history is correctly written out + * Make Backspace behaves the same as xterm + * Fixed visual glitches in the search bar + * Redraw cursor after cursor type changed + * Fix handling of ST (String Terminator) for OSC (Operating System Commands) + +------------------------------------------------------------------- +Tue May 22 14:40:54 UTC 2018 - mvetter@suse.com + +- Add asc and keyring file +- Update to 0.9.0: + * Take transient scrollbars into account + * CMake: Prevent in-source builds + * Refactor and fixes Python binding + * kptyprocess: Try to terminate the shell process + * New color scheme: Ubuntu inspired + * Fixed some github pathes in uris + * Add a comment for potential future breakage + * Use wstring in TerminalCharacterDecoder for UCS-4 compatibility + * Support UTF-32 characters correctly + * Fix "bold and intensive" colors + * New color scheme: Tango (#167) + * Finish SGR mouse protocol (1006) + * Fix build of example with latest lxqt-build-tools + * Expose bracket text function + * Drop Qt foreach. + * Revert deletions in .sip file + * fix python bindings + * Expose terminal size hint API + * Remove class name + * Return something + * Expose bidi option + * Add an example for remote terminal + * Makes the use of libutempter optional + * Fix behavior of scroll up (SU) + * Install cmake files in LIBDIR as they are architecture dependend + * Check if utempter.h header exists (mainly for FreeBSD) + +------------------------------------------------------------------- +Wed Oct 25 09:06:18 UTC 2017 - mvetter@suse.com + +- Add BuildRequire: + * utf8proc-devel to have better utf8 support + * Qt5LinguistTools new dependency +- Use switch to not use git to pull translations + +------------------------------------------------------------------- +Mon Oct 23 12:10:58 UTC 2017 - mvetter@suse.com + +- Update to 0.8.0: + * FIX: #46 fix vertical font truncation + * bump versions + * Really fallback to /bin/sh when $SHELL is missing or invalid + * README: don't recommend building from source + * Improve README + * Don't export github templates + * Support REP escape sequence defined in ECMA-48, section 8.3.103 + * Fix build issue related to utmpx in Mac OSX Sierra + * Remove the deprecation notice + * Handle DECSCUSR signals + * Copied issue template + * Update building instructions + * Require Qt 5.6+ + * This commit allows the consumer of qtermwidget to capture the (#111) + * Allow the terminal display to be smaller than the size hint (#123) + * Backport Vt102 emulation fixes (#113) + * Backport the default.keytab from Konsole + * Fixes (#122) + * Updated README, Added support for PyQT 5.7 + * Fix memory leak in hotspot (URLs & emails) detection + * Adds superbuild support + * Use target_compile_definitions() instead of add_definitions() + * Update find_package() documentation + * Use the lxqt_create_pkgconfig_file + * Improve lxqt_translate_ts() use + * Adds COMPONENT to the install files + * Renames test app to example. Make it work + * Drop include_directories() for in tree dirs + * Use the CMake Targets way + * Pack Utf8Proc stuff + * Adds export header + * Use LXQtCompilerSettings + * Packs compile definitions + * Adds package version file + * Removes Qt4 stuff + * Add translation mechanism + * Use const iterators when possible. + * Enable strict iterators for debug builds + * TerminalDisplay: Make resizing "Size" translatable + * Exposes receivedData signal to users of QTermWidget + * Exposes sessions autoClose property to QTermWidget + +------------------------------------------------------------------- +Wed Jan 4 16:37:10 UTC 2017 - dap.darkness@gmail.com + +- Updated to 0.7.1: + * Bump patch version (#105); + * Added a modified Breeze color scheme (#104); + * Accept hex color strings as well (#101); + * Remove the stale lib/README (#102); + * Implement background images (#95); + * Implement other BOX DRAWING characters (#98); + * Preparations for context menu actions on URLs (#97); + * Drop the ancient wcwidth impl. and use utf8proc if possible; + * Remove widget size checks in setVTFont() (#86); + * Delete unused tooltip code (#81); + * Fix size of the array passed to memset() (#79). + +------------------------------------------------------------------- +Sun Sep 25 07:52:27 UTC 2016 - dap.darkness@gmail.com + +- Updated to 0.7.0: + * Remove support for Qt <= 5.4; + * Remove Designer plugin; + * Check CHANGELOG for additional information. +- %%cmake macro. + +------------------------------------------------------------------- +Tue May 17 23:19:05 UTC 2016 - jengelh@inai.de + +- Trim storytelling from description. + +------------------------------------------------------------------- +Sun Feb 28 14:45:43 UTC 2016 - dap.darkness@gmail.com + +- Updated to 0.6.0: + * Full Qt 5 support; + * Drag & Drop support; + * Lots of bugfixes and cleanups. + +------------------------------------------------------------------- +Wed Sep 17 16:00:43 UTC 2014 - dap.darkness@gmail.com + +- Initial build. + diff --git a/qtermwidget-qt5.keyring b/qtermwidget-qt5.keyring new file mode 100644 index 0000000..60c4720 --- /dev/null +++ b/qtermwidget-qt5.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BL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OP +kILLhE5FW+9/O0/9bpx4joJUDLV4d3hFZy7GSHKiZUs1QW6BV75JQKqoi+cVt+/L ++o1S8CMNekjqdC2mWRosM3doo51zT/FWNzQA1QcoZP2hORJDfw66y+4wPq6o8y1W +jR35ABEBAAGJAjYEGAEIACAWIQQZ3986V5vVCdu1cti+eTAHrSLffgUCXpzGvAIb +DAAKCRC+eTAHrSLffgbJD/4qW5YOo/BayBhaUh2L7VP7JNlECb/2xNNOFKI1NjNr +nOmgSJLzf74Uhmt5W+iVjmJBHrDceprIPkizmPrn90kIsPIMtHIDNxzUgKZHbnza +j1vZyAeC+JV79X1hOVpprj1TJwy65lpxXNyYnGqeIOgyFokn9fOHXv8aMQwpNuUr +bdUJ1C75jYrvwy/NR1DczIFFYgsbkDGDtjVBjyMc5JAgvUBz37/iVPJfWP6dKVnf +abRnUVzHgvgK7bnab00SA1TiWvjHURGjo+5rnRtv8X/AgStc2Phjq68TMIgMn0F2 +kjUVvfQotNqzo9madNshvUDmsGtAzKh4e0dS1ear7u3nRp4Z7fqSrTEtXKNbEPwZ +wdWrWmmQLacNQBSe/FtcMzGF6xIVr4lnrL0bFjqBdQpdTC7vns3QSKk8/GFiEfpv +kzXrDbGV7jX2OWDjNHKcmXX2+E1CsNaJgS7zOgZw5jvbvlTLJUwyYNlM1VLI2OFW +Oa86l8pqli+B7rpTbsAE9Ut8qUaWjm87oUNSJbaKgqNnMaE+b/8VJaEeWHgQJwsD +bJSJ/O/vzlRtDjOJ1JDlMRLs7TnOFeUh5pgwyaJoidYbJEiGlMGJbI6BjwhDTBFO +NLJtd3SsRjc7ICtGdCvej59IvCDTjxtkhx5okF03APi1aXpHQrE18/arFD7BpoGO +sw== +=gSIv +-----END PGP PUBLIC KEY BLOCK----- \ No newline at end of file diff --git a/qtermwidget-qt5.spec b/qtermwidget-qt5.spec new file mode 100644 index 0000000..1446338 --- /dev/null +++ b/qtermwidget-qt5.spec @@ -0,0 +1,102 @@ +# +# spec file for package qtermwidget-qt5 +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define qt_ver 5 +%define pack_summ Qt5 terminal widget +%define pack_desc QTermWidget is a project based on the KDE4 \ +Konsole application whose goal is to provide a Unicode-\ +enabled, embeddable Qt widget to be used as a built-in console (or \ +terminal emulation widget). Though Konsole is able of getting embedded, \ +it is possible to have Qt without KDE. The original \ +Konsole code was rewritten entirely with using Qt only, and all \ +code dealing with user interface parts and session management was \ +removed. +Name: qtermwidget-qt5 +Version: 1.4.0 +Release: 0 +Summary: %{pack_summ} +License: GPL-2.0-or-later +Group: Development/Libraries/C and C++ +URL: https://github.com/qterminal/qtermwidget +Source: https://github.com/lxqt/qtermwidget/releases/download/%{version}/qtermwidget-%{version}.tar.xz +Source1: https://github.com/lxqt/qtermwidget/releases/download/%{version}/qtermwidget-%{version}.tar.xz.asc +Source2: %{name}.keyring +BuildRequires: cmake >= 3.1.9 +BuildRequires: pkgconfig +BuildRequires: utf8proc-devel +BuildRequires: cmake(lxqt-build-tools) >= 0.13.0 +BuildRequires: cmake(Qt5LinguistTools) +BuildRequires: pkgconfig(Qt5Widgets) >= 5.15 + +%description +%{pack_desc} + +%package -n libqtermwidget%{qt_ver}-1 +Summary: %{pack_summ} +Group: Development/Libraries/C and C++ +Requires: %{name}-data >= %{version} +# Renamed to fix a rpmlint error +Conflicts: libqtermwidget%{qt_ver}-0 = 1.0.0 + +%description -n libqtermwidget%{qt_ver}-1 +%{pack_desc} + +%package data +Summary: QTermWidget data package +Group: Development/Libraries/C and C++ +Requires: libqtermwidget%{qt_ver}-1 = %{version} +BuildArch: noarch + +%description data +Data files for qtermwidget library. + +%package devel +Summary: QTermWidget devel package +Group: Development/Libraries/C and C++ +Requires: libqtermwidget%{qt_ver}-1 = %{version} + +%description devel +Development environment for qtermwidget library. + +%prep +%setup -q -n qtermwidget-%{version} + +%build +%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPULL_TRANSLATIONS=no -DUSE_UTF8PROC=yes + +%install +%cmake_install + +%post -n libqtermwidget%{qt_ver}-1 -p /sbin/ldconfig +%postun -n libqtermwidget%{qt_ver}-1 -p /sbin/ldconfig + +%files -n libqtermwidget%{qt_ver}-1 +%license LICENSE +%doc AUTHORS CHANGELOG README.md +%{_libdir}/libqtermwidget*.so.* + +%files data +%{_datadir}/qtermwidget%{qt_ver} + +%files devel +%{_includedir}/qtermwidget%{qt_ver} +%{_libdir}/libqtermwidget*.so +%{_libdir}/pkgconfig/qtermwidget%{qt_ver}.pc +%{_libdir}/cmake/qtermwidget5/ + +%changelog