Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2019 23:57:42 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491445 - in head/editors/scite: . files
Message-ID:  <201901272357.x0RNvgV6043971@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Jan 27 23:57:42 2019
New Revision: 491445
URL: https://svnweb.freebsd.org/changeset/ports/491445

Log:
  editors/scite: update to 4.1.0
  
  PR:		228909
  Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)

Added:
  head/editors/scite/files/patch-gtk_makefile   (contents, props changed)
     - copied, changed from r491444, head/editors/scite/files/patch-makefile
  head/editors/scite/files/patch-src_EditorConfig.cxx   (contents, props changed)
Deleted:
  head/editors/scite/files/patch-makefile
Modified:
  head/editors/scite/Makefile   (contents, props changed)
  head/editors/scite/distinfo   (contents, props changed)

Modified: head/editors/scite/Makefile
==============================================================================
--- head/editors/scite/Makefile	Sun Jan 27 23:53:31 2019	(r491444)
+++ head/editors/scite/Makefile	Sun Jan 27 23:57:42 2019	(r491445)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	scite
-DISTVERSION=	4.0.2
-PORTREVISION=	1
+DISTVERSION=	4.1.0
 CATEGORIES=	editors gnome
 MASTER_SITES=	SF/scintilla/SciTE/${PORTVERSION}
 DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}
@@ -19,11 +18,14 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-se
 LIB_DEPENDS=	libscintilla.so:x11-toolkits/scintilla
 RUN_DEPENDS=	xdg-open:devel/xdg-utils
 
+USES=		compiler:c++17-lang desktop-file-utils gmake pkgconfig tar:tgz
+
 OPTIONS_DEFINE=	DOCS
 
+PATCH_WRKSRC=	${WRKDIR}/${PORTNAME}
 WRKSRC=		${WRKDIR}/${PORTNAME}/gtk
 
-USES=		compiler:c++14-lang desktop-file-utils gmake pkgconfig tar:tgz
+CXXSTD=		c++17
 USE_GNOME=	cairo gdkpixbuf2 gtk20
 MAKEFILE=	makefile
 

Modified: head/editors/scite/distinfo
==============================================================================
--- head/editors/scite/distinfo	Sun Jan 27 23:53:31 2019	(r491444)
+++ head/editors/scite/distinfo	Sun Jan 27 23:57:42 2019	(r491445)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1516108933
-SHA256 (scite402.tgz) = 1f9bb8eccbaed77c110c30c0e6dbaac04b3f62b751a930192b133a7b6f0f29fb
-SIZE (scite402.tgz) = 2424648
+TIMESTAMP = 1529613535
+SHA256 (scite410.tgz) = d1f9cf27b8d44b3d6bab179173a58cdfe76b44f84c8e74aeb85bf16c50148cf7
+SIZE (scite410.tgz) = 2493701

Copied and modified: head/editors/scite/files/patch-gtk_makefile (from r491444, head/editors/scite/files/patch-makefile)
==============================================================================
--- head/editors/scite/files/patch-makefile	Sun Jan 27 23:53:31 2019	(r491444, copy source)
+++ head/editors/scite/files/patch-gtk_makefile	Sun Jan 27 23:57:42 2019	(r491445)
@@ -1,23 +1,17 @@
---- makefile.orig	2016-08-30 04:39:12 UTC
-+++ makefile
-@@ -7,16 +7,6 @@
- srcdir ?= .
- 
- .SUFFIXES: .cxx .o .h .a .c
--ifdef CLANG
--# Can choose aspect to sanitize: address and undefined can simply change SANITIZE but for
--# thread also need to create Position Independent Executable -> search online documentation
--SANITIZE = address
--#SANITIZE = undefined
+--- gtk/makefile.orig	2018-05-06 22:32:10 UTC
++++ gtk/makefile
+@@ -12,8 +12,8 @@ ifdef CLANG
+ # thread also need to create Position Independent Executable -> search online documentation
+ SANITIZE = address
+ #SANITIZE = undefined
 -CXX = clang++ -fsanitize=$(SANITIZE) -Wno-deprecated-register
 -CC = clang -fsanitize=$(SANITIZE) -Wno-empty-body
--else
--MISLEADING=-Wno-misleading-indentation
--endif
- 
- ifdef GTK3
- GTKVERSION=gtk+-3.0
-@@ -28,7 +18,7 @@ endif
++CXX = $(CXX) -fsanitize=$(SANITIZE) -Wno-deprecated-register
++CC = $(CC) -fsanitize=$(SANITIZE) -Wno-empty-body
+ else
+ MISLEADING=-Wno-misleading-indentation
+ endif
+@@ -28,7 +28,7 @@ endif
  CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION))
  CONFIGLIB:=$(shell pkg-config --libs $(GTKVERSION) gthread-2.0 gmodule-no-export-2.0)
  CONFIGTHREADS:=
@@ -26,12 +20,12 @@
  ifndef prefix
  ifdef gnomeprefix
    prefix=$(gnomeprefix)
-@@ -119,8 +109,9 @@ FilePath.o SciTEBase.o FileWorker.o Cook
+@@ -122,8 +122,9 @@ FilePath.o EditorConfig.o SciTEBase.o Fi
  ExportHTML.o ExportPDF.o ExportRTF.o ExportTEX.o ExportXML.o \
  MatchMarker.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)
--	$(CXX) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script $(srcdir)/lua.vers -DGTK $^ -o $@ $(CONFIGLIB) $(LIBDL) -lm -lstdc++
+-	$(CXX) `$(CONFIGTHREADS)` -rdynamic -Wl,--as-needed -Wl,--version-script $(srcdir)/lua.vers -DGTK $^ -o $@ $(CONFIGLIB) $(LIBDL) $(LDLIBS) -lm -lstdc++
 +	JobQueue.o GTKMutex.o IFaceTable.o $(LUA_OBJS)
 +	$(CXX) -rdynamic -Wl,--version-script $(srcdir)/lua.vers -DGTK $(CXXFLAGS) $^ -o $@ \
 +	$(LDFLAGS) -lscintilla -lscintilla_lexers -Wl,--as-needed $(CONFIGLIB)

Added: head/editors/scite/files/patch-src_EditorConfig.cxx
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/editors/scite/files/patch-src_EditorConfig.cxx	Sun Jan 27 23:57:42 2019	(r491445)
@@ -0,0 +1,10 @@
+--- src/EditorConfig.cxx.orig	2018-05-06 22:32:10 UTC
++++ src/EditorConfig.cxx
+@@ -13,6 +13,7 @@
+ #include <map>
+ #include <algorithm>
+ #include <memory>
++#include <sys/time.h>
+ 
+ #include "Scintilla.h"
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901272357.x0RNvgV6043971>