mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-16 11:44:13 +02:00
ddbd1d8d75
QET_MIME_PACKAGE_PATH was "../share/mime/packages/", a path relative to CMAKE_INSTALL_PREFIX. This only worked by accident with the old default prefix (/usr/local -> ../share resolves to /usr/share/mime, the conventional system location regardless of app prefix). With -DCMAKE_INSTALL_PREFIX=/usr (as used by Debian/Ubuntu packaging), the same "../share" escapes /usr entirely, landing at /share/mime instead of /usr/share/mime, which breaks dh_install (file not found under usr/) and would silently install the mime package definition outside any path desktop environments actually scan. Drop the "../" so the mime package path stays under the install prefix, matching standard practice (/usr/share/mime/packages or /usr/local/share/mime/packages).