yilozt / mutter-rounded

A window manager for GNOME, with rounded corners patch
https://aur.archlinux.org/packages/mutter-rounded/
GNU General Public License v2.0
556 stars 26 forks source link

Installation on 21.04 Failed #4

Open Kyanoxia opened 2 years ago

Kyanoxia commented 2 years ago

The installation failed, and I have no idea why. Here are the logs:

Cloning into 'mutter-rounded'...
remote: Enumerating objects: 133, done.
remote: Counting objects: 100% (133/133), done.
remote: Compressing objects: 100% (83/83), done.
remote: Total 133 (delta 59), reused 121 (delta 47), pack-reused 0
Receiving objects: 100% (133/133), 373.16 KiB | 2.92 MiB/s, done.
Resolving deltas: 100% (59/59), done.
[sudo] password for zacharygough: 
Hit:1 http://us.archive.ubuntu.com/ubuntu hirsute InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal InRelease                      
Hit:3 http://us.archive.ubuntu.com/ubuntu hirsute-updates InRelease            
Hit:4 http://ppa.launchpad.net/shemgp/gnome-40/ubuntu hirsute InRelease
Hit:5 http://archive.canonical.com/ubuntu focal InRelease           
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease   
Hit:7 http://security.ubuntu.com/ubuntu hirsute-security InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Hit:9 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:10 http://security.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gnupg is already the newest version (2.2.20-1ubuntu3).
apt-file is already the newest version (3.2.2).
pbuilder is already the newest version (0.231build1).
ubuntu-dev-tools is already the newest version (0.180).
The following packages were automatically installed and are no longer required:
  gir1.2-mutter-7 libmutter-7-0 libtepl-5-0 libtracker-control-2.0-0
  libtracker-miner-2.0-0 libtracker-sparql-2.0-0 libwnck-3-0 libwnck-3-common
  libwnck-common libxres1 power-profiles-daemon
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gir1.2-mutter-7 libmutter-7-0 libtepl-5-0 libtracker-control-2.0-0
  libtracker-miner-2.0-0 libtracker-sparql-2.0-0 libwnck-3-0 libwnck-3-common
  libwnck-common libxres1 power-profiles-daemon
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Found mutter 40.5-1ubuntu3~21.10.1 in impish
URL Error: [Errno -2] Name or service not known
Downloading mutter_40.5-1ubuntu3~21.10.1.dsc from ports.ubuntu.com (0.004 MiB)
Good signature by Marco Trevisan <marco@trevi.me> (0x9449C2F50996635F)         
URL Error: [Errno -2] Name or service not known
Downloading mutter_40.5.orig.tar.xz from ports.ubuntu.com (2.559 MiB)
URL Error: [Errno -2] Name or service not known                                
Downloading mutter_40.5-1ubuntu3~21.10.1.debian.tar.xz from ports.ubuntu.com (0.087 MiB)
dpkg-source: info: extracting mutter in mutter-40.5                            
dpkg-source: info: unpacking mutter_40.5.orig.tar.xz
dpkg-source: info: unpacking mutter_40.5-1ubuntu3~21.10.1.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying clutter-frame-clock-Remember-the-refresh-interval.patch
dpkg-source: info: applying clutter-frame-clock-Apply-error-diff-to-dispatch-times.patch
dpkg-source: info: applying theme-use-gtk_render_icon_suface-to-paint-button-icon.patch
dpkg-source: info: applying theme-load-icons-as-Gtk-does-with-fallback-and-RTL-suppor.patch
dpkg-source: info: applying meson-add-back-default_driver-option.patch
dpkg-source: info: applying mutter-cogl.test-Use-xvfb-run-to-run-the-cogl-tests.patch
dpkg-source: info: applying mutter-all.test-Run-tests-in-a-environment-with-display-a.patch
dpkg-source: info: applying tests-Mark-view-verification-tests-as-incomplete-in-big-e.patch
dpkg-source: info: applying mutter-wayland-seat-race-fix.patch
dpkg-source: info: applying debian/synaptics-support.patch
dpkg-source: info: applying debian/tests-Tag-unstable-tests-as-flaky.patch
dpkg-source: info: applying debian/tests-Do-not-run-screencast-tests.patch
dpkg-source: info: applying x11-Add-support-for-fractional-scaling-using-Randr.patch
--2021-11-19 15:36:09--  https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/40.5/src/shell-blur-effect.c
Resolving gitlab.gnome.org (gitlab.gnome.org)... 8.43.85.27, 2620:52:3:1:5054:ff:fe8f:413d
Connecting to gitlab.gnome.org (gitlab.gnome.org)|8.43.85.27|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 27848 (27K) [text/plain]
Saving to: ‘shell-blur-effect.c’

shell-blur-effect.c 100%[===================>]  27.20K  --.-KB/s    in 0.07s   

2021-11-19 15:36:10 (379 KB/s) - ‘shell-blur-effect.c’ saved [27848/27848]

--2021-11-19 15:36:10--  https://gitlab.gnome.org/GNOME/gnome-shell/-/raw/40.5/src/shell-blur-effect.h
Resolving gitlab.gnome.org (gitlab.gnome.org)... 8.43.85.27, 2620:52:3:1:5054:ff:fe8f:413d
Connecting to gitlab.gnome.org (gitlab.gnome.org)|8.43.85.27|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1918 (1.9K) [text/plain]
Saving to: ‘shell-blur-effect.h’

shell-blur-effect.h 100%[===================>]   1.87K  --.-KB/s    in 0s      

2021-11-19 15:36:11 (324 MB/s) - ‘shell-blur-effect.h’ saved [1918/1918]

patching file data/org.gnome.mutter.gschema.xml.in
patching file src/compositor/compositor-private.h
patching file src/compositor/compositor.c
patching file src/compositor/meta-window-actor-private.h
patching file src/compositor/meta-window-actor-wayland.c
patching file src/compositor/meta-window-actor-x11.c
patching file src/compositor/meta-window-actor.c
patching file src/core/prefs.c
patching file src/meson.build
patching file src/meta/prefs.h
patching file src/ui/frames.c
patching file src/ui/frames.h
patching file src/wayland/meta-window-wayland.c
patching file src/shell-blur-effect.c
patching file src/shell-blur-effect.h
patching file debian/libmutter-8-0.symbols
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: warning: file mutter-40.5/src/compositor/compositor.c has no final newline (either original or modified version)
dpkg-source: warning: file mutter-40.5/src/core/prefs.c has no final newline (either original or modified version)
dpkg-source: warning: file mutter-40.5/src/meta_clip_effect.c has no final newline (either original or modified version)
dpkg-source: warning: file mutter-40.5/src/meta_clip_effect.h has no final newline (either original or modified version)
dpkg-source: info: local changes detected, the modified files are:
 mutter-40.5/data/org.gnome.mutter.gschema.xml.in
 mutter-40.5/src/compositor/compositor-private.h
 mutter-40.5/src/compositor/compositor.c
 mutter-40.5/src/compositor/meta-window-actor-private.h
 mutter-40.5/src/compositor/meta-window-actor-wayland.c
 mutter-40.5/src/compositor/meta-window-actor-x11.c
 mutter-40.5/src/compositor/meta-window-actor.c
 mutter-40.5/src/core/prefs.c
 mutter-40.5/src/meson.build
 mutter-40.5/src/meta/prefs.h
 mutter-40.5/src/meta_clip_effect.c
 mutter-40.5/src/meta_clip_effect.h
 mutter-40.5/src/shader.h
 mutter-40.5/src/shell-blur-effect.c
 mutter-40.5/src/shell-blur-effect.h
 mutter-40.5/src/ui/frames.c
 mutter-40.5/src/ui/frames.h
 mutter-40.5/src/wayland/meta-window-wayland.c
dpkg-source: info: local changes have been recorded in a new patch: mutter-40.5/debian/patches/rounded_corners
 dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package mutter
dpkg-buildpackage: info: source version 40.5-1ubuntu3~21.10.1
dpkg-buildpackage: info: source distribution impish
dpkg-buildpackage: info: source changed by Marco Trevisan (Treviño) <marco@ubuntu.com>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: dh-exec libsysprof-capture-4-dev (>= 3.40.1)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
mv: cannot stat '*.deb': No such file or directory
dpkg: error: cannot access archive '*.deb': No such file or directory
yilozt commented 2 years ago
Unmet build dependencies: dh-exec libsysprof-capture-4-dev (>= 3.40.1)

seems to some dependencies are missing. You can try install them manually.

yilozt commented 2 years ago

This patches only support with gnome 40 and 41. So sorry that it can't works in Unbuntu 21.04 and only works in Ubuntu 21.10 at the moment.

Kyanoxia commented 2 years ago

I have, indeed, installed GNOME 40 on my system. The program doesn't seem to detect libsysprof-capture-4-dev. I have installed this though.

yilozt commented 2 years ago

That because the version of libsysprof-capture-4-dev is not compatible with Ubuntu 21.04.

I have installed Ubuntu 21.04 in my computer, then try to build mutter-rounded in a clean system. I have meet same problem (Unmet build dependencies: dh-exec libsysprof-capture-4-dev (>= 3.40.1)), and then I will figure out how to fix it.

Notice that it is just for test purpose

There are my note to build it on Ubuntu 21.04:

sudo apt update
sudo apt upgrade  # upgrade all packages before use ppa
sudo add-apt-repository ppa:shemgp/gnome-40
sudo apt install gnome
sudo apt upgrade  # upgrade again to update gnome-shell
// ...
dpkg-checkbuilddeps: error: Unmet build dependencies: dh-exec libsysprof-capture-4-dev (>= 3.40.1)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed
mv: cannot stat '*.deb': No such file or directory
dpkg: error: cannot access archive '*.deb': No such file or directory

Because the mutter source packages we downloaded is use for Ubuntu 21.10. It require version of libsysprof-capture-4-dev is 3.40.1. but in Ubuntu 21.04, the version of libsysprof-capture-4-dev is 3.38.1.

Firstly we need to install the missing dependencies:

sudo apt install dh-exec libsysprof-capture-4-dev

then replace version of libsysprof-capture-4-dev and build:

# The `mutter-40.5` folder is the the source code to build
cd ./mutter-rounded/ubuntu_21.10/workspace/mutter-40.5/
# replace vesion of `libsysprof-capture-4-dev`
sed -i 's|libsysprof-capture-4-dev (>= 3.40.1)|libsysprof-capture-4-dev (>= 3.38.1)|' ./debian/control
debuild

It should start compile source code now. After build finished, another error occured like this:

// ... ignore some lines ...
dpkg-gensymbols: Warning: debian/libmutter-8-0/DEBIAN/symbols doesn't match completely debian/libmutter-8-0.symbols
--- debian/libmutter-8-0.symbols (libmutter-8-0_40.5-1ubuntu3~21.10.1_amd64)
+++ dpkg-gensymbolsuXBlbj   2021-11-20 14:19:00.881451905 +0800
@@ -2595,6 +2595,73 @@
  cogl_xlib_renderer_remove_filter@Base 3.29.4
  cogl_xlib_renderer_request_reset_on_video_memory_purge@Base 3.29.4
  cogl_xlib_renderer_set_foreign_display@Base 3.29.4
+ sysprof_capture_jitmap_iter_init@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_jitmap_iter_next@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_copy@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_find_file@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_byte_order@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_end_time@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_filename@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_start_time@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_stat@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_time@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_list_files@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_new@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_new_from_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_peek_frame@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_peek_type@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_allocation@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_counter_define@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_counter_set@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_exit@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_file@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_file_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_fork@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_jitmap@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_log@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_map@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_mark@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_metadata@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_process@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_sample@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_timestamp@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_ref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_reset@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_save_as@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_set_stat@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_skip@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_splice@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_unref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_allocation@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_allocation_copy@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_exit@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_file@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_file_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_fork@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_jitmap@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_log@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_map@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_mark@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_metadata@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_process@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_sample@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_timestamp@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_create_reader@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_define_counters@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_flush@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_get_buffer_size@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_new@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_new_from_env@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_new_from_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_ref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_request_counter@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_save_as@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_set_counters@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_splice@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_stat@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_unref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_clock@Base 40.5-1ubuntu3~21.10.1
+ sysprof_clock_init@Base 40.5-1ubuntu3~21.10.1
  test_ctx@Base 3.33.4
  test_fb@Base 3.33.4
  test_utils_check_pixel@Base 3.33.4
dh_makeshlibs: error: failing due to earlier errors
// ... ignore some lines ...

debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed

That is because, in Debain packages system, some package maintains a symbol file, it will record all API of a packages. Because we have downgraded a dependency. and then we need update this file.

You can copy the 'diff' part of above logs into a file, then modify line 1 and 2 in the head like this:

--- a/debian/libmutter-8-0.symbols
+++ b/debian/libmutter-8-0.symbols

The complete file we created will look like this, I have save it in ~/symbol.diff:

--- a/debian/libmutter-8-0.symbols
+++ b/debian/libmutter-8-0.symbols
@@ -2595,6 +2595,73 @@
  cogl_xlib_renderer_remove_filter@Base 3.29.4
  cogl_xlib_renderer_request_reset_on_video_memory_purge@Base 3.29.4
  cogl_xlib_renderer_set_foreign_display@Base 3.29.4
+ sysprof_capture_jitmap_iter_init@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_jitmap_iter_next@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_copy@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_find_file@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_byte_order@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_end_time@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_filename@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_start_time@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_stat@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_get_time@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_list_files@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_new@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_new_from_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_peek_frame@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_peek_type@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_allocation@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_counter_define@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_counter_set@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_exit@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_file@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_file_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_fork@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_jitmap@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_log@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_map@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_mark@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_metadata@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_process@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_sample@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_read_timestamp@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_ref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_reset@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_save_as@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_set_stat@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_skip@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_splice@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_reader_unref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_allocation@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_allocation_copy@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_exit@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_file@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_file_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_fork@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_jitmap@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_log@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_map@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_mark@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_metadata@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_process@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_sample@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_add_timestamp@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_create_reader@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_define_counters@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_flush@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_get_buffer_size@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_new@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_new_from_env@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_new_from_fd@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_ref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_request_counter@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_save_as@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_set_counters@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_splice@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_stat@Base 40.5-1ubuntu3~21.10.1
+ sysprof_capture_writer_unref@Base 40.5-1ubuntu3~21.10.1
+ sysprof_clock@Base 40.5-1ubuntu3~21.10.1
+ sysprof_clock_init@Base 40.5-1ubuntu3~21.10.1
  test_ctx@Base 3.33.4
  test_fb@Base 3.33.4
  test_utils_check_pixel@Base 3.33.4

Apply the patch we have created, commit the changes, build again:

# update the symbol file
sed -i 's|libsysprof-capture-4-dev (>= 3.40.1)|libsysprof-capture-4-dev (>= 3.38.1)|' ./debian/control
patch -p1 < ~/symbol.diff
debuild

# commit changes
dpkg-source --commit . downgrade_version
sed -i 's|libsysprof-capture-4-dev (>= 3.40.1)|libsysprof-capture-4-dev (>= 3.38.1)|' ./debian/control
debuild

Notice that every time debuild run, the version of libsysprof-capture-4-dev will change back to 3.40.1, so need to replace it every time before run debuild.

Finally you can find the deb packages in ./mutter-rounded/ubuntu_21.10/workspace, use sudo dpkg -i *.deb to install them. After logout and login, the rounded patch should be works.

Kyanoxia commented 2 years ago

This worked Perfectly! Thank you SO MUCH! I've been looking for rounded corners for 3 years now!