You are not logged in.
Hi, ![]()
In order to have fonts look better on my laptop LCD, i've followed the wiki: http://wiki.archlinux.org/index.php/Fon … 2_packages
So basically i removed cairo and libxft (with the -d option) and installed libxft from [community] and cairo-lcd and fontconfig-lcd from AUR.
Yesterday i tried to upgrade with pacman -Syu and the ouput said something like:
libxft-lcd conflicts with libxft, remove libxft-lcd? [Y/n]I said no but i was unable to go on with the upgrade.
So basically, this is what i've done: i removed libxft-lcd (with the -d option), upgraded (no problems), then removed (-d) libxft and reinstalled libxft-lcd.
So, have i done the right thing?
Everything works great but i'm not totally sure...why does libxft-lcd causes these kind of problems? It is better to stay with libxft?
Thank you for any help! ![]()
Last edited by rent0n (2009-11-02 18:47:12)
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
xterm requires libxft >= 2.1.14 while libxft-lcd is still at 2.1.13 and therefore only provides libxft = 2.1.13
your system may be fine after your steps, i don't know. but the actual fix would be for the libxft-lcd maintainer to bump that version to align with the updated libxft. then all would be smooth.
i've just swapped libxft-lcd out for libxft, i'll revert this when the above happens.
//github/
Offline
Ok, so clear. Thank you very much. ![]()
I'll come back to libxft then (for now).
rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686
Offline
libxft-lcd doesn't build as 2.1.14 yet, but I just edited /var/lib/pacman/local/libxft-lcd-2.1.13/depends to make it provide libxft=2.1.14, and all is good.
Not a proper fix, obviously.
Offline
libxft-lcd doesn't build as 2.1.14 yet, but I just edited /var/lib/pacman/local/libxft-lcd-2.1.13/depends to make it provide libxft=2.1.14, and all is good.
Not a proper fix, obviously.
should i do your fix or wait for an update ?
the problem with waiting for an update is that the package is orphan and the aur is out of date too ![]()
Offline
Depends on how much you like -lcd packages. If you feel you could fix problems caused if apps all of a sudden start breaking (just switch back to libxft, likely), then use my fix.
Offline
Ranguvar wrote:libxft-lcd doesn't build as 2.1.14 yet, but I just edited /var/lib/pacman/local/libxft-lcd-2.1.13/depends to make it provide libxft=2.1.14, and all is good.
Not a proper fix, obviously.should i do your fix or wait for an update ?
the problem with waiting for an update is that the package is orphan and the aur is out of date too
You can update it yourself. Is not hard. You gonna need to edit the patch because some things changed in the source code of 2.1.14. I did it if you like you get it at http://dpaste.com/115584/ , with this patch I got a working libxft-lcd-2.1.14
EDIT: dpaste fu**** the patch. An updated link http://fma.if.usp.br/~kazuo/xorg-lib-li … lter.patch
Last edited by kazuo (2009-11-03 17:10:44)
Offline
Excellent, thanks kazuo! Can you describe the changes you made and why? I'll send it in to a mailing list and try to get libxft-lcd bumped up ![]()
Offline
Not work for me
When I try use this patch, get the following errors:
[pastor@ideapad libXft-2.1.14]$ patch -Np1 < lcd.patch
patching file src/xftglyphs.c
Hunk #1 FAILED at 21.
Hunk #2 succeeded at 939 with fuzz 2 (offset 879 lines).
Hunk #3 FAILED at 1246.
Hunk #4 FAILED at 1263.
Hunk #5 FAILED at 1296.
Hunk #6 FAILED at 1332.
Hunk #7 FAILED at 1411.
Hunk #8 FAILED at 1458.
Hunk #9 FAILED at 1481.
Hunk #10 FAILED at 1556.
Hunk #11 FAILED at 1580.
Hunk #12 FAILED at 1601.
Hunk #13 FAILED at 1612.
12 out of 13 hunks FAILED -- saving rejects to file src/xftglyphs.c.rej//wbr
Offline
Heema wrote:Ranguvar wrote:libxft-lcd doesn't build as 2.1.14 yet, but I just edited /var/lib/pacman/local/libxft-lcd-2.1.13/depends to make it provide libxft=2.1.14, and all is good.
Not a proper fix, obviously.should i do your fix or wait for an update ?
the problem with waiting for an update is that the package is orphan and the aur is out of date too
You can update it yourself. Is not hard. You gonna need to edit the patch because some things changed in the source code of 2.1.14. I did it if you like you get it at http://dpaste.com/115584/ , with this patch I got a working libxft-lcd-2.1.14
could you update the aur package with your fix http://aur.archlinux.org/packages.php?ID=22091 ?
Offline
Excellent, thanks kazuo! Can you describe the changes you made and why? I'll send it in to a mailing list and try to get libxft-lcd bumped up
I redid the patch manually. Some lines are inserted/removed from the 2.1.14 code so two hooks failed. In the PKGBUILD the only change needed is to update the version.
Not work for me
When I try use this patch, get the following errors:
Ahhh! Blame dpaste, it fucked the patch! I link to it again http://fma.if.usp.br/~kazuo/xorg-lib-li … lter.patch
MD5SUM 15375a2ef718cb5f89701639c9b23982
could you update the aur package with your fix http://aur.archlinux.org/packages.php?ID=22091 ?
I cant, I only have a x86_64 cant compile a i686 package to update the lib32 package
Offline
i used the PKGBUILD from here http://bbs.archlinux.org/viewtopic.php?pid=647779
but i replaced the patch with yours
Offline
Thanks kazuo, I used your pastebin patch and it worked perfectly on 2.1.14 for me.
====* -- Joke
O
\|/ --- Me
/ \ Whooooosh
Offline
Pastor wrote:Not work for me
When I try use this patch, get the following errors:
Ahhh! Blame dpaste, it fucked the patch! I link to it again http://fma.if.usp.br/~kazuo/xorg-lib-li … lter.patch
MD5SUM 15375a2ef718cb5f89701639c9b23982
Thanks, all working now ![]()
And my PKGBUILD:
# Contributor: mightyjaym <jm.ambrosino@free.fr>
pkgname=libxft-lcd
pkgver=2.1.14
pkgrel=3
pkgdesc="FreeType-based font drawing library for X (with custom LCD filter)"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('GPL')
depends=('fontconfig' 'libxrender')
conflicts=('libxft' 'libxft-ubuntu')
provides=("libxft=$pkgver")
makedepends=('pkgconfig')
options=('!libtool')
source=(http://xorg.freedesktop.org/releases/individual/lib/libXft-${pkgver}.tar.bz2 xorg-lib-libXft-lcd-filter.patch)
md5sums=('254e62a233491e0e1251636536163e20'
'15375a2ef718cb5f89701639c9b23982')
build() {
cp ${srcdir}/xorg-lib-libXft-lcd-filter.patch ${srcdir}/libXft-${pkgver}
cd ${startdir}/src/libXft-${pkgver}
patch -Np1 -i ${startdir}/src/xorg-lib-libXft-lcd-filter.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
}Last edited by Pastor (2009-11-04 05:01:05)
//wbr
Offline
Thank you for the new patch ![]()
Offline