diff options
author | flathill <flathill@FreeBSD.org> | 2000-01-30 01:32:59 +0800 |
---|---|---|
committer | flathill <flathill@FreeBSD.org> | 2000-01-30 01:32:59 +0800 |
commit | 4981af1e4f125fc7c64f148aef06c18773b1b3c3 (patch) | |
tree | 9f26c8090c24eb6aafa8ac57e015cf6d31ca4c21 /japanese | |
parent | 3369a26a2098c92cefa559f255c493fa7b3bdd10 (diff) | |
download | freebsd-ports-gnome-4981af1e4f125fc7c64f148aef06c18773b1b3c3.tar.gz freebsd-ports-gnome-4981af1e4f125fc7c64f148aef06c18773b1b3c3.tar.zst freebsd-ports-gnome-4981af1e4f125fc7c64f148aef06c18773b1b3c3.zip |
Update to 0.8.10
PR: ports/16447
Submitted by: nobutaka@nobutaka.com(Maintainer)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/eterm/distinfo | 2 | ||||
-rw-r--r-- | japanese/eterm/files/patch-ae | 119 | ||||
-rw-r--r-- | japanese/eterm/files/patch-ar | 11 | ||||
-rw-r--r-- | japanese/eterm/files/patch-as | 11 | ||||
-rw-r--r-- | japanese/eterm/pkg-plist | 5 |
5 files changed, 101 insertions, 47 deletions
diff --git a/japanese/eterm/distinfo b/japanese/eterm/distinfo index 6738ac97c13e..5d2ad791014d 100644 --- a/japanese/eterm/distinfo +++ b/japanese/eterm/distinfo @@ -1 +1 @@ -MD5 (Eterm-0.8.9.tar.gz) = 9e4945a6920f7d10cf28516266307519 +MD5 (Eterm-0.8.10.tar.gz) = 44b0b498d8186205d0898b266643fbf1 diff --git a/japanese/eterm/files/patch-ae b/japanese/eterm/files/patch-ae index b88a0ce19527..bb1d0b40ec88 100644 --- a/japanese/eterm/files/patch-ae +++ b/japanese/eterm/files/patch-ae @@ -1,7 +1,20 @@ ---- src/command.c.orig Sat Apr 24 05:56:49 1999 -+++ src/command.c Mon May 3 03:05:33 1999 -@@ -91,6 +91,10 @@ - # include <X11/Xlocale.h> +--- src/command.c.orig Wed Nov 3 01:34:35 1999 ++++ src/command.c Wed Jan 26 23:45:10 2000 +@@ -40,6 +40,8 @@ + #include "feature.h" + #include "config.h" + ++#undef HAVE_SAVED_UIDS ++ + /* System Headers */ + #include <stdio.h> + #include <stdlib.h> +@@ -87,10 +89,12 @@ + # if (XtVersion < 11005) + # define NO_XLOCALE + # include <locale.h> +-# else +-# include <X11/Xlocale.h> # endif #endif /* NO_XLOCALE */ +#ifdef USE_XIM @@ -11,7 +24,15 @@ #ifdef USE_GETGRNAME # include <grp.h> #endif -@@ -299,7 +303,7 @@ +@@ -120,6 +124,7 @@ + #endif + #ifdef HAVE_TERMIOS_H + # include <termios.h> ++# include <sys/ttydefaults.h> + #else + # include <sgtty.h> + #endif +@@ -299,7 +304,7 @@ /* defines: */ @@ -20,24 +41,23 @@ #define STRING_MAX 512 /* max string size for process_xterm_seq() */ #define ESC_ARGS 32 /* max # of args for esc sequences */ -@@ -584,12 +588,11 @@ +@@ -577,11 +582,12 @@ #endif /* OFFIX_DND */ -#ifndef NO_XLOCALE -static char *rs_inputMethod = ""; /* XtNinputMethod */ --static char *rs_preeditType = NULL; /* XtNpreeditType */ +#ifdef USE_XIM -+extern char *rs_inputMethod; /* XtNinputMethod */ -+extern char *rs_preeditType; /* XtNpreeditType */ ++extern char *rs_inputMethod; ++extern char *rs_preeditType; static XIC Input_Context; /* input context */ -- + -#endif /* NO_XLOCALE */ +#endif /* USE_XIM */ /* command input buffering */ -@@ -647,6 +650,16 @@ +@@ -638,6 +644,16 @@ #else # define init_xlocale() ((void)0) #endif @@ -54,7 +74,17 @@ /*for Big Paste Handling */ static int v_doPending(void); -@@ -2425,8 +2438,6 @@ +@@ -2075,6 +2091,9 @@ + # if VTIME != VEOL + tio->c_cc[VTIME] = 0; + # endif ++# ifdef VSTATUS ++ tio->c_cc[VSTATUS] = CSTATUS; ++# endif + + /* input modes */ + tio->c_iflag = (BRKINT | IGNPAR | ICRNL | IXON +@@ -2401,8 +2420,6 @@ DndSelection = XInternAtom(Xdisplay, "DndSelection", False); #endif /* OFFIX_DND */ @@ -63,11 +93,11 @@ /* get number of available file descriptors */ #ifdef _POSIX_VERSION num_fds = sysconf(_SC_OPEN_MAX); -@@ -2489,135 +2500,20 @@ +@@ -2467,135 +2484,21 @@ void init_xlocale(void) { -+ char *locale; ++ char *locale = NULL; - char *p, *s, buf[32], tmp[1024]; - XIM xim = NULL; @@ -105,7 +135,7 @@ - - for (; *s && isspace(*s); s++); - if (!*s) -- break; +- break; - end = s; - for (; *end && (*end != ','); end++); - next_s = end--; @@ -113,21 +143,13 @@ - *(end + 1) = '\0'; - - if (*s) { -- snprintf(buf, sizeof(buf), "@im=%s", s); -- if ((p = XSetLocaleModifiers(buf)) != NULL && *p && (xim = XOpenIM(Xdisplay, NULL, NULL, NULL)) != NULL) { -- break; -- } -+#ifdef USE_XIM -+ locale = setlocale(LC_CTYPE, ""); -+ if (locale == NULL) { -+ print_error("Setting locale failed."); -+ } else { -+ if (strcmp(locale, "C") != 0) { -+ setTermFontSet(); -+ XRegisterIMInstantiateCallback(Xdisplay, NULL, NULL, NULL, IMInstantiateCallback, NULL); - } +- snprintf(buf, sizeof(buf), "@im=%s", s); +- if ((p = XSetLocaleModifiers(buf)) != NULL && *p && (xim = XOpenIM(Xdisplay, NULL, NULL, NULL)) != NULL) { +- break; +- } +- } - if (!*next_s) -- break; +- break; - s = (next_s + 1); - } - } @@ -157,12 +179,12 @@ - for (i = 0, found = 0; i < xim_styles->count_styles; i++) { - D_X11((" -> Supported style flags: 0x%08x %s\n", xim_styles->supported_styles[i], get_input_style_flags(xim_styles->supported_styles[i]))); - D_X11((" -> 0x%08x %s\n", xim_styles->supported_styles[i] & input_style, -- get_input_style_flags(xim_styles->supported_styles[i] & input_style))); +- get_input_style_flags(xim_styles->supported_styles[i] & input_style))); - if ((xim_styles->supported_styles[i] & input_style) == (xim_styles->supported_styles[i])) { - input_style = xim_styles->supported_styles[i]; - found = 1; - break; - } +- } - } - XFree(xim_styles); - @@ -172,8 +194,7 @@ - return; - } - /* Create Font Set */ -+#endif - +- -#ifdef KANJI - fontname = MALLOC(strlen(rs_font[0]) + strlen(rs_kfont[0]) + sizeof(fs_base) + 2); - if (fontname) { @@ -197,19 +218,31 @@ - XFreeStringList(ml); - fontset = 0; - return; -- } ++#ifndef NO_XLOCALE ++ locale = setlocale(LC_CTYPE, ""); ++#endif ++#ifdef USE_XIM ++ if (locale == NULL) ++ print_error("Setting locale failed."); ++ else { ++ setTermFontSet(); ++ if (strcmp(locale, "C")) ++ XRegisterIMInstantiateCallback(Xdisplay, NULL, NULL, NULL, ++ IMInstantiateCallback, NULL); + } - } - list = XVaCreateNestedList(0, XNFontSet, fontset, NULL); - Input_Context = XCreateIC(xim, XNInputStyle, input_style, XNClientWindow, TermWin.parent, XNFocusWindow, TermWin.parent, -- XNPreeditAttributes, list, XNStatusAttributes, list, NULL); +- XNPreeditAttributes, list, XNStatusAttributes, list, NULL); - if (Input_Context == NULL) { - D_X11(("Error: Unable to create Input Context\n")); - XCloseIM(xim); - } ++#endif } #endif /* NO_XLOCALE */ -@@ -3160,6 +3056,9 @@ +@@ -3138,6 +3041,9 @@ if (greek_mode) len = greek_xlat(kbuf, len); #endif @@ -219,7 +252,7 @@ } if (len <= 0) -@@ -3344,6 +3243,7 @@ +@@ -3323,6 +3229,7 @@ #else scr_refresh(refresh_type); #endif @@ -227,7 +260,7 @@ } /* characters already read in */ if (CHARS_READ()) { -@@ -3444,6 +3344,9 @@ +@@ -3423,6 +3330,9 @@ scr_refresh(refresh_type); if (scrollbar_visible()) scrollbar_show(1); @@ -237,7 +270,7 @@ } } } -@@ -4157,6 +4060,9 @@ +@@ -4136,6 +4046,9 @@ refresh_count = refresh_limit = 0; scr_refresh(refresh_type); scrollbar_show(mouseoffset); @@ -247,7 +280,7 @@ #endif } else if ((ev->xany.window == scrollBar.win) && scrollbar_isMotion()) { Window unused_root, unused_child; -@@ -4174,6 +4080,9 @@ +@@ -4153,6 +4066,9 @@ refresh_count = refresh_limit = 0; scr_refresh(refresh_type); scrollbar_show(mouseoffset); @@ -257,7 +290,7 @@ } #ifdef PROFILE_X_EVENTS P_SETTIMEVAL(motion_stop); -@@ -5065,6 +4974,9 @@ +@@ -5044,6 +4960,9 @@ } } Gr_do_graphics(cmd, nargs, args, text); @@ -267,7 +300,7 @@ #endif } -@@ -6311,6 +6223,9 @@ +@@ -6293,6 +6212,9 @@ /* parent already resized */ resize_window1(width, height); @@ -277,7 +310,7 @@ } /* xterm sequences - title, iconName, color (exptl) */ -@@ -6893,6 +6808,328 @@ +@@ -6875,6 +6797,328 @@ free(orig_tnstr); #endif } diff --git a/japanese/eterm/files/patch-ar b/japanese/eterm/files/patch-ar new file mode 100644 index 000000000000..afc87c8799dd --- /dev/null +++ b/japanese/eterm/files/patch-ar @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig Sun Jan 23 23:14:37 2000 ++++ src/Makefile.in Sun Jan 23 23:14:55 2000 +@@ -106,7 +106,7 @@ + libEterm_la_SOURCES = activeconfig.c activeeterm.c activetags.c command.c graphics.c grkelot.c menubar.c misc.c netdisp.c options.c pixmap.c screen.c scrollbar.c system.c threads.c utmp.c + + libEterm_la_DEPENDENCIES = $(DIST_ROOT)/libmej/libmej.la feature.h +-libEterm_la_LDFLAGS = -release $(VERSION) ++libEterm_la_LDFLAGS = -version-info 8:8:8 + + bin_PROGRAMS = Eterm + Eterm_SOURCES = main.c diff --git a/japanese/eterm/files/patch-as b/japanese/eterm/files/patch-as new file mode 100644 index 000000000000..ce84db3bbba8 --- /dev/null +++ b/japanese/eterm/files/patch-as @@ -0,0 +1,11 @@ +--- libmej/Makefile.in.orig Sun Jan 23 23:22:35 2000 ++++ libmej/Makefile.in Sun Jan 23 23:23:12 2000 +@@ -107,7 +107,7 @@ + + INCLUDES = -I. -I$(top_srcdir) -I$(top_srcdir)/src -I.. -I$(includedir) -I$(prefix)/include $(X_CFLAGS) + +-libmej_la_LDFLAGS = -release $(VERSION) ++libmej_la_LDFLAGS = -version-info 8:8:8 + + EXTRA_DIST = debug.h global.h mem.h strings.h strptime.h strptime.c + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/japanese/eterm/pkg-plist b/japanese/eterm/pkg-plist index 70d41b8b49b4..c786d3fd01f7 100644 --- a/japanese/eterm/pkg-plist +++ b/japanese/eterm/pkg-plist @@ -14,9 +14,9 @@ lib/libmej.so.8 @unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R @exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B share/Eterm/pix/014.png +share/Eterm/pix/40.png +share/Eterm/pix/6.png share/Eterm/pix/backwave.jpg -share/Eterm/pix/button1.jpg -share/Eterm/pix/button5.jpg share/Eterm/pix/circuit.png share/Eterm/pix/fourthday.jpg share/Eterm/pix/gaia.jpg @@ -47,7 +47,6 @@ share/Eterm/themes/trans/pixmaps.list share/doc/Eterm/Eterm_reference.html share/doc/Eterm/Eterm.tcap share/doc/Eterm/Eterm.ti -share/doc/Eterm/FAQ.html share/doc/Eterm/ReleaseNotes @dirrm share/Eterm/themes/trans @dirrm share/Eterm/themes/tn3270 |