Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 11 guests | Time: 09:36
make install works, upkg-build doesn't work
paldo Support Forum    Upkg    Package Specifications
Reply Reply   Subscribe Topic Subscribe Topic
3 posts found.
 make install works, upkg-build doesn't work
Junior Mitglied
 
 
 
Posts: 32
Registered: 2008-10-22
Again I seem to miss something obvious.

Trying to learn how to create source code packages with upkg, I started with a simple case (at least I thought so), with boxes (http://boxes.thomasjensen.com/).

The Makefile in the source code just creates the binary and the manpage, you have to install them manually. So I added some documentation, then edited the Makefile and added an install entry and an uninstall entry. The commands "make", "make install" and "make uninstall" work flawlessly. So far, so good.

I then made the tarball with tar cPvjf (tried tar cvjf as well) boxes-paldo-1.11.tar.bz2 and put it into the sources directory of my local repository. then I wrote a spec named boxes-paldo.xml like shown at the end of this posting.

When I now say upkg-build (as root), I get:

upkg-build boxes-paldo
Generating script...
Writing script...
Executing script...
System already up-to-date.

It does not install anything nor writes it a logfile. Up to now I *think* that I followed the instructions in

http://www.paldo.org/wiki/HowtoBuildPackage#A_concrete_problem

What am I doing wrong?

erch


Here is my spec boxes-paldo.xml:

<?xml version="1.0"?>
<package name="boxes-paldo">
<description>boxes - draws any kind of box around some given text. Packed for Paldo</description>
<releases>
<release version="1-11" revision="1" branch="testing">
<settings>
</settings>
<deps>
</deps>
<build>
<script>
<archive name="boxes-paldo-$VERSION">
<cmd>make -j 2</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
</release>
</releases>
</package>
Profile   Private Message   E-Mail
Created: 2008-12-21 15:15
Highlight selected Text   Edit   Delete   Quote Reply
 Re: make install works, upkg-build doesn't work
Junior Mitglied
 
 
 
Posts: 32
Registered: 2008-10-22
I restarted the process several time from scratch (after making a pause) now it works, and I think I've understood at least the essentials.

I wonder (ich spiele mit dem Gedanken) whether I could contribute packages to paldo. (The boxes package for example.) The tutorial http://www.paldo.org/wiki/Wie_man_ein_Main-Repository_Maintainer_wird (being german) seems relatively straightforward to me, I'd have some questions, though. Concerning the addition of extra documentation to the source code, e.g. a german translation of the manpage, or contacting the author of the source code, or whether I should have an extra clean-installed system to test the packages etc. Is this forum the right place to put them? Is there someone who has the resources/time to act as my trainer?

erich
Profile   Private Message   E-Mail
Created: 2008-12-21 21:17
Highlight selected Text   Edit   Delete   Quote Reply
 Re: make install works, upkg-build doesn't work
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I can help you out. I'm from germany and one of the maindevelopers of paldo. Also most of the guides are from me at the wiki. Write me an email or try to find me in the irc-chan so we can talk ...
Profile   Private Message   E-Mail
Created: 2008-12-22 18:09
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a