Solved Spectacle requires an older version of mysql

While installing mysql80 together with nginx, a conflict was seen with mysql57 which was already there, and while removing mysql57, the screenshot software Spectacle was also automatically removed. Mysql80 installation was completed, but when trying to install Spectacle from the Ports tree or as a package, I get the following errors, which go on to say that mysql80 will be removed and the 57 version installed:

Code:
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating poudriere repository catalogue...
poudriere repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
The following 7 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        akonadi: 22.04.3_1 [FreeBSD]
        kaccounts-integration: 22.04.3 [FreeBSD]
        kf5-purpose: 5.96.0 [FreeBSD]
        mysql57-client: 5.7.38 [FreeBSD]
        mysql57-server: 5.7.38 [FreeBSD]
        qt5-sqldrivers-mysql: 5.15.5p165 [FreeBSD]
        spectacle: 22.04.3 [FreeBSD]

Number of packages to be installed: 7

The process will require 204 MiB more space.
19 MiB to be downloaded.

Is there a way of instructing the installation process not to revert to an older version of mysql? Alternately, is there any other screenshot application for KDE Plasma in 13.1 release?

Thank you
 
The default "MySQL" is MySQL 5.7. So everything from the official repositories is going to depend on 5.7 specifically. If you want to change the default you set DEFAULT_VERSIONS+= mysql=8.0 and build from ports.

You cannot change dependencies once the packages have been built.
 
Set default version in make conf but these are the errors while building:

Code:
CMake Error at CMakeLists.txt:5 (find_package):
  Could not find a configuration file for package "ECM" that is compatible                                                                                                                  
  with requested version "5.96.0".                                                                                                                                                          
                                                                                                                                                                                            
  The following configuration files were considered but not accepted:                                                                                                                       
                                                                                                                                                                                            
    /usr/local/share/ECM/cmake/ECMConfig.cmake, version: 5.95.0                                                                                                                             
                                                                                                                                                                                            
                                                                                                                                                                                            
                                                                                                                                                                                            
-- Configuring incomplete, errors occurred!
See also "/usr/ports/misc/kf5-purpose/work/.build/CMakeFiles/CMakeOutput.log".
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/misc/kf5-purpose
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/spectacle
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/spectacle
 
Portmaster fixed it.

/usr/ports/misc/kf5-purpose portmaster /usr/ports/graphics/spectacle portmaster

===> Installing for spectacle-22.04.3
===> Checking if spectacle is already installed
===> Registering installation for spectacle-22.04.3
Installing spectacle-22.04.3...
Generating GTK icon cache for /usr/local/share/icons/hicolor
Building cache database of MIME types
===>>> The following actions were performed:
Upgrade of kf5-knewstuff-5.95.0_1 to kf5-knewstuff-5.96.0
Upgrade of kf5-kwayland-5.95.0 to kf5-kwayland-5.96.0
Installation of graphics/spectacle (spectacle-22.04.3)

# mysql -V
mysql Ver 8.0.29 for FreeBSD13.0 on amd64 (Source distribution)

Thank you SirDice From the document about the update to the framework, what I understood what that the ports needed an update which is what probably portmaster did.
 
Back
Top