- added xfce4-session-simple-splash-remove-shadows.patch which
improves readability of the simple splash engine text by removing the text shadows - enabled support for GNOME keyring and assistive technologies - generate documentation OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-session?expand=0&rev=50
This commit is contained in:
parent
c5c9d058ce
commit
94bfc55a2f
27
xfce4-session-simple-splash-remove-shadows.patch
Normal file
27
xfce4-session-simple-splash-remove-shadows.patch
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
diff -urNp xfce4-session-4.8.0.orig/engines/simple/simple.c xfce4-session-4.8.0/engines/simple/simple.c
|
||||||
|
--- xfce4-session-4.8.0.orig/engines/simple/simple.c 2011-01-16 17:38:20.000000000 +0100
|
||||||
|
+++ xfce4-session-4.8.0/engines/simple/simple.c 2011-02-02 18:44:31.000000000 +0100
|
||||||
|
@@ -213,7 +213,6 @@ static void
|
||||||
|
simple_next (XfsmSplashEngine *engine, const gchar *text)
|
||||||
|
{
|
||||||
|
Simple *simple = (Simple *) engine->user_data;
|
||||||
|
- GdkColor shcolor;
|
||||||
|
gint tw, th, tx, ty;
|
||||||
|
|
||||||
|
pango_layout_set_text (simple->layout, text, -1);
|
||||||
|
@@ -231,15 +230,6 @@ simple_next (XfsmSplashEngine *engine, c
|
||||||
|
|
||||||
|
gdk_gc_set_clip_rectangle (simple->gc, &simple->textbox);
|
||||||
|
|
||||||
|
- /* draw shadow */
|
||||||
|
- shcolor.red = (simple->fgcolor.red + simple->bgcolor.red) / 2;
|
||||||
|
- shcolor.green = (simple->fgcolor.green + simple->bgcolor.green) / 2;
|
||||||
|
- shcolor.blue = (simple->fgcolor.blue + simple->bgcolor.blue) / 2;
|
||||||
|
- shcolor.red = (shcolor.red + shcolor.green + shcolor.blue) / 3;
|
||||||
|
- shcolor.green = shcolor.red;
|
||||||
|
- shcolor.blue = shcolor.red;
|
||||||
|
-
|
||||||
|
- gdk_gc_set_rgb_fg_color (simple->gc, &shcolor);
|
||||||
|
gdk_draw_layout (simple->pixmap, simple->gc,
|
||||||
|
tx + 2, ty + 2, simple->layout);
|
||||||
|
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 2 17:45:56 UTC 2011 - gber@opensuse.org
|
||||||
|
|
||||||
|
- added xfce4-session-simple-splash-remove-shadows.patch which
|
||||||
|
improves readability of the simple splash engine text by removing
|
||||||
|
the text shadows
|
||||||
|
- enabled support for GNOME keyring and assistive technologies
|
||||||
|
- generate documentation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 17 12:28:31 UTC 2011 - gber@opensuse.org
|
Mon Jan 17 12:28:31 UTC 2011 - gber@opensuse.org
|
||||||
|
|
||||||
|
@ -26,16 +26,25 @@ Url: http://www.xfce.org/projects/xfce4-session/
|
|||||||
Group: System/GUI/XFCE
|
Group: System/GUI/XFCE
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch0: xfce4-session-4.7.1-fix-missing-include.patch
|
Patch0: xfce4-session-4.7.1-fix-missing-include.patch
|
||||||
|
# PATCH-FEATURE-OPENSUSE xfce4-session-simple-splash-remove-shadows.patch gber@opensuse.org -- Improves readability of the simple splash engine text by removing the text shadows
|
||||||
|
Patch1: xfce4-session-simple-splash-remove-shadows.patch
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: perl-XML-Parser
|
BuildRequires: perl-XML-Parser
|
||||||
BuildRequires: pkgconfig(dbus-glib-1)
|
BuildRequires: pkgconfig(dbus-glib-1)
|
||||||
BuildRequires: pkgconfig(libwnck-1.0)
|
BuildRequires: pkgconfig(libwnck-1.0)
|
||||||
BuildRequires: pkgconfig(libxfce4ui-1)
|
BuildRequires: pkgconfig(libxfce4ui-1)
|
||||||
BuildRequires: pkgconfig(libxfce4util-1.0)
|
BuildRequires: pkgconfig(libxfce4util-1.0)
|
||||||
|
BuildRequires: pkgconfig(libxfce4panel-1.0)
|
||||||
BuildRequires: pkgconfig(libxfcegui4-1.0)
|
BuildRequires: pkgconfig(libxfcegui4-1.0)
|
||||||
BuildRequires: pkgconfig(libxfconf-0)
|
BuildRequires: pkgconfig(libxfconf-0)
|
||||||
|
BuildRequires: pkgconfig(gconf-2.0)
|
||||||
|
BuildRequires: pkgconfig(gnome-keyring-1)
|
||||||
BuildRequires: update-desktop-files
|
BuildRequires: update-desktop-files
|
||||||
BuildRequires: xorg-x11
|
BuildRequires: xorg-x11
|
||||||
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: xml2po
|
||||||
|
BuildRequires: docbook_4
|
||||||
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
Requires: %{name}-branding >= %{version}
|
Requires: %{name}-branding >= %{version}
|
||||||
Requires: xfce-utils
|
Requires: xfce-utils
|
||||||
Recommends: fortune
|
Recommends: fortune
|
||||||
@ -79,12 +88,16 @@ This package provides the upstream look and feel for the Xfce Session Manager.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--docdir=%{_defaultdocdir}/%{name} \
|
--docdir=%{_defaultdocdir}/%{name} \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--enable-session-screenshots
|
--enable-session-screenshots \
|
||||||
|
--enable-gnome \
|
||||||
|
--enable-libgnome-keyring \
|
||||||
|
--enable-gen-doc
|
||||||
make %{?_smp_mflags} V=1
|
make %{?_smp_mflags} V=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user