Skip to content

fix: preserve layer surface screen bindings - #1920

Open
xujin177 wants to merge 2 commits into
linuxdeepin:masterfrom
xujin177:master
Open

xujin177 wants to merge 2 commits into
linuxdeepin:masterfrom
xujin177:master

Conversation

@xujin177

@xujin177 xujin177 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary by Sourcery

Preserve layer-surface screen bindings while allowing explicit screen changes and maintaining dynamic screen selection for other layers.

New Features:

  • Add an explicit API for binding or moving a layer surface to a screen.

Bug Fixes:

  • Keep X11 background surfaces assigned to their bound screen across screen rearrangements, and fall back to an available screen when that output is removed.

Enhancements:

  • Preserve dynamic QWindow.screen() selection for non-background layers while using the bound screen for background-layer positioning and exclusion zones.
  • Route dock screen changes through the layer-surface screen API and retain notification-center tracking of the dock screen.

1. Latch X11 layer surfaces to their selected output.
2. Rebind Dock and notification center when screens change.
3. Select a valid remaining output when a screen is removed.

Log: Keep layer-shell windows on the intended display.
PMS: TASK-384487, TASK-384649

fix: 保持 layer surface 的屏幕绑定

1. 锁存 X11 layer surface 创建时指定的屏幕。
2. Dock 和通知中心换屏时显式更新屏幕绑定。
3. 屏幕移除后选择仍有效的显示器。

Log: 修复多屏布局调整后窗口错屏及 Dock 迁屏问题。
PMS: TASK-384487, TASK-384649
(cherry picked from commit 7c03f9c)
1. Restrict output latching to background surfaces to preserve desktop placement
   when rearranging extended screens.
2. Restore QWindow::screen() tracking for other layers to fix dock freezes and
   incorrect screen selection outlines.
3. Update the latched output before switching the window screen and remove
   redundant notification center rebinding.

Influence:
1. Rearrange extended screens and verify both desktop backgrounds.
2. Switch primary screens with the dock following the primary screen or mouse.
3. Select HDMI and eDP in display settings and verify the matching outlines.
4. Verify notification center, notification bubbles and OSD after switching.

fix: 修复多屏切换卡死及屏幕选中描边错位

1. 将输出锁存限定为背景层,保留扩展屏重排时的桌面背景归属。
2. 其他层恢复跟随 QWindow::screen(),修复任务栏卡死及选屏描边错屏,
   无需修改控制中心等现有调用方。
3. 切换窗口屏幕前同步锁存输出,移除通知中心多余的屏幕重绑调用。

Influence:
1. 扩展模式下调整屏幕排列,确认主副屏背景正常显示。
2. 分别设置任务栏跟随主屏、跟随鼠标,切换主屏后确认无卡死。
3. 点击显示设置中的 HDMI、eDP 缩略图,确认描边对应正确屏幕。
4. 切屏后确认通知中心、通知气泡及 OSD 的位置和交互正常。

Log: 修复多屏切换导致任务栏卡死及屏幕选中描边错位,保留副屏背景重排修复。
PMS: TASK-384487, TASK-384649
(cherry picked from commit 43d6353)
@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: xujin177

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sourcery-ai

sourcery-ai Bot commented Dec 2, 2026

Copy link
Copy Markdown

Reviewer's Guide

API

Add a screen binding interface that latches an explicit output and synchronizes the underlying window screen before emitting the change signal.

  • frame/layershell/dlayershellwindow.cpp L34-35, L164-189
  • frame/layershell/dlayershellwindow.h L118-128, L182

Uses of the API

Route Dock screen changes through the layer-shell binding interface so its selected output is explicitly updated.

  • panels/dock/dockpanel.cpp L9, L116, L574-575

Implementation

Use the latched output for X11 background surfaces while preserving dynamic window-screen tracking for other layers, including fallback when an output is removed.

  • frame/layershell/x11dlayershellemulation.cpp L79-84, L124-151, L209-223 (+1 small edits)
  • frame/layershell/x11dlayershellemulation.h L11-12, L37-42

UI

Keep the notification center bound to the Dock screen using its existing dynamic screen binding without redundant rebinding logic.

  • panels/notification/center/package/main.qml L116, L118 (removed lines), L163 (removed lines)

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 2 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="frame/layershell/x11dlayershellemulation.cpp" line_range="212" />
<code_context>
+QScreen *LayerShellEmulation::targetScreen() const
+{
+    if (m_dlayerShellWindow->layer() == DLayerShellWindow::LayerBackground
+        && m_screen && qApp->screens().contains(m_screen.data())) {
+        return m_screen.data();
+    }
</code_context>
<issue_to_address>
**Background stays on old output**

When a background window's QWindow screen changes directly, or a moved non-background window becomes a background layer, `targetScreen()` returns construction-time `m_screen`, so X11 geometry updates keep positioning the background on the old output, including through the bundled example's `Window.screen` path.

Use the current QWindow screen for background targeting when it has changed directly, rather than retaining the construction-time `m_screen`.
</issue_to_address>

### Comment 2
<location path="frame/layershell/dlayershellwindow.cpp" line_range="184" />
<code_context>
+
+QScreen *DLayerShellWindow::screen() const
+{
+    if (d->screen) {
+        return d->screen.data();
+    }
</code_context>
<issue_to_address>
**Non-background screen getter is stale**

When a non-background layer has a saved screen from `setScreen()` and its QWindow screen later changes directly, `DLayerShellWindow::screen()` returns cached `d->screen` instead of the current parent/QWindow screen, so callers see the old output.

Make `screen()` follow the current QWindow screen for non-background layers instead of returning the saved `d->screen`.

Also at `frame/layershell/dlayershellwindow.cpp:185-186`.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨

QScreen *LayerShellEmulation::targetScreen() const
{
if (m_dlayerShellWindow->layer() == DLayerShellWindow::LayerBackground
&& m_screen && qApp->screens().contains(m_screen.data())) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Background stays on old output

When a background window's QWindow screen changes directly, or a moved non-background window becomes a background layer, targetScreen() returns construction-time m_screen, so X11 geometry updates keep positioning the background on the old output, including through the bundled example's Window.screen path.

Use the current QWindow screen for background targeting when it has changed directly, rather than retaining the construction-time m_screen.

Prompt for AI agents
In `frame/layershell/x11dlayershellemulation.cpp` at line 212:

**Background stays on old output**

When a background window's QWindow screen changes directly, or a moved non-background window becomes a background layer, `targetScreen()` returns construction-time `m_screen`, so X11 geometry updates keep positioning the background on the old output, including through the bundled example's `Window.screen` path.

Use the current QWindow screen for background targeting when it has changed directly, rather than retaining the construction-time `m_screen`.


QScreen *DLayerShellWindow::screen() const
{
if (d->screen) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Medium · Non-background screen getter is stale

When a non-background layer has a saved screen from setScreen() and its QWindow screen later changes directly, DLayerShellWindow::screen() returns cached d->screen instead of the current parent/QWindow screen, so callers see the old output.

Make screen() follow the current QWindow screen for non-background layers instead of returning the saved d->screen.

Also at frame/layershell/dlayershellwindow.cpp:185-186.

Prompt for AI agents
In `frame/layershell/dlayershellwindow.cpp` at line 184:

**Non-background screen getter is stale**

When a non-background layer has a saved screen from `setScreen()` and its QWindow screen later changes directly, `DLayerShellWindow::screen()` returns cached `d->screen` instead of the current parent/QWindow screen, so callers see the old output.

Make `screen()` follow the current QWindow screen for non-background layers instead of returning the saved `d->screen`.

Also at `frame/layershell/dlayershellwindow.cpp:185-186`.

@deepin-ci-robot

deepin-ci-robot commented Dec 2, 2026 •

Copy link
Copy Markdown

⚠️ OBS CI 构建警告日志 (Commit: a27e7b05)

提示:以下为 OBS CI 构建中 Lintian 检测到的警告信息,默认折叠,点击展开查看详情。完整日志请参阅对应构建状态链接。

deepin_develop / aarch64 (Lintian 警告: 15 条)
[ 1920s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[ 1920s] N: 
[ 1920s] N:   The desktop entry specifies a Command that does not match any of the
[ 1920s] N:   executables shipped in the package.
[ 1920s] N:   
[ 1920s] N:   This condition is often caused by a typo, or the desktop file was not
[ 1920s] N:   updated after the installed path of the executable was modified.
[ 1920s] N:   
[ 1920s] N:   Packages should ship executables that are used as commands in desktop
[ 1920s] N:   files.
[ 1920s] N: 
[ 1920s] N:   Visibility: warning
[ 1920s] N:   Show-Always: no
[ 1920s] N:   Check: menu-format
[ 1920s] N: 
[ 1920s] N:
[ 1920s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/aarch64-linux-gnu/libds-notification-shared.so.2.0.61 [usr/lib/aarch64-linux-gnu/libds-notification-shared.so]
[ 1920s] N: 
[ 1920s] N:   Although this package is not a "-dev" package, it installs a
[ 1920s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[ 1920s] N:   library. When the link doesn't include the version number, it is used by
[ 1920s] N:   the linker when other programs are built against this shared library.
[ 1920s] N:   
[ 1920s] N:   Shared libraries are supposed to place such symbolic links in their
[ 1920s] N:   respective "-dev" packages, so it is a bug to include it with the main
[ 1920s] N:   library package.
[ 1920s] N:   
[ 1920s] N:   However, if this is a small package which includes the runtime and the
[ 1920s] N:   development libraries, this is not a bug. In the latter case, please
[ 1920s] N:   override this warning.
[ 1920s] N: 
[ 1920s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[ 1920s] N:   Manual for details.
[ 1920s] N: 
[ 1920s] N:   Visibility: warning
[ 1920s] N:   Show-Always: no
[ 1920s] N:   Check: libraries/shared/links
[ 1920s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[ 1920s] N: 
[ 1920s] N:
[ 1920s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[ 1920s] N: 
[ 1920s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[ 1920s] N:   a manual page
[ 1920s] N:   
[ 1920s] N:   Note that though the man program has the capability to check for several
[ 1920s] N:   program names in the NAMES section, each of these programs should have its
[ 1920s] N:   own manual page (a symbolic link to the appropriate manual page is
[ 1920s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[ 1920s] N:   support this.
[ 1920s] N:   
[ 1920s] N:   If the name of the manual page differs from the binary by case, man may be
[ 1920s] N:   able to find it anyway; however, it is still best practice to match the
[ 1920s] N:   exact capitalization of the executable in the manual page.
[ 1920s] N:   
[ 1920s] N:   If the manual pages are provided by another package on which this package
[ 1920s] N:   depends, Lintian may not be able to determine that manual pages are
[ 1920s] N:   available. In this case, after confirming that all binaries do have manual
[ 1920s] N:   pages after this package and its dependencies are installed, please add a
[ 1920s] N:   Lintian override.
[ 1920s] N: 
[ 1920s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[ 1920s] N:   for details.
[ 1920s] N: 
[ 1920s] N:   Visibility: warning
[ 1920s] N:   Show-Always: no
[ 1920s] N:   Check: documentation/manual
[ 1920s] N:   Renamed from: binary-without-manpage
[ 1920s] N: 
[ 1920s] N:
[ 1920s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[ 1920s] N: 
[ 1920s] N:   When you NMU a package, that fact should be mentioned on the first line in
[ 1920s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[ 1920s] N:   insensitive).
[ 1920s] N:   
[ 1920s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1920s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1920s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1920s] N:   package (not intended for Debian), you can suppress this warning by
[ 1920s] N:   putting "local" in the version number or "local package" on the first line
[ 1920s] N:   of the changelog entry.
[ 1920s] N: 
[ 1920s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[ 1920s] N:   Developer's Reference for details.
[ 1920s] N: 
[ 1920s] N:   Visibility: warning
[ 1920s] N:   Show-Always: no
[ 1920s] N:   Check: nmu
[ 1920s] N:   Renamed from: changelog-should-mention-nmu
[ 1920s] N: 
[ 1920s] N:
[ 1920s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared2
[ 1920s] N: 
[ 1920s] N:   The package name of a library package should usually reflect the soname of
[ 1920s] N:   the included library. The package name can determined from the library
[ 1920s] N:   file name with the following code snippet:
[ 1920s] N:   
[ 1920s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[ 1920s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[ 1920s] N: 
[ 1920s] N:   Visibility: warning
[ 1920s] N:   Show-Always: no
[ 1920s] N:   Check: libraries/shared/soname
[ 1920s] N: 
[ 1920s] N:
[ 1920s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[ 1920s] N:
[ 1920s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[ 1920s] N:
[ 1920s] W: dde-shell source: source-nmu-has-incorrect-version-number 2.0.61+u066 [debian/changelog:1]
[ 1920s] N: 
[ 1920s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[ 1920s] N:   native package). This is to prevent stealing version numbers from the
[ 1920s] N:   maintainer.
[ 1920s] N:   
[ 1920s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[ 1920s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[ 1920s] N:   identical to the maintainer or one of the uploaders. If this is a local
[ 1920s] N:   package (not intended for Debian), you can suppress this warning by
[ 1920s] N:   putting "local" in the version number or "local package" on the first line
[ 1920s] N:   of the changelog entry.
[ 1920s] N: 
[ 1920s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[ 1920s] N:   Developer's Reference for details.
[ 1920s] N: 
[ 1920s] N:   Visibility: warning
[ 1920s] N:   Show-Always: no
[ 1920s] N:   Check: nmu
[ 1920s] N: 
[ 1920s] N:
[ 1920s] W: dde-shell: unknown-section DDE
[ 1920s] N: 
[ 1920s] N:   The "Section:" field in this package's control file is not one of the
[ 1920s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[ 1920s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[ 1920s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[ 1920s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[ 1920s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[ 1920s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[ 1920s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[ 1920s] N:   
[ 1920s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[ 1920s] N:   "non-free-firmware/" if the package is in the according archive area.
[ 1920s] N: 
[ 1920s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[ 1920s] N:   details.
[ 1920s] N: 
[ 1920s] N:   Visibility: warning
[ 1920s] N:   Show-Always: no
[ 1920s] N:   Check: fields/section
[ 1920s] N: 
[ 1920s] N:
[ 1920s] W: dde-shell-example: unknown-section DDE
[ 1920s] N:
[ 1920s] W: libdde-shell: unknown-section DDE
[ 1920s] N:
[ 1920s] W: libdde-shell-dev: unknown-section DDE
[ 1920s] N:
[ 1920s] W: libdde-shell-dock: unknown-section DDE
[ 1920s] N:
[ 1920s] W: libdde-shell-dock-dev: unknown-section DDE
[ 1920s] Warning: mkbaselibs missing in build root, skipping baselibs
deepin_develop / x86_64 (Lintian 警告: 15 条)
[  336s] W: dde-shell: desktop-command-not-in-package bin/false [usr/share/applications/org.deepin.dde-shell.desktop]
[  336s] N: 
[  336s] N:   The desktop entry specifies a Command that does not match any of the
[  336s] N:   executables shipped in the package.
[  336s] N:   
[  336s] N:   This condition is often caused by a typo, or the desktop file was not
[  336s] N:   updated after the installed path of the executable was modified.
[  336s] N:   
[  336s] N:   Packages should ship executables that are used as commands in desktop
[  336s] N:   files.
[  336s] N: 
[  336s] N:   Visibility: warning
[  336s] N:   Show-Always: no
[  336s] N:   Check: menu-format
[  336s] N: 
[  336s] N:
[  336s] W: dde-shell: link-to-shared-library-in-wrong-package usr/lib/x86_64-linux-gnu/libds-notification-shared.so.2.0.61 [usr/lib/x86_64-linux-gnu/libds-notification-shared.so]
[  336s] N: 
[  336s] N:   Although this package is not a "-dev" package, it installs a
[  336s] N:   "libsomething.so" symbolic link referencing the corresponding shared
[  336s] N:   library. When the link doesn't include the version number, it is used by
[  336s] N:   the linker when other programs are built against this shared library.
[  336s] N:   
[  336s] N:   Shared libraries are supposed to place such symbolic links in their
[  336s] N:   respective "-dev" packages, so it is a bug to include it with the main
[  336s] N:   library package.
[  336s] N:   
[  336s] N:   However, if this is a small package which includes the runtime and the
[  336s] N:   development libraries, this is not a bug. In the latter case, please
[  336s] N:   override this warning.
[  336s] N: 
[  336s] N:   Please refer to Development files (Section 8.4) in the Debian Policy
[  336s] N:   Manual for details.
[  336s] N: 
[  336s] N:   Visibility: warning
[  336s] N:   Show-Always: no
[  336s] N:   Check: libraries/shared/links
[  336s] N:   Renamed from: non-dev-pkg-with-shlib-symlink
[  336s] N: 
[  336s] N:
[  336s] W: dde-shell: no-manual-page [usr/bin/dde-shell]
[  336s] N: 
[  336s] N:   Each binary in /usr/bin, /usr/sbin, /bin, /sbin or /usr/games should have
[  336s] N:   a manual page
[  336s] N:   
[  336s] N:   Note that though the man program has the capability to check for several
[  336s] N:   program names in the NAMES section, each of these programs should have its
[  336s] N:   own manual page (a symbolic link to the appropriate manual page is
[  336s] N:   sufficient) because other manual page viewers such as xman or tkman don't
[  336s] N:   support this.
[  336s] N:   
[  336s] N:   If the name of the manual page differs from the binary by case, man may be
[  336s] N:   able to find it anyway; however, it is still best practice to match the
[  336s] N:   exact capitalization of the executable in the manual page.
[  336s] N:   
[  336s] N:   If the manual pages are provided by another package on which this package
[  336s] N:   depends, Lintian may not be able to determine that manual pages are
[  336s] N:   available. In this case, after confirming that all binaries do have manual
[  336s] N:   pages after this package and its dependencies are installed, please add a
[  336s] N:   Lintian override.
[  336s] N: 
[  336s] N:   Please refer to Manual pages (Section 12.1) in the Debian Policy Manual
[  336s] N:   for details.
[  336s] N: 
[  336s] N:   Visibility: warning
[  336s] N:   Show-Always: no
[  336s] N:   Check: documentation/manual
[  336s] N:   Renamed from: binary-without-manpage
[  336s] N: 
[  336s] N:
[  336s] W: dde-shell source: no-nmu-in-changelog [debian/changelog:1]
[  336s] N: 
[  336s] N:   When you NMU a package, that fact should be mentioned on the first line in
[  336s] N:   the changelog entry. Use the words "NMU" or "Non-maintainer upload" (case
[  336s] N:   insensitive).
[  336s] N:   
[  336s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  336s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  336s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  336s] N:   package (not intended for Debian), you can suppress this warning by
[  336s] N:   putting "local" in the version number or "local package" on the first line
[  336s] N:   of the changelog entry.
[  336s] N: 
[  336s] N:   Please refer to Using the DELAYED/ queue (Section 5.11.3) in the Debian
[  336s] N:   Developer's Reference for details.
[  336s] N: 
[  336s] N:   Visibility: warning
[  336s] N:   Show-Always: no
[  336s] N:   Check: nmu
[  336s] N:   Renamed from: changelog-should-mention-nmu
[  336s] N: 
[  336s] N:
[  336s] W: dde-shell: package-name-doesnt-match-sonames libds-notification-shared2
[  336s] N: 
[  336s] N:   The package name of a library package should usually reflect the soname of
[  336s] N:   the included library. The package name can determined from the library
[  336s] N:   file name with the following code snippet:
[  336s] N:   
[  336s] N:    $ objdump -p /path/to/libfoo-bar.so.1.2.3 | sed -n -e's/^[[:space:]]*SONAME[[:space:]]*//p' | \
[  336s] N:        sed -r -e's/([0-9])\.so\./\1-/; s/\.so(\.|$)//; y/_/-/; s/(.*)/\L&/'
[  336s] N: 
[  336s] N:   Visibility: warning
[  336s] N:   Show-Always: no
[  336s] N:   Check: libraries/shared/soname
[  336s] N: 
[  336s] N:
[  336s] W: libdde-shell: package-name-doesnt-match-sonames libdde-shell1
[  336s] N:
[  336s] W: libdde-shell-dock: package-name-doesnt-match-sonames libdde-shell-dock1
[  336s] N:
[  336s] W: dde-shell source: source-nmu-has-incorrect-version-number 2.0.61+u066 [debian/changelog:1]
[  336s] N: 
[  336s] N:   A source NMU should have a Debian revision of "-x.x" (or "+nmuX" for a
[  336s] N:   native package). This is to prevent stealing version numbers from the
[  336s] N:   maintainer.
[  336s] N:   
[  336s] N:   Maybe you didn't intend this upload to be a NMU, in that case, please
[  336s] N:   double-check that the most recent entry in the changelog is byte-for-byte
[  336s] N:   identical to the maintainer or one of the uploaders. If this is a local
[  336s] N:   package (not intended for Debian), you can suppress this warning by
[  336s] N:   putting "local" in the version number or "local package" on the first line
[  336s] N:   of the changelog entry.
[  336s] N: 
[  336s] N:   Please refer to NMUs and debian/changelog (Section 5.11.2) in the Debian
[  336s] N:   Developer's Reference for details.
[  336s] N: 
[  336s] N:   Visibility: warning
[  336s] N:   Show-Always: no
[  336s] N:   Check: nmu
[  336s] N: 
[  336s] N:
[  336s] W: dde-shell: unknown-section DDE
[  336s] N: 
[  336s] N:   The "Section:" field in this package's control file is not one of the
[  336s] N:   sections in use on the ftp archive. Valid sections are currently admin,
[  336s] N:   comm, cli-mono, database, debug, devel, doc, editors, electronics,
[  336s] N:   embedded, fonts, games, gnome, gnu-r, gnustep, graphics, hamradio,
[  336s] N:   haskell, httpd, interpreters, java, javascript, kde, libdevel, libs, lisp,
[  336s] N:   localization, kernel, mail, math, misc, net, news, ocaml, oldlibs,
[  336s] N:   otherosfs, perl, php, python, ruby, rust, science, shells, sound, tex,
[  336s] N:   text, utils, vcs, video, web, x11, xfce, zope.
[  336s] N:   
[  336s] N:   The section name should be preceded by either "contrib/", "non-free/" or
[  336s] N:   "non-free-firmware/" if the package is in the according archive area.
[  336s] N: 
[  336s] N:   Please refer to Sections (Section 2.4) in the Debian Policy Manual for
[  336s] N:   details.
[  336s] N: 
[  336s] N:   Visibility: warning
[  336s] N:   Show-Always: no
[  336s] N:   Check: fields/section
[  336s] N: 
[  336s] N:
[  336s] W: dde-shell-example: unknown-section DDE
[  336s] N:
[  336s] W: libdde-shell: unknown-section DDE
[  336s] N:
[  336s] W: libdde-shell-dev: unknown-section DDE
[  336s] N:
[  336s] W: libdde-shell-dock: unknown-section DDE
[  336s] N:
[  336s] W: libdde-shell-dock-dev: unknown-section DDE
[  337s] Warning: mkbaselibs missing in build root, skipping baselibs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants