UbuntuBudgie / budgie-extras

Additional Budgie Desktop enhancements for user experience
https://ubuntubudgie.org
GNU General Public License v3.0
177 stars 34 forks source link

Issue installing budgie-extras in Opensuse #481

Closed Spaceboy60 closed 1 month ago

Spaceboy60 commented 1 month ago

I get the following error:

WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency budgie-1.0 found: NO (tried pkgconfig and cmake)

../meson.build:68:14: ERROR: Dependency "budgie-1.0" not found, tried pkgconfig and cmake

Any suggestions?

fossfreedom commented 1 month ago

You will need to install the budgie-desktop development package for your distro.

Maybe this maybe helpful?

https://build.opensuse.org/package/show/X11:Solus/budgie-extras

Spaceboy60 commented 1 month ago

You will need to install the budgie-desktop development package for your distro.

Ok, any idea what it may be called??

Maybe this maybe helpful?

https://build.opensuse.org/package/show/X11:Solus/budgie-extras

Nope, installed that but none of the applets contained in it are showing in destop settings - >panel->add spplet

fossfreedom commented 1 month ago

For debian/ubuntu you need to compile against budgie-core-dev (https://github.com/UbuntuBudgie/budgie-extras/blob/debian/debian/control) - maybe something similar in OpenSuse?

Spaceboy60 commented 1 month ago

installed devel packages for budgie, now stuck here:

meson --buildtype plain --prefix=/usr --libdir=/usr/lib
The Meson build system
Version: 1.5.1
Source dir: /home/spaceboy/budgie-extras
Build dir: /home/spaceboy/budgie-extras/build
Build type: native build
Project name: budgie-extras
Project version: 1.8.0
C compiler for the host machine: cc (gcc 14.2.0 "cc (SUSE Linux) 14.2.0")
C linker for the host machine: cc ld.bfd 2.43.1.20240828-2
Vala compiler for the host machine: valac (valac 0.56.17)
Host machine cpu family: x86_64
Host machine cpu: x86_64
Message: Looking for dependencies
Program intltool-merge found: YES (/usr/bin/intltool-merge)
Found pkg-config: YES (/usr/bin/pkg-config) 2.2.0
Run-time dependency budgie-1.0 found: YES 2
Configuring config.h using configuration
Library config found: YES
Message: Installing applets...
Program msgfmt found: YES (/usr/bin/msgfmt)
Program msginit found: YES (/usr/bin/msginit)
Program msgmerge found: YES (/usr/bin/msgmerge)
Program xgettext found: YES (/usr/bin/xgettext)
Build-time dependency gio-2.0 found: YES 2.80.5
Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Run-time dependency glib-2.0 found: YES 2.80.5
Run-time dependency gee-0.8 found: YES 0.20.6
Dependency gio-2.0 found: YES 2.80.5 (cached)
Run-time dependency gtk+-3.0 found: YES 3.24.43
Found CMake: /usr/bin/cmake (3.30.3)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency granite found: NO (tried pkgconfig and cmake)

../budgie-applications-menu/meson.build:20:14: ERROR: Dependency "granite" not found, tried pkgconfig and cmake

A full log can be found at /home/spaceboy/budgie-extras/build/meson-logs/meson-log.txt
2024-09-27 14:30:50,027: INFO: Getting all enabled repos
2024-09-27 14:30:50,084: INFO: Refreshing repo [1/10] 'X11_Solus_Next'
2024-09-27 14:30:50,189: INFO: Refreshing repo [2/10] 'X11_lxde'
2024-09-27 14:30:50,289: INFO: Refreshing repo [3/10] 'brave-browser'
2024-09-27 14:30:50,392: INFO: Refreshing repo [4/10] 'home_Dead_Mozay'
2024-09-27 14:30:50,494: INFO: Refreshing repo [5/10] 'home_hawkeye116477_waterfox'
2024-09-27 14:30:50,602: INFO: Refreshing repo [6/10] 'packman'
2024-09-27 14:30:50,703: INFO: Refreshing repo [7/10] 'repo-non-oss'
2024-09-27 14:30:50,804: INFO: Refreshing repo [8/10] 'repo-openh264'
2024-09-27 14:30:50,905: INFO: Refreshing repo [9/10] 'repo-oss'
2024-09-27 14:30:51,005: INFO: Refreshing repo [10/10] 'repo-update'
2024-09-27 14:30:51,592: INFO: Successfully refreshed repo 'X11_Solus_Next'
2024-09-27 14:30:51,799: INFO: Successfully refreshed repo 'X11_lxde'
2024-09-27 14:30:51,959: INFO: Successfully refreshed repo 'brave-browser'
2024-09-27 14:30:52,134: INFO: Successfully refreshed repo 'home_Dead_Mozay'
2024-09-27 14:30:52,349: INFO: Successfully refreshed repo 'repo-non-oss'
2024-09-27 14:30:52,420: INFO: Successfully refreshed repo 'packman'
2024-09-27 14:30:52,474: INFO: Successfully refreshed repo 'home_hawkeye116477_waterfox'
2024-09-27 14:30:52,738: INFO: Successfully refreshed repo 'repo-openh264'
2024-09-27 14:30:53,138: INFO: Successfully refreshed repo 'repo-oss'
2024-09-27 14:30:53,561: INFO: Successfully refreshed repo 'repo-update'
2024-09-27 14:30:53,736: INFO: Cleaning up temp mounts...
2024-09-27 14:30:55,547: INFO: Cleaning up temp directory...
Loading repository data...
Reading installed packages...
'granite' not found in package names. Trying capabilities.
'libgranite-7-7' providing 'granite' is already installed.
Resolving package dependencies...
Nothing to do.
fossfreedom commented 1 month ago

meson --buildtype plain --prefix=/usr --libdir=/usr/lib

So the libdir is critical for where plugins will be installed to - so on UB and Debian they are installed to /usr/lib/budgie-desktop/plugins. If OpenSuse installs budgie-desktop to somewhere not under /usr/lib you need to adjust that.

On Debian/Ubuntu the package in question is libgranite-dev

Spaceboy60 commented 1 month ago

meson --buildtype plain --prefix=/usr --libdir=/usr/lib

So the libdir is critical for where plugins will be installed to - so on UB and Debian they are installed to /usr/lib/budgie-desktop/plugins. If OpenSuse installs budgie-desktop to somewhere not under /usr/lib you need to adjust that.

On Debian/Ubuntu the package in question is libgranite-dev

Ok, got that working, if plug in directory is in /lib64 what do I set prefix too??

I say working, there's many more dependencies to be installed to get it working by the looks of things

fossfreedom commented 1 month ago

If your plugins folder is /usr/lib64/budgie-desktop/plugins then

meson --buildtype plain --prefix=/usr --libdir=/usr/lib64
Spaceboy60 commented 1 month ago

If your plugins folder is /usr/lib64/budgie-desktop/plugins then

meson --buildtype plain --prefix=/usr --libdir=/usr/lib64

No it's just /lib64 not /usr/lib64

fossfreedom commented 1 month ago
meson --buildtype plain --prefix=/usr --libdir=/lib64
fossfreedom commented 1 month ago

Remember to use meson install --dry-run (I think) to check that install locations for the various components are going to where it should in opensuse.

Spaceboy60 commented 1 month ago

Remember to use meson install --dry-run (I think) to check that install locations for the various components are going to where it should in opensuse.

Thanks, looked good, installed without issue other than applauncher applet doesn't work, although not likely to use it anyway.

A lot of dependencies needed to be installed, must have been a quicker way to install them all rather than manually but got there in the end.