[Portland] Solaris support?
Nathan Kidd
nathan-svn at spicycrypto.ca
Mon Jul 9 09:21:01 PDT 2007
Peter Åstrand wrote:
> Is xdg-utils supposed to work on Solaris? It doesn't, it seems:
>
> xdg-desktop-menu: test: argument expected
> xdg-icon-resource: test: argument expected
> xdg-mime: test: argument expected
I think you'll find these easy to fix. I just was hacking on xdg to
make it work on AIX 5.3 and encountered the same issues. You probably
just need to apply fixes like:
> +++ xdg-icon-resource (working copy)
> @@ -618,7 +618,7 @@
> break
> fi
> done
> -[ -w $xdg_global_dir ] || xdg_global_dir=
> +[ -w "$xdg_global_dir" ] || xdg_global_dir=
>
> dot_icon_dir=
> dot_base_dir=
I.e. quote the var that's being tested.
You may also need to add "/opt/freeware/share" to
> xdg_system_dirs="/usr/local/share/:/usr/share/"
However, these changes are not enough for me to get AIX working cleanly.
I'll see if there's a clean non-linux-affecting patch I can submit once
I succeed.
-Nathan
More information about the Portland
mailing list