Hello community,

here is the log from the commit of package nfoview for openSUSE:Factory checked 
in at 2020-04-25 20:27:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nfoview (Old)
 and      /work/SRC/openSUSE:Factory/.nfoview.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nfoview"

Sat Apr 25 20:27:48 2020 rev:6 rq:796689 version:1.27.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/nfoview/nfoview.changes  2020-03-17 
13:10:25.653811969 +0100
+++ /work/SRC/openSUSE:Factory/.nfoview.new.2738/nfoview.changes        
2020-04-25 20:30:15.554261438 +0200
@@ -1,0 +2,7 @@
+Thu Apr 23 18:41:25 UTC 2020 - Martin Pluskal <mplus...@suse.com>
+
+- Update to version 1.27.1:
+  * Fix CSS error with the abnormal weight of the Unscii font
+- Drop nfoview-fix-css-font-abnormal-weight.patch
+
+-------------------------------------------------------------------

Old:
----
  nfoview-1.27.tar.gz
  nfoview-fix-css-font-abnormal-weight.patch

New:
----
  nfoview-1.27.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ nfoview.spec ++++++
--- /var/tmp/diff_new_pack.E8mpgM/_old  2020-04-25 20:30:20.430271493 +0200
+++ /var/tmp/diff_new_pack.E8mpgM/_new  2020-04-25 20:30:20.434271501 +0200
@@ -17,16 +17,13 @@
 
 
 Name:           nfoview
-Version:        1.27
+Version:        1.27.1
 Release:        0
 Summary:        Simple Viewer for NFO Files
 License:        GPL-3.0-or-later
 Group:          Productivity/Text/Utilities
 URL:            https://otsaloma.io/nfoview/
 Source:         
https://github.com/otsaloma/nfoview/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM nfoview-fix-css-font-abnormal-weight.patch -- Fix CSS 
error with the abnormal weight of the Unscii font
-Patch:          nfoview-fix-css-font-abnormal-weight.patch
-
 BuildRequires:  fdupes
 BuildRequires:  gettext
 BuildRequires:  hicolor-icon-theme

++++++ nfoview-1.27.tar.gz -> nfoview-1.27.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/NEWS.md new/nfoview-1.27.1/NEWS.md
--- old/nfoview-1.27/NEWS.md    2019-08-09 20:51:05.000000000 +0200
+++ new/nfoview-1.27.1/NEWS.md  2020-04-10 21:30:02.000000000 +0200
@@ -1,3 +1,8 @@
+2020-04-10: NFO Viewer 1.27.1
+=============================
+
+* Fix CSS error with the abnormal weight of the Unscii font
+
 2019-08-09: NFO Viewer 1.27
 ===========================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/data/io.otsaloma.nfoview.appdata.xml.in 
new/nfoview-1.27.1/data/io.otsaloma.nfoview.appdata.xml.in
--- old/nfoview-1.27/data/io.otsaloma.nfoview.appdata.xml.in    2019-08-09 
20:51:05.000000000 +0200
+++ new/nfoview-1.27.1/data/io.otsaloma.nfoview.appdata.xml.in  2020-04-10 
21:30:02.000000000 +0200
@@ -21,7 +21,7 @@
   <url type="translate">https://www.transifex.com/otsaloma/nfoview/</url>
   <launchable type="desktop-id">io.otsaloma.nfoview.desktop</launchable>
   <releases>
-    <release version="1.27" date="2019-08-09"/>
+    <release version="1.27.1" date="2020-04-10"/>
   </releases>
   <mimetypes>
     <mimetype>text/x-nfo</mimetype>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/flatpak/io.otsaloma.nfoview.yml 
new/nfoview-1.27.1/flatpak/io.otsaloma.nfoview.yml
--- old/nfoview-1.27/flatpak/io.otsaloma.nfoview.yml    2019-08-09 
20:51:05.000000000 +0200
+++ new/nfoview-1.27.1/flatpak/io.otsaloma.nfoview.yml  2020-04-10 
21:30:02.000000000 +0200
@@ -1,6 +1,6 @@
 app-id: io.otsaloma.nfoview
 runtime: org.gnome.Platform
-runtime-version: "3.32"
+runtime-version: "3.34"
 sdk: org.gnome.Sdk
 command: nfoview
 finish-args:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/nfoview/__init__.py 
new/nfoview-1.27.1/nfoview/__init__.py
--- old/nfoview-1.27/nfoview/__init__.py        2019-08-09 20:51:05.000000000 
+0200
+++ new/nfoview-1.27.1/nfoview/__init__.py      2020-04-10 21:30:02.000000000 
+0200
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
-__version__ = "1.27"
+__version__ = "1.27.1"
 
 import sys
 import warnings
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/nfoview/about.py 
new/nfoview-1.27.1/nfoview/about.py
--- old/nfoview-1.27/nfoview/about.py   2019-08-09 20:51:05.000000000 +0200
+++ new/nfoview-1.27.1/nfoview/about.py 2020-04-10 21:30:02.000000000 +0200
@@ -32,7 +32,7 @@
         self.set_transient_for(parent)
         self.set_authors(("Osmo Salomaa <otsal...@iki.fi>",))
         self.set_comments(_("Viewer for NFO files"))
-        self.set_copyright("Copyright © 2005–2019 Osmo Salomaa")
+        self.set_copyright("Copyright © 2005–2020 Osmo Salomaa")
         self.set_license_type(Gtk.License.GPL_3_0)
         self.set_logo_icon_name("io.otsaloma.nfoview")
         # TRANSLATORS: The application name "NFO Viewer" has been intentionally
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/nfoview/util.py 
new/nfoview-1.27.1/nfoview/util.py
--- old/nfoview-1.27/nfoview/util.py    2019-08-09 20:51:05.000000000 +0200
+++ new/nfoview-1.27.1/nfoview/util.py  2020-04-10 21:30:02.000000000 +0200
@@ -52,7 +52,9 @@
         family=font_desc.get_family().split(",")[0],
         size=int(round(font_desc.get_size() / Pango.SCALE)),
         unit=unit,
-        weight=int(font_desc.get_weight()),
+        # Round weight to hundreds to work around CSS errors
+        # with weird weights such as Unscii's 101.
+        weight=round(font_desc.get_weight(), -2),
     )
     css = css.replace("font-size: 0{unit};".format(unit=unit), "")
     css = css.replace("font-weight: 0;", "")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/po/nfoview.pot 
new/nfoview-1.27.1/po/nfoview.pot
--- old/nfoview-1.27/po/nfoview.pot     2019-08-09 20:51:05.000000000 +0200
+++ new/nfoview-1.27.1/po/nfoview.pot   2020-04-10 21:30:02.000000000 +0200
@@ -8,7 +8,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2019-08-09 21:47+0300\n"
+"POT-Creation-Date: 2020-04-10 22:25+0300\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <l...@li.org>\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/nfoview-1.27/win32/nfoview.iss 
new/nfoview-1.27.1/win32/nfoview.iss
--- old/nfoview-1.27/win32/nfoview.iss  2019-08-09 20:51:05.000000000 +0200
+++ new/nfoview-1.27.1/win32/nfoview.iss        2020-04-10 21:30:02.000000000 
+0200
@@ -3,14 +3,14 @@
 [Setup]
 AppId=io.otsaloma.nfoview
 AppName=NFO Viewer
-AppVerName=NFO Viewer 1.27
+AppVerName=NFO Viewer 1.27.1
 AppPublisher=Osmo Salomaa
 AppPublisherURL=https://otsaloma.io/nfoview/
 DefaultDirName={pf}\NFO Viewer
 DefaultGroupName=NFO Viewer
 AllowNoIcons=yes
 OutputDir=".."
-OutputBaseFilename=nfoview-1.27-win32
+OutputBaseFilename=nfoview-1.27.1-win32
 Compression=lzma
 SolidCompression=yes
 


Reply via email to