Monday, February 05, 2024

Re: UPDATE: cad/prusaslicer

On Mon, Feb 05 2024, Ian Darwin wrote:

> On 2/5/24 16:04, Renato Aguiar wrote:
>> Here is a diff updating cad/prusaslicer to 2.7.1.
>>
>>
> Still fizzles out for me. Running -current (Feb 1), did pkg_add
> -vu,
> restored prusaslicer to what's in CVS, applied your patch, rm'd
> the
> empty patch file, did "make package" and got this. IDK what's
> different
> on my system to cause this...?
>
> My system:
> $ uname -a
> OpenBSD dalai.darwinsys.com 7.4 GENERIC.MP#1641 amd64
> $

I'm on same snapshot.

>
> Last paragraph of make output:
>
>> -- Checking for module 'hidapi-libusb'
>> --   Found hidapi-libusb, version 0.13.1
>> -- Found wxWidgets:
>> -L/usr/local/lib;-pthread;;;-L/usr/X11R6/lib;-L/usr/X11R6/lib;-lwx_baseu-3.2;-lwx_gtk3u_core-3.2;-lwx_gtk3u_html-3.2;-lwx_gtk3u_gl-3.2
>> (found suitable version "3.2.4", minimum required is "3.2")
>> -- wx-config path: /usr/local/bin/wx-config
>> -- Found TIFF: /usr/local/lib/libtiff.so.42.0 (found version
>> "4.6.0")
>> -- wx libs:
>> -L/usr/local/lib;-pthread;;;-L/usr/X11R6/lib;-L/usr/X11R6/lib;-lwx_baseu-3.2;-lwx_gtk3u_core-3.2;-lwx_gtk3u_html-3.2;-lwx_gtk3u_gl-3.2;/usr/local/lib/libpng.so.18.0;/usr/lib/libz.so.7.0;/usr/local/lib/libtiff.so.42.0;/usr/local/lib/libjpeg.so.70.2;/usr/lib/libexpat.so.14.0;X11;EGL
>> -- Found GTK3:
>> /usr/local/include/gtk-3.0;/usr/local/include/at-spi2-atk/2.0;/usr/local/include/at-spi-2.0;/usr/X11R6/include;/usr/local/include/dbus-1.0;/usr/local/lib/dbus-1.0/include;/usr/local/include;/usr/local/include/gio-unix-2.0;/usr/local/include/libepoll-shim;/usr/X11R6/include/libdrm;/usr/local/include/pango-1.0;/usr/local/include/harfbuzz;/usr/local/include/fribidi;/usr/local/include/atk-1.0;/usr/local/include/cairo;/usr/X11R6/include/freetype2;/usr/X11R6/include/pixman-1;/usr/local/include/gdk-pixbuf-2.0;/usr/local/include/libpng16;/usr/local/include/glib-2.0;/usr/local/lib/glib-2.0/include
>>
>> CMake Error at tests/CMakeLists.txt:4 (find_package):
>>   Could not find a configuration file for package "Catch2" that
>> is
>> compatible
>>   with requested version "2.9".
>>
>>   The following configuration files were considered but not
>> accepted:
>>
>>     /usr/local/lib/cmake/Catch2/Catch2Config.cmake, version:
>> 3.5.2
>>
>>
>>
>> -- Configuring incomplete, errors occurred!
>
> Any thoughts/guesses?

The Catch2 version requirement is removed by
'patches/patch-tests_CMakeLists_txt', so it looks like this patch
didn't get applied.

BTW, this is how I'm applying the diff to the port:

$ cd /usr/ports/cad/prusaslicer/
$ patch -ENp0 < /path/to/prusaslicer.patch

Empty files should be automatically removed with '-E' flag, so no
manual step required.

>
> Thx
>
> Ian
>


--
Renato Aguiar

No comments:

Post a Comment