Logs: liberachat/#xmonad
| 2024-04-05 13:48:27 | × | mekeor quits (~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) (Ping timeout: 256 seconds) |
| 2024-04-05 13:49:21 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
| 2024-04-05 14:00:30 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 14:02:27 | → | alex` joins (~user@149.22.101.75) |
| 2024-04-05 14:06:28 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
| 2024-04-05 14:09:09 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 14:15:28 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
| 2024-04-05 14:20:32 | × | cfricke quits (~cfricke@user/cfricke) (Quit: WeeChat 4.1.2) |
| 2024-04-05 14:27:59 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 14:51:28 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
| 2024-04-05 15:02:33 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 15:16:43 | → | mekeor joins (~user@2001:a61:10db:ae01:ee8e:7029:dae7:575c) |
| 2024-04-05 15:18:41 | × | alex` quits (~user@149.22.101.75) (Ping timeout: 256 seconds) |
| 2024-04-05 16:25:31 | × | scardinal quits (~supreme@0x573d64a9.static.cust.fastspeed.dk) (Ping timeout: 255 seconds) |
| 2024-04-05 16:27:13 | → | scardinal joins (~supreme@0x573d64a9.static.cust.fastspeed.dk) |
| 2024-04-05 16:38:52 | → | ft joins (~ft@p4fc2a20e.dip0.t-ipconnect.de) |
| 2024-04-05 18:04:57 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 255 seconds) |
| 2024-04-05 18:17:24 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 18:22:00 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 260 seconds) |
| 2024-04-05 18:33:46 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 18:39:51 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 256 seconds) |
| 2024-04-05 18:45:46 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 19:28:04 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
| 2024-04-05 19:38:29 | → | defjam joins (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) |
| 2024-04-05 19:42:25 | <haskellbridge> | <Nexilva> Hello there, I don't know how to Haskell. |
| 2024-04-05 19:42:40 | <haskellbridge> | <Nexilva> ```hs |
| 2024-04-05 19:42:42 | <haskellbridge> | <Nexilva> , name `oneOf` ["Windows 10 P2V Original Clone 1 [Running] - Oracle VM VirtualBox : 1"] --> (doF . W.view <> doShift) "8:win-A" |
| 2024-04-05 19:42:43 | <haskellbridge> | <Nexilva> , name `oneOf` ["Windows 10 P2V Original Clone 1 [Running] - Oracle VM VirtualBox : 2"] --> (doF . W.view <> doShift) "8:win-B" |
| 2024-04-05 19:42:44 | <haskellbridge> | <Nexilva> ``` |
| 2024-04-05 19:42:57 | <haskellbridge> | <Nexilva> I match Windows VM like this, then I send i to workspace as needed. |
| 2024-04-05 19:43:22 | <haskellbridge> | <Nexilva> Sometimes I makes copies/images/clones of the VM and then it's called `Windows 10 P2V Original Clone 1 (Before Update) [Running] - Oracle VM VirtualBox : 1` |
| 2024-04-05 19:44:15 | <haskellbridge> | <Nexilva> I don't want to have to edit the Xmonad config each time. So how can I match this properly: `Windows 10 P2V Original Clone <whatever text here> - Oracle VM VirtualBox : 1` |
| 2024-04-05 19:44:33 | <haskellbridge> | <Nexilva> That way It will always work on all `Windows 10 P2V Original Clone` machines. |
| 2024-04-05 20:06:45 | <geekosaur> | what is `name`? (and why use `oneOf` with a single element list?) |
| 2024-04-05 20:08:52 | <geekosaur> | (our matchers are: title, appName, className) |
| 2024-04-05 20:11:59 | <haskellbridge> | <Nexilva> https://matrix-client.matrix.org//b8f79778/Screenshot_20240405_141150.png |
| 2024-04-05 20:12:08 | <haskellbridge> | <Nexilva> Rest of my code was like that so I just copied the oneOf over. |
| 2024-04-05 20:13:01 | <haskellbridge> | <Nexilva> https://xmonad.org/INSTALL.html <- following directions here to install xmonad 18 and I get error: |
| 2024-04-05 20:13:23 | <haskellbridge> | <Nexilva> https://bpa.st/DHFA |
| 2024-04-05 20:13:45 | <haskellbridge> | <Nexilva> I have all the development libs installed like libxft-dev etc. |
| 2024-04-05 20:23:07 | <geekosaur> | xproto should be part of the X11 core development stuff. I don't know how brew has that set up |
| 2024-04-05 20:24:07 | <haskellbridge> | <Nexilva> I'm on Ubuntu 22.04. I have built xmonad 17 in the past using those instructions. |
| 2024-04-05 20:24:19 | <haskellbridge> | <Nexilva> I have all the dev libs install and all the required pakckages |
| 2024-04-05 20:24:41 | <geekosaur> | you have a pkg-config from linuxbrew |
| 2024-04-05 20:25:01 | <geekosaur> | instead of the one from ubuntu |
| 2024-04-05 20:26:26 | <geekosaur> | x11proto-dev: /usr/share/pkgconfig/xproto.pc |
| 2024-04-05 20:27:15 | <haskellbridge> | <Nexilva> Yes I was using both |
| 2024-04-05 20:27:22 | <haskellbridge> | <Nexilva> I tried both as I did locate on the file |
| 2024-04-05 20:27:27 | <haskellbridge> | <Nexilva> ``` |
| 2024-04-05 20:27:27 | <haskellbridge> | <Nexilva> $ export PKG_CONFIG_PATH=/usr/share/pkgconfig/xproto.pc |
| 2024-04-05 20:27:28 | <haskellbridge> | <Nexilva> stoned@stoned-desktop - ~/.config/xmonad - - |
| 2024-04-05 20:27:30 | <haskellbridge> | <Nexilva> $ stack install |
| 2024-04-05 20:27:31 | <haskellbridge> | <Nexilva> X11-xft > configure |
| 2024-04-05 20:27:32 | <haskellbridge> | <Nexilva> X11-xft > Configuring X11-xft-0.3.4... |
| 2024-04-05 20:27:34 | <haskellbridge> | <Nexilva> X11-xft > Error: Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4: The pkg-config package 'xft' |
| 2024-04-05 20:27:35 | <haskellbridge> | <Nexilva> X11-xft > is required but it could not be found. |
| 2024-04-05 20:27:36 | <haskellbridge> | <Nexilva> X11-xft > |
| 2024-04-05 20:27:38 | <haskellbridge> | <Nexilva> Progress 1/2 |
| 2024-04-05 20:27:39 | <haskellbridge> | <Nexilva> Error: [S-7282] |
| 2024-04-05 20:27:40 | <haskellbridge> | <Nexilva> Stack failed to execute the build plan. |
| 2024-04-05 20:27:41 | <haskellbridge> | <Nexilva> |
| 2024-04-05 20:27:43 | <haskellbridge> | <Nexilva> While executing the build plan, Stack encountered the error: |
| 2024-04-05 20:27:44 | <haskellbridge> | <Nexilva> |
| 2024-04-05 20:27:45 | <haskellbridge> | <Nexilva> [S-7011] |
| 2024-04-05 20:27:47 | <haskellbridge> | <Nexilva> While building package X11-xft-0.3.4 (scroll up to its section to see the error) using: |
| 2024-04-05 20:27:48 | <haskellbridge> | <Nexilva> /home/stoned/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_6HauvNHV_3.10.1.0_ghc-9.6.4 --verbose=1 --builddir=.stack-work/dist/x86_64-linux-tinfo6/ghc-9.6.4 configure --with-ghc=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-9.6.4 --with-ghc-pkg=/home/stoned/.stack/programs/x86_64-linux/ghc-tinfo6-9.6.4/bin/ghc-pkg-9.6.4 --user --package-db=clear |
| 2024-04-05 20:27:48 | <haskellbridge> | --package-d… |
| 2024-04-05 20:27:49 | <haskellbridge> | <Nexilva> b=global --package-db=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/pkgdb --libdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/lib |
| 2024-04-05 20:27:49 | <haskellbridge> | --bindir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b798… |
| 2024-04-05 20:27:51 | <haskellbridge> | <Nexilva> 6b6c68e28/9.6.4/bin --datadir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/share --libexecdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/libexec |
| 2024-04-05 20:27:51 | <haskellbridge> | --sysconfdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e11… |
| 2024-04-05 20:27:52 | <haskellbridge> | <Nexilva> 8fd27c79961f02d5b7986b6c68e28/9.6.4/etc --docdir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --htmldir=/home/stoned/.stack/snapshots/x86_64-linux-tinfo6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 |
| 2024-04-05 20:27:52 | <haskellbridge> | --haddockdir=/home/stoned/.stack/snapshots/x86_64-linux-tinf… |
| 2024-04-05 20:27:53 | <haskellbridge> | <Nexilva> o6/716003aaa50e6615e9ad048198d99e65e118fd27c79961f02d5b7986b6c68e28/9.6.4/doc/X11-xft-0.3.4 --dependency=X11=X11-1.10.3-Grb6PTWQzPbIodPMMce4DA --dependency=base=base-4.18.2.0 --dependency=utf8-string=utf8-string-1.0.2-FimbYq1wIkv3u9JmaBWYAg -f-pedantic --exact-configuration --ghc-option=-fhide-source-paths |
| 2024-04-05 20:27:53 | × | defjam quits (~defjam@2a02:c7e:2807:b900:49d3:5be9:58b5:7643) (Ping timeout: 268 seconds) |
| 2024-04-05 20:27:54 | <haskellbridge> | <Nexilva> Process exited with code: ExitFailure 1 |
| 2024-04-05 20:27:56 | <haskellbridge> | <Nexilva> ``` |
| 2024-04-05 20:28:39 | <geekosaur> | that's not how PKG_CONFIG_PATH works; it's a colon-separated list of directories, not files |
| 2024-04-05 20:28:56 | <haskellbridge> | <Nexilva> Ok |
| 2024-04-05 20:29:20 | <haskellbridge> | <Nexilva> There was no PKG_CONFIG_PATH set on my pc I ahd to export it |
| 2024-04-05 20:29:27 | <geekosaur> | and if you have used linuxbrew for anything then you probably need both its path and ubuntu's (and I give you no guarantees about cross-compatibility) |
| 2024-04-05 20:29:28 | <haskellbridge> | <Nexilva> export PKG_CONFIG_PATH=/usr/share/pkgconfig |
| 2024-04-05 20:29:35 | <haskellbridge> | <Nexilva> I have no idea what linuxbrew is |
| 2024-04-05 20:29:39 | <geekosaur> | right, that one's the default |
| 2024-04-05 20:30:12 | <geekosaur> | X11-xft > '/home/linuxbrew/.linuxbrew/bin/pkg-config' exited with an error: |
| 2024-04-05 20:31:04 | <geekosaur> | from your earlier bpaste |
| 2024-04-05 20:31:17 | <geekosaur> | that is not present on a normal Ubuntu install |
| 2024-04-05 20:31:19 | <haskellbridge> | <Nexilva> Ok |
| 2024-04-05 20:31:25 | <haskellbridge> | <Nexilva> But I have no idea what the hell is goin gon |
| 2024-04-05 20:31:33 | <haskellbridge> | <Nexilva> What is this linux brew and why do I ahve it? |
| 2024-04-05 20:31:44 | <haskellbridge> | <Nexilva> And how do I just build xmoand again |
| 2024-04-05 20:31:59 | <geekosaur> | I have no idea why you have it |
| 2024-04-05 20:32:26 | <haskellbridge> | <Nexilva> I exported the correct path to the pc file |
| 2024-04-05 20:32:28 | <geekosaur> | (I presume it's a Linux take on Homebrew for Macs, but have no idea why anyone would bother) |
| 2024-04-05 20:32:37 | <haskellbridge> | <Nexilva> Now it says the other mesage about xft not found |
| 2024-04-05 20:32:41 | <geekosaur> | you need the directory not the file |
| 2024-04-05 20:32:52 | <geekosaur> | if it works at all it would only see that one file and not the others |
| 2024-04-05 20:32:56 | <haskellbridge> | <Nexilva> Bro. |
| 2024-04-05 20:33:07 | <haskellbridge> | <Nexilva> export PKG_CONFIG_PATH=/usr/share/pkgconfig |
| 2024-04-05 20:33:15 | <haskellbridge> | <Nexilva> ``` |
All times are in UTC.