aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/telepathy/telepathy-mission-control_4.21.bb
blob: 6d43b805bde5f0236b1e401446d0ae283940d66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Com
DESCRIPTION = "Telepathy Mission Control"
HOMEPAGE = "http://mission-control.sourceforge.net/"
LICENSE = "LGPL"
SECTION = "libs"
DEPENDS = "libtelepathy dbus-glib gconf"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/mission-control/telepathy-mission-control-${PV}.tar.gz"

inherit autotools pkgconfig

PACKAGES =+ " \
	libmissioncontrol \
	libmissioncontrol-config \
	libmissioncontrol-server \
	libmissioncontrol-dev \
	libmissioncontrol-config-dev \
	libmissioncontrol-server-dev \
	libmissioncontrol-dbg \
	libmissioncontrol-config-dbg \
	libmissioncontrol-server-dbg \
"

FILES_${PN} += "${datadir}/dbus*"

FILES_libmissioncontrol = "${libdir}/libmissioncontrol.so.*"
FILES_libmissioncontrol-config = "${libdir}/libmissioncontrol-config.so.*"
FILES_libmissioncontrol-server = "${libdir}/libmissioncontrol-server.so.*"

FILES_libmissioncontrol-dev = "${libdir}/libmissioncontrol.* \
                               ${includedir}/libmissioncontrol/ \
                	       ${libdir}/pkgconfig/libmissioncontrol.pc"
FILES_libmissioncontrol-config-dev = "${libdir}/libmissioncontrol-config.*"
FILES_libmissioncontrol-server-dev = "${libdir}/libmissioncontrol-server.*"

FILES_libmissioncontrol-dbg += "${libdir}/.debug/libmissioncontrol.so.*"
FILES_libmissioncontrol-config-dbg += "${libdir}/.debug/libmissioncontrol-config.so.*"
FILES_libmissioncontrol-server-dbg += "${libdir}/.debug/libmissioncontrol-server.so.*"

do_stage() {
        autotools_stage_all
}
ass="n">action='store_true', dest='report_all', default=False, help="Report all changes, not just the default significant ones") parser.add_argument('-s', '---signatures', action='store_true', dest='sigs', default=False, help="Report list of signatures differing instead of output") parser.add_argument('-S', '--signatures-with-diff', action='store_true', dest='sigsdiff', default=False, help="Report on actual signature differences instead of output (requires signature data to have been generated, either by running the actual tasks or using bitbake -S)") parser.add_argument('-e', '--exclude-path', action='append', help="Exclude path from the output") parser.add_argument('-c', '--colour', choices=('yes', 'no', 'auto'), default="auto", help="Whether to colourise (defaults to auto)") parser.add_argument('revisions', default = ['build-minus-1', 'HEAD'], nargs='*', help=argparse.SUPPRESS) return parser def main(): parser = get_args_parser() args = parser.parse_args() if LooseVersion(git.__version__) < '0.3.1': sys.stderr.write("Version of GitPython is too old, please install GitPython (python-git) 0.3.1 or later in order to use this script\n") sys.exit(1) if len(args.revisions) > 2: sys.stderr.write('Invalid argument(s) specified: %s\n\n' % ' '.join(args.revisions[2:])) parser.print_help() sys.exit(1) if not os.path.exists(args.buildhistory_dir): sys.stderr.write('Buildhistory directory "%s" does not exist\n\n' % args.buildhistory_dir) parser.print_help() sys.exit(1) scripts_path = os.path.abspath(os.path.dirname(os.path.abspath(sys.argv[0]))) lib_path = scripts_path + '/lib' sys.path = sys.path + [lib_path] import scriptpath # Set path to OE lib dir so we can import the buildhistory_analysis module scriptpath.add_oe_lib_path() # Set path to bitbake lib dir so the buildhistory_analysis module can load bb.utils bitbakepath = scriptpath.add_bitbake_lib_path() if not bitbakepath: sys.stderr.write("Unable to find bitbake by searching parent directory of this script or PATH\n") sys.exit(1) if len(args.revisions) == 1: if '..' in args.revisions[0]: fromrev, torev = args.revisions[0].split('..') else: fromrev, torev = args.revisions[0], 'HEAD' elif len(args.revisions) == 2: fromrev, torev = args.revisions from oe.buildhistory_analysis import init_colours, process_changes import gitdb init_colours({"yes": True, "no": False, "auto": sys.stdout.isatty()}[args.colour]) try: changes = process_changes(args.buildhistory_dir, fromrev, torev, args.report_all, args.report_ver, args.sigs, args.sigsdiff, args.exclude_path) except gitdb.exc.BadObject as e: if not args.revisions: sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n") parser.print_help() else: sys.stderr.write('Specified git revision "%s" is not valid\n' % e.args[0]) sys.exit(1) for chg in changes: out = str(chg) if out: print(out) sys.exit(0) if __name__ == "__main__": main()