On Tue Dec 30, 2025 at 11:11:55AM +0000, Edd Barrett wrote:
> Hi,
> 
> Update cutter to latest. Requires the rizin update I just posted.
> 
> Can someone please check the QT bits? Cutter now depends on QT6.
> 
> I pointed cutter at /bin/ls and it seems to be working, i.e. it detected a 
> list
> of functions and drew their CFGs correctly AFAICS.

The QT bits are good but you want add devel/rizin>=0.8.1 as a
LIB_DEPENDS and not RUN_DEPENDS/BUILD_DEPENDS. Please replace "python3.13"
with ${MODPY_WANTLIB} in WANTLIB.

BTW jtt ported x11/qt6/pyside6 so you can try the py-stuff if you like.

Otherwise then that OK rsadowski

> 
> OK?
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/cutter/Makefile,v
> diff -u -p -r1.23 Makefile
> --- Makefile  21 Dec 2024 11:39:32 -0000      1.23
> +++ Makefile  30 Dec 2025 11:09:09 -0000
> @@ -1,10 +1,9 @@
>  COMMENT =    RE platform powered by rizin
>  
> -V =          2.3.4
> +V =          2.4.1
>  PKGNAME =    cutter-${V}
>  DISTNAME =   Cutter-v${V}-src
>  WRKDIST =    ${WRKDIR}/Cutter-v${V}
> -REVISION =   1
>  
>  SITES =              
> https://github.com/rizinorg/cutter/releases/download/v${V}/
>  
> @@ -15,22 +14,25 @@ HOMEPAGE =        https://cutter.re/
>  # GPLv3
>  PERMIT_PACKAGE =     Yes
>  
> -WANTLIB += ${COMPILER_LIBCXX} KF5SyntaxHighlighting Qt5Core Qt5Gui
> -WANTLIB += Qt5Network Qt5Svg Qt5Widgets c cdt cgraph gvc m ${MODPY_WANTLIB}
> -WANTLIB += rz_analysis rz_asm rz_bin rz_bp rz_config rz_cons rz_core
> -WANTLIB += rz_crypto rz_debug rz_demangler rz_diff rz_egg rz_flag
> -WANTLIB += rz_hash rz_il rz_io rz_lang rz_magic rz_parse rz_reg
> +WANTLIB += ${COMPILER_LIBCXX} GL KF6SyntaxHighlighting Qt6Core
> +WANTLIB += Qt6Core5Compat Qt6Gui Qt6Network Qt6OpenGL Qt6OpenGLWidgets
> +WANTLIB += Qt6Svg Qt6SvgWidgets Qt6Widgets c cdt cgraph gvc intl
> +WANTLIB += m python3.13 rz_arch rz_bin rz_bp rz_config rz_cons
> +WANTLIB += rz_core rz_crypto rz_debug rz_demangler rz_diff rz_egg
> +WANTLIB += rz_flag rz_hash rz_il rz_io rz_lang rz_magic rz_reg
>  WANTLIB += rz_search rz_sign rz_socket rz_syscall rz_type rz_util
> +WANTLIB += util
>  
>  MODULES =    devel/cmake \
>               lang/python \
> -             x11/qt5
> +             x11/qt6
>  
>  BUILD_DEPENDS =      ${RUN_DEPENDS}
> -RUN_DEPENDS =        devel/rizin>=0.4.0
> -LIB_DEPENDS =        devel/kf5/syntax-highlighting \
> +RUN_DEPENDS =        devel/rizin>=0.8.1
> +LIB_DEPENDS =        devel/kf6/syntax-highlighting \
>               math/graphviz \
> -             x11/qt5/qtsvg
> +             x11/qt6/qt5compat \
> +             x11/qt6/qtsvg
>  
>  # XXX: Python-based plugins don't work yet, this needs
>  # CUTTER_ENABLE_PYTHON_BINDINGS which requires (unported) Shiboken2.
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/cutter/distinfo,v
> diff -u -p -r1.7 distinfo
> --- distinfo  14 Apr 2024 15:41:22 -0000      1.7
> +++ distinfo  12 Dec 2025 16:24:51 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (Cutter-v2.3.4-src.tar.gz) = 
> 7cJmpfeh8cf3HPXGyXJ+BQCLco6uO7Qr630LJM4HxcM=
> -SIZE (Cutter-v2.3.4-src.tar.gz) = 11608176
> +SHA256 (Cutter-v2.4.1-src.tar.gz) = 
> fK/DysdKo+abFNnXkOfqiKuFbjdXMAD3QDKJ7EEIZ+8=
> +SIZE (Cutter-v2.4.1-src.tar.gz) = 12303899
> 
> -- 
> Best Regards
> Edd Barrett
> 
> https://www.theunixzoo.co.uk
> 

Reply via email to