[Bug 760765] New: build-tools/vala-m4 recipe prevents from using any libraries that ship .vapi files
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sun Jan 17 15:56:46 PST 2016
https://bugzilla.gnome.org/show_bug.cgi?id=760765
Bug ID: 760765
Summary: build-tools/vala-m4 recipe prevents from using any
libraries that ship .vapi files
Classification: Platform
Product: GStreamer
Version: git master
OS: Mac OS
Status: NEW
Severity: normal
Priority: Normal
Component: cerbero
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: marcin at saepia.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
recipes/build-tools/vala-m4.recipe contains the following install routines:
def install(self):
shutil.copyfile(os.path.join(self.build_dir, 'vapigen', 'vapigen.m4'),
os.path.join(self.config.install_dir, 'share',
'aclocal', 'vala.m4'))
shutil.copy(os.path.join(self.build_dir, 'vapigen',
'Makefile.vapigen'),
os.path.join(self.config.install_dir, 'share', 'vala'))
the last line effectively prevents from using any libraries that ship .vapi
files.
I wanted to add a library that ships its .vapi during make install stage to
standard directory: PREFIX/share/vala/vapi/libraryname.vapi
It fails while using cerbero if vala-m4 recipe was resolved as a dependency
because PREFIX/share/vala is not a directory (it's a file) so it fails to
create PREFIX/share/vala/vapi/ subdirectory.
I cannot understand rationale of copying Makefile.vapigen to PREFIX/share/vala
(it looks like something really non-standard to me) so I can't suggest any
resolution.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list