Date: Fri, 14 May 2004 00:04:22 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 378 ************************************************** Thursday 13 May 2004 Number 378 ************************************************** Subjects for today 1 Re: Building Mozilla : Dave Yeo" 2 Re: Building Mozilla : Dave Yeo" 3 XPenguins : Dave Yeo" 4 Test from new subscriber - please ignore. : Jon Saxton" 5 Re: Glib : Stefan.Neis at t-online.de 6 Re: XPenguins : John Poltorak 7 Re: XPenguins : John Poltorak 8 Re: XPenguins : John Poltorak 9 Re: XPenguins : Sebastian Wittmeier" 10 Re: XPenguins : Sebastian Wittmeier" 11 Re: XPenguins : Dave Yeo" **= Email 1 ==========================** Date: Wed, 12 May 2004 07:41:43 -0800 From: "Dave Yeo" Subject: Re: Building Mozilla On Wed, 12 May 2004 11:23:50 +0100, John Poltorak wrote: > >I guess I need to compare the two different versions of AC213. It would be >nice to have just one. I already use three different versions of autoconf >in UX2BS which is bad enough but two different versions of the same version is >getting a bit too much to handle. > The one they recommend is just patched so it will work with VACPP. The one you have should work fine for a GCC build >> > >> > >> >Once that is resolved, I should be able to proceed with:- >> > >> >make -f client.mk build >> > >> > >> >Sounds simple doesn't it? >> >> >> Let us know what happens. I spent a lot of time trying to build Mozilla >> and never succeeded. > >If you didn't manage it, I guess I should give up now :-)... Well when I was trying it was when they were doing VACPP builds and the EMX code was out of date. I didn't try after due to the lack of ILINK.EXE which I now have. Just never got around to trying again. Dave **= Email 2 ==========================** Date: Wed, 12 May 2004 08:17:58 -0800 From: "Dave Yeo" Subject: Re: Building Mozilla On Wed, 12 May 2004 11:23:50 +0100, John Poltorak wrote: > >I was wondering if, for a first attempt, I should maybe start off with >quite an old release rather than something so recent... Don't go back to far as a lot of the VACPP builds did not have good support for EMX. I'd say go with 1.6 or so. Also on a slightly different topic I wonder what IBM quitting Mozilla will do to Innoteks GCC as I think it was IBM financing it? Dave **= Email 3 ==========================** Date: Wed, 12 May 2004 08:12:25 -0800 From: "Dave Yeo" Subject: XPenguins On Wed, 12 May 2004 14:39:15 +0100, John Poltorak wrote: >> Well you could try XPenguins. > >Thanks for the suggestion. I managed to get it built eventually. > >> Cute little penguins on your screen, my son loves it > >It made me smile :-)... > > >As far a building it goes, I found that running autoconf 2.59 messed >things up because configure couldn't find one of the required Xlibs. Well the included configure script was generated by 2.13. You might be able to tell configure where X is configure --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib > > >Running the configure script just as it came built everything and >installed it, but I was left with having to run emxbind manually to create >an executable which would run on OS/2, so I'm wondering what the best way >of automating the whole preocess is. Maybe by running Autoconf 2.13... Try 2.13. IIRC I used -Zexe to force an exe. > >How would I go about adding Xpenguins into one of Blackbox's popup menus? I added a line to ~/.blackbox/menu under games like this [submenu] (Games) [exec] (XPenguins) {xpenguins} Could add more eg [exec] (Big XPenguins) {xpenguins --theme Big Penguins} [exec] (Turtles) {xpenguins --theme-turtles} etc Debian also include a Kill XPenguins menu option which basically got the PID of XPenguins and sent it an interrupt signal (or was that a kill?) which is nice as there is no easy way to exit the program > >Could it be done as part of the install? Use sed or awk I guess > >> http://xpenguins.seul.org/ Dave **= Email 4 ==========================** Date: Wed, 12 May 2004 12:05:58 -0400 From: "Jon Saxton" Subject: Test from new subscriber - please ignore. Sorry to waste bandwidth but I can't think of any way to test whether I can post to this mailing list without actually posting something. At the moment I don't have anything meaningful to say, which is why I am subjecting you to this drivel. Once more, I apoligise. -- Jon Saxton Developer of cross-platform software for UNIX, Windows and OS/2 U.S. agent for Triton Technologies International Ltd http://www.triton.vg/ **= Email 5 ==========================** Date: Wed, 12 May 2004 19:31:07 +0100 From: Stefan.Neis at t-online.de Subject: Re: Glib Hi, > Where can I grab dllar? dllar.cmd is included in all the newer gcc distributions for OS/2. (starting with pgcc-2.95, IIRC). > looked through my archives and saw some mention of a dllar.sh you > were working on. It's still being tested, but except for OMF support and support of longer command lines, it offers no new features over dllar.cmd, so for the moment, I'd prefer to not distribute it, yet. Regards, Stefan **= Email 6 ==========================** Date: Wed, 12 May 2004 19:32:33 +0100 From: John Poltorak Subject: Re: XPenguins On Wed, May 12, 2004 at 08:12:25AM -0800, Dave Yeo wrote: > On Wed, 12 May 2004 14:39:15 +0100, John Poltorak wrote: > >As far a building it goes, I found that running autoconf 2.59 messed > >things up because configure couldn't find one of the required Xlibs. > > Well the included configure script was generated by 2.13. You might be able to tell configure where X is > configure --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib To be more accurate, configure reported that - 'Valid xpm library not found' This occurred whilst - checking for XpmFree in -lXpm but - checking for XpmReadFileToData in -lXpm... yes It seems that a valid library is found in one instance but not in the other, even though it is the same library. This only occurs after using the configure script created by Autoconf v2.59. If don't recreate it or use Autoconf v2.13 the same test passes. Weird... > >Running the configure script just as it came built everything and > >installed it, but I was left with having to run emxbind manually to create > >an executable which would run on OS/2, so I'm wondering what the best way > >of automating the whole preocess is. Maybe by running Autoconf 2.13... > > Try 2.13. IIRC I used -Zexe to force an exe. Where is this -Zexe used? Since no .exe target is mentioned in the Makefile, the install procedure won't install the .exe even if it is created. > > > > >How would I go about adding Xpenguins into one of Blackbox's popup menus? > I added a line to ~/.blackbox/menu under games like this > [submenu] (Games) > [exec] (XPenguins) {xpenguins} > > Could add more eg > [exec] (Big XPenguins) {xpenguins --theme Big Penguins} > [exec] (Turtles) {xpenguins --theme-turtles} > etc Thanks for that tip. I'll give it a try. > Dave -- John **= Email 7 ==========================** Date: Wed, 12 May 2004 21:11:57 +0100 From: John Poltorak Subject: Re: XPenguins On Wed, May 12, 2004 at 09:24:41PM +0200, Sebastian Wittmeier wrote: > On Wed, 12 May 2004 19:32:33 +0100, John Poltorak wrote: > > >It seems that a valid library is found in one instance but not in the > >other, even though it is the same library. This only occurs after using > >the configure script created by Autoconf v2.59. If don't recreate it or > >use Autoconf v2.13 the same test passes. Weird... > > Would you post the relevant parts of the created configure script > (citing from the included one) > that is from XpmReadFileToData until before checking for ANSI c header > files? I'm attaching the checks for XpmFree in both the original configure script and the one built using Autoconf 2.59. > seems very weird indeed, perhaps there is a bug in Autoconf 2.59? > Better it is ironed out. Maybe it's just a problem in using macros meant for AC213 under AC259... I don't think AC is meant to be backwardly compatible... > Sebastian **= Email 8 ==========================** Date: Wed, 12 May 2004 21:18:15 +0100 From: John Poltorak Subject: Re: XPenguins --K3e8xP8oRwHPrlq/ Content-Type: text/plain; charset=us-ascii On Wed, May 12, 2004 at 09:11:57PM +0100, John Poltorak wrote: > I'm attaching the checks for XpmFree Did anyone spot the deliberate mistake? ;-) -- John --K3e8xP8oRwHPrlq/ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="P:\\unixos2\\tmp\\xpeng\\XpmFree-check.old.gz" H4sICEqCokAABlhwbUZyZWUtY2hlY2sub2xkAJVUbVPaQBD+3Mzk P+xEJKADQVrbCsIMWq22VtvaqrW08UgucDVc6OWCIOW/d+8SXnzrTL/AZG/32b19nueo14sg RzyXg+X1qHfNeBeCSMDFoL8vKAXGoRTih2WVy2Wd6Vmw0cy/NA2qai0v4gHrJoLWqpXnWzX4 Nwo085umgSgh67hDIhpXGgWPbNeeZf+BmPpgj1fLznpp1XUH7qp9ZRosADokIViSxhLaVlpq 52x7Yqu5hho0twC312Mqp/ZV24IGQkqrDrJHuWkA0KV7FzyCQ/vFe7cLY6oyMRaTIXWPDndO G1ZO/VmmkX7pO4GOwezEIxKaoLaixiwrTDqSsL29d7JvGish4xSqlRevljaHVSuMe2Hi0zTq 0yAu9zDsrMHJkArB8ITwMXQ9r4rLlFRwXMRARDKS4wEFGQEZRszHJMD0SJQB1hxdf04hiSnS QgR0qEfUByJAn3V7+Euk11NbAUFlIjhouCgAonupBQB0EhZKpJBwXy8QmIyBiG7Spwi0mOIm SkIfYsnCEMhgEI6zKXTvjNxCsW4ayKWagDBeKMLENOZnplGfDVKpw9Q09NKQ+AkUNPeat2XJ bb6uoRRS0vl12yoq+jbrWfosXoSqjk4hnwctn1I85yg30RxRpGm6UIjoQ0kE86Q1rRotv0e1 1hjT2Fqo5r43ICAsRFHjsrqC9OGGxLXMDABKMg8Ek5397xg8wikCZhqq8E5dJuBlPVuKCpX8 lLUWPeylJqmh1IXvGUqjS8tSR5mNlH5UUKjixkHrbE91nrs+83qJgh0733+S0m2rdFkpbbk/ HNfp2tBOEdT52CEdD53R7bFf12GfR4PfIpbJ8GY0vnVaO7tv9vbfHhy+e3/04fjk46fPp1++ np1ffLt01NOR7riZ+jJ119yR+Kk8mZtPCRuZ7lTdA6Prnd2lObs1rj67NE79bPJQA9qZNTgj ITp1hIDYTBAxBh5JfC4T7muAah3oiEnY0A5Q9OiWT73UrePTQ9iFHiU+FRCgzOJHHuu/n6a2 xOkFAAA= --K3e8xP8oRwHPrlq/ Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="P:\\unixos2\\tmp\\xpeng\\XpmFree-check.new.gz" H4sICCSCokAABlhwbUZyZWUtY2hlY2submV3AO1XW0/bMBR+bqT8h7MsopSp7UAa D4WCGAKBxGDSJsYDIjLpSeuRJpHtlHal/33HTkJamg4etknTqFS39rnf/MnoD2JwXCa9IXbc s9Pzo/OLDvgD9O941IcgFnCVDI8FIvAImiFtHNhb+2BbqCXdo8OTC+8cnF9KtFqtnPNQC2/b Fg9AoVRkecp8zx95Ib/1iNPLRd9JVDMHukC/O6AGGNkWwKLJdZ+R1V7jiWoMJWpmrVc7ZVRL NkLv7PTjl66r13kHiA+HY5kmSSyUNhnFpcVK57pRrDwe6WO/sOczBXt+HAVaa8soHSvY3fUO Do8ujm2rvQGa2sNAtgYtgI22bRU0LVsSYW9JT67+Gf0Y9ZZtGMrFCIXgPQQWTaDv+1tUGYUi YiEkIlaxmiQIKgY2inmPmIDYY5FreMu1RvA8PwlTqb8U81iLg3PoEJ3s8sDY+YaQSqTuYQJu 0Wd6Q5ZgyPsDWpnyBzqzIFClJG7MxgEw45NON9ymPFTUNoxi0TUAriQw0U+HSHpKZ+/jNOyB VDwMgSVJOMmdNaaL9ltv7FChI0rfkJHO9YZtTW1rgQpgltyh97SZlXURQ2gGsJD0+Pa7zntx ltUBTYmoo6awjiNKKlYO1bXptZBHd9eO08iGCHKJgtKArbLKKDbzHpSKqVR23X297wtMoDmC +g1svKvDPDvMCwsT2WIMucqi4wrOwpkVjrv7NBbuox9O6fuYqzlCYwdmsLZmWzVKBZ0qMenW zZg1f2ST5nv3pre8IGR9ap5arQYPD9kovoGmXPCqrm28JKdkpzqlRNAZzY6f5vE3BLs6XlnR I/9EPM/ffeUVu2ARAsZD7Okh7Qs2hHsmO7kxScd12b5pP0C7Dku3mOGxrRfctQFfmkrdvVUj em3uE/os12HJg0xxAQlupSMGGB5dKbJkWwZUHANzYLAlW51XSHiFhFdIeIWE/wASJij/Nib8 QSjIVOcXu1v9ish4qrMrUKah6qyAkfnHEz1+zMvl62w17/YLcInyX5aohIUcO0pAeEsnPEI4 Obg80mFcff4Em+XdpqWX0MzR50VtKZG1KbVrdeBmijtwyUJCjDEpIE8FExONm/QsTKPeYvB5 i7xMbGtnZqo4zZt0k3oz+5P1aFG1VVVZeJ+ivi9zZ34C0pJ21gEPAAA= --K3e8xP8oRwHPrlq/-- **= Email 9 ==========================** Date: Wed, 12 May 2004 21:24:41 +0200 (CEST) From: "Sebastian Wittmeier" Subject: Re: XPenguins On Wed, 12 May 2004 19:32:33 +0100, John Poltorak wrote: >It seems that a valid library is found in one instance but not in the >other, even though it is the same library. This only occurs after using >the configure script created by Autoconf v2.59. If don't recreate it or >use Autoconf v2.13 the same test passes. Weird... Would you post the relevant parts of the created configure script (citing from the included one) that is from XpmReadFileToData until before checking for ANSI c header files? XPENGUINS_CFLAGS="$X_CFLAGS $CFLAGS" LIBS="$X_LIBS -lX11 -lXext" echo $ac_n "checking for XpmReadFileToData in -lXpm""... $ac_c" 1>&6 .... echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 seems very weird indeed, perhaps there is a bug in Autoconf 2.59? Better it is ironed out. Sebastian **= Email 10 ==========================** Date: Wed, 12 May 2004 23:28:31 +0200 (CEST) From: "Sebastian Wittmeier" Subject: Re: XPenguins On Wed, 12 May 2004 21:18:15 +0100, John Poltorak wrote: >On Wed, May 12, 2004 at 09:11:57PM +0100, John Poltorak wrote: > >> I'm attaching the checks for XpmFree > > >Did anyone spot the deliberate mistake? ;-) :-) the problem seems to be the following line configure:4938: gcc -o conftest.exe conftest.c -lXpm -L/usr/X11R6/lib -lX11 -lXext >&5 configure does every test for a function twice: the first time without -lXpm and the second time with it and only when the first time gives an error, and the second time not, the result is 'yes' line 4938 is supposed to be without -lXpm so the error is somewhere before your attachment, whereever LIBS is set to a wrong value. Sebastian **= Email 11 ==========================** Date: Wed, 12 May 2004 21:49:03 -0800 From: "Dave Yeo" Subject: Re: XPenguins On Wed, 12 May 2004 19:32:33 +0100, John Poltorak wrote: >> Try 2.13. IIRC I used -Zexe to force an exe. > >Where is this -Zexe used? Since no .exe target is mentioned in the >Makefile, the install procedure won't install the .exe even if it is >created. In LDFLAGS. True it has to be installed manually. You could always add EXEEXT to the makefiles.in > >> >> > >> >How would I go about adding Xpenguins into one of Blackbox's popup menus? >> I added a line to ~/.blackbox/menu under games like this >> [submenu] (Games) >> [exec] (XPenguins) {xpenguins} >> >> Could add more eg >> [exec] (Big XPenguins) {xpenguins --theme Big Penguins} >> [exec] (Turtles) {xpenguins --theme-turtles} >> etc > >Thanks for that tip. I'll give it a try. Fluxbox (fork of blackbox) has a nice feature, a script called fluxbox-generate_menu which finds most binaries and puts them in the menu. Its slightly broken on OS/2 as it adds Mozilla, StarOffice etc to the menu even though they're PM programs. Dave