# HG changeset patch # User Hans-G?nter Theisgen # Date 1725115544 -3600 # Node ID 926a13bca723f753eecabd5e0b6158a38551a9dd # Parent 506058500799b14d65ac88cb3e3fc80775642ef4 fixed recipe for wxHexEditor diff -r 506058500799 -r 926a13bca723 wxHexEditor-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wxHexEditor-lang/receipt Sat Aug 31 15:45:44 2024 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="wxHexEditor-lang" +VERSION="0.24" +CATEGORY="localization" +SHORT_DESC="Hex editor - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL" +WEB_SITE="http://wxhexeditor.org/" + +WANTED="wxHexEditor" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 506058500799 -r 926a13bca723 wxHexEditor/receipt --- a/wxHexEditor/receipt Sat Aug 31 14:32:37 2024 +0100 +++ b/wxHexEditor/receipt Sat Aug 31 15:45:44 2024 +0100 @@ -12,8 +12,9 @@ SF_PROJECT="wxhexeditor" WGET_URL="$SF_MIRROR/$SF_PROJECT/$TARBALL" -DEPENDS="libgomp wxWidgets" -BUILD_DEPENDS="autoconf automake libffi libtool wxWidgets-dev" +SUGGESTED="wxHexEditor-lang" +DEPENDS="gcc83-lib-base libgomp wxWidgets" +BUILD_DEPENDS="autoconf automake gcc83 libffi libtool wxWidgets-dev" # What is the latest version available today? current_version() @@ -48,12 +49,20 @@ sed -i "s|^RCFLAGS =.*|RCFLAGS = $(wx-config --cxxflags | sed s/' '-m.*//g;)|" \ Makefile - make OPTFLAGS="-fopenmp" && + sed -i '423s|$|;|' \ + src/HexDialogs.cpp + sed -i '67,69s|$|;|' \ + src/HexEditorCtrl/HexEditorCtrl.cpp + + export CFLAGS="$CFLAGS -std=c11" + + make OPTFLAGS="-fopenmp" CC=gcc-83 CXX=g++-83 && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/* $fs + cook_copy_folders bin + cook_copy_folders pixmaps }