1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-13 13:17:36 +03:00
Commit Graph

10 Commits

Author SHA1 Message Date
David Seifert
d9335077dd
Use AM_PATH_PYTHON/PKG_CHECK_MODULES for python bindings
* `AM_PATH_PYTHON` is a much more common idiom for building
  and installing python modules than writing your own.
* It also makes cross-compiling the python bindings possible.
  Previously the `PYTHON_CFLAGS`/`PYTHON_LIBS` would have been
  based on the `--build` python and not the `--host` python.
  By using `pkg-config`, we can always redirect the python-X.Y.pc.

Bug: https://bugs.gentoo.org/582130
2022-03-29 13:37:16 +02:00
Nick Wellnhofer
731b506409 Add some generated test files to .gitignore 2019-01-06 14:25:18 +01:00
Nikolai Weibull
3c614191aa Add compile and libxml2-config.cmake to .gitignore 2018-11-29 20:59:55 +01:00
Nick Wellnhofer
d1505ef57a Update .gitignore for Windows 2017-10-09 14:35:56 +02:00
Nick Wellnhofer
0c91391683 Remove generated file python/setup.py from version control 2017-10-07 15:22:57 +02:00
Daniel Veillard
215a729645 Extend gitignore 2013-03-30 22:33:05 +08:00
Daniel Veillard
549f06a8bd Expand .gitignore with more files 2012-07-11 15:21:12 +08:00
Denis Pauk
868d92da89 Add HTML parser support for HTML5 meta charset encoding declaration
For https://bugzilla.gnome.org/show_bug.cgi?id=655218

http://www.w3.org/TR/2011/WD-html5-20110525/semantics.html#the-meta-element

"""
The charset attribute specifies the character encoding used by the document.
This is a character encoding declaration. If the attribute is present in an XML
document, its value must be an ASCII case-insensitive match for the string
"UTF-8" (and the document is therefore forced to use UTF-8 as its
encoding).
"""

However, while <meta http-equiv="Content-Type" content="text/html;
charset=utf8"> works, <meta charset="utf8"> does not.

While libxml2 HTML parser is not tuned for HTML5, this is a simple
addition

Also added a testcase
2012-05-10 15:34:57 +08:00
Daniel Veillard
04b489cda3 Augment the list of ignored files 2012-01-22 17:35:17 +08:00
Daniel Veillard
1e52172358 Adding a .gitignore to avoid status pollution 2009-10-07 10:24:42 +02:00