Hi Anyway, since macports throws everything in $prefix, I guess it's just OK that I stick with the script
Thanks yves Le 2012-04-21 à 11:11, [email protected] a écrit : > Hi, > > You're raising an interesting point here. From what I wonder, these path are > *not* meant to search for WindowMaker's shared data, but instead *other* > application's data (like icons, ...) > > Changing the path to $prefix work because the usual prefix is "/usr" for > every app in a distro, but in the current case it would break the concept, > for instance is someone wanted to install wm in "/opt/wmaker": it would then > not be able to use other application's icons, and the likes. > > But I guess there should be a better way for those path anyway, knowing that > "/usr/X11R6" seem to be deprecated now, "/opt/kde2" should be also > "/opt/kde3" and "/opt/kde4" (and maybe "/opt/kde5", so this time we'll be > ready!). > However I have no idea there at current time... > > Regards, > Christophe. > > > ----- Yves de Champlain <[email protected]> a écrit : >> Hi >> >> While being there, there are many hardcoded paths in the following files : >> >> WindowMaker/*menu* >> WindowMaker/Defaults/WindowMaker.in >> WPrefs.app/Menu.c >> WPrefs.app/Paths.c >> >> I have always dealt with these in the Portfile with a sed script : >> >> "s|/usr/X11R6/share|${prefix}/share|g" $i >> "s|/usr/share|${prefix}/share|g" $i >> "s|/usr/local/share|${prefix}/share|g" $i >> "s|/opt/share|${prefix}/share|g" $i >> "s|/opt/kde2/share|${prefix}/share|g" $i >> >> but I'm wondering if it would not be a good idea to have $prefix by default >> everywhere. >> >> Thanks for making WindowMaker the nicest WM around >> >> yves >> >> >> >> -- >> To unsubscribe, send mail to [email protected]. > > > -- > To unsubscribe, send mail to [email protected]. -- To unsubscribe, send mail to [email protected].
