gnome-control-center/patches/change-vendor-logo.diff

29 lines
1.2 KiB
Diff
Raw Normal View History

2024-08-26 23:59:30 +02:00
diff '--color=auto' -ruN a/debian/rules b/debian/rules
2024-09-27 18:51:00 +02:00
--- a/debian/rules 2024-09-27 19:47:32.890706721 +0300
+++ b/debian/rules 2024-09-27 19:50:32.851426677 +0300
@@ -2,21 +2,16 @@
2024-08-27 00:05:47 +02:00
2024-09-27 18:51:00 +02:00
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
2024-08-26 23:59:30 +02:00
export DEB_CPPFLAGS_MAINT_APPEND = -DSSHD_SERVICE=\"ssh.service\"
2024-08-27 00:05:47 +02:00
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
+export DEB_CFLAGS_MAINT_APPEND = -Wno-error -Wno-incompatible-pointer-types -w
+
+DISTRIBUTOR_LOGO := /usr/share/pixmaps/pika-logo-text.svg
+DISTRIBUTOR_LOGO_DARK := /usr/share/pixmaps/pika-logo-text-dark.svg
2024-08-26 23:59:30 +02:00
-# Not in Ubuntu main yet https://launchpad.net/bugs/1892456
-ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
-DISTRIBUTOR_LOGO := /usr/share/pixmaps/ubuntu-logo-text.png
-DISTRIBUTOR_LOGO_DARK := /usr/share/pixmaps/ubuntu-logo-text-dark.png
-else
-DISTRIBUTOR_LOGO := /usr/share/icons/vendor/scalable/emblems/emblem-vendor.svg
-DISTRIBUTOR_LOGO_DARK := /usr/share/icons/vendor/scalable/emblems/emblem-vendor.svg
ifneq (,$(filter $(DEB_HOST_ARCH), amd64 arm64 armel armhf i386 mips64el ppc64el riscv64 s390x hppa powerpc ppc64 x32))
MALCONTENT := -Dmalcontent=true
else
MALCONTENT := -Dmalcontent=false
endif
-endif
%:
dh $@