Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: create.patch.sh
===================================================================
--- create.patch.sh	(nonexistent)
+++ create.patch.sh	(revision 113)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+VERSION=1.23.0
+
+tar --files-from=file.list -xJvf ../pycairo-$VERSION.tar.xz
+mv pycairo-$VERSION pycairo-$VERSION-orig
+
+cp -rf ./pycairo-$VERSION-new ./pycairo-$VERSION
+
+diff --unified -Nr  pycairo-$VERSION-orig  pycairo-$VERSION > pycairo-$VERSION-sphinx6.patch
+
+mv pycairo-$VERSION-sphinx6.patch ../patches
+
+rm -rf ./pycairo-$VERSION
+rm -rf ./pycairo-$VERSION-orig

Property changes on: create.patch.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: file.list
===================================================================
--- file.list	(nonexistent)
+++ file.list	(revision 113)
@@ -0,0 +1 @@
+pycairo-1.23.0/docs/conf.py
Index: pycairo-1.23.0-new/docs/conf.py
===================================================================
--- pycairo-1.23.0-new/docs/conf.py	(nonexistent)
+++ pycairo-1.23.0-new/docs/conf.py	(revision 113)
@@ -0,0 +1,67 @@
+# -*- coding: utf-8 -*-
+
+import os
+import sys
+
+from sphinx.util import logging
+
+# https://github.com/sphinx-doc/sphinx/issues/10112
+logging.getLogger('sphinx.ext.extlinks').setLevel(40)
+
+dir_ = os.path.dirname(os.path.realpath(__file__))
+
+
+def exec_module(path):
+    import importlib.machinery
+    loader = importlib.machinery.SourceFileLoader("cairo", path)
+    return loader.load_module()
+
+
+sys.modules["cairo"] = exec_module(os.path.join(dir_, "..", "cairo", "__init__.pyi"))
+
+extensions = [
+    'sphinx.ext.intersphinx',
+    'sphinx.ext.extlinks',
+    'sphinx.ext.autodoc',
+]
+intersphinx_mapping = {
+    'python3': ('https://docs.python.org/3', None),
+}
+source_suffix = '.rst'
+master_doc = 'index'
+project = u'Pycairo'
+html_show_copyright = False
+exclude_patterns = ['_build']
+pygments_style = 'sphinx'
+html_theme = "sphinx_rtd_theme"
+html_theme_options = {
+    "display_version": False,
+}
+html_context = {
+    'extra_css_files': [
+        '_static/extra.css',
+    ],
+}
+
+html_static_path = [
+    "extra.css",
+]
+
+extlinks = {
+    'fdobug': ('https://bugs.freedesktop.org/show_bug.cgi?id=%s', '#fdo-%s'),
+    'bug': ('https://github.com/pygobject/pycairo/issues/%s', '#%s'),
+    'pr': ('https://github.com/pygobject/pycairo/pull/%s', '#pr-%s'),
+    'user': ('https://github.com/%s', '%s'),
+}
+suppress_warnings = ["image.nonlocal_uri"]
+
+autoclass_content = 'class'
+
+autodoc_default_options = {
+    'member-order': 'bysource',
+}
+
+autodoc_type_aliases = {
+    '_PathLike': 'cairo._PathLike',
+    '_FileLike': 'cairo._FileLike',
+}