Hello community, here is the log from the commit of package grsync for openSUSE:Factory checked in at 2020-06-07 21:39:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/grsync (Old) and /work/SRC/openSUSE:Factory/.grsync.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grsync" Sun Jun 7 21:39:27 2020 rev:12 rq:812211 version:1.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/grsync/grsync.changes 2016-08-12 15:43:36.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.grsync.new.3606/grsync.changes 2020-06-07 21:39:36.341694952 +0200 @@ -1,0 +2,6 @@ +Sun Jun 7 10:10:10 UTC 2020 - [email protected] + +- Update to 1.2.8 +- Fix build with grsync.patch + +------------------------------------------------------------------- Old: ---- grsync-1.2.6.tar.gz New: ---- grsync-1.2.8.tar.gz grsync.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ grsync.spec ++++++ --- /var/tmp/diff_new_pack.u6C089/_old 2020-06-07 21:39:37.445698452 +0200 +++ /var/tmp/diff_new_pack.u6C089/_new 2020-06-07 21:39:37.445698452 +0200 @@ -17,13 +17,14 @@ Name: grsync -Version: 1.2.6 +Version: 1.2.8 Release: 0 Summary: GUI for rsync License: GPL-2.0 Group: Productivity/Archiving/Backup Url: http://www.opbyte.it/grsync/ Source: http://www.opbyte.it/release/%{name}-%{version}.tar.gz +Patch0: grsync.patch Patch1: fix-invalid-lc-messages-dir.patch # PATCH-FIX-UPSTREAM grsync-appdata.patch [email protected] -- Add, translate and install appdata file Patch2: grsync-appdata.patch @@ -36,7 +37,6 @@ BuildRequires: pkgconfig(gtk+-2.0) >= 2.16 Requires: rsync Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Grsync is a GUI (Graphical User Interface) for rsync, the commandline directory @@ -49,9 +49,7 @@ %lang_package %prep -%setup -q -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 %build autoreconf -fi @@ -82,8 +80,8 @@ %suse_update_desktop_file -r %{name} Utility Archiving GTK %files -%defattr(-,root,root) -%doc AUTHORS COPYING README NEWS +%license COPYING +%doc AUTHORS README NEWS %{_bindir}/grsync %{_bindir}/grsync-batch %{_datadir}/applications/grsync.desktop ++++++ fix-invalid-lc-messages-dir.patch ++++++ --- /var/tmp/diff_new_pack.u6C089/_old 2020-06-07 21:39:37.469698528 +0200 +++ /var/tmp/diff_new_pack.u6C089/_new 2020-06-07 21:39:37.469698528 +0200 @@ -2,15 +2,13 @@ configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -Index: grsync-1.2.4/configure.in -=================================================================== ---- grsync-1.2.4.orig/configure.in -+++ grsync-1.2.4/configure.in -@@ -91,7 +91,7 @@ +--- a/configure.in ++++ b/configure.in +@@ -91,7 +91,7 @@ AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.]) dnl Add the languages which your application supports here. --ALL_LINGUAS="nl_NL it_IT zh_CN fr_FR sv_SE nb_NO tr_TR ru_RU de_DE es_ES cs_CZ gl_ES ca_ES pt_BR id_ID hr_HR zh_TW hu_HU" +-ALL_LINGUAS="nl_NL it_IT zh_CN fr_FR sv_SE nb_NO tr_TR ru_RU de_DE es_ES cs_CZ gl_ES ca_ES pt_BR id_ID hr_HR zh_TW hu_HU el_GR pt_PT" +ALL_LINGUAS="ca cs de es fr gl hr hu id it nb nl pt_BR ru sv tr zh_CN zh_TW" AM_GLIB_GNU_GETTEXT ++++++ grsync-1.2.6.tar.gz -> grsync-1.2.8.tar.gz ++++++ ++++ 4314 lines of diff (skipped) ++++++ grsync.patch ++++++ --- a/src/callbacks.h +++ b/src/callbacks.h @@ -7,11 +7,17 @@ #define ICON_PACKAGE PACKAGE_DATA_DIR "/" ICON_SOURCE #define ICON_PACKAGE_BUSY PACKAGE_DATA_DIR "/" ICON_SOURCE_BUSY -GtkBuilder *builder; -GtkWidget *main_window; -gchar *argv_session, *argv_filename, *icon, *icon_busy; -gboolean cmdline_session, cmdline_execute, cmdline_stayopen, cmdline_import; -GtkListStore *liststore_session; +extern GtkBuilder *builder; +extern GtkWidget *main_window; +extern gchar *argv_session; +extern gchar **argv_filename; +extern gchar *icon; +extern gchar *icon_busy; +extern gboolean cmdline_session; +extern gboolean cmdline_execute; +extern gboolean cmdline_stayopen; +extern gboolean cmdline_import; +extern GtkListStore *liststore_session; void save_settings(gchar *session, gchar *filename); gboolean load_groups(gchar *session); --- a/src/main.c +++ b/src/main.c @@ -9,6 +9,17 @@ # include <hildon/hildon.h> # include <libosso.h> #endif +GtkBuilder *builder; +GtkWidget *main_window; +gchar *argv_session; +gchar **argv_filename; +gchar *icon; +gchar *icon_busy; +gboolean cmdline_session; +gboolean cmdline_execute; +gboolean cmdline_stayopen; +gboolean cmdline_import; +GtkListStore *liststore_session; int main (int argc, char *argv[]) { #ifdef ENABLE_NLS @@ -33,11 +44,6 @@ int main (int argc, char *argv[]) { GtkWidget *appmenu; #endif - cmdline_session = FALSE; - cmdline_execute = FALSE; - cmdline_stayopen = FALSE; - cmdline_import = FALSE; - argv_filename = NULL; while (i < argc && argv[i] != NULL) { if (argv[i][0] == '-') {
