Package: release.debian.org Severity: normal Tags: bullseye X-Debbugs-Cc: poe....@packages.debian.org Control: affects -1 + src:poe.app User: release.debian....@packages.debian.org Usertags: pu
This is basically the same as bookworm-pu #1077323 but since I cannot be sure that the same SRM will review it and for the sake of completeness, I include the full information. [ Reason ] I would like to fix #1076829 in bullseye's final point release as currently the package is completely unusable. The bug was introduced during the bullseye release cycle or even earlier when apparently some default GNUstep behavior has changed. I always try to test every package after every GNUstep transition but it seems I have missed this one (or more likely, I only checked that it started and loaded an .ogg file). Mea culpa. In addition to the grave bug above, the second patch fixes an unpleasant issue with the preferences: when the user chooses which Vorbis comments to be available for editing, nothing happens (a gnustep-back warning is printed on stdout that drawing is not allowed due to missing target). This also stems from a change in GNUstep's behavior which no longer allows arbitrary drawing operations. I would classify this issue as important. [ Impact ] The package is completely unusable without the change in editable-cells.patch. [ Tests ] I tested the updated package on a bullseye machine. [ Risks ] Changes are pretty trivial, no risk involved AFAICT. [ Checklist ] [X] *all* changes are documented in the d/changelog [X] I reviewed all changes and I approve them [X] attach debdiff against the package in oldstable [X] the issue is verified as fixed in unstable [ Changes ] * d/gbp.conf: Set debian-branch. * d/control: Set Vcs-Git branch. * d/patches/editable-cells.patch: Fixes RC bug #1076829. * d/patches/preferences-draw.patch: Fix for the issue described above.
diff -u poe.app-0.5.1/debian/changelog poe.app-0.5.1/debian/changelog --- poe.app-0.5.1/debian/changelog +++ poe.app-0.5.1/debian/changelog @@ -1,3 +1,14 @@ +poe.app (0.5.1-6+deb11u1) bullseye; urgency=medium + + * debian/gbp.conf: New file. + * debian/control (Vcs-Git): Set branch to bullseye. + * debian/patches/editable-cells.patch: New; make comment cells editable + (Closes: #1076829). + * debian/patches/preferences-draw.patch: New; fix drawing when an + NSActionCell in the preferences is acted on to change state. + + -- Yavor Doganov <ya...@gnu.org> Sun, 28 Jul 2024 07:44:53 +0300 + poe.app (0.5.1-6) unstable; urgency=medium * Team upload. diff -u poe.app-0.5.1/debian/control poe.app-0.5.1/debian/control --- poe.app-0.5.1/debian/control +++ poe.app-0.5.1/debian/control @@ -9,7 +9,7 @@ libvorbis-dev, imagemagick Standards-Version: 4.5.0 -Vcs-Git: https://salsa.debian.org/gnustep-team/poe.app.git +Vcs-Git: https://salsa.debian.org/gnustep-team/poe.app.git -b bullseye Vcs-Browser: https://salsa.debian.org/gnustep-team/poe.app Homepage: https://www.eskimo.com/~pburns/Poe/ diff -u poe.app-0.5.1/debian/patches/series poe.app-0.5.1/debian/patches/series --- poe.app-0.5.1/debian/patches/series +++ poe.app-0.5.1/debian/patches/series @@ -1 +1,3 @@ link-libs.patch +editable-cells.patch +preferences-draw.patch only in patch2: unchanged: --- poe.app-0.5.1.orig/debian/gbp.conf +++ poe.app-0.5.1/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +debian-branch = bullseye only in patch2: unchanged: --- poe.app-0.5.1.orig/debian/patches/editable-cells.patch +++ poe.app-0.5.1/debian/patches/editable-cells.patch @@ -0,0 +1,21 @@ +Description: Make comment cells editable. +Bug-Debian: https://bugs.debian.org/1076829 +Author: Yavor Doganov <ya...@gnu.org> +Forwarded: no +Last-Update: 2024-07-24 +--- + +--- poe.app.orig/EditorWindowController.m ++++ poe.app/EditorWindowController.m +@@ -161,6 +161,11 @@ + [aTableView display]; + } + } ++ else ++ { ++ [aCell setEditable: YES]; ++ [aCell setSelectable: YES]; ++ } + + // if([[aTableColumn identifier] isEqualToString: @"value"] && + // [[[[_oggFile comments] objectAtIndex: rowIndex] objectForKey: @"tag"] only in patch2: unchanged: --- poe.app-0.5.1.orig/debian/patches/preferences-draw.patch +++ poe.app-0.5.1/debian/patches/preferences-draw.patch @@ -0,0 +1,52 @@ +Description: Fix drawing when a user clicks over an NSActionCell. +Author: Yavor Doganov <ya...@gnu.org> +Forwarded: no +Last-Update: 2024-07-25 +--- + +--- poe.app.orig/SwitchTableView.m ++++ poe.app/SwitchTableView.m +@@ -120,9 +120,11 @@ + // if the mouse is within the cell + if (NSMouseInRect(location, mouseCellFrame, YES)) + { ++ [self lockFocus]; + [mouseCell highlight: YES + withFrame: mouseCellFrame + inView: self]; ++ [self unlockFocus]; + [_window flushWindow]; + if ([mouseCell trackMouse: e + inRect: mouseCellFrame +@@ -131,9 +133,11 @@ + done = mouseUp = YES; + else + { ++ [self lockFocus]; + [mouseCell highlight: NO + withFrame: mouseCellFrame + inView: self]; ++ [self unlockFocus]; + [_window flushWindow]; + } + } +@@ -162,9 +166,11 @@ + row: _clickedRow]; + + // [cell setState: ![cell state]]; ++ [self lockFocus]; + [mouseCell highlight: NO + withFrame: mouseCellFrame + inView: self]; ++ [self unlockFocus]; + [_window flushWindow]; + } + +@@ -178,6 +184,7 @@ + [NSApp sendAction: theAction + to: [mouseCell target] + from: mouseCell]; ++ [self reloadData]; + } + return; + }