Hello community, here is the log from the commit of package howl for openSUSE:Factory checked in at 2018-02-22 15:02:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/howl (Old) and /work/SRC/openSUSE:Factory/.howl.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "howl" Thu Feb 22 15:02:17 2018 rev:3 rq:578801 version:0.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/howl/howl.changes 2017-07-26 13:04:55.901172594 +0200 +++ /work/SRC/openSUSE:Factory/.howl.new/howl.changes 2018-02-22 15:02:21.602189495 +0100 @@ -1,0 +2,16 @@ +Wed Feb 21 16:49:22 UTC 2018 - tchva...@suse.com + +- Install properly to /usr not /usr/local +- Drop post/postun that is empty on 15+ +- Mark license as %license +- Package bundles lpeg and luajit + +------------------------------------------------------------------- +Sun Feb 18 20:39:28 UTC 2018 - avin...@opensuse.org + +- Update to 0.5.3 + * workaround for a Gtk issue with scrollbars. +- includes 0.5.2: + * Fixed a bug manifesting in a SIGSEGV on OpenBSD. + +------------------------------------------------------------------- Old: ---- howl-0.5.1.tgz New: ---- howl-0.5.3.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ howl.spec ++++++ --- /var/tmp/diff_new_pack.Y7uF70/_old 2018-02-22 15:02:23.122134817 +0100 +++ /var/tmp/diff_new_pack.Y7uF70/_new 2018-02-22 15:02:23.122134817 +0100 @@ -1,7 +1,7 @@ # # spec file for package howl # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,12 +17,12 @@ Name: howl -Version: 0.5.1 +Version: 0.5.3 Release: 0 Summary: Editor with keyboard-centric minimalistic interface License: MIT Group: Productivity/Text/Editors -Url: http://howl.io/ +Url: https://howl.io/ Source: https://github.com/howl-editor/howl/releases/download/%{version}/%{name}-%{version}.tgz Patch0: howl-respect-cflags.patch BuildRequires: fdupes @@ -43,13 +43,13 @@ %patch0 -p1 %build -export CFLAGS="%optflags" +export CFLAGS="%{optflags}" cd src make %{?_smp_mflags} %install pushd src -make PREFIX=%{_prefix} DESTDIR=%{buildroot} install +%make_install PREFIX=%{_prefix} popd cp -R share/ %{buildroot}%{_prefix}/ @@ -58,22 +58,14 @@ %fdupes %{buildroot}%{_prefix} -%post -%icon_theme_cache_post -%desktop_database_post - -%postun -%icon_theme_cache_postun -%desktop_database_postun - %files -%doc LICENSE.md +%license LICENSE.md %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg -%{_datadir}/howl +%{_datadir}/%{name} %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{name}.appdata.xml -%{_bindir}/howl -%{_bindir}/howl-spec +%{_bindir}/%{name} +%{_bindir}/%{name}-spec %changelog ++++++ howl-0.5.1.tgz -> howl-0.5.3.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/howl-0.5.1/Changelog.md new/howl-0.5.3/Changelog.md --- old/howl-0.5.1/Changelog.md 2017-07-06 09:30:40.000000000 +0200 +++ new/howl-0.5.3/Changelog.md 2017-11-07 10:34:17.000000000 +0100 @@ -2,6 +2,14 @@ ## Unreleased (in master) +## 0.5.3 (2017-11-07) + +Added a workaround for a Gtk issue with scrollbars. + +## 0.5.2 (2017-10-06) + +Fixed a bug manifesting in a SIGSEGV on OpenBSD. + ## 0.5.1 (2017-07-06) - Corrected version number given by `--version` flag diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/howl-0.5.1/lib/aullar/buffer.moon new/howl-0.5.3/lib/aullar/buffer.moon --- old/howl-0.5.1/lib/aullar/buffer.moon 2017-07-06 09:30:40.000000000 +0200 +++ new/howl-0.5.3/lib/aullar/buffer.moon 2017-11-07 10:34:17.000000000 +0100 @@ -18,6 +18,9 @@ start_offset = offset was_eol = false + if offset >= end_offset + return offset, 0, false + byte = base[offset] while byte != 10 and byte != 13 and offset < end_offset offset += 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/howl-0.5.1/lib/aullar/view.moon new/howl-0.5.3/lib/aullar/view.moon --- old/howl-0.5.1/lib/aullar/view.moon 2017-07-06 09:30:40.000000000 +0200 +++ new/howl-0.5.3/lib/aullar/view.moon 2017-11-07 10:34:17.000000000 +0100 @@ -4,6 +4,7 @@ ffi = require 'ffi' bit = require 'bit' ffi_cast = ffi.cast +callbacks = require 'ljglibs.callbacks' Gdk = require 'ljglibs.gdk' Gtk = require 'ljglibs.gtk' @@ -21,7 +22,8 @@ {:define_class} = require 'aullar.util' {:parse_key_event} = require 'ljglibs.util' {:max, :min, :floor} = math - +cast_arg = callbacks.cast_arg +C = ffi.C append = table.insert jit.off true, true @@ -148,6 +150,9 @@ @buffer = buffer @config\add_listener self\_on_config_changed + @_refresh_cb_handle = callbacks.register self\_sync_scrollbars, "view-#{@}-refresh" + @_cb_handler = callbacks.unref_handle @_refresh_cb_handle + destroy: => @bin\destroy! @@ -825,24 +830,34 @@ _on_size_allocate: (_, allocation) => allocation = ffi_cast('GdkRectangle *', allocation) + resized = (not @height or @height != allocation.height) or + (not @width or @width != allocation.width) + return unless resized + gdk_window = @area.window @im_context.client_window = gdk_window if gdk_window != nil gdk_window.cursor = @_cur_mouse_cursor - is_growing = @height and allocation.height > @height + getting_taller = @height and allocation.height > @height @width = allocation.width @height = allocation.height @_reset_display! - if is_growing and @last_visible_line == @buffer.nr_lines + if getting_taller and @last_visible_line == @buffer.nr_lines -- since we're growing this could be wrong, and we might need -- to re-calculate what the last visible line actually is @last_visible_line = @last_visible_line - @_sync_scrollbars! @buffer\ensure_styled_to line: @last_visible_line + 1 + -- we just can't sync the scrollbars here due to a Gtk issue, so we + -- work around this by syncing these immediately after the size_allocate + -- handling is done + -- Ref: https://bugzilla.gnome.org/show_bug.cgi?id=765410 + C.g_timeout_add_full C.G_PRIORITY_LOW, 0, callbacks.source_func, + cast_arg(@_refresh_cb_handle.id), nil + _on_config_changed: (option, val, old_val) => if option == 'view_font_name' or option == 'view_font_size' @area\override_font Pango.FontDescription { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/howl-0.5.1/lib/howl/init.lua new/howl-0.5.3/lib/howl/init.lua --- old/howl-0.5.1/lib/howl/init.lua 2017-07-06 09:30:40.000000000 +0200 +++ new/howl-0.5.3/lib/howl/init.lua 2017-11-07 10:34:17.000000000 +0100 @@ -183,7 +183,7 @@ lint(args) elseif args.version then -- Change version here - print("howl version 0.5.1\n") + print("howl version 0.5.3\n") print("Copyright 2012-2017 The Howl Developers\nLicense: MIT License") os.exit(0) else