From 93f1a80686646f7adbd7850cd5a7ad8f44ae373c Mon Sep 17 00:00:00 2001 From: obache Date: Sun, 10 Jun 2012 12:50:33 +0000 Subject: Import medit-1.1.0 as editors/medit. medit is a GTK text editor. Started as an editor component of GGAP (http://ggap.sourceforge.net/), it grew up to a real full-featured text editor. --- editors/medit/DESCR | 3 + editors/medit/Makefile | 36 +++ editors/medit/PLIST | 273 +++++++++++++++++++++ editors/medit/distinfo | 6 + .../medit/patches/patch-moo_mooutils_mooutils-fs.c | 16 ++ 5 files changed, 334 insertions(+) create mode 100644 editors/medit/DESCR create mode 100644 editors/medit/Makefile create mode 100644 editors/medit/PLIST create mode 100644 editors/medit/distinfo create mode 100644 editors/medit/patches/patch-moo_mooutils_mooutils-fs.c (limited to 'editors') diff --git a/editors/medit/DESCR b/editors/medit/DESCR new file mode 100644 index 00000000000..a7c6be67c1f --- /dev/null +++ b/editors/medit/DESCR @@ -0,0 +1,3 @@ +medit is a GTK text editor. Started as an editor component of GGAP +(http://ggap.sourceforge.net/), it grew up to a real full-featured +text editor. diff --git a/editors/medit/Makefile b/editors/medit/Makefile new file mode 100644 index 00000000000..3e21930d525 --- /dev/null +++ b/editors/medit/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2012/06/10 12:50:33 obache Exp $ +# + +DISTNAME= medit-1.1.0 +CATEGORIES= editors +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mooedit/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://medit.bitbucket.org/ +COMMENT= Programming and around-programming text editor +LICENSE= gnu-lgpl-v2.1 + +BUILD_DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat + +PKG_DESTDIR_SUPPORT= user-destdir + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake pkg-config msgfmt intltool + +PYTHON_FOR_BUILD_ONLY= yes +CONFIGURE_ARGS+= --with-python=no + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../lang/python/application.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../x11/libSM/buildlink3.mk" +.include "../../mk/dlopen.buildlink3.mk" +BUILDLINK_TRANSFORM+= rename:-ldl:${BUILDLINK_LDADD.dl:Q} +.include "../../mk/bsd.pkg.mk" diff --git a/editors/medit/PLIST b/editors/medit/PLIST new file mode 100644 index 00000000000..455cf4090ef --- /dev/null +++ b/editors/medit/PLIST @@ -0,0 +1,273 @@ +@comment $NetBSD: PLIST,v 1.1 2012/06/10 12:50:33 obache Exp $ +bin/medit +man/man1/medit.1 +share/applications/medit.desktop +share/doc/medit-1/help/ch01.html +share/doc/medit-1/help/ch01s01.html +share/doc/medit-1/help/ch01s02.html +share/doc/medit-1/help/ch01s03.html +share/doc/medit-1/help/ch01s04.html +share/doc/medit-1/help/ch01s05.html +share/doc/medit-1/help/ch01s06.html +share/doc/medit-1/help/ch01s07.html +share/doc/medit-1/help/ch01s08.html +share/doc/medit-1/help/ch02.html +share/doc/medit-1/help/ch03.html +share/doc/medit-1/help/ch03s01.html +share/doc/medit-1/help/ch03s02.html +share/doc/medit-1/help/ch03s03.html +share/doc/medit-1/help/ch03s04.html +share/doc/medit-1/help/ch03s05.html +share/doc/medit-1/help/ch04.html +share/doc/medit-1/help/ch04s01.html +share/doc/medit-1/help/ch04s02.html +share/doc/medit-1/help/ch04s03.html +share/doc/medit-1/help/ch04s04.html +share/doc/medit-1/help/ch04s05.html +share/doc/medit-1/help/help.html +share/doc/medit-1/help/img/prefs-file-filters.png +share/doc/medit-1/help/img/prefs-file-selector.png +share/doc/medit-1/help/index.html +share/doc/medit-1/help/medit.css +share/doc/medit-1/help/script/ch01s01.html +share/doc/medit-1/help/script/ch01s02.html +share/doc/medit-1/help/script/ch01s03.html +share/doc/medit-1/help/script/ch01s04.html +share/doc/medit-1/help/script/ch01s05.html +share/doc/medit-1/help/script/ch01s06.html +share/doc/medit-1/help/script/ch01s07.html +share/doc/medit-1/help/script/ch01s08.html +share/doc/medit-1/help/script/ch01s09.html +share/doc/medit-1/help/script/ch01s10.html +share/doc/medit-1/help/script/ch01s11.html +share/doc/medit-1/help/script/ch01s12.html +share/doc/medit-1/help/script/ch01s13.html +share/doc/medit-1/help/script/ch01s14.html +share/doc/medit-1/help/script/ch01s15.html +share/doc/medit-1/help/script/ch01s16.html +share/doc/medit-1/help/script/ch02s01.html +share/doc/medit-1/help/script/ch02s02.html +share/doc/medit-1/help/script/ch02s03.html +share/doc/medit-1/help/script/ch02s04.html +share/doc/medit-1/help/script/ch02s05.html +share/doc/medit-1/help/script/ch02s06.html +share/doc/medit-1/help/script/ch02s07.html +share/doc/medit-1/help/script/ch02s08.html +share/doc/medit-1/help/script/ch02s09.html +share/doc/medit-1/help/script/ch02s10.html +share/doc/medit-1/help/script/ch02s11.html +share/doc/medit-1/help/script/ch02s12.html +share/doc/medit-1/help/script/ch02s13.html +share/doc/medit-1/help/script/ch02s14.html +share/doc/medit-1/help/script/ch02s15.html +share/doc/medit-1/help/script/ch03s01.html +share/doc/medit-1/help/script/ch03s02.html +share/doc/medit-1/help/script/ch03s03.html +share/doc/medit-1/help/script/ch03s04.html +share/doc/medit-1/help/script/ch03s05.html +share/doc/medit-1/help/script/ch03s06.html +share/doc/medit-1/help/script/ch03s07.html +share/doc/medit-1/help/script/ch03s08.html +share/doc/medit-1/help/script/ch03s09.html +share/doc/medit-1/help/script/ch03s10.html +share/doc/medit-1/help/script/ch03s11.html +share/doc/medit-1/help/script/ch03s12.html +share/doc/medit-1/help/script/ch03s13.html +share/doc/medit-1/help/script/ch03s14.html +share/doc/medit-1/help/script/index.html +share/doc/medit-1/help/script/lua-gtk.html +share/doc/medit-1/help/script/lua-moo.html +share/doc/medit-1/help/script/python-moo.html +share/icons/hicolor/48x48/apps/medit.png +share/locale/ar/LC_MESSAGES/medit-1-gsv.mo +share/locale/as/LC_MESSAGES/medit-1-gsv.mo +share/locale/ast/LC_MESSAGES/medit-1-gsv.mo +share/locale/az/LC_MESSAGES/medit-1-gsv.mo +share/locale/be/LC_MESSAGES/medit-1-gsv.mo +share/locale/bg/LC_MESSAGES/medit-1-gsv.mo +share/locale/bn/LC_MESSAGES/medit-1-gsv.mo +share/locale/bn_IN/LC_MESSAGES/medit-1-gsv.mo +share/locale/bs/LC_MESSAGES/medit-1-gsv.mo +share/locale/ca/LC_MESSAGES/medit-1-gsv.mo +share/locale/ca@valencia/LC_MESSAGES/medit-1-gsv.mo +share/locale/cs/LC_MESSAGES/medit-1-gsv.mo +share/locale/cs/LC_MESSAGES/medit-1.mo +share/locale/cy/LC_MESSAGES/medit-1-gsv.mo +share/locale/da/LC_MESSAGES/medit-1-gsv.mo +share/locale/de/LC_MESSAGES/medit-1-gsv.mo +share/locale/de/LC_MESSAGES/medit-1.mo +share/locale/dz/LC_MESSAGES/medit-1-gsv.mo +share/locale/el/LC_MESSAGES/medit-1-gsv.mo +share/locale/en@shaw/LC_MESSAGES/medit-1-gsv.mo +share/locale/en_CA/LC_MESSAGES/medit-1-gsv.mo +share/locale/en_GB/LC_MESSAGES/medit-1-gsv.mo +share/locale/es/LC_MESSAGES/medit-1-gsv.mo +share/locale/es/LC_MESSAGES/medit-1.mo +share/locale/et/LC_MESSAGES/medit-1-gsv.mo +share/locale/eu/LC_MESSAGES/medit-1-gsv.mo +share/locale/fa/LC_MESSAGES/medit-1-gsv.mo +share/locale/fi/LC_MESSAGES/medit-1-gsv.mo +share/locale/fi/LC_MESSAGES/medit-1.mo +share/locale/fr/LC_MESSAGES/medit-1-gsv.mo +share/locale/fr/LC_MESSAGES/medit-1.mo +share/locale/ga/LC_MESSAGES/medit-1-gsv.mo +share/locale/gl/LC_MESSAGES/medit-1-gsv.mo +share/locale/gu/LC_MESSAGES/medit-1-gsv.mo +share/locale/he/LC_MESSAGES/medit-1-gsv.mo +share/locale/hi/LC_MESSAGES/medit-1-gsv.mo +share/locale/hr/LC_MESSAGES/medit-1-gsv.mo +share/locale/hu/LC_MESSAGES/medit-1-gsv.mo +share/locale/id/LC_MESSAGES/medit-1-gsv.mo +share/locale/it/LC_MESSAGES/medit-1-gsv.mo +share/locale/ja/LC_MESSAGES/medit-1-gsv.mo +share/locale/ja/LC_MESSAGES/medit-1.mo +share/locale/kn/LC_MESSAGES/medit-1-gsv.mo +share/locale/ko/LC_MESSAGES/medit-1-gsv.mo +share/locale/lt/LC_MESSAGES/medit-1-gsv.mo +share/locale/lv/LC_MESSAGES/medit-1-gsv.mo +share/locale/mai/LC_MESSAGES/medit-1-gsv.mo +share/locale/mg/LC_MESSAGES/medit-1-gsv.mo +share/locale/mk/LC_MESSAGES/medit-1-gsv.mo +share/locale/ml/LC_MESSAGES/medit-1-gsv.mo +share/locale/mn/LC_MESSAGES/medit-1-gsv.mo +share/locale/mr/LC_MESSAGES/medit-1-gsv.mo +share/locale/ms/LC_MESSAGES/medit-1-gsv.mo +share/locale/nb/LC_MESSAGES/medit-1-gsv.mo +share/locale/ne/LC_MESSAGES/medit-1-gsv.mo +share/locale/nl/LC_MESSAGES/medit-1-gsv.mo +share/locale/nl/LC_MESSAGES/medit-1.mo +share/locale/nn/LC_MESSAGES/medit-1-gsv.mo +share/locale/oc/LC_MESSAGES/medit-1-gsv.mo +share/locale/or/LC_MESSAGES/medit-1-gsv.mo +share/locale/pa/LC_MESSAGES/medit-1-gsv.mo +share/locale/pl/LC_MESSAGES/medit-1-gsv.mo +share/locale/pt/LC_MESSAGES/medit-1-gsv.mo +share/locale/pt_BR/LC_MESSAGES/medit-1-gsv.mo +share/locale/ro/LC_MESSAGES/medit-1-gsv.mo +share/locale/ru/LC_MESSAGES/medit-1-gsv.mo +share/locale/ru/LC_MESSAGES/medit-1.mo +share/locale/rw/LC_MESSAGES/medit-1-gsv.mo +share/locale/si/LC_MESSAGES/medit-1-gsv.mo +share/locale/sk/LC_MESSAGES/medit-1-gsv.mo +share/locale/sl/LC_MESSAGES/medit-1-gsv.mo +share/locale/sq/LC_MESSAGES/medit-1-gsv.mo +share/locale/sr/LC_MESSAGES/medit-1-gsv.mo +share/locale/sr@latin/LC_MESSAGES/medit-1-gsv.mo +share/locale/sv/LC_MESSAGES/medit-1-gsv.mo +share/locale/ta/LC_MESSAGES/medit-1-gsv.mo +share/locale/te/LC_MESSAGES/medit-1-gsv.mo +share/locale/th/LC_MESSAGES/medit-1-gsv.mo +share/locale/tr/LC_MESSAGES/medit-1-gsv.mo +share/locale/ug/LC_MESSAGES/medit-1-gsv.mo +share/locale/uk/LC_MESSAGES/medit-1-gsv.mo +share/locale/vi/LC_MESSAGES/medit-1-gsv.mo +share/locale/xh/LC_MESSAGES/medit-1-gsv.mo +share/locale/zh_CN/LC_MESSAGES/medit-1-gsv.mo +share/locale/zh_CN/LC_MESSAGES/medit-1.mo +share/locale/zh_HK/LC_MESSAGES/medit-1-gsv.mo +share/locale/zh_TW/LC_MESSAGES/medit-1-gsv.mo +share/medit-1/context.xml +share/medit-1/filters.xml +share/medit-1/language-specs/R.lang +share/medit-1/language-specs/ada.lang +share/medit-1/language-specs/asp.lang +share/medit-1/language-specs/awk.lang +share/medit-1/language-specs/bennugd.lang +share/medit-1/language-specs/bibtex.lang +share/medit-1/language-specs/boo.lang +share/medit-1/language-specs/c.lang +share/medit-1/language-specs/cg.lang +share/medit-1/language-specs/changelog.lang +share/medit-1/language-specs/chdr.lang +share/medit-1/language-specs/check.sh +share/medit-1/language-specs/classic.xml +share/medit-1/language-specs/cmake.lang +share/medit-1/language-specs/cobalt.xml +share/medit-1/language-specs/cobol.lang +share/medit-1/language-specs/cpp.lang +share/medit-1/language-specs/csharp.lang +share/medit-1/language-specs/css.lang +share/medit-1/language-specs/cuda.lang +share/medit-1/language-specs/d.lang +share/medit-1/language-specs/def.lang +share/medit-1/language-specs/desktop.lang +share/medit-1/language-specs/diff.lang +share/medit-1/language-specs/docbook.lang +share/medit-1/language-specs/dosbatch.lang +share/medit-1/language-specs/dot.lang +share/medit-1/language-specs/dpatch.lang +share/medit-1/language-specs/dtd.lang +share/medit-1/language-specs/eiffel.lang +share/medit-1/language-specs/erlang.lang +share/medit-1/language-specs/fcl.lang +share/medit-1/language-specs/forth.lang +share/medit-1/language-specs/fortran.lang +share/medit-1/language-specs/fsharp.lang +share/medit-1/language-specs/gap.lang +share/medit-1/language-specs/gdb-log.lang +share/medit-1/language-specs/glsl.lang +share/medit-1/language-specs/go.lang +share/medit-1/language-specs/gtk-doc.lang +share/medit-1/language-specs/gtkrc.lang +share/medit-1/language-specs/haddock.lang +share/medit-1/language-specs/haskell-literate.lang +share/medit-1/language-specs/haskell.lang +share/medit-1/language-specs/html.lang +share/medit-1/language-specs/idl.lang +share/medit-1/language-specs/ini.lang +share/medit-1/language-specs/java.lang +share/medit-1/language-specs/javascript.lang +share/medit-1/language-specs/kate.xml +share/medit-1/language-specs/language2.rng +share/medit-1/language-specs/latex.lang +share/medit-1/language-specs/libtool.lang +share/medit-1/language-specs/lua.lang +share/medit-1/language-specs/m4.lang +share/medit-1/language-specs/makefile.lang +share/medit-1/language-specs/mallard.lang +share/medit-1/language-specs/medit.xml +share/medit-1/language-specs/msil.lang +share/medit-1/language-specs/nemerle.lang +share/medit-1/language-specs/nsis.lang +share/medit-1/language-specs/objc.lang +share/medit-1/language-specs/oblivion.xml +share/medit-1/language-specs/ocaml.lang +share/medit-1/language-specs/ocl.lang +share/medit-1/language-specs/octave.lang +share/medit-1/language-specs/ooc.lang +share/medit-1/language-specs/opal.lang +share/medit-1/language-specs/pascal.lang +share/medit-1/language-specs/perl.lang +share/medit-1/language-specs/php.lang +share/medit-1/language-specs/pkgconfig.lang +share/medit-1/language-specs/po.lang +share/medit-1/language-specs/prolog.lang +share/medit-1/language-specs/protobuf.lang +share/medit-1/language-specs/python-console.lang +share/medit-1/language-specs/python.lang +share/medit-1/language-specs/rpmspec.lang +share/medit-1/language-specs/ruby.lang +share/medit-1/language-specs/scheme.lang +share/medit-1/language-specs/scilab.lang +share/medit-1/language-specs/sh.lang +share/medit-1/language-specs/sparql.lang +share/medit-1/language-specs/sql.lang +share/medit-1/language-specs/systemverilog.lang +share/medit-1/language-specs/t2t.lang +share/medit-1/language-specs/tango.xml +share/medit-1/language-specs/tcl.lang +share/medit-1/language-specs/texinfo.lang +share/medit-1/language-specs/vala.lang +share/medit-1/language-specs/vbnet.lang +share/medit-1/language-specs/verilog.lang +share/medit-1/language-specs/vhdl.lang +share/medit-1/language-specs/xml.lang +share/medit-1/language-specs/xslt.lang +share/medit-1/language-specs/yacc.lang +share/medit-1/lua/_moo/_string.lua +share/medit-1/lua/_moo/_table.lua +share/medit-1/lua/_moo/_util.lua +share/medit-1/lua/_moo/builtin.lua +share/medit-1/lua/_moo/os.lua +share/medit-1/lua/_moo/path.lua +share/medit-1/menu.xml diff --git a/editors/medit/distinfo b/editors/medit/distinfo new file mode 100644 index 00000000000..7a5790fc763 --- /dev/null +++ b/editors/medit/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2012/06/10 12:50:33 obache Exp $ + +SHA1 (medit-1.1.0.tar.bz2) = d5df19871dc617f89ff02334205d69683032681e +RMD160 (medit-1.1.0.tar.bz2) = db517a029aaf07a8b81c556e131763c63ccb2d89 +Size (medit-1.1.0.tar.bz2) = 1698094 bytes +SHA1 (patch-moo_mooutils_mooutils-fs.c) = 34381d77d50202619ca56e5cbbe3c1bb7df3e628 diff --git a/editors/medit/patches/patch-moo_mooutils_mooutils-fs.c b/editors/medit/patches/patch-moo_mooutils_mooutils-fs.c new file mode 100644 index 00000000000..87b8e9a4274 --- /dev/null +++ b/editors/medit/patches/patch-moo_mooutils_mooutils-fs.c @@ -0,0 +1,16 @@ +$NetBSD: patch-moo_mooutils_mooutils-fs.c,v 1.1 2012/06/10 12:50:33 obache Exp $ + +* existence of sys/wait.h is not checked by configure script. + https://sourceforge.net/tracker/?func=detail&aid=3532386&group_id=167563&atid=843451 + +--- moo/mooutils/mooutils-fs.c.orig 2012-03-04 11:37:37.000000000 +0000 ++++ moo/mooutils/mooutils-fs.c +@@ -45,7 +45,7 @@ + #define S_IRWXU 0 + #endif + +-#ifdef HAVE_SYS_WAIT_H ++#ifndef __WIN32__ + #include + #endif + #ifdef HAVE_UNISTD_H -- cgit v1.2.3