tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PLIST for openoffice3 with kde option wrong



denbrok%uni-bonn.de@localhost wrote:
> Please find attached an install.log from a bulk build with
> PKG_OPTIONS.openoffice3 = kde -gtk2.
>
> This seems to be a problem on OOO's side; nonetheless, it causes
> errors in pkgsrc. It would be nice if someone could fix the package's
> PLIST.

The problem is that in patch-ef, it has been forgotten to create
the directory to install the kde-specific files to. The attached
patch fixes this.

HTH,

Dennis den Brok
--- misc/openoffice3/patches/patch-ef.orig      2010-02-26 10:16:55.000000000 
+0100
+++ misc/openoffice3/patches/patch-ef   2010-02-26 10:12:25.000000000 +0100
-@@ -1,46 +1,41 @@
+--- sysui/desktop/share/create_tree.sh.orig    2008-05-15 09:11:15.000000000 
+0000
++++ sysui/desktop/share/create_tree.sh 2010-02-26 09:09:39.000000000 +0000
+@@ -1,46 +1,43 @@
  umask 022
  
 -if [ "${KDEMAINDIR}" ]
@@ -11,7 +9,9 @@
 +if [ "${KDE}" ]
  then
 +  for i in `cat mimelnklist`; do
-+    ${BSD_INSTALL_DATA} $i 
${DESTDIR}${_PREFIX}/share/kde/mimelnk/application/${PREFIX}-$i
++    targetdir=${DESTDIR}${_PREFIX}/share/kde/mimelnk/application
++    ${BSD_INSTALL_DATA_DIR} $targetdir
++    ${BSD_INSTALL_DATA} $i $targetdir/${PREFIX}-$i 
 +  done
 +  ICON_THEMES="${ICON_THEMES} locolor"
 +fi
@@ -71,7 +71,7 @@
    then 
      echo "Creating legacy mimetype symlinks for GNOME .."
      # add symlinks so that nautilus can identify the mime-icons 
-@@ -88,24 +83,17 @@
+@@ -88,24 +85,17 @@
        ln -sf $link_target_dir${ICON_PREFIX:-}${ICON_PREFIX:+-}extension.png   
                
${link_dir}/gnome-mime-application-vnd.openofficeorg.extension.png
      done
    fi


Home | Main Index | Thread Index | Old Index