rozniak / xfce-winxp-tc

Windows XP stuff for XFCE
Other
1.1k stars 37 forks source link

[NOTABUG] Success on Arch Linux #88

Closed ghost closed 1 year ago

ghost commented 2 years ago

Hello! I saw your post on r/unixporn some time ago and was very impressed. I've decided to try using your theme on Arch, and after some fiddling around succeeded.

Basically, I've installed dpkg (available in the official Arch repo), and then just called all the build scripts that you have. I had to remove the missing packages check in all the scripts (I've ensured that I installed all necessary packages manually). After I've built the .deb files I converted them to Arch packages via debtap (I could've just installed the packages directly with dpkg but that's bad since it circumvents Arch's own package system). I had to change a few paths because they're different in Arch:

wintc-comgtk.pc.in - changed pkgconfigdir to pkgconfigdir=/usr/lib/pkgconfig wintc-exec.pc.in - same as above, pkgconfigdir=/usr/lib/pkgconfig packplug.sh in packaging/deb/panel - pkg_plug_dir to pkg_plug_dir="${PKG_DIR}/usr/lib/xfce4/panel/plugins" debian-control in themes/luna/blue - removed the Depends line (debtap didn't seem to successfully translate the dependencies).

After that, I built libs and installed the converted Arch packages (they need to be installed first because they're used in shell and programs), and built + installed all other stuff.

The end result is this (click the image to view it in full resolution): image

P.S.: The notifications bar looks like that because I changed the background image in Panel Preferences -> Appearance to the one that has the same shade (it did take some time to experiment though). If someone wants the image, it's this (I've used it with the panel row size of 30 pixels): imagef3fg3

I know that the way I've did it is really dirty, but it works :) Maybe someone could make proper PKGBUILDs in the future, but this is good enough for me for now.

Also, I've found a document that might be a bit useful for you - Windows XP Visual Guidelines

ghost commented 2 years ago

Also, wanted to know - is this a known bug or it's a regression on the latest GTK or XFCE? (the buttons on the bottom specifically) image

rozniak commented 2 years ago

Nice work! Sorry I'm away from my main computer for another week so haven't had a chance to properly look at stuff.

About the panel background - did the taskbar background image not get applied by the Luna theme?

And regarding the XFCE settings dialog - it's some regression with the latest GTK 3 that caused the CSD styles to break. For me on XFWM4/XFCE when dragging the window around there's some glitchiness with the rounded corners too on the Luna theme'd CSD windows. It worked fine on the GTK 3 shipped with Debian 10, but not in the version in Debian 11, it needs looking into (which sucks because the CSD styles aren't fun tbh :weary: )

I hope the scripts were of help even if they are .deb only for the meantime. :grin: Thank you for your notes.

daemonspudguy commented 2 years ago

The AUR has a version of libxfce4ui that was forked from the latest version, but doesn't use the CSD framework.

rozniak commented 2 years ago

The regressions mentioned above about CSD have since been fixed btw - obviously CSD is never going to look 'perfect' but it doesn't look totally scuffed like that screenshot anymore. :grin:

rozniak commented 1 year ago

Arch Linux receiving packaging port via issue #182 - under testing currently soon to be merged