forked from pool/qhexedit2
Compare commits
6 Commits
Author | SHA256 | Date | |
---|---|---|---|
406926bb78 | |||
fd6a359bdd | |||
926d1a0d9c | |||
|
efe2c5c0a7 | ||
dffb432d1e | |||
713763a52b |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2c32d0fde1685e9af7978ba60002a7d9fad4f2f3d0d1c4b19bdc18ab74b69e41
|
|
||||||
size 341341
|
|
3
qhexedit2-0.9.0.tar.gz
Normal file
3
qhexedit2-0.9.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1e5803988207e9ab2c776698f68408bc6cbf5d25ef3d79a955b4122d3ff27422
|
||||||
|
size 375234
|
@@ -1,3 +1,47 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 27 05:53:14 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Update to version 0.9.0
|
||||||
|
Note: This release is not backwards compatible to the 0.8.x
|
||||||
|
series. The widget is and remains available with the previous
|
||||||
|
API on git branch 0.8.xx.
|
||||||
|
* Warn before losing user data
|
||||||
|
* Use QPalette for Widget Colors
|
||||||
|
* Programatically highlight/select some regions
|
||||||
|
* Blinking Read-Only cursor flag option
|
||||||
|
* dynamic bytesPerLine property depends on the widget size
|
||||||
|
version 0.8.11:
|
||||||
|
* Upload PyQt5 and PyQt6 bindings to PyPi
|
||||||
|
* Migrate from Distutils to PyQt-builder for PyQt Bindings
|
||||||
|
* Cleanup structure and build scripts
|
||||||
|
* Fix strange behavior of the cursor
|
||||||
|
* Fix translation of the example doesn't work
|
||||||
|
* Fix address display of last Line
|
||||||
|
- Drop revive-qt5.patch and Qt5 in general
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 23 11:08:12 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- properly handle the Q_UNREACHABLE_RETURN in a Qt5 build
|
||||||
|
https://github.com/Simsys/qhexedit2/issues/154
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 23 09:49:21 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Switch build back to Qt5 (boo#1236026)
|
||||||
|
- Add revive-qt5.patch to quite up a compiler warning.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 13 19:21:10 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Update to version 0.8.10
|
||||||
|
* Replace QPallete::Background with QPallete::Window (for Qt6)
|
||||||
|
* Update main.cpp to add version option and future
|
||||||
|
extensibility
|
||||||
|
* Support the use of SIP5
|
||||||
|
* Some small improvements
|
||||||
|
- Switch build to Qt6
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Aug 16 20:08:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Sun Aug 16 20:08:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package qhexedit2
|
# spec file for package qhexedit2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,13 +16,12 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _libver 4
|
%define _libver 0
|
||||||
Name: qhexedit2
|
Name: qhexedit2
|
||||||
Version: 0.8.9
|
Version: 0.9.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Qt-based hex editor
|
Summary: Qt-based hex editor
|
||||||
License: LGPL-2.0-only
|
License: LGPL-2.0-only
|
||||||
Group: Development/Tools/Other
|
|
||||||
URL: https://github.com/Simsys/qhexedit2
|
URL: https://github.com/Simsys/qhexedit2
|
||||||
Source0: https://github.com/Simsys/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/Simsys/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: qhexedit.desktop
|
Source1: qhexedit.desktop
|
||||||
@@ -31,9 +30,7 @@ BuildRequires: desktop-file-utils
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++ >= 4.8
|
BuildRequires: gcc-c++ >= 4.8
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: pkgconfig(Qt6Widgets)
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
|
||||||
BuildRequires: pkgconfig(Qt5Widgets)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
QHexEdit is a hex editor widget written in C++ for the Qt framework.
|
QHexEdit is a hex editor widget written in C++ for the Qt framework.
|
||||||
@@ -58,27 +55,27 @@ BuildArch: noarch
|
|||||||
The %{name}-doc package contains the documentation and examples for %{name}.
|
The %{name}-doc package contains the documentation and examples for %{name}.
|
||||||
|
|
||||||
%package -n libqhexedit%{_libver}
|
%package -n libqhexedit%{_libver}
|
||||||
Summary: Qt5 %{name} library
|
Summary: Qt6 %{name} library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libqhexedit%{_libver}
|
%description -n libqhexedit%{_libver}
|
||||||
Qt5 library for %{name}.
|
Qt6 library for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build-lib
|
mkdir build-lib
|
||||||
pushd build-lib
|
pushd build-lib
|
||||||
qmake-qt5 QMAKE_CXXFLAGS="%{optflags}" ../src/qhexedit.pro
|
%qmake6 ../src/qhexedit.pro
|
||||||
make %{?_smp_mflags}
|
%qmake6_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Build application
|
# Build application
|
||||||
mkdir build-example
|
mkdir build-example
|
||||||
pushd build-example
|
pushd build-example
|
||||||
qmake-qt5 QMAKE_CXXFLAGS="%{optflags}" ../example/qhexedit.pro
|
%qmake6 ../example/qhexedit.pro
|
||||||
make %{?_smp_mflags}
|
%qmake6_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -106,7 +103,6 @@ EOF
|
|||||||
# Application
|
# Application
|
||||||
install -Dpm 0755 build-example/qhexedit %{buildroot}%{_bindir}/qhexedit
|
install -Dpm 0755 build-example/qhexedit %{buildroot}%{_bindir}/qhexedit
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1}
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1}
|
||||||
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/qhexedit.desktop
|
|
||||||
|
|
||||||
# Fix docs
|
# Fix docs
|
||||||
%fdupes -s doc/html
|
%fdupes -s doc/html
|
||||||
@@ -115,30 +111,23 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1}
|
|||||||
install -d %{buildroot}%{_datadir}/pixmaps
|
install -d %{buildroot}%{_datadir}/pixmaps
|
||||||
convert -strip doc/html/qhexedit.png -resize 128x128! %{buildroot}%{_datadir}/pixmaps/qhexedit.png
|
convert -strip doc/html/qhexedit.png -resize 128x128! %{buildroot}%{_datadir}/pixmaps/qhexedit.png
|
||||||
|
|
||||||
%post
|
|
||||||
%desktop_database_post
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%desktop_database_postun
|
|
||||||
|
|
||||||
%post -n libqhexedit%{_libver} -p /sbin/ldconfig
|
%post -n libqhexedit%{_libver} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libqhexedit%{_libver} -p /sbin/ldconfig
|
%postun -n libqhexedit%{_libver} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license src/license.txt
|
%license license.txt
|
||||||
%doc readme.md
|
%doc readme.md
|
||||||
%{_bindir}/qhexedit
|
%{_bindir}/qhexedit
|
||||||
%{_datadir}/applications/qhexedit.desktop
|
%{_datadir}/applications/qhexedit.desktop
|
||||||
%{_datadir}/pixmaps/qhexedit.png
|
%{_datadir}/pixmaps/qhexedit.png
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%license src/license.txt
|
%license license.txt
|
||||||
%doc doc/html readme.md
|
%doc doc/html readme.md changelog.md
|
||||||
|
|
||||||
%files -n libqhexedit%{_libver}
|
%files -n libqhexedit%{_libver}
|
||||||
%license src/license.txt
|
%license license.txt
|
||||||
%doc doc/release.txt
|
|
||||||
%{_libdir}/libqhexedit.so.%{_libver}*
|
%{_libdir}/libqhexedit.so.%{_libver}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Reference in New Issue
Block a user