1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

databases/qof: Switch to new upstream

The previous upstream has been unfetchable for quite a while.

There are a number of forks, of which  https://github.com/GnoTime/qof
seems to be the most active.  It is also the same GH account as
is used by deskutils/gnotime, which is our only in-tree consumer.

Take MAINTAINERship and undeprecate.

MFH:		2025Q4
This commit is contained in:
Don Lewis
2025-11-18 02:30:56 -08:00
parent b7ccdbcc66
commit ca25e4212c
3 changed files with 28 additions and 20 deletions
+15 -18
View File
@@ -1,31 +1,28 @@
PORTNAME= qof
PORTVERSION= 0.8.8
PORTREVISION= 4
DISTVERSION= g20250913
PORTREVISION= 0
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= DEBIAN_POOL
DISTNAME= qof_${PORTVERSION}.orig
MAINTAINER= ports@FreeBSD.org
MAINTAINER= truckman@FreeBSD.org
COMMENT= Query Object Framework
WWW= https://alioth.debian.org/projects/qof/
WWW= https://github.com/GnoTime/qof
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Host is no longer resolvable using multiple different resolver
EXPIRATION_DATE= 2025-08-23
CONFLICTS_INSTALL= gnotime-2.[0-3]* gnotime-2.4.0* gnotime-2.4.1 gnotime-2.4.1_[12]*
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-doxygen --disable-gdasql --disable-sqlite
CONFIGURE_ARGS= --disable-doxygen --disable-sqlite
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
USES= gmake gnome libtool pkgconfig
USES= autoreconf gmake gnome libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= GnoTime
GH_PROJECT= qof
GH_TAGNAME= f4b5d111a91af1e5606bd1db74c4db454ae77124
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
@@ -34,13 +31,13 @@ NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
@${REINPLACE_CMD} -e '/CFLAGS=/s|-g2||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/CFLAGS=/s|-g2||' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e 's|__isleap|qof_date_isleap|' \
${WRKSRC}/qof/qofdate.c
@${REINPLACE_CMD} -e '/^AM_CFLAGS =/s|-g||' \
${WRKSRC}/lib/libsql/Makefile.in \
${WRKSRC}/qof/Makefile.in
${WRKSRC}/lib/libsql/Makefile.am \
${WRKSRC}/qof/Makefile.am
@${REINPLACE_CMD} -e '/^sql_parse_test_DEPENDENCIES =/s/$$/ libqofsql.la/' \
${WRKSRC}/lib/libsql/Makefile.in
${WRKSRC}/lib/libsql/Makefile.am
.include <bsd.port.mk>
+3 -2
View File
@@ -1,2 +1,3 @@
SHA256 (qof_0.8.8.orig.tar.gz) = 2cecb942bb42fc77c42417cf9118512c73911c16ccea6e72ab28b8bdf60a4e2e
SIZE (qof_0.8.8.orig.tar.gz) = 962548
TIMESTAMP = 1759994696
SHA256 (GnoTime-qof-g20250913-f4b5d111a91af1e5606bd1db74c4db454ae77124_GH0.tar.gz) = c749c79b1b7460655351a97bac09cfe229fbcab1f457b6b7b8a454e4cda220b9
SIZE (GnoTime-qof-g20250913-f4b5d111a91af1e5606bd1db74c4db454ae77124_GH0.tar.gz) = 419233
+10
View File
@@ -0,0 +1,10 @@
--- qof/Makefile.am.orig 2025-09-13 17:59:28 UTC
+++ qof/Makefile.am
@@ -100,6 +100,7 @@ libqof_la_LIBADD = \
-DDATADIR=\""$(datadir)"\"
libqof_la_LIBADD = \
+ -L${top_builddir}/lib/libsql @SQL_PKG_LIB@ \
${GMODULE_LIBS} \
${GOBJECT_LIBS} \
${GLIB_LIBS} \