jnsh / arc-theme

A flat theme with transparent elements (actively maintained fork)
GNU General Public License v3.0
902 stars 77 forks source link

(Meson) Installation: Arc/gtk-2.0/assets: No such file or directory #112

Closed ghost closed 2 years ago

ghost commented 3 years ago

Hello,

when i try to build your theme with the new meson build system on FreeBSD it fails at the end on install:

install: /usr/ports/x11-themes/gtk-arc-themes/work/stage/usr/local/share/themes/Arc/gtk-2.0/assets: No such file or directory

buildlog

jnsh commented 3 years ago

Thank you for testing the meson build, and letting me know about the problem.

Unfortunately, I'm unsure what's going wrong here. Could you try building and installing the theme manually without using ports? just to make sure this doesn't result from the build script.

ghost commented 3 years ago

Unfortunately the same error with the same information.

ghost commented 3 years ago

Using GNU's install and cp fixed that. Update can now be submitted to ports Thanks for answering!

jnsh commented 3 years ago

That explains it. Thanks for investigating! :)

I'm quite unfamiliar with FreeBSD, but I wondered whether there might be some differences between install commands in linux and *BSD that could cause this, and looks like they do handle the -D option differently.

I think it should be possible to add a check to the meson.build files to use the correct options when on *BSD. However, if using the GNU install for now isn't a huge problem, I'll look at implementing this later. Reopening this issue until that happens.

Thanks again for the help.

jnsh commented 2 years ago

Closing, as the requirement for GNU install was dropped with recent updates. So there shouldn't be issues when compiling in *BSD any more.