You are not logged in.

#1 2013-12-18 12:34:42

tgessler
Member
Registered: 2013-04-08
Posts: 4

[solved] Obtaining sources for a specific package version (freetype2)

I am currently trying to understand a problem that I have with freetype2. The problem occurs whith a propietary program (Mentor Graphics Questa) after updating from freetype2-2.5.0.1-1-x86_64 to freetype2-2.5.0.1-2-x86_64. Please see my forum post at:

http://communities.mentor.com/mgcx/message/46777

At the moment I am using a local version of the library when running Questa, but I would like to know why the update breaks compatibility. When I run a diff between the two binary packages, I get:

Binary files 1/.MTREE and 2/.MTREE differ
diff -r 1/.PKGINFO 2/.PKGINFO
1,3c1,3
< # Generated by makepkg 4.1.1
< # using fakeroot version 1.19
< # Wed Jun 19 22:44:50 UTC 2013
---
> # Generated by makepkg 4.1.2
> # using fakeroot version 1.20
> # Fri Oct 11 16:47:15 UTC 2013
5c5
< pkgver = 2.5.0.1-1
---
> pkgver = 2.5.0.1-2
8c8
< builddate = 1371681890
---
> builddate = 1381510035
10c10
< size = 1777664
---
> size = 1781760
15a16
> depend = libpng
Binary files 1/usr/lib/libfreetype.so and 2/usr/lib/libfreetype.so differ
Binary files 1/usr/lib/libfreetype.so.6 and 2/usr/lib/libfreetype.so.6 differ
Binary files 1/usr/lib/libfreetype.so.6.10.2 and 2/usr/lib/libfreetype.so.6.10.2 differ

This doesn't tell me a lot, except that a dependency on libpng was added. Then I tried to get the sources for the two versions. I looked at:

https://projects.archlinux.org/svntogit … /freetype2

Unfortunately I only see a commit for 2.5.0.1, without the "-1" or "-2" by which the aforementioned versions differ. I couldn't find an explanation as to what these version suffixes mean. Is there a way to find out what exactly the difference between the two packages is?

Last edited by tgessler (2013-12-18 13:18:05)

Offline

#2 2013-12-18 12:45:06

µ ²
Member
Registered: 2013-12-17
Posts: 10

Re: [solved] Obtaining sources for a specific package version (freetype2)

AFAIK, those numbers are PKGBUILDs pkgrel.

Offline

#3 2013-12-18 12:49:10

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

Re: [solved] Obtaining sources for a specific package version (freetype2)

µ ² wrote:

AFAIK, those numbers are PKGBUILDs pkgrel.

That's right https://wiki.archlinux.org/index.php/Pkgbuild#pkgrel

tgessler wrote:

The problem occurs whith a propietary program (Mentor Graphics Questa) after updating from freetype2-2.5.0.1-1-x86_64 to freetype2-2.5.0.1-2-x86_64.

https://projects.archlinux.org/svntogit … 613eaaae18

Last edited by karol (2013-12-18 12:51:43)

Offline

#4 2013-12-18 13:16:41

tgessler
Member
Registered: 2013-04-08
Posts: 4

Re: [solved] Obtaining sources for a specific package version (freetype2)

That's it, thank you. I compiled the library before and after the commit which you linked. The before-version works, the after-version doesn't. So the omission of the --without-png flag seems to be the problem.

Offline

Board footer

Powered by FluxBB