svn commit: r553946 - in branches/2020Q4/editors/scite: . files
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Nov 3 02:44:51 UTC 2020
Author: lwhsu
Date: Tue Nov 3 02:44:50 2020
New Revision: 553946
URL: https://svnweb.freebsd.org/changeset/ports/553946
Log:
MFH: r553639
editors/scite: Updaet to 4.4.5
PR: 250663
Submitted by: Naram Qashat <cyberbotx at cyberbotx.com> (maintainer)
Approved by: ports-secteam (fluffy)
Modified:
branches/2020Q4/editors/scite/Makefile
branches/2020Q4/editors/scite/distinfo
branches/2020Q4/editors/scite/files/patch-gtk_makefile
branches/2020Q4/editors/scite/pkg-descr
branches/2020Q4/editors/scite/pkg-plist
Directory Properties:
branches/2020Q4/ (props changed)
Modified: branches/2020Q4/editors/scite/Makefile
==============================================================================
--- branches/2020Q4/editors/scite/Makefile Tue Nov 3 02:44:05 2020 (r553945)
+++ branches/2020Q4/editors/scite/Makefile Tue Nov 3 02:44:50 2020 (r553946)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= scite
-DISTVERSION= 4.3.2
+DISTVERSION= 4.4.5
CATEGORIES= editors gnome
MASTER_SITES= SF/scintilla/SciTE/${PORTVERSION}
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
@@ -28,6 +28,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}/gtk
USE_GNOME= cairo gdkpixbuf2 gtk30
MAKEFILE= makefile
MAKE_ARGS= GTK3=1
+.if defined(WITH_DEBUG)
+MAKE_ARGS+= DEBUG=1
+.endif
PORTDATA= *.properties
PORTDOCS= *.html *.jpg *.png
@@ -39,12 +42,12 @@ MAKE_ARGS+= CLANG=1
.endif
post-patch:
- @${REINPLACE_CMD} -e 's| -Os||g' ${WRKSRC}/makefile
@${REINPLACE_CMD} -e 's|$$(SciteDefaultHome)|${DOCSDIR}|' \
${WRKSRC}/../src/SciTEGlobal.properties
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/../bin/SciTE ${STAGEDIR}${PREFIX}/bin
+ ${LN} -sf SciTE ${STAGEDIR}${PREFIX}/bin/scite
${INSTALL_MAN} ${WRKSRC}/../doc/scite.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/SciTE.desktop ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/Sci48M.png ${STAGEDIR}${PREFIX}/share/pixmaps
Modified: branches/2020Q4/editors/scite/distinfo
==============================================================================
--- branches/2020Q4/editors/scite/distinfo Tue Nov 3 02:44:05 2020 (r553945)
+++ branches/2020Q4/editors/scite/distinfo Tue Nov 3 02:44:50 2020 (r553946)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1584222159
-SHA256 (scite432.tgz) = fb7d9d2899b9559b31beca6a695d5b271cc7a6461b218e4a961b4fcd320a798f
-SIZE (scite432.tgz) = 2710026
+TIMESTAMP = 1601836826
+SHA256 (scite445.tgz) = 9d74bde5e4ee18d767b6add5a6b95d7ffcedbcfd017c3df59e16b0785e3521a1
+SIZE (scite445.tgz) = 2777899
Modified: branches/2020Q4/editors/scite/files/patch-gtk_makefile
==============================================================================
--- branches/2020Q4/editors/scite/files/patch-gtk_makefile Tue Nov 3 02:44:05 2020 (r553945)
+++ branches/2020Q4/editors/scite/files/patch-gtk_makefile Tue Nov 3 02:44:50 2020 (r553946)
@@ -1,32 +1,33 @@
---- gtk/makefile.orig 2020-01-02 00:45:08 UTC
+--- gtk/makefile.orig 2020-09-11 10:44:44 UTC
+++ gtk/makefile
-@@ -18,8 +18,6 @@ ifdef CLANG
+@@ -18,9 +18,7 @@ ifdef CLANG
# thread also need to create Position Independent Executable -> search online documentation
SANITIZE = address
#SANITIZE = undefined
-CXX = clang++
-CC = clang
- BASE_FLAGS += -fsanitize=$(SANITIZE)
+-BASE_FLAGS += -fsanitize=$(SANITIZE)
++#BASE_FLAGS += -fsanitize=$(SANITIZE)
WARNINGS += -Wno-deprecated-register
WARNINGS += -Wno-empty-body
-@@ -33,7 +31,7 @@ GTK_VERSION = $(if $(GTK3),gtk+-3.0,gtk+-2.0)
- # For the Gnome desktop stuff to work, prefix must point to where Gnome thinks it is.
- CONFIGFLAGS:=$(shell pkg-config --cflags $(GTK_VERSION))
- CONFIGLIB:=$(shell pkg-config --libs $(GTK_VERSION) gthread-2.0 gmodule-no-export-2.0)
--gnomeprefix:=$(shell pkg-config --variable=prefix $(GTK_VERSION) 2>/dev/null)
-+gnomeprefix:=$(PREFIX)
- ifndef prefix
- ifdef gnomeprefix
- prefix=$(gnomeprefix)
-@@ -141,8 +139,9 @@ SRC_OBJS = \
- StyleWriter.o \
+ else
+@@ -59,7 +57,7 @@ COMPLIB=$(SCINTILLA_DIR)/bin/scintilla.a
+ COMPONENT=$(srcdir)/../bin/libscintilla.$(SHAREDEXTENSION)
+ LEXILLA=$(srcdir)/../bin/liblexilla.$(SHAREDEXTENSION)
+
+-all: $(PROG) $(COMPONENT) $(LEXILLA)
++all: $(PROG)
+
+ vpath %.h $(srcdir) $(srcdir)/../src $(SCINTILLA_DIR)/include
+ vpath %.cxx $(srcdir) $(srcdir)/../src
+@@ -151,7 +149,9 @@ SRC_OBJS = \
Utf8_16.o
--$(PROG): SciTEGTK.o GUIGTK.o Widget.o GTKMutex.o DirectorExtension.o $(SRC_OBJS) $(COMPLIB) $(LUA_OBJS)
-- $(CXX) $(BASE_FLAGS) -rdynamic -Wl,--as-needed -Wl,--version-script $(srcdir)/lua.vers $^ -o $@ $(CONFIGLIB) $(LIBS) $(LDLIBS)
-+$(PROG): SciTEGTK.o GUIGTK.o Widget.o GTKMutex.o DirectorExtension.o $(SRC_OBJS) $(LUA_OBJS)
-+ $(CXX) $(BASE_FLAGS) -rdynamic -Wl,--version-script $(srcdir)/lua.vers $(CXXFLAGS) $^ -o $@ \
-+ $(LDFLAGS) -lscintilla -lscintilla_lexers -Wl,--as-needed $(CONFIGLIB)
+ $(PROG): SciTEGTK.o GUIGTK.o Widget.o DirectorExtension.o $(SRC_OBJS) $(LUA_OBJS)
+- $(CXX) $(BASE_FLAGS) $(LDFLAGS) -rdynamic -Wl,--as-needed -Wl,-rpath,'$${ORIGIN}' -Wl,--version-script $(srcdir)/lua.vers -Wl,-rpath,$(libdir) $^ -o $@ $(CONFIGLIB) $(LIBS) -L ../../scintilla/bin -lscintilla $(LDLIBS)
++ $(CXX) $(BASE_FLAGS) $(LDFLAGS) -rdynamic \
++ -Wl,--version-script $(srcdir)/lua.vers $^ -o $@ -lscintilla \
++ -Wl,--as-needed $(CONFIGLIB)
# Automatically generate header dependencies with "make deps"
include deps.mak
Modified: branches/2020Q4/editors/scite/pkg-descr
==============================================================================
--- branches/2020Q4/editors/scite/pkg-descr Tue Nov 3 02:44:05 2020 (r553945)
+++ branches/2020Q4/editors/scite/pkg-descr Tue Nov 3 02:44:50 2020 (r553946)
@@ -4,4 +4,4 @@ building and running programs. It is best used for job
configurations - I use it for building test and demonstration programs as well
as SciTE and Scintilla, themselves.
-WWW: http://www.scintilla.org/SciTE.html
+WWW: https://www.scintilla.org/SciTE.html
Modified: branches/2020Q4/editors/scite/pkg-plist
==============================================================================
--- branches/2020Q4/editors/scite/pkg-plist Tue Nov 3 02:44:05 2020 (r553945)
+++ branches/2020Q4/editors/scite/pkg-plist Tue Nov 3 02:44:50 2020 (r553946)
@@ -1,4 +1,5 @@
bin/SciTE
+bin/scite
man/man1/scite.1.gz
share/applications/SciTE.desktop
share/pixmaps/Sci48M.png
More information about the svn-ports-branches
mailing list