Hello community, here is the log from the commit of package gnome-packagekit for openSUSE:Factory checked in at 2012-08-22 12:12:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-packagekit (Old) and /work/SRC/openSUSE:Factory/.gnome-packagekit.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-packagekit", Maintainer is "gnome-maintain...@suse.de" Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-packagekit/gnome-packagekit.changes 2012-07-02 10:51:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-packagekit.new/gnome-packagekit.changes 2012-08-22 12:12:33.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 15 16:01:49 UTC 2012 - dims...@opensuse.org + +- Add gnome-packagekit-displaysize.patch: Never stretch more than + 90% of the screen area (bnc#730968). + +------------------------------------------------------------------- New: ---- gnome-packagekit-displaysize.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-packagekit.spec ++++++ --- /var/tmp/diff_new_pack.ZXmusM/_old 2012-08-22 12:12:36.000000000 +0200 +++ /var/tmp/diff_new_pack.ZXmusM/_new 2012-08-22 12:12:36.000000000 +0200 @@ -28,12 +28,13 @@ Group: System/GUI/GNOME Url: http://packagekit.org/ Source: http://download.gnome.org/sources/gnome-packagekit/3.4/%{name}-%{version}.tar.xz +# PATCH-FIX-OPENSUSE gnome-packagekit-displaysize.patch dims...@opensuse.org -- Never expand over 90% of the screen size, +Patch0: gnome-packagekit-displaysize.patch # PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches Patch1: gnome-packagekit-OnlyShowIn.patch # PATCH-FIX-UPSTREAM gnome-packagekit-larger-details-pane.patch bnc#730971 bgo#666635 badshah400@gmailcom -- Make the details pane in the update viewer larger (patch came from Gary, pushed to upstream bug) Patch2: gnome-packagekit-larger-details-pane.patch BuildRequires: PackageKit-devel -BuildRequires: dbus-1-devel BuildRequires: desktop-file-utils BuildRequires: docbook-utils BuildRequires: gettext-devel @@ -41,13 +42,14 @@ BuildRequires: gnome-menus-devel BuildRequires: intltool BuildRequires: libcanberra-devel -BuildRequires: libgudev-1_0-devel -BuildRequires: libnotify-devel BuildRequires: libupower-glib-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files +BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gudev-1.0) +BuildRequires: pkgconfig(libnotify) %if %{with_systemd} BuildRequires: pkgconfig(libsystemd-login) BuildRequires: pkgconfig(polkit-gobject-1) @@ -58,9 +60,6 @@ Obsoletes: opensuse-updater-gnome < 0.4.7 BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires -%if %suse_version <= 1110 -%define python_sitelib %{py_sitedir} -%endif %glib2_gsettings_schema_requires %description @@ -85,6 +84,7 @@ %prep %setup -q translation-update-upstream +%patch0 -p1 %patch1 -p1 %patch2 -p1 @@ -94,10 +94,10 @@ --enable-systemd \ %endif --disable-scrollkeeper -%__make %{?jobs:-j%jobs} V=1 +make %{?_smp_mflags} V=1 %install -%makeinstall +%make_install %find_lang %{name} %{?no_lang_C} %suse_update_desktop_file gpk-application %suse_update_desktop_file gpk-dbus-service ++++++ gnome-packagekit-displaysize.patch ++++++ Index: gnome-packagekit-3.4.2/src/gpk-common.c =================================================================== --- gnome-packagekit-3.4.2.orig/src/gpk-common.c +++ gnome-packagekit-3.4.2/src/gpk-common.c @@ -218,7 +218,7 @@ gtk_text_buffer_insert_markup (GtkTextBu gboolean gpk_window_set_size_request (GtkWindow *window, guint width, guint height) { -#ifdef PK_BUILD_SMALL_FORM_FACTOR + /* Get screen dimensions */ GdkScreen *screen; guint screen_w; guint screen_h; @@ -229,6 +229,7 @@ gpk_window_set_size_request (GtkWindow * screen = gdk_screen_get_default (); screen_w = gdk_screen_get_width (screen); screen_h = gdk_screen_get_height (screen); +#ifdef PK_BUILD_SMALL_FORM_FACTOR /* find percentage of screen area */ percent_w = (width * 100) / screen_w; @@ -249,6 +250,8 @@ gpk_window_set_size_request (GtkWindow * goto out; #endif /* normal size laptop panel */ + if (height > screen_h * 0.9) height = screen_h * 0.9; + if (width > screen_w * 0.9) width = screen_w * 0.9; g_debug ("using native mode: %ix%i", width, height); gtk_window_set_default_size (window, width, height); small_form_factor_mode = FALSE; -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org