diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2002-07-07 19:45:39 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2002-07-07 19:45:39 +0000 |
commit | 2f559088ea779422f04d0db46c642ef2f3b691a7 (patch) | |
tree | 98fc916e2c8c25d98ab237f78db4285a142f0691 | |
parent | 268a83bff7f783cb46719fa7da111989eb5d2ffa (diff) | |
download | pkgsrc-2f559088ea779422f04d0db46c642ef2f3b691a7.tar.gz |
import cooledit-3.17.5 per PR pkg/17490 submitted by
Rui-Xiang Guo <rxg@ms25.url.com.tw>.
Cooledit is a full-featured text editor, for Unix computers that run
the X Window System. Cooledit was born from a need for a user
friendly text editor that would rival editors of other operating
systems in ease of use and convenience. Lately Cooledit is also a
powerful programmer's editor. It is also small and fast, making it
ideal for interface with applications that allow for, or require, an
external editor. See 'Features' in the man page for a more elaborate
description of what Cooledit can do.
-rw-r--r-- | editors/cooledit/DESCR | 8 | ||||
-rw-r--r-- | editors/cooledit/Makefile | 27 | ||||
-rw-r--r-- | editors/cooledit/PLIST | 94 | ||||
-rw-r--r-- | editors/cooledit/distinfo | 13 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-aa | 37 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-ab | 13 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-ac | 12 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-ad | 21 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-ae | 19 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-af | 15 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-ag | 13 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-ah | 12 | ||||
-rw-r--r-- | editors/cooledit/patches/patch-ai | 33 |
13 files changed, 317 insertions, 0 deletions
diff --git a/editors/cooledit/DESCR b/editors/cooledit/DESCR new file mode 100644 index 00000000000..46d2913a720 --- /dev/null +++ b/editors/cooledit/DESCR @@ -0,0 +1,8 @@ + Cooledit is a full-featured text editor, for Unix computers that run + the X Window System. Cooledit was born from a need for a user + friendly text editor that would rival editors of other operating + systems in ease of use and convenience. Lately Cooledit is also a + powerful programmer's editor. It is also small and fast, making it + ideal for interface with applications that allow for, or require, an + external editor. See 'Features' in the man page for a more elaborate + description of what Cooledit can do. diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile new file mode 100644 index 00000000000..daaec6b1730 --- /dev/null +++ b/editors/cooledit/Makefile @@ -0,0 +1,27 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ +# + +DISTNAME= cooledit-3.17.5 +CATEGORIES= editors +MASTER_SITES= http://cooledit.sourceforge.net/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://cooledit.sourceforge.net/ +COMMENT= full-featured text editor + +USE_X11BASE= yes +USE_LIBTOOL= yes +LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +GNU_CONFIGURE= yes +BUILD_USES_MSGFMT= yes + +post-configure: + if ! ${GREP} -q mbstate_t /usr/include/machine/ansi.h ; then \ + ${MV} ${WRKSRC}/config.h ${WRKSRC}/config.h.bak ; \ + ${SED} 's;^.*HAVE_WCHAR_H.*$$;/* mbstate_t is missing from machine/ansi.h */;g' \ + < ${WRKSRC}/config.h.bak > ${WRKSRC}/config.h ; \ + fi + +.include "../../graphics/xpm/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/editors/cooledit/PLIST b/editors/cooledit/PLIST new file mode 100644 index 00000000000..3ef42661db7 --- /dev/null +++ b/editors/cooledit/PLIST @@ -0,0 +1,94 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ +bin/coolbrowse +bin/cooledit +bin/cooledit-gdb +bin/coolicon +bin/coolinput +bin/coollistbox +bin/coolman +bin/coolmessage +bin/coolproject +bin/coolquery +bin/smalledit +lib/cooledit/Xmlrpclib.py +lib/cooledit/c_utils.py +lib/cooledit/global.py +lib/cooledit/sh_utils.py +lib/cooledit/syntax/ada95.syntax +lib/cooledit/syntax/bapc.syntax +lib/cooledit/syntax/c.syntax +lib/cooledit/syntax/changelog.syntax +lib/cooledit/syntax/diff.syntax +lib/cooledit/syntax/fortran.syntax +lib/cooledit/syntax/html.syntax +lib/cooledit/syntax/jasm.syntax +lib/cooledit/syntax/java.syntax +lib/cooledit/syntax/latex.syntax +lib/cooledit/syntax/lsm.syntax +lib/cooledit/syntax/lua.syntax +lib/cooledit/syntax/mail.syntax +lib/cooledit/syntax/makefile.syntax +lib/cooledit/syntax/mhtml.syntax +lib/cooledit/syntax/ml.syntax +lib/cooledit/syntax/mudela.syntax +lib/cooledit/syntax/nroff.syntax +lib/cooledit/syntax/pascal.syntax +lib/cooledit/syntax/perl.syntax +lib/cooledit/syntax/php.syntax +lib/cooledit/syntax/prolog.syntax +lib/cooledit/syntax/python.syntax +lib/cooledit/syntax/sh.syntax +lib/cooledit/syntax/smalltalk.syntax +lib/cooledit/syntax/swig.syntax +lib/cooledit/syntax/texinfo.syntax +lib/cooledit/syntax/unknown.syntax +lib/cooledit/zope_utils.py +lib/coolicon/browse.xpm +lib/coolicon/cdrom_eject.xpm +lib/coolicon/cdrom_view.xpm +lib/coolicon/cooledit.xpm +lib/coolicon/coolicon.config +lib/coolicon/dynamite.xpm +lib/coolicon/e.data +lib/coolicon/gmc.xpm +lib/coolicon/launch.xpm +lib/coolicon/lyx.xpm +lib/coolicon/manual.xpm +lib/coolicon/mc.xpm +lib/coolicon/modify-xinitrc +lib/coolicon/netscape.xpm +lib/coolicon/nscape.xpm +lib/coolicon/phonedown.xpm +lib/coolicon/phoneup.xpm +lib/coolicon/printer.xpm +lib/coolicon/spanner.xpm +lib/coolicon/xterm.xpm +lib/coolicon/xv.xpm +lib/libCw.a +lib/libCw.la +lib/libCw.so +lib/libCw.so.1 +lib/libCw.so.1.0 +man/man1/cooledit.1 +man/man1/coolicon.1 +man/man1/coolman.1 +man/man1/smalledit.1 +${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/da/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/de/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/es/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/it/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/no/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/sl/LC_MESSAGES/cooledit.mo +${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/cooledit.mo +@dirrm lib/coolicon +@dirrm lib/cooledit/syntax +@dirrm lib/cooledit diff --git a/editors/cooledit/distinfo b/editors/cooledit/distinfo new file mode 100644 index 00000000000..d9317d253d2 --- /dev/null +++ b/editors/cooledit/distinfo @@ -0,0 +1,13 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +SHA1 (cooledit-3.17.5.tar.gz) = 7a5685b6694460bd7e5e58e508e599500d218532 +Size (cooledit-3.17.5.tar.gz) = 1530105 bytes +SHA1 (patch-aa) = 0234ddc8c42c712bf82d96f8b5e70ddd4b7f56b5 +SHA1 (patch-ab) = d85ef6100fe3f9dcecdb88af57d585a8ea0881ae +SHA1 (patch-ac) = bae59eea56c2499bc4fcf5bdb1eda9356ac22e2f +SHA1 (patch-ad) = 09de32bf6e88b11136acf13756dbdc9a77003673 +SHA1 (patch-ae) = b5de0e395562effea6790be06b65d0d7265a4ea1 +SHA1 (patch-af) = c3d948e490e1756c33080e252949de0fb1c4743a +SHA1 (patch-ag) = 6f1fd9f6b73a71d6120d2c8af3e641ecaf7f15bb +SHA1 (patch-ah) = 5f4301bdd7cf84f9d00f000a6b6af6075aa19195 +SHA1 (patch-ai) = 73a5bbce734d5a6458537d96ed64fcf2072e348f diff --git a/editors/cooledit/patches/patch-aa b/editors/cooledit/patches/patch-aa new file mode 100644 index 00000000000..bf8c6e93753 --- /dev/null +++ b/editors/cooledit/patches/patch-aa @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- configure.orig Sun Oct 28 02:36:23 2001 ++++ configure +@@ -6243,7 +6197,6 @@ + + fi + +-PACKAGE_FORCE_USE_INCLUDED_GETTEXT=yes + echo $ac_n "checking for off_t""... $ac_c" 1>&6 + echo "configure:6249: checking for off_t" >&5 + if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then +@@ -6770,12 +6723,9 @@ + withval="$with_included_gettext" + nls_cv_force_use_gnu_gettext=$withval + else +- nls_cv_force_use_gnu_gettext=yes ++ nls_cv_force_use_gnu_gettext=no + fi + +- if test x$PACKAGE_FORCE_USE_INCLUDED_GETTEXT != x ; then +- nls_cv_force_use_gnu_gettext=$PACKAGE_FORCE_USE_INCLUDED_GETTEXT +- fi + echo "$ac_t""$nls_cv_force_use_gnu_gettext" 1>&6 + + nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" +@@ -8093,8 +8056,8 @@ + EOF + + cat >> $CONFIG_STATUS <<EOF +-ac_sources="$nls_cv_header_libgt $nls_cv_header_libgt" +-ac_dests="$nls_cv_header_intl $nls_cv_header_intl" ++ac_sources="$nls_cv_header_libgt" ++ac_dests="$nls_cv_header_intl" + EOF + + cat >> $CONFIG_STATUS <<\EOF diff --git a/editors/cooledit/patches/patch-ab b/editors/cooledit/patches/patch-ab new file mode 100644 index 00000000000..50c49d94bbb --- /dev/null +++ b/editors/cooledit/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- widget/libgettext.h.orig Sat Jul 6 15:38:39 2002 ++++ widget/libgettext.h +@@ -126,7 +126,7 @@ + /* Solaris 2.3 has the gettext function but dcgettext is missing. + So we omit this optimization for Solaris 2.3. BTW, Solaris 2.4 + has dcgettext. */ +-# if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT) ++# if !HAVE_CATGETS && (!HAVE_GETTEXT || HAVE_DCGETTEXT) && !defined(__NetBSD__) + + # define gettext(Msgid) \ + dgettext (NULL, Msgid) diff --git a/editors/cooledit/patches/patch-ac b/editors/cooledit/patches/patch-ac new file mode 100644 index 00000000000..b04cc37a40a --- /dev/null +++ b/editors/cooledit/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- pixmap/Makefile.in.orig Sat Jul 6 16:20:21 2002 ++++ pixmap/Makefile.in +@@ -253,7 +253,6 @@ + + install-data-local: + chmod 0755 $(libdir)/coolicon/modify-xinitrc +- $(libdir)/coolicon/modify-xinitrc + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. diff --git a/editors/cooledit/patches/patch-ad b/editors/cooledit/patches/patch-ad new file mode 100644 index 00000000000..5e776373291 --- /dev/null +++ b/editors/cooledit/patches/patch-ad @@ -0,0 +1,21 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- widget/mad.c.orig Sat Oct 27 14:36:12 2001 ++++ widget/mad.c +@@ -24,6 +24,16 @@ + + #include "mad.h" + ++#include "config.h" ++ ++#ifdef HAVE_STRING_H ++#include <string.h> ++#endif ++ ++#ifdef HAVE_STDLIB_H ++#include <stdlib.h> ++#endif ++ + #undef malloc + #undef calloc + #undef strdup diff --git a/editors/cooledit/patches/patch-ae b/editors/cooledit/patches/patch-ae new file mode 100644 index 00000000000..c3262f05728 --- /dev/null +++ b/editors/cooledit/patches/patch-ae @@ -0,0 +1,19 @@ +$NetBSD: patch-ae,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- editor/postscript.c.orig Sat Oct 27 14:36:12 2001 ++++ editor/postscript.c +@@ -23,6 +23,14 @@ + #include <unistd.h> + #endif + ++#ifdef HAVE_STRING_H ++#include <string.h> ++#endif ++ ++#ifdef HAVE_STDLIB_H ++#include <stdlib.h> ++#endif ++ + #include "mad.h" + + static void zfree (unsigned char *s) diff --git a/editors/cooledit/patches/patch-af b/editors/cooledit/patches/patch-af new file mode 100644 index 00000000000..9d7a3a1973d --- /dev/null +++ b/editors/cooledit/patches/patch-af @@ -0,0 +1,15 @@ +$NetBSD: patch-af,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- widget/aafont.c.orig Sat Oct 27 14:36:12 2001 ++++ widget/aafont.c +@@ -20,6 +20,10 @@ + #include <config.h> + #include <stdlib.h> + #include <stdio.h> ++ ++#ifdef HAVE_STRING_H ++#include <string.h> ++#endif + #include <X11/Xlib.h> + #include <X11/Xutil.h> + #include "aafont.h" diff --git a/editors/cooledit/patches/patch-ag b/editors/cooledit/patches/patch-ag new file mode 100644 index 00000000000..2229d3fbc23 --- /dev/null +++ b/editors/cooledit/patches/patch-ag @@ -0,0 +1,13 @@ +$NetBSD: patch-ag,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- icon/coolicon.c.orig Sat Oct 27 14:36:12 2001 ++++ icon/coolicon.c +@@ -239,7 +239,7 @@ + return 0; + } + +-void raise_lower_all (int r) ++void raise_lower_all (long int r) + { + XUngrabPointer (CDisplay, CurrentTime); + for_all_widgets ((void *) raise_lower_all_callback, (void *) r, 0); diff --git a/editors/cooledit/patches/patch-ah b/editors/cooledit/patches/patch-ah new file mode 100644 index 00000000000..4c56857fe51 --- /dev/null +++ b/editors/cooledit/patches/patch-ah @@ -0,0 +1,12 @@ +$NetBSD: patch-ah,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- widget/editcmd.c.orig Sat Oct 27 14:36:12 2001 ++++ widget/editcmd.c +@@ -249,6 +249,7 @@ + FILE *file; + char *savename = 0; + int this_save_mode, fd; ++ extern char *edit_get_write_filter (char *writename, char *filename); + + if (!filename) + return 0; diff --git a/editors/cooledit/patches/patch-ai b/editors/cooledit/patches/patch-ai new file mode 100644 index 00000000000..a3652abb60c --- /dev/null +++ b/editors/cooledit/patches/patch-ai @@ -0,0 +1,33 @@ +$NetBSD: patch-ai,v 1.1.1.1 2002/07/07 19:45:39 dmcmahill Exp $ + +--- editor/shell.c.orig Sat Oct 27 14:36:12 2001 ++++ editor/shell.c +@@ -437,8 +437,8 @@ + { + CWidget *w; + struct running_shell *r; +- int i, count = 0, do_redraw = 0; +- r = &running_shell[i = (int) data]; ++ long int i, count = 0, do_redraw = 0; ++ r = &running_shell[i = (long int) data]; + if (r->shell_pipe != fd) { + printf ("huh??\n"); + } +@@ -560,7 +560,7 @@ + char *argv[] = + {0, 0}; + pid_t p; +- int i; ++ long int i; + i = restart_shell (0, name, 0); + argv[0] = hme_i (SCRIPT_FILE, i); + savefile (argv[0], s, strlen (s), 0700); +@@ -585,7 +585,7 @@ + char *argv[] = + {0, 0}; + pid_t p = 0; +- int i; ++ long int i; + + i = restart_shell (0, name, 0); + argv[0] = hme_i (SCRIPT_FILE, i); |