Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO]New freetype subpixel font rendering for lcd monitors
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 17, 18, 19 ... 28, 29, 30  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Wed Apr 02, 2008 8:54 am    Post subject: Reply with quote

OmSai wrote:
PaulBredbury wrote:
I've created a patch for cairo-ubuntu 1.5.14, to compile with libtool versions 1.5* and 2.2 - see pkgbuild and its patch :)
Could someone please ebuild this? :D

Done in font-overlay.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
octoploid
n00b
n00b


Joined: 21 Oct 2006
Posts: 65

PostPosted: Wed Apr 02, 2008 9:06 am    Post subject: Reply with quote

boniek wrote:
OmSai wrote:
PaulBredbury wrote:
I've created a patch for cairo-ubuntu 1.5.14, to compile with libtool versions 1.5* and 2.2 - see pkgbuild and its patch :)
Could someone please ebuild this? :D

Done in font-overlay.


Does not build on my machine:
Code:
...
checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.24, ltmain.sh = "1.5.24 Debian 1.5.24-1") ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

_________________
Myself and mine gymnastic ever
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 02, 2008 9:14 am    Post subject: Reply with quote

octoploid wrote:
configure: error:

The end of src_unpack should probably be:
Code:
eautoreconf  # inherit autotools
elibtoolize  # inherit libtool

With the obvious inherit line modification.

Notice my pkgbuild:
Code:
autoreconf -fi || return 1
Back to top
View user's profile Send private message
swimmer
Veteran
Veteran


Joined: 15 Jul 2002
Posts: 1330
Location: Netherlands

PostPosted: Wed Apr 02, 2008 9:38 am    Post subject: Reply with quote

PaulBredbury wrote:

The end of src_unpack should probably be:
Code:
eautoreconf  # inherit autotools
elibtoolize  # inherit libtool

With the obvious inherit line modification.

Notice my pkgbuild:
Code:
autoreconf -fi || return 1


I can confirm that appending "autotools" to the inherit line and adding
"eautoreconf" above "elibtoolize" fixes the compilation problem ...

Greetz
swimmer
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Wed Apr 02, 2008 10:09 am    Post subject: Reply with quote

Thanks guys. Problem should be fixed now :)
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
aronparsons
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 117
Location: Virginia

PostPosted: Fri Apr 04, 2008 12:53 am    Post subject: Reply with quote

Can we get the ebuild of fontconfig with the lcdfilter patch added to the overlay? :-)
Back to top
View user's profile Send private message
anli
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2006
Posts: 80

PostPosted: Fri Apr 04, 2008 5:55 am    Post subject: Reply with quote

It seems like redigesting must take place:

Code:
emerge cairo
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

!!! A file listed in the Manifest could not be found: /usr/portage/local/layman/font-overlay/x11-libs/cairo/files/cairo-1.5-libtool-2.2.patch.bz2


Manifest still has a ref to non-existing file.
Back to top
View user's profile Send private message
boniek
Guru
Guru


Joined: 26 Mar 2005
Posts: 373

PostPosted: Fri Apr 04, 2008 1:26 pm    Post subject: Reply with quote

aronparsons wrote:
Can we get the ebuild of fontconfig with the lcdfilter patch added to the overlay? :-)

Will do. Give me more time :)
anli wrote:
Manifest still has a ref to non-existing file.

I will look into it.
_________________
[HOWTO]New freetype subpixel font rendering for lcd monitors
Back to top
View user's profile Send private message
natros
n00b
n00b


Joined: 26 Sep 2003
Posts: 70

PostPosted: Tue Apr 08, 2008 11:30 pm    Post subject: Reply with quote

I have just updated from cairo-1.4.14 to 1.5.16 and i must say it does not look good

Before:
http://i31.tinypic.com/t4us8x.png

After:
http://i31.tinypic.com/28qq4pk.png
_________________
-=[abit ip35 pro core2quad q6600 (oc 3.0 ghz) 8 gb ram 2x320 raid0 ext4 xfx8800gt 512mb]=-
Back to top
View user's profile Send private message
aronparsons
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2004
Posts: 117
Location: Virginia

PostPosted: Tue Apr 08, 2008 11:57 pm    Post subject: Reply with quote

natros wrote:
I have just updated from cairo-1.4.14 to 1.5.16 and i must say it does not look good

Before:
http://i31.tinypic.com/t4us8x.png

After:
http://i31.tinypic.com/28qq4pk.png


I had the same experience. I believe I did everything correctly including the patched fontconfig and setting the fontconfig directive for the LCD filtering. I've reverted back to 1.4.x for now.
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Wed Apr 09, 2008 6:03 am    Post subject: Reply with quote

Has anyone tried renaming the ebuild to .20?

Also, boniek if youre still looking for hosting and dont mind using git we can give you a repo on the einit.org server :)
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Wed Apr 09, 2008 7:50 am    Post subject: Reply with quote

creidiki wrote:
Has anyone tried renaming the ebuild to .20?

Replying to myself, yup, works clean with a simple ebuild rename.
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 09, 2008 8:06 am    Post subject: Reply with quote

cairo-ubuntu has been bumped to 1.5.20 with new libtool patch, if you Gentoo people are interested :wink:

Edit: And it has new dependency: pixman>=0.10.0

Edit2: Fixed URL for cairo-ubuntu because the Arch AUR is so stupid that it lets anyone delete the package!


Last edited by PaulBredbury on Wed Sep 17, 2008 7:26 pm; edited 2 times in total
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Wed Apr 09, 2008 9:37 am    Post subject: Reply with quote

PaulBredbury wrote:
cairo-ubuntu has been bumped to 1.5.20 with new libtool patch, if you Gentoo people are interested :wink:

How do the Ubuntu patches differ from the newspr patches?
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 09, 2008 9:41 am    Post subject: Reply with quote

The Ubuntu patches are the best in the universe :P

Unless you've got a crappy monitor, or couldn't be bothered to configure ~/.fonts.conf properly.
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Wed Apr 09, 2008 10:01 am    Post subject: Reply with quote

It seems that you would need freetype, libXft, fontconfig and cairo with the patches?

Is it noticeably better than newspr once you have all that (answer my question straight, monkey-man! ;p)
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Wed Apr 09, 2008 10:24 am    Post subject: Reply with quote

No. I've not been given any bananas.

And anyway, these questions are already answered about a zillion times in this thread, so read it.
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Wed Apr 09, 2008 11:01 am    Post subject: Reply with quote

*me hands over some bananas*

Ok, lemme dive through thread ... aah, I see. so we're already using the ubuntu patches, basically. Cool.

The usefulness of libtool patch for gentoo is debatable given that its been hard-masked at the root level of all the profiles, but I guess it would be cool to have :)

I'd whip up an overlay on einit.org/jyujin.de with 1.5.20 and the libtool patches, but I'll wait for boniek's response.

btw: I see that freetype2-ubuntu is involved, does gentoo need a patched freetype2 as well?
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Wed Apr 09, 2008 4:56 pm    Post subject: Reply with quote

for me renaming the ebuild to .20 and updating also results in bad looking fonts, i've changed nothing else, just updated cairo, should i make more changes.
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Sat Apr 12, 2008 12:30 pm    Post subject: Reply with quote

I too think that my fonts looked better before updating to 1.5.16, maybe we should try to get the ebuilds put together using the Ubuntu patches.
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Sat Apr 12, 2008 7:19 pm    Post subject: Reply with quote

I've got that mostly done - I'm testing them right now in fact, so far so good.

The ubuntu patches are /large/ however, so I've made freetype|fontconfig|libXft|cairo use the 'ubuntu' USE flag :P

I'll post a tarball in a bit so you can test them yourself.
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Sat Apr 12, 2008 8:55 pm    Post subject: Reply with quote

Mk, here it is: http://jyujin.de/~creidiki/fontlibs-ubuntu.tar.lzma

These apply the whole of the ubuntu/debian patches, apart from those which are entirely debian/ubuntu specific - you have been warned :)

edit: They all work good now. cairo and libXft are the same as the ones on boniek's overlay. Ubuntu cairo has no extra patches, they still use the same 1.5.12 newspr patch we do, i just updated it to 1.6.4. Their libXft has some extra stuff, but its a mess of a autohell makefile stuff I'm not gonna touch with a 50-foot pole. So really its just fontconfig and freetype:2 stuff on top of what we had already.
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sun Apr 13, 2008 8:01 am    Post subject: Reply with quote

has anyone tried the tarball? (btw how do i extract the thing from the command line, google doesn't want to tell me for some reason)
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sun Apr 13, 2008 8:49 am    Post subject: Reply with quote

lzma?? Just use tar.gz or tar.bz2 like the rest of the planet :wink:

Anyway, it's already out-of-date - see cairo 1.6.4 8)

Edit: Some idiot has deleted cairo-ubuntu from the Arch AUR it seems, so here's a copy.


Last edited by PaulBredbury on Mon Apr 21, 2008 5:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Sun Apr 13, 2008 5:35 pm    Post subject: Reply with quote

Yeah, you have to recompress to something usable, I cant open your file!!!!!! tar.gz!!!!!!!!!!!!
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3 ... 17, 18, 19 ... 28, 29, 30  Next
Page 18 of 30

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum