public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/imhex] rawhide: Update to 1.38.1
@ 2026-08-17 21:40 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2026-08-17 21:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/imhex
Branch : rawhide
Commit : 4da67652c48caee659051a1e85dcd0daae36e489
Author : Yaakov Selkowitz <yselkowi@redhat.com>
Date   : 2026-07-19T18:01:47-04:00
Stats  : +13/-181 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/imhex/c/4da67652c48caee659051a1e85dcd0daae36e489?branch=rawhide

Log:
Update to 1.38.1

---
diff --git a/.gitignore b/.gitignore
index 001be11..d9987f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -45,3 +45,5 @@
 /imhex-patterns-1.37.1.tar.gz
 /imhex-patterns-1.37.4.tar.gz
 /imhex-1.37.4.tar.gz
+/imhex-1.38.1.tar.gz
+/imhex-patterns-1.38.1.tar.gz

diff --git a/0001-backport-metainfo-update-from-upstream.patch b/0001-backport-metainfo-update-from-upstream.patch
deleted file mode 100644
index fc97f33..0000000
--- a/0001-backport-metainfo-update-from-upstream.patch
+++ /dev/null
@@ -1,172 +0,0 @@
-From 76a8616ea996fe51bc481202619548b1cacf31d2 Mon Sep 17 00:00:00 2001
-From: Jonathan Wright <jonathan@almalinux.org>
-Date: Wed, 23 Jul 2025 09:58:35 -0500
-Subject: [PATCH] backport metainfo update from upstream
-
----
- cmake/build_helpers.cmake           |  5 +--
- dist/net.werwolv.ImHex.metainfo.xml | 62 +++++++++++++++++++++++++++++
- dist/net.werwolv.ImHex.yaml         | 22 ----------
- dist/net.werwolv.imhex.metainfo.xml | 34 ----------------
- 4 files changed, 64 insertions(+), 59 deletions(-)
- create mode 100644 dist/net.werwolv.ImHex.metainfo.xml
- delete mode 100644 dist/net.werwolv.ImHex.yaml
- delete mode 100644 dist/net.werwolv.imhex.metainfo.xml
-
-diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake
-index 39244d5..44c8875 100644
---- a/cmake/build_helpers.cmake
-+++ b/cmake/build_helpers.cmake
-@@ -302,11 +302,10 @@ macro(createPackage)
-         downloadImHexPatternsFiles("./share/imhex")
- 
-         # install AppStream file
--        install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dist/net.werwolv.imhex.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
-+        install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dist/net.werwolv.ImHex.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
- 
-         # install symlink for the old standard name
--        file(CREATE_LINK net.werwolv.imhex.metainfo.xml ${CMAKE_CURRENT_BINARY_DIR}/net.werwolv.imhex.appdata.xml SYMBOLIC)
--        install(FILES ${CMAKE_CURRENT_BINARY_DIR}/net.werwolv.imhex.appdata.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo)
-+        install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/dist/net.werwolv.ImHex.metainfo.xml DESTINATION ${CMAKE_INSTALL_PREFIX}/share/metainfo RENAME net.werwolv.ImHex.appdata.xml)
- 
-     endif()
- 
-diff --git a/dist/net.werwolv.ImHex.metainfo.xml b/dist/net.werwolv.ImHex.metainfo.xml
-new file mode 100644
-index 0000000..41da72b
---- /dev/null
-+++ b/dist/net.werwolv.ImHex.metainfo.xml
-@@ -0,0 +1,62 @@
-+<?xml version="1.0" encoding="UTF-8"?>
-+<component type="desktop">
-+    <id>net.werwolv.ImHex</id>
-+    <name>ImHex</name>
-+    <summary>Modern REing Hex Editor</summary>
-+    <description>
-+        <p>
-+            ImHex is a modern Hex Editor for Reverse Engineers, Developers, Malware Analysists and Hackers who value
-+            their retinas when working at 3 AM once again.
-+        </p>
-+        <p>
-+            Features:
-+        </p>
-+        <ul>
-+            <li>Featureful hex view</li>
-+            <li>Custom C++-like pattern language for parsing and highlighting a file's content</li>
-+            <li>Data importing and exporting</li>
-+            <li>Data inspector allowing interpretation of data as many different types</li>
-+            <li>Huge file support with fast and efficient loading</li>
-+            <li>Strings search</li>
-+            <li>File hashing support</li>
-+            <li>Disassembler supporting many different architectures: ARM, x86, PowerPC, MIPS, and more</li>
-+            <li>Bookmarks</li>
-+            <li>Data analyzer</li>
-+            <li>
-+                Helpful tools such as an Itanium and MSVC demangler, ASCII table, Regex
-+                replacer, mathematical expression evaluator (calculator), hexadecimal
-+                color picker and many more
-+            </li>
-+            <li>Doesn't burn out your retinas when used in late-night sessions</li>
-+        </ul>
-+    </description>
-+    <metadata_license>CC0-1.0</metadata_license>
-+    <project_license>GPL-2.0-only</project_license>
-+    <developer id="net.werwolv">
-+        <name>WerWolv</name>
-+    </developer>
-+    <url type="homepage">https://imhex.werwolv.net</url>
-+    <url type="bugtracker">https://github.com/WerWolv/ImHex/issues</url>
-+    <url type="help">https://docs.werwolv.net/imhex</url>
-+    <url type="donation">https://www.patreon.com/werwolv</url>
-+    <url type="contact">https://imhex.werwolv.net/discord</url>
-+    <url type="vcs-browser">https://github.com/WerWolv/ImHex</url>
-+    <url type="contribute">https://github.com/WerWolv/ImHex/blob/master/CONTRIBUTING.md</url>
-+    <launchable type="desktop-id">imhex.desktop</launchable>
-+    <screenshots>
-+        <screenshot type="default" width="1920" height="1017">
-+            <image type="source">https://raw.githubusercontent.com/flathub/net.werwolv.ImHex/master/screenshots/screenshot1.png</image>
-+            <caption>Using a pattern to parse and highlight different sections of an ELF executable file</caption>
-+        </screenshot>
-+        <screenshot type="default" width="1920" height="1017">
-+            <image type="source">https://raw.githubusercontent.com/flathub/net.werwolv.ImHex/master/screenshots/screenshot2.png</image>
-+            <caption>Managing bookmarks, diffing two files and decrypting a region of data using the data preprocessor</caption>
-+        </screenshot>
-+    </screenshots>
-+    <content_rating type="oars-1.1"/>
-+    <branding>
-+        <color type="primary" scheme_preference="light">#babec9</color>
-+        <color type="primary" scheme_preference="dark">#0f0f0f</color>
-+    </branding>
-+    <update_contact>hey@werwolv.net</update_contact>
-+</component>
-diff --git a/dist/net.werwolv.ImHex.yaml b/dist/net.werwolv.ImHex.yaml
-deleted file mode 100644
-index 925c5f5..0000000
---- a/dist/net.werwolv.ImHex.yaml
-+++ /dev/null
-@@ -1,22 +0,0 @@
--app-id: net.werwolv.ImHex
--runtime: org.freedesktop.Platform
--runtime-version: '20.08'
--default-branch: stable
--sdk: org.freedesktop.Sdk
--command: imhex
--
--finish-args:
--  - --share=ipc
--  - --socket=x11
--  - --filesystem=host
--  - --device=all
--
--modules:
--  - name: imhex
--    buildsystem: cmake
--    config-opts:
--      - -DCMAKE_BUILD_TYPE=RelWithDebInfo
--
--    sources:
--      - type: git
--        url: https://github.com/WerWolv/ImHex.git
-diff --git a/dist/net.werwolv.imhex.metainfo.xml b/dist/net.werwolv.imhex.metainfo.xml
-deleted file mode 100644
-index 0e95229..0000000
---- a/dist/net.werwolv.imhex.metainfo.xml
-+++ /dev/null
-@@ -1,34 +0,0 @@
--<?xml version="1.0" encoding="UTF-8"?>
--<component type="desktop-application">
--    <id>imhex</id>
--    <metadata_license>CC0-1.0</metadata_license>
--    <project_license>GPL-2.0</project_license>
--    <name>ImHex</name>
--    <developer_name>WerWolv</developer_name>
--    <update_contact>hey@werwolv.net</update_contact>
--    <summary>A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM</summary>
--    <description>
--        <p>ImHex is a feature-rich Hex Editor aimed towards Reverse Engineers working with foreign data formats, malware, executables and raw memory. 
--Besides all the features a common Hex Editor has, ImHex also features a custom scripting language used to declare and dissect data structures, support for running YARA rules, a node-based graphical data pre-processor and support for various data sources such as files, raw disks or GDB Servers.</p>
--    </description>
--    <launchable type="desktop-id">imhex.desktop</launchable>
--    <url type="homepage">https://imhex.werwolv.net</url>
--    <screenshots>
--        <screenshot type="default">
--            <image>https://user-images.githubusercontent.com/10835354/139717326-8044769d-527b-4d88-8adf-2d4ecafdca1f.png</image>
--        </screenshot>
--        <screenshot>
--            <image>https://user-images.githubusercontent.com/10835354/139717323-1f8c9d52-f7eb-4f43-9f11-097ac728ed6c.png</image>
--        </screenshot>
--    </screenshots>
--
--    <provides>
--        <id>imhex.desktop</id>
--    </provides>
--
--    <categories>
--        <category>Development</category>
--    </categories>
--
--
--</component>
--- 
-2.49.0
-

diff --git a/imhex.spec b/imhex.spec
index 74515e8..b461832 100644
--- a/imhex.spec
+++ b/imhex.spec
@@ -1,6 +1,6 @@
 Name:           imhex
-Version:        1.37.4
-Release:        6%{?dist}
+Version:        1.38.1
+Release:        1%{?dist}
 Summary:        A hex editor for reverse engineers and programmers
 
 License:        GPL-2.0-only AND Zlib AND MIT AND Apache-2.0
@@ -34,6 +34,7 @@ BuildRequires:  mbedtls-devel
 BuildRequires:  yara-devel
 BuildRequires:  nativefiledialog-extended-devel
 BuildRequires:  lz4-devel
+BuildRequires:  libssh2-devel
 %if 0%{?rhel} == 9
 BuildRequires:  gcc-toolset-13
 %endif
@@ -61,9 +62,6 @@ Provides:       bundled(miniaudio) = 0.11.11
 # [11:38 AM] WerWolv: Officially supported are x86_64 and aarch64
 ExclusiveArch:  x86_64 %{arm64}
 
-# https://github.com/WerWolv/ImHex/commit/cc772b8581bcc7e161f085385dc527a117e4e940
-Patch:          0001-backport-metainfo-update-from-upstream.patch
-
 %description
 ImHex is a Hex Editor, a tool to display, decode and analyze binary data to
 reverse engineer their format, extract informations or patch values in them.
@@ -88,6 +86,7 @@ the ImHex Hex Editor
 %package devel
 Summary:        Development files for %{name}
 License:        GPL-2.0-only
+Requires:       imhex >= %{version}-%{release}
 %description devel
 %{summary}
 
@@ -122,8 +121,6 @@ sed -i -e '/url type="vcs-browser"/d' \
 %set_build_flags
 CXXFLAGS+=" -std=gnu++2b"
 %endif
-# should be removable in > 1.37.4 (fixed upstream)
-CXXFLAGS+=" -Wno-error=deprecated-declarations"
 %cmake \
  -D CMAKE_BUILD_TYPE=Release             \
  -D IMHEX_STRIP_RELEASE=OFF              \
@@ -139,6 +136,7 @@ CXXFLAGS+=" -Wno-error=deprecated-declarations"
  -D USE_SYSTEM_YARA=ON                   \
  -D USE_SYSTEM_NFD=ON                    \
  -D IMHEX_ENABLE_UNIT_TESTS=ON           \
+ -D IMHEX_STRICT_WARNINGS=OFF            \
 %if 0%{?rhel}
  -D IMHEX_BUILD_HARDENING=OFF
 %endif
@@ -186,6 +184,7 @@ done
 %license %{_datadir}/licenses/%{name}/
 %doc README.md
 %{_bindir}/imhex
+%{_datadir}/imhex/imhex
 %{_datadir}/pixmaps/%{name}.*
 %{_datadir}/applications/%{name}.desktop
 %{_libdir}/libimhex.so.*
@@ -206,6 +205,9 @@ done
 
 
 %changelog
+* Fri Jul 17 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.38.1-1
+- Update to 1.38.1
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.37.4-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index 05cf41d..58ea4af 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (imhex-patterns-1.37.4.tar.gz) = 3d2f0dee58ad1e9261be71247dad41ed4437d65dc01fd37ff8b3a517ebf23e5a1123f51ae84f9c3b911d7c0b0c6044ffb580fc86f869f4c1ec1667a989125911
-SHA512 (imhex-1.37.4.tar.gz) = 07ecc4776f3b82583f1137d1615ab8e73985a550203a127b084c0dfa1e6d7cdae4a558067968c726970c07bcd6fe85fb42302a18ed8b352e789becc5fa113768
+SHA512 (imhex-1.38.1.tar.gz) = 52c3119a4929bcc30ebfa9147c89a251ad5bf6b2bb793e3a494b2f65eb11c1f166d0a0d92ba1c9a24d4000d3264309788f34754a31e01175eda875181fdaf6dd
+SHA512 (imhex-patterns-1.38.1.tar.gz) = 4dd70c332f432e1a187260a7c86e17bfc4ed6ad8906ac44844a3d758e0f0ecf42c68e1740b5679745e34f4c0c4de12c992e63c509220c0f86d9a87f56ad47328

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-17 21:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-17 21:40 [rpms/imhex] rawhide: Update to 1.38.1 Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox