Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package scintilla for openSUSE:Factory checked in at 2021-06-28 15:33:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scintilla (Old) and /work/SRC/openSUSE:Factory/.scintilla.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scintilla" Mon Jun 28 15:33:34 2021 rev:23 rq:902702 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/scintilla/scintilla.changes 2017-09-12 19:57:15.539350865 +0200 +++ /work/SRC/openSUSE:Factory/.scintilla.new.2625/scintilla.changes 2021-06-28 15:33:55.215207404 +0200 @@ -1,0 +2,25 @@ +Sun Jun 27 02:25:36 UTC 2021 - Atri Bhattacharya <[email protected]> + +- Update to version 5.1.0: + * Add SciFnDirectStatus, a direct access function which also + returns status. It can be retrieved with + SCI_GETDIRECTSTATUSFUNCTION. This can avoid calling + SCI_GETSTATUS after every API to determine failure so can + improve performance. + * Add more type-safe wrappers to the API. These are defined in + include/ScintillaCall.h and implemented in + call/ScintillaCall.cxx. ScintillaCall throws + Scintilla::Failure exceptions when a call fails. + * Add APIs for setting appearance (traditional blob or plain + text) and colour of representations and support setting a + representation for the "\r\n" line end sequence. + * Add SCI_REPLACERECTANGULAR to insert text like a rectangular + paste. + * Fixed bug with SCI_GETLASTCHILD. Bug #2260. + * Fixed gcc link-time-optimization (LTO) compilation. Bug #2259. +- Refresh scintilla-shared.patch to apply against updated version. +- Install license file using %license. +- Drop fdupes form BuildRequires: no longer needed. +- Minor specfile cleanups. + +------------------------------------------------------------------- Old: ---- scintilla375.tgz New: ---- scintilla510.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scintilla.spec ++++++ --- /var/tmp/diff_new_pack.BZhoaN/_old 2021-06-28 15:33:55.827208152 +0200 +++ /var/tmp/diff_new_pack.BZhoaN/_new 2021-06-28 15:33:55.831208157 +0200 @@ -1,7 +1,7 @@ # # spec file for package scintilla # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,23 +12,21 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define tar_ver 375 -%define so_ver 3.0 -%define libname libscintilla3 +%define tar_ver 510 +%define so_ver 5.1 +%define libname libscintilla5 Name: scintilla -Version: 3.7.5 +Version: 5.1.0 Release: 0 Summary: A source code editing component License: MIT -Group: Development/Libraries/C and C++ -Url: http://www.scintilla.org +URL: http://www.scintilla.org Source: http://sourceforge.net/projects/scintilla/files/scintilla/%{version}/%{name}%{tar_ver}.tgz Patch0: %{name}-shared.patch -BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkgconfig @@ -46,7 +44,6 @@ %package -n %{libname} Summary: A source code editing component -Group: System/Libraries %description -n %{libname} Scintilla is a code editing component. It includes features for @@ -58,7 +55,6 @@ %package -n libscintilla-devel Summary: Development files for Scintilla, a code editing component -Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: pkgconfig Requires: pkgconfig(glib-2.0) @@ -73,41 +69,35 @@ applications that want to make use of the Scintilla library. %prep -%setup -q -n %{name} -%patch0 -p1 +%autosetup -p1 -n %{name} %build -cd gtk -make CFLAGS="%{optflags}" GTK3=1 %{?_smp_mflags} LIBDIR=%{_libdir} -I%{_includedir}/glib-2.0 VERSION=`echo %{so_ver} | sed 's|\.0*|:|'` +%make_build -C gtk GTK3=1 LIBDIR=%{_libdir} VERSION=`echo %{so_ver} | sed 's|\.0*|:|'` static %install mkdir -p %{buildroot}%{_includedir}/%{name}/src -mkdir -p %{buildroot}%{_libdir} cp include/* %{buildroot}%{_includedir}/%{name} cp src/*.h %{buildroot}%{_includedir}/%{name}/src -mkdir -p lib -libtool --mode=install install bin/libscintilla.la `pwd`/lib -install -m755 lib/*.so.3 %{buildroot}%{_libdir} -ln -s libscintilla.so.3 %{buildroot}%{_libdir}/libscintilla.so -mkdir -p %{buildroot}/%{_defaultdocdir} -mv doc %{buildroot}/%{_defaultdocdir}/%{name} -cp License.txt %{buildroot}/%{_defaultdocdir}/%{name} + +mkdir -p %{buildroot}%{_libdir} +libtool --mode=install install bin/libscintilla.la %{buildroot}%{_libdir} +# Delete libtool archive and static lib +find %{buildroot}%{_libdir} -name "*.a" -delete -print +find %{buildroot}%{_libdir} -name "*.la" -delete -print + rmdir %{buildroot}%{_includedir}/%{name}/src || : -%fdupes -s %{buildroot}/%{_defaultdocdir}/%{name} -%post -n %{libname} -p /sbin/ldconfig -%postun -n %{libname} -p /sbin/ldconfig +%post -n %{libname} -p %run_ldconfig +%postun -n %{libname} -p %run_ldconfig %files -n %{libname} -%defattr(-,root,root) -%{_libdir}/libscintilla.so.3 +%license License.txt +%{_libdir}/libscintilla.so.* %files -n libscintilla-devel -%defattr(-,root,root) +%license License.txt +%doc doc %{_libdir}/libscintilla.so -%dir %{_defaultdocdir}/%{name} -%{_defaultdocdir}/%{name}/* -%dir %{_includedir}/%{name} -%{_includedir}/%{name}/* +%{_includedir}/%{name}/ %changelog ++++++ scintilla-shared.patch ++++++ --- /var/tmp/diff_new_pack.BZhoaN/_old 2021-06-28 15:33:55.847208177 +0200 +++ /var/tmp/diff_new_pack.BZhoaN/_new 2021-06-28 15:33:55.847208177 +0200 @@ -2,46 +2,47 @@ =================================================================== --- scintilla.orig/gtk/makefile +++ scintilla/gtk/makefile -@@ -45,7 +45,7 @@ DEL = del /q - COMPLIB=$(srcdir)\..\bin\scintilla.a - else - DEL = rm -f --COMPLIB=$(srcdir)/../bin/scintilla.a -+COMPLIB=$(srcdir)/../bin/libscintilla.la +@@ -50,7 +50,8 @@ ifndef windir + BASE_FLAGS += -fPIC endif - vpath %.h $(srcdir) $(srcdir)/../src $(srcdir)/../include $(srcdir)/../lexlib -@@ -75,12 +75,12 @@ else - CTFLAGS=-DDEBUG -g $(CXXBASEFLAGS) $(THREADFLAGS) - endif +-LDFLAGS += -dynamiclib ++# Only macOS needs/supports -dynamiclib ++# LDFLAGS += -dynamiclib + LDFLAGS += -shared + + # Take care of changing Unix style '/' directory separator to '\' on Windows +@@ -66,7 +67,7 @@ DEL = del /q else --CTFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) $(THREADFLAGS) -+CTFLAGS=-DNDEBUG $(CXXBASEFLAGS) $(THREADFLAGS) + DEL = rm -f endif +-COMPLIB=$(basedir)/bin/scintilla.a ++COMPLIB=$(basedir)/bin/libscintilla.la + COMPONENT=$(basedir)/bin/libscintilla.$(SHAREDEXTENSION) - CXXTFLAGS:=--std=gnu++0x $(CTFLAGS) $(REFLAGS) + vpath %.h $(srcdir) $(basedir)/src $(basedir)/include $(basedir)/lexlib +@@ -82,12 +83,12 @@ DEFINES += -DNO_CXX11_REGEX + endif --CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION)) -+CONFIGFLAGS:=$(shell pkg-config --cflags --libs $(GTKVERSION)) + DEFINES += -D$(if $(DEBUG),DEBUG,NDEBUG) +-BASE_FLAGS += $(if $(DEBUG),-g,-Os) ++BASE_FLAGS += $(if $(DEBUG),-g) + + CXX_BASE_FLAGS =--std=c++17 $(BASE_FLAGS) + CXX_ALL_FLAGS =$(DEFINES) $(INCLUDES) $(CXX_BASE_FLAGS) $(CONFIG_FLAGS) + +-CONFIG_FLAGS:=$(shell $(PKG_CONFIG) --cflags $(GTK_VERSION)) ++CONFIG_FLAGS:=$(shell $(PKG_CONFIG) --cflags --libs $(GTK_VERSION)) + CONFIGLIB:=$(shell $(PKG_CONFIG) --libs $(GTK_VERSION) gmodule-no-export-2.0) MARSHALLER=scintilla-marshal.o - .cxx.o: -@@ -111,7 +111,7 @@ LEXSORTED=$(shell ls $(srcdir)/../lexers - DEPSRCS=$(srcdir)/*.cxx $(srcdir)/../src/*.cxx $(srcdir)/../lexlib/*.cxx $(LEXSORTED) - deps: deps.mak - deps.mak: -- $(CXX) -MM $(CONFIGFLAGS) $(CXXTFLAGS) $(DEPSRCS) | sed -e 's/\/usr.* //' | grep [a-zA-Z] > $@ -+ $(CXX) -MM $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) $(DEPSRCS) | sed -e 's/\/usr.* //' | grep [a-zA-Z] > $@ - - $(COMPLIB): Accessor.o CharacterSet.o LexerBase.o LexerModule.o LexerSimple.o StyleContext.o WordList.o \ - CharClassify.o Decoration.o Document.o PerLine.o Catalogue.o CallTip.o CaseConvert.o CaseFolder.o \ -@@ -120,8 +120,7 @@ $(COMPLIB): Accessor.o CharacterSet.o Le - KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o ScintillaGTKAccessible.o CellBuffer.o CharacterCategory.o ViewStyle.o \ - RESearch.o RunStyles.o Selection.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o \ - $(MARSHALLER) $(LEXOBJS) +@@ -161,8 +162,7 @@ GTK_OBJS = \ + ScintillaGTKAccessible.o + + $(COMPLIB): $(SRC_OBJS) $(GTK_OBJS) $(MARSHALLER) $(LEX_OBJS) - $(AR) $(ARFLAGS) $@ $^ - $(RANLIB) $@ + libtool --mode=link gcc $(CONFIGFLAGS) -o $@ $^ -rpath $(LIBDIR) $(CONFIGLDFLAGS) -version-info $(VERSION) - # Automatically generate header dependencies with "make deps" - include deps.mak + $(COMPONENT): $(SRC_OBJS) $(GTK_OBJS) $(MARSHALLER) + $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(CONFIGLIB) ++++++ scintilla375.tgz -> scintilla510.tgz ++++++ ++++ 197626 lines of diff (skipped)
