RE: Intergrating autopackage in Starez
"Eugene Zolenko" <EugeneZolenko-XYgkjQFSZqy1Z/[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
Make AutopackageTarget to be 1.2 (although that seems to be unrelated).
Also, make sure your default.apspec is located in the same directory as
your data (bin, skins, etc), that's where import looks for the files.
Better way is to have something like this:
[BuildPrepare]
SPECDIR="$(pwd)"
echo "Looking for data in: ${SPECDIR}"
[...]
[Imports]
{
echo "${SPECDIR}/bin"
echo "${SPECDIR}/data"
echo "${SPECDIR}/icons"
[etc...]
} | import
And make sure the data is where it looks for it.
________________________________
From: Hylke Donker [mailto:[email protected]]
Sent: Wednesday, September 05, 2007 12:34 PM
To: autopackage-dev-OfajU3CKLf1/[email protected]
Subject: Re: Intergrating autopackage in Starez
When I tried to build a package with makepackage I got this error:
-- Begin --
Building installer for
/home/hylke/dev-department/starez/src/client/autopackage/default.apspec
apkg-bashlib: line 595: echo: write error: Broken pipe
Importing files to /tmp/apkg-payload-dir12168-30374/
cp: cannot stat `*': No such file or directory
FailedCould not extract files: *
Perhaps you need to update the specfile? The following files are in that
directory:
Importing failed.
-- End --
Could this be because my prepareBuild en prepareUnBuild sections are
empty? Because the program I try to package doesn't use ./configure etc
because it's made in Python.
I have attached my specfile. Any idea what I could be doing wrong?
Thanks in advance,
Hylke
On 9/3/07, Hylke Donker < [email protected]
<mailto:[email protected]> > wrote:
Ah ok. That clears it up. Thanks.
Hylke
On 9/3/07, Isak Savo < [email protected] <mailto:[email protected]>
> wrote:
2007/9/3, Hylke Donker <[email protected]>:
> I just noticed that I don't have the programs installed that are
documented
> on http://autopackage.org/api/index.html although I do have
> the Developer tools package installed.
> Any idea what I could have done wrong?
I think you're confusing "programs" vs "bash functions". I did the
same thing first time :-)
copyFiles, require, installDesktop, etc. are functions that are
defined in the autopackage support code (main/share/apkg-*) and are
available to your apspec scripts.
-Isak
---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]