commit qtodotxt for openSUSE:Factory

2017-06-26 Thread root
Hello community,

here is the log from the commit of package qtodotxt for openSUSE:Factory 
checked in at 2017-06-26 15:55:08

Comparing /work/SRC/openSUSE:Factory/qtodotxt (Old)
 and  /work/SRC/openSUSE:Factory/.qtodotxt.new (New)


Package is "qtodotxt"

Mon Jun 26 15:55:08 2017 rev:5 rq:506064 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/qtodotxt/qtodotxt.changes2017-05-16 
14:44:59.820463036 +0200
+++ /work/SRC/openSUSE:Factory/.qtodotxt.new/qtodotxt.changes   2017-06-26 
15:55:52.237140477 +0200
@@ -1,0 +2,5 @@
+Sat Jun 24 16:09:06 UTC 2017 - bwiedem...@suse.com
+
+- Use convert -strip to not add timestamps to png files
+
+---



Other differences:
--
++ qtodotxt.spec ++
--- /var/tmp/diff_new_pack.E8RRSF/_old  2017-06-26 15:55:52.801060956 +0200
+++ /var/tmp/diff_new_pack.E8RRSF/_new  2017-06-26 15:55:52.805060392 +0200
@@ -55,7 +55,7 @@
   --prefix=%{_prefix}
 
 # A tricky way to get all available icon sizes.
-convert %{name}/ui/resources/%{name}.ico packaging/%{name}.png
+convert -strip %{name}/ui/resources/%{name}.ico packaging/%{name}.png
 iter=0
 for size in 48 32 16; do
 install -Dpm 0644 packaging/%{name}-$iter.png \




commit qtodotxt for openSUSE:Factory

2017-05-16 Thread root
Hello community,

here is the log from the commit of package qtodotxt for openSUSE:Factory 
checked in at 2017-05-16 14:44:04

Comparing /work/SRC/openSUSE:Factory/qtodotxt (Old)
 and  /work/SRC/openSUSE:Factory/.qtodotxt.new (New)


Package is "qtodotxt"

Tue May 16 14:44:04 2017 rev:4 rq:494574 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/qtodotxt/qtodotxt.changes2016-05-19 
12:16:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.qtodotxt.new/qtodotxt.changes   2017-05-16 
14:44:59.820463036 +0200
@@ -1,0 +2,11 @@
+Wed May 10 17:02:56 UTC 2017 - jeng...@inai.de
+
+- Ensure neutrality of description.
+
+---
+Tue May  9 16:45:47 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 1.9.0:
+  * No changelog available.
+
+---

Old:

  qtodotxt-1.6.1.tar.gz

New:

  QTodoTxt-1.9.0.tar.gz



Other differences:
--
++ qtodotxt.spec ++
--- /var/tmp/diff_new_pack.ryReGU/_old  2017-05-16 14:45:00.500367503 +0200
+++ /var/tmp/diff_new_pack.ryReGU/_new  2017-05-16 14:45:00.504366940 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qtodotxt
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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,13 +18,14 @@
 
 %define _name   QTodoTxt
 Name:   qtodotxt
-Version:1.6.1
+Version:1.9.0
 Release:0
-Summary:Cross-platform UI client for todo.txt files
+Summary:User interface client for todo.txt files
 License:GPL-3.0+
 Group:  Productivity/Office/Organizers
 Url:https://github.com/mNantern/QTodoTxt
-Source: 
https://github.com/mNantern/%{_name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source: 
https://github.com/mNantern/%{_name}/archive/%{version}.tar.gz#/%{_name}-%{version}.tar.gz
+BuildRequires:  ImageMagick
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  python3-setuptools
@@ -34,12 +35,12 @@
 BuildArch:  noarch
 
 %description
-QTodoTxt is a graphical interface for todo.txt format.
+QTodoTxt is a graphical interface for the todo.txt format.
 
-Todo.txt is a popular, minimalistic TODO list format in which the data
-is stored in a simple text file. Since todo.txt is both machine and
-human-readable, you can check out your tasks with a simple text editor
-from any OS, synchronise it with cloud sync tools such as ownCloud, etc.
+Todo.txt is a TODO list format in which the data is stored in a text
+file. Since todo.txt is both machine and human-readable, tasks can be
+checked out with alternative editors, and be synchronised with cloud
+sync tools such as Nextcloud, etc.
 
 %prep
 %setup -q -n %{_name}-%{version}
@@ -54,10 +55,14 @@
   --prefix=%{_prefix}
 
 # A tricky way to get all available icon sizes.
-ls artwork/icon/ | sed -n 's/.*-\([0-9]*\).png/\1/p' | while read size; do
-install -Dm 0644 artwork/icon/qTodo-$size.png 
%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png
+convert %{name}/ui/resources/%{name}.ico packaging/%{name}.png
+iter=0
+for size in 48 32 16; do
+install -Dpm 0644 packaging/%{name}-$iter.png \
+  %{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png
+iter=$(( iter + 1 ))
 done
-install -Dm 0644 %{name}.desktop 
%{buildroot}%{_datadir}/applications/%{name}.desktop
+install -Dpm 0644 %{name}.desktop 
%{buildroot}%{_datadir}/applications/%{name}.desktop
 
 %suse_update_desktop_file -r -G %{_name} %{name} Utility DesktopUtility
 %fdupes %{buildroot}%{python3_sitelib}/




commit qtodotxt for openSUSE:Factory

2016-05-19 Thread h_root
Hello community,

here is the log from the commit of package qtodotxt for openSUSE:Factory 
checked in at 2016-05-19 12:15:34

Comparing /work/SRC/openSUSE:Factory/qtodotxt (Old)
 and  /work/SRC/openSUSE:Factory/.qtodotxt.new (New)


Package is "qtodotxt"

Changes:

--- /work/SRC/openSUSE:Factory/qtodotxt/qtodotxt.changes2016-05-10 
09:27:24.0 +0200
+++ /work/SRC/openSUSE:Factory/.qtodotxt.new/qtodotxt.changes   2016-05-19 
12:16:03.0 +0200
@@ -1,0 +2,10 @@
+Wed May 18 08:54:32 UTC 2016 - jeng...@inai.de
+
+- Update to version 1.6.1:
+  * Fix settings handling causing auto archive to not behave as
+expected at first start.
+  * Add option to hide or show delete action, fix default of some
+settings in settings.py.
+  * Add new task to contextual menu.
+
+---

Old:

  qtodotxt-1.6.0.tar.gz

New:

  qtodotxt-1.6.1.tar.gz



Other differences:
--
++ qtodotxt.spec ++
--- /var/tmp/diff_new_pack.VWa73s/_old  2016-05-19 12:16:03.0 +0200
+++ /var/tmp/diff_new_pack.VWa73s/_new  2016-05-19 12:16:03.0 +0200
@@ -18,17 +18,18 @@
 
 %define _name   QTodoTxt
 Name:   qtodotxt
-Version:1.6.0
+Version:1.6.1
 Release:0
 Summary:Cross-platform UI client for todo.txt files
 License:GPL-3.0+
 Group:  Productivity/Office/Organizers
 Url:https://github.com/mNantern/QTodoTxt
-Source: 
https://github.com/mNantern/%{_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Source: 
https://github.com/mNantern/%{_name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  python3-setuptools
 BuildRequires:  update-desktop-files
+Requires:   python3-dateutil
 Requires:   python3-qt5
 BuildArch:  noarch
 

++ qtodotxt-1.6.0.tar.gz -> qtodotxt-1.6.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QTodoTxt-1.6.0/README.md new/QTodoTxt-1.6.1/README.md
--- old/QTodoTxt-1.6.0/README.md2016-04-27 12:12:08.0 +0200
+++ new/QTodoTxt-1.6.1/README.md2016-05-17 15:54:25.0 +0200
@@ -13,10 +13,10 @@
 
 ###Latest stable release:
 
-V1.6.0 is released but binary packages have not been made yet and the 
following links may point to older versions (pip should alway point to latest 
release). If you want the binary releases, generate them, upload file and send 
a pull request to update the link in this README
+V1.6.0 is released but not all binary packages have been created yet and the 
following links may point to older versions (pip should alway point to latest 
release). If you want a missing binary release, generate it then contact the 
authors to upload the file and update the link in this README
 
 - For Ubuntu / Debian: [.deb 
package](http://dl.bintray.com/mnantern/deb/qtodotxt_1.4.0_all.deb)
-- For Windows: [Windows 
installer](http://dl.bintray.com/mnantern/generic/qtodotxt_1.4.0.exe)
+- For Windows: [Windows 
installer](https://github.com/QTodoTxt/QTodoTxt/releases/download/1.6.0/qtodotxt_1.6.0.exe)
 - For Mac OS X: [Mac OS X 
installer](http://dl.bintray.com/mnantern/generic/QTodoTxt_1.4.0.dmg)
 - Everywhere: ```pip install qtodotxt``` (BUT to void unwanted pyqt5 
compilation, pyqt5 is not specified as a dependency on pip, install pyqt5 
manually before!)
 - Everywhere: [tar.gz 
archive](https://github.com/mNantern/QTodoTxt/archive/1.4.0.tar.gz)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QTodoTxt-1.6.0/bin/qtodotxt.pyw 
new/QTodoTxt-1.6.1/bin/qtodotxt.pyw
--- old/QTodoTxt-1.6.0/bin/qtodotxt.pyw 2016-04-27 12:12:08.0 +0200
+++ new/QTodoTxt-1.6.1/bin/qtodotxt.pyw 2016-05-17 15:54:25.0 +0200
@@ -17,6 +17,8 @@
 sys.stderr = open(appdata + "\\stderr.log", "w")
 
 if sys.argv[0].lower().endswith('.exe'):
+# If something goes wrong, logging information might help.
+# Uncommenting line below allows logging to be stored at same location where 
exe resides
 reroute_py2exe_logs()
 sys.path.insert(0, os.path.join(os.path.dirname(__file__)))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/QTodoTxt-1.6.0/packaging/Windows/installer.iss 
new/QTodoTxt-1.6.1/packaging/Windows/installer.iss
--- old/QTodoTxt-1.6.0/packaging/Windows/installer.iss  2016-04-27 
12:12:08.0 +0200
+++ new/QTodoTxt-1.6.1/packaging/Windows/installer.iss  2016-05-17 
15:54:25.0 +0200
@@ -2,7 +2,7 @@
 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
 
 #define MyAppName "QTodoTxt"
-#define 

commit qtodotxt for openSUSE:Factory

2016-05-10 Thread h_root
Hello community,

here is the log from the commit of package qtodotxt for openSUSE:Factory 
checked in at 2016-05-10 09:27:23

Comparing /work/SRC/openSUSE:Factory/qtodotxt (Old)
 and  /work/SRC/openSUSE:Factory/.qtodotxt.new (New)


Package is "qtodotxt"

Changes:

--- /work/SRC/openSUSE:Factory/qtodotxt/qtodotxt.changes2014-10-16 
14:53:53.0 +0200
+++ /work/SRC/openSUSE:Factory/.qtodotxt.new/qtodotxt.changes   2016-05-10 
09:27:24.0 +0200
@@ -1,0 +2,9 @@
+Wed May  4 16:34:01 UTC 2016 - sor.ale...@meowr.ru
+
+- Update to version 1.6.0:
+  * Port to PyQt5.
+  * Add action for hiding/showing completed tasks.
+  * Add action for hiding/showing future tasks.
+  * Add action for hiding/showing sidebar.
+
+---

Old:

  1.4.0.tar.gz

New:

  qtodotxt-1.6.0.tar.gz



Other differences:
--
++ qtodotxt.spec ++
--- /var/tmp/diff_new_pack.vxMjvo/_old  2016-05-10 09:27:25.0 +0200
+++ /var/tmp/diff_new_pack.vxMjvo/_new  2016-05-10 09:27:25.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qtodotxt
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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,18 +18,18 @@
 
 %define _name   QTodoTxt
 Name:   qtodotxt
-Version:1.4.0
+Version:1.6.0
 Release:0
 Summary:Cross-platform UI client for todo.txt files
 License:GPL-3.0+
 Group:  Productivity/Office/Organizers
 Url:https://github.com/mNantern/QTodoTxt
-Source: https://github.com/mNantern/%{_name}/archive/%{version}.tar.gz
+Source: 
https://github.com/mNantern/%{_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
-BuildRequires:  python3-devel
+BuildRequires:  python3-setuptools
 BuildRequires:  update-desktop-files
-Requires:   python3-qt4
+Requires:   python3-qt5
 BuildArch:  noarch
 
 %description
@@ -38,49 +38,28 @@
 Todo.txt is a popular, minimalistic TODO list format in which the data
 is stored in a simple text file. Since todo.txt is both machine and
 human-readable, you can check out your tasks with a simple text editor
-from any OS, synchronize it with cloud sync tools such as ownCloud, etc.
+from any OS, synchronise it with cloud sync tools such as ownCloud, etc.
 
 %prep
 %setup -q -n %{_name}-%{version}
 sed -e 's/^Icon=.*$/Icon=%{name}/;/^Keywords/d' 
packaging/Debian/%{name}.desktop > %{name}.desktop
 
 %build
-# Nothing to build.
+python3 setup.py build
 
 %install
-install -Dm 0755 bin/%{name} %{buildroot}%{_datadir}/%{name}/bin/%{name}
-cp -rf {%{name},artwork} %{buildroot}%{_datadir}/%{name}/
+python3 setup.py install \
+  --root=%{buildroot} \
+  --prefix=%{_prefix}
+
 # A tricky way to get all available icon sizes.
 ls artwork/icon/ | sed -n 's/.*-\([0-9]*\).png/\1/p' | while read size; do
 install -Dm 0644 artwork/icon/qTodo-$size.png 
%{buildroot}%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png
 done
 install -Dm 0644 %{name}.desktop 
%{buildroot}%{_datadir}/applications/%{name}.desktop
 
-dirname $(find %{buildroot}%{_datadir} -name '*.py') | sort -u | while read 
dir; do
-pushd "$dir"
-ls *.py | while read py; do
-# Tranfer to PyQt4 from PySide.
-sed -i 
's/PySide/PyQt4/g;s/\(QtCore.\)\(Signal\)/\1pyqt\2/g;s/\(QtCore.\)\(Slot\)/\1pyqt\2/g'
 "$py"
-# One more specific hack about PyQt4.
-sed -i 
's/\(QAbstractItemView.\)SelectionMode.\(ExtendedSelection\)/\1\2/g' "$py"
-
-# Add execution bit to scripts with shebangs and remove from others.
-if [[ "$(head -c2 "$py"; echo)" == "#!" ]]; then
-chmod a+x "$py"
-else
-chmod a-x "$py"
-fi
-done
-# Generate .pyc.
-touch -c *.py
-%py3_compile .
-popd
-done
-
-mkdir -p %{buildroot}%{_bindir}/
-ln -s %{_datadir}/%{name}/bin/%{name} %{buildroot}/%{_bindir}/%{name}
 %suse_update_desktop_file -r -G %{_name} %{name} Utility DesktopUtility
-%fdupes %{buildroot}
+%fdupes %{buildroot}%{python3_sitelib}/
 
 %post
 %desktop_database_post
@@ -94,8 +73,11 @@
 %defattr(-,root,root)
 %doc AUTHORS gpl.txt
 %{_bindir}/%{name}
-%{_datadir}/%{name}/
+%{python3_sitelib}/%{name}/
+%{python3_sitelib}/%{name}-*
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/icons/hicolor/*/
+%dir %{_datadir}/icons/hicolor/*/
+%dir %{_datadir}/icons/hicolor/*/apps/
+%{_datadir}/icons/hicolor/*/apps/%{name}.*
 
 %changelog