bohoomil / fontconfig-ultimate

freetype2-infinality run-time settings => infinality compatible fontconfig => infinality-bundle
453 stars 38 forks source link

Any update on using the OBS? #54

Open skarekrow opened 9 years ago

skarekrow commented 9 years ago

Hello,

I really enjoy your patches on my Arch system, but if I'm using my OpenSUSE Tumbleweed one, the fonts are horrific. Since I remember reading that you planned on using the OBS a while back, have those plans continued? Since both platforms are rolling, I figured dependency resolution would be less complicated, but I was hoping to get your opinion on it. It may sound petty, but fonts are reason enough to stick to my Arch install even if I prefer the OpenSUSE platform because of your excellent packages.

bohoomil commented 9 years ago

I'm not sure if supporting other distros with binary packages is something I can manage. I did mention using OBS but in order to create JRE-infinality packages for Arch, though.

However -- and I believe this is going to be a piece of good news -- I'm currently re-working fontconfig-iu as I want to implement native support for a few popular Linux distributions. Basically, I'm planning to add distro-specific patches which will 'pair' default font collections installed in Ubuntu, Fedora, etc., with freetype2-iu settings in the same way as combi, free and ms presets do. This should dramatically minimize the hassle regarding post-installation Infinality configuration in them and simplify building and maintenance Infinality packages. At the moment, I'm working on versions for Fedora and Ubuntu: I don't have enough HDD space to create more virtual machines, though. Creating patches for Tumbleweed should be relatively straightforward as stock packages are usually newer in them.

So, the bottom line is: even though I'm not sure if I'm able to maintain more distros, I can try and radically simplify the process of creating and maintaining the packages, plus add a proper support for the distro of choice.

skarekrow commented 9 years ago

Ah, sorry for that misunderstanding. That seems very interesting, I will keep watching. I'll probably just stick to Arch then. Tumbleweed has some growing pains ahead of it with NVIDIA drivers and such that Arch has had figured out for sometime. So I got a VM of Tumbleweed and plenty of space if you ever need me to test something. Until then I will continue using your fantastic work on Arch.

Thanks again boohoomil!

On 11/10/2014 04:39 PM, bohoomil wrote:

I'm not sure if supporting other distros with binary packages is something I can manage. I did mention using OBS but in order to create JRE-infinality packages for Arch, though.

However -- and I believe this is going to be a piece of good news -- I'm currently re-working |fontconfig-iu| as I want to implement native support for a few popular Linux distributions. Basically, I'm planning to add distro-specific patches which will 'pair' default font collections installed in Ubuntu, Fedora, etc., with |freetype2-iu| settings in the same way as |combi|, |free| and |ms| presets do. This should dramatically minimize the hassle regarding post-installation Infinality configuration in them and simplify building and maintenance Infinality packages. At the moment, I'm working on versions for Fedora and Ubuntu: I don't have enough HDD space to create more virtual machines, though. Creating patches for Tumbleweed should be relatively straightforward as stock packages are usually newer in them.

So, the bottom line is: even though I'm not sure if I'm able to maintain more distros, I can try and radically simplify the process of creating and maintaining the packages, plus add a proper support for the distro of choice.

— Reply to this email directly or view it on GitHub https://github.com/bohoomil/fontconfig-ultimate/issues/54#issuecomment-62469291.

dyskette commented 9 years ago

Hi, I saw this issue and wanted to say that I just created packages for Fedora 21. Although I'm not sure if they are actually well packaged, because documentation is missing here. Just followed the instructions on the PKGBUILD in the repo.

https://copy.com/iFkCCIYj2gX1fW1E

The src.rpm are included there. And it looks like this:

captura de pantalla de 2014-11-11 19 30 07

captura de pantalla de 2014-11-11 19 35 22

In the meantime... because original infinality packages are too old. Looking forward for the rework.

bohoomil commented 9 years ago

@dyskette Here is something you may be interested in: take a look.

beniked commented 9 years ago

@skarekrow Hello, i built inifinality-ultimate package for OpenSUSE 13.2 with bohoomil (TY!) patches. While not perfect (documentation, naming, maybe something else - it is a first time I am packaging rpms), it provides inifinality rendering in OpenSUSE 13.2. The repo is here http://download.opensuse.org/repositories/home:/nick31:/INFINALITY-ULTIMATE/openSUSE_13.2/

I'll try to add tumbleweed as a build target in a few hours.

bohoomil commented 9 years ago

@beniked Thank you very much for your contribution -- it's always great news to see a helping hand in action. A few bits can always be improved: actually, this is the way we make things happen.

skarekrow commented 9 years ago

@beniked That is incredibly helpful! Thank you :) I'm not on my Tumbleweed install for various reasons, but if I go back I will use your repo and tell you how things went.

valmar commented 9 years ago

@skarekrow , the latest Gnome 3.14.2 in Tumbleweed is compiled against cairo 1.14, but your repo only holds 1.12. I tried to port the patches to the freetype, cairo and fontconfig packages in Tumbleweed. I think it works, but please if you can take a look at my ports, I would be most grateful.

https://build.opensuse.org/project/show/home:valmar73:infinality

Obviously, feel free to include anything from my repo in yours.

I also have the patched openjdk 8 in the repo....

EDIT: Grammar

skarekrow commented 9 years ago

@valmar Those are actually @beniked 's ;) Nice inclusion with the OpenJDK 8 also.

jamadagni commented 9 years ago

@skarekrow Can you clarify what you mean "Those are actually @beniked 's"? The two repos seem separate...

valmar commented 9 years ago

@jamadagni , I think @skarekrow means that the repos that I started from (and hence the person who should check that my work is ok), is @beniked, not @skarekrow

skarekrow commented 9 years ago

@valmar @jamadagni Correct Valmar. Sorry for the late reply.

geckolinux commented 9 years ago

Hi, many thanks to everyone who is helping to make Infinality Ultimate available to openSUSE. I am also a Tumbleweed user, and I agree that the default font rendering is nothing short of horrific.

I'm having trouble with both of the Infinality Ultimate repos for openSUSE. When I install the packages from @beniked 's repo... http://download.opensuse.org/repositories/home:/nick31:/INFINALITY-ULTIMATE/openSUSE_Tumbleweed/ ...it completely breaks the graphical system, because as someone mentioned, the latest Gnome in Tumbleweed is compiled against cairo 1.14, but the home:/nick31 repo only works with 1.12.

So I tried @valmar 's repo... https://build.opensuse.org/project/show/home:valmar73:infinality ...which does work. However, when I tried to enable my Infinality preset, I get this:

sudo fc-presets set
root's password:
1) combi
2) free
3) ms
4) reset
5) quit
Enter your choice... 4
 Removing current preset...
Done. Now select a new preset...
Enter your choice... 1
 [ combi ] preset chosen...
/usr/bin/fc-presets: line 139: pushd: /etc/fonts/conf.avail.infinality: No such file or directory
ls: cannot access combi/*-combi.conf: No such file or directory
Target not found. Did you set up
fontconfig-infinality-ultimate correctly?

So apparently @valmar 's fontconfig package is missing the /etc/fonts/conf.avail.infinality directory.

I was able to get it to all work by installing Infinality from home:valmar73 and then installing just the fontconfig package from home:/nick31.

It would be nice if we could have just one working repo that works for Tumbleweed, if possible. Thanks again for working on this, it's extremely important for openSUSE!

beniked commented 9 years ago

Hello, i finally got some time to update OBS packages (bohoomil patchset as of 01/20/2015, freetype-2.5.5). Also, now patched cairo-1.14 is available for Tumbleweed.

geckolinux commented 9 years ago

Thanks so much @beniked ! I can confirm that the new updates from your repo work and look great on both 13.2 and Tumbleweed. Really appreciate it!

valmar commented 9 years ago

Ok now that @beniked supports 13.2 and Tumbleweed, there is really no reason to keep my repo up, so I will delete it...

geckolinux commented 9 years ago

@valmar Thanks again for contributing to this work! Very much appreciated by those of us who want to use openSUSE without getting bloodshot eyes. :p

valmar commented 9 years ago

@dyskette , when I am on Fedora I use your packages. They seem to me the best ones as they implement directly all the ultimate features and also contain the patched cairo.

Thanks, please keep them coming. Also, if you can, set up a repo!

geckolinux commented 9 years ago

Hi, something just broke on openSUSE 13.2 with a recent update. All of my GTK3 apps (including my display manager and desktop environment!!) won't start, complaining of:

symbol lookup error: /usr/lib64/libgdk-3.so.0: undefined symbol: cairo_surface_set_device_scale

Any suggestions? Thanks!

beniked commented 9 years ago

It seems that OpenSUSE pushed cairo-1.14 in updates for 13.2 Gimme some time.

geckolinux commented 9 years ago

Thanks a lot @beniked for the fast reply. Meanwhile I'm using your Tumbleweed repo on my 13.2 system, which works fine.

beniked commented 9 years ago

Ok, no more cairo-1.12 for OpenSUSE 13.2 since they pushed cairo-1.14 in Updates. Enabled cairo-1.14 in my repo for 13.2 and disabled cairo-1.12. GTK3 apps should be good now.

geckolinux commented 9 years ago

Thanks very much for the fast fix @beniked! Very much appreciated. I can confirm that the 13.2 repo is now working well.

fastrizwaan commented 9 years ago

@valmar @dyskette, firefox, and gtk2 apps and qt apps work with infinality ultimate but gtk3 apps (nautilus, etc.) do not render with infinality ultimate. I installed dyskette's rpms (freetype, fontconfig, cairo, cairo-gobject). Am I missing something in fedora 21 for gtk3 infinality ulitmate rendering?

dyskette commented 9 years ago

I just installed my packages on a fresh Fedora 21. They work, but you have to use sudo fc-preset set.

Maybe I have to fix my fontconfig package to do that automatically. It actually doesn't do anything post-install like the pkgbuild from bohoomil on Arch.

fastrizwaan commented 9 years ago

@dyskette, even in antergos gtk3 apps are not rendered with infinality ultimate. But opensuse 13.2 rpms from http://download.opensuse.org/repositories/home:/nick31:/INFINALITY-ULTIMATE/openSUSE_13.2/ by @beniked, work. Please try to port opensuse rpm to fedora as they are working as expected. thanks.

dyskette commented 9 years ago

The problem is... I cannot reproduce your issue. So is difficult for me to know what to port. Just viewing the spec files, there are several differences between them.

Could you tell me how did you installed them, please? Maybe I'm missing something obvious.

@beniked Did you had this problem at some point, and if so, how did you fix it?

beniked commented 9 years ago

@dyskette At some point opensuse pushed cairo-1.14 in updates, and I updated Cairo in my repo because gtk3 apps stopped working with cairo-1.12. All the patches for Cairo in my repo are from upstream opensuse package and from bohoomil, nothing extra was done. Maybe fedora got Cairo updated as well?

dyskette commented 9 years ago

@beniked The thing is, cairo is updated to 1.14 since November (I updated even before them, then synced again with the distro). And my release number is higher than upstream Fedora, so it shouldn't be a problem. All patches are up to date as well (Fedora+Bohoomil's).

I will check all my specfiles again tomorrow anyway, just in case.

fastrizwaan commented 9 years ago

@dyskette , I did not install cairo-tools (thinking it was not needed), installed cairo tools but again gtk3 doesn't render like gtk2 or qt apps: please see: gtk2vsgtk3

fastrizwaan commented 9 years ago

@dyskette may be gnome has bug, the bash environment varialbes like that in infinality settings do not apply to the software/app run from .desktop file but applies on apps run from terminal.

Here's nautilus 3.15.90 run from menu (.desktop file) There's no font smoothening :( screenshot from 2015-03-04 01-32-06

The same is run from gnome-terminal (nautilus from command line) And we can see the smoothening works as expected. screenshot from 2015-03-04 01-32-17

Infinality-settings seems not to apply to .desktop launched gtk3 apps.

bohoomil commented 9 years ago

@fastrizwaan See https://github.com/bohoomil/fontconfig-ultimate/issues/74#issuecomment-77089490 for details.

fastrizwaan commented 9 years ago

OK, OBS Fedora 21 RPMS (using @dyskette (Dylan Smith's) src rpm, with my infinality-settings (extra smooth) and infinality-settings's location changed to /etc/X11/xinit/xinitrc.d/ instead of /etc/profile.d Install freetype-infinality-ultimate and fontconfig-infinality-ultimate from opensuse build service repo:

su
cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:fastrizwaan/Fedora_21/home:fastrizwaan.repo
yum install freetype-infinality-ultimate fontconfig-infinality-ultimate

complementary screenshot: and the link to compare your font rendering: http://en.wikipedia.org/wiki/GNOME screenshot from 2015-03-04 13_05_31

Thanks @bohoomil @dyskette for your great work :)

fastrizwaan commented 9 years ago

gtk3 apps have issues, i've reported https://bugzilla.gnome.org/show_bug.cgi?id=745758

fastrizwaan commented 9 years ago

@bohoomil, gtk developer is saying that it is not related to gtk, but fontconfig config issue. Do you have proper iu rendering with GTK3 apps like gedit / nautilus in archlinux? I experienced same issue of gtk3 apps not rendering with iu on opensue 13.2, antergos (arch linux), and fedora 21.

bohoomil commented 9 years ago

Yes, I do: Gedit launched via terminal emulator vs Gedit launched via desktop shotrcut.

Compare your font configuration in a DE control panel and Xft: they should be set to use the same values.

huypn12 commented 9 years ago

@beniked Hi nick! Thanks for your contribution.

I have a problem with your Infinality build. I have installed them on my Opensuse 13.2 (add repository and switch system packages to your repository's version on Yast). However, changing configuration set on /etc/profile.d/infinality-settings does not affect font rendering. Is there anything wrong?

beniked commented 9 years ago

@huypn12

Please check updated packages.

infinality-settings.sh moved to xinitrc.d

huypn12 commented 9 years ago

Thanks @beniked :+1: My OpenSuse system has crashed due to some bugs on kernel with nvidia blobs, so I cant confirm it right now. Anyone who using opensuse could please check if it's work?

arpiruk commented 9 years ago

Just registered to say thanks!!!

You guys solved my problem

te-con-miel commented 8 years ago

Hello, Will be available packages for centos 7 soon? Thanks.-

huypn12 commented 7 years ago

@beniked Hi, could you please check your repository? It suddenly became unavailable. Thanks :)

valmar commented 7 years ago

Uhm, sorry everyone, I haven't been using OpenSUSE in a long time, and the Build System mantainers contacted me asking me to delete dormant projects, which I did. However, the versions of the library there were ancient and not updated. I hope not too many people were using them. Please look for a more up to date repository....