/usr/lib/python2.7/dist-packages/PyKDE4/pykdeconfig.py is in python-kde4 4:4.14.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | # Copyright (c) 2004
# Riverbank Computing Limited <info@riverbankcomputing.co.uk>
# Jim Bublitz <jbublitz@nwinternet.com>
#
# This file is part of PyKDE.
#
# This copy of PyKDE is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation; either version 2, or (at your option) any later
# version.
#
# PyKDE is supplied in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# PyKDE; see the file LICENSE. If not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
# This module is intended to be used by the configuration scripts of extension
# modules that %Import PyKDE modules.
import sipconfig, PyQt4.pyqtconfig
# These are installation specific values created when PyKDE was configured.
#
kde_version_parts = '4.14.0'.split('.')
kde_version_hex = int(kde_version_parts[0])*65536 + int(kde_version_parts[1])*256 + int(kde_version_parts[2])
_pkg_config = {
'dist_name': '',
'kde_version': kde_version_hex,
'kde_version_extra': '',
'kde_version_sfx': '',
'kde_version_str': '4.14.0',
'kdebasedir': '/usr',
'kdeincdir': '/usr/include',
'kdelibdir': '/usr/lib',
'konsolepart': 'False',
'libdir': 'lib',
'pykde_kde_sip_flags': ' -t ALL -t WS_X11 -t Qt_4_8_6 -X VendorID -X PyQt_NoPrintRangeBug -P;-g;-x;PyKDE_QVector;-x;Py_v3;-x;PyKDE_GLuint',
'pykde_mod_dir': '/usr/lib/python2.7/dist-packages/PyKDE4',
'pykde_modules': '',
'pykde_sip_dir': '/usr/share/sip/PyKDE4',
'pykde_version': kde_version_hex,
'pykde_version_str': '4.14.0'
}
_default_macros = None
class Configuration(PyQt4.pyqtconfig.Configuration):
"""The class that represents PyQt configuration values.
"""
def __init__(self, sub_cfg=None):
"""Initialise an instance of the class.
sub_cfg is the list of sub-class configurations. It should be None
when called normally.
"""
if sub_cfg:
cfg = sub_cfg
else:
cfg = []
cfg.append(_pkg_config)
PyQt4.pyqtconfig.Configuration.__init__(self, cfg)
class KdecoreModuleMakefile(PyQt4.pyqtconfig.QtCoreModuleMakefile):
"""The Makefile class for modules that %Import kdecore.
"""
def finalise(self):
"""Finalise the macros.
"""
PyQt4.pyqtconfig.QtCoreModuleMakefile.finalise(self)
class SolidModuleMakefile(KdecoreModuleMakefile):
"""The Makefile class for modules that %Import kdesu.
"""
def finalise(self):
"""Finalise the macros.
"""
KdecoreModuleMakefile.finalise(self)
class KdefxModuleMakefile(SolidModuleMakefile):
"""The Makefile class for modules that %Import kdefx.
"""
def finalise(self):
"""Finalise the macros.
"""
SolidModuleMakefile.finalise(self)
class KdeuiModuleMakefile(KdefxModuleMakefile):
"""The Makefile class for modules that %Import kdeui.
"""
def finalise(self):
"""Finalise the macros.
"""
KdefxModuleMakefile.finalise(self)
class KioModuleMakefile(KdeuiModuleMakefile):
"""The Makefile class for modules that %Import kio.
"""
def finalise(self):
"""Finalise the macros.
"""
KdeuiModuleMakefile.finalise(self)
class KpartsModuleMakefile(KioModuleMakefile):
"""The Makefile class for modules that %Import kparts.
"""
def finalise(self):
"""Finalise the macros.
"""
KioModuleMakefile.finalise(self)
class KhtmlModuleMakefile(KpartsModuleMakefile):
"""The Makefile class for modules that %Import khtml.
"""
def finalise(self):
"""Finalise the macros.
"""
KpartsModuleMakefile.finalise(self)
class KdeprintModuleMakefile(KhtmlModuleMakefile):
"""The Makefile class for modules that %Import kdeprint.
"""
def finalise(self):
"""Finalise the macros.
"""
KhtmlModuleMakefile.finalise(self)
|