xfburn in repo needs rebuild.

Issue #15 resolved
stretchedthin created an issue

gtk-update-icon-cache /usr/share/icons/hicolor

needs to be added to the doinst.sh file or icon do not appear.

Comments (3)

  1. Former user Account Deleted

    I always add below script at my SlackBuild so it will produce the doinst.sh with the update icon command

    # Add schemas install to the doinst.sh if schemas are found.
    [ -d $PKG/etc/gconf/schemas ] && {
    # Make sure we have gconftool installed
    echo "if [ -x usr/bin/gconftool-2 ]; then" >> $PKG/install/doinst.sh
    ( cd $PKG/etc/gconf/schemas
    for schema in *.schemas; do
     # Install schemas
     echo "GCONF_CONFIG_SOURCE=\"xml::etc/gconf/gconf.xml.defaults\" \
       usr/bin/gconftool-2 --makefile-install-rule \
       etc/gconf/schemas/${schema} >/dev/null 2>&1" \
       >> $PKG/install/doinst.sh
    done;
    )
    # Finish off gconf block
    echo "fi" >> $PKG/install/doinst.sh
    }
    
    mkdir -p $PKG/install
    cat >> $PKG/install/doinst.sh << EOF
    # update rarian database
    if [ -x usr/bin/rarian-sk-update ]; then
      usr/bin/rarian-sk-update 1> /dev/null 2> /dev/null
    fi
    
    # update mime database
    if [ -x usr/bin/update-mime-database ]; then
      usr/bin/update-mime-database usr/share/mime 1> /dev/null 2> /dev/null
    fi
    
    # update desktop entries
    if [ -x usr/bin/update-desktop-database ]; then
      usr/bin/update-desktop-database 1> /dev/null 2> /dev/null
    fi
    
    # update hicolor icons
    if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
    	rm -f usr/share/icons/hicolor/icon-theme.cache
    fi
    usr/bin/gtk-update-icon-cache -f -q usr/share/icons/hicolor 1>/dev/null 2>/dev/null
    
    if [ -x /usr/bin/glib-compile-schemas ]; then
      /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas/ >/dev/null 2>&1
    fi
    
    # Restart gconfd-2 if running to reload new gconf settings
    if ps acx | grep -q gconfd-2 ; then
            killall -HUP gconfd-2 ;
    fi
    
    # A good idea whenever kernel modules are added or changed:
    if [ -x sbin/depmod ]; then
      /sbin/depmod -a 1> /dev/null 2> /dev/null
    fi
    EOF
    

    From hata_ph

  2. Former user Account Deleted

    btw, xfburn-0.4.3-i586-3vl70 is already in the repo with the correct doinst.sh...might want to remove xfburn-0.4.3-i586-2vl70

    From hata_ph

  3. stretchedthin reporter

    Marking resolved. Just tested xfburn-0.4.3-i586-3vl70. Installs with all icons. Also confirmed build 2 is no longer in repo.

  4. Log in to comment