mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
x11-wm/cosmic-comp: unbreak text in title bar and context menu
This commit is contained in:
parent
b1a5b588e9
commit
a2394dacc2
2 changed files with 27 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
PORTNAME= cosmic-comp
|
||||
DISTVERSIONPREFIX= epoch-
|
||||
DISTVERSION= 1.0.0-alpha.4
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= x11-wm wayland
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
@ -47,6 +47,10 @@ post-patch:
|
|||
# /sys by default is a symlink to /usr/src/sys
|
||||
@${REINPLACE_CMD} -e 's,/sys,${LINUXBASE}&,' \
|
||||
${WRKSRC}/src/debug.rs
|
||||
# https://github.com/RazrFalcon/fontdb/issues/61
|
||||
@${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \
|
||||
-e 's,/etc,${LOCALBASE}&,' \
|
||||
${WRKSRC_crate_fontdb}/src/lib.rs
|
||||
|
||||
post-install:
|
||||
# Install extras similar to ${WRKSRC}/Makefile
|
||||
|
|
22
x11-wm/cosmic-comp/files/patch-cosmic-text
Normal file
22
x11-wm/cosmic-comp/files/patch-cosmic-text
Normal file
|
@ -0,0 +1,22 @@
|
|||
https://github.com/pop-os/cosmic-text/pull/336
|
||||
|
||||
--- ../cosmic-text-4fe90bb6126c22f589b46768d7754d65ae300c5e/src/font/fallback/mod.rs.orig 2024-09-23 13:53:29 UTC
|
||||
+++ ../cosmic-text-4fe90bb6126c22f589b46768d7754d65ae300c5e/src/font/fallback/mod.rs
|
||||
@@ -9,7 +9,7 @@ use self::platform::*;
|
||||
|
||||
use self::platform::*;
|
||||
|
||||
-#[cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows",)))]
|
||||
+#[cfg(not(any(unix, target_os = "windows")))]
|
||||
#[path = "other.rs"]
|
||||
mod platform;
|
||||
|
||||
@@ -17,7 +17,7 @@ mod platform;
|
||||
#[path = "macos.rs"]
|
||||
mod platform;
|
||||
|
||||
-#[cfg(target_os = "linux")]
|
||||
+#[cfg(all(unix, not(any(target_os = "android", target_os = "macos"))))]
|
||||
#[path = "unix.rs"]
|
||||
mod platform;
|
||||
|
Loading…
Add table
Reference in a new issue