It may be necessary to debug the cmake libclaw detection script.

claw-config is broken, btw, and it's likely that this has not been
caught during review:

  $ claw-config --libs
  -L/usr/lib 
  $ claw-config application --libs 
  -L/usr/lib -lclaw_application -lclaw_logger
  $ claw-config dynamic_library --libs
  -L/usr/lib -lclaw_dynamic_library -ldl

Wrong on x86_64.
And odd to relink with libdl as libclaw_dynamic_library is linked with
libdl already.


 $ claw-config all --libs 
-L/usr/lib -lclaw_application -lclaw_logger -lclaw_dynamic_library -ldl
-lclaw_configuration_file -lclaw_graphic -lpng -lz -ljpeg -lclaw_logger
-lclaw_net -lclaw_tween

Is relinking with all those non-libclaw libs necessary? It seems they are
for linking statically only.


  $ claw-config --cflags
  -I/usr/include/ -DCLAW_JPEG_SUPPORT -DCLAW_PNG_SUPPORT

This -I parameter is not only superfluous (because /usr/include is
standard search path), but may also be harmful, since it alters the
search order.

Further packaging issues:

  $ rpmls libclaw|grep claw1
  drwxr-xr-x  /usr/share/doc/libclaw1
  -rw-r--r--  /usr/share/doc/libclaw1/COPYING

Why "libclaw1" and not %name?
No %license usage.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to