$ git show --format=fuller --patch-with-stat --summary dff923a00fde8b605ab24d16d185f944942c5861
commit dff923a00fde8b605ab24d16d185f944942c5861
Author: mandian <mandian@users.noreply.github.com>
AuthorDate: Wed Dec 6 17:47:40 2023 +0000
Commit: mandian <mandian@users.noreply.github.com>
CommitDate: Wed Dec 6 17:47:40 2023 +0000
upgrade at the latest git version and rebuild against gtk3
---
.abf.yml | 1 +
lxtask-0.1.4-automake_113.patch | 27 ---------------------------
lxtask.spec | 36 +++++++++++++++++++++++++-----------
3 files changed, 26 insertions(+), 38 deletions(-)
delete mode 100644 lxtask-0.1.4-automake_113.patch
diff --git a/.abf.yml b/.abf.yml
index 99b00fe..c21aa62 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,3 @@
sources:
lxtask-0.1.10.tar.xz: 0c565b8157ee5a4b87db6b65effd687e8bc7bf72
+ lxtask-3872237d397a82e6029247642d47561349e6a8cf.tar.gz: 9d1104fc9b37ca727dfc0715ba420e02207b49ea
diff --git a/lxtask-0.1.4-automake_113.patch b/lxtask-0.1.4-automake_113.patch
deleted file mode 100644
index 842308d..0000000
--- a/lxtask-0.1.4-automake_113.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- lxtask-0.1.4/autogen.sh.orig 2013-04-12 16:42:48.041569957 +0100
-+++ lxtask-0.1.4/autogen.sh 2013-04-12 16:43:27.480567653 +0100
-@@ -5,9 +5,11 @@
- AM_INSTALLED_VERSION=$($AUTOMAKE --version | sed -e '2,$ d' -e 's/.* \([0-9]*\.[0-9]*\).*/\1/')
-
- if [ "$AM_INSTALLED_VERSION" != "1.10" \
-- -a "$AM_INSTALLED_VERSION" != "1.11" ];then
-+ -a "$AM_INSTALLED_VERSION" != "1.11" \
-+ -a "$AM_INSTALLED_VERSION" != "1.12" \
-+ -a "$AM_INSTALLED_VERSION" != "1.13" ];then
- echo
-- echo "You must have automake > 1.10 or 1.11 installed to compile lxtask."
-+ echo "You must have automake > 1.10 installed to compile lxtask."
- echo "Install the appropriate package for your distribution,"
- echo "or get the source tarball at http://ftp.gnu.org/gnu/automake/"
- exit 1
---- lxtask-0.1.4/configure.ac.orig 2013-04-12 17:00:54.377183786 +0100
-+++ lxtask-0.1.4/configure.ac 2013-04-12 17:01:57.049180124 +0100
-@@ -4,7 +4,7 @@
- AC_PROG_INTLTOOL(, [no-xml])
- AM_MAINTAINER_MODE
-
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
-
- AC_PROG_CC
- AC_PROG_INSTALL
diff --git a/lxtask.spec b/lxtask.spec
index e6d8d6d..05a1bf1 100644
--- a/lxtask.spec
+++ b/lxtask.spec
@@ -1,33 +1,47 @@
+# git snapshot
+%global snapshot 1
+%if 0%{?snapshot}
+ %global commit 3872237d397a82e6029247642d47561349e6a8cf
+ %global commitdate 20230917
+ %global shortcommit %(c=%{commit}; echo ${c:0:7})
+%endif
+
Summary: Lightweight and desktop independent task manager
Name: lxtask
Version: 0.1.10
-Release: 2
+Release: 3
License: GPLv2+
Group: Graphical desktop/Other
Url: http://lxde.sourceforge.net/
-Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
-#Patch0: lxtask-0.1.4-automake_113.patch
+#Source0: http://downloads.sourceforge.net/lxde/%{name}-%{version}.tar.xz
+Source0: https://github.com/lxde/lxtask/archive/%{?snapshot:%{commit}}%{!?snapshot:%{version}}/%{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: intltool
-BuildRequires: pkgconfig(gtk+-x11-2.0)
+BuildRequires: pkgconfig(gtk+-3.0)
%description
Lightweight and desktop independent task manager.
+%files -f %{name}.lang
+%{_bindir}/%{name}
+%{_datadir}/applications/*.desktop
+%{_mandir}/man1/lxtask.1.*
+
+#---------------------------------------------------------------------------
+
%prep
-%setup -q
-%autopatch -p1
+%autosetup -p1 -n %{name}-%{?snapshot:%{commit}}%{!?snapshot:%{version}}
%build
-%configure
+autoreconf -fiv
+%configure \
+ --enable-gtk3 \
+ %{nil}
%make_build
%install
%make_install
+# locales
%find_lang %{name}
-%files -f %{name}.lang
-%{_bindir}/%{name}
-%{_datadir}/applications/*.desktop
-%{_mandir}/man1/lxtask.1.*