Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pango.py « packages - github.com/mono/bockbuild.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 00ba8c2a51882111130a32e2a545da9d9607b7bd (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
class PangoPackage (GnomeXzPackage):

    def __init__(self):
        GnomePackage.__init__(self,
                              'pango',
                              version_major='1.35',
                              version_minor='0',
                              configure_flags=[
                                  '--without-x',
                                  '--enable-gtk-doc-html=no'
                              ]
                              )

        self.sources.extend([
            # 1
            # Bug 321419 - Allow environment var substitution in Pango config
            # https://bugzilla.gnome.org/show_bug.cgi?id=321419
            'patches/pango-relative-config-file.patch',

            # BXC 10257 - Characters outside the Basic Multilingual Plane don't render correctly
            # https://bugzilla.xamarin.com/show_bug.cgi?id=10257
            'patches/pango-coretext-astral-plane-1.patch',
            'patches/pango-coretext-astral-plane-2.patch',

            # Bug 15787 - Caret position is wrong when there are ligatures
            # https://bugzilla.xamarin.com/show_bug.cgi?id=15787
            'patches/pango-disable-ligatures.patch',

            # https://bugzilla.xamarin.com/show_bug.cgi?id=22199
            'patches/pango-fix-ct_font_descriptor_get_weight-crasher.patch',

            # https://bugzilla.gnome.org/show_bug.cgi?id=734372
            'patches/pango-coretext-condensed-trait.patch',

            # https://bugzilla.xamarin.com/show_bug.cgi?id=32938
            'patches/pango-coretext-fix-yosemite-crasher.patch',

            'patches/pango-system-font-single.patch',
            'patches/pango-system-font-check-version.patch',

            # https://devdiv.visualstudio.com/DevDiv/_workitems/edit/573960
            'patches/pango-get-shaper-for-ideographic-space.patch',

            'patches/pango-familyName.patch'
        ])

    def prep(self):
        GnomePackage.prep(self)
        if Package.profile.name == 'darwin':
            for p in range(1, len(self.local_sources)):
                self.sh('patch -p1 < "%{local_sources[' + str(p) + ']}"')

    def deploy(self):
        self.sh('pango-querymodules --update-cache')

PangoPackage()