Package Details: fontconfig-git 2.11.94.r1772-1

Git Clone URL: https://aur.archlinux.org/fontconfig-git.git (read-only)
Package Base: fontconfig-git
Description: A library for configuring and customizing font access
Upstream URL: http://www.fontconfig.org/release/
Licenses: custom
Conflicts: fontconfig
Provides: fontconfig
Submitter: yuyichao
Maintainer: vorbote
Last Packager: vorbote
Votes: 5
Popularity: 0.000000
First Submitted: 2013-01-21 03:52
Last Updated: 2015-06-15 19:30

Required by (803)

Sources (2)

Latest Comments

vorbote commented on 2015-05-31 13:59

Ahhh.... NO! Python is needed *only* if you are using Jam to build freetype or compiling the python extensions, which FYI are a different package. I am definitely not using Jam to compile freetype.

IT is incredibly rude to post a comment and then file an out-of-date notification at the same time. Do you want to maintain this package? You are welcome to it, just ask nicely and you can have it.

Polarina commented on 2015-05-31 08:56

There is a missing build dependency: python2

yuyichao commented on 2013-04-24 01:54

I see no advantage using makepkg to download either

Scimmia commented on 2013-04-24 01:44

Which makes no sense whatsoever in an AUR PKGBUILD.

yuyichao commented on 2013-04-23 21:26

To test different branches.

Scimmia commented on 2013-04-23 21:01

And why, exactly, would you ever do that in a PKGBUILD?

yuyichao commented on 2013-04-23 11:53

No. Switching branches is (relatively) simple although your way will not work both because it has to be run before pkgver() (in order to get the right pkgver) and because a simple `git checkout` is not enough when you have patches.

Yes by switch URL what I really need is switching to a branch that only exists on another URL, and neither `git checkout`, nor anything without switching remote URL, can do that.

Scimmia commented on 2013-04-23 10:56

You're making such a big deal about changing the URL, what are you talking about? Just changing where HEAD is (branch or ref)? Simple, do a "git checkout" in the prepare function. Doing it this was is a bit ridiculous, and pkgver won't even be run.

yuyichao commented on 2013-04-12 22:21

I can fix other things. But still, the main problem is makepkg cannot change the url to fetch sources from without deleting original copy (So I will not use the git url in source array unless this is fixed).

Earnest commented on 2013-04-12 22:14

It sounds like you're trying to apply patches and edit the source which makepkg has downloaded instead of in a local git directory.

At any rate here's my final (personal) PKGBUILD: http://ix.io/59W/sh

PS: Please don't use pkgbase [1] "fontconfig" (this is not a split package, nor would you use this for split packages on the AUR) and please update the maintainer field.

[1]: https://wiki.archlinux.org/index.php/Pkgbuild#pkgbase

yuyichao commented on 2013-04-12 20:54

If I change the url without deleting the cache, makepkg will complain about it is not a clone of the repository.

There is nothing to do with prepare, I am talking about resetting before fetching (and I am not sure if makepkg cannot do this, although it is very likely that it cannot).

`git reset` is for resetting current work directory to a commit so that git will not complaining about uncommit change due ty patches.

`git clean` is for removing possible files introducing by patches (or the patch will fail). It is also very helpful to clean up build files no matter which build system the package is using, especially for build system like autotool where out-of-source build are always problematic and make clean/distclean may not enough.

For pkgver(), I will try to figure out one scheme to use later. But since makepkg cannot automatically fetch the source for me and therefore I will have to do that myself, that's not my priority.

Earnest commented on 2013-04-12 20:25

There is nothing preventing you from using `git --reset' in the `build()' function.

You should use the `prepare()' function for patches.

Also please don't use the date for the `pkgver()' as it is next to useless and should only be used if there are no other alternatives.

PS: I don't understand why you're doing `git --reset' or `git -fdx' either.

yuyichao commented on 2013-04-12 14:30

And I am also not sure if makepkg support reset before fetching either, which is necessary for packages with patches.

yuyichao commented on 2013-04-12 14:27

No I mean changing url/branch/ref in PKGBUILD without removing srcdir of a previous build.

Earnest commented on 2013-04-12 14:24

I'm sorry, what exactly do you mean by "url switch"?

Are you referring to branches? If that's the case you can use branches (fragments) by simply appending `#branch=<foobar>' to the source url.

yuyichao commented on 2013-04-12 01:53

I will NOT use the "new" cvs downloading method provided in pacman 4.1 since it doesn't support features like switch url. I am uploading a new PKGBUILD to fix the regression of updating package version though.

Earnest commented on 2013-04-11 22:40

pacman 4.1 updated PKGBUILD: http://ix.io/58u