commit ddccontrol for openSUSE:Factory

2020-06-23 Thread root
Hello community,

here is the log from the commit of package ddccontrol for openSUSE:Factory 
checked in at 2020-06-23 21:05:56

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


Package is "ddccontrol"

Tue Jun 23 21:05:56 2020 rev:4 rq:816438 version:0.4.2+20140105+git9d89d8c

Changes:

--- /work/SRC/openSUSE:Factory/ddccontrol/ddccontrol.changes2020-02-05 
19:41:23.559258856 +0100
+++ /work/SRC/openSUSE:Factory/.ddccontrol.new.2956/ddccontrol.changes  
2020-06-23 21:06:21.958185619 +0200
@@ -1,0 +2,7 @@
+Tue Jun  9 10:06:00 UTC 2020 - Stefan Dirsch 
+
+- gcc10.patch
+  * fixed build against gcc10, which uses -fno-common by default
+(patch picked from https://bugs.gentoo.org/707184) 
+
+---

New:

  gcc10.patch



Other differences:
--
++ ddccontrol.spec ++
--- /var/tmp/diff_new_pack.oBDDZs/_old  2020-06-23 21:06:22.554187544 +0200
+++ /var/tmp/diff_new_pack.oBDDZs/_new  2020-06-23 21:06:22.554187544 +0200
@@ -28,6 +28,7 @@
 Source1:%{name}-rpmlintrc
 Source2:90-ddccontrol-i2c.rules
 Patch50:0002_cerrors.patch
+Patch51:gcc10.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExcludeArch:s390 s390x
 BuildRequires:  autoconf
@@ -98,6 +99,7 @@
 %prep
 %setup -q
 %patch50 -p1
+%patch51 -p1
 
 %build
 ./autogen.sh

++ gcc10.patch ++
Index: ddccontrol-0.4.2+20140105+git9d89d8c/src/gddccontrol/notebook.h
===
--- ddccontrol-0.4.2+20140105+git9d89d8c.orig/src/gddccontrol/notebook.h
+++ ddccontrol-0.4.2+20140105+git9d89d8c/src/gddccontrol/notebook.h
@@ -43,12 +43,12 @@
 #endif
 
 /* globals */
-struct monitor* mon;
+extern struct monitor* mon;
 
-GtkWidget* main_app_window;
+extern GtkWidget* main_app_window;
 
-GtkWidget* monitor_manager;
-GtkWidget* profile_manager;
+extern GtkWidget* monitor_manager;
+extern GtkWidget* profile_manager;
 
 /* notebook.c */
 
@@ -91,13 +91,13 @@ void set_message_ok(char* message, int w
 
 GtkWidget *stock_label_button(const gchar * stockid, const gchar *label_text, 
const gchar *tool_tip);
 
-GtkWidget* profile_manager_button;
-GtkWidget* saveprofile_button;
-GtkWidget* cancelprofile_button;
-GtkWidget* refresh_controls_button;
+extern GtkWidget* profile_manager_button;
+extern GtkWidget* saveprofile_button;
+extern GtkWidget* cancelprofile_button;
+extern GtkWidget* refresh_controls_button;
 
 /* Multimonitor support */
-int current_monitor; /* current monitor */
-int num_monitor; /* total number of monitors */
+extern int current_monitor; /* current monitor */
+extern int num_monitor; /* total number of monitors */
 
 #endif //NOTEBOOK_H
Index: ddccontrol-0.4.2+20140105+git9d89d8c/src/gddccontrol/main.c
===
--- ddccontrol-0.4.2+20140105+git9d89d8c.orig/src/gddccontrol/main.c
+++ ddccontrol-0.4.2+20140105+git9d89d8c/src/gddccontrol/main.c
@@ -28,6 +28,24 @@
 
 #include "notebook.h"
 
+/* Globals previously in notebook.h */
+
+struct monitor* mon;
+GtkWidget* main_app_window;
+GtkWidget* monitor_manager;
+GtkWidget* profile_manager;
+GtkWidget* profile_manager_button;
+GtkWidget* saveprofile_button;
+GtkWidget* cancelprofile_button;
+GtkWidget* refresh_controls_button;
+
+/* Multimonitor support */
+int current_monitor; /* current monitor */
+int num_monitor; /* total number of monitors */
+
+/* End Globals moved for -fno-common/gcc10 fix */
+
+
 GtkWidget* table;
 
 GtkWidget *combo_box;



commit ddccontrol for openSUSE:Factory

2020-02-05 Thread root
Hello community,

here is the log from the commit of package ddccontrol for openSUSE:Factory 
checked in at 2020-02-05 19:41:22

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


Package is "ddccontrol"

Wed Feb  5 19:41:22 2020 rev:3 rq:769618 version:0.4.2+20140105+git9d89d8c

Changes:

--- /work/SRC/openSUSE:Factory/ddccontrol/ddccontrol.changes2018-04-13 
12:49:59.251079975 +0200
+++ /work/SRC/openSUSE:Factory/.ddccontrol.new.26092/ddccontrol.changes 
2020-02-05 19:41:23.559258856 +0100
@@ -1,0 +2,6 @@
+Mon Feb  3 12:23:43 UTC 2020 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(udev) instead of udev: allow OBS to
+  shortcut through the -mini flavors.
+
+---



Other differences:
--
++ ddccontrol.spec ++
--- /var/tmp/diff_new_pack.vr3LaE/_old  2020-02-05 19:41:24.215259168 +0100
+++ /var/tmp/diff_new_pack.vr3LaE/_new  2020-02-05 19:41:24.227259174 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ddccontrol
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,16 +12,16 @@
 # 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/
 #
 
 
 Name:   ddccontrol
-Url:http://ddccontrol.sourceforge.net/
+URL:http://ddccontrol.sourceforge.net/
 Version:0.4.2+20140105+git9d89d8c
 Release:0
 Summary:A tool to configure monitor settings via DDC/CI
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Hardware/Other
 Recommends: ddccontrol-db
 Source0:%{name}-%{version}.tar.bz2
@@ -40,11 +40,11 @@
 BuildRequires:  perl-XML-Parser
 BuildRequires:  pkgconfig
 BuildRequires:  tidy
-BuildRequires:  udev
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(glib-2.0) >= 2.4
 BuildRequires:  pkgconfig(gtk+-2.0) >= 2.4
 BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(udev)
 BuildRequires:  pkgconfig(zlib)
 Recommends: %{name}-lang = %version
 




commit ddccontrol for openSUSE:Factory

2018-04-13 Thread root
Hello community,

here is the log from the commit of package ddccontrol for openSUSE:Factory 
checked in at 2018-04-13 12:49:42

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


Package is "ddccontrol"

Fri Apr 13 12:49:42 2018 rev:2 rq:595582 version:0.4.2+20140105+git9d89d8c

Changes:

--- /work/SRC/openSUSE:Factory/ddccontrol/ddccontrol.changes2016-11-15 
17:58:33.0 +0100
+++ /work/SRC/openSUSE:Factory/.ddccontrol.new/ddccontrol.changes   
2018-04-13 12:49:59.251079975 +0200
@@ -1,0 +2,7 @@
+Wed Apr 11 10:36:44 UTC 2018 - msta...@suse.com
+
+- 90-ddccontrol-i2c.rules:
+  Fix typo that kept i2c-dev from being loaded.
+  Fixes (boo#1088935).
+
+---



Other differences:
--
++ ddccontrol.spec ++
--- /var/tmp/diff_new_pack.RY5GeW/_old  2018-04-13 12:49:59.931055340 +0200
+++ /var/tmp/diff_new_pack.RY5GeW/_new  2018-04-13 12:49:59.935055195 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ddccontrol
 #
-# Copyright (c) 2016 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
@@ -30,23 +30,24 @@
 Patch50:0002_cerrors.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 ExcludeArch:s390 s390x
-BuildRequires:  autoconf automake libtool
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  intltool
-BuildRequires:  pkgconfig(libxml-2.0)
-BuildRequires:  pkgconfig(gtk+-2.0) >= 2.4
-BuildRequires:  pkgconfig(glib-2.0) >= 2.4
+BuildRequires:  libtool
 BuildRequires:  libxslt-tools
-BuildRequires:  tidy
-BuildRequires:  pkgconfig(zlib)
-BuildRequires:  pkgconfig
 BuildRequires:  perl >= 5.8.1
 BuildRequires:  perl-XML-Parser
-BuildRequires:  docbook-xsl-stylesheets
-BuildRequires:  update-desktop-files
+BuildRequires:  pkgconfig
+BuildRequires:  tidy
 BuildRequires:  udev
+BuildRequires:  update-desktop-files
+BuildRequires:  pkgconfig(glib-2.0) >= 2.4
+BuildRequires:  pkgconfig(gtk+-2.0) >= 2.4
+BuildRequires:  pkgconfig(libxml-2.0)
+BuildRequires:  pkgconfig(zlib)
 Recommends: %{name}-lang = %version
 
-
 %description
 ddccontrol allows to change monitor settings, such as brightness and
 contrast, without using the monitor's hardware buttons.
@@ -59,7 +60,6 @@
 Summary:A GTK+2 front-end for ddccontrol
 Group:  Hardware/Other
 
-
 %description gtk
 This is a graphical tool to configure monitor settings such as brightness
 and contrast via DDC/CI. It is based on ddccontrol.
@@ -71,7 +71,6 @@
 Requires:   ddccontrol-db
 Requires:   udev
 
-
 %description -n libddccontrol0
 The back-end library enabling DDC/CI access in ddccontrol/gddccontrol.
 
@@ -79,9 +78,8 @@
 %package devel
 Summary:Development files for libddcontrol
 Group:  Development/Languages/C and C++
-Requires:   libddccontrol0 = %{version}
 Requires:   glibc-devel
-
+Requires:   libddccontrol0 = %{version}
 
 %description devel
 ddccontrol allows to change monitor settings, such as brightness and
@@ -93,7 +91,6 @@
 Group:  Documentation/HTML
 BuildArch:  noarch
 
-
 %description doc
 This is the HTML documentation for ddccontrol.
 
@@ -102,7 +99,6 @@
 %setup -q
 %patch50 -p1
 
-
 %build
 ./autogen.sh
 %configure --disable-static \
@@ -112,7 +108,6 @@
--disable-ddcpci
 make %{?_smp_mflags} htmldir=%{_docdir}/%{name}/html
 
-
 %install
 make install DESTDIR=%buildroot htmldir=%{_docdir}/%{name}/html
 %find_lang %{name}
@@ -121,7 +116,6 @@
 cp -a %{_sourcedir}/90-ddccontrol-i2c.rules %buildroot/%{_udevrulesdir}/
 rm -f %buildroot/%_libdir/*.la
 
-
 %files
 %defattr(-,root,root)
 %{_bindir}/ddccontrol
@@ -129,7 +123,6 @@
 %doc AUTHORS COPYING ChangeLog NEWS README TODO
 %exclude %{_docdir}/%{name}/html
 
-
 %files gtk
 %defattr(-,root,root)
 %{_bindir}/gddccontrol
@@ -141,34 +134,28 @@
 %{_datadir}/icons/Bluecurve/48x48/apps/gddccontrol.png
 %doc %{_mandir}/man1/gddccontrol.1.gz
 
-
 %files -n libddccontrol0
 %defattr(-,root,root)
 %{_libdir}/libddccontrol.so.0
 %{_libdir}/libddccontrol.so.0.0.0
 %{_udevrulesdir}/90-ddccontrol-i2c.rules
 
-
 %files devel
 %defattr(-,root,root)
 %{_includedir}/ddccontrol
 %{_libdir}/libddccontrol.so
 %{_libdir}/pkgconfig/ddccontrol.pc
 
-
 %files doc
 %defattr(-,root,root)
 %dir %{_docdir}/%{name}
 %{_docdir}/%{name}/html
 
-
 %files lang -f ddccontrol.lang
 %defattr(-,root,root)
 
-
 %post -n libddccontrol0 -p /sbin/ldconfig
 
 %postun -n libddccontrol0 -p /sbin/ldconfig
 
-
 %changelog