[QGIS-Developer] strange files in bin when building qgis server

Richard Duivenvoorde rdmailings at duif.net
Fri Aug 25 00:59:37 PDT 2023


Hi Greg,

No inner knowledge, others know probably better, but a part of qgis_server is a 'landing page'-web-application.

Could it be those files belong to those?

Regards,

Richard Duivenvoorde

On 8/25/23 02:37, Greg Troxel via QGIS-Developer wrote:
> I maintain the gpksrc entry for qgis, currently at 3.28.7.  Generally it
> works pretty well.
> 
> I am reviewing a patch to add qgis server to the package.  While there
> are questions as to whether it should be a split package, I'm not
> worrying about that yet, and it doesn't seem like the server files are
> that big.
> 
> The patch basically does:
> 
> +CMAKE_ARGS+=           -DWITH_SERVER:BOOL=TRUE
> 
> which as you'd expect adds that to the cmake invocation.  The qgis
> package already had a dependency on fcgi, for reasons that are unclear
> (and unimportant!).
> 
> Things are mostly ok; now new files appear in $prefix/bin, in lib and in
> share and reviewing the list most seem obviously sensible.
> 
> However, two files get installed in bin: admin.sld and wms_metadata.xml.
> 
> I have appended a snippet of our manifest of installed files;
> bin/qgis_mapserver and bin/qgis_mapserver.fcgi seem correct, as do the
> libraries, and the things beyond that which I have omitted.
> 
> But admin.sld and wms_metadata.xml are not executables and do not have a
> qgis_ prefix.  They seems like examples, not something that should be
> installed.
> 
> Do other people building qgis from source see these two files?  Others
> maintaining packages?
> 
> This seems like a bug in the build system to me, but this is my first
> interaction with anything qgis_server.
> 
> My build host is NetBSD 10 amd64.
> 
> 
> Thanks, Greg
> 
> 
> --- PLIST       20 May 2023 12:28:11 -0000      1.23
> +++ PLIST       24 Aug 2023 23:17:25 -0000
> @@ -1,7 +1,11 @@
>   @comment $NetBSD: PLIST,v 1.23 2023/05/20 12:28:11 gdt Exp $
> +bin/admin.sld
>   bin/qgis
>   bin/qgis_bench
> +bin/qgis_mapserv.fcgi
> +bin/qgis_mapserver
>   bin/qgis_process
> +bin/wms_metadata.xml
>   include/qgis/Bezier3D.h
>   include/qgis/CloughTocherInterpolator.h
>   include/qgis/HalfEdge.h
> @@ -1699,6 +1703,8 @@ lib/libqgis_gui.so
>   lib/libqgis_gui.so.${PKGVERSION}
>   lib/libqgis_native.so
>   lib/libqgis_native.so.${PKGVERSION}
> +lib/libqgis_server.so
> +lib/libqgis_server.so.${PKGVERSION}
>   lib/libqgispython.so
>   lib/libqgispython.so.${PKGVERSION}
>   lib/qgis/crssync
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the QGIS-Developer mailing list