Bug #14158 2008-07-07 17:21

engelsman

RFE: installation with default theme

I have a minimal Linux installation, running xfce4 with just the xfce4
themes installed. When I try to install Code::Blocks from svn (r5110)
it fails because of my lack of icon/theme support with the message:

make[4]: Entering directory `/usr/src/codeblocks-svn-beta/src/mime'
test -z "/usr/share/mime/packages" || /bin/mkdir -p "/usr/share/mime/packages"
 /usr/bin/install -c -m 644 'codeblocks.xml' '/usr/share/mime/packages/codeblocks.xml'
if [ -f /usr/share/mime/packages/freedesktop.org.xml ] ; then \
          if which update-mime-database>/dev/null 2>&1; then \
            update-mime-database /usr/share/mime; \
          fi; \
          if which update-desktop-database>/dev/null 2>&1; then \
                update-desktop-database; \
          fi; \
          if which gtk-update-icon-cache>/dev/null 2>&1; then \
                gtk-update-icon-cache --force /usr/share/icons/gnome; \
          fi \
        fi
gtk-update-icon-cache: No theme index file.make[4]: *** [install-data-hook] Error 1

If I install an additional theme (eg http://tango.freedesktop.org/)
then the C::B installation will succeed, but I will lose my existing
icons/themes.

I know that this could be viewed as an installation problem on my
machine, but I would like to make a Request For Enhancement
so that C::B supplies its own minimal set of icons that are installed
and used at run-time if the user has not already installed a correct
icons/theme environment.

Cheers
engelsman
Category
 
Group
 
Status
Open
Close date
 
Assigned to
 
engelsman 2008-07-07 19:37

OK, I've solved my immediate installation problem

by running 'gtk-update-icon-cache --ignore-theme-index'

and also touching the missing index.theme file.

Not sure whether there should be more structure to

the file than just being empty.