★ for GNOME tar zxvf gnome-utils-1.2.0.tar.gz cd gnome-utils-1.2.0 ★ gfloppy は作らない mv gfloppy _gfloppy ★ PATH_MAX, usleep() 関係を変更 *** ./gsearchtool/gsearchtool.c.org Fri Aug 25 18:43:12 2000 --- ./gsearchtool/gsearchtool.c Fri Aug 25 18:44:40 2000 *************** *** 175,180 **** --- 175,182 ---- } } + #include + #define PATH_MAX _POSIX_PATH_MAX static void really_run_command(char *cmd, int *running) { *** ./gstripchart/gstripchart.c.org Fri Aug 25 18:45:00 2000 --- ./gstripchart/gstripchart.c Fri Aug 25 18:53:07 2000 *************** *** 61,66 **** --- 61,80 ---- gtop_struct; #endif + #include + void usleep(unsigned long usec) + { + struct timeval tm; + + if (usec <= 0) + return; + + tm.tv_usec = usec % 1000000; + tm.tv_sec = usec / 1000000; + + select(1, NULL, NULL, NULL, &tm); + } + static char *applet_name = "gstripchart_applet"; static char *prog_name = "gstripchart"; static char *prog_version = "1.6"; *************** *** 1856,1861 **** --- 1870,1877 ---- * gnome_graph -- the display processor for the main, Gtk-based * graphical display. */ + #include + #define PATH_MAX _POSIX_PATH_MAX static void gnome_graph(void) { ./configure ★ 何故か gdictsrc/Makefile で -lintl が入らないところがあってエラーになる のでそれを入れる。 *** gdictsrc/Makefile.org Fri Aug 25 20:03:11 2000 --- gdictsrc/Makefile Fri Aug 25 20:05:33 2000 *************** *** 79,85 **** GMSGFMT = /usr/local/bin/msgfmt GNOMEGNORBA_LIBS = -Wl,-E -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld GNOMEUI_LIBS = -Wl,-E -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld ! GNOME_APPLETS_LIBS = -Wl,-E -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld GNOME_CAPPLET_LIBS = GNOME_CONFIG = /usr/local/bin/gnome-config GNOME_DOCKLETS_LIBS = --- 79,85 ---- GMSGFMT = /usr/local/bin/msgfmt GNOMEGNORBA_LIBS = -Wl,-E -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld GNOMEUI_LIBS = -Wl,-E -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld ! GNOME_APPLETS_LIBS = -Wl,-E -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld -lintl GNOME_CAPPLET_LIBS = GNOME_CONFIG = /usr/local/bin/gnome-config GNOME_DOCKLETS_LIBS = ★ 何故か gdialog/Makefile で -lcurses 等が入らないところがあってエラーになる ので入れる *** gdialog/Makefile.org Fri Aug 25 20:22:53 2000 --- gdialog/Makefile Fri Aug 25 20:22:59 2000 *************** *** 78,84 **** GMOFILES = ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hu.gmo it.gmo ja.gmo ko.gmo lt.gmo nl.gmo no.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sv.gmo tr.gmo uk.gmo wa.gmo zh_TW.Big5.gmo zh_CN.GB2312.gmo GMSGFMT = /usr/local/bin/msgfmt GNOMEGNORBA_LIBS = -Wl,-E -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld ! GNOMEUI_LIBS = -Wl,-E -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld GNOME_APPLETS_LIBS = -Wl,-E -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld GNOME_CAPPLET_LIBS = GNOME_CONFIG = /usr/local/bin/gnome-config --- 78,84 ---- GMOFILES = ca.gmo cs.gmo da.gmo de.gmo el.gmo en_GB.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hu.gmo it.gmo ja.gmo ko.gmo lt.gmo nl.gmo no.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sv.gmo tr.gmo uk.gmo wa.gmo zh_TW.Big5.gmo zh_CN.GB2312.gmo GMSGFMT = /usr/local/bin/msgfmt GNOMEGNORBA_LIBS = -Wl,-E -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld ! GNOMEUI_LIBS = -Wl,-E -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld -lcurses -lcur_colr GNOME_APPLETS_LIBS = -Wl,-E -lpanel_applet -lgnorba -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -ljpeg -ltiff -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldld GNOME_CAPPLET_LIBS = GNOME_CONFIG = /usr/local/bin/gnome-config *** gdialog/dialog.h.org Fri Aug 25 20:13:47 2000 --- gdialog/dialog.h Fri Aug 25 20:14:30 2000 *************** *** 47,53 **** # define _XOPEN_SOURCE_EXTENDED # define _ACS_COMPAT_CODE # endif ! # include # ifdef hacked # undef _XOPEN_SOURCE_EXTENDED # undef _ACS_COMPAT_CODE --- 47,53 ---- # define _XOPEN_SOURCE_EXTENDED # define _ACS_COMPAT_CODE # endif ! # include # ifdef hacked # undef _XOPEN_SOURCE_EXTENDED # undef _ACS_COMPAT_CODE make su make install