openSUSE Commits
Threads by month
- ----- 2024 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
October 2018
- 1 participants
- 1996 discussions
Hello community,
here is the log from the commit of package 000product for openSUSE:Factory checked in at 2018-10-26 11:11:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/000product (Old)
and /work/SRC/openSUSE:Factory/.000product.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "000product"
Fri Oct 26 11:11:01 2018 rev:626 rq: version:unknown
Fri Oct 26 11:10:57 2018 rev:625 rq: version:unknown
Changes:
--------
New Changes file:
NO CHANGES FILE!!!
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
_service:product_converter:openSUSE-Addon-NonOss-ftp-ftp-i586_x86_64.kiwi: same change
_service:product_converter:openSUSE-Addon-NonOss-release.spec: same change
++++++ _service:product_converter:openSUSE-Tumbleweed-Kubic-dvd5-dvd-x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.utbUjF/_old 2018-10-26 11:11:30.857613385 +0200
+++ /var/tmp/diff_new_pack.utbUjF/_new 2018-10-26 11:11:30.861613378 +0200
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE-Tumbleweed-Kubic___20181025" schemaversion="4.1">
+<image name="OBS__openSUSE-Tumbleweed-Kubic___20181026" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -35,9 +35,9 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20181025</productvar>
+ <productvar name="VERSION">20181026</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse-tumbleweed-kubic:20181025,openSUSE Tumbleweed Kubic</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse-tumbleweed-kubic:20181026,openSUSE Tumbleweed Kubic</productinfo>
<productinfo name="LINGUAS">en_US </productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/suse-tumbleweed</productoption>
++++++ _service:product_converter:openSUSE-Tumbleweed-Kubic-release.spec ++++++
--- /var/tmp/diff_new_pack.utbUjF/_old 2018-10-26 11:11:30.873613357 +0200
+++ /var/tmp/diff_new_pack.utbUjF/_new 2018-10-26 11:11:30.873613357 +0200
@@ -17,7 +17,7 @@
Name: openSUSE-Tumbleweed-Kubic-release
-Version: 20181025
+Version: 20181026
Release: 0
Summary: openSUSE Tumbleweed Kubic
License: GPL-2.0-or-later
@@ -38,9 +38,9 @@
ExclusiveArch: %ix86 x86_64 ppc64le s390x aarch64
Provides: %name-%version
Provides: product() = openSUSE-Tumbleweed-Kubic
-Provides: product(openSUSE-Tumbleweed-Kubic) = 20181025-0
+Provides: product(openSUSE-Tumbleweed-Kubic) = 20181026-0
Provides: product-label() = openSUSE%20Tumbleweed%20Kubic
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Dtumbleweed%2Dkubic%3A20181025
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%2Dtumbleweed%2Dkubic%3A20181026
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-endoflife()
Requires: product_flavor(openSUSE-Tumbleweed-Kubic)
@@ -61,7 +61,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(openSUSE-Tumbleweed-Kubic) = 20181025-0
+Provides: product_flavor(openSUSE-Tumbleweed-Kubic) = 20181026-0
Summary: openSUSE Tumbleweed Kubic
%description dvd
@@ -123,11 +123,11 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE-Tumbleweed-Kubic</name>
- <version>20181025</version>
+ <version>20181026</version>
<release>0</release>
<endoflife></endoflife>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse-tumbleweed-kubic:20181025</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse-tumbleweed-kubic:20181026</cpeid>
<productline>openSUSE-Tumbleweed-Kubic</productline>
<register>
<pool>
++++++ _service:product_converter:openSUSE-cd-mini-i586.kiwi ++++++
--- /var/tmp/diff_new_pack.utbUjF/_old 2018-10-26 11:11:30.889613329 +0200
+++ /var/tmp/diff_new_pack.utbUjF/_new 2018-10-26 11:11:30.889613329 +0200
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE___20181025" schemaversion="4.1">
+<image name="OBS__openSUSE___20181026" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -32,9 +32,9 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20181025</productvar>
+ <productvar name="VERSION">20181026</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20181025,openSUSE Tumbleweed</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20181026,openSUSE Tumbleweed</productinfo>
<productinfo name="LINGUAS">cs da de en en_GB en_US es fi fr hu it ja nb nl pl pt pt_BR ru sv zh zh_CN zh_TW </productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="INI_DIR">/usr/share/kiwi/modules/plugins/suse-tumbleweed</productoption>
_service:product_converter:openSUSE-cd-mini-x86_64.kiwi: same change
_service:product_converter:openSUSE-dvd5-dvd-i586.kiwi: same change
_service:product_converter:openSUSE-dvd5-dvd-x86_64.kiwi: same change
++++++ _service:product_converter:openSUSE-ftp-ftp-i586_x86_64.kiwi ++++++
--- /var/tmp/diff_new_pack.utbUjF/_old 2018-10-26 11:11:30.937613244 +0200
+++ /var/tmp/diff_new_pack.utbUjF/_new 2018-10-26 11:11:30.937613244 +0200
@@ -1,4 +1,4 @@
-<image name="OBS__openSUSE___20181025" schemaversion="4.1">
+<image name="OBS__openSUSE___20181026" schemaversion="4.1">
<description type="system">
<author>The SUSE Team</author>
<contact>build(a)opensuse.org</contact>
@@ -24,7 +24,7 @@
<productvar name="DISTNAME">openSUSE</productvar>
<productvar name="FLAVOR">ftp</productvar>
<productvar name="MAKE_LISTINGS">true</productvar>
- <productvar name="MEDIUM_NAME">openSUSE-20181025-i586-x86_64</productvar>
+ <productvar name="MEDIUM_NAME">openSUSE-20181026-i586-x86_64</productvar>
<productvar name="MULTIPLE_MEDIA">true</productvar>
<productvar name="PRODUCT_DIR">/</productvar>
<productvar name="PRODUCT_NAME">$DISTNAME-$FLAVOR</productvar>
@@ -36,9 +36,9 @@
<productvar name="SEPARATE_MEDIA">true</productvar>
<productvar name="SHA1OPT">-x -2</productvar>
<productvar name="VENDOR">openSUSE</productvar>
- <productvar name="VERSION">20181025</productvar>
+ <productvar name="VERSION">20181026</productvar>
<productinfo name="CONTENTSTYLE">11</productinfo>
- <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20181025,openSUSE Tumbleweed</productinfo>
+ <productinfo name="DISTRO">cpe:/o:opensuse:opensuse:20181026,openSUSE Tumbleweed</productinfo>
<productinfo name="LINGUAS">cs da de en en_GB en_US es fi fr hu it ja nb nl pl pt pt_BR ru sv zh zh_CN zh_TW </productinfo>
<productinfo name="VENDOR">openSUSE</productinfo>
<productoption name="DEBUGMEDIUM">2</productoption>
++++++ _service:product_converter:openSUSE-release.spec ++++++
--- /var/tmp/diff_new_pack.utbUjF/_old 2018-10-26 11:11:30.961613202 +0200
+++ /var/tmp/diff_new_pack.utbUjF/_new 2018-10-26 11:11:30.973613181 +0200
@@ -20,7 +20,7 @@
#define betaversion %{nil}
%define codename Tumbleweed
Name: openSUSE-release
-Version: 20181025
+Version: 20181026
Release: 0
# 0 is the product release, not the build release of this package
Summary: openSUSE Tumbleweed
@@ -51,7 +51,7 @@
Obsoletes: aaa_version
Obsoletes: openSUSE-Promo-release <= 11.1
Obsoletes: openSUSE-release-live <= 11.0
-Obsoletes: product_flavor(%{product}) < 20181025
+Obsoletes: product_flavor(%{product}) < 20181026
# bnc#826592
Provides: weakremover(kernel-default) < 3.11
Provides: weakremover(kernel-desktop) < 4.2
@@ -61,7 +61,7 @@
Provides: weakremover(kernel-xen) < 3.11
Provides: %name-%version
Provides: product() = openSUSE
-Provides: product(openSUSE) = 20181025-0
+Provides: product(openSUSE) = 20181026-0
%ifarch x86_64
Provides: product-register-target() = openSUSE%2DTumbleweed%2Dx86_64
%endif
@@ -75,7 +75,7 @@
Provides: product-register-target() = openSUSE%2DTumbleweed%2Daarch64
%endif
Provides: product-label() = openSUSE
-Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20181025
+Provides: product-cpeid() = cpe%3A%2Fo%3Aopensuse%3Aopensuse%3A20181026
Provides: product-url(releasenotes) = http%3A%2F%2Fdoc.opensuse.org%2Frelease%2Dnotes%2Fx86_64%2FopenSUSE%2FTumbleweed%2Frelease%2Dnotes%2DopenSUSE.rpm
Provides: product-url(repository) = http%3A%2F%2Fdownload.opensuse.org%2Ftumbleweed%2Frepo%2Foss%2F
Requires: product_flavor(openSUSE)
@@ -17485,7 +17485,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(ftp)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description ftp
@@ -17500,7 +17500,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(mini)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description mini
@@ -17515,7 +17515,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(dvd)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description dvd
@@ -17530,7 +17530,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-kde)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description livecd-kde
@@ -17545,7 +17545,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-x11)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description livecd-x11
@@ -17560,7 +17560,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(livecd-gnome)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description livecd-gnome
@@ -17575,7 +17575,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-kde)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description usb-kde
@@ -17590,7 +17590,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-gnome)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description usb-gnome
@@ -17605,7 +17605,7 @@
Group: System/Fhs
Provides: product_flavor()
Provides: flavor(usb-x11)
-Provides: product_flavor(openSUSE) = 20181025-0
+Provides: product_flavor(openSUSE) = 20181026-0
Summary: openSUSE Tumbleweed
%description usb-x11
@@ -17678,10 +17678,10 @@
<product schemeversion="0">
<vendor>openSUSE</vendor>
<name>openSUSE</name>
- <version>20181025</version>
+ <version>20181026</version>
<release>0</release>
<arch>%{_target_cpu}</arch>
- <cpeid>cpe:/o:opensuse:opensuse:20181025</cpeid>
+ <cpeid>cpe:/o:opensuse:opensuse:20181026</cpeid>
<productline>openSUSE</productline>
<register>
<pool>
openSUSE-release.spec: same change
++++++ openSUSE-Tumbleweed-Kubic.product ++++++
--- /var/tmp/diff_new_pack.utbUjF/_old 2018-10-26 11:11:31.189612800 +0200
+++ /var/tmp/diff_new_pack.utbUjF/_new 2018-10-26 11:11:31.189612800 +0200
@@ -6,7 +6,7 @@
<name>openSUSE-Tumbleweed-Kubic</name>
<releasepkgname>openSUSE-Tumbleweed-Kubic-release</releasepkgname>
<endoflife/>
- <version>20181025</version>
+ <version>20181026</version>
<!-- release is no longer optional -->
<release>0</release>
<productline>openSUSE-Tumbleweed-Kubic</productline>
++++++ openSUSE.product ++++++
--- /var/tmp/diff_new_pack.utbUjF/_old 2018-10-26 11:11:31.201612778 +0200
+++ /var/tmp/diff_new_pack.utbUjF/_new 2018-10-26 11:11:31.201612778 +0200
@@ -4,7 +4,7 @@
<product>
<vendor>openSUSE</vendor>
<name>openSUSE</name>
- <version>20181025</version>
+ <version>20181026</version>
<release>0</release>
<productline>openSUSE</productline>
1
0
Hello community,
here is the log from the commit of package lollypop for openSUSE:Factory checked in at 2018-10-26 11:10:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lollypop (Old)
and /work/SRC/openSUSE:Factory/.lollypop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lollypop"
Fri Oct 26 11:10:53 2018 rev:53 rq:644711 version:0.9.609
Changes:
--------
--- /work/SRC/openSUSE:Factory/lollypop/lollypop.changes 2018-10-25 09:09:04.854406830 +0200
+++ /work/SRC/openSUSE:Factory/.lollypop.new/lollypop.changes 2018-10-26 11:10:59.741661169 +0200
@@ -1,0 +2,12 @@
+Thu Oct 25 17:29:32 UTC 2018 - antoine.belvire(a)opensuse.org
+
+- Update to version 0.9.609:
+ * Fix a "sqlite db locked" introduced in 0.9.608.
+- Changes from version 0.9.608:
+ * Fix an issue with multiple disc albums
+ (glgo#World/lollypop#1528).
+ * Fix hang while updating collection (glgo#World/lollypop#1517).
+ * Stop playback if writing to tags on current album
+ (glgo#World/lollypop#1527).
+
+-------------------------------------------------------------------
Old:
----
lollypop-0.9.607.tar.xz
New:
----
lollypop-0.9.609.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ lollypop.spec ++++++
--- /var/tmp/diff_new_pack.7ijW5y/_old 2018-10-26 11:11:01.385658992 +0200
+++ /var/tmp/diff_new_pack.7ijW5y/_new 2018-10-26 11:11:01.389658987 +0200
@@ -18,7 +18,7 @@
%global gobject_introspection_version 1.35.9
Name: lollypop
-Version: 0.9.607
+Version: 0.9.609
Release: 0
Summary: GNOME music playing application
License: GPL-3.0-or-later
++++++ _service ++++++
--- /var/tmp/diff_new_pack.7ijW5y/_old 2018-10-26 11:11:01.413658955 +0200
+++ /var/tmp/diff_new_pack.7ijW5y/_new 2018-10-26 11:11:01.413658955 +0200
@@ -1,7 +1,7 @@
<services>
<service mode="disabled" name="tar_scm">
<param name="changesgenerate">enable</param>
- <param name="revision">0.9.607</param>
+ <param name="revision">0.9.609</param>
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/World/lollypop.git</param>
<param name="versionformat">@PARENT_TAG@</param>
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.7ijW5y/_old 2018-10-26 11:11:01.425658939 +0200
+++ /var/tmp/diff_new_pack.7ijW5y/_new 2018-10-26 11:11:01.429658934 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.gnome.org/World/lollypop.git</param>
- <param name="changesrevision">4bfcd1f0e7da754750096381b9c255ae8af19cd2</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">eee4683f8a1e94bd5ac330855f3372c3f10b7fc1</param></service></servicedata>
\ No newline at end of file
++++++ lollypop-0.9.607.tar.xz -> lollypop-0.9.609.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/data/org.gnome.Lollypop.appdata.xml.in new/lollypop-0.9.609/data/org.gnome.Lollypop.appdata.xml.in
--- old/lollypop-0.9.607/data/org.gnome.Lollypop.appdata.xml.in 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/data/org.gnome.Lollypop.appdata.xml.in 2018-10-25 14:37:37.000000000 +0200
@@ -27,14 +27,11 @@
</ul>
</description>
<releases>
- <release version="0.9.605" date="2018-10-19">
+ <release version="0.9.608" date="2018-10-24">
<description>
<ul>
- <li>Sort albums with full date</li>
- <li>Faster album loading</li>
- <li>Add a button to go from search to artist</li>
- <li>Better wikipedia search</li>
- <li>Allow importing loved tracks</li>
+ <li>Fix hang while updating collection</li>
+ <li>Fix an issue with multiple disc albums</li>
</ul>
</description>
</release>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/art_album.py new/lollypop-0.9.609/lollypop/art_album.py
--- old/lollypop-0.9.607/lollypop/art_album.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/art_album.py 2018-10-25 14:37:37.000000000 +0200
@@ -424,6 +424,8 @@
@param album_id as int
"""
if self.kid3_available:
+ if App().player.current_track.album.id == album_id:
+ App().player.stop()
for uri in App().albums.get_track_uris(album_id, [], []):
try:
path = GLib.filename_from_uri(uri)[0]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/collectionscanner.py new/lollypop-0.9.609/lollypop/collectionscanner.py
--- old/lollypop-0.9.607/lollypop/collectionscanner.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/collectionscanner.py 2018-10-25 14:37:37.000000000 +0200
@@ -132,9 +132,8 @@
else:
files.append(f)
except Exception as e:
- Logger.error("""CollectionScanner::
- __get_objects_for_uris(): %s""" % e)
- return ([], [])
+ Logger.error("CollectionScanner::__get_objects_for_uris(): %s"
+ % e)
for f in files:
try:
if is_pls(f):
@@ -142,11 +141,11 @@
elif is_audio(f):
tracks.append(f.get_uri())
else:
- Logger.debug("""%s not detected
- as a music file""" % f.get_uri())
+ Logger.debug("%s not detected as a music file" %
+ f.get_uri())
except Exception as e:
- Logger.error("""CollectionScanner::
- __get_objects_for_uris(): %s""" % e)
+ Logger.error("CollectionScanner::__get_objects_for_uris(): %s"
+ % e)
return (tracks, track_dirs)
def __update_progress(self, current, total):
@@ -192,12 +191,13 @@
self.__inotify.add_monitor(d)
i = 0
- # Look for new files/modified files
+ # Look for new files/modified file
+ SqlCursor.add(App().db)
try:
to_add = []
- SqlCursor.add(App().db)
for uri in new_tracks:
if self.__thread is None:
+ SqlCursor.remove(App().db)
return
try:
GLib.idle_add(self.__update_progress, i, count)
@@ -247,6 +247,7 @@
i += 1
GLib.idle_add(self.__update_progress, i, count)
self.__del_from_db(uri)
+ SqlCursor.allow_thread_execution(App().db)
# Add files to db
for (uri, mtime) in to_add:
try:
@@ -258,9 +259,10 @@
except Exception as e:
Logger.error("CollectionScanner::__scan(add): %s, %s" %
(e, uri))
- SqlCursor.remove(App().db)
except Exception as e:
Logger.error("CollectionScanner::__scan(): %s" % e)
+ SqlCursor.commit(App().db)
+ SqlCursor.remove(App().db)
GLib.idle_add(self.__finish, modifications and saved)
if not saved:
self.__play_new_tracks(new_tracks)
@@ -329,8 +331,7 @@
Logger.debug("CollectionScanner::add2db(): "
"Add album artists %s" % album_artists)
- (album_artist_ids,
- new_artist_ids) = self.add_album_artists(album_artists, aa_sortnames)
+ album_artist_ids = self.add_album_artists(album_artists, aa_sortnames)
# User does not want compilations
if self.__disable_compilations and not album_artist_ids:
@@ -345,13 +346,12 @@
Logger.debug("CollectionScanner::add2db(): Add album: "
"%s, %s" % (album_name, album_artist_ids))
- (album_id, new_album) = self.add_album(album_name, mb_album_id,
- album_artist_ids,
- uri, loved, album_pop,
- album_rate, mtime)
+ album_id = self.add_album(album_name, mb_album_id,
+ album_artist_ids,
+ uri, loved, album_pop,
+ album_rate, mtime)
- (genre_ids,
- new_genre_ids) = self.add_genres(genres)
+ genre_ids = self.add_genres(genres)
# Add track to db
Logger.debug("CollectionScanner::add2db(): Add track")
@@ -360,18 +360,14 @@
album_id, year, timestamp, track_pop,
track_rate, track_ltime, mtime,
mb_track_id)
-
+ SqlCursor.commit(App().db)
Logger.debug("CollectionScanner::add2db(): Update track")
self.__update_track(track_id, artist_ids, genre_ids)
Logger.debug("CollectionScanner::add2db(): Update album")
self.__update_album(album_id, album_artist_ids,
genre_ids, year, timestamp)
- if new_album:
- SqlCursor.commit(App().db)
- for genre_id in new_genre_ids:
+ for genre_id in genre_ids:
GLib.idle_add(self.emit, "genre-updated", genre_id, True)
- for artist_id in new_artist_ids:
- GLib.idle_add(self.emit, "artist-updated", artist_id, True)
return track_id
def __del_from_db(self, uri):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/database.py new/lollypop-0.9.609/lollypop/database.py
--- old/lollypop-0.9.607/lollypop/database.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/database.py 2018-10-25 14:37:37.000000000 +0200
@@ -24,6 +24,27 @@
from lollypop.utils import noaccents
+class MyLock:
+ """
+ Lock with count
+ """
+ def __init__(self):
+ self.__lock = Lock()
+ self.__count = 0
+
+ def acquire(self):
+ self.__count += 1
+ self.__lock.acquire()
+
+ def release(self):
+ self.__count -= 1
+ self.__lock.release()
+
+ @property
+ def count(self):
+ return self.__count
+
+
class Database:
"""
Base database object
@@ -94,7 +115,7 @@
"""
Create database tables or manage update if needed
"""
- self.thread_lock = Lock()
+ self.thread_lock = MyLock()
f = Gio.File.new_for_path(self.DB_PATH)
upgrade = DatabaseAlbumsUpgrade()
if not f.query_exists():
@@ -103,7 +124,7 @@
if not d.query_exists():
d.make_directory_with_parents()
# Create db schema
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute(self.__create_albums)
sql.execute(self.__create_artists)
sql.execute(self.__create_genres)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/database_albums.py new/lollypop-0.9.609/lollypop/database_albums.py
--- old/lollypop-0.9.607/lollypop/database_albums.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/database_albums.py 2018-10-25 14:37:37.000000000 +0200
@@ -46,7 +46,7 @@
@return inserted rowid as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
result = sql.execute("INSERT INTO albums\
(name, mb_album_id, no_album_artist,\
uri, loved, popularity, rate, mtime, synced)\
@@ -67,7 +67,7 @@
@param artist id as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
artist_ids = self.get_artist_ids(album_id)
if artist_id not in artist_ids:
sql.execute("INSERT INTO "
@@ -81,7 +81,7 @@
@param genre id as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
genres = self.get_genre_ids(album_id)
if genre_id not in genres:
sql.execute("INSERT INTO\
@@ -96,7 +96,7 @@
@param artist_ids as [int]
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
currents = self.get_artist_ids(album_id)
if not currents or set(currents) - set(artist_ids):
sql.execute("DELETE FROM album_artists\
@@ -113,7 +113,7 @@
@param synced as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE albums SET synced=? WHERE rowid=?",
(synced, album_id))
@@ -124,7 +124,7 @@
@param loved as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE albums SET loved=? WHERE rowid=?",
(loved, album_id))
@@ -133,7 +133,7 @@
Set album rate
@param rate as int
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE albums SET rate=? WHERE rowid=?",
(rate, album_id))
@@ -144,7 +144,7 @@
@param year as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE albums SET year=? WHERE rowid=?",
(year, album_id))
@@ -155,7 +155,7 @@
@param timestamp as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE albums SET timestamp=? WHERE rowid=?",
(timestamp, album_id))
@@ -165,7 +165,7 @@
@param Album id as int, uri as string
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE albums SET uri=? WHERE rowid=?",
(uri, album_id))
@@ -175,7 +175,7 @@
@param album_id as int
@param popularity as int
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
try:
sql.execute("UPDATE albums set popularity=? WHERE rowid=?",
(popularity, album_id))
@@ -282,7 +282,7 @@
@param pop as int
@raise sqlite3.OperationalError on db update
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
result = sql.execute("SELECT popularity from albums WHERE rowid=?",
(album_id,))
pop = result.fetchone()
@@ -1056,7 +1056,7 @@
@param return True if album deleted or genre modified
@warning commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
ret = False
# Check album really have tracks from its genres
for genre_id in self.get_genre_ids(album_id):
@@ -1107,7 +1107,7 @@
ON albums.rowid=t.album_id\
GROUP BY albums.rowid)")
v = result.fetchone()
- if v:
+ if v and v[0] is not None:
self.__max_count = v[0]
#######################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/database_artists.py new/lollypop-0.9.609/lollypop/database_artists.py
--- old/lollypop-0.9.607/lollypop/database_artists.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/database_artists.py 2018-10-25 14:37:37.000000000 +0200
@@ -39,7 +39,7 @@
"""
if sortname == "":
sortname = format_artist_name(name)
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
result = sql.execute("INSERT INTO artists (name, sortname)\
VALUES (?, ?)",
(name, sortname))
@@ -52,7 +52,7 @@
@param sort name a str
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE artists\
SET sortname=?\
WHERE rowid=?",
@@ -257,7 +257,7 @@
@return cleaned as bool
@warning commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
cleaned = False
result = sql.execute("SELECT album_id from album_artists\
WHERE artist_id=?\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/database_genres.py new/lollypop-0.9.609/lollypop/database_genres.py
--- old/lollypop-0.9.607/lollypop/database_genres.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/database_genres.py 2018-10-25 14:37:37.000000000 +0200
@@ -36,7 +36,7 @@
@return inserted rowid as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
result = sql.execute("INSERT INTO genres (name) VALUES (?)",
(name,))
return result.lastrowid
@@ -128,7 +128,7 @@
@return cleaned as bool
@warning commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
cleaned = False
result = sql.execute("SELECT track_id from track_genres\
WHERE genre_id=?\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/database_history.py new/lollypop-0.9.609/lollypop/database_history.py
--- old/lollypop-0.9.607/lollypop/database_history.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/database_history.py 2018-10-25 14:37:37.000000000 +0200
@@ -45,11 +45,11 @@
self.thread_lock = Lock()
# Create db schema
try:
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute(self.__create_history)
except:
pass
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
result = sql.execute("SELECT COUNT(*)\
FROM history")
v = result.fetchone()
@@ -75,7 +75,7 @@
@param album_rate as int
@thread safe
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
if self.exists(name, duration):
sql.execute("UPDATE history\
SET popularity=?,rate=?,ltime=?,mtime=?,\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/database_tracks.py new/lollypop-0.9.609/lollypop/database_tracks.py
--- old/lollypop-0.9.607/lollypop/database_tracks.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/database_tracks.py 2018-10-25 14:37:37.000000000 +0200
@@ -54,7 +54,7 @@
@return inserted rowid as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
result = sql.execute(
"INSERT INTO tracks (name, uri, duration, tracknumber,\
discnumber, discname, album_id,\
@@ -84,7 +84,7 @@
@param artist id as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
artists = self.get_artist_ids(track_id)
if artist_id not in artists:
sql.execute("INSERT INTO "
@@ -98,7 +98,7 @@
@param genre id as int
@warning: commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
genres = self.get_genre_ids(track_id)
if genre_id not in genres:
sql.execute("INSERT INTO\
@@ -283,7 +283,7 @@
@param Track id as int
@param uri as string
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE tracks SET uri=?\
WHERE rowid=?",
(uri, track_id))
@@ -296,7 +296,7 @@
@param Track id as int
@param rate as int
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE tracks SET rate=?\
WHERE rowid=?",
(rate, track_id))
@@ -460,7 +460,7 @@
@param Track id as int
@param duration as int
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE tracks\
SET duration=?\
WHERE rowid=?", (duration, track_id,))
@@ -557,7 +557,7 @@
@param track id as int
@raise sqlite3.OperationalError on db update
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
result = sql.execute("SELECT popularity from tracks WHERE rowid=?",
(track_id,))
pop = result.fetchone()
@@ -575,7 +575,7 @@
@param track id as int
@param time as int
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("UPDATE tracks set ltime=? WHERE rowid=?",
(time, track_id))
@@ -603,31 +603,6 @@
ORDER BY ltime DESC LIMIT 100")
return list(itertools.chain(*result))
- def get_persistent(self, track_id):
- """
- Return track persistent
- @param track id as int
- @return int
- """
- with SqlCursor(App().db) as sql:
- result = sql.execute("SELECT rowid FROM tracks\
- WHERE persistent=?", (track_id,))
- v = result.fetchone()
- if v is not None:
- return v[0]
- return 0
-
- def set_persistent(self, track_id, persistent):
- """
- Set track persistent
- @param track id as int
- @param persistent as int
- """
- with SqlCursor(App().db) as sql:
- sql.execute("UPDATE tracks\
- SET persistent=?\
- WHERE rowid=?", (persistent, track_id,))
-
def get_randoms(self):
"""
Return random tracks
@@ -645,7 +620,7 @@
@param track id as int
@param popularity as int
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
try:
sql.execute("UPDATE tracks set popularity=? WHERE rowid=?",
(popularity, track_id))
@@ -713,7 +688,7 @@
@param track_id as int
@warning commit needed
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("DELETE FROM track_artists\
WHERE track_id = ?", (track_id,))
sql.execute("DELETE FROM track_genres\
@@ -758,7 +733,7 @@
Remove track
@param track id as int
"""
- with SqlCursor(App().db) as sql:
+ with SqlCursor(App().db, True) as sql:
sql.execute("DELETE FROM track_genres\
WHERE track_id=?", (track_id,))
sql.execute("DELETE FROM track_artists\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/database_upgrade.py new/lollypop-0.9.609/lollypop/database_upgrade.py
--- old/lollypop-0.9.607/lollypop/database_upgrade.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/database_upgrade.py 2018-10-25 14:37:37.000000000 +0200
@@ -45,12 +45,12 @@
# Migration from gsettings
gsettings_version = App().settings.get_value("db-version").get_int32()
if gsettings_version != -1:
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("PRAGMA user_version=%s" % gsettings_version)
App().settings.set_value("db-version",
GLib.Variant("i", -1))
version = 0
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
result = sql.execute("PRAGMA user_version")
v = result.fetchone()
if v is not None:
@@ -139,7 +139,7 @@
"""
Add a sorted field to artists
"""
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE artists ADD sortname TEXT")
result = sql.execute("SELECT DISTINCT artists.rowid,\
artists.name\
@@ -155,7 +155,7 @@
"""
Add album artists table
"""
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("CREATE TABLE album_artists (\
album_id INT NOT NULL,\
artist_id INT NOT NULL)")
@@ -209,7 +209,7 @@
"""
Convert tracks filepath column to uri
"""
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE tracks RENAME TO tmp_tracks")
sql.execute("""CREATE TABLE tracks (id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
@@ -265,7 +265,7 @@
"""
if App().notify:
App().notify.send("Please wait while upgrading db...")
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
result = sql.execute("SELECT tracks.rowid FROM tracks\
WHERE NOT EXISTS (\
SELECT track_id\
@@ -282,7 +282,7 @@
for path in paths:
uris.append(GLib.filename_to_uri(path))
App().settings.set_value("music-uris", GLib.Variant("as", uris))
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE albums RENAME TO tmp_albums")
sql.execute("""CREATE TABLE albums (
id INTEGER PRIMARY KEY,
@@ -327,7 +327,7 @@
INT NOT NULL DEFAULT -1")
except:
pass # May fails if History was non existent
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE tracks ADD rate\
INT NOT NULL DEFAULT -1")
sql.execute("ALTER TABLE albums ADD rate\
@@ -338,7 +338,7 @@
Add mtimes tables
"""
mtime = int(time())
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE album_genres\
ADD mtime INT NOT NULL DEFAULT %s" % mtime)
sql.execute("ALTER TABLE track_genres\
@@ -458,7 +458,7 @@
"""
Remove Charts/Web entries
"""
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
result = sql.execute("SELECT rowid FROM tracks\
WHERE persistent=0 OR\
persistent=2 OR\
@@ -525,7 +525,7 @@
"""
Restore back mtime in tracks
"""
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE tracks ADD mtime INT")
sql.execute("ALTER TABLE albums ADD mtime INT")
@@ -560,7 +560,7 @@
"""
Rename album_id to mb_album_id in albums
"""
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE albums RENAME TO tmp_albums")
sql.execute("""CREATE TABLE albums (
id INTEGER PRIMARY KEY,
@@ -587,7 +587,7 @@
Upgrade setting based on db
https://gitlab.gnome.org/gnumdk/lollypop/issues/1368
"""
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
result = sql.execute("SELECT albums.rowid\
FROM albums, album_artists\
WHERE album_artists.artist_id=?\
@@ -605,7 +605,7 @@
from time import strptime, mktime
from datetime import datetime
for item in ["albums", "tracks"]:
- with SqlCursor(db) as sql:
+ with SqlCursor(db, True) as sql:
sql.execute("ALTER TABLE %s ADD timestamp INT" % item)
result = sql.execute("SELECT rowid, year FROM %s" % item)
for (rowid, year) in result:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/player_bin.py new/lollypop-0.9.609/lollypop/player_bin.py
--- old/lollypop-0.9.607/lollypop/player_bin.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/player_bin.py 2018-10-25 14:37:37.000000000 +0200
@@ -295,13 +295,7 @@
for scrobbler in App().scrobblers:
if scrobbler.available:
scrobbler.playing_now(self._current_track)
- try:
- # Should not raise anything since SqlCursor handles locks
- if not App().scanner.is_locked():
- App().tracks.set_listened_at(self._current_track.id,
- int(time()))
- except Exception as e:
- Logger.error("BinPlayer::_on_stream_start(): %s", e)
+ App().tracks.set_listened_at(self._current_track.id, int(time()))
def _on_bus_message_tag(self, bus, message):
"""
@@ -384,7 +378,7 @@
return
self._scrobble(self._current_track, self._start_time)
# Increment popularity
- if not App().scanner.is_locked() and self._current_track.id >= 0:
+ if self._current_track.id >= 0:
App().tracks.set_more_popular(self._current_track.id)
# In party mode, linear popularity
if self.is_party:
@@ -487,22 +481,21 @@
if track is None:
self._scrobble(self._current_track, self._start_time)
# Increment popularity
- if not App().scanner.is_locked():
- App().tracks.set_more_popular(self._current_track.id)
- # In party mode, linear popularity
- if self.is_party:
- pop_to_add = 1
- # In normal mode, based on tracks count
+ App().tracks.set_more_popular(self._current_track.id)
+ # In party mode, linear popularity
+ if self.is_party:
+ pop_to_add = 1
+ # In normal mode, based on tracks count
+ else:
+ count = App().albums.get_tracks_count(
+ self._current_track.album_id)
+ if count:
+ pop_to_add = int(App().albums.max_count / count)
else:
- count = App().albums.get_tracks_count(
- self._current_track.album_id)
- if count:
- pop_to_add = int(App().albums.max_count / count)
- else:
- pop_to_add = 0
- if pop_to_add > 0:
- App().albums.set_more_popular(self._current_track.album_id,
- pop_to_add)
+ pop_to_add = 0
+ if pop_to_add > 0:
+ App().albums.set_more_popular(self._current_track.album_id,
+ pop_to_add)
GLib.idle_add(self.__volume_down, self._playbin,
self._plugins, duration)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/playlists.py new/lollypop-0.9.609/lollypop/playlists.py
--- old/lollypop-0.9.607/lollypop/playlists.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/playlists.py 2018-10-25 14:37:37.000000000 +0200
@@ -63,7 +63,7 @@
f = Gio.File.new_for_path(self._DB_PATH)
if not f.query_exists():
try:
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute(self.__create_playlists)
sql.execute(self.__create_tracks)
sql.execute("PRAGMA user_version=%s" % upgrade.version)
@@ -81,7 +81,7 @@
"""
if name == self.LOVED:
return Type.LOVED
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
result = sql.execute("INSERT INTO playlists (name, mtime)"
" VALUES (?, ?)",
(name, datetime.now().strftime("%s")))
@@ -111,7 +111,7 @@
@param old_name as str
@param new_name as str
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
playlist_id = self.get_id(old_name)
sql.execute("UPDATE playlists\
SET name=?\
@@ -124,7 +124,7 @@
delete playlist
@param playlist name as str
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
playlist_id = self.get_id(name)
sql.execute("DELETE FROM playlists\
WHERE name=?",
@@ -139,7 +139,7 @@
Remove track from playlists
@param uri as str
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute("DELETE FROM tracks\
WHERE uri=?",
(uri,))
@@ -359,7 +359,7 @@
@param playlist_id as int
@param synced as bool
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute("UPDATE playlists\
SET synced=?\
WHERE rowid=?",
@@ -371,7 +371,7 @@
@param playlist id as int
@param notify as bool
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute("DELETE FROM tracks\
WHERE playlist_id=?", (playlist_id,))
if notify:
@@ -384,7 +384,7 @@
@param tracks as [Track]
@param notify as bool
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
changed = False
for track in tracks:
if not self.exists_track(playlist_id, track):
@@ -406,7 +406,7 @@
@param playlist id as int
@param uris as [str]
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
for uri in uris:
sql.execute("INSERT INTO tracks"
" VALUES (?, ?)",
@@ -421,7 +421,7 @@
@param playlist id as int
@param tracks as [Track]
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
for track in tracks:
sql.execute("DELETE FROM tracks\
WHERE uri=?\
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/radios.py new/lollypop-0.9.609/lollypop/radios.py
--- old/lollypop-0.9.607/lollypop/radios.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/radios.py 2018-10-25 14:37:37.000000000 +0200
@@ -45,7 +45,7 @@
self.thread_lock = Lock()
# Create db schema
try:
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute(self.create_radios)
except:
pass
@@ -57,7 +57,7 @@
@param url as str
@thread safe
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
if self.exists(name):
sql.execute("UPDATE radios\
SET url=?\
@@ -91,7 +91,7 @@
@param old playlist name as str
@param new playlist name as str
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute("UPDATE radios\
SET name=?\
WHERE name=?",
@@ -103,7 +103,7 @@
delete radio
@param radio name as str
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
sql.execute("DELETE FROM radios\
WHERE name=?",
(name,))
@@ -167,7 +167,7 @@
Set radio more popular
@param name as str
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
result = sql.execute("SELECT popularity from radios WHERE name=?",
(name,))
pop = result.fetchone()
@@ -214,7 +214,7 @@
@param name as str
@param popularity as int
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
try:
sql.execute("UPDATE radios SET\
popularity=? WHERE name=?",
@@ -228,7 +228,7 @@
@param name as str
@param rate as int
"""
- with SqlCursor(self) as sql:
+ with SqlCursor(self, True) as sql:
try:
sql.execute("UPDATE radios SET\
rate=? WHERE name=?",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/sqlcursor.py new/lollypop-0.9.609/lollypop/sqlcursor.py
--- old/lollypop-0.9.607/lollypop/sqlcursor.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/sqlcursor.py 2018-10-25 14:37:37.000000000 +0200
@@ -45,24 +45,30 @@
Commit current obj
"""
name = current_thread().getName() + obj.__class__.__name__
- App().cursors[name].commit()
+ if name in App().cursors.keys():
+ App().cursors[name].commit()
def allow_thread_execution(obj):
"""
Release thread lock allowing others threads execution
"""
name = current_thread().getName() + obj.__class__.__name__
- if name in App().cursors.keys() and len(App().cursors.keys()) > 1:
+ if name in App().cursors.keys() and obj.thread_lock.count > 1:
+ App().cursors[name].commit()
obj.thread_lock.release()
sleep(0.01)
obj.thread_lock.acquire()
- def __init__(self, obj):
+ def __init__(self, obj, commit=False):
"""
- Init object
+ Init object, if using multiple SqlCursor, parent commit param will
+ be used
+ @param obj as Database/Playlists/Radios
+ @param commit as bool
"""
self.__obj = obj
self.__creator = False
+ self.__commit = commit
def __enter__(self):
"""
@@ -70,19 +76,20 @@
"""
name = current_thread().getName() + self.__obj.__class__.__name__
if name not in App().cursors.keys():
- self.__creator = True
App().cursors[name] = self.__obj.get_cursor()
- self.__obj.thread_lock.acquire()
+ self.__creator = True
+ if self.__commit:
+ self.__obj.thread_lock.acquire()
return App().cursors[name]
def __exit__(self, type, value, traceback):
"""
If creator, close cursor and remove it
"""
- if self.__creator:
- name = current_thread().getName() + self.__obj.__class__.__name__
- if name in App().cursors.keys():
+ name = current_thread().getName() + self.__obj.__class__.__name__
+ if name in App().cursors.keys() and self.__creator:
+ if self.__commit:
App().cursors[name].commit()
- App().cursors[name].close()
- del App().cursors[name]
- self.__obj.thread_lock.release()
+ self.__obj.thread_lock.release()
+ App().cursors[name].close()
+ del App().cursors[name]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/tagreader.py new/lollypop-0.9.609/lollypop/tagreader.py
--- old/lollypop-0.9.607/lollypop/tagreader.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/tagreader.py 2018-10-25 14:37:37.000000000 +0200
@@ -487,11 +487,10 @@
@param artists as [string]
@param sortnames as [string]
@param artist ids as int
- @return ([int], [int])
+ @return [int]
@commit needed
"""
artist_ids = []
- new_artist_ids = []
sortsplit = sortnames.split(";")
sortlen = len(sortsplit)
i = 0
@@ -508,12 +507,11 @@
if sortname is None:
sortname = format_artist_name(artist)
artist_id = App().artists.add(artist, sortname)
- new_artist_ids.append(artist_id)
elif sortname is not None:
App().artists.set_sortname(artist_id, sortname)
i += 1
artist_ids.append(artist_id)
- return (artist_ids, new_artist_ids)
+ return artist_ids
def add_genres(self, genres):
"""
@@ -524,7 +522,6 @@
"""
# Get all genre ids
genre_ids = []
- new_genre_ids = []
for genre in genres.split(";"):
genre = genre.strip()
if genre != "":
@@ -532,9 +529,8 @@
genre_id = App().genres.get_id(genre)
if genre_id is None:
genre_id = App().genres.add(genre)
- new_genre_ids.append(genre_id)
genre_ids.append(genre_id)
- return (genre_ids, new_genre_ids)
+ return genre_ids
def add_album(self, album_name, mb_album_id, artist_ids,
uri, loved, popularity, rate, mtime):
@@ -548,20 +544,18 @@
@param popularity as int
@param rate as int
@param mtime as int
- @return (album id as int, new as bool)
+ @return album_id as int
@commit needed
"""
f = Gio.File.new_for_uri(uri)
d = f.get_parent()
parent_uri = "/" if d is None else d.get_uri()
- new = False
album_id = App().albums.get_id(album_name, mb_album_id, artist_ids)
if album_id is None:
- new = True
album_id = App().albums.add(album_name, mb_album_id, artist_ids,
parent_uri, loved, popularity,
rate, mtime)
# Now we have our album id, check if path doesn"t change
if App().albums.get_uri(album_id) != parent_uri:
App().albums.set_uri(album_id, parent_uri)
- return (album_id, new)
+ return album_id
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/widgets_album.py new/lollypop-0.9.609/lollypop/widgets_album.py
--- old/lollypop-0.9.607/lollypop/widgets_album.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/widgets_album.py 2018-10-25 14:37:37.000000000 +0200
@@ -63,13 +63,6 @@
self._show_overlay_func(set)
@property
- def is_populated(self):
- """
- True if album populated
- """
- return True
-
- @property
def filter(self):
return ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/widgets_album_simple.py new/lollypop-0.9.609/lollypop/widgets_album_simple.py
--- old/lollypop-0.9.607/lollypop/widgets_album_simple.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/widgets_album_simple.py 2018-10-25 14:37:37.000000000 +0200
@@ -99,6 +99,13 @@
width = Gtk.FlowBoxChild.do_get_preferred_width(self)[0]
return (width, width)
+ @property
+ def is_populated(self):
+ """
+ True if album populated
+ """
+ return True
+
#######################
# PROTECTED #
#######################
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/widgets_radio.py new/lollypop-0.9.609/lollypop/widgets_radio.py
--- old/lollypop-0.9.607/lollypop/widgets_radio.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/widgets_radio.py 2018-10-25 14:37:37.000000000 +0200
@@ -135,6 +135,13 @@
self._artwork.set_state(Gtk.StateType.NORMAL)
@property
+ def is_populated(self):
+ """
+ True if album populated
+ """
+ return True
+
+ @property
def id(self):
"""
Return widget id (same value for all radio widgets)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/lollypop/widgets_rating.py new/lollypop-0.9.609/lollypop/widgets_rating.py
--- old/lollypop-0.9.607/lollypop/widgets_rating.py 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/lollypop/widgets_rating.py 2018-10-25 14:37:37.000000000 +0200
@@ -111,8 +111,6 @@
@param widget as Gtk.EventBox
@param event as Gdk.Event
"""
- if App().scanner.is_locked():
- return
user_rating = True
rate = self.__object.get_rate()
# -1 for compatiblity with previous release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/meson.build new/lollypop-0.9.609/meson.build
--- old/lollypop-0.9.607/meson.build 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/meson.build 2018-10-25 14:37:37.000000000 +0200
@@ -1,5 +1,5 @@
project('lollypop',
- version: '0.9.607',
+ version: '0.9.609',
meson_version: '>= 0.40.0'
)
i18n = import('i18n')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/subprojects/po/ar.po new/lollypop-0.9.609/subprojects/po/ar.po
--- old/lollypop-0.9.607/subprojects/po/ar.po 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/subprojects/po/ar.po 2018-10-25 14:37:37.000000000 +0200
@@ -8,7 +8,7 @@
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-09 18:44+0200\n"
-"PO-Revision-Date: 2018-10-02 21:21+0000\n"
+"PO-Revision-Date: 2018-10-23 16:22+0000\n"
"Last-Translator: AbouZakaria <zakariakov(a)gmail.com>\n"
"Language-Team: Arabic <https://hosted.weblate.org/projects/gnumdk/lollypop/"
"ar/>\n"
@@ -18,7 +18,7 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5;\n"
-"X-Generator: Weblate 3.2-dev\n"
+"X-Generator: Weblate 3.3-dev\n"
#: ../data/org.gnome.Lollypop.gschema.xml:28
msgid "Window size"
@@ -194,7 +194,7 @@
#: ../data/org.gnome.Lollypop.gschema.xml:188
msgid "Disable scrobbling usage"
-msgstr ""
+msgstr "تعطيل استخدام scrobbler"
#: ../data/org.gnome.Lollypop.gschema.xml:193
msgid "Handle compilations"
@@ -389,11 +389,11 @@
#: ../data/org.gnome.Lollypop.appdata.xml.in:33
msgid "Fix a crash in artist view"
-msgstr ""
+msgstr "إصلاح العطل في عرض الفنان"
#: ../data/org.gnome.Lollypop.appdata.xml.in:40
msgid "Fix a freeze in playlists"
-msgstr ""
+msgstr "إصلاح التجميد في قوائم التشغيل"
#: ../data/org.gnome.Lollypop.desktop.in:4
msgid "Music Player"
@@ -892,7 +892,7 @@
#: ../data/Shortcuts.ui:170
msgctxt "shortcut window"
msgid "Enable/disable scrobbling"
-msgstr ""
+msgstr "تمكين / تعطيل scrobbler"
#: ../data/ToolbarEnd.ui:7
msgid "Party mode"
@@ -936,11 +936,11 @@
#: ../data/ToolbarEnd.ui:53
msgid "Scrobbling"
-msgstr ""
+msgstr "Scrobbler"
#: ../data/ToolbarEnd.ui:55
msgid "Enable scrobbling"
-msgstr ""
+msgstr "تمكبن Scrobbler"
#: ../data/ToolbarEnd.ui:99
msgid "Playback type"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lollypop-0.9.607/subprojects/po/de.po new/lollypop-0.9.609/subprojects/po/de.po
--- old/lollypop-0.9.607/subprojects/po/de.po 2018-10-21 22:19:13.000000000 +0200
+++ new/lollypop-0.9.609/subprojects/po/de.po 2018-10-25 14:37:37.000000000 +0200
@@ -20,7 +20,7 @@
"Project-Id-Version: lollypop\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-09 18:44+0200\n"
-"PO-Revision-Date: 2018-09-28 20:27+0000\n"
+"PO-Revision-Date: 2018-10-23 12:29+0000\n"
"Last-Translator: Vincent Bermel <willovince(a)openmailbox.org>\n"
"Language-Team: German <https://hosted.weblate.org/projects/gnumdk/lollypop/"
"de/>\n"
@@ -29,7 +29,7 @@
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Weblate 3.2-dev\n"
+"X-Generator: Weblate 3.3-dev\n"
#: ../data/org.gnome.Lollypop.gschema.xml:28
msgid "Window size"
@@ -205,7 +205,7 @@
#: ../data/org.gnome.Lollypop.gschema.xml:188
msgid "Disable scrobbling usage"
-msgstr ""
+msgstr "Scrobbling deaktivieren"
#: ../data/org.gnome.Lollypop.gschema.xml:193
msgid "Handle compilations"
@@ -410,11 +410,11 @@
#: ../data/org.gnome.Lollypop.appdata.xml.in:33
msgid "Fix a crash in artist view"
-msgstr ""
+msgstr "Fehler in Künstlerübersicht behoben"
#: ../data/org.gnome.Lollypop.appdata.xml.in:40
msgid "Fix a freeze in playlists"
-msgstr ""
+msgstr "Wiedergabelisten-Absturz behoben"
#: ../data/org.gnome.Lollypop.desktop.in:4
msgid "Music Player"
@@ -916,7 +916,7 @@
#: ../data/Shortcuts.ui:170
msgctxt "shortcut window"
msgid "Enable/disable scrobbling"
-msgstr ""
+msgstr "Scrobbling (de)aktivieren"
#: ../data/ToolbarEnd.ui:7
msgid "Party mode"
@@ -960,11 +960,11 @@
#: ../data/ToolbarEnd.ui:53
msgid "Scrobbling"
-msgstr ""
+msgstr "Scrobbling"
#: ../data/ToolbarEnd.ui:55
msgid "Enable scrobbling"
-msgstr ""
+msgstr "Scrobbling aktivieren"
#: ../data/ToolbarEnd.ui:99
msgid "Playback type"
@@ -1160,11 +1160,11 @@
#: ../lollypop/pop_search.py:112
msgid "<big>No results for this search</big>"
-msgstr ""
+msgstr "<big>Keine Ergebnisse für diesen Suchbegriff</big>"
#: ../lollypop/pop_search.py:119
msgid "<big>Search for artists, albums and tracks</big>"
-msgstr ""
+msgstr "<big>Nach Künstlern, Album und Titeln suchen</big>"
#: ../lollypop/pop_tunein.py:92 ../lollypop/pop_tunein.py:401
msgid "Can't connect to TuneIn…"
1
0
Hello community,
here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2018-10-26 11:10:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old)
and /work/SRC/openSUSE:Factory/.jeos-firstboot.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jeos-firstboot"
Fri Oct 26 11:10:43 2018 rev:19 rq:644669 version:0.0+git20181025.0848274
Changes:
--------
--- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2018-10-15 09:41:18.443491394 +0200
+++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new/jeos-firstboot.changes 2018-10-26 11:10:50.617673268 +0200
@@ -1,0 +2,7 @@
+Thu Oct 25 14:03:55 UTC 2018 - opensuse-packaging(a)opensuse.org
+
+- Update to version 0.0+git20181025.0848274:
+ * Fix setting the locale
+ * Fix reading the default timezone if /etc/localtime is a relative symlink
+
+-------------------------------------------------------------------
Old:
----
jeos-firstboot-0.0+git20181008.086fc72.tar.xz
New:
----
jeos-firstboot-0.0+git20181025.0848274.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ jeos-firstboot.spec ++++++
--- /var/tmp/diff_new_pack.pwAr9L/_old 2018-10-26 11:10:52.913670220 +0200
+++ /var/tmp/diff_new_pack.pwAr9L/_new 2018-10-26 11:10:52.913670220 +0200
@@ -17,7 +17,7 @@
Name: jeos-firstboot
-Version: 0.0+git20181008.086fc72
+Version: 0.0+git20181025.0848274
Release: 0
Summary: Simple text based JeOS first boot wizard
License: MIT
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.pwAr9L/_old 2018-10-26 11:10:52.941670183 +0200
+++ /var/tmp/diff_new_pack.pwAr9L/_new 2018-10-26 11:10:52.941670183 +0200
@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">git://github.com/openSUSE/jeos-firstboot.git</param>
- <param name="changesrevision">7d63e1581cc1804cbf735384d2f44057298abe27</param></service></servicedata>
\ No newline at end of file
+ <param name="changesrevision">c0551b83c56454ada1e35ad24b9039844a225248</param></service></servicedata>
\ No newline at end of file
++++++ jeos-firstboot-0.0+git20181008.086fc72.tar.xz -> jeos-firstboot-0.0+git20181025.0848274.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-0.0+git20181008.086fc72/files/usr/lib/jeos-firstboot new/jeos-firstboot-0.0+git20181025.0848274/files/usr/lib/jeos-firstboot
--- old/jeos-firstboot-0.0+git20181008.086fc72/files/usr/lib/jeos-firstboot 2018-10-08 15:02:18.000000000 +0200
+++ new/jeos-firstboot-0.0+git20181025.0848274/files/usr/lib/jeos-firstboot 2018-10-25 15:05:09.000000000 +0200
@@ -138,19 +138,20 @@
[ -f /etc/locale.conf ] && locale_lang="$(awk -F= '$1 == "LANG" { split($2,fs,"."); print fs[1]; exit }' /etc/locale.conf)"
[ -n "$locale_lang" ] && default="$locale_lang"
- list=()
- result="$default"
+ list=() # Set by findlocales
+ newlocale="$default"
if ! findlocales; then
d --msgbox $"No locales found" 0 0
elif [ "${#list[@]}" -eq 2 ]; then
- result="${list[0]}"
- d --msgbox $"Locale set to $result.\nTo change to a different one, install glibc-locale and use\n'localectl set-locale LANG=ex_AMPLE.UTF-8'." 8 50
+ newlocale="${list[0]}"
+ d --msgbox $"Locale set to $newlocale.\nTo change to a different one, install glibc-locale and use\n'localectl set-locale LANG=ex_AMPLE.UTF-8'." 8 50
else
d --default-item "$default" --menu $"Select System Locale" 0 0 $dh_menu "${list[@]}"
+ newlocale="${result}"
fi
- if [ -n "$result" ]; then
- locale="${result}.UTF-8"
+ if [ -n "$newlocale" ]; then
+ locale="${newlocale}.UTF-8"
systemd_firstboot_args+=("--locale=$locale")
# Run langset to get consolefont and keymap set up
@@ -228,7 +229,7 @@
done
fi
-default="$(readlink /etc/localtime)"
+default="$(readlink -f /etc/localtime)"
default="${default##/usr/share/zoneinfo/}"
# timedatectl doesn't work as dbus is not up yet
1
0
Hello community,
here is the log from the commit of package dpdk for openSUSE:Factory checked in at 2018-10-26 11:10:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dpdk (Old)
and /work/SRC/openSUSE:Factory/.dpdk.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dpdk"
Fri Oct 26 11:10:32 2018 rev:32 rq:644668 version:18.02.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/dpdk/dpdk-thunderx.changes 2018-09-25 15:42:55.361258492 +0200
+++ /work/SRC/openSUSE:Factory/.dpdk.new/dpdk-thunderx.changes 2018-10-26 11:10:40.241687074 +0200
@@ -1,0 +2,5 @@
+Thu Oct 25 15:26:53 CEST 2018 - ndas(a)suse.de
+
+- Enable missed MLX PMDs for SLE12SP4 (bsc#1112307)
+
+-------------------------------------------------------------------
dpdk.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dpdk-thunderx.spec ++++++
--- /var/tmp/diff_new_pack.QYRbBn/_old 2018-10-26 11:10:42.677683828 +0200
+++ /var/tmp/diff_new_pack.QYRbBn/_new 2018-10-26 11:10:42.681683823 +0200
@@ -71,7 +71,7 @@
BuildRequires: libnuma-devel
BuildRequires: libpcap-devel
BuildRequires: pesign-obs-integration
-%if 0%{?sle_version} >= 150000
+%if 0%{?sle_version} >= 120400
BuildRequires: rdma-core-devel
%endif
BuildRequires: zlib-devel
@@ -200,7 +200,7 @@
setconf CONFIG_RTE_LIBRTE_BNX2X_MF_SUPPORT y $1
setconf CONFIG_RTE_LIBRTE_PMD_PCAP y $1
setconf CONFIG_RTE_LIBRTE_VHOST_NUMA y $1
-%if 0%{?sle_version} >= 150000
+%if 0%{?sle_version} >= 120400
setconf CONFIG_RTE_LIBRTE_MLX5_PMD y $1
setconf CONFIG_RTE_LIBRTE_MLX4_PMD y $1
%endif
dpdk.spec: same change
1
0
Hello community,
here is the log from the commit of package inxi for openSUSE:Factory checked in at 2018-10-26 11:10:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/inxi (Old)
and /work/SRC/openSUSE:Factory/.inxi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "inxi"
Fri Oct 26 11:10:26 2018 rev:9 rq:644650 version:3.0.27
Changes:
--------
--- /work/SRC/openSUSE:Factory/inxi/inxi.changes 2018-10-08 17:50:04.290128511 +0200
+++ /work/SRC/openSUSE:Factory/.inxi.new/inxi.changes 2018-10-26 11:10:27.269704403 +0200
@@ -1,0 +2,6 @@
+Thu Oct 25 12:16:46 UTC 2018 - sor.alexei(a)meowr.ru
+
+- Update to version 3.0.27:
+ * See /usr/share/doc/packages/inxi/inxi.changelog
+
+-------------------------------------------------------------------
Old:
----
inxi-3.0.26-1.tar.gz
New:
----
inxi-3.0.27-1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ inxi.spec ++++++
--- /var/tmp/diff_new_pack.Cz1M5C/_old 2018-10-26 11:10:29.165701865 +0200
+++ /var/tmp/diff_new_pack.Cz1M5C/_new 2018-10-26 11:10:29.165701865 +0200
@@ -17,9 +17,9 @@
#
-%define _version 3.0.26-1
+%define _version 3.0.27-1
Name: inxi
-Version: 3.0.26
+Version: 3.0.27
Release: 0
Summary: A system information script
License: GPL-3.0-or-later
++++++ inxi-3.0.26-1.tar.gz -> inxi-3.0.27-1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inxi-3.0.26-1/README.txt new/inxi-3.0.27-1/README.txt
--- old/inxi-3.0.26-1/README.txt 2018-09-29 03:38:30.000000000 +0200
+++ new/inxi-3.0.27-1/README.txt 2018-10-15 04:13:25.000000000 +0200
@@ -11,7 +11,14 @@
internally.
===============================================================================
-Help inxi development! Submit a user debugger dataset.
+DEVELOPMENT AND ISSUES
+-------------------------------------------------------------------------------
+
+Make inxi better! Expand supported hardware and OS data, fix broken items!
+
+-------------------------------------------------------------------------------
+HELP PROJECT DEVELOPMENT! SUBMIT A DEBUGGER DATASET
+-------------------------------------------------------------------------------
This is easy to do, and only takes a few seconds. These datasets really help
the project add and debug features. You will generally also be asked to provide
@@ -32,11 +39,12 @@
data, like from dmidecode, and other tools that need superuser permissions
to run.
-ARM and BSD datasets are particularly appreciated because we simply do not
-have enough of those.
+ARM (plus MIPS, SPARC, PowerPC) and BSD datasets are particularly appreciated
+because we simply do not have enough of those.
-===============================================================================
-Make inxi better! Expand supported hardware and OS data, fix broken items!
+-------------------------------------------------------------------------------
+FILE AN ISSUE IF YOU FIND SOMETHING MISSING, BROKEN, OR FOR AN ENHANCEMENT
+-------------------------------------------------------------------------------
inxi strives to support the widest range of operating systems and hardware,
from the most simple consumer desktops, to the most advanced professional
@@ -46,12 +54,43 @@
appreciated since user data and feedback is what keeps inxi working and
supporting the latest (or not so latest) hardware and operating systems.
-See the BSD section below for qualifications re BSDs, and OSX in particular.
+See INXI VERSION/SUPPORT/ISSUES/BUGS INFORMATION for more about issues/support.
+
+See BSD/UNIX below for qualifications re BSDs, and OSX in particular.
===============================================================================
-BRANCHES
+SOURCE VERSION CONTROL
+-------------------------------------------------------------------------------
+
+https://github.com/smxi/inxi
+MAIN BRANCH: master
+DEVELOPMENT BRANCHES: inxi-perl, one, two
+inxi-perl is the dev branch, the others are rarely if ever used. inxi itself
+has the built in feature to be able to update itself from anywhere, including
+these branches, which is very useful for development and debugging on various
+user systems.
+
+PULL REQUESTS: Please talk to me before starting to work on patches of any
+reasonable complexity. inxi is hard to work on, and you have to understand how
+it works before submitting patches, unless it's a trivial bug fix. Please:
+NEVER even think about looking at or using previous inxi commits, previous to
+the current master version, as a base for a patch. If you do, your patch / pull
+request will probably be rejected. Developers, get your version from the
+inxi-perl branch, pinxi, otherwise you may not be current to actual development
+versions. inxi-perl pinxi is always equal to or ahead of master branch inxi.
+
+Man page updates, doc page updates, etc, of course, are easy and will probably
+be accepted, as long as they are properly formatted and logically coherent.
+
+When under active development, inxi releases early, and releases often.
+
+PACKAGERS: inxi has one and only one 'release', and that is the current
+commit/version in the master branch (plus pinxi inxi-perl branch, of course,
+but those should never be packaged).
+
+-------------------------------------------------------------------------------
+MASTER BRANCH
-------------------------------------------------------------------------------
-MASTER BRANCH:
This is the only supported branch, and the current latest commit/version is
the only supported 'release'. There are no 'releases' of inxi beyond the
@@ -70,8 +109,14 @@
are releases! I can't change the words on the tag page. They are tagged
commmits, period. A tag is a pointer to a commit, and has no further meaning.
+If your distribution has blocked -U self updater and you want a newer version:
+
+Open /etc/inxi.conf and change false to true: B_ALLOW_UPDATE=true
+
+-------------------------------------------------------------------------------
+DEVELOPMENT BRANCH
-------------------------------------------------------------------------------
-DEVELOPMENT BRANCH:
+
All active development is now done on the inxi-perl branch (pinxi):
git clone https://github.com/smxi/inxi --branch inxi-perl --single-branch
@@ -90,7 +135,9 @@
not been corrected, since pinxi is always equal to or ahead of inxi.
-------------------------------------------------------------------------------
-LEGACY BRANCH:
+LEGACY BRANCH
+-------------------------------------------------------------------------------
+
If you'd like to look at or check out the Gawk/Bash version of inxi, you can
find it here, at the inxi-legacy branch (binxi):
@@ -107,14 +154,19 @@
anyone.
===============================================================================
-SUPPORT INFO:
+SUPPORT INFO
+-------------------------------------------------------------------------------
Do not ask for basic help that reading the inxi -h / --help menus, or man page
would show you, and do not ask for features to be added that inxi already has.
Also do not ask for support if your distro won't update its inxi version, some
are bad about that.
-DOCUMENTATION: https://smxi.org/docs/inxi.htm
+-------------------------------------------------------------------------------
+DOCUMENTATION
+-------------------------------------------------------------------------------
+
+https://smxi.org/docs/inxi.htm
(smxi.org/docs/ is easier to remember, and is one click away from inxi.htm).
The one page wiki on github is only a pointer to the real resources.
@@ -125,52 +177,54 @@
_should_ be included in a distribution's core modules, but which are
unfortunately sometimes removed.
+INXI CONFIGURATION: https://smxi.org/docs/inxi-configuration.htm
HTML MAN PAGE: https://smxi.org/docs/inxi-man.htm
INXI OPTIONS PAGE: http://smxi.org/docs/inxi-options.htm
-NOTE: These may not always be up to date, but generally track the most recent
-inxi commits.
-ISSUES: https://github.com/smxi/inxi/issues
+NOTE: Check the inxi version number on each doc page to see which version
+will support the options listed. The man and options page also link to a
+legacy version, pre 2.9.
+
+-------------------------------------------------------------------------------
+IRC
+-------------------------------------------------------------------------------
+
+You can go to: irc.oftc.net channel #smxi
+but be prepared to wait around for a while to get a response. Generally it's
+better to use github issues.
+
+-------------------------------------------------------------------------------
+ISSUES
+-------------------------------------------------------------------------------
+
+https://github.com/smxi/inxi/issues
No issues accepted for non current inxi versions. See below for more on that.
Unfortunately as of 2.9, no support or issues can be accepted for older inxi's
because inxi 2.9 (Perl) and newer is a full rewrite, and legacy inxi is not
being supported since our time here on earth is finite (plus of course, one
reason for the rewrite was to never have to work with Gawk->Bash again!).
-SUPPORT FORUMS: https://techpatterns.com/forums/forum-33.html
-This is the best place to place support issues that may be complicated.
-
-If you are developer, use:
-DEVELOPER FORUMS: https://techpatterns.com/forums/forum-32.html
-
-SOURCE VERSION CONTROL: https://github.com/smxi/inxi
-MAIN BRANCH: master
-DEVELOPMENT BRANCHES: inxi-perl, one, two
-inxi-perl is the dev branch, the others are rarely if ever used. inxi itself
-has the built in feature to be able to update itself from anywhere, including
-these branches, which is very useful for development and debugging on various
-user systems.
+Sys Admin type inxi users always get the first level of support. ie, convince
+us you run real systems and networks, and your issue shoots to the top of the
+line. As do any real bugs.
-PULL REQUESTS: Please talk to me before starting to work on patches of any
-reasonable complexity. inxi is hard to work on, and you have to understand how
-it works before submitting patches, unless it's a trivial bug fix. Please:
-NEVER even think about looking at or using previous inxi commits, previous to
-the current master version, as a base for a patch. If you do, your patch / pull
-request will probably be rejected. Developers, get your version from the
-inxi-perl branch, pinxi, otherwise you may not be current to actual development
-versions. inxi-perl pinxi is always equal to or ahead of master branch inxi.
+Failure to supply requested debugger data will lead To a distinct lack of
+interest on our part to help you with a bug. ie, saying, oh, it doesn't work,
+doesn't cut it, unless it's obvious why.
-Man page updates, doc page updates, etc, of course, are easy and will probably
-be accepted, as long as they are properly formatted and logically coherent.
+-------------------------------------------------------------------------------
+SUPPORT FORUMS
+-------------------------------------------------------------------------------
-When under active development, inxi releases early, and releases often.
+https://techpatterns.com/forums/forum-33.html
+This is the best place to place support issues that may be complicated.
-PACKAGERS: inxi has one and only one 'release', and that is the current
-commit/version in the master branch (plus pinxi inxi-perl branch, of course,
-but those should never be packaged).
+If you are developer, use:
+DEVELOPER FORUMS: https://techpatterns.com/forums/forum-32.html
===============================================================================
-ABOUT INXI - CORE COMMITMENT TO LONG TERM STABILITY
+ABOUT INXI
+-------------------------------------------------------------------------------
inxi is a command line system information tool. It was forked from the ancient
and mindbendingly perverse yet ingenius infobash, by locsmif.
@@ -193,15 +247,15 @@
automatically turns off color codes, so the old suggestion to use -c 0 to turn
off colors is no longer required.
-inxi should always show you your current system state, as far as possible, and
-should be more reliable than your own beliefs about what is in your system,
-ideally. In other words, the goal in inxi is to have it be right more than it
-is wrong about any system that it runs on. And not to rely on non current
-system state data if at all possible. Some things, like memory/ram data, rely
-on radically unreliable system self reporting based on OEM filling out data
-correctly, which doesn't often happen, so in those cases, you want to confirm
-things like ram capacity with a reputable hardware source, like crucial.com,
-which has the best ram hardware tool I know of.
+inxi strives to be as accurate as possible, but some things, like memory/ram
+data, depend on radically unreliable system self reporting based on OEM
+filling out data correctly, which doesn't often happen, so in those cases,
+you want to confirm things like ram capacity with a reputable hardware source,
+like crucial.com, which has the best ram hardware tool I know of.
+
+-------------------------------------------------------------------------------
+COMMITMENT TO LONG TERM STABILITY
+-------------------------------------------------------------------------------
The core mission of inxi is to always work on all systems all the time. Well,
all systems with the core tools inxi requires to operate installed. Ie, not
@@ -216,60 +270,9 @@
system that runs Perl 5.08 or later. Pre 2.9.0 Gawk/Bash inxi will also run on
any system no matter how old, within reason, so there should be no difference.
-===============================================================================
-BSD SUPPORT
-
-Real BSDs:
-BSD support is not as complete as GNU/Linux support due to the fact some of the
-data simply is not available, or is structured in a way that makes it unique to
-each BSD. This fragmentation makes supporting BSDs far more difficult than it
-should be in the 21st century. The BSD support in inxi is an ongoing process,
-with more features being added as new data sources and types are discovered.
-
-All BSD issue reports unless trivial and obvious will require 1 of two things:
-
-1. a full --debug 21 data dump so I don't have to spend days trying to get the
-information I need to resolve the issue file by painful file from the issue
-poster. This is only the start of the process, and realistically requires 2. to
-complete it.
-
-2. direct SSH access to at least a comparable live BSD version/system, that is,
-if the issue is on a laptop, access has to be granted to the laptop, or a
-similar one.
-
-Option 2 is far preferred because in terms of my finite time on this planet of
-ours, the fact is, if I don't have direct (or SSH) access, I can't get much
-done, and the little I can get done will take 10 to 1000x longer than it
-should. That's my time spent (and sadly, with BSDs, largely lost), not yours.
-
-I decided I have to adopt this much more strict policy with BSDs after wasting
-untold hours on trying to get good BSD support, only to see that support break
-a few years down the road as the data inxi relied in changed structure or
-syntax, or the tools changed, or whatever else makes the BSDs such a challenge
-to support. In the end, I realized, the only BSDs that are well supported are
-ones that I have had direct access to for debugging and testing.
-
-I will always accept patches that are well done, if they do not break
-GNU/Linux, and extend BSD support, or add new BSD features, and follow the
-internal inxi logic, and aren't too long. inxi sets initial internal flags to
-identify that it is a BSD system vs a GNU/Linux system, and preloads some data
-structures for BSD use, so make sure you understand what inxi is doing before
-you get into it.
-
-OSX:
-Do not insult real BSDs by calling OSX a BSD. OSX is the least Unix-like
-operating system I've ever seen that claims to be a Unix, its tools are
-mutated, its data randomly and non-standardly organized, and it totally fails
-to respect the 'spirit' of Unix, even though it might pass some random tests
-that certify a system as a 'Unix'.
-
-If you want me to use my time on OSX features or issues, you have to pay me,
-because Apple is all about money, not freedom (that's what the 'free' in 'free
-software' is referring to, not cost), and I'm not donating my finite time in
-support of non-free operating systems.
-
-===============================================================================
-INXI FEATURES AND FUNCTIONALITY
+-------------------------------------------------------------------------------
+FEATURES AND FUNCTIONALITY
+-------------------------------------------------------------------------------
inxi's functionality continues to grow over time, but it's also important to
understand that each core new feature usually requires about 30 days work to
@@ -282,8 +285,9 @@
rejected, it's likely because you have not thought it through adequately, have
not done adequate testing cross system and platform, etc.
-===============================================================================
-INXI VERSION/SUPPORT/ISSUES/BUGS INFORMATION:
+-------------------------------------------------------------------------------
+SUPPORTED VERSIONS / DISTRO VERSIONS
+-------------------------------------------------------------------------------
Important: the only version of inxi that is supported is the latest current
master branch version/commit. No issue reports or bug reports will be accepted
@@ -293,12 +297,6 @@
ages ago. If your distro isn't packaging a current inxi, then file a bug report
with your packager, not here.
-Sys Admin type inxi users always get the first level of support. ie, convince
-us you run real systems and networks, and your issue shoots to the top of the
-line. As do any real bugs. Failure to supply requested debugger data will lead
-to a distinct lack of interest on our part to help you with a bug. ie, saying,
-oh, it doesn't work, doesn't cut it, unless it's obvious why.
-
inxi is 'rolling release' software, just like Debian Sid, Gentoo, or Arch Linux
are rolling release GNU/Linux distributions, with no 'release points'.
@@ -320,9 +318,9 @@
exception, the Slackware based Puppy Linux release, which ships without the
full Perl language. The Debian based one works fine).
-===============================================================================
-
-INXI VERSION NUMBERING:
+-------------------------------------------------------------------------------
+SEMANTIC VERSION NUMBERING
+-------------------------------------------------------------------------------
inxi uses 'semantic' version numbering, where the version numbers actually mean
something.
@@ -372,4 +370,68 @@
unless so many new features are added that it actually hits 3.9, then it would
roll over to 4.
+===============================================================================
+BSD / UNIX
+-------------------------------------------------------------------------------
+
+BSD support is not as complete as GNU/Linux support due to the fact some of the
+data simply is not available, or is structured in a way that makes it unique to
+each BSD. This fragmentation makes supporting BSDs far more difficult than it
+should be in the 21st century. The BSD support in inxi is an ongoing process,
+with more features being added as new data sources and types are discovered.
+
+Note that due to time/practicality constraints, in general, only the original
+BSD branches will be actively supported: FreeBSD+derived; OpenBSD+derived;
+NetBSD+derived. Other UNIX variants will generally only get the work required
+to make internal BSD flags get set and to remove visible output errors.
+
+-------------------------------------------------------------------------------
+TRUE BSDs
+-------------------------------------------------------------------------------
+
+All BSD issue reports unless trivial and obvious will require 1 of two things:
+
+1. a full --debug 21 data dump so I don't have to spend days trying to get the
+information I need to resolve the issue file by painful file from the issue
+poster. This is only the start of the process, and realistically requires 2. to
+complete it.
+
+2. direct SSH access to at least a comparable live BSD version/system, that is,
+if the issue is on a laptop, access has to be granted to the laptop, or a
+similar one.
+
+Option 2 is far preferred because in terms of my finite time on this planet of
+ours, the fact is, if I don't have direct (or SSH) access, I can't get much
+done, and the little I can get done will take 10 to 1000x longer than it
+should. That's my time spent (and sadly, with BSDs, largely lost), not yours.
+
+I decided I have to adopt this much more strict policy with BSDs after wasting
+untold hours on trying to get good BSD support, only to see that support break
+a few years down the road as the data inxi relied in changed structure or
+syntax, or the tools changed, or whatever else makes the BSDs such a challenge
+to support. In the end, I realized, the only BSDs that are well supported are
+ones that I have had direct access to for debugging and testing.
+
+I will always accept patches that are well done, if they do not break
+GNU/Linux, and extend BSD support, or add new BSD features, and follow the
+internal inxi logic, and aren't too long. inxi sets initial internal flags to
+identify that it is a BSD system vs a GNU/Linux system, and preloads some data
+structures for BSD use, so make sure you understand what inxi is doing before
+you get into it.
+
+-------------------------------------------------------------------------------
+APPLE CORPORATION OSX
+-------------------------------------------------------------------------------
+
+Non-free/libre OSX is in my view a BSD in name only. It is the least Unix-like
+operating system I've ever seen that claims to be a Unix, its tools are
+mutated, its data randomly and non-standardly organized, and it totally fails
+to respect the 'spirit' of Unix, even though it might pass some random tests
+that certify a system as a 'Unix'.
+
+If you want me to use my time on OSX features or issues, you have to pay me,
+because Apple is all about money, not freedom (that's what the 'free' in 'free
+software' is referring to, not cost), and I'm not donating my finite time in
+support of non-free operating systems.
+
### EOF ###
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inxi-3.0.26-1/inxi new/inxi-3.0.27-1/inxi
--- old/inxi-3.0.26-1/inxi 2018-09-29 03:38:30.000000000 +0200
+++ new/inxi-3.0.27-1/inxi 2018-10-15 04:13:25.000000000 +0200
@@ -31,8 +31,8 @@
## INXI INFO ##
my $self_name='inxi';
-my $self_version='3.0.26';
-my $self_date='2018-09-28';
+my $self_version='3.0.27';
+my $self_date='2018-10-14';
my $self_patch='00';
## END INXI INFO ##
@@ -383,9 +383,9 @@
}
}
# this lets you set different size for in or out of display server
- # if ( ! $b_running_in_display && $configs{'COLS_MAX_NO_DISPLAY'} != 0 ){
- # $size{'console'}=$configs{'COLS_MAX_NO_DISPLAY'};
- # }
+ if ( ! $b_running_in_display && $size{'no-display'} ){
+ $size{'console'}=$size{'no-display'};
+ }
# term_cols is set in top globals, using tput cols
# print "tc: $size{'term'} cmc: $size{'console'}\n";
if ( $size{'term'} < $size{'console'} ){
@@ -914,7 +914,7 @@
if ($response == ($count + 3) ){
@data = ([0, '', '', "Ok, exiting $self_name now. You can set the colors later."],);
main::print_basic(@data);
- exit 1;
+ exit 0;
}
elsif ($response == ($count + 2)){
@data = (
@@ -1009,7 +1009,7 @@
[ 0, '', '', "99 (global^-^$status{'global'})"]
);
main::print_basic(@data);
- exit 1;
+ exit 0;
}
}
@@ -1329,7 +1329,9 @@
system_files();
print $line3;
if (!$b_debug){
- if ( -d '/sys' && main::count_dir_files('/sys') ){
+ # note: android has unreadable /sys, but -x and -r tests pass
+ # main::globber('/sys/*') &&
+ if ( main::count_dir_files('/sys') ){
build_tree('sys');
# kernel crash, not sure what creates it, for ppc, as root
sys_traverse_data() if ($debugger{'sys'} && ($debugger{'sys-force'} || !$b_root || !$b_ppc )) ;
@@ -1340,7 +1342,7 @@
print $line3;
# note: proc has some files that are apparently kernel processes, I've tried
# filtering them out but more keep appearing, so only run proc debugger if not root
- if ( (!$b_root || $debugger{'proc'} ) && -d '/proc' && main::count_dir_files('/proc') ){
+ if ( !$debugger{'no-proc'} && (!$b_root || $debugger{'proc'} ) && -d '/proc' && main::count_dir_files('/proc') ){
build_tree('proc');
proc_traverse_data();
}
@@ -1949,7 +1951,7 @@
elsif ( $depth == 3 ){ "ls -l $exclude /$dir/$include*/*/ 2>/dev/null" }
elsif ( $depth == 4 ){ "ls -l $exclude /$dir/$include*/*/*/ 2>/dev/null" }
elsif ( $depth == 5 ){ "ls -l $exclude /$dir/$include*/*/*/*/ 2>/dev/null" }
- elsif ( $depth == 5 ){ "ls -l $exclude /$dir/$include*/*/*/*/ 2>/dev/null" }
+ elsif ( $depth == 6 ){ "ls -l $exclude /$dir/$include*/*/*/*/*/ 2>/dev/null" }
};
my @working = ();
my $output = '';
@@ -2397,7 +2399,7 @@
print_line("See --recommends for more information.\n");
}
eval $end if $b_log;
- exit 0 if $b_exit;
+ exit $errno if $b_exit && !$debugger{'no-exit'};
}
sub error_defaults {
@@ -2447,7 +2449,7 @@
push @rows,@data;
#print Data::Dumper::Dumper \@rows;
main::print_basic(@rows);
- exit 1;
+ exit 0; # shell true
}
sub basic_data {
@@ -3301,6 +3303,7 @@
'lxqt' => ['^lxqt-panel',2,'--version','LXQt',0,1,0],
'lxqt-variant' => ['^lxqt-panel',0,'0','LXQt-Variant',0,1,0],
'lxsession' => ['^lxsession',0,'0','lxsession',0,1,0],
+ 'ly' => ['^ly',3,'--version','Ly',0,1,0],
'manokwari' => ['^manokwari',0,'0','Manokwari',0,1,0],
'marco' => ['^marco',2,'--version','marco',0,1,0],
'matchbox' => ['^matchbox',0,'0','Matchbox',0,1,0],
@@ -3650,7 +3653,7 @@
else {
print "Skipping man download because branch version is being used.\n";
}
- exit 1;
+ exit 0;
}
else {
error_handler('file-corrupt', "$self_name");
@@ -4146,6 +4149,15 @@
else {
error_handler('bad-arg', $opt, $arg);
} },
+ 'debug-no-eps' => sub {
+ $debugger{'no-exit'} = 1;
+ $debugger{'no-proc'} = 1;
+ $debugger{'sys'} = 0;
+ },
+ 'debug-no-exit' => sub {
+ $debugger{'no-exit'} = 1 },
+ 'debug-no-proc' => sub {
+ $debugger{'no-proc'} = 1; },
'debug-no-sys' => sub {
$debugger{'sys'} = 0; },
'debug-proc' => sub {
@@ -4514,6 +4526,8 @@
@rows = (
['1', '-x', '--extra', "Adds the following extra data (only works with
verbose or line output, not short form):" ],
+ ['2', '-A', '', "Specific vendor/product information (if relevant);
+ PCI Bus ID/USB ID number of card; Version/port(s)/driver version (if available)." ],
['2', '-B', '', "Vendor/model, status (if available); attached devices
(e.g. wireless mouse, keyboard, if present)." ],
['2', '-C', '', "CPU $flags, Bogomips on CPU; CPU microarchitecture +
@@ -4523,16 +4537,17 @@
['2', '-D', '', "HDD temp with disk data if you have hddtemp installed,
if you are root, or if you have added to /etc/sudoers (sudo v. 1.7 or newer).
Example:^<username>^ALL^=^NOPASSWD:^/usr/sbin/hddtemp" ],
- ['2', '-G', '', "Direct rendering status (in X); Screen number GPU is
- running on (Nvidia only)." ],
+ ['2', '-G', '', "Specific vendor/product information (if relevant);
+ PCI Bus ID/USB ID number of card; Direct rendering status (in X); Screen
+ number GPU is running on (Nvidia only)." ],
['2', '-i', '', "For IPv6, show additional scope addresses: Global, Site,
Temporary, Unknown. See --limit for large counts of IP addresses." ],
['2', '-I', '', "Default system GCC. With -xx, also shows other installed
GCC versions. If running in shell, not in IRC client, shows shell version
number, if detected. Init/RC type and runlevel (if available)." ],
['2', '-m', '', "Max memory module size (if available), device type." ],
- ['2', '-N -A', '', "Version/port(s)/driver version (if available)." ],
- ['2', '-N -A -G', '', "PCI Bus ID/USB ID number of card." ],
+ ['2', '-N', '', "Specific vendor/product information (if relevant);
+ PCI Bus ID/USB ID number of card; Version/port(s)/driver version (if available)." ],
['2', '-R', '', "md-raid: second RAID Info line with extra data:
blocks, chunk size, bitmap (if present). Resync line, shows blocks
synced/total blocks. Hardware RAID driver version, bus ID." ],
@@ -4583,19 +4598,18 @@
@rows = (
['1', '-xxx', '--extra 3', "Show extra, extra, extra data (only works
with verbose or line output, not short form):" ],
- ['2', '-A', '', "Specific vendor/product information (if relevant), serial number." ],
+ ['2', '-A', '', "Serial number." ],
['2', '-B', '', "Chemistry, cycles, location (if available)." ],
['2', '-C', '', "CPU boost (turbo) enabled/disabled, if present." ],
['2', '-D', '', "Firmware rev. if available; partition scheme, in some cases; disk
rotation speed (if detected)." ],
- ['2', '-G', '', "Specific vendor/product information (if relevant); compositor
- version (if detectable)." ],
+ ['2', '-G', '', "Compositor version (if detectable)." ],
['2', '-I', '', "For 'Shell:' adds ([su|sudo|login]) to shell name if present;
for 'running in:' adds (SSH) if SSH session." ],
['2', '-m', '', "Width of memory bus, data and total (if present and greater
than data); Detail for Type, if present; module voltage, if available; serial
number." ],
- ['2', '-N', '', "Specific vendor/product information (if relevant); serial number." ],
+ ['2', '-N', '', "Serial number." ],
['2', '-R', '', "zfs-raid: portion allocated (used) by RAID devices/arrays.
md-raid: system md-raid support types (kernel support, read ahead, RAID events).
Hardware RAID rev, ports, specific vendor/product information." ],
@@ -4709,6 +4723,8 @@
automatically, removes debugger data directory and debugger tar.gz file." ],
['1', '', '--debug-proc', "Force debugger parsing of /proc as sudo/root." ],
['1', '', '--debug-proc-print', "To locate file that /proc debugger hangs on." ],
+ ['1', '', '--debug-no-exit', "Skip exit on error to allow completion." ],
+ ['1', '', '--debug-no-proc', "Skip /proc debugging in case of a hang." ],
['1', '', '--debug-no-sys', "Skip /sys debugging in case of a hang." ],
['1', '', '--debug-sys', "Force PowerPC debugger parsing of /sys as sudo/root." ],
['1', '', '--debug-sys-print', "To locate file that /sys debugger hangs on." ],
@@ -4719,7 +4735,7 @@
);
push @data, @rows;
print_basic(@data);
- exit 1;
+ exit 0; # shell true
}
sub show_version {
@@ -4780,7 +4796,7 @@
push @data, @rows;
}
print_basic(@data);
- exit 1;
+ exit 0; # shell true
}
########################################################################
@@ -5886,7 +5902,7 @@
main::key($num++,'Device') => $card,
},);
@rows = (@rows,@data);
- if ($extra > 2 && $b_pci_tool && $row[12]){
+ if ($extra > 0 && $b_pci_tool && $row[12]){
my $item = main::get_pci_vendor($row[4],$row[12]);
$rows[$j]{main::key($num++,'vendor')} = $item if $item;
}
@@ -7520,12 +7536,19 @@
($cur,$min,$max) = ('scaling_cur_freq','cpuinfo_min_freq','cpuinfo_max_freq');
}
if (-d $sys){
- $speeds{'cur-freq'} = (main::reader("$sys/$cur"))[0];
- $speeds{'cur-freq'} = speed_cleaner($speeds{'cur-freq'},'khz');
- $speeds{'min-freq'} = (main::reader("$sys/$min"))[0];
- $speeds{'min-freq'} = speed_cleaner($speeds{'min-freq'},'khz');
- $speeds{'max-freq'} = (main::reader("$sys/$max"))[0];
- $speeds{'max-freq'} = speed_cleaner($speeds{'max-freq'},'khz');
+ # corner cases, android, will have the files but they may be unreadable
+ if (-r "$sys/$cur"){
+ $speeds{'cur-freq'} = (main::reader("$sys/$cur"))[0] ;
+ $speeds{'cur-freq'} = speed_cleaner($speeds{'cur-freq'},'khz');
+ }
+ if (-r "$sys/$min"){
+ $speeds{'min-freq'} = (main::reader("$sys/$min"))[0];
+ $speeds{'min-freq'} = speed_cleaner($speeds{'min-freq'},'khz');
+ }
+ if (-r "$sys/$max"){
+ $speeds{'max-freq'} = (main::reader("$sys/$max"))[0];
+ $speeds{'max-freq'} = speed_cleaner($speeds{'max-freq'},'khz');
+ }
if ($b_arm){
@arm = main::globber('/sys/devices/system/cpu/cpufreq/policy*/');
# there are arm chips with two dies, that run at different min max speeds!!
@@ -7533,21 +7556,21 @@
# it would be slick to show both die min/max/cur speeds, but this is
# ok for now.
if (scalar @arm > 1){
- my ($current,$max,$min) = (0,0,0);
+ my ($current,$cur_temp,$max,$max_temp,$min,$min_temp) = (0,0,0,0,0,0);
foreach (@arm){
$_ =~ s/\/$//; # strip off last slash in case globs have them
- my $max_temp = main::reader("$_/cpuinfo_max_freq");
- $max_temp = speed_cleaner($max_temp,'khz');
+ $max_temp = (-r "$_/cpuinfo_max_freq") ? main::reader("$_/cpuinfo_max_freq") : 0;
+ $max_temp = speed_cleaner($max_temp,'khz') if $max_temp;
if ($max_temp > $max){
$max = $max_temp;
}
- my $min_temp = main::reader("$_/cpuinfo_min_freq");
- $min_temp = speed_cleaner($min_temp,'khz');
+ $min_temp = (-r "$_/cpuinfo_min_freq") ? main::reader("$_/cpuinfo_min_freq") : 0;
+ $min_temp = speed_cleaner($min_temp,'khz') if $min_temp;
if ($min_temp < $min || $min == 0){
- $max = $min_temp;
+ $min = $min_temp;
}
- my $cur_temp = main::reader("$_/cpuinfo_max_freq");
- $cur_temp = speed_cleaner($cur_temp,'khz');
+ $cur_temp = (-r "$_/cpuinfo_max_freq") ? main::reader("$_/cpuinfo_max_freq") : 0;
+ $cur_temp = speed_cleaner($cur_temp,'khz') if $cur_temp;
if ($cur_temp > $current){
$current = $cur_temp;
}
@@ -7559,7 +7582,8 @@
}
# policy4/cpuinfo_max_freq:["2000000"]
# policy4/cpuinfo_min_freq:["200000"]
- if ($speeds{'min-freq'} > $speeds{'max-freq'} || $speeds{'min-freq'} == $speeds{'max-freq'}){
+ if ((defined $speeds{'min-freq'} && defined $speeds{'max-freq'}) &&
+ ($speeds{'min-freq'} > $speeds{'max-freq'} || $speeds{'min-freq'} == $speeds{'max-freq'} )){
$speeds{'min-freq'} = 0;
}
}
@@ -7986,7 +8010,8 @@
}
}
$size ||= 'N/A';
- @sizing = main::get_size($disks[0]{'used'}) if $disks[0]{'used'};
+ @sizing = ();
+ @sizing = main::get_size($disks[0]{'used'}) if defined $disks[0]{'used'};
if (@sizing){
$used = $sizing[0];
if (defined $sizing[0] && $sizing[1]){
@@ -8083,7 +8108,7 @@
my %row = %$ref;
# don't count remote used, also, some cases mount
# panfs is parallel NAS volume manager, need more data
- next if ($row{'fs'} && $row{'fs'} =~ /nfs|panfs|sshfs|smbfs|unionfs/);
+ next if ($row{'fs'} && $row{'fs'} =~ /cifs|iso9660|nfs|panfs|sshfs|smbfs|unionfs/);
# in some cases, like redhat, mounted cdrom/dvds show up in partition data
next if ($row{'dev-base'} && $row{'dev-base'} =~ /^sr[0-9]+$/);
# this is used for specific cases where bind, or incorrect multiple mounts
@@ -8361,8 +8386,8 @@
}
#print "$i\n";
if ($bsd_type eq 'openbsd'){
- if ($row[1] =~ /,\s*([0-9\.]+[MGTPE][B]?),.*\ssectors$|^</){
- $working = main::translate_size($1);
+ if ($row[1] =~ /(^|,\s*)([0-9\.]+[MGTPE][B]?),.*\ssectors$|^</){
+ $working = main::translate_size($2);
$size += $working if $working;
$drives[$i]{'size'} = $working;
}
@@ -8595,18 +8620,18 @@
# Data URLs: inxi-resources.txt Section: DiskData device_vendor()
my @vendors = (
## These go first because they are the most likely and common ##
- ['(Crucial|^CT|-CT|^M4\b)','Crucial','Crucial',''],
+ ['(Crucial|^(FC)?CT|-CT|^M4\b)','Crucial','Crucial',''],
['^(INTEL|SSDPAM)','^INTEL','Intel',''],
- ['(KINGSTON|DataTraveler|^SMS|^SHS|^SUV)','KINGSTON','Kingston',''], # maybe SHS: SHSS37A SKC SUV
+ ['(KINGSTON|DataTraveler|^SMS|^SHS|^SUV|^Ultimate CF)','KINGSTON','Kingston',''], # maybe SHS: SHSS37A SKC SUV
# must come before samsung MU. NOTE: toshiba can have: TOSHIBA_MK6475GSX: mush: MKNSSDCR120GB_
['(^MKN|Mushkin)','Mushkin','Mushkin',''], # MKNS
# MU = Multiple_Flash_Reader too risky: |M[UZ][^L]
- ['(SAMSUNG|^MCG[0-9]+GC|^G2 Portable|^DUO\b|^SP[0-9][0-9])','SAMSUNG','Samsung',''], # maybe ^SM
- ['(SanDisk|^SDS[S]?[DQ]|^SL([0-9]+)G|^AFGCE|ULTRA\sFIT|Clip Sport|Cruzer)','SanDisk','SanDisk',''],
+ ['(SAMSUNG|^MCG[0-9]+GC|^MCC|^G2 Portable|^DUO\b|^SP[0-9][0-9])','SAMSUNG','Samsung',''], # maybe ^SM, ^HM
+ ['(SanDisk|^SDS[S]?[DQ]|^SL([0-9]+)G|^AFGCE|ULTRA\sFIT|Clip Sport|Cruzer|^Extreme)','SanDisk','SanDisk',''],
['^STEC\b','^STEC\b','STEC',''], # ssd drive, must come before seagate ST test
# real, SSEAGATE Backup+; XP1600HE30002
- ['(^ST[^T]|[S]?SEAGATE|^X[AFP]|^BUP|Expansion Desk|GoFlex|Backup(\+|\s?Plus)\s?Hub)','[S]?SEAGATE','Seagate',''],
- ['^(WD|Western Digital|My (Book|Passport)|\d*LPCX|Elements|M000|EARX|EFRX|\d*EAVS|0JD)','(^WDC|Western Digital)','Western Digital',''],
+ ['(^ST[^T]|[S]?SEAGATE|^X[AFP]|^BUP|Expansion Desk|FreeAgent|GoFlex|Backup(\+|\s?Plus)\s?Hub)','[S]?SEAGATE','Seagate',''],
+ ['^(WD|Western Digital|My (Book|Passport)|\d*LPCX|Elements|M000|EARX|EFRX|\d*EAVS|0JD|JPVX)','(^WDC|Western\s?Digital)','Western Digital',''],
## Then better known ones ##
['^(A-DATA|ADATA|AXN)','^(A-DATA|ADATA)','A-Data',''],
['^ADTRON','^(ADTRON)','Adtron',''],
@@ -8618,7 +8643,8 @@
['^(HGST|Touro)','^HGST','HGST (Hitachi)',''], # HGST HUA
['^(Hitachi|HDS|HDT|IC|HT|HU)','^Hitachi','Hitachi',''],
['^Hoodisk','^Hoodisk','Hoodisk',''],
- ['^(HP\b|MB0|GJ0|v210w)','^HP','HP',''], # vb: VB0250EAVER but clashes with vbox; HP_SSD_S700_120G
+ # vb: VB0250EAVER but clashes with vbox; HP_SSD_S700_120G ;GB0500EAFYL GB starter too generic?
+ ['^(HP\b|MB0|GJ0|v210w)','^HP','HP',''],
['^(LSD|Lexar|JumpDrive)','^Lexar','Lexar',''], # mmc-LEXAR_0xb016546c
# OCZSSD2-2VTXE120G is OCZ-VERTEX2_3.5
['^(OCZ|APOC|D2|DEN|DEN|DRSAK|EC188|FTNC|GFGC|MANG|MMOC|NIMC|NIMR|PSIR|TALOS2|TMSC|TRSAK)','^OCZ[\s\-]','OCZ',''],
@@ -8634,6 +8660,8 @@
# must come before AP|Apacer
['^APPLE','^APPLE','Apple',''],
['^(AP|Apacer)','^Apacer','Apacer',''],
+ ['^BHT','^BHT','BHT',''],
+ ['^BIWIN','^BIWIN','BIWIN',''],
['^BUFFALO','^BUFFALO','Buffalo',''],
['^CHN\b','','Zheino',''],
['^Colorful\b','^Colorful','Colorful',''],
@@ -8647,6 +8675,8 @@
['^GALAX\b','^GALAX','GALAX',''],
['^Galaxy\b','^Galaxy','Galaxy',''],
['^Generic','^Generic','Generic',''],
+ ['^Gigabyte','^Gigabyte','Gigabyte',''], # SSD
+ ['^Gigastone','^Gigastone','Gigastone',''],
['^Gloway','^Gloway','Gloway',''],
['^GOODRAM','^GOODRAM','GOODRAM',''],
# supertalent also has FM: |FM
@@ -8654,11 +8684,13 @@
['^HUAWEI','^HUAWEI','Huawei',''],
['^(IBM|DT)','^IBM','IBM',''],
['^IEI Tech','^IEI Tech(\.|nology)?( Corp(\.|oration)?)?','IEI Technology',''],
- ['^Imation','^Imation(\sImation)?','Imation',''], # Imation_ImationFlashDrive; TF20 is imation/tdk
+ ['^(Imation|Nano\s?Pro)','^Imation(\sImation)?','Imation',''], # Imation_ImationFlashDrive; TF20 is imation/tdk
['^(InnoDisk|Innolite)','^InnoDisk( Corp.)?','InnoDisk',''],
['^Innostor','^Innostor','Innostor',''],
+ ['^Innovation','^Innovation','Innovation',''],
['^(Intenso|(Alu|Mobile|Rainbow|Speed) Line)','^Intenso','Intenso',''],
- ['^(Iomega|ZIP\b)','^Iomega','Iomega',''],
+ ['^(Iomega|ZIP\b)','^Iomega','Iomega',''],
+ # NOTE: ITY2 120GB hard to find
['^JMicron','^JMicron','JMicron',''], #JMicron H/W raid
['^KingDian','^KingDian','KingDian',''],
['^Kingfast','^Kingfast','Kingfast',''],
@@ -8683,7 +8715,7 @@
['QEMU','^[0-9]*QEMU( QEMU)?','QEMU',''], # 0QUEMU QEMU HARDDISK
['(^Quantum|Fireball)','^Quantum','Quantum',''],
['^QUMO','^QUMO','Qumo',''],
- ['^R3','','AMD Radeon',''], # ssd
+ ['^(R3|AMD\s?(RADEON)?)','AMD\s?(RADEON)?','AMD Radeon',''], # ssd
['^RENICE','^RENICE','Renice',''],
['^RIM[\s]','^RIM','RIM',''],
['^SigmaTel','^SigmaTel','SigmaTel',''],
@@ -8963,7 +8995,7 @@
main::key($num++,'Device') => $card,
},);
@rows = (@rows,@data);
- if ($extra > 2 && $b_pci_tool && $row[12]){
+ if ($extra > 0 && $b_pci_tool && $row[12]){
my $item = main::get_pci_vendor($row[4],$row[12]);
$rows[$j]{main::key($num++,'vendor')} = $item if $item;
}
@@ -9614,7 +9646,8 @@
# otherwise the version information is going to be different in all cases I think
if ( ($data{'sys_vendor'} && $data{'sys_vendor'} eq $data{'board_vendor'} ) &&
( ($data{'product_version'} && $data{'product_version'} eq $data{'board_version'} ) ||
- (!$data{'product_version'} && $data{'product_name'} eq $data{'board_name'} ) ) ){
+ (!$data{'product_version'} && $data{'product_name'} && $data{'board_name'} &&
+ $data{'product_name'} eq $data{'board_name'} ) ) ){
$b_skip_system = 1;
}
}
@@ -10232,7 +10265,7 @@
main::key($num++,'Device') => $card,
},);
@rows = (@rows,@data);
- if ($extra > 2 && $b_pci_tool && $row[12]){
+ if ($extra > 0 && $b_pci_tool && $row[12]){
my $item = main::get_pci_vendor($row[4],$row[12]);
$rows[$j]{main::key($num++,'vendor')} = $item if $item;
}
@@ -11096,32 +11129,10 @@
$used = $size = (!$b_root) ? main::row_defaults('root-required') : main::row_defaults('partition-hidden');
}
%part = ();
- if (defined $row{'dev-base'}){
- if ($row{'dev-base'} =~ /^non-dev-/){
- $row{'dev-base'} =~ s/^non-dev-//;
- $dev_type = 'raid';
- $dev = $row{'dev-base'};
- }
- # note: I have seen this: beta:data/ for sshfs path
- elsif ($row{'dev-base'} =~ /^\/\/|:\//){
- $dev_type = 'remote';
- $dev = $row{'dev-base'};
- }
- # an error has occurred almost for sure
- elsif (!$row{'dev-base'}){
- $dev_type = 'dev';
- $dev = main::row_defaults('unknown-dev');
- }
- else {
- $dev_type = 'dev';
- $dev = '/dev/' . $row{'dev-base'};
- }
- }
- else {
- $dev_type = 'dev';
- }
$fs = ($row{'fs'}) ? lc($row{'fs'}): 'N/A';
- $dev ||= 'N/A';
+ $dev_type = ($row{'dev-type'}) ? $row{'dev-type'} : 'dev';
+ $row{'dev-base'} = '/dev/' . $row{'dev-base'} if $dev_type eq 'dev' && $row{'dev-base'};
+ $dev = ($row{'dev-base'}) ? $row{'dev-base'} : 'N/A';
$j = scalar @rows;
@data = ({
main::key($num++,'ID') => $row{'id'},
@@ -11171,10 +11182,10 @@
eval $start if $b_log;
#return if $bsd_type && $bsd_type eq 'darwin'; # darwin has muated output, of course
my (@data,@rows,@mapper,@mount,@partitions_working,%part,@working);
- my ($b_fake_map,$b_fs,$b_load,$cols,$roots) = (0,1,0,6,0);
+ my ($b_fake_map,$b_fs,$b_load,$b_space,$cols,$roots) = (0,1,0,0,6,0);
my ($back_size,$back_used) = (4,3);
- my ($block_size,$blockdev,$dev_base,$fs,$id,$label,$percent_used,$raw_size,
- $size_available,$size,$type,$uuid,$used);
+ my ($block_size,$blockdev,$dev_base,$dev_type,$fs,$id,$label,$percent_used,
+ $raw_size,$replace,$size_available,$size,$test,$type,$uuid,$used);
$b_partitions = 1;
if ($b_admin){
# for partition block size
@@ -11221,24 +11232,37 @@
# so check for two string endings of / then slice out the rootfs one, I could check for it
# before slicing it out, but doing that would require the same action twice re code execution
foreach (@partitions_working){
- if (/\s\/$/){
- $roots++;
- }
+ $roots++ if /\s\/$/;
}
@partitions_working = grep {!/^rootfs/} @partitions_working if $roots > 1;
my $filters = '^(aufs|cgroup.*|cgmfs|configfs|debugfs|\/dev|dev|\/dev/loop[0-9]*|';
$filters .= 'devfs|devtmpfs|fdescfs|iso9660|linprocfs|none|procfs|\/run(\/.*)?|';
$filters .= 'run|shm|squashfs|sys|\/sys\/.*|sysfs|tmpfs|type|udev|unionfs|vartmp)$';
+ #push @partitions_working, '//mafreebox.freebox.fr/Disque dur cifs 239216096 206434016 20607496 91% /freebox/Disque dur';
+ #push @partitions_working, '//mafreebox.freebox.fr/AllPG cifs 436616192 316339304 120276888 73% /freebox/AllPG';
foreach (@partitions_working){
- # stupid apple bullshit
+ # apple crap, maybe also freebsd?
$_ =~ s/^map\s+([\S]+)/map:\/$1/ if $b_fake_map;
+ $b_space = 0;
+ # handle spaces in remote filesystem names
+ # busybox df shows KM, sigh.
+ if (/^(.*)(\s[\S]+)\s+[a-z][a-z0-9]+\s+[0-9]+/){
+ $replace = $test = "$1$2";
+ if ($test =~ /\s/){
+ $b_space = 1;
+ $replace =~ s/\s/^^/g;
+ #print ":$replace:\n";
+ $_ =~ s/^$test/$replace/;
+ #print "$_\n";
+ }
+ }
my @row = split /\s+/, $_;
# autofs is a bsd thing, has size 0
if ($row[0] =~ /$filters/ || $row[0] =~ /^ROOT/i ||
($b_fs && ($row[2] == 0 || $row[1] eq 'tmpfs' || $row[1] eq 'autofs' ))){
next;
}
- ($dev_base,$fs,$id,$label,$type,$uuid) = ('','','','','');
+ ($dev_base,$dev_type,$fs,$id,$label,$type,$uuid) = ('','','','','','');
($b_load,$block_size,$percent_used,$raw_size,$size_available,
$size,$used) = (0,0,0,0,0,0,0,0);
%part = ();
@@ -11264,7 +11288,8 @@
# note: Main/jails/transmission_1 path can be > 1 deep
# Main zfs 3678031340 8156 3678023184 0% /mnt/Main
if (!$dev_base && ($row[0] =~ /^([^\/]+\/)(.+)/ || ($row[0] =~ /^[^\/]+$/ && $row[1] =~ /^(btrfs|zfs)$/ ) ) ){
- $dev_base = "non-dev-$row[0]";
+ $dev_base = $row[0];
+ $dev_type = 'raid';
}
# this handles yet another fredforfaen special case where a mounted drive
# has the search string in its name
@@ -11321,12 +11346,32 @@
$size_available = $working[1];
$block_size = $working[2];
}
+ $dev_base =~ s/\^\^/ /g if $b_space;
+ if (!$dev_type){
+ if ($dev_base =~ /^map:\/(.*)/){
+ $dev_type = 'mapped';
+ $dev_base = $1;
+ }
+ # note: I have seen this: beta:data/ for sshfs path
+ elsif ($dev_base =~ /^\/\/|:\//){
+ $dev_type = 'remote';
+ }
+ # an error has occurred almost for sure
+ elsif (!$dev_base){
+ $dev_type = 'source';
+ $dev_base = main::row_defaults('unknown-dev');
+ }
+ else {
+ $dev_type = 'dev';
+ }
+ }
$used = $row[$cols - $back_used];
- $percent_used = sprintf( "%.1f", ( $used/$size )*100 ) if ($size);
+ $percent_used = sprintf( "%.1f", ( $used/$size )*100 ) if ($size && main::is_numeric($size) );
@data = ({
'block-size' => $block_size,
'id' => $id,
'dev-base' => $dev_base,
+ 'dev-type' => $dev_type,
'fs' => $fs,
'label' => $label,
'raw-size' => $raw_size,
@@ -11386,6 +11431,7 @@
my @data = split /\s+/, $_;
my $dev_base = $data[0];
$dev_base =~ s/^\/dev\///;
+ my $dev_type = 'dev';
my $size = $data[$size_id];
my $used = $data[$used_id];
my $percent_used = sprintf( "%.1f", ( $used/$size )*100 );
@@ -11405,6 +11451,7 @@
@data = ({
'cache-pressure' => $cache_pressure,
'dev-base' => $dev_base,
+ 'dev-type' => $dev_type,
'fs' => 'swap',
'id' => "swap-$s",
'label' => $label,
@@ -11804,7 +11851,8 @@
@rows = sort {
my @a = split(/\s+/,$a);
my @b = split(/\s+/,$b);
- $b[5] <=> $a[5] } @ps_aux;
+ $b[5] <=> $a[5] } @ps_aux; # 5
+ #$a[1] <=> $b[1] } @ps_aux; # 5
$pid_col = 1;
}
else {
@@ -11830,7 +11878,7 @@
my @row = split /\s+/, $_;
if ($ps_cols >= 10){
my $decimals = ($row[5]/1024 > 10 ) ? 1 : 2;
- $mem = ($row[5]) ? sprintf( "%.${decimals}f", $row[5]/1024 ) . ' MiB' : 'N/A';
+ $mem = (main::is_int($row[5])) ? sprintf( "%.${decimals}f", $row[5]/1024 ) . ' MiB' : 'N/A';
$mem .= " (" . $row[3] . "%)";
}
else {
@@ -13095,6 +13143,7 @@
my $slapt_get = '/etc/slapt-get/';
my $tce_app = '/usr/bin/tce';
my $tce_file = '/opt/tcemirror';
+ my $tce_file2 = '/opt/localmirrors';
my $yum_conf = '/etc/yum.conf';
my $yum_repo_dir = '/etc/yum.repos.d/';
my $xbps_dir_1 = '/etc/xbps.d/';
@@ -13349,7 +13398,6 @@
if ($url && $title && $enabled){
push @content, "$title ~ $url";
}
-
if (! @content){
$key = repo_builder('missing',$repo);
}
@@ -13436,9 +13484,13 @@
@rows = (@rows,@data);
}
# TinyCore
- if (-e $tce_app || -f $tce_file){
+ if (-e $tce_app || -f $tce_file || -f $tce_file2){
@data = repo_builder($tce_file,'tce','^\s*[^#]+');
@rows = (@rows,@data);
+ if (-f $tce_file2){
+ @data = repo_builder($tce_file2,'tce','^\s*[^#]+');
+ @rows = (@rows,@data);
+ }
}
# void $xbps_dir_1
if (-d $xbps_dir_1 || -d $xbps_dir_2){
@@ -13683,7 +13735,7 @@
'slackpkg' => 'No active slackpkg repos in',
'slackpkg+' => 'No active slackpkg+ repos in',
'slaptget' => 'No active slapt-get repos in',
- 'tce' => 'No active tce mirrors in',
+ 'tce' => 'No tce mirrors in',
'xbps' => 'No active xbps repos in',
'yum' => 'No active yum repos in',
'zypp' => 'No active zypp repos in',
@@ -13707,7 +13759,7 @@
'slackpkg' => 'slackpkg repos in',
'slackpkg+' => 'slackpkg+ repos in',
'slaptget' => 'slapt-get repos in',
- 'tce' => 'Active tce mirrors in',
+ 'tce' => 'tce mirrors in',
'xbps' => 'Active xbps repos in',
'yum' => 'Active yum repos in',
'zypp' => 'Active zypp repos in',
@@ -15605,7 +15657,7 @@
if (my $file = system_files('version') ) {
@compiler = get_compiler_version_linux($file);
}
- else {
+ elsif ($bsd_type) {
@compiler = get_compiler_version_bsd();
}
eval $end if $b_log;
@@ -15615,7 +15667,7 @@
sub get_compiler_version_bsd {
eval $start if $b_log;
my (@compiler,@working);
- if ($alerts{'sysctl'}{'action'} eq 'use'){
+ if ($alerts{'sysctl'}{'action'} && $alerts{'sysctl'}{'action'} eq 'use'){
# for dragonfly, we will use free mem, not used because free is 0
my @working;
foreach (@sysctl){
@@ -15631,9 +15683,6 @@
}
}
}
- else {
- @compiler = ('N/A','');
- }
log_data('dump','@compiler',\@compiler) if $b_log;
eval $end if $b_log;
return @compiler;
@@ -15655,7 +15704,6 @@
}
}
log_data('dump','@compiler',\@compiler) if $b_log;
-
eval $end if $b_log;
return @compiler;
}
@@ -16270,11 +16318,17 @@
push @found, $working;
}
}
- if (!@found && grep {/\/usr.*\/x/ && !/\/xprt/} @ps_cmd){
- if (awk (\@ps_cmd, 'startx') ){
+ if (!@found){
+ # ly does not have a run/pid file
+ if (grep {$_ eq 'ly'} @ps_gui) {
+ @data = main::program_data('ly','ly',3);
+ $found[0] = $data[0];
+ $found[0] .= ' ' . $data[1] if $data[1];
+ }
+ elsif (grep {/startx$/} @ps_gui) {
$found[0] = 'startx';
}
- elsif (awk (\@ps_cmd, 'xinit') ){
+ elsif (grep {$_ eq 'xinit'} @ps_gui) {
$found[0] = 'xinit';
}
}
@@ -16314,9 +16368,9 @@
$distro = join (' ', @data);
}
}
- else {
- $distro = "$uname[0] $uname[2]";
- }
+ # seen a case without osx file, or was it permissions?
+ # this covers all the other bsds anyway, no problem.
+ $distro = "$uname[0] $uname[2]" if !$distro;
@distro_data = ($distro,'');
eval $end if $b_log;
}
@@ -17065,17 +17119,19 @@
return $memory;
}
-# openbsd/linux
+## openbsd/linux
# procs memory page disks traps cpu
# r b w avm fre flt re pi po fr sr wd0 wd1 int sys cs us sy id
# 0 0 0 55256 1484092 171 0 0 0 0 0 2 0 12 460 39 3 1 96
-# freebsd:
+## openbsd 6.3? added in M, sigh...
+# 2 57 55M 590M 789 0 0 0...
+## freebsd:
# procs memory page disks faults cpu
# r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id
# 0 0 0 21880M 6444M 924 32 11 0 822 827 0 0 853 832 463 8 3 88
# with -H
# 2 0 0 14925812 936448 36 13 10 0 84 35 0 0 84 30 42 11 3 86
-# dragonfly
+## dragonfly
# procs memory page disks faults cpu
# r b w avm fre flt re pi po fr sr ad0 ad1 in sy cs us sy id
# 0 0 0 0 84060 30273993 2845 12742 1164 407498171 320960902 0 0 ....
@@ -17083,21 +17139,36 @@
eval $start if $b_log;
my ($type) = @_;
my $memory = '';
- my ($avail,$total,$free_mem,$real_mem) = (0,0,0,0);
+ my ($avm,$av_pages,$cnt,$fre,$free_mem,$real_mem,$total) = (3,0,0,4,0,0,0);
my (@data,$message);
my $arg = ($bsd_type ne 'openbsd') ? '-H' : '';
if (my $program = check_program('vmstat')){
# see above, it's the last line. -H makes it hopefully all in kB so no need
# for K/M/G tests
- my $row = (grabber("vmstat $arg 2>/dev/null",'\n','strip'))[-1];
+ my @vmstat = grabber("vmstat $arg 2>/dev/null",'\n','strip');
+ my @header = split /\s+/, $vmstat[1];
+ foreach ( @header){
+ if ($_ eq 'avm'){$avm = $cnt}
+ elsif ($_ eq 'fre'){$fre = $cnt}
+ elsif ($_ eq 'flt'){last;}
+ $cnt++;
+ }
+ my $row = $vmstat[-1];
if ( $row ){
@data = split /\s+/, $row;
+ # 6.3 introduced an M character, sigh.
+ if ($data[$avm] && $data[$avm] =~ /^([0-9]+)M$/){
+ $data[$avm] = $1 * 1024;
+ }
+ if ($data[$fre] && $data[$fre] =~ /^([0-9]+)M$/){
+ $data[$fre] = $1 * 1024;
+ }
# dragonfly can have 0 avg, but they may fix that so make test dynamic
- if ($data[3] != 0){
- $avail = ($bsd_type ne 'openbsd') ? sprintf ('%.1f',$data[3]/1024) : $data[3];
+ if ($data[$avm] != 0){
+ $av_pages = ($bsd_type ne 'openbsd') ? sprintf ('%.1f',$data[$avm]/1024) : $data[$avm];
}
- elsif ($data[4] != 0){
- $free_mem = sprintf ('%.1f',$data[4]);
+ elsif ($data[$fre] != 0){
+ $free_mem = sprintf ('%.1f',$data[$fre]);
}
}
}
@@ -17132,9 +17203,9 @@
# not using, but leave in place for a bit in case we want it
# my $type = ($free_mem) ? ' free':'' ;
# hack: temp fix for openbsd/darwin: in case no free mem was detected but we have physmem
- if (($avail || $free_mem) && !$real_mem){
+ if (($av_pages || $free_mem) && !$real_mem){
my $error = ($message) ? $message: 'total N/A';
- my $used = (!$free_mem) ? $avail : $real_mem - $free_mem;
+ my $used = (!$free_mem) ? $av_pages : $real_mem - $free_mem;
if ($type eq 'string'){
$used = sprintf("%.1f",$used/1024);
$memory = "$used/($error) MB";
@@ -17144,8 +17215,8 @@
}
}
# use openbsd/dragonfly avail mem data if available
- elsif (($avail || $free_mem) && $real_mem) {
- my $used = (!$free_mem) ? $avail : $real_mem - $free_mem;
+ elsif (($av_pages || $free_mem) && $real_mem) {
+ my $used = (!$free_mem) ? $av_pages : $real_mem - $free_mem;
my $percent = ($used && $real_mem) ? sprintf("%.1f", ($used/$real_mem)*100) : '';
if ($type eq 'string'){
$used = sprintf("%.1f",$used/1024);
@@ -18155,7 +18226,9 @@
eval $start if $b_log;
my $program = check_program('ip');
my @data = grabber("$program addr 2>/dev/null",'\n','strip') if $program;
- #my @data = reader("$ENV{'HOME'}/bin/scripts/inxi/data/if/scope-ipaddr-1.txt",'strip') or die $!;
+ # my $file = "$ENV{'HOME'}/bin/scripts/inxi/data/if/scope-ipaddr-1.txt";
+ # my $file = "$ENV{'HOME'}/bin/scripts/inxi/data/networking/ip-addr-blue-advance.txt";
+ #my @data = reader($file,'strip') or die $!;
my ($b_skip,$broadcast,$if,$ip,@ips,$scope,$if_id,$type,@temp,@temp2);
foreach (@data){
if (/^[0-9]/){
@@ -18318,7 +18391,7 @@
$ps_cols = $#temp;
if ($ps_cols < 10){
my $version = qx(ps --version 2>&1);
- $b_bb_ps = 1 if $version =~/busybox/i;
+ $b_bb_ps = 1 if $version =~ /busybox/i;
}
return if !@ps_aux; # note: mips/openwrt ps has no 'a'
$_=lc for @ps_aux; # this is a super fast way to set to lower
@@ -18363,6 +18436,9 @@
deepin-metacity metacity metisse mir muffin deepin-mutter mutter
xfwm4 xfwm5);
@match = (@match,@temp);
+ # startx: /bin/sh /usr/bin/startx
+ @temp=qw(ly .*startx xinit); # possible dm values
+ @match = (@match,@temp);
}
# info: NOTE: glx-dock is cairo-dock
if ($show{'system'} && $extra > 2){
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inxi-3.0.26-1/inxi.1 new/inxi-3.0.27-1/inxi.1
--- old/inxi-3.0.26-1/inxi.1 2018-09-29 03:38:30.000000000 +0200
+++ new/inxi-3.0.27-1/inxi.1 2018-10-15 04:13:25.000000000 +0200
@@ -1,4 +1,4 @@
-.TH INXI 1 "2018\-09\-28" inxi "inxi manual"
+.TH INXI 1 "2018\-10\-14" inxi "inxi manual"
.SH NAME
inxi \- Command line system information script for console and IRC
.SH SYNOPSIS
@@ -203,6 +203,9 @@
shell, not IRC), inxi version. See \fB\-x\fR and \fB\-xx\fR for extra information
(init type/version, runlevel).
+Note: if \fB\-m\fR is used or triggered, the memory item will show in the main
+Memory: report of \fB\-m\fR, not in \fB\Info:\fR.
+
Rasberry Pi only: uses \fBvcgencmd get_mem gpu\fR to get gpu RAM amount,
if user is in video group and \fBvcgencmd\fR is installed. Uses
this result to increase the \fBMemory:\fR amount and \fBused:\fR amounts.
@@ -219,13 +222,13 @@
information. Devices shows locator data (highly variable in syntax), size, speed,
type (eg: \fBtype: DDR3\fR).
-Note that \fB\-m\fR uses \fBdmidecode\fR, which must be run as root (or start
+Note: \fB\-m\fR uses \fBdmidecode\fR, which must be run as root (or start
\fBinxi\fR with \fBsudo\fR), unless you figure out how to set up sudo to permit
-dmidecode to read \fB/dev/mem\fR as user. Note that speed will not show if \fBNo Module
-Installed\fR is found in \fBsize\fR. This will also turn off Bus Width data output if it is null.
+dmidecode to read \fB/dev/mem\fR as user. \fBspeed\fR and \fBbus width\fR will not
+show if \fBNo Module Installed\fR is found in \fBsize\fR.
-If memory information was found, and if the \fB\-I\fR line or the \fB\-tm\fR item have
-not been triggered, will also print the RAM used/total.
+Note: If \fB\-m\fR is triggered RAM total/used report will appear in this section,
+not in \fB\-I\fR or \fB\-tm\fR items.
Because \fBdmidecode\fR data is extremely unreliable, inxi will try to make best guesses.
If you see \fB(check)\fR after the capacity number, you should check it with the
@@ -506,6 +509,9 @@
extra data level.
.TP
.B \-x \-A\fR
+\- Adds (if available and/or relevant) \fBvendor:\fR item, which shows
+specific vendor [product] information.
+
\- Adds version/port(s)/driver version (if available) for each Audio
device.
@@ -539,6 +545,9 @@
.B <username> ALL = NOPASSWD: /usr/sbin/hddtemp (sample)
.TP
.B \-x \-G\fR
+\- Adds (if available and/or relevant) \fBvendor:\fR item, which shows
+specific vendor [product] information.
+
\- Adds direct rendering status.
\- Adds (for single GPU, nvidia driver) screen number that GPU is running on.
@@ -589,6 +598,9 @@
\- Adds device type in the Device line.
.TP
.B \-x \-N\fR
+\- Adds (if available and/or relevant) \fBvendor:\fR item, which shows
+specific vendor [product] information.
+
\- Adds version/port(s)/driver version (if available) for each Network card;
\- Adds PCI Bus ID/USB ID number of each Network card.
@@ -736,9 +748,6 @@
\- Adds wind chill, heat index, and dew point if any of these are available.
.TP
.B \-xxx \-A\fR
-\- Adds (if available and/or relevant) \fBvendor:\fR item, which shows
-specific vendor [product] information.
-
\- Adds, if present, serial number.
.TP
.B \-xxx \-B\fR
@@ -766,9 +775,6 @@
no data will show.
.TP
.B \-xxx \-G\fR
-\- Adds (if available and/or relevant) \fBvendor:\fR item, which shows
-specific vendor [product] information.
-
\- Adds (if available) \fBcompositor:\fR version \fBv:\fR.
.TP
.B \-xxx \-I\fR
@@ -791,9 +797,6 @@
\- Adds device serial number.
.TP
.B \-xxx \-N\fR
-\- Adds (if available and/or relevant) \fBvendor:\fR item, which shows
-specific vendor [product] information.
-
\- Adds, if present, serial number.
.TP
.B \-xxx \-R\fR
@@ -1083,6 +1086,14 @@
Use this to locate file that /proc debugger hangs on.
.TP
+.B \-\-debug\-no\-exit\fR
+Skip exit on error when running debugger.
+
+.TP
+.B \-\-debug\-no\-proc\fR
+Skip /proc debugging in case of a hang.
+
+.TP
.B \-\-debug\-no\-sys\fR
Skip /sys debugging in case of a hang.
@@ -1257,7 +1268,8 @@
.SH HOMEPAGE
.I https://github.com/smxi/inxi
-.I https://smxi.org/
+
+.I https://smxi.org/docs/inxi.htm
.SH AUTHOR AND CONTRIBUTORS TO CODE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/inxi-3.0.26-1/inxi.changelog new/inxi-3.0.27-1/inxi.changelog
--- old/inxi-3.0.26-1/inxi.changelog 2018-09-29 03:38:30.000000000 +0200
+++ new/inxi-3.0.27-1/inxi.changelog 2018-10-15 04:13:25.000000000 +0200
@@ -1,4 +1,121 @@
=====================================================================================
+Version: 3.0.27
+Patch Version: 00
+Script Date: 2018-10-14
+-----------------------------------
+Changes:
+-----------------------------------
+
+New version, new man. Fixes, stitches, and returns!!
+
+Bugs:
+1. As a fix (3), failure to handle spaces in mount source names. More of a fix than
+a bug, since it was an old issue #63.
+2. OSX errors, BSD errors, but not really inxi errors or bugs, more weird data
+tripping null data or unreadable file errors, but I'll call those bugs since they
+look like bugs to end users. See Fixes for more.
+3. See Fix 4, this is sort of a bug, inxi failed to return expected values on
+success/failure.
+
+Fixes:
+1. One of the documented config items, COLS_MAX_NO_DISPLAY had not been implemented
+internally. This is now corrected.
+2. Apple OSX was returning errors, those were fixed.
+3. Finally handled ancient issue #63, support now there for spaces in remote source
+name. This means that both spaces in source block name, and mount point name, are
+in theory both handled now. This was also to fix an osx issue #164 despite the
+fact that technically I do not support osx beyond fixing errors, but since in this
+case the issue was a long standing one, I fixed it for everything.
+4. Big fix, I'd completely left undone proper unix type error number returns in
+inxi, oops. Thanks Unit193 for noticing that and prompting me to fix it. Now inxi
+returns integer success/error numbers as expected.
+5. OSX xml based version info broke, of course, naturally it would, so I added in
+an osx fallback where if no distro version detected, use fallback unix method, which
+is what all the other unices use.
+6. Along with space in source name, fixed mapped handling a bit more too for
+partitions.
+6. Added cifs remote file system to disk size used blacklist, and iso9660. Not sure
+how I'd missed those for so long.
+7. OpenBSD vmstat in 6.3 changed the column order for avm/fre, and changed to a,
+sigh, human readable default format, in M, so to handle this for all bsds, I had
+to make a dynamic column detection for avm and fre, and use those after, and also
+i had to add in a M detection, if found, *1024 and strip out M, sigh.
+8. OpenBSD, another alternate ordering/syntax issue, the dmesg.boot data for disks
+does not always use the same order in comma separated list, saw user case where
+the first item after : was the MB size, not the second. Made detection dynamic.
+9. Due to Android case, found types where no cpu speed data was found, no max speed
+at least, which tripped an error due to null data for ARM, this is now handled,
+now cpu speed min/max read permissions in /sys are checked first before trying to
+read, and default failures are better handled.
+10. On man page, added in clarification of the moving of Memory: item from Info:
+line to ram Memory: line, explaining when it appears where. I do not removing the
+item from -I, I may revert that change, I find it non-intuitive to move that
+around.
+
+Enhancements:
+1. Added display manager Ly, plus Ly version number. Thanks NamedKitten, this
+closes issues #166 #165 #162
+2. Improved documentation a bit to avoid ambiguity re how to get colors in output.
+That handles issue #161, thanks fugo for the nudge to improve the documentation.
+3. First inxi on Android tests, using termux, which has a debian based apt
+type installer, got inxi running on at least two devices, including pixel2, but
+discovered that apparently as of android 5, /sys is now locked up in terms of
+wildcard reads, but further analysis is required, but as of now, inxi works in
+termux, but fails to get any Device data for A, G, or N. Thus it also fails to match
+IF to Device, so none of the IP data shows up. The latter will probably be fixed
+since Android has ip and ifconfig already, or termux does, but so far I found no
+way to get device data for ARM in Android 5.x and greater (checked on
+android 7 and 9 in real phones).
+4. More disk vendors!! thanks linuxlite / linux hardware database for offering an
+apparently never ending list of obscure and not so obscure disk vendors and
+products.
+5. While I was unable to get confirmation or documentation on file names for
+tce repo files, I guessed that localmirrors would be used, but this may be
+any random text file in /opt at all, no extensions, I'd have to test to confirm
+or deny possible values.
+6. To handle more complex debugger failures, added --debug-no-proc,
+--debug-no-exit, to skip or enable completion where proc or sys debugger is hanging.
+
+Changes:
+1. Changed vendor in A, G, and N to -x, not -xxx, this data seems much more useful
+and reliable than I'd first expected when I made the feature, the -xxx was more
+an indication of my lack of trust in the method and source, but so far it seems
+pretty good, so I bumped it up to an -x option. Note that also, it's quite useful
+to know the vendor of, say, your network or graphics card, not just the actual
+device internal data, which is all inxi has ever shown previously.
+2. Small change, if no partition type data is found, dev, remote, mapped, default
+now says 'source:' instead of 'dev:' which makes more sense. Note that df calls
+that column 'source', so I decided to go with their language for the default not
+found case. Also changed mapped to say mapped. This was part of a bit of a
+refactor of the partition type logic, enhanced by adding mapped to existing types,
+and moved the entire type detection block into the main data generator, and out
+of the data line constructor.
+
+Optimizations:
+1. Tested, and dumped, List::Util first() as a possible way to speed up grep
+searches of arrays, where the goal is just to see if something is in an array. My
+expectation was that first(), returning the first found instance of the search term,
+would of course be faster since it will always exit the search loop was met with
+the sad fact that first() is about 2 to 4 times SLOWER than grep() native builtin.
+I tested this fairly carefully, and used NYTProf optimizer tool and the results were
+totally consistent, first() was always much slower than grep(), no matter what size
+the array is. I assume this means the core C programming that makes grep is simply
+much better than the File::Util module programming that makes first(). Removed
+first() and now know that nothing will be faster than grep so no need to look there
+for speed improvements.
+The moral of the story: just because something should in theory be faster, does
+sadly not mean it will be faster, for there are bigger things at work, skill of
+the programmers who made the logic, how perl handles external vs internal tools,
+and so on. As an aside, this forms a fairly consistent pattern where I've found
+Perl by itself to be faster than modules in many cases, that is, it's faster to
+write the code out than to use a module in many cases that I have tested, so I
+will always test such ideas and dump every one that is in fact slower than native
+Perl builtins.
+
+-----------------------------------
+-- Harald Hope - Sun, 14 Oct 2018 15:24:34 -0700
+
+=====================================================================================
Version: 3.0.26
Patch Version: 00
Script Date: 2018-09-28
1
0
Hello community,
here is the log from the commit of package baka-mplayer for openSUSE:Factory checked in at 2018-10-26 11:10:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/baka-mplayer (Old)
and /work/SRC/openSUSE:Factory/.baka-mplayer.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "baka-mplayer"
Fri Oct 26 11:10:22 2018 rev:3 rq:644649 version:2.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/baka-mplayer/baka-mplayer.changes 2017-03-31 15:07:24.054084432 +0200
+++ /work/SRC/openSUSE:Factory/.baka-mplayer.new/baka-mplayer.changes 2018-10-26 11:10:26.117705946 +0200
@@ -1,0 +2,5 @@
+Thu Oct 25 10:13:33 UTC 2018 - Ondřej Súkup <mimi.vx(a)gmail.com>
+
+- cleanup specfile
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ baka-mplayer.spec ++++++
--- /var/tmp/diff_new_pack.RiyKgz/_old 2018-10-26 11:10:26.525705399 +0200
+++ /var/tmp/diff_new_pack.RiyKgz/_new 2018-10-26 11:10:26.525705399 +0200
@@ -1,7 +1,7 @@
#
# spec file for package baka-mplayer
#
-# 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
@@ -12,7 +12,7 @@
# 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/
#
@@ -20,9 +20,9 @@
Version: 2.0.4
Release: 0
Summary: A media player with UI using libmpv
-License: GPL-2.0+ and Apache-2.0
+License: GPL-2.0-or-later AND Apache-2.0
Group: Productivity/Multimedia/Video/Players
-Url: http://bakamplayer.u8sand.net/
+URL: http://bakamplayer.u8sand.net/
Source0: https://github.com/u8sand/Baka-MPlayer/archive/v%{version}.tar.gz#/Baka-MPl…
Patch0: ceil.patch
BuildRequires: libqt5-linguist
@@ -35,8 +35,6 @@
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: pkgconfig(mpv)
-Requires(post): hicolor-icon-theme
-Requires(postun): hicolor-icon-theme
%description
Baka MPlayer is a libmpv-based multimedia player. It supports gesture
@@ -48,32 +46,22 @@
%patch0 -p1
%build
-QMAKE=qmake-qt5 \
- qmake-qt5 src/Baka-MPlayer.pro CONFIG+="release install_translations man.extra" \
+%qmake5 src/Baka-MPlayer.pro CONFIG+="release install_translations man.extra" \
lupdate=lupdate-qt5 lrelease=lrelease-qt5 \
- DOCDIR=%{_docdir} LICENSEDIR=%{_docdir} \
- QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags}"
+ DOCDIR=%{_docdir}
-make %{?_smp_mflags}
+%make_jobs
%install
-make install INSTALL_ROOT=%{buildroot}
+%qmake5_install
%suse_update_desktop_file %{name} AudioVideo Video Player
-%post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-
%files
-%defattr(-,root,root)
-%doc LICENSE DOCS/%{name}.md
+%license LICENSE
+%doc DOCS/%{name}.md
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
-%{_mandir}/man1/%{name}.1%{ext_man}
+%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/pixmaps/%{name}.svg
%{_datadir}/icons/hicolor/scalable
%{_datadir}/icons/hicolor/scalable/apps
1
0
Hello community,
here is the log from the commit of package libyui-bindings for openSUSE:Factory checked in at 2018-10-26 11:10:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libyui-bindings (Old)
and /work/SRC/openSUSE:Factory/.libyui-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyui-bindings"
Fri Oct 26 11:10:18 2018 rev:22 rq:644609 version:1.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libyui-bindings/libyui-bindings.changes 2016-04-22 16:25:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libyui-bindings.new/libyui-bindings.changes 2018-10-26 11:10:24.437708196 +0200
@@ -1,0 +2,12 @@
+Fri Apr 14 11:42:20 CEST 2017 - besser82(a)fedoraproject.org
+
+- Python3: YItem and YWidget pointers comparison does not work any more
+ (gh#libyui/libyui-bindings#26, A. Naselli)
+- Python: Python binding missing constant values
+ (gh#libyui/libyui-bindings#25, A. Naselli)
+- Python: Added an example to show how to fill a YTable using YItemCollection
+ (gh#libyui/libyui-bindings#24, A. Naselli)
+- CMake: Fix handling of PerlLibs (boo#1113271)
+- 1.1.2
+
+-------------------------------------------------------------------
Old:
----
libyui-bindings-1.1.1.tar.bz2
New:
----
libyui-bindings-1.1.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libyui-bindings.spec ++++++
--- /var/tmp/diff_new_pack.uz4m5q/_old 2018-10-26 11:10:25.249707108 +0200
+++ /var/tmp/diff_new_pack.uz4m5q/_new 2018-10-26 11:10:25.253707103 +0200
@@ -1,7 +1,7 @@
#
# spec file for package libyui-bindings
#
-# Copyright (c) 2016 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
@@ -18,10 +18,10 @@
Name: libyui-bindings
-Version: 1.1.1
+Version: 1.1.2
Release: 0
Summary: Bindings for libyui
-License: LGPL-2.1 or LGPL-3.0
+License: LGPL-2.1-only OR LGPL-3.0-only
Group: Development/Sources
Url: https://github.com/libyui/libyui-bindings
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ libyui-bindings-1.1.1.tar.bz2 -> libyui-bindings-1.1.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/.travis.yml new/libyui-bindings-1.1.2/.travis.yml
--- old/libyui-bindings-1.1.1/.travis.yml 1970-01-01 01:00:00.000000000 +0100
+++ new/libyui-bindings-1.1.2/.travis.yml 2018-10-25 12:33:06.000000000 +0200
@@ -0,0 +1,11 @@
+sudo: required
+language: bash
+services:
+ - docker
+
+before_install:
+ - docker build -t libyui-bindings-image .
+script:
+ # the "libyui-travis" script is included in the base libyui/devel image
+ # see https://github.com/libyui/docker-devel/blob/master/libyui-travis
+ - docker run -it libyui-bindings-image libyui-travis
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/Dockerfile new/libyui-bindings-1.1.2/Dockerfile
--- old/libyui-bindings-1.1.1/Dockerfile 1970-01-01 01:00:00.000000000 +0100
+++ new/libyui-bindings-1.1.2/Dockerfile 2018-10-25 12:33:06.000000000 +0200
@@ -0,0 +1,10 @@
+# Use the libyui/devel image as the base
+FROM libyui/devel
+
+RUN zypper --non-interactive in --no-recommends \
+ python-devel \
+ ruby-devel \
+ swig \
+ && zypper clean -a
+
+COPY . /usr/src/app
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/README new/libyui-bindings-1.1.2/README
--- old/libyui-bindings-1.1.1/README 2014-09-10 09:53:10.944681578 +0200
+++ new/libyui-bindings-1.1.2/README 1970-01-01 01:00:00.000000000 +0100
@@ -1,15 +0,0 @@
-
-Attempt to create generated bindings for
-libyui. Not restricted to one language.
-
-Authors: kkaempf(a)suse.de
-
-Ruby Notes
-==========
-
-* API tries to follow ruby standards:
-* Containers do not implement iterators but:
- * each
- * to_a
- * etc
-* lower_case_methods instead of camelCaseMethods
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/README.md new/libyui-bindings-1.1.2/README.md
--- old/libyui-bindings-1.1.1/README.md 1970-01-01 01:00:00.000000000 +0100
+++ new/libyui-bindings-1.1.2/README.md 2018-10-25 12:33:06.000000000 +0200
@@ -0,0 +1,44 @@
+# LibYUI - The Language Bindings
+
+[![Build Status](https://travis-ci.org/libyui/libyui-bindings.svg?branch=master
+)](https://travis-ci.org/libyui/libyui-bindings)
+
+[Libyui](https://github.com/libyui/libyui) is a widget abstraction library
+providing Qt, GTK and ncurses frontends. Originally it was developed for
+[YaST](https://yast.github.io/) but it can be used in any independent project.
+
+The libyui library is written in C++, but this part contains bindings for other
+programming languages like Perl, Ruby or Python.
+
+### Ruby Notes
+
+The API tries to follow these Ruby standards:
+
+- Containers do not implement iterators but:
+ - each
+ - to_a
+ - etc
+- lower_case_methods instead of camelCaseMethods
+
+
+### Building
+
+Libyui uses CMake, driven by a slightly complex set of
+[CMakefiles](https://github.com/libyui/libyui/tree/master/buildtools). For
+reproducible builds it is best to use the [libyui-rake](
+https://github.com/libyui/libyui-rake) Ruby gem like the [Jenkins CI](
+https://ci.opensuse.org/view/libyui/) jobs do.
+
+It can be installed from [rubygems.org](https://rubygems.org/gems/libyui-rake/)
+using this command (Ruby needs to be installed in the system):
+
+```
+gem install libyui-rake
+```
+
+Then to build the package run:
+
+```
+rake osc:build
+```
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/VERSION.cmake new/libyui-bindings-1.1.2/VERSION.cmake
--- old/libyui-bindings-1.1.1/VERSION.cmake 2016-01-29 14:52:12.625329788 +0100
+++ new/libyui-bindings-1.1.2/VERSION.cmake 2018-10-25 12:33:06.000000000 +0200
@@ -1,3 +1,3 @@
SET(VERSION_MAJOR "1")
SET(VERSION_MINOR "1")
-SET(VERSION_PATCH "1")
+SET(VERSION_PATCH "2")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/package/libyui-bindings.changes new/libyui-bindings-1.1.2/package/libyui-bindings.changes
--- old/libyui-bindings-1.1.1/package/libyui-bindings.changes 2016-01-29 14:52:12.625329788 +0100
+++ new/libyui-bindings-1.1.2/package/libyui-bindings.changes 2018-10-25 12:33:06.000000000 +0200
@@ -1,4 +1,16 @@
-------------------------------------------------------------------
+Fri Apr 14 11:42:20 CEST 2017 - besser82(a)fedoraproject.org
+
+- Python3: YItem and YWidget pointers comparison does not work any more
+ (gh#libyui/libyui-bindings#26, A. Naselli)
+- Python: Python binding missing constant values
+ (gh#libyui/libyui-bindings#25, A. Naselli)
+- Python: Added an example to show how to fill a YTable using YItemCollection
+ (gh#libyui/libyui-bindings#24, A. Naselli)
+- CMake: Fix handling of PerlLibs (boo#1113271)
+- 1.1.2
+
+-------------------------------------------------------------------
Tue Jan 19 15:52:09 UTC 2016 - mvidner(a)suse.com
- CSharp: fix a System.EntryPointNotFoundException
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/package/libyui-bindings.spec new/libyui-bindings-1.1.2/package/libyui-bindings.spec
--- old/libyui-bindings-1.1.1/package/libyui-bindings.spec 2016-04-19 17:13:09.904232428 +0200
+++ new/libyui-bindings-1.1.2/package/libyui-bindings.spec 2018-10-25 12:33:06.000000000 +0200
@@ -18,7 +18,7 @@
Name: libyui-bindings
-Version: 1.1.1
+Version: 1.1.2
Release: 0
Summary: Bindings for libyui
License: LGPL-2.1 or LGPL-3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/swig/CMakeLists.txt new/libyui-bindings-1.1.2/swig/CMakeLists.txt
--- old/libyui-bindings-1.1.1/swig/CMakeLists.txt 2015-01-19 16:03:11.285219731 +0100
+++ new/libyui-bindings-1.1.2/swig/CMakeLists.txt 2018-10-25 12:33:06.000000000 +0200
@@ -31,8 +31,9 @@
# doesn't work yet :-(
# CMake problem, FindPerlLibs.cmake is in a _really_ bad, bad state :-((
# see e.g. http://www.vtk.org/Bug/print_bug_page.php?bug_id=3665
- #FIND_PACKAGE(PerlLibs)
- FIND_PACKAGE(Perl)
+ FIND_PACKAGE(PerlLibs)
+ #FindPerl.cmake included by FindPerlLibs.cmake
+ #FIND_PACKAGE(Perl)
IF (PERL_EXECUTABLE)
MESSAGE(STATUS "Perl executable: ${PERL_EXECUTABLE}")
ADD_SUBDIRECTORY(perl)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-bindings-1.1.1/swig/perl/CMakeLists.txt new/libyui-bindings-1.1.2/swig/perl/CMakeLists.txt
--- old/libyui-bindings-1.1.1/swig/perl/CMakeLists.txt 2014-09-10 09:53:10.944681578 +0200
+++ new/libyui-bindings-1.1.2/swig/perl/CMakeLists.txt 2018-10-25 12:33:06.000000000 +0200
@@ -14,7 +14,7 @@
EXECUTE_PROCESS(COMMAND ${PERL_EXECUTABLE} -e "use Config; print \$Config{archlib}.\"/CORE\"" OUTPUT_VARIABLE PERL_CORE_DIR)
EXECUTE_PROCESS(COMMAND ${PERL_EXECUTABLE} -e "use Config; print \$Config{installvendorarch}" OUTPUT_VARIABLE PERL_VENDOR_ARCH)
EXECUTE_PROCESS(COMMAND ${PERL_EXECUTABLE} -e "use Config; print \$Config{installvendorlib}" OUTPUT_VARIABLE PERL_VENDOR_LIB)
-EXECUTE_PROCESS(COMMAND ${PERL_EXECUTABLE} -e "use Config; print \$Config{ccdlflags}" OUTPUT_VARIABLE PERL_LINK_FLAGS)
+EXECUTE_PROCESS(COMMAND ${PERL_EXECUTABLE} -e "use Config; print \$Config{ccdlflags}; print \",-lpthread\"" OUTPUT_VARIABLE PERL_LINK_FLAGS)
STRING(REGEX REPLACE "^/usr/" "${CMAKE_INSTALL_PREFIX}/" PERL_VENDOR_ARCH "${PERL_VENDOR_ARCH}")
STRING(REGEX REPLACE "^/usr/" "${CMAKE_INSTALL_PREFIX}/" PERL_VENDOR_LIB "${PERL_VENDOR_LIB}")
1
0
Hello community,
here is the log from the commit of package libressl for openSUSE:Factory checked in at 2018-10-26 11:10:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libressl (Old)
and /work/SRC/openSUSE:Factory/.libressl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libressl"
Fri Oct 26 11:10:12 2018 rev:43 rq:644593 version:2.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libressl/libressl.changes 2018-10-22 11:25:14.947041975 +0200
+++ /work/SRC/openSUSE:Factory/.libressl.new/libressl.changes 2018-10-26 11:10:22.349710995 +0200
@@ -1,0 +2,5 @@
+Tue Oct 23 02:37:39 UTC 2018 - Bernhard Wiedemann <bwiedemann(a)suse.com>
+
+- Update extra-symver.diff to fix build with -j1
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ extra-symver.diff ++++++
--- /var/tmp/diff_new_pack.gww9MM/_old 2018-10-26 11:10:22.801710389 +0200
+++ /var/tmp/diff_new_pack.gww9MM/_new 2018-10-26 11:10:22.801710389 +0200
@@ -20,7 +20,7 @@
+crypto2.sym: crypto_portable.sym
+ (echo 'LIBRESSL { global: '; sed -e 's/\(.*\)/\1;/' <$<; echo 'local: *; };') >$@
+
-+libcrypto_la_DEPENDENCIES = crypto2.sym
++libcrypto_la_DEPENDENCIES = crypto2.sym libcompat.la
+libcrypto_la_LDFLAGS = -version-info @LIBCRYPTO_VERSION@ -no-undefined -Wl,--version-script=crypto2.sym
libcrypto_la_LIBADD = libcompat.la
if !HAVE_EXPLICIT_BZERO
1
0
Hello community,
here is the log from the commit of package tpm2.0-abrmd for openSUSE:Factory checked in at 2018-10-26 11:10:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm2.0-abrmd (Old)
and /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tpm2.0-abrmd"
Fri Oct 26 11:10:05 2018 rev:11 rq:644573 version:2.0.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm2.0-abrmd/tpm2.0-abrmd.changes 2018-10-23 20:42:46.692373148 +0200
+++ /work/SRC/openSUSE:Factory/.tpm2.0-abrmd.new/tpm2.0-abrmd.changes 2018-10-26 11:10:18.445716234 +0200
@@ -1,0 +2,7 @@
+Thu Oct 25 09:00:40 UTC 2018 - matthias.gerstner(a)suse.com
+
+- add a Requires towards tpm2-0-tss, because that main package holds the udev
+ rules and logic for setting up the tss user. Without this the daemon can't
+ start up correctly.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tpm2.0-abrmd.spec ++++++
--- /var/tmp/diff_new_pack.Ki5IPS/_old 2018-10-26 11:10:19.125715322 +0200
+++ /var/tmp/diff_new_pack.Ki5IPS/_new 2018-10-26 11:10:19.125715322 +0200
@@ -37,6 +37,7 @@
Requires(pre): pwdutils
Recommends: libtss2-tcti-device0
Recommends: libtss2-tcti-tabrmd0
+Requires: tpm2-0-tss
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: fix_dlopen.patch
# the auto activation is not whitelisted for <= SLE12-SP3
1
0
Hello community,
here is the log from the commit of package maxima for openSUSE:Factory checked in at 2018-10-26 11:09:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/maxima (Old)
and /work/SRC/openSUSE:Factory/.maxima.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "maxima"
Fri Oct 26 11:09:59 2018 rev:35 rq:644566 version:5.42.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/maxima/maxima.changes 2018-10-04 19:03:49.419056231 +0200
+++ /work/SRC/openSUSE:Factory/.maxima.new/maxima.changes 2018-10-26 11:10:12.369724403 +0200
@@ -1,0 +2,7 @@
+Mon Oct 22 11:35:30 UTC 2018 - badshah400(a)gmail.com
+
+- Update to version 5.42.1:
+ * MS Windows OS specific changes only, version bump without
+ changes for Linux.
+
+-------------------------------------------------------------------
Old:
----
maxima-5.42.0.tar.gz
New:
----
maxima-5.42.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ maxima.spec ++++++
--- /var/tmp/diff_new_pack.OeAbJK/_old 2018-10-26 11:10:13.365723063 +0200
+++ /var/tmp/diff_new_pack.OeAbJK/_new 2018-10-26 11:10:13.369723057 +0200
@@ -28,7 +28,7 @@
%define gcl_flags --disable-gcl
Name: maxima
-Version: 5.42.0
+Version: 5.42.1
Release: 0
%define major_version 5.42
Summary: Symbolic Computation Program/Computer Algebra System
++++++ maxima-5.42.0.tar.gz -> maxima-5.42.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/maxima/maxima-5.42.0.tar.gz /work/SRC/openSUSE:Factory/.maxima.new/maxima-5.42.1.tar.gz differ: char 5, line 1
1
0