Hello community,
here is the log from the commit of package gimp-lqr-plugin for openSUSE:Factory
checked in at 2020-12-12 20:30:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gimp-lqr-plugin (Old)
and /work/SRC/openSUSE:Factory/.gimp-lqr-plugin.new.2328 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gimp-lqr-plugin"
Sat Dec 12 20:30:14 2020 rev:13 rq:850569 version:0.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/gimp-lqr-plugin/gimp-lqr-plugin.changes
2013-08-12 11:08:16.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.gimp-lqr-plugin.new.2328/gimp-lqr-plugin.changes
2020-12-12 20:32:46.185877420 +0100
@@ -1,0 +2,8 @@
+Fri Nov 13 12:10:57 UTC 2020 - [email protected]
+
+- Use (newer) source package from github
+- Add upstream-Fix-compilation-errors.patch
+ * fixes "multiple definition of ..." with gcc10
+- Clean up spec file
+
+-------------------------------------------------------------------
Old:
----
gimp-lqr-plugin-0.7.2.tar.bz2
New:
----
gimp-lqr-plugin-0.7.2.tar.gz
upstream-Fix-compilation-errors.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gimp-lqr-plugin.spec ++++++
--- /var/tmp/diff_new_pack.Lci2qF/_old 2020-12-12 20:32:46.753878013 +0100
+++ /var/tmp/diff_new_pack.Lci2qF/_new 2020-12-12 20:32:46.757878016 +0100
@@ -1,8 +1,7 @@
#
# spec file for package gimp-lqr-plugin
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# Copyright (c) 2010 Peter Linnell
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -13,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/
#
@@ -21,14 +20,16 @@
Version: 0.7.2
Release: 0
Summary: Content-aware resizing plug-in for GIMP
-License: GPL-2.0+
+License: GPL-2.0-or-later
Group: Productivity/Graphics/Bitmap Editors
-Url: http://liquidrescale.wikidot.com/
-Source0:
http://liquidrescale.wdfiles.com/local--files/en:download-page-sources/%{name}-%{version}.tar.bz2
+URL: http://liquidrescale.wikidot.com/
+Source0:
https://github.com/carlobaldassi/gimp-lqr-plugin/archive/v%{version}/%{name}-%{version}.tar.gz
+#
https://github.com/carlobaldassi/gimp-lqr-plugin/commit/22a274942434ae841b0b51a183979ddb560996f9
+Patch0: upstream-Fix-compilation-errors.patch
BuildRequires: gimp-devel >= 2.8.0
BuildRequires: intltool
BuildRequires: liblqr-devel >= 0.4.0
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Requires: gimp >= 2.8.0
%description
This GIMP plug-in implements the content-aware resizing algorithm
@@ -38,8 +39,8 @@
%package -n gimp-plugin-lqr
Summary: Content-aware resizing plug-in for GIMP
Group: Productivity/Graphics/Bitmap Editors
-Provides: %{name} = %{version}
Recommends: gimp-plugin-lqr-lang
+Provides: %{name} = %{version}
%description -n gimp-plugin-lqr
This GIMP plug-in implements the content-aware resizing algorithm
@@ -47,35 +48,29 @@
by Shai Avidan and Ariel Shamir.
%lang_package -n gimp-plugin-lqr
+
%prep
-%setup -q -n %{name}-%{version}
+%autosetup -p1
%build
%configure
-make %{?_smp_mflags}
+%make_build
%install
-%makeinstall
+%make_install
# ro_RO locale should simply be ro
test ! -e %{buildroot}%{_datadir}/locale/ro
mv %{buildroot}%{_datadir}/locale/ro_RO %{buildroot}%{_datadir}/locale/ro
-%find_lang gimp20-lqr-plugin
-%clean
-rm -rf %{buildroot}
+%find_lang gimp20-lqr-plugin
%files -n gimp-plugin-lqr
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING README TODO
-%dir %{_libdir}/gimp/
-%dir %{_libdir}/gimp/2.0/
-%dir %{_libdir}/gimp/2.0/plug-ins/
+%license COPYING
+%doc AUTHORS ChangeLog README TODO
%{_libdir}/gimp/2.0/plug-ins/gimp-lqr-plugin
%{_libdir}/gimp/2.0/plug-ins/plug_in_lqr_iter
-%dir %{_datadir}/gimp/
-%dir %{_datadir}/gimp/2.0/
-%dir %{_datadir}/gimp/2.0/scripts/
%{_datadir}/gimp-lqr-plugin/
+%dir %{_datadir}/gimp/2.0/scripts/
%{_datadir}/gimp/2.0/scripts/batch-gimp-lqr.scm
%files -n gimp-plugin-lqr-lang -f gimp20-lqr-plugin.lang
++++++ upstream-Fix-compilation-errors.patch ++++++
From ae3464a82e1395fc577cc94999bdc7c4a7bb35f1 Mon Sep 17 00:00:00 2001
From: Dmytro Kostiuchenko <[email protected]>
Date: Thu, 25 Jun 2020 11:08:26 -0400
Subject: [PATCH] Fix compilation errors
This commit applies a patch submitted in #5 and initially offered at
https://mail.gnome.org/archives/gimp-developer-list/2020-June/msg00004.html
---
src/interface_I.c | 10 +++++-----
src/interface_aux.c | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/interface_I.c b/src/interface_I.c
index b680a2f..5e04754 100644
--- a/src/interface_I.c
+++ b/src/interface_I.c
@@ -65,13 +65,13 @@ static void callback_alarm_triggered (GtkWidget *
size_entry, gpointer data);
gint dialog_I_response = GTK_RESPONSE_OK;
-PlugInUIVals *ui_state;
-PlugInVals *state;
-PlugInDialogVals *dialog_state;
-gboolean features_are_sensitive;
+extern PlugInUIVals *ui_state;
+extern PlugInVals *state;
+extern PlugInDialogVals *dialog_state;
+extern gboolean features_are_sensitive;
InterfaceIData interface_I_data;
-GtkWidget *dlg;
+extern GtkWidget *dlg;
GtkWidget *coordinates;
gulong size_changed = 0;
diff --git a/src/interface_aux.c b/src/interface_aux.c
index a6bcc8d..58d0af4 100644
--- a/src/interface_aux.c
+++ b/src/interface_aux.c
@@ -48,11 +48,11 @@ static void callback_dialog_aux_response (GtkWidget *
dialog, gint response_id,
gint dialog_aux_response = GTK_RESPONSE_OK;
-PlugInUIVals *ui_state;
-PlugInVals *state;
-PlugInDialogVals *dialog_state;
+extern PlugInUIVals *ui_state;
+extern PlugInVals *state;
+extern PlugInDialogVals *dialog_state;
-GtkWidget *dlg;
+extern GtkWidget *dlg;
/*** Public functions ***/
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives:
https://lists.opensuse.org/archives/list/[email protected]