Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811276 - x11-terms/st broken theme patch
Summary: x11-terms/st broken theme patch
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-31 16:29 UTC by kurth4cker
Modified: 2021-09-03 07:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Problematic patch. (st-dracula-0.8.2.diff,1.96 KB, patch)
2021-08-31 16:29 UTC, kurth4cker
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.