pics: stop installing app icon in pixmaps location
authorPino Toscano <toscano.pino@tiscali.it>
Wed, 5 May 2021 06:06:22 +0000 (08:06 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Tue, 22 Jun 2021 20:02:41 +0000 (22:02 +0200)
The /usr/share/pixmaps location is considered a legacy location for
application icons; since the application icons are already installed in
the global XDG hicolor theme, then simply stop installing the 48px one
in the legacy pixmaps location.

icons/CMakeLists.txt

index 35eae34..e6b70a4 100644 (file)
@@ -64,10 +64,5 @@ if (WANT_MONO OR WANT_QTCLIENT)
             # Install Quassel-specific ones from Oxygen into hicolor as fallback
             install(DIRECTORY oxygen/ DESTINATION ${CMAKE_INSTALL_ICONDIR}/hicolor)
         endif()
-
-        # For a system install, also copy to pixmaps
-        if (CMAKE_INSTALL_PREFIX STREQUAL "/usr")
-            install(FILES hicolor/48x48/apps/quassel.png DESTINATION /usr/share/pixmaps)
-        endif()
     endif()
 endif()