commit unico for openSUSE:Factory

2015-03-18 Thread h_root
Hello community,

here is the log from the commit of package unico for openSUSE:Factory checked 
in at 2015-03-18 13:06:06

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


Package is unico

Changes:

--- /work/SRC/openSUSE:Factory/unico/unico.changes  2014-02-05 
13:46:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.unico.new/unico.changes 2015-03-18 
13:06:08.0 +0100
@@ -1,0 +2,13 @@
+Sun Mar 15 16:35:32 UTC 2015 - sor.ale...@meowr.ru
+
+- Proper spec cleanup.
+
+---
+Tue Apr 01 23:45:07 UTC 2014 - sor.ale...@meowr.ru
+
+- Upgrade unico from Ubuntu repository.
+- unico-bnc813150-gtk-theming-engine-crash.patch and
+  unico-fix-render-focus.patch had been dropped because of a major
+  release upgrade.
+
+---

Old:

  unico-1.0.2.tar.gz
  unico-bnc813150-gtk-theming-engine-crash.patch
  unico-fix-render-focus.patch

New:

  unico_1.0.3+14.04.20140109.orig.tar.gz



Other differences:
--
++ unico.spec ++
--- /var/tmp/diff_new_pack.A4IrAn/_old  2015-03-18 13:06:09.0 +0100
+++ /var/tmp/diff_new_pack.A4IrAn/_new  2015-03-18 13:06:09.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package unico
 #
-# Copyright (c) 2013 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
@@ -16,54 +16,48 @@
 #
 
 
+%define _version 1.0.3+14.04.20140109
 Name:   unico
-Version:1.0.2
+Version:1.0.3+bzr20140109
 Release:0
-Summary:The Unico Gtk+ Theming Engine
+Summary:Gtk3 theming engine
 License:LGPL-2.1+
 Group:  System/GUI/GNOME
 Url:http://launchpad.net/unico
-Source0:%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM unico-bnc813150-gtk-theming-engine-crash.patch bnc#813150 
lp#1000545 g...@suse.com - Fix crash on gtk-theming-engine
-Patch1: unico-bnc813150-gtk-theming-engine-crash.patch
-# PATCH-FIX-UPSTREAM unico-fix-render-focus.patch zai...@opensuse.org -- Fix 
render focus and remove some unused code. Patch from upstream.
-Patch2: unico-fix-render-focus.patch
+Source: 
http://archive.ubuntu.com/ubuntu/pool/main/u/%{name}/%{name}_%{_version}.orig.tar.gz
 BuildRequires:  gnome-common
 BuildRequires:  pkgconfig(cairo) = 1.10
 BuildRequires:  pkgconfig(glib-2.0) = 2.26.0
 BuildRequires:  pkgconfig(gtk+-3.0) = 3.5.2
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
-Unico is a Gtk+ engine that aims to be the more complete yet powerful
-theming engine for Gtk+ 3.0 and newer. It’s the first Gtk+ engine
+Unico is a GTK+ engine that aims to be the more complete yet
+powerful theming engine for Gtk3. It’s the first Gtk+ engine
 written with Gtk+ style context APIs in mind, using CSS as first
 class citizen.
 
 %package -n gtk3-engine-unico
-Summary:The Unico Gtk+ Theming Engine
+Summary:Gtk3 theming engine
 Group:  System/GUI/GNOME
 
 %description -n gtk3-engine-unico
-Unico is a Gtk+ engine that aims to be the more complete yet powerful
-theming engine for Gtk+ 3.0 and newer. It’s the first Gtk+ engine
+Unico is a GTK+ engine that aims to be the more complete yet
+powerful theming engine for Gtk3. It’s the first Gtk+ engine
 written with Gtk+ style context APIs in mind, using CSS as first
 class citizen.
 
 %prep
-%setup -q
-%patch1 -p0
-%patch2 -p0
+%setup -q -n %{name}-%{_version}
 
 %build
-./autogen.sh
+gnome-autogen.sh
 %configure \
 --disable-static
 make %{?_smp_mflags}
 
 %install
 %make_install
-find %{buildroot}%{_libdir} -name *.la -type f -delete -print
+find %{buildroot} -type f -name *.la -delete -print
 
 %files -n gtk3-engine-unico
 %defattr(-,root,root)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit unico for openSUSE:Factory

2014-02-05 Thread h_root
Hello community,

here is the log from the commit of package unico for openSUSE:Factory checked 
in at 2014-02-05 13:46:04

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


Package is unico

Changes:

--- /work/SRC/openSUSE:Factory/unico/unico.changes  2013-04-24 
16:14:32.0 +0200
+++ /work/SRC/openSUSE:Factory/.unico.new/unico.changes 2014-02-05 
13:46:06.0 +0100
@@ -1,0 +2,6 @@
+Sun Dec 22 14:21:31 UTC 2013 - zai...@opensuse.org
+
+- Add unico-fix-render-focus.patch, fix render focus and remove
+  some unused code.
+
+---

New:

  unico-fix-render-focus.patch



Other differences:
--
++ unico.spec ++
--- /var/tmp/diff_new_pack.SUHGKL/_old  2014-02-05 13:46:07.0 +0100
+++ /var/tmp/diff_new_pack.SUHGKL/_new  2014-02-05 13:46:07.0 +0100
@@ -26,10 +26,12 @@
 Source0:%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM unico-bnc813150-gtk-theming-engine-crash.patch bnc#813150 
lp#1000545 g...@suse.com - Fix crash on gtk-theming-engine
 Patch1: unico-bnc813150-gtk-theming-engine-crash.patch
+# PATCH-FIX-UPSTREAM unico-fix-render-focus.patch zai...@opensuse.org -- Fix 
render focus and remove some unused code. Patch from upstream.
+Patch2: unico-fix-render-focus.patch
 BuildRequires:  gnome-common
 BuildRequires:  pkgconfig(cairo) = 1.10
 BuildRequires:  pkgconfig(glib-2.0) = 2.26.0
-BuildRequires:  pkgconfig(gtk+-3.0) = 3.3.14
+BuildRequires:  pkgconfig(gtk+-3.0) = 3.5.2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -51,6 +53,7 @@
 %prep
 %setup -q
 %patch1 -p0
+%patch2 -p0
 
 %build
 ./autogen.sh

++ unico-fix-render-focus.patch ++
=== modified file 'unico/unico-draw.c'
--- unico/unico-draw.c  2012-07-25 22:49:45 +
+++ unico/unico-draw.c  2012-08-06 15:06:54 +
@@ -168,23 +168,27 @@
 static void
 unico_draw_focus (DRAW_ARGS)
 {
-  GdkRGBA *fill_color, *border_color, *outer_stroke_color;
+  GdkRGBA *fill_color, *border_color;
   GtkStateFlags state;
   gint focus_pad, line_width;
   gint radius;
 
   state = gtk_theming_engine_get_state (engine);
 
+  gtk_theming_engine_get_style (engine,
+focus-padding, focus_pad,
+focus-line-width, line_width,
+NULL);
+
+  /* Skip rendering if focus-line-width is 0 or less. */
+  if (line_width  1)
+return;
+
   gtk_theming_engine_get (engine, state,
   -unico-focus-border-color, border_color,
   -unico-focus-border-radius, radius,
   -unico-focus-fill-color, fill_color,
-  -unico-focus-outer-stroke-color, 
outer_stroke_color,
   NULL);
-  gtk_theming_engine_get_style (engine,
-focus-padding, focus_pad,
-focus-line-width, line_width,
-NULL);  
 
   x += focus_pad;
   y += focus_pad;
@@ -202,14 +206,7 @@
   gdk_cairo_set_source_rgba (cr, fill_color);
   cairo_fill (cr);
 
-  /* second layer, outer stroke */
-  unico_cairo_round_rect_inner (cr, x - line_width, y - line_width,
-width + line_width * 2, height + 
line_width * 2,
-radius + 1, SIDE_ALL, GTK_JUNCTION_NONE);
-  gdk_cairo_set_source_rgba (cr, outer_stroke_color);
-  cairo_stroke (cr);
-
-  /* third layer, border */
+  /* second layer, border */
   unico_cairo_round_rect_inner (cr, x, y,
 width, height,
 radius, SIDE_ALL, GTK_JUNCTION_NONE);
@@ -220,7 +217,6 @@
 
   gdk_rgba_free (border_color);
   gdk_rgba_free (fill_color);
-  gdk_rgba_free (outer_stroke_color);
 }
 
 void
@@ -228,6 +224,7 @@
 {
   g_assert (functions);
 
-  functions-draw_arrow = unico_draw_arrow;
-  functions-draw_expander  = unico_draw_expander;
+  functions-draw_arrow= unico_draw_arrow;
+  functions-draw_expander = unico_draw_expander;
+  functions-draw_focus= unico_draw_focus;
 }

=== modified file 'unico/unico-engine.c'
--- unico/unico-engine.c2012-07-25 22:49:45 +
+++ unico/unico-engine.c2012-08-06 15:06:54 +
@@ -74,6 +74,23 @@
   style_functions-draw_expander (engine, cr, x, y, width, height);
 }
 
+static void
+unico_engine_render_focus (GtkThemingEngine *engine,
+   cairo_t  *cr,
+   gdouble   x,
+   gdouble   y,
+   gdouble   

commit unico for openSUSE:Factory

2013-04-24 Thread h_root
Hello community,

here is the log from the commit of package unico for openSUSE:Factory checked 
in at 2013-04-24 16:14:30

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


Package is unico, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/unico/unico.changes  2012-04-02 
10:32:05.0 +0200
+++ /work/SRC/openSUSE:Factory/.unico.new/unico.changes 2013-04-24 
16:14:32.0 +0200
@@ -1,0 +2,8 @@
+Wed Apr  3 10:30:17 UTC 2013 - g...@suse.com
+
+- Add unico-bnc813150-gtk-theming-engine-crash.patch fix crash on
+  gtk-theming-engine (bnc#813150,lp#1000545).
+- Add gnome-common BuildRequires and call to autogen.sh, as above
+  patch touches the build system.
+
+---

New:

  unico-bnc813150-gtk-theming-engine-crash.patch



Other differences:
--
++ unico.spec ++
--- /var/tmp/diff_new_pack.K87vXe/_old  2013-04-24 16:14:34.0 +0200
+++ /var/tmp/diff_new_pack.K87vXe/_new  2013-04-24 16:14:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package unico
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,9 @@
 Group:  System/GUI/GNOME
 Url:http://launchpad.net/unico
 Source0:%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM unico-bnc813150-gtk-theming-engine-crash.patch bnc#813150 
lp#1000545 g...@suse.com - Fix crash on gtk-theming-engine
+Patch1: unico-bnc813150-gtk-theming-engine-crash.patch
+BuildRequires:  gnome-common
 BuildRequires:  pkgconfig(cairo) = 1.10
 BuildRequires:  pkgconfig(glib-2.0) = 2.26.0
 BuildRequires:  pkgconfig(gtk+-3.0) = 3.3.14
@@ -47,8 +50,10 @@
 
 %prep
 %setup -q
+%patch1 -p0
 
 %build
+./autogen.sh
 %configure \
 --disable-static
 make %{?_smp_mflags}

++ unico-bnc813150-gtk-theming-engine-crash.patch ++
 5964 lines (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit unico for openSUSE:Factory

2012-04-02 Thread h_root
Hello community,

here is the log from the commit of package unico for openSUSE:Factory checked 
in at 2012-04-02 10:31:56

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


Package is unico, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/unico/unico.changes  2011-10-19 
00:54:57.0 +0200
+++ /work/SRC/openSUSE:Factory/.unico.new/unico.changes 2012-04-02 
10:32:05.0 +0200
@@ -1,0 +2,10 @@
+Fri Mar 30 06:45:38 UTC 2012 - vu...@opensuse.org
+
+- Update to version 1.0.2:
+  + Updated to work with Gtk+ 3.4.0.
+  + Fixed one memory leak.
+  + Allow using a texture for the resize grip.
+- Add explicit pkgconfig(cairo) and pkgconfig(glib-2.0)
+  BuildRequires so they can be versioned.
+
+---

Old:

  unico-1.0.1.tar.bz2

New:

  unico-1.0.2.tar.gz



Other differences:
--
++ unico.spec ++
--- /var/tmp/diff_new_pack.zBAHCw/_old  2012-04-02 10:32:06.0 +0200
+++ /var/tmp/diff_new_pack.zBAHCw/_new  2012-04-02 10:32:06.0 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for unico
+# spec file for package unico
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products 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,14 +17,16 @@
 
 
 Name:   unico
-Version:1.0.1
-Release:1
-License:LGPL-2.1+
+Version:1.0.2
+Release:0
 Summary:The Unico Gtk+ Theming Engine
-Url:http://launchpad.net/unico
+License:LGPL-2.1+
 Group:  System/GUI/GNOME
-Source0:%{name}-%{version}.tar.bz2
-BuildRequires:  pkgconfig(gtk+-3.0)
+Url:http://launchpad.net/unico
+Source0:%{name}-%{version}.tar.gz
+BuildRequires:  pkgconfig(cairo) = 1.10
+BuildRequires:  pkgconfig(glib-2.0) = 2.26.0
+BuildRequires:  pkgconfig(gtk+-3.0) = 3.3.14
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -34,7 +36,6 @@
 class citizen.
 
 %package -n gtk3-engine-unico
-License:LGPL-2.1+
 Summary:The Unico Gtk+ Theming Engine
 Group:  System/GUI/GNOME
 

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org