Re: Strange orphaned files
Robert Clausecker <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Message-ID | <[email protected]> |
Hi,
Looks like it might be bundling Qt? Try to unbundle.
Yours,
Robert Clausecker
Am Fri, Feb 06, 2026 at 03:23:54PM +0100 schrieb Zsolt Udvari:
> Hi,
>
> I've a strange issue. I want update deskutils/fet but it seems it's not
> easy. The project moved to cmake build system and I modified the port's
> Makefile but the poudriere says there are many orphaned files:
>
> ===> Checking for items in STAGEDIR missing from pkg-plist
> Error: Orphaned: bin/qt.conf
> Error: Orphaned: lib/libGLX.so.0
> Error: Orphaned: lib/libGLX.so.0.0.0
> Error: Orphaned: lib/libOpenGL.so.0
> Error: Orphaned: lib/libOpenGL.so.0.0.0
> Error: Orphaned: lib/libQt6Core.so.6
> Error: Orphaned: lib/libQt6Core.so.6.10.1
> Error: Orphaned: lib/libQt6DBus.so.6
> Error: Orphaned: lib/libQt6DBus.so.6.10.1
> Error: Orphaned: lib/libQt6Gui.so.6
> Error: Orphaned: lib/libQt6Gui.so.6.10.1
> Error: Orphaned: lib/libQt6Network.so.6
> Error: Orphaned: lib/libQt6Network.so.6.10.1
> Error: Orphaned: lib/libQt6PrintSupport.so.6
> Error: Orphaned: lib/libQt6PrintSupport.so.6.10.1
> Error: Orphaned: lib/libQt6Widgets.so.6
> Error: Orphaned: lib/libQt6Widgets.so.6.10.1
> Error: Orphaned: lib/libQt6XcbQpa.so.6
> Error: Orphaned: lib/libQt6XcbQpa.so.6.10.1
> Error: Orphaned: %%QT_PLUGINDIR%%/generic/libqevdevkeyboardplugin.so
> Error: Orphaned: %%QT_PLUGINDIR%%/generic/libqevdevmouseplugin.so
> Error: Orphaned: %%QT_PLUGINDIR%%/generic/libqevdevtabletplugin.so
> Error: Orphaned: %%QT_PLUGINDIR%%/generic/libqevdevtouchplugin.so
> Error: Orphaned: %%QT_PLUGINDIR%%/generic/libqlibinputplugin.so
> Error: Orphaned: %%QT_PLUGINDIR%%/generic/libqtuiotouchplugin.so
> Error: Orphaned: %%QT_PLUGINDIR%%/imageformats/libqgif.so
> Error: Orphaned: %%QT_PLUGINDIR%%/imageformats/libqico.so
> Error: Orphaned: %%QT_PLUGINDIR%%/imageformats/libqjpeg.so
> Error: Orphaned: %%QT_PLUGINDIR%%/networkinformation/libqglib.so
> Error: Orphaned:
> %%QT_PLUGINDIR%%/platforminputcontexts/libcomposeplatforminputcontextplugin.so
> %Error: Orphaned:
> %%%QT_PLUGINDIR%%/platforminputcontexts/libibusplatforminputcontextplugin.so
> %Error: Orphaned: %%QT_PLUGINDIR%%/platforms/libqxcb.so
> %Error: Orphaned: %%QT_PLUGINDIR%%/platformthemes/libqgtk3.so
> %Error: Orphaned:
> %%%QT_PLUGINDIR%%/platformthemes/libqxdgdesktopportal.so
> %Error: Orphaned: %%QT_PLUGINDIR%%/printsupport/libcupsprintersupport.so
> %Error: Orphaned: %%QT_PLUGINDIR%%/tls/libqcertonlybackend.so
> %Error: Orphaned: %%QT_PLUGINDIR%%/tls/libqopensslbackend.so
> %Error: Orphaned:
> %%%QT_PLUGINDIR%%/xcbglintegrations/libqxcb-egl-integration.so
> %Error: Orphaned:
> %%%QT_PLUGINDIR%%/xcbglintegrations/libqxcb-glx-integration.so
> %===> Checking for items in pkg-plist which are not in STAGEDIR
> %===> Error: Plist issues found.
>
>
> What did I wrong? The orphaned files aren't deskutils/fet-specific
> files. I've attached the diff file.
>
> Thanks,
> Zsolt
>
> diff --git a/deskutils/fet/Makefile b/deskutils/fet/Makefile
> index 5e87ce42e6db..a61a9bd43c77 100644
> --- a/deskutils/fet/Makefile
> +++ b/deskutils/fet/Makefile
> @@ -1,5 +1,5 @@
> PORTNAME= fet
> -DISTVERSION= 7.6.3
> +DISTVERSION= 7.7.4
> CATEGORIES= deskutils education
> MASTER_SITES= https://lalescu.ro/liviu/fet/download/ \
> https://lalescu.ro/liviu/fet/download/old/ \
> @@ -13,10 +13,13 @@ WWW= https://lalescu.ro/liviu/fet/
> LICENSE= GPLv3+
> LICENSE_FILE= ${WRKSRC}/COPYING
>
> -USES= compiler:c++17-lang gl qmake qt:6 tar:bzip2
> +USES= cmake compiler:c++17-lang gl jpeg qt:6 shared-mime-info ssl tar:xz xorg
> USE_GL= opengl
> USE_QT= base
> +USE_XORG= ice x11 xcb
>
> +LIB_DEPENDS= libicui18n.so:devel/icu \
> + libicuuc.so:devel/icu
> DESKTOP_ENTRIES= "FET" \
> "Free timetable software" \
> "" \
> @@ -33,15 +36,6 @@ post-patch:
> @${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
> ${WRKSRC}/src/interface/fet.cpp
>
> -do-install:
> - ${INSTALL_PROGRAM} ${WRKSRC}/fet ${STAGEDIR}${PREFIX}/bin
> - ${INSTALL_PROGRAM} ${WRKSRC}/fet-cl ${STAGEDIR}${PREFIX}/bin
> - ${INSTALL_MAN} ${WRKSRC}/man/fet*.gz ${STAGEDIR}${PREFIX}/share/man/man1
> -
> -do-install-EXAMPLES-on:
> - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
> - cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
> -
> do-install-NLS-on:
> @${MKDIR} ${STAGEDIR}${DATADIR}/translations
> cd ${WRKSRC}/translations && ${INSTALL_DATA} *.qm ${STAGEDIR}${DATADIR}/translations
> diff --git a/deskutils/fet/distinfo b/deskutils/fet/distinfo
> index 27cc78e1f953..c1926fddd4cb 100644
> --- a/deskutils/fet/distinfo
> +++ b/deskutils/fet/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1766956687
> -SHA256 (fet-7.6.3.tar.bz2) = 5373f14f573784e5db5cf6c7146dc4adf7997f6bb07dec699018238a29c9693a
> -SIZE (fet-7.6.3.tar.bz2) = 17869352
> +TIMESTAMP = 1770349940
> +SHA256 (fet-7.7.4.tar.xz) = 2f5737c6c240afad2ae1134143737c1a4fd7b94e18d786e0a31c47e82041f048
> +SIZE (fet-7.7.4.tar.xz) = 12342592
> diff --git a/deskutils/fet/files/patch-CMakeLists.txt b/deskutils/fet/files/patch-CMakeLists.txt
> new file mode 100644
> index 000000000000..74b8052ebea1
> --- /dev/null
> +++ b/deskutils/fet/files/patch-CMakeLists.txt
> @@ -0,0 +1,11 @@
> +--- CMakeLists.txt.orig 2026-01-20 12:24:20 UTC
> ++++ CMakeLists.txt
> +@@ -101,7 +101,7 @@ install(FILES ${qm_files} DESTINATION "${CMAKE_INSTALL
> + endif()
> +
> + install(FILES ${qm_files} DESTINATION "${CMAKE_INSTALL_DATADIR}/${fetdir}/translations")
> +-install(DIRECTORY examples DESTINATION "${CMAKE_INSTALL_DATADIR}/${fetdir}")
> ++install(DIRECTORY examples DESTINATION "${CMAKE_INSTALL_DATADIR}/examples/${fetdir}")
> + install(DIRECTORY licenses DESTINATION "${CMAKE_INSTALL_DATADIR}/${docfetdir}")
> + install(DIRECTORY doc/adding-new-translations DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/${fetdir}")
> + install(DIRECTORY doc/algorithm DESTINATION "${CMAKE_INSTALL_DATADIR}/doc/${fetdir}")
> diff --git a/deskutils/fet/pkg-plist b/deskutils/fet/pkg-plist
> index ae38c522a380..471d27284a2e 100644
> --- a/deskutils/fet/pkg-plist
> +++ b/deskutils/fet/pkg-plist
> @@ -1,7 +1,12 @@
> bin/fet
> bin/fet-cl
> +share/icons/hicolor/128x128/apps/fet.png
> +share/icons/hicolor/256x256/apps/fet.png
> +share/icons/hicolor/512x512/apps/fet.png
> +share/icons/hicolor/scalable/apps/fet.svg
> share/man/man1/fet-cl.1.gz
> share/man/man1/fet.1.gz
> +share/mime/packages/fet.xml
> %%NLS%%%%DATADIR%%/translations/fet_ar.qm
> %%NLS%%%%DATADIR%%/translations/fet_bg.qm
> %%NLS%%%%DATADIR%%/translations/fet_bs.qm
--
() ascii ribbon campaign - for an encoding-agnostic world
/\ - against html email - against proprietary attachments