Hello community,
once again i need to ask Porteus users for help
this time i'm working on creating a simple text database containing packages from official repo which requires non binary dependencies not resolved automatically by Porteus Package Manager.
by 'non binary' dependency i mean python, perl or functional dependencies (basically - everything what can't be tracked by 'ldd' command)
example of missing python dependency:
wicd needs 'python' and following other python packages to work: dbus-python, pygobject, pycairo, pygtk
example of missing functional dependency:
k3b requires 'cdrdao' package otherwise wont be able to burn anything
truecrypt needs sudo for non root user
etc ....
my current database can be find here:
http://ponce.cc/porteus/x86_64/testing/EXTRA-DEPS.txt
please share your experience with unresolved deps while using PPM and i'll be happy to add other packages (and their extra deps) to the database.
this file will be used while constructing official repo for porteus-2.0 so hopefully all (binary/non binary) deps will be resolved in porteus-2.x releases.
sounds great but i need to obtain some help first.
btw: this topic is an example of troubles i'm trying to avoid in porteus-2.0 and later:
http://forum.porteus.org/viewtopic.php?f=81&t=1635
thanks in advance.
[Help] with resolving non binary deps in official repo
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
[Help] with resolving non binary deps in official repo
Please add [Solved] to your thread title if the solution was found.
Re: [Help] with resolving non binary deps in official repo
Kdenlive dependencies seems to be not resolved.
NjVFQzY2Rg==
- fanthom
- Moderator Team
- Posts: 5667
- Joined: 28 Dec 2010, 02:42
- Distribution: Porteus Kiosk
- Location: Poland
- Contact:
Re: [Help] with resolving non binary deps in official repo
this thread is for helping with resolving non binary deps (for reports like: module 'A' needs deps 'B' and 'C').
if you want to report missing deps then please post it here:
http://forum.porteus.org/viewtopic.php?f=46&t=1356
btw: PPM shows all deps resolved for kdenlive (47 packages):
http://oi47.tinypic.com/2wn71aa.jpg
Cheers
if you want to report missing deps then please post it here:
http://forum.porteus.org/viewtopic.php?f=46&t=1356
btw: PPM shows all deps resolved for kdenlive (47 packages):
http://oi47.tinypic.com/2wn71aa.jpg
Cheers
Please add [Solved] to your thread title if the solution was found.
-
- DEV Team
- Posts: 2109
- Joined: 09 Feb 2013, 09:55
- Distribution: APorteus-FVWM-ja-x86_64.iso
- Location: japan
Re: [Help] with resolving non binary deps in official repo
The name that is set at 'REQUIRED-OTHER:' is a package base name or package name ?
I think that for the libreoffice language pack case, it is better to set a package name.
============================================
Following test was done by multi-languages version PPM.
1.download libreoffice
/a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm.tar.gz
/a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm_langpack_ja.tar.gz
2.create test shell script in work directory
/home/guest/work/test.sh
test.sh
#====================
#! /bin/sh
PKG=`echo ${1##*/} | sed 's/.tar.gz//'`
tar -xzf $1
mkdir $2
cd $2
for RPM in `ls ../$PKG/RPMS/*.rpm`
do
rpm2cpio $RPM | cpio -dium
done
cd ../
rm dir2mod
ln -sf /opt/porteus-scripts/ppm/app/appCom dir2mod
./dir2mod $2 $2
rm dir2mod
sed -i -r -e 's@^PACKAGE CATEGORY:.*$@PACKAGE CATEGORY: office@' $2/var/log/packages/$2
exit
#====================
3.perform test.sh
% cd /home/guest/work
% su
# sh test.sh /a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm.tar.gz libreoffice-4.2.0.0.beta1-i486-1
# sh test.sh /a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm_langpack_ja.tar.gz libreoffice_langpack_ja-4.2.0.0.beta1-i486-1
4.edit PPM's informations
libreoffice-4.2.0.0.beta1-i486-1/var/log/packages/libreoffice_langpack_ja-4.2.0.0.beta1-i486-1
->PACKAGE CATEGORY: office, etc
libreoffice_langpack_ja-4.2.0.0.beta1-i486-1/var/log/packages/libreoffice_langpack_ja-4.2.0.0.beta1-i486-1
->PACKAGE CATEGORY: office, etc
libreoffice_langpack_ja-4.2.0.0.beta1-i486-1/var/porteus/libreoffice_langpack_ja-4.2.0.0.beta1-i486-1.info
-> REQUIRED-OTHER: libreoffice-4.2.0.0.beta1-i486-1
5. create modules by PPM
libreoffice-4.2.0.0.beta1-i486-1.xzm
libreoffice_langpack_ja-4.2.0.0.beta1-i486-1.xzm
6. set linkage
# cd /PPM-module-directory
# ln -sf /home/guest/work/*.xzm .
6. install libreoffice_langpack_ja-4.2.0.0.beta1-i486-1.xzm by PPM
(ignore KDE dependencies.)*
*It may be multi-languages version PPM's bug.
I think that for the libreoffice language pack case, it is better to set a package name.
============================================
Following test was done by multi-languages version PPM.
1.download libreoffice
/a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm.tar.gz
/a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm_langpack_ja.tar.gz
2.create test shell script in work directory
/home/guest/work/test.sh
test.sh
#====================
#! /bin/sh
PKG=`echo ${1##*/} | sed 's/.tar.gz//'`
tar -xzf $1
mkdir $2
cd $2
for RPM in `ls ../$PKG/RPMS/*.rpm`
do
rpm2cpio $RPM | cpio -dium
done
cd ../
rm dir2mod
ln -sf /opt/porteus-scripts/ppm/app/appCom dir2mod
./dir2mod $2 $2
rm dir2mod
sed -i -r -e 's@^PACKAGE CATEGORY:.*$@PACKAGE CATEGORY: office@' $2/var/log/packages/$2
exit
#====================
3.perform test.sh
% cd /home/guest/work
% su
# sh test.sh /a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm.tar.gz libreoffice-4.2.0.0.beta1-i486-1
# sh test.sh /a/b/LibreOfficeDev_4.2.0.0.beta1_Linux_x86_rpm_langpack_ja.tar.gz libreoffice_langpack_ja-4.2.0.0.beta1-i486-1
4.edit PPM's informations
libreoffice-4.2.0.0.beta1-i486-1/var/log/packages/libreoffice_langpack_ja-4.2.0.0.beta1-i486-1
->PACKAGE CATEGORY: office, etc
libreoffice_langpack_ja-4.2.0.0.beta1-i486-1/var/log/packages/libreoffice_langpack_ja-4.2.0.0.beta1-i486-1
->PACKAGE CATEGORY: office, etc
libreoffice_langpack_ja-4.2.0.0.beta1-i486-1/var/porteus/libreoffice_langpack_ja-4.2.0.0.beta1-i486-1.info
-> REQUIRED-OTHER: libreoffice-4.2.0.0.beta1-i486-1
5. create modules by PPM
libreoffice-4.2.0.0.beta1-i486-1.xzm
libreoffice_langpack_ja-4.2.0.0.beta1-i486-1.xzm
6. set linkage
# cd /PPM-module-directory
# ln -sf /home/guest/work/*.xzm .
6. install libreoffice_langpack_ja-4.2.0.0.beta1-i486-1.xzm by PPM
(ignore KDE dependencies.)*
*It may be multi-languages version PPM's bug.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: [Help] with resolving non binary deps in official repo
Hi Neko, Yes REQUIRED-OTHER: is a package base name. They are for packages that ldd will not resolve such as python deps etc. These are stored in a separate line in the LIBS.TXT file on the server.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- francois
- Contributor
- Posts: 6435
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Re: [Help] with resolving non binary deps in official repo
Bumping this post as it is a very good one. I will try to come back to contribute. I am sure that many of us have something to add for the better functioning of the repository and of PPM. 8)
Prendre son temps, profiter de celui qui passe.