Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 811276

Summary: x11-terms/st broken theme patch
Product: Gentoo Linux Reporter: kurth4cker <kurth4cker>
Component: Current packagesAssignee: Georgy Yakovlev <gyakovlev>
Status: RESOLVED CANTFIX    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Problematic patch.

Description kurth4cker 2021-08-31 16:29:48 UTC
Created attachment 736966 [details, diff]
Problematic patch.

I installed st with savedconfig. It works.

After I added some patches. I see a wrong thing. A theme patch not working. The patch appling to config.h but after patched my savedconfig copying there and config.h's patch deleting. 

Other patch works perfectly.


Problematic patch in the attachment.

My savedconfig settings are very basic. I changed font and font size. And cursor type.

I changed that options:

```
static char *font = "JetBrainsMonoRegular:pixelsize=13:antialias=true:autohint=true";
static unsigned int cursorshape = 6;
```

Note: I deleted the my savedconfig. Reinstalled st with patches. The config.h saved. And I edited the config. So I installed st with my patches and config.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2021-09-01 16:10:56 UTC
it's chicken and egg problem and nothing can be done, really.

If you patch config.h - you either have to modify patches not to touch config.h or pre-apply manually.

here's what I do:

1. save my config.h
2. USE=-savedconfig emerge st
3. edit new savedconfig
4. USE=savedconfig emerge st


I believe it's what you did. It only has to be done once. So not a big deal.
Comment 2 kurth4cker 2021-09-03 07:42:21 UTC
Ok, thanks. I fixed problem by that way.