commit nitrogen for openSUSE:Factory

2018-05-29 Thread root
Hello community,

here is the log from the commit of package nitrogen for openSUSE:Factory 
checked in at 2018-05-29 16:50:17

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


Package is "nitrogen"

Tue May 29 16:50:17 2018 rev:6 rq:611540 version:1.6.1

Changes:

--- /work/SRC/openSUSE:Factory/nitrogen/nitrogen.changes2015-09-08 
17:44:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.nitrogen.new/nitrogen.changes   2018-05-29 
16:50:44.295210698 +0200
@@ -1,0 +2,44 @@
+Wed May 23 10:44:18 UTC 2018 - mvet...@suse.com
+
+- Update to 1.6.1:
+  * Root window detection for windows such as conky fixed (#40, #90, #88, #86, 
#89)
+  * Fixed Mutter detection, added wrapped mode for mutter (#78)
+  * Respect $PREFIX for application data (@berkley4, #70)
+  * Don't set show desktop key for Nemo (#91)
+  * No-op when Apply is pressed and nothing is selected (#92)
+  * Translations now install again (#64)
+  * Xinerama disabled compilation fix (@jer-gentoo, #84)
+  * Random codepath if statement fix (#85)
+  * README spelling error (@gfa, #82)
+- Changes for 1.6.0:
+  New features:
+  * Keyboard shortcuts (#10)
+  * Select head on command line with (--head) (@jaypikay, #13)
+  * Exit confirmation dialog (@jameh, #33)
+  * Can restore original background in X if changes not confirmed
+  * Sorting and recursion pref options (@easysid, #47, #23)
+  * Icon view with captions (#15)
+  * Random background selector (Ctrl+R or --random)
+  * Mutter support (#61)
+  * LXDE support (#63, #80)
+  * SVG image file support (@Vladimir-csp, #75)
+  Issues fixed:
+  * Autotools issue with X11 (#12)
+  * Add desktop file (@andrewsomething, @Vladimir-csp, #28, #29, #74)
+  * Freedesktop spec fix (@EvanPurkhiser, #30)
+  * Nautilus detection fixes (#52, #59)
+  * XDG system dir fix (Unit193, #41)
+  * Don't let Xinerama mode set heads that don't exist (#55)
+  * Xinerama fullscreen issue/detection (#59)
+  * Man pages (#20)
+  Internal:
+  * Major refactor of setter code/organization, easier to support external 
background setters (gnome/lxde/xfce etc) (#25)
+  * Autotools refactor (@JamesNZ/@JamesWrigley, #42, #45)
+  * Whitespace cleanup (@jubalh, #56)
+  * Notes for packagers about C++11 (@rtlanceroad, #65)
+- Add language package
+- Add appdata file
+- Remove iconcach and desktop file update in post/postun
+- Remove x11_linking.patch: upstreamed
+
+---

Old:

  nitrogen-1.5.2.tar.gz
  x11_linking.patch

New:

  nitrogen-1.6.1.tar.gz



Other differences:
--
++ nitrogen.spec ++
--- /var/tmp/diff_new_pack.tokBY2/_old  2018-05-29 16:50:44.855190094 +0200
+++ /var/tmp/diff_new_pack.tokBY2/_new  2018-05-29 16:50:44.855190094 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nitrogen
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -17,16 +17,14 @@
 
 
 Name:   nitrogen
-Version:1.5.2
+Version:1.6.1
 Release:0
 Summary:A background browser and setter for X windows
-License:GPL-2.0 and CC-BY-SA-3.0
+License:GPL-2.0-only AND CC-BY-SA-3.0
 Group:  System/X11/Utilities
 Url:http://projects.l3ib.org/nitrogen/
 Source0:
http://projects.l3ib.org/nitrogen/files/%{name}-%{version}.tar.gz
 Source1:%{name}.desktop
-# upstream fix 30b50d1e3d77966cd29e27c12dbe8f12eff2175d
-Patch0: x11_linking.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -34,15 +32,14 @@
 BuildRequires:  gtkmm2-devel
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  libtool
-BuildRequires:  pkg-config
+BuildRequires:  pkgconfig
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(xinerama)
 Requires:   hicolor-icon-theme
-Requires(post): update-desktop-files
-Requires(postun): update-desktop-files
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Recommends: %{name}-lang
+%lang_package
 
 %description
 
@@ -63,7 +60,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 autoreconf -fiv
@@ -72,28 +68,25 @@
 
 %install
 %make_install
-install -D -m 644 %{SOURCE1} 
%{buildroot}/%{_datadir}/applications/%{name}.desktop
 install -D -m 644 data/icons/%{name}-48.png 
%{buildroot}/%{_datadir}/pixmaps/%{name}.png
 
 %suse_update_desktop_file %{name} Settings DesktopSettings
 
 %fdupes  %{buildroot}/
 
-%post
-%desktop_database_post

commit nitrogen for openSUSE:Factory

2015-09-08 Thread h_root
Hello community,

here is the log from the commit of package nitrogen for openSUSE:Factory 
checked in at 2015-09-08 17:39:55

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


Package is "nitrogen"

Changes:

--- /work/SRC/openSUSE:Factory/nitrogen/nitrogen.changes2012-11-08 
08:06:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.nitrogen.new/nitrogen.changes   2015-09-08 
17:44:47.0 +0200
@@ -1,0 +2,8 @@
+Fri Sep  4 09:05:05 UTC 2015 - mplus...@suse.com
+
+- Use url for source
+- Use macro for configure
+- Add patch x11_linking.patch to fix linking
+- Cleanup spec file with spec-cleaner
+
+---

New:

  x11_linking.patch



Other differences:
--
++ nitrogen.spec ++
--- /var/tmp/diff_new_pack.RmrA6u/_old  2015-09-08 17:44:48.0 +0200
+++ /var/tmp/diff_new_pack.RmrA6u/_new  2015-09-08 17:44:48.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package nitrogen
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -19,20 +19,29 @@
 Name:   nitrogen
 Version:1.5.2
 Release:0
-License:GPL-2.0 and CC-BY-SA-3.0
 Summary:A background browser and setter for X windows
-Url:http://projects.l3ib.org/nitrogen/
+License:GPL-2.0 and CC-BY-SA-3.0
 Group:  System/X11/Utilities
-Source0:%{name}-%{version}.tar.gz
+Url:http://projects.l3ib.org/nitrogen/
+Source0:
http://projects.l3ib.org/nitrogen/files/%{name}-%{version}.tar.gz
 Source1:%{name}.desktop
+# upstream fix 30b50d1e3d77966cd29e27c12dbe8f12eff2175d
+Patch0: x11_linking.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gtkmm2-devel
-BuildRequires:  fdupes
-BuildRequires:  pkgconfig
+BuildRequires:  hicolor-icon-theme
+BuildRequires:  libtool
+BuildRequires:  pkg-config
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(xinerama)
+Requires:   hicolor-icon-theme
+Requires(post): update-desktop-files
+Requires(postun): update-desktop-files
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -52,18 +61,13 @@
   its size.
 * Display preview images in a tiled icon layout
 
-
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-
-CFLAGS="%{optflags} -fno-strict-aliasing " \
-CXXFLAGS="$CFLAGS" \
-CPPFLAGS="$CFLAGS" \
-LIBS=-lX11 GTK2_LIBS=$LIBS LDFLAGS=-L%{_lib} \
- ./configure --prefix=%{_prefix}
-
+autoreconf -fiv
+%configure
 make %{?_smp_mflags}
 
 %install
@@ -73,8 +77,7 @@
 
 %suse_update_desktop_file %{name} Settings DesktopSettings
 
-
-%fdupes  %buildroot/
+%fdupes  %{buildroot}/
 
 %post
 %desktop_database_post
@@ -87,10 +90,10 @@
 %files
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS README ChangeLog NEWS
-%{_bindir}/%name
-%{_datadir}/applications/%name.desktop
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/*/*.png
-%{_datadir}/pixmaps/%name.png
-%{_mandir}/man1/%name.1.gz
+%{_datadir}/pixmaps/%{name}.png
+%{_mandir}/man1/%{name}.1.gz
 
 %changelog

++ x11_linking.patch ++
>From 30b50d1e3d77966cd29e27c12dbe8f12eff2175d Mon Sep 17 00:00:00 2001
From: Dave Foster 
Date: Wed, 28 Mar 2012 21:28:33 -0400
Subject: [PATCH] Explicitly check for X11 lib in configure.ac, possibly fixes
 #12

---
 configure.ac | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 05fa03b..aa4dc42 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,6 +39,9 @@ PKG_CHECK_MODULES(GTHREAD2, [gthread-2.0 >= 
$GTHREAD2_VERSION])
 NITROGEN_LIBS="$GLIB2_LIBS $GTK2_LIBS $GTKMM2_LIBS $GTHREAD2_LIBS"
 NITROGEN_CFLAGS="$GLIB2_CFLAGS $GTK2_CFLAGS $GTKMM2_CFLAGS $GTHREAD2_CFLAGS"
 
+dnl apparantly we have to check for X11 now
+AC_CHECK_LIB(X11, XOpenDisplay, [NITROGEN_LIBS="$NITROGEN_LIBS -lX11"])
+
 dnl do some autotools picen to get inotify
 AC_ARG_ENABLE(inotify, [  --disable-inotify   disable support for inotify 
watching of dirs (default: enabled)], 
[enable_inotify=$enableval],[enable_inotify=yes])