Comments (9)
I'm using KF6 and rom-properties shows up here. Did you rebuild it with KF6 enabled? There's a separate rom-properties-kf6.so file.
If it's a precompiled package, that package will need to be recompiled with KF6 support. (v2.3 was the first version with full KF6 support.)
from rom-properties.
Yep, files are there, just checked. Using arch and built the latest git package from sources.
from rom-properties.
Tried running Dolphin with LD_DEBUG=libs
and it seems that (at least on Arch) it checks /usr/lib/qt6/plugins
for plugins instead of /usr/lib/qt/plugins
(note the added "6" after qt). Interestingly, Arch installs the qtpaths6 binary at /usr/lib/qt6/bin/qtpaths6
, so it might be worth changing the CMake script to check for the binary at that path as well.
from rom-properties.
Can you post the contents of build/src/libunixcommon/config.libunixcommon.h
from the build tree?
On my system (Gentoo Linux with KF6):
/* KDE4 plugin path */
/* #undef KDE4_PLUGIN_INSTALL_DIR */
/* KF5 plugin path */
#define KF5_PLUGIN_INSTALL_DIR "/usr/lib64/qt5/plugins"
/* KF5 PropertiesDialog plugin path */
#define KF5_PRPD_PLUGIN_INSTALL_DIR "/usr/lib64/qt5/plugins/kf5/propertiesdialog"
/* KF6 plugin path */
#define KF6_PLUGIN_INSTALL_DIR "/usr/lib64/qt6/plugins"
/* KF6 PropertiesDialog plugin path */
#define KF6_PRPD_PLUGIN_INSTALL_DIR "/usr/lib64/qt6/plugins/kf6/propertiesdialog"
/* ThunarX2 extensions path */
#define ThunarX2_EXTENSIONS_DIR "/usr/lib64/thunarx-2"
/* libnautilus-extension 3.0 extensions path */
#define LibNautilusExtension3_EXTENSION_DIR "/usr/lib64/nautilus/extensions-3.0"
/* libnautilus-extension 4.0 extensions path */
#define LibNautilusExtension4_EXTENSION_DIR "/usr/lib64/nautilus/extensions-4"
/* Define to 1 if you have the `getpwuid_r' function. */
#define HAVE_GETPWUID_R 1
/* Define to 1 if you have the `getpwuid' function. */
/* #undef HAVE_GETPWUID */
/* Define to 1 if you have the `statx` function. */
#define HAVE_STATX 1
[Minor correction: getpwuid() does exist, but the CMake script was skipping the check since getpwuid_r() is also present. I'm changing it to check for both regardless, since it looks weird if the config file claims getpwuid() doesn't exist.]
from rom-properties.
Can you post the contents of
build/src/libunixcommon/config.libunixcommon.h
from the build tree?On my system (Gentoo Linux with KF6):
...
[Minor correction: getpwuid() does exist, but the CMake script was skipping the check since getpwuid_r() is also present. I'm changing it to check for both regardless, since it looks weird if the config file claims getpwuid() doesn't exist.]
Yeah, you are right, this looks broken on my end:
/***************************************************************************
* ROM Properties Page shell extension. (rp-stub) *
* config.libunixcommon.h.in: libunixcommon configuration. (source file) *
* *
* Copyright (c) 2017-2023 by David Korth. *
* SPDX-License-Identifier: GPL-2.0-or-later *
***************************************************************************/
#pragma once
/* KDE4 plugin path */
/* #undef KDE4_PLUGIN_INSTALL_DIR */
/* KF5 plugin path */
#define KF5_PLUGIN_INSTALL_DIR "/usr/lib/qt/plugins"
/* KF5 PropertiesDialog plugin path */
#define KF5_PRPD_PLUGIN_INSTALL_DIR "/usr/lib/qt/plugins/kf5/propertiesdialog"
/* KF6 plugin path */
#define KF6_PLUGIN_INSTALL_DIR "/usr/lib/qt/plugins"
/* KF6 PropertiesDialog plugin path */
#define KF6_PRPD_PLUGIN_INSTALL_DIR "/usr/lib/qt/plugins/kf6/propertiesdialog"
/* ThunarX2 extensions path */
#define ThunarX2_EXTENSIONS_DIR "/usr//usr/lib/thunarx-2"
/* libnautilus-extension 3.0 extensions path */
#define LibNautilusExtension3_EXTENSION_DIR "/usr//usr/lib/nautilus/extensions-3.0"
/* libnautilus-extension 4.0 extensions path */
#define LibNautilusExtension4_EXTENSION_DIR "/usr//usr/lib/nautilus/extensions-4"
/* Define to 1 if you have the `getpwuid_r' function. */
#define HAVE_GETPWUID_R 1
/* Define to 1 if you have the `getpwuid' function. */
/* #undef HAVE_GETPWUID */
/* Define to 1 if you have the `statx` function. */
#define HAVE_STATX 1
I do have a /usr/lib/qt
and /usr/lib/qt6
, it seems that cmake is pointing to qt5's plugin directory on both KF frameworks and installing it into the wrong directory.
from rom-properties.
Yep, wrong root folder
from rom-properties.
I'll have to set up an Arch VM and determine what needs to be fixed there. Will do that sometime later this week.
EDIT: If you haven't already done so, make sure you're specifying -DCMAKE_INSTALL_PREFIX=/usr
when configuring.
from rom-properties.
I'm using this aur package updated to 2.3 manually, and yeah, the configure step is using the correct install prefix, see here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=rom-properties#n20
(Just change pkgver to 2.3, then run updpkgsums
inside that folder from pacman-contrib
package in arch, then run makepkg
to compile it and generate a ready to install arch package that you can install with sudo pacman -U <package_name>
)
from rom-properties.
Related Issues (20)
- ROM Properties page displays incorrectly with StartAllBack installed HOT 3
- Wrong region listed on a GameCube ISO? HOT 4
- PS3/PS4/Vita PKG file support? HOT 2
- No Thumbnails for some systems in KDE?
- Can you add italian to the supported languages in Crowdin? HOT 1
- Dolphin not showing rom properties in preview settings HOT 4
- Crash when used inside Directory Opus HOT 5
- Building on NixOS returns "invalid system call"
- [Feature Request] Add support for Palm OS apps HOT 11
- [Feature Request] Add Hash and Other Information HOT 8
- KF5: Crashes Baloo continuously if assertions are enabled HOT 2
- [Feature Request] CDI Support HOT 4
- [Feature Request] UltraISO .isz compressed ISO support. HOT 2
- Exports/Imports table in win32 shell ext page showing blank rows HOT 21
- C-12 - Final Resistance (USA) (Track 2) HOT 2
- Win32 UI frontend: Localized multi-line strings aren't displayed correctly (was: Line feeds not working in descriptions for GameCube titles with BNR2 banner) HOT 5
- Extracting disc images from rp-cli?
- [Feature Request] Add option to extract whole/unparsed headers using rpcli
- [Bug Report] ARM64 Snapdragon X: Faliled to register DLLs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rom-properties.