Package: gstreamer1.0 Version: 1.24.5-1 Severity: wishlist Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu oracular ubuntu-patch
Dear Maintainer, In Ubuntu, the attached patch was applied to achieve the following: * d/rules: manually enable code optimizations and debuginfo for Rust parts; previously the code was built using the debug profile (akin to GCC's -O0). Thanks for considering the patch. -- System Information: Debian Release: trixie/sid APT prefers noble-updates APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.8.0-36-generic (SMP w/10 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff -Nru gstreamer1.0-1.24.5/debian/rules gstreamer1.0-1.24.5/debian/rules --- gstreamer1.0-1.24.5/debian/rules 2024-06-20 08:17:55.000000000 -0600 +++ gstreamer1.0-1.24.5/debian/rules 2024-07-01 11:23:09.000000000 -0600 @@ -12,6 +12,7 @@ CFLAGS += -Wno-error CXXFLAGS += -Wno-error LDFLAGS += -Wl,-z,defs -Wl,-O1 +RUSTFLAGS += -Copt-level=3 -Cdebuginfo=2 # Let's decide the package name and url depending on the distribution DISTRO = "$(shell dpkg-vendor --query vendor)"