Bug 351346 - Several icon dangling links occur in breeze-5.3.95 build
Summary: Several icon dangling links occur in breeze-5.3.95 build
Status: RESOLVED FIXED
Alias: None
Product: Breeze
Classification: Plasma
Component: Icons (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-15 22:46 UTC by John Stanley
Modified: 2015-09-08 14:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Stanley 2015-08-15 22:46:43 UTC
In building breeze-5.3.95, on an x86_64-pc-linux-gnu system,  using

PREFIX=usr

KFW_CONFIG=(
  "-DCMAKE_BUILD_TYPE=Release"
  "-DCMAKE_C_FLAGS:STRING=$BLDFLG"
  "-DCMAKE_CXX_FLAGS:STRING=$BLDFLG"
  "-DCMAKE_INSTALL_PREFIX=/$PREFIX"
  "-DCMAKE_INSTALL_LIBDIR=lib"
  "-DCMAKE_INSTALL_LIBEXECDIR=lib"
  "-DLIB_INSTALL_DIR=lib"
  "-DLIBEXEC_INSTALL_DIR=lib"
  "-DKDE_INSTALL_USE_QT_SYS_PATHS=ON"
  "-DSYSCONF_INSTALL_DIR=/etc"
  "-DBUILD_TESTING=OFF"
  "-Wno-dev"
),

I get several dangling icon symlinks:

# WARNING: ./usr/share/icons/breeze/actions/toolbar-small-gtk/preferences-system.svg \
#    -> ../toolbar-small/applications-system.svg; possible dangling symlink
# WARNING: ./usr/share/icons/breeze/actions/toolbar-small-gtk/gtk-preferences.svg \
#    -> ../toolbar-small/applications-system.svg; possible dangling symlink
# WARNING: ./usr/share/icons/breeze-dark/actions/toolbar-small-gtk/preferences-system.svg 
#    -> ../toolbar-small/applications-system.svg; possible dangling symlink
# WARNING: ./usr/share/icons/breeze-dark/actions/toolbar-small-gtk/gtk-preferences.svg \
#    -> ../toolbar-small/applications-system.svg; possible dangling symlink

As a quick 'n dirty workaround, I simply added the following to my build

ln -s ../toolbar/applications-system.svg \
   $INSDIR/$PREFIX/share/icons/breeze/actions/toolbar-small/applications-system.svg
ln -s ../toolbar/applications-system.svg \
   $INSDIR/$PREFIX/share/icons/breeze-dark/actions/toolbar-small/applications-system.svg

but, of course, this is rather hackish and may not even give the correct .svg icons.

thanks much for your time,
John