Bug 58145

Summary: Tar is not GnuTar ; Themes installation in Sparc/Solaris
Product: kcontrol Reporter: Lars Tunkrans <lars.tunkrans>
Component: kthememgrAssignee: Stephan Kulow <coolo>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description Lars Tunkrans 2003-05-05 19:42:54 UTC
Version:            (using KDE KDE 3.1.1a)
Installed from:    Compiled From Sources
Compiler:          GCC 3.2.2 This Bug is in configure 
OS:          Solaris

I have been looking closely at the installation processes
made by  "gmake install"  on different KDE packages lately.

In  KDEBase-311a , while installing for  kcontrol/thememgr,

and  in  KDEartwork311  while installing for IconThemes and Themes :

For all these three installjobs  the configure process has chosen
/usr/bin/tar   to pack the themefiles into an archive.

However the flags given to the program is GnuTar flags. This ofcourse
is not a problem on Linux .  Still one wishes that
configure would look for  "gtar" if that is what it intends to use.
When you look for "tar"  on  UNIX  you will NOT find GnuTar as you do
on LINUX.  Tar and Gnutar does not have the same optionflags.

This is what happends on Solaris9 :

gmake[1]: Entering directory `/opt/src/kde311/kdebase-3.1.1a/kcontrol/thememgr'
/bin/bash ../../admin/mkinstalldirs /usr/local/kde/lib/kde3
 /bin/bash ../../libtool --silent --mode=install /opt/sfw/bin/ginstall -c -p  kcm_themes.la /usr/local/kde/lib/kde3/kcm_themes.la
/bin/bash ../../admin/mkinstalldirs /usr/local/kde/share/applnk/Settings/LookNFeel
 /opt/sfw/bin/ginstall -c -p -m 644 kthememgr.desktop /usr/local/kde/share/applnk/Settings/LookNFeel/kthememgr.desktop
cp -r ./Themes BuildThemes; \
rm -rf `find BuildThemes -type d -name CVS -print`; \
mkdir -p /usr/local/kde/share/apps/kthememgr/Themes
( cd BuildThemes; \
for f in *; do \
  if [ -d $f -a $f != "CVS" ]; then \
           tar="/bin/bash /opt/src/kde311/kdebase-3.1.1a/admin/missing --run tar"; \
           if test -z "$tar"; then tar=tar; fi; \
           tar -b 16 -c -f - $f| gzip -c > /usr/local/kde/share/apps/kthememgr/Themes/$f.ktheme; \
  fi; \
done ); \
rm -rf BuildThemes;
Usage: tar {txruc@}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...
Usage: tar {txruc@}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...
Usage: tar {txruc@}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...
Usage: tar {txruc@}[vfbFXhiBEelmopwnq[0-7]] [-k size] [tapefile] [blocksize] [exclude-file] [-I include-file] files ...
/bin/bash ../../admin/mkinstalldirs /usr/local/kde/share/mimelnk/application
 /opt/sfw/bin/ginstall -c -p -m 644 x-ktheme.desktop /usr/local/kde/share/mimelnk/application/x-ktheme.desktop
/bin/bash ../../admin/mkinstalldirs /usr/local/kde/share/apps/kthememgr
 /opt/sfw/bin/ginstall -c -p -m 644 theme.mappings /usr/local/kde/share/apps/kthememgr/theme.mappings
/bin/bash ../../admin/mkinstalldirs /usr/local/kde/share/apps/kthememgr/Themes
 /opt/sfw/bin/ginstall -c -p -m 644 Template.themerc /usr/local/kde/share/apps/kthememgr/Themes/Template.themerc
gmake[1]: Leaving directory `/opt/src/kde311/kdebase-3.1.1a/kcontrol/thememgr'
Comment 1 Waldo Bastian 2003-06-23 21:35:58 UTC
Maybe "missing --run tar" should prefer "gtar" ? 
Comment 2 Daniel Molkentin 2003-09-22 19:32:35 UTC
Theme Manager was removed, thus I will close this report.