* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2022-09-08 4:14 Rui Huang
0 siblings, 0 replies; 23+ messages in thread
From: Rui Huang @ 2022-09-08 4:14 UTC (permalink / raw
To: gentoo-commits
commit: 71e281d115da9bdb59cfca587a61f8035f03a6e4
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Sep 8 03:54:38 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Sep 8 03:54:38 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=71e281d1
app-editors/imhex: improved ebuild and fix 866464
Improved ebuild, thanks @tastytea
Closes: https://bugs.gentoo.org/866464
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-editors/imhex/imhex-1.22.0-r1.ebuild | 133 +++++++++++++++++++++++++++++++
1 file changed, 133 insertions(+)
diff --git a/app-editors/imhex/imhex-1.22.0-r1.ebuild b/app-editors/imhex/imhex-1.22.0-r1.ebuild
new file mode 100644
index 000000000..6d16b8837
--- /dev/null
+++ b/app-editors/imhex/imhex-1.22.0-r1.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+CMAKE_MAKEFILE_GENERATOR="emake"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake desktop llvm python-r1 xdg
+
+DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
+HOMEPAGE="https://github.com/WerWolv/ImHex"
+SRC_URI="
+ https://github.com/WerWolv/ImHex/releases/download/v${PV}/Full.Sources.tar.gz -> ${P}.tar.gz
+ https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${PV}.tar.gz -> ${PN}-patterns-${PV}.tar.gz
+"
+S="${WORKDIR}/ImHex"
+S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ python? ( ${PYTHON_DEPS} )
+ app-forensics/yara
+ >=dev-cpp/nlohmann_json-3.10.2
+ dev-libs/capstone
+ >=dev-libs/libfmt-8.0.0:=
+ dev-libs/openssl
+ dev-libs/tre
+ media-libs/freetype
+ media-libs/glfw
+ media-libs/glm
+ net-libs/libssh2
+ net-libs/mbedtls
+ net-misc/curl
+ sys-apps/dbus
+ sys-apps/file
+ sys-apps/xdg-desktop-portal
+ virtual/libiconv
+ virtual/libintl
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-admin/chrpath
+ gnome-base/librsvg
+ sys-devel/llvm
+"
+
+src_prepare() {
+ default
+ # Due to network sandboxing, we can't do network test here.
+ sed -i \
+ -e 's/StoreAPI$/#StoreAPI/' \
+ -e 's/TipsAPI$/#TipsAPI/' \
+ -e 's/ContentAPI$/#ContentAPI/' \
+ "${S}/tests/helpers/CMakeLists.txt" || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ use python && python_setup
+
+ local mycmakeargs=(
+ -D CMAKE_SKIP_RPATH=ON \
+ -D IMHEX_IGNORE_BAD_CLONE=ON \
+ -D IMHEX_OFFLINE_BUILD=ON \
+ -D IMHEX_STRIP_RELEASE=OFF \
+ -D IMHEX_VERSION="${PV}" \
+ -D PROJECT_VERSION="${PV}" \
+ -D USE_SYSTEM_CAPSTONE=ON \
+ -D USE_SYSTEM_CURL=ON \
+ -D USE_SYSTEM_FMT=ON \
+ -D USE_SYSTEM_LLVM=ON \
+ -D USE_SYSTEM_NLOHMANN_JSON=ON \
+ -D USE_SYSTEM_YARA=ON
+ )
+ if use python; then
+ mycmakeargs+=( -D PYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" )
+ fi
+ cmake_src_configure
+}
+
+src_test() {
+ pushd "${BUILD_DIR}" || die
+ emake unit_tests
+ popd || die
+ cmake_src_test
+}
+
+src_install() {
+ # Can't use cmake_src_install, doing it manual
+ # Executable
+ dobin "${BUILD_DIR}/${PN}"
+ chrpath -d "${ED}/usr/bin/${PN}" || die
+ # Shared lib and plugins
+ dolib.so "${BUILD_DIR}"/lib/lib"${PN}"/lib"${PN}".so*
+ chrpath -d "${ED}"/usr/"$(get_libdir)"/lib"${PN}".so* || die
+ exeinto "/usr/$(get_libdir)/${PN}/plugins"
+ for plugin in builtin; do
+ doexe "${BUILD_DIR}/plugins/${plugin}.hexplug"
+ chrpath -d "${ED}/usr/$(get_libdir)/${PN}/plugins/${plugin}.hexplug" || die
+ done
+ # Desktop and icon files
+ domenu "${S}/dist/${PN}.desktop"
+ newicon -s scalable "${S}/resources/icon.svg" "${PN}.svg"
+ for i in 16 22 24 32 36 48 64 72 96 128 192 256 512; do
+ mkdir "${T}/${i}x${i}" || die
+ rsvg-convert -a -f png -w "${i}" -o "${T}/${i}x${i}/${PN}.png" "${S}/resources/icon.svg" || die
+ doicon -s "${i}" "${T}/${i}x${i}/${PN}.png"
+ done
+
+ if use python; then
+ installation() {
+ mypythondir="${D}/$(python_get_sitedir)/${PN}"
+ mkdir -p "${mypythondir}" || die
+ cp -r "${S}"/resources/lib/python/lib/* "${mypythondir}" || die
+ python_optimize "${mypythondir}"
+ }
+ python_foreach_impl installation
+ fi
+
+ # Install docs
+ einstalldocs
+
+ # Install patterns
+ insinto /usr/share/imhex
+ doins -r "${S_PATTERNS}"/*
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2024-08-31 11:52 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2024-08-31 11:52 UTC (permalink / raw
To: gentoo-commits
commit: 4455c1b4b4aa869bd921d357753ae9c84f8dc3d8
Author: spacok <spacok <AT> protonmail <DOT> com>
AuthorDate: Sat Aug 31 11:51:05 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sat Aug 31 11:51:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4455c1b4
app-editors/imhex: add desktop-portal USE flag
Closes: https://bugs.gentoo.org/937117
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/{imhex-1.35.4.ebuild => imhex-1.35.4-r1.ebuild} | 8 ++++----
app-editors/imhex/metadata.xml | 1 +
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/app-editors/imhex/imhex-1.35.4.ebuild b/app-editors/imhex/imhex-1.35.4-r1.ebuild
similarity index 93%
rename from app-editors/imhex/imhex-1.35.4.ebuild
rename to app-editors/imhex/imhex-1.35.4-r1.ebuild
index 427ad0bc6..07dd5e82d 100644
--- a/app-editors/imhex/imhex-1.35.4.ebuild
+++ b/app-editors/imhex/imhex-1.35.4-r1.ebuild
@@ -19,7 +19,7 @@ S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+system-llvm test lto"
+IUSE="+system-llvm test lto desktop-portal"
RESTRICT="!test? ( test )"
PATCHES=(
@@ -47,7 +47,6 @@ DEPEND="
net-libs/mbedtls:=
net-misc/curl
sys-apps/file
- sys-apps/xdg-desktop-portal
sys-libs/zlib
virtual/libiconv
virtual/libintl
@@ -57,6 +56,7 @@ BDEPEND="
system-llvm? ( sys-devel/llvm )
app-admin/chrpath
gnome-base/librsvg
+ desktop-portal? ( sys-apps/xdg-desktop-portal )
"
pkg_pretend() {
@@ -83,7 +83,6 @@ src_configure() {
-D IMHEX_IGNORE_BAD_CLONE=ON \
-D IMHEX_PATTERNS_PULL_MASTER=OFF \
-D IMHEX_IGNORE_BAD_COMPILER=OFF \
- -D IMHEX_USE_GTK_FILE_PICKER=OFF \
-D IMHEX_DISABLE_STACKTRACE=ON \
-D IMHEX_BUNDLE_DOTNET=OFF \
-D IMHEX_ENABLE_LTO=$(usex lto) \
@@ -91,6 +90,7 @@ src_configure() {
-D IMHEX_STRICT_WARNINGS=OFF \
-D IMHEX_ENABLE_UNIT_TESTS=$(usex test) \
-D IMHEX_ENABLE_PRECOMPILED_HEADERS=OFF \
+ -D IMHEX_USE_GTK_FILE_PICKER=$(usex desktop-portal) \
-D IMHEX_VERSION="${PV}" \
-D PROJECT_VERSION="${PV}" \
-D USE_SYSTEM_CAPSTONE=ON \
@@ -98,7 +98,7 @@ src_configure() {
-D USE_SYSTEM_LLVM=$(usex system-llvm) \
-D USE_SYSTEM_NFD=ON \
-D USE_SYSTEM_NLOHMANN_JSON=ON \
- -D USE_SYSTEM_YARA=ON
+ -D USE_SYSTEM_YARA=ON \
)
cmake_src_configure
diff --git a/app-editors/imhex/metadata.xml b/app-editors/imhex/metadata.xml
index 276772b0c..18ad0a756 100644
--- a/app-editors/imhex/metadata.xml
+++ b/app-editors/imhex/metadata.xml
@@ -12,6 +12,7 @@
</upstream>
<use>
<flag name="system-llvm">Use the system LLVM installation</flag>
+ <flag name="desktop-portal">Use sys-apps/xdg-desktop-portal file picker instead of the GTK one</flag>
</use>
<longdescription lang="en">
Features
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2024-04-11 15:05 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2024-04-11 15:05 UTC (permalink / raw
To: gentoo-commits
commit: 2d0ca11a136f5a11179f7c92d5dd7c9d25fbf533
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Thu Apr 11 15:04:38 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Thu Apr 11 15:05:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2d0ca11a
app-editors/imhex: add 1.33.2, drop 1.33.1-r2
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/Manifest | 4 ++--
.../{imhex-1.33.1-r2.ebuild => imhex-1.33.2.ebuild} | 19 +++++++++----------
2 files changed, 11 insertions(+), 12 deletions(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index 47c450a5f6..39350d82f4 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,2 @@
-DIST imhex-1.33.1.gh.tar.gz 32286361 BLAKE2B 6c53172db4a0f3a599bf648d5cf2e4a56ab477896d216b6dcb81dd7559cc05d48a213dbd3161e71e060ce6256cd9b15335d1376dd63f3a79bf23c960c59e91e2 SHA512 9b92d5a7d1664fbb6251cf07450f4aa052da6a4828cae904696d96a54d2895b124afded85005f2bf421cb10129b3ef464b2d36a832c66214140d503109f615e5
-DIST imhex-patterns-1.33.1.gh.tar.gz 4657125 BLAKE2B 3070d06dd5ead76bf0643b551464a24e5dcac2e9aa20bd7f19d3296df87cdfb659e80e432fcbef33c4de5c8e7e97b848e0e5e386ff5db85d7564de4d5fcdd08c SHA512 e4f36ffa82df8d4d97b418c9b6a25a76d99d1649bbda9f0969480518335f4449d91e227ca02ccaab2248e2c95dfe05a33a1687cb16c4428aae57c638da44e262
+DIST imhex-1.33.2.gh.tar.gz 32292253 BLAKE2B 97d8b0f5c7b9621bfa36dbd85f24040c7d8d7dffca154cd85ff128160428d8d590b42e348aa8dbd48b4a21f747d6a0d6c3e74fe9ee484a77f061d5ea28661e70 SHA512 393719670019d7fa11d3f67a6b5ef8d2ae75812078a8beaba6b9b3091a283fc9790161c018073933c1b4a8cbcedf8ff7534aacac20ef4d210f10632db6e487ec
+DIST imhex-patterns-1.33.2.gh.tar.gz 7603711 BLAKE2B 17eb5aaa9bec2418f3ca9fe23e9e3cb5443ce1a5624c3dbcece9bcbe2ca7a95a2498d7fd713bbed78854b136b9884d7f4cb0d8453ded262b6fb6efb377219a96 SHA512 e6b6409b5f5e64de339f5a493c33c06e6033c8f4a1fc594f8f23d3ecd9b6d8a66e712e06649f0312e55860a682e532db000d1f1534d6fdd88181b6738c9201e0
diff --git a/app-editors/imhex/imhex-1.33.1-r2.ebuild b/app-editors/imhex/imhex-1.33.2.ebuild
similarity index 92%
rename from app-editors/imhex/imhex-1.33.1-r2.ebuild
rename to app-editors/imhex/imhex-1.33.2.ebuild
index 56309f1696..046b7d8933 100644
--- a/app-editors/imhex/imhex-1.33.1-r2.ebuild
+++ b/app-editors/imhex/imhex-1.33.2.ebuild
@@ -3,9 +3,6 @@
EAPI=8
-CMAKE_BUILD_TYPE="Release"
-CMAKE_MAKEFILE_GENERATOR="emake"
-
inherit cmake llvm toolchain-funcs desktop
DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
@@ -31,21 +28,23 @@ PATCHES=(
)
DEPEND="
- app-arch/zstd[zlib]
- app-forensics/yara
+ app-arch/bzip2
+ app-arch/xz-utils
+ app-arch/zstd:=
+ app-forensics/yara:=
>=dev-cpp/nlohmann_json-3.10.2
- dev-libs/capstone
- dev-libs/nativefiledialog-extended
+ dev-libs/capstone:=
+ dev-libs/nativefiledialog-extended:=
>=dev-libs/libfmt-8.0.0:=
media-libs/freetype
media-libs/glfw
media-libs/glm
- net-libs/libssh2
- net-libs/mbedtls
+ media-libs/libglvnd
+ net-libs/mbedtls:=
net-misc/curl
- sys-apps/dbus
sys-apps/file
sys-apps/xdg-desktop-portal
+ sys-libs/zlib
virtual/libiconv
virtual/libintl
"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2024-03-11 11:35 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2024-03-11 11:35 UTC (permalink / raw
To: gentoo-commits
commit: 586561aa842e2fb81a00999a8d34838da51a4dc9
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Mar 11 11:34:23 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Mon Mar 11 11:35:05 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=586561aa
app-editors/imhex: Change default IUSE
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/{imhex-1.33.1.ebuild => imhex-1.33.1-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-editors/imhex/imhex-1.33.1.ebuild b/app-editors/imhex/imhex-1.33.1-r1.ebuild
similarity index 98%
rename from app-editors/imhex/imhex-1.33.1.ebuild
rename to app-editors/imhex/imhex-1.33.1-r1.ebuild
index 3fd0e46e9f..c6050d00ba 100644
--- a/app-editors/imhex/imhex-1.33.1.ebuild
+++ b/app-editors/imhex/imhex-1.33.1-r1.ebuild
@@ -20,7 +20,7 @@ S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+system-llvm test +lto"
+IUSE="+system-llvm test lto"
RESTRICT="!test? ( test )"
DEPEND="
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2024-03-09 12:44 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2024-03-09 12:44 UTC (permalink / raw
To: gentoo-commits
commit: 81ffe0e506667d0749f8f78d367c46d5dbfee14d
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Mar 9 12:40:14 2024 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sat Mar 9 12:43:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=81ffe0e5
app-editors/imhex: add 1.33.1, drop 1.32.2
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/Manifest | 4 ++--
.../{imhex-1.32.2.ebuild => imhex-1.33.1.ebuild} | 20 +++++++-------------
2 files changed, 9 insertions(+), 15 deletions(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index 132a5445db..2bffb61f57 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,2 @@
-DIST imhex-1.32.2.tar.gz 26875075 BLAKE2B 75d595e5acb05429b114f4d4c61981080797f7b88d41a219c93f6512c4b204dd164a8886c00af4ee539cb7d6f7baaa49084b349806357fb872a1ebb30e82cfba SHA512 72e3fda050220fa9098f4ad9ed1777db565c81549daf09a5d113e35036d26780ab50c5a45ddf97ec6daa22e832a0d0b916097082706bd7314d56c2f97abcbb11
-DIST imhex-patterns-1.32.2.tar.gz 4556923 BLAKE2B b171669c17c0a7aef0ba65b66c2f68f7581a8e11d61365363fd28cfedfa2658c8833181d5e8a4c789ff011c5afadafec8149b43852319cae161c9bb5c26be2ec SHA512 3f6d1c874e1d6bc4e2e035361c5c7c1da4374cfcaeb6123f187302cacf91ce781db3f4fbe74e259e1bdb18418987fe48067365dcc3324190fbadcaf0b5ab9333
+DIST imhex-1.33.1.tar.gz 32286361 BLAKE2B 6c53172db4a0f3a599bf648d5cf2e4a56ab477896d216b6dcb81dd7559cc05d48a213dbd3161e71e060ce6256cd9b15335d1376dd63f3a79bf23c960c59e91e2 SHA512 9b92d5a7d1664fbb6251cf07450f4aa052da6a4828cae904696d96a54d2895b124afded85005f2bf421cb10129b3ef464b2d36a832c66214140d503109f615e5
+DIST imhex-patterns-1.33.1.tar.gz 4657125 BLAKE2B 3070d06dd5ead76bf0643b551464a24e5dcac2e9aa20bd7f19d3296df87cdfb659e80e432fcbef33c4de5c8e7e97b848e0e5e386ff5db85d7564de4d5fcdd08c SHA512 e4f36ffa82df8d4d97b418c9b6a25a76d99d1649bbda9f0969480518335f4449d91e227ca02ccaab2248e2c95dfe05a33a1687cb16c4428aae57c638da44e262
diff --git a/app-editors/imhex/imhex-1.32.2.ebuild b/app-editors/imhex/imhex-1.33.1.ebuild
similarity index 81%
rename from app-editors/imhex/imhex-1.32.2.ebuild
rename to app-editors/imhex/imhex-1.33.1.ebuild
index e9aabc2313..3fd0e46e9f 100644
--- a/app-editors/imhex/imhex-1.32.2.ebuild
+++ b/app-editors/imhex/imhex-1.33.1.ebuild
@@ -20,8 +20,8 @@ S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+system-llvm test"
-RESTRICT="test" # the tests need the shared library to work
+IUSE="+system-llvm test +lto"
+RESTRICT="!test? ( test )"
DEPEND="
app-arch/zstd[zlib]
@@ -47,8 +47,6 @@ BDEPEND="
system-llvm? ( sys-devel/llvm )
app-admin/chrpath
gnome-base/librsvg
- sys-devel/lld
- dev-util/ccache
"
pkg_pretend() {
@@ -63,14 +61,6 @@ src_configure() {
fi
local mycmakeargs=(
- -D CMAKE_BUILD_TYPE="Release" \
- -D CMAKE_C_COMPILER_LAUNCHER=ccache \
- -D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
- -D CMAKE_C_FLAGS="-fuse-ld=lld ${CFLAGS}" \
- -D CMAKE_CXX_FLAGS="-fuse-ld=lld ${CXXFLAGS}" \
- -D CMAKE_OBJC_COMPILER_LAUNCHER=ccache \
- -D CMAKE_OBJCXX_COMPILER_LAUNCHER=ccache \
- -D CMAKE_SKIP_RPATH=ON \
-D IMHEX_PLUGINS_IN_SHARE=OFF \
-D IMHEX_STRIP_RELEASE=OFF \
-D IMHEX_OFFLINE_BUILD=ON \
@@ -78,9 +68,13 @@ src_configure() {
-D IMHEX_PATTERNS_PULL_MASTER=OFF \
-D IMHEX_IGNORE_BAD_COMPILER=OFF \
-D IMHEX_USE_GTK_FILE_PICKER=OFF \
- -D IMHEX_DISABLE_STACKTRACE=OFF \
+ -D IMHEX_DISABLE_STACKTRACE=ON \
+ -D IMHEX_BUNDLE_DOTNET=ON \
+ -D IMHEX_ENABLE_LTO=$(use lto) \
-D IMHEX_USE_DEFAULT_BUILD_SETTINGS=OFF \
-D IMHEX_STRICT_WARNINGS=OFF \
+ -D IMHEX_ENABLE_UNIT_TESTS=$(use test) \
+ -D IMHEX_ENABLE_PRECOMPILED_HEADERS=OFF \
-D IMHEX_VERSION="${PV}" \
-D PROJECT_VERSION="${PV}" \
-D USE_SYSTEM_CAPSTONE=ON \
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-06-26 19:13 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2023-06-26 19:13 UTC (permalink / raw
To: gentoo-commits
commit: b9fd77e5acc6ce168771f1ffb84b842812fd21fd
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Jun 26 19:12:49 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Mon Jun 26 19:13:41 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b9fd77e5
app-editors/imhex: add 1.30.1, drop 1.28.0
Closes: https://bugs.gentoo.org/905121
Closes: https://bugs.gentoo.org/905122
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/Manifest | 4 ++--
app-editors/imhex/{imhex-1.28.0.ebuild => imhex-1.30.1.ebuild} | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index df3ae9a46..0d4576725 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,2 @@
-DIST imhex-1.28.0.tar.gz 25806823 BLAKE2B c75bfcb3badbf3d7e5c42356b977e931a82cebc8e42795f364f0eadc5fa9e47074e87e09f3d118e2b59d35c900b1d690cc6f8c3ab20b4f888a9137c9b9aca45e SHA512 28a509b477c5185020111c08174e310fb40c00069b7ec94c992118e02436cb5a5e98be6d8b73e223de36bd9bc9232e47d209b85bfa37c800da8940e1875c517d
-DIST imhex-patterns-1.28.0.tar.gz 3065487 BLAKE2B 98fac9ca010a3c91feb7a4c4455d8957f2786dfa349ab08a7c3cb4fd238f98d2debc59ab9034cf9aae934ef3302311d64d2c78913e2d8c7ecc9f4c709da125a2 SHA512 3d3b3157ea54773d6520bd9dd399c36e57436fe789bafecede4a1b4084e82cbf961d5c96a334febdca56466a8991c5cc2527c4bccee34cc848fd0f2a029ff311
+DIST imhex-1.30.1.tar.gz 25920970 BLAKE2B 03a651134bda5814dc4e989a763f148b3a03694640d1baaa4be6e075ad9c5e798959bc477484f8214423e15836cc01de033e10606ee04dc375521101b4c75f13 SHA512 04c71f15fdbe17443b0f98cef2c2562b7d360f14065e4fab2c2dc1eaf9bbd0d8aa9a267dd1eab208d77cf00622edf6b5126b2d266b817f301a2281aae82eed45
+DIST imhex-patterns-1.30.1.tar.gz 3377742 BLAKE2B 4fa9475f7b04f5765f0a81258e9d01bf814b7b7a0b318c096fdc3ba728938f3f782c9c30fde7ced79626b70b550649d883eda6cf5bbc4b3d8d3a9ad8ac1c5364 SHA512 d734c7fe1c31c9b7845422047a9b9d1289c432cfe98d2b08ca5fe22b82262e3ae41ec14e93d3c62d24c87294fcdf439719cef6bc2ee5b2b54b45377addb9f06a
diff --git a/app-editors/imhex/imhex-1.28.0.ebuild b/app-editors/imhex/imhex-1.30.1.ebuild
similarity index 98%
rename from app-editors/imhex/imhex-1.28.0.ebuild
rename to app-editors/imhex/imhex-1.30.1.ebuild
index be29cd82b..1ea5d0cef 100644
--- a/app-editors/imhex/imhex-1.28.0.ebuild
+++ b/app-editors/imhex/imhex-1.30.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-04-24 21:22 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2023-04-24 21:22 UTC (permalink / raw
To: gentoo-commits
commit: c858e783d282e2b770996c2569ffaad1f5ca5556
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Mon Apr 24 21:21:54 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Mon Apr 24 21:22:49 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c858e783
app-editors/imhex: use CFLAGS and CXXFLAGS, disable testing
Closes: https://bugs.gentoo.org/904953
Closes: https://bugs.gentoo.org/904954
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/imhex-1.28.0.ebuild | 23 +++++++++--------------
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/app-editors/imhex/imhex-1.28.0.ebuild b/app-editors/imhex/imhex-1.28.0.ebuild
index 8f91766d1..be29cd82b 100644
--- a/app-editors/imhex/imhex-1.28.0.ebuild
+++ b/app-editors/imhex/imhex-1.28.0.ebuild
@@ -55,12 +55,14 @@ pkg_pretend() {
src_prepare() {
default
- # Due to network sandboxing, we can't do network test here.
+ # We are removing all tests altogether
+ # The tests need ImHex installed to succeed (see https://bugs.gentoo.org/attachment.cgi?id=860683), so we remove them
+ # We could use `ln "${BUILD_DIR}/lib/libimhex.so.${PV}" "/lib64/libimhex.so.${PV}"` and circumvent sandboxing
sed -i \
- -e 's/StoreAPI$/#StoreAPI/' \
- -e 's/TipsAPI$/#TipsAPI/' \
- -e 's/ContentAPI$/#ContentAPI/' \
- "${S}/tests/helpers/CMakeLists.txt" || die
+ -e 's/enable_testing/#enable_testing/' \
+ -e 's/add_subdirectory(tests/#add_subdirectory(tests/' \
+ "${S}/CMakeLists.txt" || die
+
cmake_src_prepare
}
@@ -69,8 +71,8 @@ src_configure() {
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
- -D CMAKE_C_FLAGS="-fuse-ld=lld" \
- -D CMAKE_CXX_FLAGS="-fuse-ld=lld" \
+ -D CMAKE_C_FLAGS="-fuse-ld=lld ${CFLAGS}" \
+ -D CMAKE_CXX_FLAGS="-fuse-ld=lld ${CXXFLAGS}" \
-D CMAKE_OBJC_COMPILER_LAUNCHER=ccache \
-D CMAKE_OBJCXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_SKIP_RPATH=ON \
@@ -97,13 +99,6 @@ src_configure() {
cmake_src_configure
}
-src_test() {
- pushd "${BUILD_DIR}" || die
- emake unit_tests
- popd || die
- cmake_src_test
-}
-
src_install() {
cmake_src_install
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-04-22 16:54 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2023-04-22 16:54 UTC (permalink / raw
To: gentoo-commits
commit: 4452b42b29c7a0af936b2d541326141651d93a86
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Apr 22 16:52:59 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sat Apr 22 16:54:54 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4452b42b
app-editors/imhex: update SRC_URI
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/Manifest | 2 +-
app-editors/imhex/imhex-1.28.0.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index ee76f8217..df3ae9a46 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,2 @@
-DIST imhex-1.28.0.tar.gz 11741032 BLAKE2B bea71dc398e1000734a36e0c61cde90c5f917709a1fc8834b5dc9ab03f79a8f6460e8104753f9c5addeda4aac6465d0198e072c26174a559a4c945ee6af48777 SHA512 b8a572866e4b527501e97045f2f7f419057964ee9526a488eb3d0cab56dbeb00e1a7b6690f2c3008cd3298d2cba4fe6db190d9153d9a8a3e3432a2f72f3e18bc
+DIST imhex-1.28.0.tar.gz 25806823 BLAKE2B c75bfcb3badbf3d7e5c42356b977e931a82cebc8e42795f364f0eadc5fa9e47074e87e09f3d118e2b59d35c900b1d690cc6f8c3ab20b4f888a9137c9b9aca45e SHA512 28a509b477c5185020111c08174e310fb40c00069b7ec94c992118e02436cb5a5e98be6d8b73e223de36bd9bc9232e47d209b85bfa37c800da8940e1875c517d
DIST imhex-patterns-1.28.0.tar.gz 3065487 BLAKE2B 98fac9ca010a3c91feb7a4c4455d8957f2786dfa349ab08a7c3cb4fd238f98d2debc59ab9034cf9aae934ef3302311d64d2c78913e2d8c7ecc9f4c709da125a2 SHA512 3d3b3157ea54773d6520bd9dd399c36e57436fe789bafecede4a1b4084e82cbf961d5c96a334febdca56466a8991c5cc2527c4bccee34cc848fd0f2a029ff311
diff --git a/app-editors/imhex/imhex-1.28.0.ebuild b/app-editors/imhex/imhex-1.28.0.ebuild
index 47e614e30..8f91766d1 100644
--- a/app-editors/imhex/imhex-1.28.0.ebuild
+++ b/app-editors/imhex/imhex-1.28.0.ebuild
@@ -11,7 +11,7 @@ inherit cmake llvm toolchain-funcs
DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
HOMEPAGE="https://github.com/WerWolv/ImHex"
SRC_URI="
- https://github.com/WerWolv/ImHex/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/WerWolv/ImHex/releases/download/v${PV}/Full.Sources.tar.gz -> ${P}.tar.gz
https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${PV}.tar.gz -> ${PN}-patterns-${PV}.tar.gz
"
S="${WORKDIR}/ImHex"
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-04-18 12:02 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2023-04-18 12:02 UTC (permalink / raw
To: gentoo-commits
commit: c467ac6746b34b7350fc5bb68ef58556b387c626
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Apr 18 12:02:36 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Tue Apr 18 12:02:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c467ac67
app-editors/imhex: update Manifest
Closes: https://bugs.gentoo.org/904453
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/Manifest | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index df3ae9a46..ee76f8217 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,2 @@
-DIST imhex-1.28.0.tar.gz 25806823 BLAKE2B c75bfcb3badbf3d7e5c42356b977e931a82cebc8e42795f364f0eadc5fa9e47074e87e09f3d118e2b59d35c900b1d690cc6f8c3ab20b4f888a9137c9b9aca45e SHA512 28a509b477c5185020111c08174e310fb40c00069b7ec94c992118e02436cb5a5e98be6d8b73e223de36bd9bc9232e47d209b85bfa37c800da8940e1875c517d
+DIST imhex-1.28.0.tar.gz 11741032 BLAKE2B bea71dc398e1000734a36e0c61cde90c5f917709a1fc8834b5dc9ab03f79a8f6460e8104753f9c5addeda4aac6465d0198e072c26174a559a4c945ee6af48777 SHA512 b8a572866e4b527501e97045f2f7f419057964ee9526a488eb3d0cab56dbeb00e1a7b6690f2c3008cd3298d2cba4fe6db190d9153d9a8a3e3432a2f72f3e18bc
DIST imhex-patterns-1.28.0.tar.gz 3065487 BLAKE2B 98fac9ca010a3c91feb7a4c4455d8957f2786dfa349ab08a7c3cb4fd238f98d2debc59ab9034cf9aae934ef3302311d64d2c78913e2d8c7ecc9f4c709da125a2 SHA512 3d3b3157ea54773d6520bd9dd399c36e57436fe789bafecede4a1b4084e82cbf961d5c96a334febdca56466a8991c5cc2527c4bccee34cc848fd0f2a029ff311
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-04-15 19:41 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2023-04-15 19:41 UTC (permalink / raw
To: gentoo-commits
commit: 1a9c0b53a56114d9e273f20fdb1d6ed1bc420c38
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Apr 15 19:20:52 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sat Apr 15 19:41:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1a9c0b53
app-editors/imhex: add 1.28.0, drop 1.26.2-r1
Closes: https://bugs.gentoo.org/869221
Closes: https://bugs.gentoo.org/887225
Closes: https://bugs.gentoo.org/890395
Closes: https://bugs.gentoo.org/890397
Closes: https://bugs.gentoo.org/890403
Closes: https://bugs.gentoo.org/890405
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/Manifest | 4 +--
...{imhex-1.26.2-r1.ebuild => imhex-1.28.0.ebuild} | 40 +++++++---------------
app-editors/imhex/metadata.xml | 5 ++-
3 files changed, 19 insertions(+), 30 deletions(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index cbda9d18a..df3ae9a46 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,2 @@
-DIST imhex-1.26.2.tar.gz 24320937 BLAKE2B d9d084729b460873476e8ed1df916cef3c502775dac5010f4ff12ea859ec750b417f09155be8b030cb74d8db95be83e46251144533e4ca5008ab0f26f7ab775d SHA512 cb913105903b8288c0d7fa7f8afb9567dd278d7088787823d27c0cc19a345d8ce9f5880341151dd0940580ff526658476ae86b0002084891df4062afd9b38a00
-DIST imhex-patterns-1.26.2.tar.gz 6846014 BLAKE2B c84d8242d5ef574799cdf8919948d5590b47f18a7c097dbd380ba76ca47ed836470b64a600d1fd4352b0e34d631d9d2ce732c44006484c7198dfffdf55b0c850 SHA512 828d03bbd0d765ca646f91e5f2df3efade1cdf68db0ddf42d7973c83011807b1c5d75bfc1609ba431b31811373483611b9ea72a129644af6df19143428943e30
+DIST imhex-1.28.0.tar.gz 25806823 BLAKE2B c75bfcb3badbf3d7e5c42356b977e931a82cebc8e42795f364f0eadc5fa9e47074e87e09f3d118e2b59d35c900b1d690cc6f8c3ab20b4f888a9137c9b9aca45e SHA512 28a509b477c5185020111c08174e310fb40c00069b7ec94c992118e02436cb5a5e98be6d8b73e223de36bd9bc9232e47d209b85bfa37c800da8940e1875c517d
+DIST imhex-patterns-1.28.0.tar.gz 3065487 BLAKE2B 98fac9ca010a3c91feb7a4c4455d8957f2786dfa349ab08a7c3cb4fd238f98d2debc59ab9034cf9aae934ef3302311d64d2c78913e2d8c7ecc9f4c709da125a2 SHA512 3d3b3157ea54773d6520bd9dd399c36e57436fe789bafecede4a1b4084e82cbf961d5c96a334febdca56466a8991c5cc2527c4bccee34cc848fd0f2a029ff311
diff --git a/app-editors/imhex/imhex-1.26.2-r1.ebuild b/app-editors/imhex/imhex-1.28.0.ebuild
similarity index 68%
rename from app-editors/imhex/imhex-1.26.2-r1.ebuild
rename to app-editors/imhex/imhex-1.28.0.ebuild
index 3297637f4..47e614e30 100644
--- a/app-editors/imhex/imhex-1.26.2-r1.ebuild
+++ b/app-editors/imhex/imhex-1.28.0.ebuild
@@ -6,12 +6,12 @@ EAPI=8
CMAKE_BUILD_TYPE="Release"
CMAKE_MAKEFILE_GENERATOR="emake"
-inherit cmake desktop llvm toolchain-funcs xdg
+inherit cmake llvm toolchain-funcs
DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
HOMEPAGE="https://github.com/WerWolv/ImHex"
SRC_URI="
- https://github.com/WerWolv/ImHex/releases/download/v${PV}/Full.Sources.tar.gz -> ${P}.tar.gz
+ https://github.com/WerWolv/ImHex/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${PV}.tar.gz -> ${PN}-patterns-${PV}.tar.gz
"
S="${WORKDIR}/ImHex"
@@ -25,6 +25,7 @@ DEPEND="
app-forensics/yara
>=dev-cpp/nlohmann_json-3.10.2
dev-libs/capstone
+ dev-libs/nativefiledialog-extended
>=dev-libs/libfmt-8.0.0:=
media-libs/freetype
media-libs/glfw
@@ -74,15 +75,21 @@ src_configure() {
-D CMAKE_OBJCXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_SKIP_RPATH=ON \
-D IMHEX_USE_BUNDLED_CA=OFF \
- -D IMHEX_IGNORE_BAD_CLONE=ON \
- -D IMHEX_OFFLINE_BUILD=ON \
+ -D IMHEX_PLUGINS_IN_SHARE=OFF \
-D IMHEX_STRIP_RELEASE=OFF \
+ -D IMHEX_OFFLINE_BUILD=ON \
+ -D IMHEX_IGNORE_BAD_CLONE=ON \
+ -D IMHEX_PATTERNS_PULL_MASTER=OFF \
+ -D IMHEX_IGNORE_BAD_COMPILER=OFF \
+ -D IMHEX_USE_GTK_FILE_PICKER=OFF \
+ -D IMHEX_DISABLE_STACKTRACE=OFF \
-D IMHEX_VERSION="${PV}" \
-D PROJECT_VERSION="${PV}" \
-D USE_SYSTEM_CAPSTONE=ON \
-D USE_SYSTEM_CURL=ON \
-D USE_SYSTEM_FMT=ON \
-D USE_SYSTEM_LLVM=ON \
+ -D USE_SYSTEM_NFD=ON \
-D USE_SYSTEM_NLOHMANN_JSON=ON \
-D USE_SYSTEM_YARA=ON
)
@@ -98,31 +105,10 @@ src_test() {
}
src_install() {
- # Can't use cmake_src_install, doing it manual
- # Executable
- dobin "${BUILD_DIR}/${PN}"
- chrpath -d "${ED}/usr/bin/${PN}" || die
- # Shared lib and plugins
- dolib.so "${BUILD_DIR}"/lib/lib"${PN}"/lib"${PN}".so*
- chrpath -d "${ED}"/usr/"$(get_libdir)"/lib"${PN}".so* || die
- exeinto "/usr/$(get_libdir)/${PN}/plugins"
- for plugin in builtin; do
- doexe "${BUILD_DIR}/plugins/${plugin}.hexplug"
- chrpath -d "${ED}/usr/$(get_libdir)/${PN}/plugins/${plugin}.hexplug" || die
- done
- # Desktop and icon files
- domenu "${S}/dist/${PN}.desktop"
- newicon -s scalable "${S}/resources/icon.svg" "${PN}.svg"
- for i in 16 22 24 32 36 48 64 72 96 128 192 256 512; do
- mkdir "${T}/${i}x${i}" || die
- rsvg-convert -a -f png -w "${i}" -o "${T}/${i}x${i}/${PN}.png" "${S}/resources/icon.svg" || die
- doicon -s "${i}" "${T}/${i}x${i}/${PN}.png"
- done
-
- # Install docs
- einstalldocs
+ cmake_src_install
# Install patterns
insinto /usr/share/imhex
+ rm -rf "${S_PATTERNS}/tests"
doins -r "${S_PATTERNS}"/*
}
diff --git a/app-editors/imhex/metadata.xml b/app-editors/imhex/metadata.xml
index 6816a6f59..51ae86832 100644
--- a/app-editors/imhex/metadata.xml
+++ b/app-editors/imhex/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer needed -->
+ <maintainer type="person">
+ <email>gasc@eurecom.fr</email>
+ <name>Gasc Henri</name>
+ </maintainer>
<upstream>
<changelog>https://github.com/WerWolv/ImHex/releases</changelog>
<bugs-to>https://github.com/WerWolv/ImHex/issues</bugs-to>
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-04-07 7:34 Rui Huang
0 siblings, 0 replies; 23+ messages in thread
From: Rui Huang @ 2023-04-07 7:34 UTC (permalink / raw
To: gentoo-commits
commit: dc9d653a437c8a6bd301cd81c92863793192602b
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Apr 7 07:33:52 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Apr 7 07:33:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=dc9d653a
app-editors/imhex: drop myself as a maintainer
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-editors/imhex/metadata.xml | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/app-editors/imhex/metadata.xml b/app-editors/imhex/metadata.xml
index 35b0c31bf..6816a6f59 100644
--- a/app-editors/imhex/metadata.xml
+++ b/app-editors/imhex/metadata.xml
@@ -1,10 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>vowstar@gmail.com</email>
- <name>Huang Rui</name>
- </maintainer>
+ <!-- maintainer needed -->
<upstream>
<changelog>https://github.com/WerWolv/ImHex/releases</changelog>
<bugs-to>https://github.com/WerWolv/ImHex/issues</bugs-to>
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-01-13 7:35 Rui Huang
0 siblings, 0 replies; 23+ messages in thread
From: Rui Huang @ 2023-01-13 7:35 UTC (permalink / raw
To: gentoo-commits
commit: c3ae2c07fd0ca865577f36223dfde792994a5512
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Fri Jan 13 06:36:39 2023 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Fri Jan 13 06:36:39 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c3ae2c07
app-editors/imhex: fix build when enable python
Upstream pemoved all usages of Python
https://github.com/WerWolv/ImHex/commit/85823e8e5dba0f42297430cb4df5a586bfd08718
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
...{imhex-1.26.2.ebuild => imhex-1.26.2-r1.ebuild} | 23 +++-------------------
1 file changed, 3 insertions(+), 20 deletions(-)
diff --git a/app-editors/imhex/imhex-1.26.2.ebuild b/app-editors/imhex/imhex-1.26.2-r1.ebuild
similarity index 84%
rename from app-editors/imhex/imhex-1.26.2.ebuild
rename to app-editors/imhex/imhex-1.26.2-r1.ebuild
index 0b29cdc18..3297637f4 100644
--- a/app-editors/imhex/imhex-1.26.2.ebuild
+++ b/app-editors/imhex/imhex-1.26.2-r1.ebuild
@@ -5,9 +5,8 @@ EAPI=8
CMAKE_BUILD_TYPE="Release"
CMAKE_MAKEFILE_GENERATOR="emake"
-PYTHON_COMPAT=( python3_{9..11} )
-inherit cmake desktop llvm python-r1 toolchain-funcs xdg
+inherit cmake desktop llvm toolchain-funcs xdg
DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
HOMEPAGE="https://github.com/WerWolv/ImHex"
@@ -21,11 +20,8 @@ S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
DEPEND="
- python? ( ${PYTHON_DEPS} )
app-forensics/yara
>=dev-cpp/nlohmann_json-3.10.2
dev-libs/capstone
@@ -33,6 +29,7 @@ DEPEND="
media-libs/freetype
media-libs/glfw
media-libs/glm
+ net-libs/libssh2
net-libs/mbedtls
net-misc/curl
sys-apps/dbus
@@ -67,8 +64,6 @@ src_prepare() {
}
src_configure() {
- use python && python_setup
-
local mycmakeargs=(
-D CMAKE_BUILD_TYPE="Release" \
-D CMAKE_C_COMPILER_LAUNCHER=ccache \
@@ -91,9 +86,7 @@ src_configure() {
-D USE_SYSTEM_NLOHMANN_JSON=ON \
-D USE_SYSTEM_YARA=ON
)
- if use python; then
- mycmakeargs+=( -D PYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" )
- fi
+
cmake_src_configure
}
@@ -126,16 +119,6 @@ src_install() {
doicon -s "${i}" "${T}/${i}x${i}/${PN}.png"
done
- if use python; then
- installation() {
- mypythondir="${D}/$(python_get_sitedir)/${PN}"
- mkdir -p "${mypythondir}" || die
- cp -r "${S}"/resources/lib/python/lib/* "${mypythondir}" || die
- python_optimize "${mypythondir}"
- }
- python_foreach_impl installation
- fi
-
# Install docs
einstalldocs
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2023-01-10 10:35 Henri Gasc
0 siblings, 0 replies; 23+ messages in thread
From: Henri Gasc @ 2023-01-10 10:35 UTC (permalink / raw
To: gentoo-commits
commit: 7cc84ad061a383211444940229666c75611d9bc5
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Jan 10 10:35:21 2023 +0000
Commit: Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Tue Jan 10 10:35:46 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7cc84ad0
app-editors/imhex: add 1.26.2, drop 1.22.0-r1
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-editors/imhex/Manifest | 4 ++--
.../{imhex-1.22.0-r1.ebuild => imhex-1.26.2.ebuild} | 16 +++++++++++-----
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index 2f2195d49..cbda9d18a 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,2 @@
-DIST imhex-1.22.0.tar.gz 23801722 BLAKE2B db82e9fb74244cc591da60f6b3ae7d66db2907a216f5246973c5c3012e713c01d426fcf2d87ddb6ac92a0cff8f2a89119341f2f806bcce59d117c6a15ca58038 SHA512 e29015b8850c76f43f42920b1ee93af72cbd28a12a1e555177f580270da6f71391f638cadb34333fa3a7db8f3fe15acb666b5d8b67acde9dcbe5c468e2e6b06f
-DIST imhex-patterns-1.22.0.tar.gz 4749715 BLAKE2B ae157b664f7a0e163d915c21ca34d5e207ee5a51896db2e8370a66574d68375eb6d31f872dd20f8ba592f2270a7615f921e840f6ffb2a6ee4253e30689245b60 SHA512 2ce01986993283a254e59d44eb3948180cb4038f2b0b3fb1aa93154509500c8eb7315cf7b5aa3ee1887456936dd68c3fc8bac52f2a0c90a3b0567a4f0253dede
+DIST imhex-1.26.2.tar.gz 24320937 BLAKE2B d9d084729b460873476e8ed1df916cef3c502775dac5010f4ff12ea859ec750b417f09155be8b030cb74d8db95be83e46251144533e4ca5008ab0f26f7ab775d SHA512 cb913105903b8288c0d7fa7f8afb9567dd278d7088787823d27c0cc19a345d8ce9f5880341151dd0940580ff526658476ae86b0002084891df4062afd9b38a00
+DIST imhex-patterns-1.26.2.tar.gz 6846014 BLAKE2B c84d8242d5ef574799cdf8919948d5590b47f18a7c097dbd380ba76ca47ed836470b64a600d1fd4352b0e34d631d9d2ce732c44006484c7198dfffdf55b0c850 SHA512 828d03bbd0d765ca646f91e5f2df3efade1cdf68db0ddf42d7973c83011807b1c5d75bfc1609ba431b31811373483611b9ea72a129644af6df19143428943e30
diff --git a/app-editors/imhex/imhex-1.22.0-r1.ebuild b/app-editors/imhex/imhex-1.26.2.ebuild
similarity index 90%
rename from app-editors/imhex/imhex-1.22.0-r1.ebuild
rename to app-editors/imhex/imhex-1.26.2.ebuild
index 6e5fb12bb..0b29cdc18 100644
--- a/app-editors/imhex/imhex-1.22.0-r1.ebuild
+++ b/app-editors/imhex/imhex-1.26.2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
CMAKE_BUILD_TYPE="Release"
CMAKE_MAKEFILE_GENERATOR="emake"
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
inherit cmake desktop llvm python-r1 toolchain-funcs xdg
@@ -30,12 +30,9 @@ DEPEND="
>=dev-cpp/nlohmann_json-3.10.2
dev-libs/capstone
>=dev-libs/libfmt-8.0.0:=
- dev-libs/openssl
- dev-libs/tre
media-libs/freetype
media-libs/glfw
media-libs/glm
- net-libs/libssh2
net-libs/mbedtls
net-misc/curl
sys-apps/dbus
@@ -48,7 +45,8 @@ RDEPEND="${DEPEND}"
BDEPEND="
app-admin/chrpath
gnome-base/librsvg
- sys-devel/llvm
+ sys-devel/lld
+ dev-util/ccache
"
pkg_pretend() {
@@ -72,7 +70,15 @@ src_configure() {
use python && python_setup
local mycmakeargs=(
+ -D CMAKE_BUILD_TYPE="Release" \
+ -D CMAKE_C_COMPILER_LAUNCHER=ccache \
+ -D CMAKE_CXX_COMPILER_LAUNCHER=ccache \
+ -D CMAKE_C_FLAGS="-fuse-ld=lld" \
+ -D CMAKE_CXX_FLAGS="-fuse-ld=lld" \
+ -D CMAKE_OBJC_COMPILER_LAUNCHER=ccache \
+ -D CMAKE_OBJCXX_COMPILER_LAUNCHER=ccache \
-D CMAKE_SKIP_RPATH=ON \
+ -D IMHEX_USE_BUNDLED_CA=OFF \
-D IMHEX_IGNORE_BAD_CLONE=ON \
-D IMHEX_OFFLINE_BUILD=ON \
-D IMHEX_STRIP_RELEASE=OFF \
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2022-09-22 10:12 Ronny Gutbrod
0 siblings, 0 replies; 23+ messages in thread
From: Ronny Gutbrod @ 2022-09-22 10:12 UTC (permalink / raw
To: gentoo-commits
commit: d1a59f75541fc4aa41e9cf8d89a03bd172c4b47e
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Sep 22 10:10:40 2022 +0000
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Thu Sep 22 10:10:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d1a59f75
app-editors/imhex: die early if gcc is too old
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
app-editors/imhex/imhex-1.22.0-r1.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/app-editors/imhex/imhex-1.22.0-r1.ebuild b/app-editors/imhex/imhex-1.22.0-r1.ebuild
index 6d16b8837..6e5fb12bb 100644
--- a/app-editors/imhex/imhex-1.22.0-r1.ebuild
+++ b/app-editors/imhex/imhex-1.22.0-r1.ebuild
@@ -7,7 +7,7 @@ CMAKE_BUILD_TYPE="Release"
CMAKE_MAKEFILE_GENERATOR="emake"
PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake desktop llvm python-r1 xdg
+inherit cmake desktop llvm python-r1 toolchain-funcs xdg
DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
HOMEPAGE="https://github.com/WerWolv/ImHex"
@@ -51,6 +51,12 @@ BDEPEND="
sys-devel/llvm
"
+pkg_pretend() {
+ if tc-is-gcc && [[ $(gcc-major-version) -lt 12 ]]; then
+ die "${PN} requires GCC 12 or newer"
+ fi
+}
+
src_prepare() {
default
# Due to network sandboxing, we can't do network test here.
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2022-09-08 4:14 Rui Huang
0 siblings, 0 replies; 23+ messages in thread
From: Rui Huang @ 2022-09-08 4:14 UTC (permalink / raw
To: gentoo-commits
commit: 93c7f2abcf89fb08a444600d8aaf181171308184
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Sep 8 04:14:18 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Sep 8 04:14:18 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=93c7f2ab
app-editors/imhex: drop 1.22.0
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-editors/imhex/imhex-1.22.0.ebuild | 115 ----------------------------------
1 file changed, 115 deletions(-)
diff --git a/app-editors/imhex/imhex-1.22.0.ebuild b/app-editors/imhex/imhex-1.22.0.ebuild
deleted file mode 100644
index 09fd29f32..000000000
--- a/app-editors/imhex/imhex-1.22.0.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_BUILD_TYPE="Release"
-CMAKE_MAKEFILE_GENERATOR="emake"
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit cmake desktop llvm python-r1 xdg
-
-DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
-HOMEPAGE="https://github.com/WerWolv/ImHex"
-SRC_URI="
- https://github.com/WerWolv/ImHex/releases/download/v${PV}/Full.Sources.tar.gz -> ${P}.tar.gz
- https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${PV}.tar.gz -> ${PN}-patterns-${PV}.tar.gz
-"
-S="${WORKDIR}/ImHex"
-S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- python? ( ${PYTHON_DEPS} )
- app-forensics/yara
- dev-libs/capstone
- >=dev-libs/libfmt-8.0.0
- dev-libs/openssl
- dev-libs/tre
- media-libs/freetype
- media-libs/glfw
- media-libs/glm
- net-libs/libssh2
- net-libs/mbedtls
- net-misc/curl
- sys-apps/dbus
- sys-apps/file
- sys-apps/xdg-desktop-portal
- virtual/libiconv
- virtual/libintl
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- app-admin/chrpath
- >=dev-cpp/nlohmann_json-3.10.2
- gnome-base/librsvg
- sys-devel/llvm
-"
-
-src_configure() {
- use python && python_setup
-
- local mycmakeargs=(
- -D CMAKE_SKIP_RPATH=ON \
- -D IMHEX_IGNORE_BAD_CLONE=ON \
- -D IMHEX_OFFLINE_BUILD=ON \
- -D IMHEX_STRIP_RELEASE=OFF \
- -D IMHEX_VERSION="${PV}" \
- -D PROJECT_VERSION="${PV}" \
- -D USE_SYSTEM_CAPSTONE=ON \
- -D USE_SYSTEM_CURL=ON \
- -D USE_SYSTEM_FMT=ON \
- -D USE_SYSTEM_LLVM=ON \
- -D USE_SYSTEM_NLOHMANN_JSON=ON \
- -D USE_SYSTEM_YARA=ON
- )
- if use python; then
- mycmakeargs+=( -D PYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" )
- fi
- cmake_src_configure
-}
-
-src_install() {
- # Can't use cmake_src_install, doing it manual
- # Executable
- dobin "${BUILD_DIR}/${PN}"
- chrpath -d "${ED}/usr/bin/${PN}"
- # Shared lib and plugins
- dolib.so "${BUILD_DIR}"/lib/lib"${PN}"/lib"${PN}".so*
- chrpath -d "${ED}"/usr/bin/lib"${PN}"/lib"${PN}".so*
- exeinto "/usr/$(get_libdir)/${PN}/plugins"
- for plugin in builtin; do
- doexe "${BUILD_DIR}/plugins/${plugin}.hexplug"
- chrpath -d "${ED}/usr/$(get_libdir)/${PN}/plugins/${plugin}.hexplug"
- done
- # Desktop and icon files
- domenu "${S}/dist/${PN}.desktop"
- newicon -s scalable "${S}/resources/icon.svg" "${PN}.svg"
- for i in 16 22 24 32 36 48 64 72 96 128 192 256 512; do
- mkdir "${T}/${i}x${i}" || die
- rsvg-convert -a -f png -w "${i}" -o "${T}/${i}x${i}/${PN}.png" "${S}/resources/icon.svg" || die
- doicon -s "${i}" "${T}/${i}x${i}/${PN}.png"
- done
-
- if use python; then
- installation() {
- mypythondir="${D}/$(python_get_sitedir)/${PN}"
- mkdir -p "${mypythondir}" || die
- cp -r "${S}"/resources/lib/python/lib/* "${mypythondir}" || die
- python_optimize "${mypythondir}"
- }
- python_foreach_impl installation
- fi
-
- # Install docs
- einstalldocs
-
- # Install patterns
- insinto /usr/share/imhex
- doins -r "${S_PATTERNS}"/*
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2022-09-08 4:14 Rui Huang
0 siblings, 0 replies; 23+ messages in thread
From: Rui Huang @ 2022-09-08 4:14 UTC (permalink / raw
To: gentoo-commits
commit: 5168f8765c50848d921ad059140ec3a4edbfe0f6
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Sep 8 04:13:13 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Thu Sep 8 04:13:13 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5168f876
app-editors/imhex: drop 1.21.2
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-editors/imhex/Manifest | 2 -
app-editors/imhex/imhex-1.21.2.ebuild | 124 ----------------------------------
2 files changed, 126 deletions(-)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index 40d82ba74..2f2195d49 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,4 +1,2 @@
-DIST imhex-1.21.2.tar.gz 23473112 BLAKE2B 5e1dbcf246fc2b2ac57636efee71574eb38ee2d04678a6e09b4d8c2d61da01021bb169fa40a18725d609a3daae1bf9a4ca8aacbb21b6d381c3ff1345d9f788c6 SHA512 e5dd9c5b81f739ee37cc51cf37aa6b866b1af8b28f06e0731612612c5a56d5d68d9d50c20ebb9304a51efb88c07fde72656dcc7d6c249dd827d5d15e44de9698
DIST imhex-1.22.0.tar.gz 23801722 BLAKE2B db82e9fb74244cc591da60f6b3ae7d66db2907a216f5246973c5c3012e713c01d426fcf2d87ddb6ac92a0cff8f2a89119341f2f806bcce59d117c6a15ca58038 SHA512 e29015b8850c76f43f42920b1ee93af72cbd28a12a1e555177f580270da6f71391f638cadb34333fa3a7db8f3fe15acb666b5d8b67acde9dcbe5c468e2e6b06f
-DIST imhex-patterns-1.21.2.tar.gz 4672663 BLAKE2B a0c4a9917ad44a4af0e01e67210bb025a01e6775b327248ba9259d36ea0596b2be74aed758d478b3f5c0d0aea669ed333c8aca2b7e43e275abc833bbdcef2490 SHA512 c5694bd5cc6a609dd8133f0566fbf3bfd4669cf4a20523d10afddbc39e4b7a8d52d8fdecff95883e40b6f06f858e1373c8dbe0713fd7f54380dac5ee3105b9ce
DIST imhex-patterns-1.22.0.tar.gz 4749715 BLAKE2B ae157b664f7a0e163d915c21ca34d5e207ee5a51896db2e8370a66574d68375eb6d31f872dd20f8ba592f2270a7615f921e840f6ffb2a6ee4253e30689245b60 SHA512 2ce01986993283a254e59d44eb3948180cb4038f2b0b3fb1aa93154509500c8eb7315cf7b5aa3ee1887456936dd68c3fc8bac52f2a0c90a3b0567a4f0253dede
diff --git a/app-editors/imhex/imhex-1.21.2.ebuild b/app-editors/imhex/imhex-1.21.2.ebuild
deleted file mode 100644
index 980671dc4..000000000
--- a/app-editors/imhex/imhex-1.21.2.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-CMAKE_BUILD_TYPE="Release"
-CMAKE_MAKEFILE_GENERATOR="emake"
-PYTHON_COMPAT=( python3_{8..11} )
-
-inherit cmake desktop llvm python-r1 xdg
-
-DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
-HOMEPAGE="https://github.com/WerWolv/ImHex"
-SRC_URI="
- https://github.com/WerWolv/ImHex/releases/download/v${PV}/Full.Sources.tar.gz -> ${P}.tar.gz
- https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${PV}.tar.gz -> ${PN}-patterns-${PV}.tar.gz
-"
-S="${WORKDIR}/ImHex"
-S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="python"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- python? ( ${PYTHON_DEPS} )
- app-forensics/yara
- dev-libs/capstone
- >=dev-libs/libfmt-8.0.0
- dev-libs/openssl
- dev-libs/tre
- media-libs/freetype
- media-libs/glfw
- media-libs/glm
- net-libs/libssh2
- net-libs/mbedtls
- net-misc/curl
- sys-apps/dbus
- sys-apps/file
- sys-apps/xdg-desktop-portal
- virtual/libiconv
- virtual/libintl
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
- app-admin/chrpath
- >=dev-cpp/nlohmann_json-3.10.2
- gnome-base/librsvg
- sys-devel/llvm
-"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.21.2-fix-compiler-check.patch"
- "${FILESDIR}/${PN}-1.21.2-fix-build-with-clang.patch"
- "${FILESDIR}/${PN}-1.21.2-fix-dedup-resources-directories.patch"
- "${FILESDIR}/${PN}-1.21.2-fix-copy-elision-not-applying.patch"
- "${FILESDIR}/${PN}-1.21.2-fix-use-c-23-standard.patch"
- "${FILESDIR}/${PN}-1.21.2-fix-llvmdemangle.patch"
-)
-
-src_configure() {
- use python && python_setup
-
- local mycmakeargs=(
- -D CMAKE_SKIP_RPATH=ON \
- -D IMHEX_IGNORE_BAD_CLONE=ON \
- -D IMHEX_OFFLINE_BUILD=ON \
- -D IMHEX_STRIP_RELEASE=OFF \
- -D IMHEX_VERSION="${PV}" \
- -D PROJECT_VERSION="${PV}" \
- -D USE_SYSTEM_CAPSTONE=ON \
- -D USE_SYSTEM_CURL=ON \
- -D USE_SYSTEM_FMT=ON \
- -D USE_SYSTEM_LLVM=ON \
- -D USE_SYSTEM_NLOHMANN_JSON=ON \
- -D USE_SYSTEM_YARA=ON
- )
- if use python; then
- mycmakeargs+=( -D PYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" )
- fi
- cmake_src_configure
-}
-
-src_install() {
- # Can't use cmake_src_install, doing it manual
- # Executable
- dobin "${BUILD_DIR}/${PN}"
- chrpath -d "${ED}/usr/bin/${PN}"
- # Shared lib and plugins
- dolib.so "${BUILD_DIR}"/lib/lib"${PN}"/lib"${PN}".so*
- chrpath -d "${ED}"/usr/bin/lib"${PN}"/lib"${PN}".so*
- exeinto "/usr/$(get_libdir)/${PN}/plugins"
- for plugin in builtin; do
- doexe "${BUILD_DIR}/plugins/${plugin}.hexplug"
- chrpath -d "${ED}/usr/$(get_libdir)/${PN}/plugins/${plugin}.hexplug"
- done
- # Desktop and icon files
- domenu "${S}/dist/${PN}.desktop"
- newicon -s scalable "${S}/resources/icon.svg" "${PN}.svg"
- for i in 16 22 24 32 36 48 64 72 96 128 192 256 512; do
- mkdir "${T}/${i}x${i}" || die
- rsvg-convert -a -f png -w "${i}" -o "${T}/${i}x${i}/${PN}.png" "${S}/resources/icon.svg" || die
- doicon -s "${i}" "${T}/${i}x${i}/${PN}.png"
- done
-
- if use python; then
- installation() {
- mypythondir="${D}/$(python_get_sitedir)/${PN}"
- mkdir -p "${mypythondir}" || die
- cp -r "${S}"/resources/lib/python/lib/* "${mypythondir}" || die
- python_optimize "${mypythondir}"
- }
- python_foreach_impl installation
- fi
-
- # Install docs
- einstalldocs
-
- # Install patterns
- insinto /usr/share/imhex
- doins -r "${S_PATTERNS}"/*
-}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2022-09-06 3:36 Rui Huang
0 siblings, 0 replies; 23+ messages in thread
From: Rui Huang @ 2022-09-06 3:36 UTC (permalink / raw
To: gentoo-commits
commit: e07c00ad7689bb8a7fc1e673f68468e2a75c681f
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Tue Sep 6 03:35:56 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Tue Sep 6 03:35:56 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e07c00ad
app-editors/imhex: add 1.22.0
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-editors/imhex/Manifest | 2 +
app-editors/imhex/imhex-1.22.0.ebuild | 115 ++++++++++++++++++++++++++++++++++
2 files changed, 117 insertions(+)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index fa985686e..40d82ba74 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,4 @@
DIST imhex-1.21.2.tar.gz 23473112 BLAKE2B 5e1dbcf246fc2b2ac57636efee71574eb38ee2d04678a6e09b4d8c2d61da01021bb169fa40a18725d609a3daae1bf9a4ca8aacbb21b6d381c3ff1345d9f788c6 SHA512 e5dd9c5b81f739ee37cc51cf37aa6b866b1af8b28f06e0731612612c5a56d5d68d9d50c20ebb9304a51efb88c07fde72656dcc7d6c249dd827d5d15e44de9698
+DIST imhex-1.22.0.tar.gz 23801722 BLAKE2B db82e9fb74244cc591da60f6b3ae7d66db2907a216f5246973c5c3012e713c01d426fcf2d87ddb6ac92a0cff8f2a89119341f2f806bcce59d117c6a15ca58038 SHA512 e29015b8850c76f43f42920b1ee93af72cbd28a12a1e555177f580270da6f71391f638cadb34333fa3a7db8f3fe15acb666b5d8b67acde9dcbe5c468e2e6b06f
DIST imhex-patterns-1.21.2.tar.gz 4672663 BLAKE2B a0c4a9917ad44a4af0e01e67210bb025a01e6775b327248ba9259d36ea0596b2be74aed758d478b3f5c0d0aea669ed333c8aca2b7e43e275abc833bbdcef2490 SHA512 c5694bd5cc6a609dd8133f0566fbf3bfd4669cf4a20523d10afddbc39e4b7a8d52d8fdecff95883e40b6f06f858e1373c8dbe0713fd7f54380dac5ee3105b9ce
+DIST imhex-patterns-1.22.0.tar.gz 4749715 BLAKE2B ae157b664f7a0e163d915c21ca34d5e207ee5a51896db2e8370a66574d68375eb6d31f872dd20f8ba592f2270a7615f921e840f6ffb2a6ee4253e30689245b60 SHA512 2ce01986993283a254e59d44eb3948180cb4038f2b0b3fb1aa93154509500c8eb7315cf7b5aa3ee1887456936dd68c3fc8bac52f2a0c90a3b0567a4f0253dede
diff --git a/app-editors/imhex/imhex-1.22.0.ebuild b/app-editors/imhex/imhex-1.22.0.ebuild
new file mode 100644
index 000000000..09fd29f32
--- /dev/null
+++ b/app-editors/imhex/imhex-1.22.0.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+CMAKE_MAKEFILE_GENERATOR="emake"
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake desktop llvm python-r1 xdg
+
+DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
+HOMEPAGE="https://github.com/WerWolv/ImHex"
+SRC_URI="
+ https://github.com/WerWolv/ImHex/releases/download/v${PV}/Full.Sources.tar.gz -> ${P}.tar.gz
+ https://github.com/WerWolv/ImHex-Patterns/archive/refs/tags/ImHex-v${PV}.tar.gz -> ${PN}-patterns-${PV}.tar.gz
+"
+S="${WORKDIR}/ImHex"
+S_PATTERNS="${WORKDIR}/ImHex-Patterns-ImHex-v${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="python"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+DEPEND="
+ python? ( ${PYTHON_DEPS} )
+ app-forensics/yara
+ dev-libs/capstone
+ >=dev-libs/libfmt-8.0.0
+ dev-libs/openssl
+ dev-libs/tre
+ media-libs/freetype
+ media-libs/glfw
+ media-libs/glm
+ net-libs/libssh2
+ net-libs/mbedtls
+ net-misc/curl
+ sys-apps/dbus
+ sys-apps/file
+ sys-apps/xdg-desktop-portal
+ virtual/libiconv
+ virtual/libintl
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ app-admin/chrpath
+ >=dev-cpp/nlohmann_json-3.10.2
+ gnome-base/librsvg
+ sys-devel/llvm
+"
+
+src_configure() {
+ use python && python_setup
+
+ local mycmakeargs=(
+ -D CMAKE_SKIP_RPATH=ON \
+ -D IMHEX_IGNORE_BAD_CLONE=ON \
+ -D IMHEX_OFFLINE_BUILD=ON \
+ -D IMHEX_STRIP_RELEASE=OFF \
+ -D IMHEX_VERSION="${PV}" \
+ -D PROJECT_VERSION="${PV}" \
+ -D USE_SYSTEM_CAPSTONE=ON \
+ -D USE_SYSTEM_CURL=ON \
+ -D USE_SYSTEM_FMT=ON \
+ -D USE_SYSTEM_LLVM=ON \
+ -D USE_SYSTEM_NLOHMANN_JSON=ON \
+ -D USE_SYSTEM_YARA=ON
+ )
+ if use python; then
+ mycmakeargs+=( -D PYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\"" )
+ fi
+ cmake_src_configure
+}
+
+src_install() {
+ # Can't use cmake_src_install, doing it manual
+ # Executable
+ dobin "${BUILD_DIR}/${PN}"
+ chrpath -d "${ED}/usr/bin/${PN}"
+ # Shared lib and plugins
+ dolib.so "${BUILD_DIR}"/lib/lib"${PN}"/lib"${PN}".so*
+ chrpath -d "${ED}"/usr/bin/lib"${PN}"/lib"${PN}".so*
+ exeinto "/usr/$(get_libdir)/${PN}/plugins"
+ for plugin in builtin; do
+ doexe "${BUILD_DIR}/plugins/${plugin}.hexplug"
+ chrpath -d "${ED}/usr/$(get_libdir)/${PN}/plugins/${plugin}.hexplug"
+ done
+ # Desktop and icon files
+ domenu "${S}/dist/${PN}.desktop"
+ newicon -s scalable "${S}/resources/icon.svg" "${PN}.svg"
+ for i in 16 22 24 32 36 48 64 72 96 128 192 256 512; do
+ mkdir "${T}/${i}x${i}" || die
+ rsvg-convert -a -f png -w "${i}" -o "${T}/${i}x${i}/${PN}.png" "${S}/resources/icon.svg" || die
+ doicon -s "${i}" "${T}/${i}x${i}/${PN}.png"
+ done
+
+ if use python; then
+ installation() {
+ mypythondir="${D}/$(python_get_sitedir)/${PN}"
+ mkdir -p "${mypythondir}" || die
+ cp -r "${S}"/resources/lib/python/lib/* "${mypythondir}" || die
+ python_optimize "${mypythondir}"
+ }
+ python_foreach_impl installation
+ fi
+
+ # Install docs
+ einstalldocs
+
+ # Install patterns
+ insinto /usr/share/imhex
+ doins -r "${S_PATTERNS}"/*
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2022-08-20 11:42 Rui Huang
0 siblings, 0 replies; 23+ messages in thread
From: Rui Huang @ 2022-08-20 11:42 UTC (permalink / raw
To: gentoo-commits
commit: 262bcfe0faa62b13a00c9a8a01cb11308cfc6b4c
Author: Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sat Aug 20 11:42:10 2022 +0000
Commit: Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sat Aug 20 11:42:10 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=262bcfe0
app-editors/imhex: add myself as a maintainer
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
app-editors/imhex/metadata.xml | 127 +++++++++++++++++++++--------------------
1 file changed, 65 insertions(+), 62 deletions(-)
diff --git a/app-editors/imhex/metadata.xml b/app-editors/imhex/metadata.xml
index 6c5df7b7e..ffb0d5d0b 100644
--- a/app-editors/imhex/metadata.xml
+++ b/app-editors/imhex/metadata.xml
@@ -1,74 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>vowstar@gmail.com</email>
+ <name>Huang Rui</name>
+ </maintainer>
<upstream>
<changelog>https://github.com/WerWolv/ImHex/releases</changelog>
<bugs-to>https://github.com/WerWolv/ImHex/issues</bugs-to>
<remote-id type="github">WerWolv/ImHex</remote-id>
</upstream>
<longdescription lang="en">
-Features
+ Features
-Featureful hex view
-Byte patching
-Patch management
-Copy bytes as feature
-Bytes
-Hex string
-C, C++, C sharp, Rust, Python, Java and JavaScript array
-ASCII-Art hex view
-HTML self contained div
-String and hex search
-Colorful highlighting
-Goto from start, end and current cursor position
-Custom C++-like pattern language for parsing highlighting a file's content
-Automatic loading based on MIME type
-arrays, pointers, structs, unions, enums, bitfields, using declarations, little and big endian support, conditionals and much more!
-Useful error messages, syntax highlighting and error marking
-Data importing
-Base64 files
-IPS and IPS32 patches
-Data exporting
-IPS and IPS32 patches
-Data inspector allowing interpretation of data as many different types (little and big endian)
-Huge file support with fast and efficient loading
-String search
-Copying of strings
-Copying of demangled strings
-File hashing support
-CRC16 and CRC32 with custom initial values and polynomials
-MD4, MD5
-SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
-Disassembler supporting many different architectures
-ARM32 (ARM, Thumb, Cortex-M, AArch32)
-ARM64
-MIPS (MIPS32, MIPS64, MIPS32R6, Micro)
-x86 (16-bit, 32-bit, 64-bit)
-PowerPC (32-bit, 64-bit)
-SPARC
-IBM SystemZ
-xCORE
-M68K
-TMS320C64X
-M680X
-Ethereum
-Bookmarks
-Region highlighting
-Comments
-Data Analyzer
-File magic-based file parser and MIME type database
-Byte distribution graph
-Entropy graph
-Highest and average entropy
-Encrypted / Compressed file detection
-Helpful tools
-Itanium and MSVC demangler
-ASCII table
-Regex replacer
-Mathematical expression evaluator (Calculator)
-Hexadecimal Color picker
-Built-in cheat sheet for pattern language and Math evaluator
-Doesn't burn out your retinas when used in late-night sessions
+ Featureful hex view
+ Byte patching
+ Patch management
+ Copy bytes as feature
+ Bytes
+ Hex string
+ C, C++, C sharp, Rust, Python, Java and JavaScript array
+ ASCII-Art hex view
+ HTML self contained div
+ String and hex search
+ Colorful highlighting
+ Goto from start, end and current cursor position
+ Custom C++-like pattern language for parsing highlighting a file's content
+ Automatic loading based on MIME type
+ arrays, pointers, structs, unions, enums, bitfields, using declarations, little and big endian support, conditionals and much more!
+ Useful error messages, syntax highlighting and error marking
+ Data importing
+ Base64 files
+ IPS and IPS32 patches
+ Data exporting
+ IPS and IPS32 patches
+ Data inspector allowing interpretation of data as many different types (little and big endian)
+ Huge file support with fast and efficient loading
+ String search
+ Copying of strings
+ Copying of demangled strings
+ File hashing support
+ CRC16 and CRC32 with custom initial values and polynomials
+ MD4, MD5
+ SHA-1, SHA-224, SHA-256, SHA-384, SHA-512
+ Disassembler supporting many different architectures
+ ARM32 (ARM, Thumb, Cortex-M, AArch32)
+ ARM64
+ MIPS (MIPS32, MIPS64, MIPS32R6, Micro)
+ x86 (16-bit, 32-bit, 64-bit)
+ PowerPC (32-bit, 64-bit)
+ SPARC
+ IBM SystemZ
+ xCORE
+ M68K
+ TMS320C64X
+ M680X
+ Ethereum
+ Bookmarks
+ Region highlighting
+ Comments
+ Data Analyzer
+ File magic-based file parser and MIME type database
+ Byte distribution graph
+ Entropy graph
+ Highest and average entropy
+ Encrypted / Compressed file detection
+ Helpful tools
+ Itanium and MSVC demangler
+ ASCII table
+ Regex replacer
+ Mathematical expression evaluator (Calculator)
+ Hexadecimal Color picker
+ Built-in cheat sheet for pattern language and Math evaluator
+ Doesn't burn out your retinas when used in late-night sessions
</longdescription>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2022-04-30 3:40 Alessandro Barbieri
0 siblings, 0 replies; 23+ messages in thread
From: Alessandro Barbieri @ 2022-04-30 3:40 UTC (permalink / raw
To: gentoo-commits
commit: 967df4b05abb4ce4bef5a5a8766b7b6527b74769
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr 30 00:16:41 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 30 03:40:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=967df4b0
app-editors/imhex: drop myself as a maintainer
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-editors/imhex/metadata.xml | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/app-editors/imhex/metadata.xml b/app-editors/imhex/metadata.xml
index 85181e952..6c5df7b7e 100644
--- a/app-editors/imhex/metadata.xml
+++ b/app-editors/imhex/metadata.xml
@@ -1,11 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <description>co-maintainers welcome</description>
- <email>lssndrbarbieri@gmail.com</email>
- <name>Alessandro Barbieri</name>
- </maintainer>
+ <!-- maintainer-needed -->
<upstream>
<changelog>https://github.com/WerWolv/ImHex/releases</changelog>
<bugs-to>https://github.com/WerWolv/ImHex/issues</bugs-to>
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2021-10-05 20:50 Alessandro Barbieri
0 siblings, 0 replies; 23+ messages in thread
From: Alessandro Barbieri @ 2021-10-05 20:50 UTC (permalink / raw
To: gentoo-commits
commit: 452617a72e1de40381a006ea02a9b031f71d7634
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Oct 5 20:50:38 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Oct 5 20:50:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=452617a7
app-editors/imhex: add 1.10.1
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-editors/imhex/Manifest | 1 +
app-editors/imhex/imhex-1.10.1.ebuild | 106 ++++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/app-editors/imhex/Manifest b/app-editors/imhex/Manifest
index d9a07528d..d07eb6afc 100644
--- a/app-editors/imhex/Manifest
+++ b/app-editors/imhex/Manifest
@@ -1,2 +1,3 @@
DIST imhex-1.10.0.tar.gz 8509953 BLAKE2B e258693f44d5524a86c88e29152bfe9777a149236f146a16b88bc7a49d3450f1b46138649a830c7164175afaea3c0d5e76c998e3e65020627b3c978c504431bb SHA512 03d84e30d5ee064ef2c3faf5cb40965f2c94b41e4d8b3e2e3e800f079d0710f0660b4c751dc0c4516b9b19bbf57df44a102ae61fa41d56606ce1f37c9aa8313c
+DIST imhex-1.10.1.tar.gz 8523483 BLAKE2B 7d73a06cfe83fdd9fa8723f1c64a752212f8e2f0dbf902f2d1da1349e53e580684263b168569f092d32c129eddba40131d8f8bd3148d6d59340dcd67bcdc8b6e SHA512 0542ce5db530989367dfc98932bd09e3020c955e2bd666122644612e1c41e2bc3d6a6374c60e7afbb4bae86c75930dfbc7a48f37a8cd8a0d85a550231f470b91
DIST imhex-1.8.1.tar.gz 1758664 BLAKE2B 62c58358810bd4f1192495001d01fc6c6fe8f28a35adc1478c8b2d0dab0fd929c0f46018c9afd51c1094cbae0c04002f4887fb2fb9377b6c645abaee006b9a03 SHA512 c6ec73a282c9eb90b58d164c29abbef3dceba09aa706a8295cecdcb429d5efa4015fac0dd0a3111eae3efe667f5b16f063624bf188a00a400fc06b008e3b51f8
diff --git a/app-editors/imhex/imhex-1.10.1.ebuild b/app-editors/imhex/imhex-1.10.1.ebuild
new file mode 100644
index 000000000..511463ff0
--- /dev/null
+++ b/app-editors/imhex/imhex-1.10.1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_BUILD_TYPE="Release"
+CMAKE_MAKEFILE_GENERATOR="emake"
+LLVM_MAX_SLOT=12
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake desktop llvm python-single-r1 xdg-utils
+
+DESCRIPTION="A hex editor for reverse engineers, programmers, and eyesight"
+HOMEPAGE="https://github.com/WerWolv/ImHex"
+SRC_URI="https://github.com/WerWolv/ImHex/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/ImHex-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ app-forensics/yara
+ >=dev-cpp/nlohmann_json-3.10.2
+ dev-cpp/xdgpp
+ dev-libs/capstone
+ >=dev-libs/libfmt-8.0.0
+ dev-libs/nativefiledialog-extended
+ dev-libs/openssl
+ dev-libs/tre
+ media-libs/freetype
+ media-libs/glfw
+ media-libs/glm
+ net-libs/mbedtls
+ net-misc/curl
+ sys-apps/file
+ sys-devel/llvm:${LLVM_MAX_SLOT}
+ virtual/libiconv
+ virtual/libintl
+"
+RDEPEND="${DEPEND}"
+BDEPEND="app-admin/chrpath"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.8.1-system-xdgpp.patch"
+ "${FILESDIR}/${PN}-1.8.1-system-nativefiledialog.patch"
+ "${FILESDIR}/${P}-fix-yara-linking.patch"
+ "${FILESDIR}/${P}-no-lnlohmann_json.patch"
+ "${FILESDIR}/${P}-link-mbedtls.patch"
+)
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_prepare() {
+ rm -r external/{curl,fmt,llvm,nativefiledialog,nlohmann_json,xdgpp,yara} || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ python-single-r1_pkg_setup
+ local mycmakeargs=(
+ -DPROJECT_VERSION="${PV}"
+ -DPYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\""
+ -DUSE_SYSTEM_CURL=ON
+ -DUSE_SYSTEM_FMT=ON
+ -DUSE_SYSTEM_LLVM=ON
+ -DUSE_SYSTEM_NLOHMANN_JSON=ON
+ -DUSE_SYSTEM_YARA=ON
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ # can't use cmake_src_install, doing it manual
+ dobin "${BUILD_DIR}/${PN}"
+ insinto "/usr/$(get_libdir)"
+ doins "${BUILD_DIR}/plugins/builtin/builtin.hexplug"
+ dolib.so "${BUILD_DIR}/plugins/lib${PN}/lib${PN}.so"
+ insinto "/usr/share/${PN}"
+ doins "${S}/res/icon.ico"
+ doins -r "${S}/res/resources"
+
+ chrpath -d "${ED}/usr/bin/imhex"
+ chrpath -d "${ED}/usr/$(get_libdir)/builtin.hexplug"
+
+ mypythondir="${D}/$(python_get_sitedir)/imhex"
+ mkdir -p "${mypythondir}" || die
+ mv "${S}"/python_libs/lib/* "${mypythondir}" || die
+ python_optimize "${mypythondir}"
+
+ # create desktop icon
+ make_desktop_entry "imhex" "ImHex" "/usr/share/${PN}/icon.ico" "X-Editor"
+
+ # install docs
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postrm() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2021-07-09 10:38 Alessandro Barbieri
0 siblings, 0 replies; 23+ messages in thread
From: Alessandro Barbieri @ 2021-07-09 10:38 UTC (permalink / raw
To: gentoo-commits
commit: 44741cccd1fc47ebcd36704752adfd37738b3c8f
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Jul 9 10:37:34 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jul 9 10:37:34 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=44741ccc
app-editors/imhex: revert yara[tcmalloc] dependency
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-editors/imhex/{imhex-1.8.1.ebuild => imhex-1.8.1-r1.ebuild} | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/app-editors/imhex/imhex-1.8.1.ebuild b/app-editors/imhex/imhex-1.8.1-r1.ebuild
similarity index 95%
rename from app-editors/imhex/imhex-1.8.1.ebuild
rename to app-editors/imhex/imhex-1.8.1-r1.ebuild
index 568714161..72849a7cf 100644
--- a/app-editors/imhex/imhex-1.8.1.ebuild
+++ b/app-editors/imhex/imhex-1.8.1-r1.ebuild
@@ -21,7 +21,7 @@ KEYWORDS="~amd64"
DEPEND="
${PYTHON_DEPS}
- app-forensics/yara[tcmalloc]
+ app-forensics/yara
dev-cpp/nlohmann_json
dev-cpp/xdgpp
dev-libs/capstone
@@ -56,9 +56,10 @@ src_prepare() {
}
src_configure() {
- python_setup
+ python-single-r1_pkg_setup
local mycmakeargs=(
-DPROJECT_VERSION="${PV}"
+ -DPYTHON_VERSION_MAJOR_MINOR="\"${EPYTHON/python/}\""
-DUSE_SYSTEM_CURL=ON
-DUSE_SYSTEM_FMT=ON
-DUSE_SYSTEM_LLVM=ON
@@ -66,6 +67,7 @@ src_configure() {
-DUSE_SYSTEM_YARA=ON
)
cmake_src_configure
+
}
src_install() {
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2021-07-05 21:09 Alessandro Barbieri
0 siblings, 0 replies; 23+ messages in thread
From: Alessandro Barbieri @ 2021-07-05 21:09 UTC (permalink / raw
To: gentoo-commits
commit: beb931e8c1277782b269467894dcb1806e25ecd4
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul 5 21:09:31 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 5 21:09:31 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=beb931e8
app-editors/imhex: depend on yara[tcmalloc]
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-editors/imhex/imhex-1.8.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app-editors/imhex/imhex-1.8.1.ebuild b/app-editors/imhex/imhex-1.8.1.ebuild
index 8f9fd4480..568714161 100644
--- a/app-editors/imhex/imhex-1.8.1.ebuild
+++ b/app-editors/imhex/imhex-1.8.1.ebuild
@@ -21,7 +21,7 @@ KEYWORDS="~amd64"
DEPEND="
${PYTHON_DEPS}
- app-forensics/yara
+ app-forensics/yara[tcmalloc]
dev-cpp/nlohmann_json
dev-cpp/xdgpp
dev-libs/capstone
^ permalink raw reply related [flat|nested] 23+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/
@ 2021-07-05 0:43 Alessandro Barbieri
0 siblings, 0 replies; 23+ messages in thread
From: Alessandro Barbieri @ 2021-07-05 0:43 UTC (permalink / raw
To: gentoo-commits
commit: 4784edff0f79d11063fdd4c0c29250dde9699000
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Jul 4 11:00:22 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 5 00:43:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4784edff
app-editors/imhex: add github upstream metadata
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-editors/imhex/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-editors/imhex/metadata.xml b/app-editors/imhex/metadata.xml
index 03dbc45fc..85181e952 100644
--- a/app-editors/imhex/metadata.xml
+++ b/app-editors/imhex/metadata.xml
@@ -9,6 +9,7 @@
<upstream>
<changelog>https://github.com/WerWolv/ImHex/releases</changelog>
<bugs-to>https://github.com/WerWolv/ImHex/issues</bugs-to>
+ <remote-id type="github">WerWolv/ImHex</remote-id>
</upstream>
<longdescription lang="en">
Features
^ permalink raw reply related [flat|nested] 23+ messages in thread
end of thread, other threads:[~2024-08-31 11:52 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-08 4:14 [gentoo-commits] repo/proj/guru:dev commit in: app-editors/imhex/ Rui Huang
-- strict thread matches above, loose matches on Subject: below --
2024-08-31 11:52 Henri Gasc
2024-04-11 15:05 Henri Gasc
2024-03-11 11:35 Henri Gasc
2024-03-09 12:44 Henri Gasc
2023-06-26 19:13 Henri Gasc
2023-04-24 21:22 Henri Gasc
2023-04-22 16:54 Henri Gasc
2023-04-18 12:02 Henri Gasc
2023-04-15 19:41 Henri Gasc
2023-04-07 7:34 Rui Huang
2023-01-13 7:35 Rui Huang
2023-01-10 10:35 Henri Gasc
2022-09-22 10:12 Ronny Gutbrod
2022-09-08 4:14 Rui Huang
2022-09-08 4:14 Rui Huang
2022-09-06 3:36 Rui Huang
2022-08-20 11:42 Rui Huang
2022-04-30 3:40 Alessandro Barbieri
2021-10-05 20:50 Alessandro Barbieri
2021-07-09 10:38 Alessandro Barbieri
2021-07-05 21:09 Alessandro Barbieri
2021-07-05 0:43 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox