Re: [Kicad-developers] Packaging note: new data file
Hi all, May be this should be into bug reports, but since I've seen some mail about this argument directly here, I just answer to those. If I have to file a bug report (if it really is a bug and I did not just miss some environment variable to be set) please let me know. Compiling and installing in a "non canonical directory" as a normal user, the file is created and put in the correct place, in my case in ~/SANDBOXKICAD5/usr/share/kicad/resources but the file is not opened at startup, with the error message: can't open file 'share/kicad/resources/images.tar.gz' (error 2: No such file or directory) It seems it is missing the first part of the path, just like if the CMAKE_INSTALL_PREFIX is not prepended to the file path that kicad uses when executed. Launching kicad from terminal after going into the ~/SANDBOXKICAD5/usr directory makes the program start correctly with all icons and no error message. I tried deleting the ~/.config/kicad, to simulate a fresh-new start, but Deleting that makes kicad not to start with a segmentation fault (may be this is a real bug). Some other details: The configuration has been re-generated before building with cmake-gui ../ then make clean make make install Cheers, Dino. P.S.: I'm Using debian Linux 10, installing as a user without root privileges, under my home directory. Application: KiCad Version: (5.99.0-9739-g6a369b230f), release build Libraries: wxWidgets 3.1.5 libcurl/7.64.0 GnuTLS/3.6.7 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3 Platform: Linux 4.19.0-14-amd64 x86_64, 64 bit, Little endian, wxGTK, gnome, x11 Build Info: Date: Mar 12 2021 14:22:44 wxWidgets: 3.1.5 (wchar_t,wx containers) GTK+ 3.24 Boost: 1.67.0 OCE: 6.9.1 Curl: 7.64.0 ngspice: 32+ Compiler: GCC 8.3.0 with C++ ABI 1013 Build settings: KICAD_SCRIPTING=ON KICAD_SCRIPTING_MODULES=ON KICAD_SCRIPTING_PYTHON3=OFF KICAD_SCRIPTING_WXPYTHON=ON KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON KICAD_SCRIPTING_ACTION_MENU=ON KICAD_USE_OCE=ON KICAD_USE_EGL=ON KICAD_SPICE=ON ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Packaging note: new data file
Great, thanks for testing, Steve! On Thu, Mar 11, 2021 at 5:25 PM Steven A. Falco wrote: > On 3/11/21 8:43 AM, Jon Evans wrote: > > Hi all, > > > > As of 18037e2f, a new data file is generated during build that contains > image resources for KiCad. > > > > This file should be installed to ${KICAD_DATA}/resources/images.tar.gz > (So, something like /usr/share/kicad/resources/images.tar.gz on Linux). > > > > There is an install target for this in the cmake file now, so this > *should* be done automatically, but I wanted to give a heads-up in case any > of the nightly packages require manual modification when the build > artifacts change. > > I tried a Fedora nightly build and the file is created in the correct > place, so no changes are needed there. > > Steve > > > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Packaging note: new data file
On 3/11/21 8:43 AM, Jon Evans wrote: Hi all, As of 18037e2f, a new data file is generated during build that contains image resources for KiCad. This file should be installed to ${KICAD_DATA}/resources/images.tar.gz (So, something like /usr/share/kicad/resources/images.tar.gz on Linux). There is an install target for this in the cmake file now, so this *should* be done automatically, but I wanted to give a heads-up in case any of the nightly packages require manual modification when the build artifacts change. I tried a Fedora nightly build and the file is created in the correct place, so no changes are needed there. Steve ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Packaging note: new data file
Awesome work Jon. Thanks. - Wayne On 3/11/21 8:43 AM, Jon Evans wrote: > Hi all, > > As of 18037e2f, a new data file is generated during build that contains > image resources for KiCad. > > This file should be installed to ${KICAD_DATA}/resources/images.tar.gz > (So, something like /usr/share/kicad/resources/images.tar.gz on Linux). > > There is an install target for this in the cmake file now, so this > *should* be done automatically, but I wanted to give a heads-up in case > any of the nightly packages require manual modification when the build > artifacts change. > > Best, > Jon > > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
Re: [Kicad-developers] Packaging note: new data file
Is there a quick test to see if it's working end-to-end? Something in KiCad that'll work only if this is working and is found? On Thu, Mar 11, 2021, 7:44 AM Jon Evans wrote: > Hi all, > > As of 18037e2f, a new data file is generated during build that contains > image resources for KiCad. > > This file should be installed to ${KICAD_DATA}/resources/images.tar.gz > (So, something like /usr/share/kicad/resources/images.tar.gz on Linux). > > There is an install target for this in the cmake file now, so this > *should* be done automatically, but I wanted to give a heads-up in case any > of the nightly packages require manual modification when the build > artifacts change. > > Best, > Jon > ___ > Mailing list: https://launchpad.net/~kicad-developers > Post to : kicad-developers@lists.launchpad.net > Unsubscribe : https://launchpad.net/~kicad-developers > More help : https://help.launchpad.net/ListHelp > ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp
[Kicad-developers] Packaging note: new data file
Hi all, As of 18037e2f, a new data file is generated during build that contains image resources for KiCad. This file should be installed to ${KICAD_DATA}/resources/images.tar.gz (So, something like /usr/share/kicad/resources/images.tar.gz on Linux). There is an install target for this in the cmake file now, so this *should* be done automatically, but I wanted to give a heads-up in case any of the nightly packages require manual modification when the build artifacts change. Best, Jon ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp