From owner-freebsd-ports Wed Mar 19 8:22: 5 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE36437B401; Wed, 19 Mar 2003 08:21:54 -0800 (PST) Received: from thufir.bluecom.no (thufir.bluecom.no [217.118.32.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F62F43F93; Wed, 19 Mar 2003 08:21:53 -0800 (PST) (envelope-from erik@pentadon.com) Received: from erik (tromso-dhcp-234-169.bluecom.no [62.101.234.169]) by thufir.bluecom.no (Postfix) with ESMTP id 213FF50ED9E; Wed, 19 Mar 2003 17:21:51 +0100 (CET) From: "Erik Paulsen Skålerud" To: Cc: Subject: FreeBSD Port: icewm-1.2.0 Date: Wed, 19 Mar 2003 17:20:22 +0100 Message-ID: <006201c2ee33$7117c080$0a00000a@yes.no> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am posting this here as I get no response from the maintainer. The x11-wm/icewm in ports are outdated. Version 1.2.0 (the one in ports) was released 2002-06-30, the latest version (1.2.7) was released 2003-03-08. You might wanna look at the changelog (http://icewm.sourceforge.net/changes.php), as it has major changes since 1.2.0 (including default system configuration directory). I'm trying to compile it now without any patches at all, and gmake is giving me alot of warnings about the source-code until it finally breaks. The 1.2.0 version wich is in ports compiles fine with very little warnings overall. Anyone want to help making patches? I have very little experience with building ports, and absolutely no experience in C or C++. The complete log from the build is below.. Erik. From build: ===> Configuring for icewm-1.2.7 ===> icewm-1.2.7 depends on executable: autoconf - found ===> icewm-1.2.7 depends on executable: gmake - found ===> icewm-1.2.7 depends on shared library: intl.4 - found ===> icewm-1.2.7 depends on shared library: X11.6 - found ===> icewm-1.2.7 depends on shared library: esd.2 - found checking build system type... i386-portbld-freebsd5.0 checking host system type... i386-portbld-freebsd5.0 checking target system type... i386-portbld-freebsd5.0 checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking whether the C compiler (cc) understands C++... yes checking whether we are using the GNU C++ compiler... yes checking whether cc accepts -g... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking whether the C++ compiler (cc) accepts no_rtti... yes checking whether the C++ compiler (cc) accepts no_exceptions... yes checking whether the C++ compiler (cc) accepts warn_xxx... yes checking whether the C++ compiler (cc) accepts permissive... yes checking if we need our own C++ allocation operators... yes checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/wait.h that is POSIX.1 compatible... yes checking how to run the C++ preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking linux/threads.h usability... no checking linux/threads.h presence... no checking for linux/threads.h... no checking linux/tasks.h usability... no checking linux/tasks.h presence... no checking for linux/tasks.h... no checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for char... yes checking size of char... 1 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking return type of signal handlers... void checking for strftime... yes checking for vprintf... yes checking for _doprnt... no checking for gettimeofday... yes checking for putenv... no checking for select... yes checking for socket... yes checking for strtol... no checking for strtoul... no checking for basename... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for nl_langinfo... yes checking whether nl_langinfo supports CODESET... yes checking whether nl_langinfo supports _NL_CTYPE_CODESET_NAME... no checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking whether _libiconv_version is declared... yes assuming iconv.h belongs to GNU libiconv checking whether iconv converts from ISO-8859-1 to UCS-4//TRANSLIT... yes checking whether iconv converts from ISO-8859-2 to UCS-4//TRANSLIT... yes checking whether iconv converts from KOI8-R to UCS-4//TRANSLIT... yes checking whether iconv converts from EUC-JP to UCS-4//TRANSLIT... yes checking whether iconv converts from BIG5 to UCS-4//TRANSLIT... yes checking for gettext... no checking for gettext in -lintl... yes checking for xgettext... /usr/local/bin/xgettext checking for msgmerge... /usr/local/bin/msgmerge checking for msgfmt... /usr/local/bin/msgfmt checking for XInternAtoms in -lX11... yes checking for IceConnectionNumber in -lICE... (cached) yes checking for XShapeCombineRectangles in -lXext... yes checking for xft-config... /usr/X11R6/bin/xft-config checking for esd-config... /usr/local/bin/esd-config checking esd.h usability... yes checking esd.h presence... yes checking for esd.h... yes checking for esd_open_sound in -lesd... yes checking for XineramaQueryScreens in -lXinerama... yes checking for XpmReadFileToPixmap in -lXpm... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile config.status: creating lib/keys config.status: creating lib/menu config.status: creating lib/programs config.status: creating lib/toolbar config.status: creating lib/winoptions config.status: creating src/config.h config.status: executing config.status commands Build targets: base nls Applications: icewm icesh icewmhint icewmbg icesound icehelp Image library: libXpm Audio support: ESD Features: i18n nls xfreetype gui-events x86-asm Paths: PREFIX: /usr/X11R6 BINDIR: /usr/X11R6/bin LOCDIR: /usr/X11R6/share/locale LIBDIR: /usr/X11R6/share/icewm CFGDIR: /usr/X11R6/share/icewm KDEDIR: /usr/local/share DOCDIR: /usr/X11R6/share/doc ===> Building for icewm-1.2.7 gmake[1]: Entering directory `/usr/ports/x11-wm/icewm/work/icewm-1.2.7/src' Compiling ymsgbox.o... Compiling ydialog.o... Compiling yurl.o... Compiling wmsession.o... In file included from wmsession.cc:17: wmapp.h:36:2: warning: #warning "remove phase" Compiling wmwinlist.o... In file included from wmwinlist.cc:18: wmapp.h:36:2: warning: #warning "remove phase" wmwinlist.cc:87:2: warning: #warning "add activate workspace here" wmwinlist.cc:97:2: warning: #warning "clean up this cast" Compiling wmtaskbar.o... In file included from wmtaskbar.cc:21: wmapp.h:36:2: warning: #warning "remove phase" Compiling wmwinmenu.o... Compiling wmdialog.o... In file included from wmdialog.cc:17: wmapp.h:36:2: warning: #warning "remove phase" Compiling wmabout.o... In file included from wmabout.cc:15: wmapp.h:36:2: warning: #warning "remove phase" Compiling wmswitch.o... Compiling wmstatus.o... Compiling wmoption.o... wmoption.cc:316:2: warning: #warning "separate handling of class and instance, the current way is a hack" Compiling wmaction.o... Compiling wmcontainer.o... Compiling wmclient.o... In file included from wmclient.cc:12: wmapp.h:36:2: warning: #warning "remove phase" wmclient.cc:269:2: warning: #warning "bogus, probably" wmclient.cc:275:2: warning: #warning "recheck this code" Compiling wmmgr.o... In file included from wmmgr.cc:25: wmapp.h:36:2: warning: #warning "remove phase" wmmgr.cc:1267:2: warning: #warning "this needs some cleanup" wmmgr.cc:1339:2: warning: #warning "cleanup the constrainSize code, there is some duplication" wmmgr.cc:1696:2: warning: #warning "rewrite workarea determine code (per workspace)" wmmgr.cc:1871:2: warning: #warning "needs a rewrite (save old work area) for each workspace" wmmgr.cc:1887:2: warning: #warning "this needs serious recheck" Compiling wmapp.o... In file included from wmapp.cc:10: wmapp.h:36:2: warning: #warning "remove phase" wmapp.cc: In member function `void YWMApp::restartClient(const char*, char* const*)': wmapp.cc:988: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:988: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:1002: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:1002: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:1020:2: warning: #warning calling /bin/sh is considered to be bloat wmapp.cc: In member function `virtual void YWMApp::actionPerformed(YAction*, unsigned int)': wmapp.cc:1091: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:1091: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc: In constructor `YWMApp::YWMApp(int*, char***, const char*)': wmapp.cc:1169: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:1171: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:1171: warning: `phase' is deprecated (declared at wmapp.h:42) wmapp.cc:1177:2: warning: #warning "background setting should be done by icewmbg only" wmapp.cc: In function `int main(int, char**)': wmapp.cc:1622: warning: `phase' is deprecated (declared at wmapp.h:42) Compiling wmframe.o... In file included from wmframe.cc:24: wmapp.h:36:2: warning: #warning "remove phase" wmframe.cc:625:2: warning: #warning "looks like sendConfigure but not quite, investigate!" wmframe.cc:1563:2: warning: #warning "move focusChangesWorkspace check out of here, to (some) callers" wmframe.cc:1945:2: warning: #warning "need initial window mapping cleanup" wmframe.cc:2123:2: warning: #warning "think about winoptions specified icon here" wmframe.cc:2316:2: warning: #warning "this should probably be enabled for alt+tab, if nothing else" Compiling wmbutton.o... Compiling wmminiicon.o... Compiling wmtitle.o... In file included from wmtitle.cc:13: wmapp.h:36:2: warning: #warning "remove phase" Compiling movesize.o... In file included from movesize.cc:15: wmapp.h:36:2: warning: #warning "remove phase" movesize.cc:1267:2: warning: #warning "reevaluate if this is legacy" Compiling themes.o... Compiling decorate.o... In file included from decorate.cc:12: wmapp.h:36:2: warning: #warning "remove phase" decorate.cc:307:2: warning: #warning "make a test program for this" Compiling browse.o... Compiling wmprog.o... In file included from wmprog.cc:20: wmapp.h:36:2: warning: #warning "remove phase" wmprog.cc:599:2: warning: #warning "figure out some way for this to work" wmprog.cc:651:2: warning: #warning "make this into a menuprog (ala gnome.cc), and use mime" Compiling atasks.o... Compiling aworkspaces.o... In file included from aworkspaces.cc:10: wmapp.h:36:2: warning: #warning "remove phase" Compiling amailbox.o... In file included from amailbox.cc:20: wmapp.h:36:2: warning: #warning "remove phase" Compiling aclock.o... In file included from aclock.cc:18: wmapp.h:36:2: warning: #warning "remove phase" Compiling acpustatus.o... In file included from acpustatus.cc:12: wmapp.h:36:2: warning: #warning "remove phase" Compiling apppstatus.o... In file included from apppstatus.cc:20: wmapp.h:36:2: warning: #warning "remove phase" Compiling aaddressbar.o... aaddressbar.cc:44:2: warning: #warning calling /bin/sh is considered to be bloat Compiling objbar.o... In file included from objbar.cc:18: wmapp.h:36:2: warning: #warning "remove phase" Compiling aapm.o... Compiling atray.o... Compiling ysmapp.o... Compiling yapp.o... yapp.cc:752:2: warning: #warning "make this more general" yapp.cc:1301:2: warning: #warning calling /bin/sh is considered to be bloat Compiling ytimer.o... Compiling ywindow.o... ywindow.cc:1475:2: warning: #warning "it would be better to initialize xiHeads to 1 and fill xiInfo manually" Compiling ypaint.o... ypaint.cc:21:2: warning: #warning it would be better to cache things instead Compiling ytooltip.o... Compiling ypopup.o... ypopup.cc:108:2: warning: #warning "this logic needs rethink" ypopup.cc:237:2: warning: #warning "make special motion event handling for popups" Compiling ymenu.o... ymenu.cc:245:2: warning: #warning "cleanup: selectedItem vs. no" ymenu.cc: In member function `int YMenu::activateItem(int, int, bool)': ymenu.cc:244: warning: unused parameter `int no' Compiling ymenuitem.o... Compiling yscrollbar.o... Compiling ybutton.o... Compiling ylistbox.o... Compiling yinput.o... Compiling misc.o... Compiling icons.o... Compiling ycursor.o... Compiling ylabel.o... Compiling yscrollview.o... Compiling ysocket.o... Compiling wmconfig.o... Compiling ypaths.o... Compiling ypixbuf.o... Compiling ylocale.o... ylocale.cc: In static member function `static YUChar* YLocale::unicodeString(const YLChar*, unsigned int, size_t&)': ylocale.cc:146: warning: invalid conversion from `char**' to `const char**' Compiling yarray.o... Compiling ypipereader.o... Linking icewm... Compiling icesh.o... Linking icesh... Compiling icewmhint.o... Linking icewmhint... Compiling icewmbg.o... icewmbg.cc:7:2: warning: #warning duplicates lots of prefs icewmbg.cc:97:2: warning: #warning "I don't see a reason for this to be conditional...? maybe only as an #ifdef" icewmbg.cc:271:2: warning: #warning "TODO: move to config file" Linking icewmbg... Compiling icesound.o... Compiling ycmdline.o... Linking icesound... Compiling icehelp.o... Linking icehelp... Compiling genpref.o... Linking genpref... /usr/bin/ld: cannot find -lintl gmake[1]: *** [genpref] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-wm/icewm/work/icewm-1.2.7/src' gmake: *** [base] Error 2 *** Error code 2 Stop in /usr/ports/x11-wm/icewm. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message