git: f5bfb97fdb1f - main - graphics/ipe: Update version 7.2.23=>7.2.24

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Wed, 03 Sep 2025 08:41:06 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5bfb97fdb1fc1f17dcde83cc2ef15e4c93ecd30

commit f5bfb97fdb1fc1f17dcde83cc2ef15e4c93ecd30
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-09-03 08:39:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-09-03 08:40:54 +0000

    graphics/ipe: Update version 7.2.23=>7.2.24
    
    Changelog: https://github.com/otfried/old-ipe-releases/releases/tag/v7.2.24
---
 graphics/ipe/Makefile  | 43 +++++++++++++++++++++++++++++++++++--------
 graphics/ipe/distinfo  |  6 +++---
 graphics/ipe/pkg-plist |  2 +-
 3 files changed, 39 insertions(+), 12 deletions(-)

diff --git a/graphics/ipe/Makefile b/graphics/ipe/Makefile
index 3cf876de2381..f49c299c96e9 100644
--- a/graphics/ipe/Makefile
+++ b/graphics/ipe/Makefile
@@ -1,9 +1,8 @@
 PORTNAME=	ipe
-PORTVERSION=	7.2.23
+DISTVERSION=	7.2.24
 DISTVERSIONSUFFIX=	-src
-PORTREVISION=	4
 CATEGORIES=	graphics
-MASTER_SITES=	https://dl.bintray.com/otfried/generic/ipe/${PORTVERSION:R}/
+MASTER_SITES=	https://github.com/otfried/old-ipe-releases/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	Extensible vector graphics editor with LaTeX support
@@ -11,12 +10,12 @@ WWW=		https://ipe.otfried.org/
 
 LICENSE=	GPLv3+
 
-RUN_DEPENDS=	xdg-open:devel/xdg-utils
 LIB_DEPENDS=	libcurl.so:ftp/curl \
 		libfreetype.so:print/freetype2 \
 		libgsl.so:math/gsl \
 		libpng.so:graphics/png \
 		libspiro.so:graphics/libspiro
+RUN_DEPENDS=	xdg-open:devel/xdg-utils
 
 USES=		compiler:c++11-lib gmake gnome jpeg lua:52 pkgconfig shebangfix qt:5 tex
 USE_GNOME=	cairo
@@ -24,7 +23,6 @@ USE_LDCONFIG=	yes
 USE_QT=		buildtools:build core gui qmake:build widgets
 USE_TEX=	pdftex
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
 SHEBANG_FILES=	${WRKSRC}/ipecurl/ipecurl.sh
 
 MAKE_ENV=	DL_LIBS="" \
@@ -41,17 +39,46 @@ MAKE_ENV=	DL_LIBS="" \
 		LUA_PACKAGE="lua-${LUA_VER}" \
 		MOC="${MOC}"
 
-PLIST_SUB=	VERSION="${PORTVERSION}"
-
-PORTDOCS=	*
+CPPFLAGS+=	-I${LOCALBASE}/${QT_INCDIR_REL} \
+		-I${LOCALBASE}/include/cairo \
+		-I${LUA_INCDIR} \
+		-I${WRKSRC}/include \
+		-I${WRKSRC}/ipecairo \
+		-I${WRKSRC}/ipecanvas
 
 DESKTOP_ENTRIES="Ipe" "" "ipe" "ipe" "" ""
 
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}/src
+
+PLIST_SUB=	VERSION="${DISTVERSION}"
+PORTDOCS=	*
+
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|\([[:blank:]]\)=|\1?=|' ${WRKSRC}/config.mak
+	@${REINPLACE_CMD} -e 's|<QWidget>|<QtWidgets/QWidget>|' \
+		${WRKSRC}/ipeui/ipeui_common.h \
+		${WRKSRC}/ipecanvas/ipepdfview_qt.h
+	@${REINPLACE_CMD} -e 's|<QDialog>|<QtWidgets/QDialog>|; \
+		s|<QGridLayout>|<QtWidgets/QGridLayout>|; \
+		s|<QMenu>|<QtWidgets/QMenu>|; \
+		s|<QApplication>|<QtWidgets/QApplication>|; \
+		s|<QAction>|<QtWidgets/QAction>|' \
+		${WRKSRC}/ipeui/ipeui_qt.h
+	@${REINPLACE_CMD} -e 's|<QApplication>|<QtWidgets/QApplication>|' \
+		${WRKSRC}/ipeui/ipeui_qt.cpp
+	@${REINPLACE_CMD} -e 's|<QListWidget>|<QtWidgets/QListWidget>|' \
+		${WRKSRC}/ipecanvas/ipeselector_qt.h
+	@${REINPLACE_CMD} -e 's|<QLabel>|<QtWidgets/QLabel>|; \
+		s|<QTime>|<QtCore/QTime>|; \
+		s|<QTimer>|<QtCore/QTimer>|' \
+		${WRKSRC}/ipepresenter/timelabel_qt.h
+	@${REINPLACE_CMD} -e 's|<QInputDialog>|<QtWidgets/QInputDialog>|' \
+		${WRKSRC}/ipepresenter/timelabel_qt.cpp
+	@${REINPLACE_CMD} -e 's|<QMainWindow>|<QtWidgets/QMainWindow>|' \
+		${WRKSRC}/ipepresenter/ipepresenter_qt.h
 
 post-install:
 	@${LN} -sf ${DATADIR}/${PORTVERSION}/ipe.png \
diff --git a/graphics/ipe/distinfo b/graphics/ipe/distinfo
index 1c2a939c4753..3399b29a6a30 100644
--- a/graphics/ipe/distinfo
+++ b/graphics/ipe/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611709798
-SHA256 (ipe-7.2.23-src.tar.gz) = a19ba29822e63fc7c12c3b85ca5bb58f9ee72fdf566e148af79206b5dc1f757b
-SIZE (ipe-7.2.23-src.tar.gz) = 1030938
+TIMESTAMP = 1756816361
+SHA256 (ipe-7.2.24-src.tar.gz) = feb879f24d1dce25910790770446d50b03e46ee2ebd7d28157b1705971644f6f
+SIZE (ipe-7.2.24-src.tar.gz) = 1031794
diff --git a/graphics/ipe/pkg-plist b/graphics/ipe/pkg-plist
index 5a74f9513ae7..f1d107a442f0 100644
--- a/graphics/ipe/pkg-plist
+++ b/graphics/ipe/pkg-plist
@@ -4,6 +4,7 @@ bin/ipe6upgrade
 bin/ipeextract
 bin/ipepresenter
 bin/iperender
+bin/iperender-par
 bin/ipescript
 bin/ipetoipe
 include/ipeattributes.h
@@ -24,7 +25,6 @@ include/ipelatex.h
 include/ipelet.h
 include/ipelib.h
 include/ipeobject.h
-include/ipeosx.h
 include/ipepage.h
 include/ipepainter.h
 include/ipepath.h