blob: 3ab66468a73eca7e1044c328b39d5939be7e2aac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
class PangoPackage (GnomePackage):
def __init__ (self):
GnomePackage.__init__ (self,
'pango',
version_major = '1.29',
version_minor = '4',
configure_flags = [
'--without-x'
]
)
self.sources.extend ([
# patch from bgo#321419
'http://bugzilla-attachments.gnome.org/attachment.cgi?id=96023',
# CoreText: stricter handling of FontSymbolic traits
'http://git.gnome.org/browse/pango/patch/?id=cce4c9f84350bb53371323ab96ccf9245e014f75',
# Get _pango_get_lc_ctype from system prefs on Mac OS X
'http://git.gnome.org/browse/pango/patch/?id=c21b1bfe1278de08673c495ba398fbdee874a778',
# Bug 647969 - CoreText backend needs proper font fallback/coverage support
# https://bugzilla.gnome.org/show_bug.cgi?id=647969
# 'http://bugzilla-attachments.gnome.org/attachment.cgi?id=201356',
# Bug 664125 - Zero-width spaces cause missing characters
'http://bugzilla-attachments.gnome.org/attachment.cgi?id=202190',
])
def prep (self):
GnomePackage.prep (self)
self.sh ('patch -p0 < "%{sources[1]}"')
if Package.profile.name == 'darwin':
for p in range (2, len (self.sources)):
self.sh ('patch -p1 < "%{sources[' + str (p) + ']}"')
PangoPackage ()
|