Accepting request 963382 from GNOME:Apps

OBS-URL: https://build.opensuse.org/request/show/963382
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghex?expand=0&rev=59
This commit is contained in:
Dominique Leuenberger 2022-03-23 19:17:19 +00:00 committed by Git OBS Bridge
commit 06cff16eba
4 changed files with 108 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b79cf009eae5c47cad0ab53e2199c3a6fb2f3ab61877f359bed524770ee61f7
size 1499804

3
ghex-4.beta.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b014bff5c63efae1cb1826cb79ec7c656ebdec9267ddd2be1da33ab4705dc09e
size 2036272

View File

@ -1,3 +1,78 @@
-------------------------------------------------------------------
Mon Jan 10 13:46:30 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 4.beta.1:
+ HexWidget: Implement Home and End keybindings.
+ HexWidget: fix offsets redraw issue.
+ appwin: fix function order when opening invalid file.
+ help: initial rewrite to mallard and update for GHex4.
+ help: add support for static HTML help.
+ help: fix typos.
-------------------------------------------------------------------
Thu Dec 30 20:32:43 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 4.alpha.2:
+ lib:
- Rename GtkHex to HexWidget
- Make some raw structs into boxed types for GI
- Rework data types so that we have a minimum cursor pos and
file size that works with files larger than 2 GB
+ lib/docs: Initial API documentation (gi-docgen required)
+ lib/app: asynchronous APIs for many operations, and integrate
with application features
+ GUI/settings: support quadwords grouping
+ Error handling improvements
+ HexBufferIface: Standardize on GFile when it comes to file
handling
+ HexWidget:
- Rework the "busy" spinner to be at the widget level
- Restore hex_widget_set_geometry API
- Dynamically sized offset column, and fix calculation of
offset cols required
+ HexBufferMmap: improvements, fixes and optimizations
+ findreplace: watch/busy feedback and cancellable
+ converter: a11y update
+ meson:
- Add `introspection` and `gtk_doc` options
- Remove `experimental-mmap` option; replace with
`buffer-backend` (with mmap being the new default, where
supported; see meson_options.txt)
+ Various code cleanups and miscellaneous bugfixes
+ Updated translations.
- Changes from version 4.alpha.1:
+ This is the first alpha release of GHex with GTK4 support. As
it has been substantially reworked from GHex 3.x, it will
require some substantial testing and translation updates.
+ Visibly to the end user, some new features include:
- More modern and up-to-date look and feel, consistent with the
GNOME HIG.
- Tabbed interface.
- Dark Mode (by default, the GTK system-wide
"prefer-dark-theme" setting is used, but can be overridden
with a checkbox and a switch in the Preferences dialog).
- Libadwaita colour compatibility; if you use the Adwaita theme
and GNOME apps that utilize libadwaita, GHex will (read:
should) match the colour scheme. libadwaita is not a planned
dependency for GHex at this time as many of its users are GTK
users who do not run GNOME, and I want to keep GHex's
dependency requirements to a minimum.
- Custom clipboard data, for less error-prone copying and
pasting of binary data; this will fall back to plaintext when
unavailable.
- Copy and Paste Special dialogs, which allow you to, for
instance, copy and paste hex pairs from GHex into other
applications, and to paste hex pairs from other applications
into GHex.
+ Changes: Port and rework for GTK4
+ Updated translations.
- Add pkgconfig(gi-docgen) BuildRequires, build api docs.
- Replace pkgconfig(gtk+-3.0) with pkgconfig(gtk4) BuildRequires
following upstreams port.
- Rename libgtkhex-3-0 to libgtkhex-4-0 following soname bump.
- Add new sub package typelib-1_0-Hex-4.
- Add so_ver define and set it to 4, ease future updates.
-------------------------------------------------------------------
Sun Dec 5 11:58:59 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghex
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,16 @@
#
%define so_ver 4
Name: ghex
Version: 3.41.1
Version: 4.beta.1
Release: 0
Summary: GNOME Binary Editor
License: GPL-2.0-or-later
Group: Development/Tools/Other
URL: https://wiki.gnome.org/Apps/Ghex
Source: https://download.gnome.org/sources/ghex/3.41/%{name}-%{version}.tar.xz
Source: https://download.gnome.org/sources/ghex/4.beta.1/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: meson >= 0.50.0
@ -32,19 +34,21 @@ BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(atk) >= 1.0.0
BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0) >= 2.31.10
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.8
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
%description
GHex allows the user to load data from any file and to view and edit it
in either hex or ASCII. It is a must for anyone playing games that use
a non-ASCII format for saving.
%package -n libgtkhex-3-0
%package -n libgtkhex-%{so_ver}-0
Summary: GNOME Binary Editor -- Library
Group: System/Libraries
%description -n libgtkhex-3-0
%description -n libgtkhex-%{so_ver}-0
GHex allows the user to load data from any file and to view and edit it
in either hex or ASCII. It is a must for anyone playing games that use
a non-ASCII format for saving.
@ -52,13 +56,20 @@ a non-ASCII format for saving.
%package devel
Summary: GNOME Binary Editor -- Development Files
Group: Development/Libraries/GNOME
Requires: libgtkhex-3-0 = %{version}
Requires: libgtkhex-%{so_ver}-0 = %{version}
%description devel
GHex allows the user to load data from any file and to view and edit it
in either hex or ASCII. It is a must for anyone playing games that use
a non-ASCII format for saving.
%package -n typelib-1_0-Hex-%{so_ver}
Summary: Introspection bindings for ghex
Group: System/Libraries
%description -n typelib-1_0-Hex-%{so_ver}
This package provides introspection bindings for ghex.
%lang_package
%prep
@ -72,11 +83,10 @@ a non-ASCII format for saving.
%meson_install
%suse_update_desktop_file -r org.gnome.GHex GNOME Utility Editor
%find_lang %{name} ghex-3.0.lang %{?no_lang_C}
%find_lang %{name} ghex-%{so_ver}.0.lang %{?no_lang_C}
%fdupes -s %{buildroot}%{_datadir}
%post -n libgtkhex-3-0 -p /sbin/ldconfig
%postun -n libgtkhex-3-0 -p /sbin/ldconfig
%ldconfig_scriptlets -n libgtkhex-%{so_ver}-0
%files
%license COPYING
@ -88,14 +98,18 @@ a non-ASCII format for saving.
%{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.GHex*
%files -n libgtkhex-3-0
%{_libdir}/libgtkhex-3.so.*
%files -n libgtkhex-%{so_ver}-0
%{_libdir}/libgtkhex-%{so_ver}.so.*
%files -n typelib-1_0-Hex-%{so_ver}
%{_libdir}/girepository-1.0/Hex-%{so_ver}.typelib
%files devel
%{_includedir}/gtkhex-3/
%{_libdir}/libgtkhex-3.so
%{_libdir}/pkgconfig/gtkhex-3.pc
%{_includedir}/gtkhex-%{so_ver}/
%{_libdir}/libgtkhex-%{so_ver}.so
%{_libdir}/pkgconfig/gtkhex-%{so_ver}.pc
%{_datadir}/gir-1.0/Hex-%{so_ver}.gir
%files lang -f %{name}-3.0.lang
%files lang -f %{name}-%{so_ver}.0.lang
%changelog