This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 31 17:07:58 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
|
||||
|
||||
- Update to version 0.5.2
|
||||
* Add gitlab-ci for thunarx-python
|
||||
* Update configure.ac.in syntax
|
||||
* Remove checks with unused result
|
||||
* Remove check for unused sys/wait.h
|
||||
* Fix missing-prototypes
|
||||
* Fix g_list_find_custom usage
|
||||
* make distcheck now works !
|
||||
* Update gtk-doc for thunarx-python
|
||||
* Fix compilation with python3.8
|
||||
* fix compilation issues with gcc-10
|
||||
* Scan extension directories only once
|
||||
- Remove reproducible.patch and thunarx-python-py3.8.diff
|
||||
* fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 8 08:08:17 UTC 2020 - Stefan Seyfried <seife+obs@b1-systems.com>
|
||||
|
||||
|
||||
+3
-5
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package thunarx-python
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,14 +17,12 @@
|
||||
|
||||
|
||||
Name: thunarx-python
|
||||
Version: 0.5.1
|
||||
Version: 0.5.2
|
||||
Release: 0
|
||||
Summary: Python Bindings for the Thunar Extension Framework
|
||||
License: GPL-2.0-or-later
|
||||
URL: https://goodies.xfce.org/projects/bindings/thunarx-python
|
||||
URL: https://docs.xfce.org/bindings/thunarx-python/
|
||||
Source: http://archive.xfce.org/src/bindings/%{name}/0.5/%{name}-%{version}.tar.bz2
|
||||
Patch0: reproducible.patch
|
||||
Patch1: thunarx-python-py3.8.diff
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
commit 5e0514ca98f48a4f87365452119393ffb0e49524
|
||||
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
|
||||
Date: Fri Jun 22 10:59:56 2018 +0200
|
||||
|
||||
thunarx-python: Allow to override build date
|
||||
|
||||
in order to make builds reproducible.
|
||||
See https://reproducible-builds.org/ for why this is good
|
||||
and https://reproducible-builds.org/specs/source-date-epoch/
|
||||
for the definition of this variable.
|
||||
|
||||
Index: b/docs/Makefile.in
|
||||
===================================================================
|
||||
--- a/docs/Makefile.in
|
||||
+++ b/docs/Makefile.in
|
||||
@@ -591,7 +591,7 @@ uninstall-am: uninstall-HTMLDATA
|
||||
|
||||
|
||||
@ENABLE_GTK_DOC_TRUE@reference/builddate.xml: $(REFERENCE_DEPS)
|
||||
-@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@
|
||||
+@ENABLE_GTK_DOC_TRUE@ $(PYTHON) -c 'import datetime; import os; import time; print(datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", time.time()))).date())' > $@
|
||||
|
||||
@ENABLE_GTK_DOC_TRUE@$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
|
||||
@ENABLE_GTK_DOC_TRUE@ $(GTKDOC_MKHTML) \
|
||||
Index: b/docs/Makefile.am
|
||||
===================================================================
|
||||
--- a/docs/Makefile.am
|
||||
+++ b/docs/Makefile.am
|
||||
@@ -63,7 +63,7 @@ REFERENCE_DEPS = \
|
||||
if ENABLE_GTK_DOC
|
||||
|
||||
reference/builddate.xml: $(REFERENCE_DEPS)
|
||||
- $(PYTHON) -c 'import datetime; print(datetime.date.today())' > $@
|
||||
+ $(PYTHON) -c 'import datetime; import os; import time; print(datetime.datetime.utcfromtimestamp(int(os.environ.get("SOURCE_DATE_EPOCH", time.time()))).date())' > $@
|
||||
|
||||
$(HTML_DATA): $(REFERENCE_DEPS) reference/builddate.xml
|
||||
$(GTKDOC_MKHTML) \
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:721fd6c305354d904d601be106ead60605a9d611b3a68965ed7b51d0216b1339
|
||||
size 334426
|
||||
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96da0bb7c6ccf1783bfd91a1cfb5071e2e19cc45038b77bd13ca00d0f74d9f22
|
||||
size 348120
|
||||
@@ -1,30 +0,0 @@
|
||||
diff --git a/aclocal.m4 b/aclocal.m4
|
||||
index 402f5c8..3f9dd64 100644
|
||||
--- a/aclocal.m4
|
||||
+++ b/aclocal.m4
|
||||
@@ -11008,7 +11008,9 @@ py_lib_name=`basename $py_include_path`
|
||||
if test "x$PYTHON_LIBS" = x; then
|
||||
PYTHON_CONFIG=`which $PYTHON`-config
|
||||
if test -x "$PYTHON_CONFIG"; then
|
||||
- PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
|
||||
+ # python 3.8 needs this, but 3.6 does not support it
|
||||
+ $PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed
|
||||
+ PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null`
|
||||
else
|
||||
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
|
||||
fi
|
||||
diff --git a/configure b/configure
|
||||
index 9fabaa0..690ca33 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -13557,7 +13557,9 @@ py_lib_name=`basename $py_include_path`
|
||||
if test "x$PYTHON_LIBS" = x; then
|
||||
PYTHON_CONFIG=`which $PYTHON`-config
|
||||
if test -x "$PYTHON_CONFIG"; then
|
||||
- PYTHON_LIBS=`$PYTHON_CONFIG --ldflags 2>/dev/null`
|
||||
+ # python 3.8 needs this, but 3.6 does not support it
|
||||
+ $PYTHON_CONFIG --ldflags --embed >/dev/null 2>&1 && EMBED=--embed
|
||||
+ PYTHON_LIBS=`$PYTHON_CONFIG --ldflags $EMBED 2>/dev/null`
|
||||
else
|
||||
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
|
||||
fi
|
||||
Reference in New Issue
Block a user