Version in base suite: 0.99.3.0-1 Version in overlay suite: 0.99.3.0-1+deb12u1 Base version: arctica-greeter_0.99.3.0-1+deb12u1 Target version: arctica-greeter_0.99.3.0-1+deb12u2 Base file: /srv/ftp-master.debian.org/ftp/pool/main/a/arctica-greeter/arctica-greeter_0.99.3.0-1+deb12u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/a/arctica-greeter/arctica-greeter_0.99.3.0-1+deb12u2.dsc changelog | 8 ++++ patches/0008_better-positioning-of-logo.patch | 47 ++++++++++++++++++++++++++ patches/series | 1 3 files changed, 56 insertions(+) diff -Nru arctica-greeter-0.99.3.0/debian/changelog arctica-greeter-0.99.3.0/debian/changelog --- arctica-greeter-0.99.3.0/debian/changelog 2023-08-24 17:58:57.000000000 +0000 +++ arctica-greeter-0.99.3.0/debian/changelog 2023-10-05 18:48:16.000000000 +0000 @@ -1,3 +1,11 @@ +arctica-greeter (0.99.3.0-1+deb12u2) bookworm; urgency=medium + + * debian/patches: + + Add 0008_better-positioning-of-logo.patch. Move logo in bottom-left + corner one grid-size count away from the border. + + -- Mike Gabriel Thu, 05 Oct 2023 20:48:16 +0200 + arctica-greeter (0.99.3.0-1+deb12u1) bookworm; urgency=medium * debian/patches: diff -Nru arctica-greeter-0.99.3.0/debian/patches/0008_better-positioning-of-logo.patch arctica-greeter-0.99.3.0/debian/patches/0008_better-positioning-of-logo.patch --- arctica-greeter-0.99.3.0/debian/patches/0008_better-positioning-of-logo.patch 1970-01-01 00:00:00.000000000 +0000 +++ arctica-greeter-0.99.3.0/debian/patches/0008_better-positioning-of-logo.patch 2023-10-05 18:48:00.000000000 +0000 @@ -0,0 +1,47 @@ +From 152f748dde6a545dfcab6b5a074b20b93dc7315c Mon Sep 17 00:00:00 2001 +From: Mike Gabriel +Date: Thu, 5 Oct 2023 18:00:21 +0200 +Subject: [PATCH] src/background.vala: Better positioning of logo, make the + positioning independent of logo height (i.e. adjust the position to the logo + height). + + This introduces BackgroundLoader.logo_width and .logo_height. We + currently only use .logo_height for now. But having both geoemtry values + available might be helpful at a later time. And it feels incomplete to + only pass-through the height. +--- + src/background.vala | 8 ++++++-- + 1 file changed, 6 insertions(+), 2 deletions(-) + +--- a/src/background.vala ++++ b/src/background.vala +@@ -24,6 +24,8 @@ + { + public string filename { get; private set; } + public Cairo.Surface logo { get; set; } ++ public int logo_width; ++ public int logo_height; + + public int[] widths; + public int[] heights; +@@ -206,8 +208,9 @@ + if (logo != null) + { + bc.save (); +- var y = (int) (image.height / grid_size - 2) * grid_size + grid_y_offset; +- bc.translate (grid_x_offset, y); ++ var x = (int) (grid_x_offset + 1.1 * grid_size); ++ var y = (int) (image.height - 1.1 * grid_size - logo_height + grid_y_offset); ++ bc.translate (x, y); + bc.set_source_surface (logo, 0, 0); + bc.paint_with_alpha (1); + bc.restore (); +@@ -722,6 +725,8 @@ + + b = new BackgroundLoader (target_surface, filename, widths, heights, draw_grid); + b.logo = version_logo_surface; ++ b.logo_width = version_logo_width; ++ b.logo_height = version_logo_height; + b.loaded.connect (() => { reload (); }); + b.load (); + loaders.insert (filename, b); diff -Nru arctica-greeter-0.99.3.0/debian/patches/series arctica-greeter-0.99.3.0/debian/patches/series --- arctica-greeter-0.99.3.0/debian/patches/series 2023-08-24 05:55:57.000000000 +0000 +++ arctica-greeter-0.99.3.0/debian/patches/series 2023-10-05 18:48:00.000000000 +0000 @@ -6,3 +6,4 @@ 0005-src-prompt-box.vala-enable-line-wrapping-for-error-m.patch 0006-src-prompt-box.vala-set-background-color-for-error-m.patch 0007-src-prompt-box.vala-darken-red-error-message-text-co.patch +0008_better-positioning-of-logo.patch