Skip to content
This repository was archived by the owner on Sep 29, 2022. It is now read-only.

Commit ce62ca7

Browse files
committed
Add about: metadata for cairo, pango and their deps
Also build libxml2 python module since gtk-doc needs it and I had to regenerate glib's configure script and that wasn't possible without this module. Resync with the latest anaconda versions.
1 parent f9496f0 commit ce62ca7

File tree

18 files changed

+179
-77
lines changed

18 files changed

+179
-77
lines changed

automake/meta.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ test:
2020
about:
2121
home: http://www.gnu.org/software/automake/
2222
license: GPL3
23+
license_family: GPL3
2324
license_file: COPYING
2425
summary: Tool to automatically generate Makefile.in files
2526
description: |
2627
Automake automatically generates Makefile.in files compliant with
2728
the GNU Coding Standards. Note: Automake requires the use of Autoconf.
2829
doc_url: https://www.gnu.org/software/automake/#documentation
29-
30+
dev_url: http://savannah.gnu.org/git/?group=automake

cairo/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export CFLAGS="-I$PREFIX/include -L$PREFIX/lib"
3+
export CFLAGS=$CFLAGS" -I$PREFIX/include -L$PREFIX/lib"
44

55
# As of Mac OS 10.8, X11 is no longer included by default
66
# (See https://support.apple.com/en-us/HT201341 for the details).

cairo/meta.yaml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ source:
66
url: http://cairographics.org/releases/cairo-1.14.6.tar.xz
77
md5: 23a0b2f0235431d35238df1d3a517fdb
88

9-
build: [win]
10-
features: [win]
9+
build:
10+
features:
1111
- vc9 [win and py27]
1212
- vc10 [win and py34]
1313
- vc14 [win and py35]
@@ -33,4 +33,12 @@ requirements:
3333
about:
3434
home: http://cairographics.org/
3535
license: LGPL 2.1, MPL 1.1
36-
summary: Cairo is a 2D graphics library with support for multiple output devices.
36+
license_family: LGPL
37+
license_file: COPYING
38+
summary: A 2D graphics library with support for multiple output devices
39+
description: |
40+
Cairo is a 2D graphics library with support for multiple output devices.
41+
It is designed to produce consistent output on all output media while
42+
taking advantage of display hardware acceleration when available.
43+
doc_url: http://cairographics.org/documentation/
44+
dev_url: https://cgit.freedesktop.org/cairo/

fontconfig/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [[ $(uname) == Darwin ]]; then
77
export DYLD_FALLBACK_LIBRARY_PATH=${PREFIX}/lib
88
fi
99

10-
make V=1
10+
make
1111
make install
1212

1313
# Remove computed cache with local fonts

fontconfig/meta.yaml

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,35 @@ source:
1111

1212
requirements:
1313
build:
14-
- freetype >=2.5.2
15-
- libxml2
16-
- libpng
14+
- freetype 2.5.*
15+
- libxml2 2.9.*
16+
- libpng 1.6.*
17+
- libiconv 1.14.*
1718
- pkg-config
1819
run:
19-
- freetype >=2.5.2
20-
- libxml2
21-
- libpng
20+
- freetype 2.5.*
21+
- libxml2 2.9.*
22+
- libpng 1.6.*
23+
- libiconv 1.14.*
24+
25+
test:
26+
commands:
27+
- fc-cache --help
28+
- fc-cat --help
29+
- fc-list --help
30+
- fc-match --help
31+
- fc-pattern --help
32+
- fc-query --help
33+
- fc-scan --help
34+
- fc-validate --help
2235

2336
about:
24-
home: http://www.freedesktop.org/wiki/Software/fontconfig/
25-
license: BSD
37+
home: http://www.freedesktop.org/wiki/Software/fontconfig/
38+
license: BSD
39+
license_file: COPYING
40+
summary: A library for configuring and customizing font access
41+
description: |
42+
Fontconfig is a library designed to provide system-wide font configuration,
43+
customization and application access.
44+
doc_url: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html
45+
dev_url: https://cgit.freedesktop.org/fontconfig/

glib/build.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22

33
declare -a _extra_config
44

@@ -17,3 +17,10 @@ make install || exit 1
1717
cd $PREFIX
1818
sed -i.bak 's|lib/../lib64|lib|g' lib/*.la lib/pkgconfig/*.pc
1919
rm lib/*.la.bak lib/pkgconfig/*.pc.bak
20+
# The glib build system compiles these.
21+
# (meta.yaml must also refer to them in
22+
# build/skip_compile_pyc)
23+
rm -rf share/glib-2.0/codegen/*.pyc
24+
rm -rf share/glib-2.0/*.pyc
25+
rm -rf share/glib-2.0/gdb/*.pyc
26+
rm -rf share/gdb/auto-load/*

glib/meta.yaml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ source:
1111

1212
build:
1313
detect_binary_files_with_prefix: true
14+
skip_compile_pyc:
15+
- share/glib-2.0/codegen/*.py
16+
- share/glib-2.0/*.py
17+
- share/glib-2.0/gdb/*.py
1418

1519
requirements:
1620
build:
@@ -29,6 +33,15 @@ requirements:
2933
- pcre >=8.39 1
3034

3135
about:
32-
license: LGPL
3336
home: https://developer.gnome.org/glib/
34-
summary: "GLib provides the core application building blocks for libraries and applications written in C. "
37+
license: LGPL
38+
license_family: LGPL
39+
summary: Core application building blocks for libraries and applications in C
40+
description: |
41+
GLib provides the core application building blocks for libraries and
42+
applications written in C. It provides the core object system used in
43+
GNOME, the main loop implementation, and a large set of utility functions
44+
functions for strings and common data structures.
45+
doc_url: https://developer.gnome.org/glib/unstable/
46+
dev_url: https://git.gnome.org/browse/glib/
47+

libffi/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
#!/bin/bash
2+
13
./configure --prefix=$PREFIX || exit 1
24
make || exit 1
35
make install || exit 1
46

57
cd $PREFIX
68
rm -rf share
7-
mv lib/libffi-*/include include
9+
mv lib/libffi-*/include/* include/
810

911
if [[ $(uname -m) == x86_64 ]]; then
1012
if [[ -d lib64 ]]; then

libffi/meta.yaml

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,29 @@ package:
44

55
source:
66
url: ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
7-
sha1: 280c265b789e041c02e5c97815793dfc283fb1e6
7+
md5: 83b89587607e3eb65c70d361f13bab43
88

99
build:
1010
number: 1
11+
features:
12+
- vc9 [win and py27]
13+
- vc10 [win and py34]
14+
- vc14 [win and py35]
15+
16+
requirements:
17+
build:
18+
- python
19+
- posix [win]
20+
- jom [win]
1121

1222
about:
1323
home: https://sourceware.org/libffi/
14-
license: BSD
15-
license_family: BSD
16-
summary: Library supporting Foreign Function Interfaces
24+
license: MIT
25+
license_file: LICENSE
26+
summary: portable foreign-function interface library
1727
description: |
18-
The libffi library provides a portable, high level programming
19-
interface to various calling conventions. This allows a programmer
20-
to call any function specified by a call interface description
21-
at run-time
22-
dev_url: http://github.com/atgreen/libffi
28+
The libffi library provides a portable, high level programming interface
29+
to various calling conventions. This allows a programmer to call any
30+
function specified by a call interface description at run-time.
31+
doc_url: https://sourceware.org/libffi/
32+
dev_url: https://github.com/libffi/libffi

libxml2/build.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ if [[ $(uname) == Darwin ]]; then
44
EXTRA_ARGS="--without-threads"
55
fi
66

7-
./configure $EXTRA_ARGS --prefix=$PREFIX --without-python --with-iconv=$PREFIX --without-lzma
8-
make -j${CPU_COUNT}
7+
# Although lxml is recommended over libxml2, gtk-doc needs the
8+
# libxml2 python module and it has been asked for it on github.
9+
./configure ${EXTRA_ARGS} --prefix=${PREFIX} --with-python --with-iconv=${PREFIX} --without-lzma
10+
make
911
make install
12+
rm -rf ${PREFIX}/share/doc/libxml2-python-*

0 commit comments

Comments
 (0)