You are not logged in.

#1 2013-10-22 13:19:08

stee1rat
Member
Registered: 2013-10-22
Posts: 70

Installing fontconfig-infinality from AUR

Hello guys!

It is probably the dumbest question ever, but I'm new to Arch and I am kind of stack here, so please help.

I'm trying to install the infinality fonts on my system, 'cause the default ones look awful for me. According to Font Configuration wiki page I have to install 3 packages: freetype2-infinality, which I've installed without any problems following Arch User Repository wiki page, lib32-freetype2-infinality and fontconfig-infinality. The last two packages I'm not able install, because the command makepkg -S doesn't generate any *.tar.xz file, which I supposed to install with pacman -S command.

Please, give me an advice on how to install these packages.

Thanks in advance and sorry for my bad English.

Last edited by stee1rat (2013-10-22 13:20:48)

Offline

#2 2013-10-22 13:24:40

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Installing fontconfig-infinality from AUR

Note there is a difference between `makepkg -s` and `makepkg -S`.  You should use the former.

Also you would not install these packages with `pacman -S` but rather with `pacman -U`.  Check out the pacman man page to see why.

So in short:

cd /path/to/downloaded/aur/package/
makepkg -s
pacman -U package-name-ver-rel.pkg.tar.xz

Also note that the last two commands can be combined with the convenient -i flag to makepkg, so those could be `makepkg -si` which will install any needed dependencies, build the package, then install it properly with pacman.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-10-22 13:54:44

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Installing fontconfig-infinality from AUR

I don't know how much you know about fontconfig, freetype, cairo, infinality, etc.  But if you want hassle free, infinality patched fonts and configurations, you should check out bohoomil's infinality-bundle and infinaility-bundle-fonts. 

https://wiki.archlinux.org/index.php/Fo … repository
https://bbs.archlinux.org/viewtopic.php?id=170976
https://bbs.archlinux.org/viewtopic.php?id=162098

Offline

#4 2013-10-22 14:24:09

stee1rat
Member
Registered: 2013-10-22
Posts: 70

Re: Installing fontconfig-infinality from AUR

Thanks, Trilby! Now it's working! I don't know why I decided to use the upper S. Even wiki is talking about lower s. smile
Will it update automatically (with pacman -Syu) when the AUR package will be updated?

WonderWoofy, I don't know much about all these font things and I've noticed these bundle packages in the Font Configuration wiki, I just wanted to do everything by myself. Thank you very much for your answer!

Offline

#5 2013-10-22 14:27:01

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Installing fontconfig-infinality from AUR

Yeah, I too thought I wanted to do all that crap myself and learn how it works... until I started playing with it.  Then I realized that font configuration is a real pain in the ass.

If you're going to go down that route though, there is a tool in the AUR that allows you to change infinality settings and see the effect in real time.  ...and with a quick search, it is the grip-git package.

Offline

#6 2013-10-22 14:27:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing fontconfig-infinality from AUR

stee1rat wrote:

Will it update automatically (with pacman -Syu) when the AUR package will be updated?

No. Please read up on how the AUR works.
If you installed packages from the AUR, you have to update them yourself.
If you're using an official or unofficial repo, running 'pacman -Syu' is all you have to do.

Last edited by karol (2013-10-22 14:28:37)

Offline

#7 2013-10-24 14:14:05

stee1rat
Member
Registered: 2013-10-22
Posts: 70

Re: Installing fontconfig-infinality from AUR

Thanks for your answers, guys!
I've found out about yaourt to update AUR packages.

Offline

#8 2013-10-24 14:32:59

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Installing fontconfig-infinality from AUR

AUR helpers can be handy tools.  But just be aware that because they are not officially supported solutions, there is a good chance that you will run into problems with them in the future.  Though the chances can be somewhat diminished if you actually use yaourt for updating the AUR only, and then use pacman for the official repos.  When things do go awry though, having a decent understanding of how to use the underlying tools would be essential.

In other words, yauort, packer, aurget, etc may be nice conveniences, but it doesn't replace the need to understand how to use makepkg manually.

Offline

#9 2013-10-24 14:36:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing fontconfig-infinality from AUR

stee1rat wrote:

Thanks for your answers, guys!
I've found out about yaourt to update AUR packages.

There are some other helpers you might like even better https://wiki.archlinux.org/index.php/AUR_Helpers

Offline

#10 2013-10-24 14:46:01

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Installing fontconfig-infinality from AUR

karol wrote:
stee1rat wrote:

Thanks for your answers, guys!
I've found out about yaourt to update AUR packages.

There are some other helpers you might like even better https://wiki.archlinux.org/index.php/AUR_Helpers

BTW, I use cower, which just downloads the srcpackage tarball (the *src.tar.gz) and unpacks it for you. It also provides some amaingly fast and efficient search functionality, has basic dependency resolution (it can download the srcpackage and any other AUR srcpackages it depends on), and is capable of updates.  On top of all that awesomeness, it is written in C, so it it super snappy, and it maintained by falconindy, who is an Arch dev.

When I get lazy, as we all do, I use meat-git.  Really using meat is actually using cower, but it is just a bash wrapper that also builds the packages for you.  I mostly use it if I have serveral AUR packages that need updating.

Offline

#11 2013-10-25 00:30:22

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: Installing fontconfig-infinality from AUR

Also, cower can tell you which of your AUR packages need updating.

I'd second the recommendation of the infinality bundle for fonts, though. And I say that as somebody who does actually know a little bit about fonts albeit in a slightly different context.

Last edited by cfr (2013-10-25 00:30:35)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#12 2013-10-28 03:55:04

stee1rat
Member
Registered: 2013-10-22
Posts: 70

Re: Installing fontconfig-infinality from AUR

But why using cower if yaourt could do all the work for you ? I mean it can even install packages by itself.
What problems could using of yaourt cause?

Offline

#13 2013-10-28 10:45:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,456
Website

Re: Installing fontconfig-infinality from AUR

stee1rat wrote:

But why using cower if yaourt could do all the work for you ? I mean it can even install packages by itself.
What problems could using of yaourt cause?

A brief search of the forums will give you countless answers to that question.  First, yaourt often just breaks things for no clear reason, like here.

Second, as mentioned here, yaourt hide's too many steps, so when (not if) something goes wrong, a yaourt user who has never used a less-hand-holding method will be clueless on how to proceed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB