Commit 4648e57e authored by Yuri Victorovich's avatar Yuri Victorovich
Browse files

graphics/hiptext: remove abandonware

parent 9a97710a
Loading
Loading
Loading
Loading
+1
Changes for MOVED: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -5624,3 +5624,4 @@ net/openldap25-client|databases/openldap25-client|2026-09-24|Move all OpenLDAP p
net/openldap25-server|databases/openldap25-server|2026-09-24|Move all OpenLDAP ports to databases/
net/openldap26-client|databases/openldap26-client|2026-09-24|Move all OpenLDAP ports to databases/
net/openldap26-server|databases/openldap26-server|2026-09-24|Move all OpenLDAP ports to databases/
graphics/hiptext||2026-09-25|Remove abandonware
−1
Changes for graphics/Makefile: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -354,7 +354,6 @@
    SUBDIR += hdr_histogram
    SUBDIR += hdr_tools
    SUBDIR += heimer
    SUBDIR += hiptext
    SUBDIR += hobbes-icons-xpm
    SUBDIR += hppsmtools
    SUBDIR += hs-tart

graphics/hiptext/Makefile

deleted100644 → 0
−49
Changes for graphics/hiptext/Makefile: 0 added lines, 49 removed lines.
Original line number Diff line number Diff line
PORTNAME=	hiptext
DISTVERSION=	0.2-8
DISTVERSIONSUFFIX=	-g35c91e0
CATEGORIES=	graphics

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Tool for rendering images and videos inside terminals
WWW=		https://github.com/jart/hiptext

LICENSE=	APACHE20

BROKEN=		compilation fails: does not build with ffmpeg-8, see https://github.com/jart/hiptext/issues/63

BUILD_DEPENDS=	ragel:devel/ragel
LIB_DEPENDS=	libgflags.so:devel/gflags \
		libglog.so:devel/glog \
		libpng.so:graphics/png \
		libswscale.so:multimedia/ffmpeg \
		libfreetype.so:print/freetype2
TEST_DEPENDS=	googletest>=1.7.0:devel/googletest
RUN_DEPENDS=	${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu

USE_GITHUB=	yes
GH_ACCOUNT=	jart
GH_TAGNAME=	f89b44f

USES=		compiler:c++14-lang gmake jpeg localbase
CPPFLAGS+=	-I${LOCALBASE}/include/freetype2
CPPFLAGS+=	-I${LOCALBASE}/ffmpeg4/include
CXXFLAGS+=	-DGLOG_USE_GLOG_EXPORT
LDFLAGS+=	-L${LOCALBASE}/lib -lfreetype
LDFLAGS+=	-L${LOCALBASE}/ffmpeg4/lib
MAKE_ENV=	GTEST_DIR="${LOCALBASE}" \
		TARGET_ARCH=""
TEST_TARGET=	check

PLIST_FILES=	bin/hiptext

post-extract:
	@${RM} -r ${WRKSRC}/gtest

post-patch:
	@${REINPLACE_CMD} -e 's|"DejaVuSansMono.ttf"|"${LOCALBASE}/share/fonts/dejavu/DejaVuSansMono.ttf"|' \
		${WRKSRC}/font.cc

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hiptext ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>

graphics/hiptext/distinfo

deleted100644 → 0
−3
Changes for graphics/hiptext/distinfo: 0 added lines, 3 removed lines.
Original line number Diff line number Diff line
TIMESTAMP = 1773604235
SHA256 (jart-hiptext-0.2-8-g35c91e0-f89b44f_GH0.tar.gz) = b07164083cb2912fdc7f19c46934c34eca3f5bfd7a34a5990c82b047b4bfa6d1
SIZE (jart-hiptext-0.2-8-g35c91e0-f89b44f_GH0.tar.gz) = 1566318
−37
Changes for graphics/hiptext/files/patch-Makefile: 0 added lines, 37 removed lines.
Original line number Diff line number Diff line
--- Makefile.orig	2016-06-21 21:09:17 UTC
+++ Makefile
@@ -17,7 +17,7 @@ CXXFLAGS    ?= -g -O3
 PREFIX      ?= /usr/local
 TARGET_ARCH ?= -march=native
 CXXFLAGS    ?= -g -O3
-CXXFLAGS    += -std=c++11 -Wall -Wextra
+CXXFLAGS    += -std=c++14 -Wall -Wextra
 CXXFLAGS    += -fno-exceptions -fno-rtti
 LDLIBS      += -lm -lglog -lgflags -lpng -ljpeg
 LDLIBS      += -lavcodec -lavformat -lavutil -lswscale
@@ -48,7 +48,7 @@ check: test
 	./test --alsologtostderr --gtest_color=yes
 
 clean:
-	$(RM) test hiptext $(wildcard *.o *.d *.S $(GTEST_DIR)/*.o) cpplint.py
+	$(RM) test hiptext $(wildcard *.o *.d *.S) cpplint.py
 
 install: hiptext
 	install --mode=0755 hiptext $(PREFIX)/bin
@@ -78,12 +78,11 @@ pixel_parse.o: CXXFLAGS := $(filter-out 
 font.%:        CXXFLAGS += $(shell freetype-config --cflags)
 
 # google-test integration magic.
-GTEST_DIR ?= gtest
-TESTS = $(GTEST_DIR)/src/gtest-all.o $(GTEST_DIR)/src/gtest_main.o \
-        $(patsubst %.cc,%.o,$(wildcard *_test.cc))
-$(TESTS): CXXFLAGS += -I$(GTEST_DIR)/include -I$(GTEST_DIR) -pthread
+GTEST_DIR ?= $(PREFIX)
+TESTS = $(patsubst %.cc,%.o,$(wildcard *_test.cc))
+$(TESTS): CXXFLAGS += -I$(GTEST_DIR)/include -pthread
 $(filter gtest%,$(TESTS)): CXXFLAGS := $(filter-out -MD -Wall,$(CXXFLAGS))
-test: $(TESTS) $(SOURCES) ; $(LINK.cc) $^ $(LDLIBS) -lpthread -o $@
+test: $(TESTS) $(SOURCES) ; $(LINK.cc) $^ $(LDLIBS) -lpthread -L$(GTEST_DIR)/lib -lgtest -lgtest_main -o $@
 
 # Recompile sources when headers change.
 CXXFLAGS += -MD
Loading