![]() |
2008-02-04
, 19:29
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#12
|
![]() |
2008-02-04
, 23:35
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#13
|
Both debian and maemo disagree with you. Dependency management is much of the point of a package system to begin with.
![]() |
2008-02-05
, 05:19
|
|
Posts: 1,012 |
Thanked: 817 times |
Joined on Jul 2007
@ France
|
#14
|
There is no reason for any developer to set up his own repo; we have garage extras, of which we should make as much use as possible.
![]() |
2008-02-07
, 23:33
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#15
|
![]() |
2008-02-08
, 07:58
|
|
Posts: 739 |
Thanked: 159 times |
Joined on Sep 2007
@ Germany - Munich
|
#16
|
![]() |
2008-02-08
, 12:35
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#17
|
![]() |
2008-02-08
, 17:16
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#18
|
And libc6 is usually there, at least running dpkg or apt without libc6 is quite tricky
![]() |
2008-02-08
, 17:48
|
|
Posts: 693 |
Thanked: 502 times |
Joined on Jul 2007
|
#19
|
![]() |
2008-02-08
, 21:59
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#20
|
One way of doing:
Local:
mkdir pool
mv *.deb pool/
In pool, create this file (genlist.sh)
#!/bin/sh
( cd .. ; dpkg-scanpackages pool /dev/null | gzip -9c > pool/Packages.gz ; )
my @fieldpri= ('Package',
'Source',
'Version',
'Priority',
'Section',
'Essential',
'Maintainer',
'Pre-Depends',
'Depends',
'Recommends',
'Suggests',
'Conflicts',
'Provides',
'Replaces',
'Enhances',
'Architecture',
'Filename',
'Size',
'Installed-Size',
'MD5sum',
'Description',
'Origin',
'Bugs',
'Maemo-Icon-26'
);
Server:
Create two directories:
/pool
/dists/chinook/user/binary-armel/ ( your repo will be reference like mine: chinook, user, only binary-armel and dists are mandatory afaik)
When you want to upload a new deb:
cd pool
./genlist.sh
Upload the new deb to remote pool/
Upload packages.gz to remote /dists/chinook/user/binary-armel/
That's it! no more excuse ;p
More dirty way:
Put the pool in binary-armel
A bit cleaner when you have too many packages, you can create a trivial subdirectory structure:
pool/lib -> libs
pool/a -> packages beginning with a
pool/b -> packages beginning with b
[..]
For this, use this script (that you can also put in directory pool, local)
#!/bin/bash
mv lib*.deb lib/ 2> /dev/null
ls -1 *.deb 2> /dev/null | while read i
do
l=${i:0:1}
mkdir -p $l
mv $i $l
done
If you want your application to be seen in app manager, it needs the user/ prefix on the section line in debian/control (take the binary package, not the source one)
Section: user/admin
If it's not there, people will need to dl it using apt-get or use red-pill.
If you want an icon in app manager:
Create a 26x26 png image and uuencode it:
cat icon.png | uuencode -m -
add a line in debian/control:
XB-Maemo-Icon-26: <here put the result of uuencode, no space, no end of line>
That was for creating a repo. Packaging for debian/fedora/.. on the other side is a vast subject... highly depends on the upstream sources.
Last edited by free; 2008-02-04 at 19:14.