Package wafadmin :: Package Tools :: Module gnome
[hide private]
[frames] | no frames]

Module gnome

source code

Gnome support

Classes [hide private]
  gnome_doc_taskgen
  xml_to_taskgen
  gnome_sgml2man_taskgen
Functions [hide private]
 
postinstall_schemas(prog_name) source code
 
postinstall_icons() source code
 
postinstall_scrollkeeper(prog_name) source code
 
postinstall(prog_name='myapp', schemas=1, icons=1, scrollkeeper=1) source code
 
sgml_scan(self) source code
 
sig_implicit_deps(self)
override the Task method, see the Task.py
source code
 
add_marshal_file(self, filename, prefix, mode) source code
 
process_marshal(self) source code
 
add_dbus_file(self, filename, prefix, mode) source code
 
process_dbus(self) source code
 
process_enums(self) source code
 
add_glib_mkenum(self, source='', template='', target='')
just a helper
source code
 
detect(conf) source code
 
set_options(opt) source code
Variables [hide private]
  n1_regexp = re.compile('<refentrytitle>(.*)</refentrytitle>', ...
  n2_regexp = re.compile('<manvolnum>(.*)</manvolnum>', re.M)
  cls = Task.simple_task_type('sgml2man', '${SGML2MAN} -o ${TGT[...
  xslt_magic = """${XSLTPROC2PO} -o ${TGT[0].abspath(env)...
Function Details [hide private]

add_marshal_file(self, filename, prefix, mode)

source code 
Decorators:
  • @taskgen

process_marshal(self)

source code 
Decorators:
  • @taskgen
  • @before('apply_core')

add_dbus_file(self, filename, prefix, mode)

source code 
Decorators:
  • @taskgen

process_dbus(self)

source code 
Decorators:
  • @taskgen
  • @before('apply_core')

process_enums(self)

source code 
Decorators:
  • @taskgen
  • @before('apply_core')

add_glib_mkenum(self, source='', template='', target='')

source code 

just a helper

Decorators:
  • @taskgen

Variables Details [hide private]

n1_regexp

Value:
re.compile('<refentrytitle>(.*)</refentrytitle>', re.M)

cls

Value:
Task.simple_task_type('sgml2man', '${SGML2MAN} -o ${TGT[0].bld_dir(env\
)} ${SRC}  > /dev/null', color= 'BLUE')

xslt_magic

Value:
"""${XSLTPROC2PO} -o ${TGT[0].abspath(env)} \
--stringparam db2omf.basename ${APPNAME} \
--stringparam db2omf.format docbook \
--stringparam db2omf.lang C \
--stringparam db2omf.dtd '-//OASIS//DTD DocBook XML V4.3//EN' \
--stringparam db2omf.omf_dir ${PREFIX}/share/omf \
--stringparam db2omf.help_dir ${PREFIX}/share/gnome/help \
--stringparam db2omf.omf_in ${SRC[0].abspath(env)} \
...