Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F134799765
D43445.id132763.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
13 KB
Referenced Files
None
Subscribers
None
D43445.id132763.diff
View Options
diff --git a/MOVED b/MOVED
--- a/MOVED
+++ b/MOVED
@@ -2933,3 +2933,5 @@
devel/py-pygithub|devel/py-PyGithub|2024-01-06|Rename port match upstream
devel/freebsd-gcc9||2024-01-09|No longer able to build base system, use GCC 12 or later instead
net/downzemall|net/arrowdl|2024-01-11|Project was renamed upstream
+devel/appstream-compose||2024-01-14|Became a subpackage of devel/appstream
+devel/appstream-qt|devel/appstream-qt5|2024-01-14|The Qt6 flavor became a subpackage of devel/appstream
diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -182,9 +182,8 @@
SUBDIR += apitrace
SUBDIR += app-builder
SUBDIR += appstream
- SUBDIR += appstream-compose
SUBDIR += appstream-glib
- SUBDIR += appstream-qt
+ SUBDIR += appstream-qt5
SUBDIR += apr1
SUBDIR += arachne-pnr
SUBDIR += arcanist
diff --git a/devel/appstream-compose/Makefile b/devel/appstream-compose/Makefile
deleted file mode 100644
--- a/devel/appstream-compose/Makefile
+++ /dev/null
@@ -1,24 +0,0 @@
-PORTREVISION= 0
-PKGNAMESUFFIX= Compose
-
-COMMENT?= AppStream Compose application and library
-
-LIB_DEPENDS= libappstream.so:devel/appstream \
- libfreetype.so:print/freetype2 \
- libfontconfig.so:x11-fonts/fontconfig \
- libyaml.so:textproc/libyaml
-
-USE_GNOME= cairo gdkpixbuf2 librsvg2 pango
-
-MESON_ARGS= -Dcompose=true
-
-MASTERDIR= ${.CURDIR}/../../devel/appstream
-PLIST= ${.CURDIR}/pkg-plist
-
-post-install:
- # remove files belonging to the master port
- ${XARGS} -L 1 -I % ${RM} -rf ${STAGEDIR}${PREFIX}/% < ${MASTERDIR}/pkg-plist
- ${FIND} ${STAGEDIR}${PREFIX} -empty -delete
- ${RM} -rf ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${PREFIX}/man
-
-.include "${MASTERDIR}/Makefile"
diff --git a/devel/appstream-compose/pkg-plist b/devel/appstream-compose/pkg-plist
deleted file mode 100644
--- a/devel/appstream-compose/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-include/appstream-compose/appstream-compose.h
-include/appstream-compose/asc-canvas.h
-include/appstream-compose/asc-compose.h
-include/appstream-compose/asc-directory-unit.h
-include/appstream-compose/asc-enums-types.h
-include/appstream-compose/asc-globals.h
-include/appstream-compose/asc-hint.h
-include/appstream-compose/asc-icon-policy.h
-include/appstream-compose/asc-image.h
-include/appstream-compose/asc-result.h
-include/appstream-compose/asc-unit.h
-include/appstream-compose/asc-utils.h
-lib/girepository-1.0/AppStreamCompose-1.0.typelib
-lib/libappstream-compose.so
-lib/libappstream-compose.so.0
-lib/libappstream-compose.so.1.0.0
-libdata/pkgconfig/appstream-compose.pc
-libexec/appstreamcli-compose
-share/gir-1.0/AppStreamCompose-1.0.gir
-share/metainfo/org.freedesktop.appstream.compose.metainfo.xml
diff --git a/devel/appstream-qt/Makefile b/devel/appstream-qt/Makefile
deleted file mode 100644
--- a/devel/appstream-qt/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-PORTREVISION= 2
-PKGNAMESUFFIX= Qt${FLAVOR:S/qt//}
-
-COMMENT?= Qt bindings to AppStream
-
-LIB_DEPENDS= libappstream.so:devel/appstream
-
-FLAVORS= qt5 qt6
-FLAVOR?= qt5
-
-USES= qt:${FLAVOR:S/qt//}
-
-_USE_QT_qt5= core buildtools:build qmake:build testlib:build
-_USE_QT_qt6= base
-USE_QT= ${_USE_QT_${FLAVOR}}
-
-_MESON_ARGS_qt5= -Dqt5=true
-_MESON_ARGS_qt6= -Dqt=true
-MESON_ARGS= ${_MESON_ARGS_${FLAVOR}}
-
-_QT_VER_SUFFIX_qt5= 5
-_QT_VER_SUFFIX_qt6= #
-PLIST_SUB= QT_VER_SUFFIX=${_QT_VER_SUFFIX_${FLAVOR}}
-
-MASTERDIR= ${.CURDIR}/../appstream
-PLIST= ${.CURDIR}/pkg-plist
-
-post-install:
- # remove files belonging to the master port
- ${XARGS} -L 1 -I % ${RM} -rf ${STAGEDIR}${PREFIX}/% < ${MASTERDIR}/pkg-plist
- ${FIND} ${STAGEDIR}${PREFIX} -empty -delete
- ${RM} -rf ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${PREFIX}/man
-
-.include "${MASTERDIR}/Makefile"
diff --git a/devel/appstream-qt/pkg-plist b/devel/appstream-qt/pkg-plist
deleted file mode 100644
--- a/devel/appstream-qt/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-include/AppStreamQt%%QT_VER_SUFFIX%%/appstreamqt_export.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/bundle.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/category.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/component-box.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/component.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/contentrating.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/developer.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/icon.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/image.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/launchable.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/metadata.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/pool.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/provided.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/relation-check-result.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/relation.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/release-list.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/release.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/screenshot.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/spdx.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/suggested.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/systeminfo.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/translation.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/utils.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/version.h
-include/AppStreamQt%%QT_VER_SUFFIX%%/video.h
-lib/cmake/AppStreamQt%%QT_VER_SUFFIX%%/AppStreamQt%%QT_VER_SUFFIX%%Config.cmake
-lib/cmake/AppStreamQt%%QT_VER_SUFFIX%%/AppStreamQt%%QT_VER_SUFFIX%%ConfigVersion.cmake
-lib/libAppStreamQt%%QT_VER_SUFFIX%%.so
-lib/libAppStreamQt%%QT_VER_SUFFIX%%.so.1.0.0
-lib/libAppStreamQt%%QT_VER_SUFFIX%%.so.3
diff --git a/devel/appstream-qt5/Makefile b/devel/appstream-qt5/Makefile
new file mode 100644
--- /dev/null
+++ b/devel/appstream-qt5/Makefile
@@ -0,0 +1,22 @@
+PORTREVISION= 3
+PKGNAMESUFFIX= -qt5
+
+COMMENT= Qt5 bindings to AppStream
+
+SUBPACKAGES=
+
+LIB_DEPENDS= libappstream.so:devel/appstream
+
+QT_FLAVOR= 5
+
+MASTERDIR= ${.CURDIR}/../appstream
+PLIST= ${.CURDIR}/pkg-plist
+
+post-install:
+ # remove files belonging to the master port
+ ${SED} -e 's|@@compose@@||' -e 's|@@qt6@@||' ${MASTERDIR}/pkg-plist \
+ | ${XARGS} -L 1 -I % ${RM} -rf ${STAGEDIR}${PREFIX}/%
+ ${FIND} ${STAGEDIR}${PREFIX} -empty -delete
+ ${RM} -rf ${STAGEDIR}${PREFIX}/etc ${STAGEDIR}${PREFIX}/share/man
+
+.include "${MASTERDIR}/Makefile"
diff --git a/devel/appstream-qt5/pkg-plist b/devel/appstream-qt5/pkg-plist
new file mode 100644
--- /dev/null
+++ b/devel/appstream-qt5/pkg-plist
@@ -0,0 +1,30 @@
+include/AppStreamQt5/appstreamqt_export.h
+include/AppStreamQt5/bundle.h
+include/AppStreamQt5/category.h
+include/AppStreamQt5/component-box.h
+include/AppStreamQt5/component.h
+include/AppStreamQt5/contentrating.h
+include/AppStreamQt5/developer.h
+include/AppStreamQt5/icon.h
+include/AppStreamQt5/image.h
+include/AppStreamQt5/launchable.h
+include/AppStreamQt5/metadata.h
+include/AppStreamQt5/pool.h
+include/AppStreamQt5/provided.h
+include/AppStreamQt5/relation-check-result.h
+include/AppStreamQt5/relation.h
+include/AppStreamQt5/release-list.h
+include/AppStreamQt5/release.h
+include/AppStreamQt5/screenshot.h
+include/AppStreamQt5/spdx.h
+include/AppStreamQt5/suggested.h
+include/AppStreamQt5/systeminfo.h
+include/AppStreamQt5/translation.h
+include/AppStreamQt5/utils.h
+include/AppStreamQt5/version.h
+include/AppStreamQt5/video.h
+lib/cmake/AppStreamQt5/AppStreamQt5Config.cmake
+lib/cmake/AppStreamQt5/AppStreamQt5ConfigVersion.cmake
+lib/libAppStreamQt5.so
+lib/libAppStreamQt5.so.1.0.0
+lib/libAppStreamQt5.so.3
diff --git a/devel/appstream/Makefile b/devel/appstream/Makefile
--- a/devel/appstream/Makefile
+++ b/devel/appstream/Makefile
@@ -14,28 +14,45 @@
LICENSE= GPLv2+ LGPL21+
LICENSE_COMB= multi
+SUBPACKAGES?= compose qt6
+
BUILD_DEPENDS= docbook-xsl>=0:textproc/docbook-xsl \
gperf>0:devel/gperf \
itstool:textproc/itstool \
lmdb>0:databases/lmdb
LIB_DEPENDS?= libcurl.so:ftp/curl \
+ libfreetype.so:print/freetype2 \
+ libfontconfig.so:x11-fonts/fontconfig \
libstemmer.so:textproc/snowballstemmer \
libxmlb.so:textproc/libxmlb \
libyaml.so:textproc/libyaml \
libzstd.so:archivers/zstd
+SELF_DEPENDS.compose= main
+SELF_DEPENDS.qt6= main
-USES+= gettext gnome localbase:ldflags meson pkgconfig \
- python:build tar:xz vala:build
+USES= gettext gnome localbase:ldflags meson pkgconfig \
+ qt:${QT_FLAVOR} tar:xz python:build vala:build
-USE_GNOME+= glib20 introspection:build libxml2 libxslt:build
+USE_QT= ${_USE_QT_${QT_FLAVOR}}
+USE_GNOME= cairo gdkpixbuf2 glib20 introspection:build librsvg2 libxml2 \
+ libxslt:build pango
USE_LDCONFIG= yes
+QT_FLAVOR?= 6
+_USE_QT_5= core buildtools:build qmake:build testlib:build
+_USE_QT_6= base
+
#CFLAGS+= -D__BSD_VISIBLE=1
-MESON_ARGS+= -Dstemming=true \
+MESON_ARGS+= -Dcompose=true \
+ -Dstemming=true \
-Dvapi=true \
-Dapidocs=false \
-Dinstall-docs=false \
- -Dsystemd=false
+ -Dsystemd=false \
+ ${_MESON_ARGS_qt${QT_FLAVOR}}
+
+_MESON_ARGS_qt5= -Dqt5=true
+_MESON_ARGS_qt6= -Dqt=true
post-patch:
${REINPLACE_CMD} \
diff --git a/devel/appstream/pkg-descr.compose b/devel/appstream/pkg-descr.compose
new file mode 100644
--- /dev/null
+++ b/devel/appstream/pkg-descr.compose
@@ -0,0 +1,7 @@
+AppStream is a collaborative effort for making machine-readable software
+metadata easily available to programs that need it. It is part of the
+Freedesktop ecosystem and provides a convenient way to retrieve information
+about available software.
+
+AppStream-compose is a library and a frontend CLI tool to scan filesystem and
+generate AppStream XML.
diff --git a/devel/appstream/pkg-descr.qt6 b/devel/appstream/pkg-descr.qt6
new file mode 100644
--- /dev/null
+++ b/devel/appstream/pkg-descr.qt6
@@ -0,0 +1,6 @@
+AppStream is a collaborative effort for making machine-readable software
+metadata easily available to programs that need it. It is part of the
+Freedesktop ecosystem and provides a convenient way to retrieve information
+about available software.
+
+AppStreamQt provides a Qt-based C++ interface to the AppStream library.
diff --git a/devel/appstream/pkg-plist b/devel/appstream/pkg-plist
--- a/devel/appstream/pkg-plist
+++ b/devel/appstream/pkg-plist
@@ -1,4 +1,41 @@
bin/appstreamcli
+@@qt6@@include/AppStreamQt/appstreamqt_export.h
+@@qt6@@include/AppStreamQt/bundle.h
+@@qt6@@include/AppStreamQt/category.h
+@@qt6@@include/AppStreamQt/component-box.h
+@@qt6@@include/AppStreamQt/component.h
+@@qt6@@include/AppStreamQt/contentrating.h
+@@qt6@@include/AppStreamQt/developer.h
+@@qt6@@include/AppStreamQt/icon.h
+@@qt6@@include/AppStreamQt/image.h
+@@qt6@@include/AppStreamQt/launchable.h
+@@qt6@@include/AppStreamQt/metadata.h
+@@qt6@@include/AppStreamQt/pool.h
+@@qt6@@include/AppStreamQt/provided.h
+@@qt6@@include/AppStreamQt/relation-check-result.h
+@@qt6@@include/AppStreamQt/relation.h
+@@qt6@@include/AppStreamQt/release-list.h
+@@qt6@@include/AppStreamQt/release.h
+@@qt6@@include/AppStreamQt/screenshot.h
+@@qt6@@include/AppStreamQt/spdx.h
+@@qt6@@include/AppStreamQt/suggested.h
+@@qt6@@include/AppStreamQt/systeminfo.h
+@@qt6@@include/AppStreamQt/translation.h
+@@qt6@@include/AppStreamQt/utils.h
+@@qt6@@include/AppStreamQt/version.h
+@@qt6@@include/AppStreamQt/video.h
+@@compose@@include/appstream-compose/appstream-compose.h
+@@compose@@include/appstream-compose/asc-canvas.h
+@@compose@@include/appstream-compose/asc-compose.h
+@@compose@@include/appstream-compose/asc-directory-unit.h
+@@compose@@include/appstream-compose/asc-enums-types.h
+@@compose@@include/appstream-compose/asc-globals.h
+@@compose@@include/appstream-compose/asc-hint.h
+@@compose@@include/appstream-compose/asc-icon-policy.h
+@@compose@@include/appstream-compose/asc-image.h
+@@compose@@include/appstream-compose/asc-result.h
+@@compose@@include/appstream-compose/asc-unit.h
+@@compose@@include/appstream-compose/asc-utils.h
include/appstream/appstream.h
include/appstream/as-agreement-section.h
include/appstream/as-agreement.h
@@ -39,16 +76,27 @@
include/appstream/as-vercmp.h
include/appstream/as-version.h
include/appstream/as-video.h
+@@qt6@@lib/cmake/AppStreamQt/AppStreamQtConfig.cmake
+@@qt6@@lib/cmake/AppStreamQt/AppStreamQtConfigVersion.cmake
lib/girepository-1.0/AppStream-1.0.typelib
+@@compose@@lib/girepository-1.0/AppStreamCompose-1.0.typelib
+@@qt6@@lib/libAppStreamQt.so
+@@qt6@@lib/libAppStreamQt.so.1.0.0
+@@qt6@@lib/libAppStreamQt.so.3
+@@compose@@lib/libappstream-compose.so
+@@compose@@lib/libappstream-compose.so.0
+@@compose@@lib/libappstream-compose.so.1.0.0
lib/libappstream.so
lib/libappstream.so.1.0.0
lib/libappstream.so.5
+@@compose@@libdata/pkgconfig/appstream-compose.pc
libdata/pkgconfig/appstream.pc
-share/man/man1/appstreamcli.1.gz
+@@compose@@libexec/appstreamcli-compose
share/appstream/appstream.conf
share/gettext/its/metainfo.its
share/gettext/its/metainfo.loc
share/gir-1.0/AppStream-1.0.gir
+@@compose@@share/gir-1.0/AppStreamCompose-1.0.gir
share/installed-tests/appstream/metainfo-validate.test
share/locale/ain/LC_MESSAGES/appstream.mo
share/locale/ar/LC_MESSAGES/appstream.mo
@@ -96,6 +144,9 @@
share/locale/uk/LC_MESSAGES/appstream.mo
share/locale/zh_CN/LC_MESSAGES/appstream.mo
share/locale/zh_TW/LC_MESSAGES/appstream.mo
+@@compose@@share/man/man1/appstreamcli-compose.1.gz
+share/man/man1/appstreamcli.1.gz
share/metainfo/org.freedesktop.appstream.cli.metainfo.xml
+@@compose@@share/metainfo/org.freedesktop.appstream.compose.metainfo.xml
share/vala/vapi/appstream.deps
share/vala/vapi/appstream.vapi
diff --git a/sysutils/plasma5-discover/Makefile b/sysutils/plasma5-discover/Makefile
--- a/sysutils/plasma5-discover/Makefile
+++ b/sysutils/plasma5-discover/Makefile
@@ -9,7 +9,7 @@
# TODO: update packagekit-qt5
#LIB_DEPENDS= libpackagekit-qt.so:ports-mgmt/packagekit-qt5
-LIB_DEPENDS= libAppStreamQt5.so:devel/appstream-qt@qt5
+LIB_DEPENDS= libAppStreamQt5.so:devel/appstream-qt5
USES= cmake compiler:c++11-lib cpe desktop-file-utils gettext kde:5 \
pkgconfig qt:5 tar:xz xorg
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 5, 4:56 PM (16 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24851972
Default Alt Text
D43445.id132763.diff (13 KB)
Attached To
Mode
D43445: devel/appstream-compose: Make a subpackage of devel/appstream
Attached
Detach File
Event Timeline
Log In to Comment