All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Resubmit TI DSP build issues related to installer
@ 2012-01-31 12:40 Peter A. Bigot
  2012-01-31 12:40 ` [PATCH 1/4] ti-eula-unpack: remove extraneous newline in cmd output Peter A. Bigot
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Peter A. Bigot @ 2012-01-31 12:40 UTC (permalink / raw)
  To: meta-ti

From: "Peter A. Bigot" <bigotp@acm.org>

This patch set re-submits the (updated) uncommitted parts of my 27Dec2011
patch set to get gstreamer-ti and its dependencies to build in a pristine
work environment.  It was left back on 29Dec2011 with:

> I'm going to wait for Roger to get back from holidays to comment on the installer issues, I'll push the CE and dmai patches later today.

The installer issues are:

ti-eula-unpack spawns the installer, then writes canned input to it to do
things like set the output directory.  The function that does this
explicitly tacks a second newline on, in addition to the one normally added
by Python's print statement.

For ti-cgt6x, the result is that a bare newline is fed to the installer at
the point where the installation directory is requested, instead of the
workdir.  Hence, the default directory gets used; for this package, that's
in /opt/TI.

For ti-xdctools, ti-edma3lld, and ti-dspbios, the bare newline also caused
the default installation directory to be requested, but for this package
that's ${HOME}/ti.  Since ti-eula-unpack overrides the HOME environment
variable to be the work directory, everything somehow happened to work out,
at least for other folks.  I don't think that's a great solution though, so
I updated the recipes to do it "right", by changing the commands to conform
to what the current installers expect.  There may be other installation
recipes for other tools that need the same fixes.

For the 31Jan2012 attempt, similar changes had to be made to
ti-codecs-omap3530.

For the 31Jan2012 attempt, the ti-dmai build required more than just
altering the striplevel: the ${S} value had to be changed since there was no
Makefile at its original value.  There is still an issue that prevents use
of where make 3.85 produces a "Entering an unknown directory" failure in
do_install, but that's an upstream problem: I just used make 3.81 to
complete the build.

Peter A. Bigot (4):
  ti-eula-unpack: remove extraneous newline in cmd output
  various: fix installation directories for corrected ti-eula-unpack
  ti-codecs-omap3530: fix for corrected ti-eula-unpack
  ti-dmai_svn: correct path within svn checkout

 recipes-ti/bios/ti-dspbios.inc                     |    3 ++-
 .../codec-engine/ti-codecs-omap3530_4.00.00.00.bb  |   20 ++++++++++----------
 recipes-ti/devtools/ti-xdctools.inc                |    3 ++-
 recipes-ti/dmai/ti-dmai_svn.bb                     |    9 ++++++---
 recipes-ti/edma3lld/ti-edma3lld.inc                |    3 ++-
 recipes-ti/includes/ti-eula-unpack.inc             |    2 +-
 6 files changed, 23 insertions(+), 17 deletions(-)

-- 
1.7.6.4



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-02-15 15:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31 12:40 [PATCH 0/4] Resubmit TI DSP build issues related to installer Peter A. Bigot
2012-01-31 12:40 ` [PATCH 1/4] ti-eula-unpack: remove extraneous newline in cmd output Peter A. Bigot
2012-02-15 15:11   ` Monk, Roger
2012-01-31 12:40 ` [PATCH 2/4] various: fix installation directories for corrected ti-eula-unpack Peter A. Bigot
2012-02-15 15:11   ` Monk, Roger
2012-01-31 12:40 ` [PATCH 3/4] ti-codecs-omap3530: fix " Peter A. Bigot
2012-02-15 15:11   ` Monk, Roger
2012-01-31 12:40 ` [PATCH 4/4] ti-dmai_svn: correct path within svn checkout Peter A. Bigot
2012-02-15 15:11   ` Monk, Roger
2012-02-01  0:45 ` [PATCH 0/4] Resubmit TI DSP build issues related to installer Monk, Roger
2012-02-01 20:41   ` Peter Bigot
2012-02-15 15:11     ` Monk, Roger
2012-02-15 15:32       ` Peter Bigot
2012-02-11  4:03   ` Denys Dmytriyenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.