Check-in [64d64908fd]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

SHA1 Hash:64d64908fdeb36c34846474251224dbd17f14f5a
Date: 2012-10-28 10:23:17
User: BarryK
Comment:01micko: fix for gcc_dev template, update support/slacko/woof_base_hack

Tags And Properties
Changes

Changes to woof-code/packages-templates/gcc_dev/FIXUPHACK

@@ -16,12 +16,14 @@
  REALFILE="`find usr/bin/ -maxdepth 1 -type f -name "g++-*" | head -n 1 | rev | cut -f 1 -d '/' | rev`"
  ln -s $REALFILE usr/bin/g++
  ln -s $REALFILE usr/bin/c++
 fi
 
+#121028 01micko: Slackware ships with exec named gcc-4.7.1 and another util named gcc-somethingelse (forget sorry)
+# change -name "gcc-*" to -name "gcc-*.*" ...
 if [ ! -e usr/bin/gcc ];then
- REALFILE="`find usr/bin/ -maxdepth 1 -type f -name "gcc-*" | head -n 1 | rev | cut -f 1 -d '/' | rev`"
+ REALFILE="`find usr/bin/ -maxdepth 1 -type f -name "gcc-*.*" | head -n 1 | rev | cut -f 1 -d '/' | rev`"
  ln -s $REALFILE usr/bin/gcc
  ln -s $REALFILE usr/bin/cc
 fi
 
 #t2, i had to recompile gcc in running quirky, my new binary tarball has some things missing...

Changes to woof-code/support/slacko/woof_base_hack

@@ -110,16 +110,16 @@
 
 # -- THEME AUTO-WRITTEN DO NOT EDIT' >> /tmp/.gtkrc-2.0
 cp -af /tmp/.gtkrc-2.0 rootfs-complete/root/
 rm -f /tmp/.gtkrc-2.0
 
-echo "fixing PKGS_MANAGEMENT for Slacko repo only"
+#echo "fixing PKGS_MANAGEMENT for Slacko repo only"
 
-grep -v 'PKG_REPOS_ENABLED=' rootfs-complete/root/.packages/PKGS_MANAGEMENT > /tmp/PKGS_MANAGEMENT
-echo "PKG_REPOS_ENABLED=' Packages-puppy-slacko-official '" >> /tmp/PKGS_MANAGEMENT
-cp -af /tmp/PKGS_MANAGEMENT rootfs-complete/root/.packages/
-rm -f /tmp/PKGS_MANAGEMENT
+#grep -v 'PKG_REPOS_ENABLED=' rootfs-complete/root/.packages/PKGS_MANAGEMENT > /tmp/PKGS_MANAGEMENT
+#echo "PKG_REPOS_ENABLED=' Packages-puppy-slacko-official '" >> /tmp/PKGS_MANAGEMENT
+#cp -af /tmp/PKGS_MANAGEMENT rootfs-complete/root/.packages/
+#rm -f /tmp/PKGS_MANAGEMENT
 
 echo
 echo "Slacko customisation complete"
 
 exit 0