pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

newer versions of scite and scintilla



Module Name:	pkgsrc-wip
Committed By:	Daniel Oelschlegel <amoibos%gmail.com@localhost>
Pushed By:	amoibos
Date:		Sun Aug 28 17:53:06 2016 +0000
Changeset:	6e5fdb00a864b25dd8e509d41747de5a530489cc

Added Files:
	scintilla/DESCR
	scintilla/Makefile
	scintilla/PLIST
	scintilla/buildlink3.mk
	scintilla/distinfo
	scite/DESCR
	scite/Makefile
	scite/PLIST
	scite/distinfo
	scite/patches/patch-aa

Log Message:
newer versions of scite and scintilla

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6e5fdb00a864b25dd8e509d41747de5a530489cc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 scintilla/DESCR         | 10 +++++
 scintilla/Makefile      | 32 ++++++++++++++++
 scintilla/PLIST         |  6 +++
 scintilla/buildlink3.mk | 17 +++++++++
 scintilla/distinfo      |  5 +++
 scite/DESCR             |  4 ++
 scite/Makefile          | 37 ++++++++++++++++++
 scite/PLIST             | 99 +++++++++++++++++++++++++++++++++++++++++++++++++
 scite/distinfo          |  6 +++
 scite/patches/patch-aa  | 44 ++++++++++++++++++++++
 10 files changed, 260 insertions(+)

diffs:
diff --git a/scintilla/DESCR b/scintilla/DESCR
new file mode 100644
index 0000000..041e54b
--- /dev/null
+++ b/scintilla/DESCR
@@ -0,0 +1,10 @@
+Scintilla is a free source code editing component. It comes with complete
+source code and a license that permits use in any free project or
+commercial product.
+As well as features found in standard text editing components, Scintilla
+includes features especially useful when editing and debugging source code.
+These include support for syntax styling, error indicators, code completion
+and call tips. The selection margin can contain markers like those used
+in debuggers to indicate breakpoints and the current line. Styling choices
+are more open than with many editors, allowing the use of proportional fonts,
+bold and italics, multiple foreground and background colours and multiple fonts.
diff --git a/scintilla/Makefile b/scintilla/Makefile
new file mode 100644
index 0000000..3bfa3df
--- /dev/null
+++ b/scintilla/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.23 2015/04/25 14:20:40 tnn Exp $
+#
+
+DISTNAME=	scintilla339
+PKGNAME=	scintilla-3.3.9
+PKGREVISION=	2
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=scintilla/}
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://scintilla.sourceforge.net/
+COMMENT=	Source code editing component
+#LICENSE=	# TODO: (see mk/license.mk)
+
+WRKSRC=		${WRKDIR}/scintilla
+USE_LANGUAGES=	c c++
+USE_TOOLS+=	gmake pkg-config
+BUILD_DIRS=	gtk
+MAKE_FILE=	makefile
+
+INSTALLATION_DIRS= include/scintilla lib
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/include/Scintilla.h \
+		${WRKSRC}/include/ScintillaWidget.h \
+		${WRKSRC}/include/SciLexer.h \
+		${WRKSRC}/include/ILexer.h \
+		${DESTDIR}${PREFIX}/include/scintilla
+	${INSTALL_LIB} ${WRKSRC}/bin/scintilla.a ${DESTDIR}${PREFIX}/lib
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/scintilla/PLIST b/scintilla/PLIST
new file mode 100644
index 0000000..d3acfb4
--- /dev/null
+++ b/scintilla/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.2 2013/04/10 11:20:38 drochner Exp $
+include/scintilla/ILexer.h
+include/scintilla/SciLexer.h
+include/scintilla/Scintilla.h
+include/scintilla/ScintillaWidget.h
+lib/scintilla.a
diff --git a/scintilla/buildlink3.mk b/scintilla/buildlink3.mk
new file mode 100644
index 0000000..2242356
--- /dev/null
+++ b/scintilla/buildlink3.mk
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.12 2013/02/16 11:18:47 wiz Exp $
+
+BUILDLINK_TREE+=	scintilla
+
+.if !defined(SCINTILLA_BUILDLINK3_MK)
+SCINTILLA_BUILDLINK3_MK:=
+
+BUILDLINK_DEPMETHOD.scintilla?=	build
+
+BUILDLINK_API_DEPENDS.scintilla+=	scintilla>=2.23
+BUILDLINK_ABI_DEPENDS.scintilla+=	scintilla>=2.29nb7
+BUILDLINK_PKGSRCDIR.scintilla?=	../../devel/scintilla
+
+#.include "../../x11/gtk2/buildlink3.mk"
+.endif	# SCINTILLA_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-scintilla
diff --git a/scintilla/distinfo b/scintilla/distinfo
new file mode 100644
index 0000000..9e6e917
--- /dev/null
+++ b/scintilla/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.5 2014/02/06 17:25:49 drochner Exp $
+
+SHA1 (scintilla339.tgz) = 9e1937a9e6a41659c7fd0f1e460bf476573a652b
+RMD160 (scintilla339.tgz) = 22ef0452ffb58d4861255d27a7f2f7bd436f1e1e
+Size (scintilla339.tgz) = 1313246 bytes
diff --git a/scite/DESCR b/scite/DESCR
new file mode 100644
index 0000000..b296769
--- /dev/null
+++ b/scite/DESCR
@@ -0,0 +1,4 @@
+SciTE is a SCIntilla based Text Editor. Originally built to demonstrate
+Scintilla, it has grown to be a generally useful editor with facilities
+for building and running programs. It is best used for jobs with
+simple configurations.
diff --git a/scite/Makefile b/scite/Makefile
new file mode 100644
index 0000000..7993947
--- /dev/null
+++ b/scite/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.24 2015/04/25 14:20:43 tnn Exp $
+#
+
+DISTNAME=	scite366
+PKGNAME=	scite-3.6.6
+PKGREVISION=	0
+CATEGORIES=	editors
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=scintilla/}
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://scintilla.sourceforge.net/
+COMMENT=	Source code editor
+#LICENSE=	# TODO: (see mk/license.mk)
+
+WRKSRC=		${WRKDIR}/scite
+USE_LANGUAGES=	c c++
+BUILD_DIRS+=	gtk
+USE_TOOLS+=	gmake pkg-config
+MAKE_FILE=	makefile
+INSTALLATION_DIRS= share/applications share/pixmaps
+
+OPSYSVARS+=	BUILDLINK_TRANSFORM
+
+BUILDLINK_TRANSFORM.SunOS+=	rm:-Wl,--version-script=lua.vers
+
+post-extract:
+	${RM} -r ${WRKDIR}/scintilla
+	${RM} ${WRKSRC}/gtk/deps.mak
+	${TOUCH} ${WRKSRC}/gtk/deps.mak
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.scintilla+= scintilla>=3.2.4
+.include "../../devel/scintilla/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/scite/PLIST b/scite/PLIST
new file mode 100644
index 0000000..951588b
--- /dev/null
+++ b/scite/PLIST
@@ -0,0 +1,99 @@
+@comment $NetBSD: PLIST,v 1.5 2014/02/06 17:26:32 drochner Exp $
+bin/SciTE
+share/applications/SciTE.desktop
+share/pixmaps/Sci48M.png
+share/scite/CommandValues.html
+share/scite/Embedded.properties
+share/scite/PaneAPI.html
+share/scite/PrintHi.png
+share/scite/SciTE.html
+share/scite/SciTE.properties
+share/scite/SciTEDirector.html
+share/scite/SciTEDoc.html
+share/scite/SciTEDownload.html
+share/scite/SciTEExtension.html
+share/scite/SciTEExternalLexer.html
+share/scite/SciTEExtras.html
+share/scite/SciTEFAQ.html
+share/scite/SciTEGlobal.properties
+share/scite/SciTEIco.png
+share/scite/SciTEImage.html
+share/scite/SciTELexer.html
+share/scite/SciTELua.html
+share/scite/SciTERegEx.html
+share/scite/ScriptLexer.html
+share/scite/abaqus.properties
+share/scite/abbrev.properties
+share/scite/ada.properties
+share/scite/asl.properties
+share/scite/asm.properties
+share/scite/asn1.properties
+share/scite/au3.properties
+share/scite/ave.properties
+share/scite/avs.properties
+share/scite/baan.properties
+share/scite/blitzbasic.properties
+share/scite/bullant.properties
+share/scite/caml.properties
+share/scite/cmake.properties
+share/scite/cobol.properties
+share/scite/conf.properties
+share/scite/cpp.properties
+share/scite/csound.properties
+share/scite/css.properties
+share/scite/d.properties
+share/scite/ecl.properties
+share/scite/eiffel.properties
+share/scite/erlang.properties
+share/scite/escript.properties
+share/scite/flagship.properties
+share/scite/forth.properties
+share/scite/fortran.properties
+share/scite/freebasic.properties
+share/scite/gap.properties
+share/scite/haskell.properties
+share/scite/html.properties
+share/scite/inno.properties
+share/scite/kix.properties
+share/scite/latex.properties
+share/scite/lisp.properties
+share/scite/lot.properties
+share/scite/lout.properties
+share/scite/lua.properties
+share/scite/matlab.properties
+share/scite/metapost.properties
+share/scite/mmixal.properties
+share/scite/modula3.properties
+share/scite/nimrod.properties
+share/scite/nncrontab.properties
+share/scite/nsis.properties
+share/scite/opal.properties
+share/scite/oscript.properties
+share/scite/others.properties
+share/scite/pascal.properties
+share/scite/perl.properties
+share/scite/pov.properties
+share/scite/powerpro.properties
+share/scite/powershell.properties
+share/scite/ps.properties
+share/scite/purebasic.properties
+share/scite/python.properties
+share/scite/r.properties
+share/scite/rebol.properties
+share/scite/ruby.properties
+share/scite/rust.properties
+share/scite/scriptol.properties
+share/scite/smalltalk.properties
+share/scite/sorcins.properties
+share/scite/specman.properties
+share/scite/spice.properties
+share/scite/sql.properties
+share/scite/tacl.properties
+share/scite/tal.properties
+share/scite/tcl.properties
+share/scite/tex.properties
+share/scite/txt2tags.properties
+share/scite/vb.properties
+share/scite/verilog.properties
+share/scite/vhdl.properties
+share/scite/yaml.properties
diff --git a/scite/distinfo b/scite/distinfo
new file mode 100644
index 0000000..2aa49a8
--- /dev/null
+++ b/scite/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.7 2015/02/13 16:58:17 jperkin Exp $
+
+SHA1 (scite366.tgz) = 86651845f28aeee659286d5a4564a469407e9fcd
+RMD160 (scite366.tgz) = 59e70df6cfa6e8b6a891dbe5d777694cc2fb7cf7
+Size (scite366.tgz) = 2371062 bytes
+SHA1 (patch-aa) = 3579a07d7a2e9157421602c07b0d6310848882a1
diff --git a/scite/patches/patch-aa b/scite/patches/patch-aa
new file mode 100644
index 0000000..c7ed52f
--- /dev/null
+++ b/scite/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.5 2015/02/13 16:58:17 jperkin Exp $
+
+Use --version-script=file form so we can rm it if necessary.
+
+--- gtk/makefile.orig	2013-10-13 21:38:06.000000000 +0000
++++ gtk/makefile
+@@ -43,10 +43,10 @@ PROG	= ../bin/SciTE
+ 
+ all: $(PROG)
+ 
+-vpath %.h ../src ../../scintilla/include
++vpath %.h ../src $(prefix)/include/scintilla
+ vpath %.cxx ../src
+ 
+-INCLUDEDIRS=-I ../../scintilla/include -I ../src
++INCLUDEDIRS=-I $(prefix)/include/scintilla -I ../src
+ ifdef CHECK_DEPRECATED
+ DEPRECATED=-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED
+ endif
+@@ -74,7 +74,7 @@ LUA_OBJS = LuaExtension.o $(LUA_CORE_OBJ
+ 
+ vpath %.c ../lua/src ../lua/src/lib
+ 
+-INCLUDEDIRS=-I ../../scintilla/include -I ../src -I../lua/include
++INCLUDEDIRS=-I $(prefix)/include/scintilla -I ../src -I../lua/include
+ 
+ .c.o:
+ 	$(CCOMP) $(CFLAGS) $(INCLUDEDIRS) -DLUA_USE_POSIX $(CXXTFLAGS) -c $< -o $@
+@@ -111,13 +111,13 @@ deps:
+ 	$(CC) -MM $(CONFIGFLAGS) $(CXXTFLAGS) *.cxx ../src/*.cxx | sed -e 's/\/usr.* //' | grep [a-zA-Z] >deps.mak
+ 
+ # make should be run in ../../scintilla/gtk to compile all the lexers.
+-COMPLIB=../../scintilla/bin/scintilla.a
++COMPLIB=$(prefix)/lib/scintilla.a
+ 
+ $(PROG): SciTEGTK.o GUIGTK.o Widget.o \
+ FilePath.o SciTEBase.o FileWorker.o Cookie.o Credits.o SciTEBuffers.o SciTEIO.o StringList.o Exporters.o StringHelpers.o \
+ PropSetFile.o MultiplexExtension.o DirectorExtension.o SciTEProps.o StyleDefinition.o StyleWriter.o Utf8_16.o \
+ 	JobQueue.o GTKMutex.o IFaceTable.o $(COMPLIB) $(LUA_OBJS)
+-	$(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script lua.vers -DGTK $^ -o $@ $(CONFIGLIB) $(LIBDL) -lm -lstdc++
++	$(CC) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script=lua.vers -DGTK $^ -o $@ $(CONFIGLIB) $(LIBDL) -lm -lstdc++
+ 
+ # Automatically generate header dependencies with "make deps"
+ include deps.mak


Home | Main Index | Thread Index | Old Index