From owner-freebsd-hackers Tue May 16 8: 8: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kiew.egd.igd.fhg.de (kiew.egd.igd.fhg.de [192.102.170.32]) by hub.freebsd.org (Postfix) with ESMTP id 602D237B9FA for ; Tue, 16 May 2000 08:07:55 -0700 (PDT) (envelope-from runge@rostock.zgdv.de) Received: from rostock.zgdv.de (penguin.egd.igd.fhg.de [192.102.170.145]) by kiew.egd.igd.fhg.de (Netscape Messaging Server 3.6) with ESMTP id AAA6A88 for ; Tue, 16 May 2000 17:07:49 +0200 Message-ID: <392164D3.C33AF6F3@rostock.zgdv.de> Date: Tue, 16 May 2000 17:10:11 +0200 From: Thomas Runge X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 4.0-STABLE i386) X-Accept-Language: en, de MIME-Version: 1.0 Cc: 'FreeBSD Hackers mailing list' Subject: Re: Motif porting discussions on -java References: <59063B5B4D98D311BC0D0001FA7E4522026D752B@l04.research.kpn.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Koster, K.J." wrote: > > Just to let the non-java hackers know, there is some Motif porting > discussion going on on freebsd-java. You may want to have a looksee there if > you're working on Motif too. :) Seems, that nobody made a port upto now :-) So, here are my experiences with openmotif. There is a problem with motif's own version of imake. You can copy imakemdep.h from xfree's imake or just use XFree's imake itself. Copy/link Imake.tmpl, Motif.rules and Motif.tmpl (from config/cf) to /usr/X11R6/lib/X11/config for that. And now it gets tricky. lib/Xm/TextF.c needs some wide-charachter functions, that are not present in our libc. You can find a lib with these functions here: http://www.cs.rpi.edu/~crossd/FreeBSD/wcs-19990606.tar.gz I got the needed functions and just copied into the motif- sourcefile. Ah. For shared libs. You need to make the symlinks from libXX.so.a.b to libXX.so manually, if you don't do it, the linker will take the static libs. Well, thats an evil hack, but it gets you started until someone with more time and knowledge makes a "good" port :-) Enjoy. -- Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message