LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-15-2013, 02:14 AM   #436
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-14
Posts: 81

Rep: Reputation: Disabled

Latest update on the infinality website is for freetype-2.4.12, but slackware64 14.1 has freetype-2.5.0.1. What patches did you apply? This shows how to patch freetype but the patch is for 2.4.12 and not 2.5.0.
 
Old 12-15-2013, 05:00 AM   #437
ninikos
LQ Newbie
 
Registered: Dec 2012
Posts: 6

Rep: Reputation: Disabled
This is the last script I used.

freetype-entire-infinality-patchset-20131213-01

I removed the last section that patches these files
ttinterp.c
ttsubpix.c
ttsubpix.h

There were some substitution problems with some sites on firefox that used sans-serif as the font. The rendering was clear and nice. But I think the somewhat wider spacing also caused problems with some guis.

Anyway, I also followed dugan's nice advices and I have settled for this minimal updated freetype-2.5.2 along with the default slackware64-14.1 fontconfig that I use now. You have to enable the patch lines yourself to enable the patches in the slackbuild. It contains the cleartype.diff patch posted above. I also used dugan's fonst.conf.

EDIT: Use this slackbuild only for testing, it seems to break compiling other packages that include freetype, the headers are not installed correctly.

The freetype-2.5.2 slackbuild (sources included)

The result

Last edited by ninikos; 12-18-2013 at 05:16 PM.
 
Old 12-31-2013, 02:44 AM   #438
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 89

Rep: Reputation: Disabled
Quote:
Originally Posted by ninikos View Post
Hi! I have updated the latest official infinality patches from here
http://www.infinality.net/blog/infin...etype-patches/
for slackaware-14.1 and it's freetype-2.5.0.1
and build freetype and fontconfig-infinality packages

Ready build packages (the freetype package is for x86_64 only, use the slackbuilds below for 32 bit)
freetype-2.5.0.1-x86_64-infinality20131213did.txz
EDIT: Since I don't know if it allowed to share this compiled
due to licensing, use the slackbuilds below to build freetytpe.
If it's ok, I can share the prebuild package again.
fontconfig-infinality-1-20130104_1-noarch-1did.txz

Download the two above packages and then
upgradepkg freetype-2.5.0.1-x86_64-infinality20131213did.txz
installpkg fontconfig-infinality-1-20130104_1-noarch-1did.txz
Reboot and enjoy infinality

The slackbuilds (all the required sources and patches are included)
infinality-sources.tar.gz

The updated infinality patch
freetype-entire-infinality-patchset-20131213-01.patch
(ttinterp.c) Removed all patches except one, all the rest seem to included upstream
(ttsubpix.c) Removed patches since the changes are included upstream
(ttsubpix.h) Removed patches since the changes are included upstream

Finally, an image showing the result
snapshot2.png
Thanks, I installed according to the guide.
Now slackpkg shows that I have an update to freetype, namely freetype-2.5.0-1-x86_64-1.txz
Should I skip this update? Becuase it would update the freetype package made with infinality..
So should I add freetype to /etc/slackpkg/blacklist?
Or in other words how to maintain this package w.r.t official freetype?
Thanks
 
Old 12-31-2013, 04:12 AM   #439
GNU/Linux
Member
 
Registered: Sep 2012
Distribution: Slackware-14
Posts: 81

Rep: Reputation: Disabled
Yeah you wanna blacklist it otherwise it'll overwrite your patched freetype. I use patched freetype but I don't use slackpkg, just plain rsync:
Code:
rsync -ahvz --progress --stats --delete-after --exclude="kernel-source*" --exclude="freetype*" --exclude="mozilla-firefox*" rsync://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-14.0/patches/packages/ .
 
Old 12-31-2013, 04:32 AM   #440
aaditya
Member
 
Registered: Oct 2013
Location: India
Distribution: Slackware
Posts: 89

Rep: Reputation: Disabled
Quote:
Originally Posted by GNU/Linux View Post
Yeah you wanna blacklist it otherwise it'll overwrite your patched freetype. I use patched freetype but I don't use slackpkg, just plain rsync:
Code:
rsync -ahvz --progress --stats --delete-after --exclude="kernel-source*" --exclude="freetype*" --exclude="mozilla-firefox*" rsync://ftp.nara.wide.ad.jp/pub/Linux/slackware/slackware-14.0/patches/packages/ .
Thanks, I put freetype* in /etc/slackpkg/blacklist.

Now if there was an update to freetype, would slackpkg show it or not..(and how would I know if there was an update or not without checking manually myself if slackpkg didnt show it)..
Perhaps I would have to rebuild the freetype package with the updated source if a new version came out..
 
Old 01-01-2014, 01:09 PM   #441
BratPit
Member
 
Registered: Jan 2011
Posts: 46

Rep: Reputation: 6
Hi

Even Without infinality

noto sans fonts looks fantastic

http://www.binarytides.com/gorgeous-...-ubuntu-linux/
 
1 members found this post helpful.
Old 03-04-2014, 07:58 PM   #442
André0991
LQ Newbie
 
Registered: Jul 2008
Location: São Paulo
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by dugan View Post
I have FreeType rebuilt with the above patch

I have the following in /etc/fonts/conf.d:
  • 10-sub-pixel-rgb.conf
  • 11-lcdfilter-default.conf

...

It's not Infinality, but it's good enough for me.

I would like to know how to get 10-sub-pixel-rgb.conf and 11-lcdfilter-default.conf.

After applying the patch, I ran "upgradepkg --install-new --reinstall /tmp/freetype-2.5.0.1-x86_64-1.txz". Is this correct? I've read the man page of upgradepkg, but I'm not sure.

Thanks.
 
Old 03-05-2014, 12:33 PM   #443
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,903

Rep: Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541Reputation: 1541
Quote:
Originally Posted by André0991 View Post
I would like to know how to get 10-sub-pixel-rgb.conf and 11-lcdfilter-default.conf.

After applying the patch, I ran "upgradepkg --install-new --reinstall /tmp/freetype-2.5.0.1-x86_64-1.txz". Is this correct? I've read the man page of upgradepkg, but I'm not sure.
1. Those two files are installed by default on Slackware 14.1. They're in /etc/fonts/conf.avail. You can symlink them into /etc/fonts/conf.d.

2. I just do "upgradepkg /tmp/freetype-2.5.0.1-x86_64-1.txz"
 
Old 03-05-2014, 01:23 PM   #444
André0991
LQ Newbie
 
Registered: Jul 2008
Location: São Paulo
Distribution: Slackware
Posts: 15

Rep: Reputation: 0
Quote:
Originally Posted by dugan View Post
1. Those two files are installed by default on Slackware 14.1. They're in /etc/fonts/conf.avail. You can symlink them into /etc/fonts/conf.d.

2. I just do "upgradepkg /tmp/freetype-2.5.0.1-x86_64-1.txz"
Got it.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
If I were to recompile & arch-optimize Slackware, where to begin? GrapefruiTgirl Slackware 124 06-22-2007 10:46 PM
How to Optimize Slackware 10.2? zeroz52 Slackware 23 10-04-2005 07:42 PM
How to fully optimize Slackware? Introx Slackware 4 05-30-2004 05:23 AM


All times are GMT -5. The time now is 03:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration