Resolving Non-Slackware Dependencies

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#16 by francois » 06 Jun 2015, 16:35

I appreciate your return on my experiment. Sorry that I do not follow-up your feedback more tightly recently. I was quite busy. This will be worse for the next few weeks, as I will be abroad for 3 weeks (greek islands, Crete and Athen) without the linux box.

I will try then your reset tip for Reset:
Close terminal tab Ctl+d, if in a tab. Open new tab.

Code: Select all

cd pak  # If needed
source pakfuncs.sh
and will try to proceed more often with archlinux packages instead or rpm or debian. Unless what you meant was that for a specific package there might be better chances with one distribution and for another package with another distribution. :)

Thanks for your patience and dedication.
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Resolving Non-Slackware Dependencies

Post#17 by Bogomips » 08 Jun 2015, 20:50

francois wrote:I am finding some html files linked to the packages that I have choosen to download. But not the packages themselves. OK. You explain it later:
ON This is the default, and binaries are not downloaded, but just recorded in the binaries download list in file 'Binaries.lst'. Corresponding URLs to be found in 'Binaries.url'.
Collected debs using cut and paste, like so:

Code: Select all

guest@porteus:~$ cat  | wget -nv -i- -P xor
http://archive.ubuntu.com/ubuntu/pool/main/libi/libisoburn/xorriso_1.1.8-1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/libb/libburn/libburn4_1.1.8-1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/libi/libisoburn/libisoburn1_1.1.8-1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/libi/libisofs/libisofs6_1.1.6-1ubuntu1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/a/acl/libacl1_2.2.51-5ubuntu1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/a/attr/libattr1_2.4.46-5ubuntu1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/j/jigit/libjte1_1.19-1_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline6_6.2-8_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libtinfo5_5.9-4_i386.deb
http://archive.ubuntu.com/ubuntu/pool/main/r/readline6/readline-common_6.2-8_all.deb
^D
2015-05-31 13:54:32 URL:http://archive.ubuntu.com/ubuntu/pool/main/libi/libisoburn/xorriso_1.1.8-1_i386.deb [99978/99978] -> "xor/xorriso_1.1.8-1_i386.deb" [1]
2015-05-31 13:54:33 URL:http://archive.ubuntu.com/ubuntu/pool/main/libb/libburn/libburn4_1.1.8-1_i386.deb [132576/132576] -> "xor/libburn4_1.1.8-1_i386.deb" [1]
2015-05-31 13:54:35 URL:http://archive.ubuntu.com/ubuntu/pool/main/libi/libisoburn/libisoburn1_1.1.8-1_i386.deb [353130/353130] -> "xor/libisoburn1_1.1.8-1_i386.deb" [1]
2015-05-31 13:54:36 URL:http://archive.ubuntu.com/ubuntu/pool/main/libi/libisofs/libisofs6_1.1.6-1ubuntu1_i386.deb [155614/155614] -> "xor/libisofs6_1.1.6-1ubuntu1_i386.deb" [1]
2015-05-31 13:54:36 URL:http://archive.ubuntu.com/ubuntu/pool/main/a/acl/libacl1_2.2.51-5ubuntu1_i386.deb [18306/18306] -> "xor/libacl1_2.2.51-5ubuntu1_i386.deb" [1]
2015-05-31 13:54:37 URL:http://archive.ubuntu.com/ubuntu/pool/main/a/attr/libattr1_2.4.46-5ubuntu1_i386.deb [10598/10598] -> "xor/libattr1_2.4.46-5ubuntu1_i386.deb" [1]
2015-05-31 13:54:37 URL:http://archive.ubuntu.com/ubuntu/pool/main/j/jigit/libjte1_1.19-1_i386.deb [30100/30100] -> "xor/libjte1_1.19-1_i386.deb" [1]
2015-05-31 13:54:37 URL:http://archive.ubuntu.com/ubuntu/pool/main/r/readline6/libreadline6_6.2-8_i386.deb [134322/134322] -> "xor/libreadline6_6.2-8_i386.deb" [1]
2015-05-31 13:54:38 URL:http://archive.ubuntu.com/ubuntu/pool/main/n/ncurses/libtinfo5_5.9-4_i386.deb [90030/90030] -> "xor/libtinfo5_5.9-4_i386.deb" [1]
2015-05-31 13:54:38 URL:http://archive.ubuntu.com/ubuntu/pool/main/r/readline6/readline-common_6.2-8_all.deb [49916/49916] -> "xor/readline-common_6.2-8_all.deb" [1]
FINISHED --2015-05-31 13:54:38--
Total wall clock time: 12s
Downloaded: 10 files, 1.0M in 5.3s (200 KB/s)
Turns out easy-peasy 8)
francois wrote:I was quite busy. This will be worse for the next few weeks, as I will be abroad for 3 weeks (greek islands, Crete and Athen) without the linux box.
Will be blazing hot :evil: , unless you are on a climatised cruiseship. Suppose all the same will have tablet with you. (At the moment, the nearest I'm getting to Greece is the map on the board of my Greek dancing group.)
francois wrote:and will try to proceed more often with archlinux packages instead or rpm or debian.
Arch seems to play up the least :)
francois wrote:Unless what you meant was that for a specific package there might be better chances with one distribution and for another package with another distribution. :)
That as well, when Arch is absent, as it was in the case of xorriso.

Since tackling xorriso I have been addressing this question, and to make life easier, have added an option to choose default by Type(rpm/deb) or by Distro. So, in order of priority (when Arch absent, and trying to leave out anything to do with testing) Default is Set by:
  1. Distro
  2. Type rpm / deb (set Distro of choice absent).
  3. If Distro set, Type of Distro (set Distro of choice absent)
  4. If neither Distro nor Type Set, then first qualifying package that turns up.
In case of xorriso, defaulted to Ubuntu. Have found Ubuntu LTS 12.04 to fit in quite well with Porteus setup:

Code: Select all

guest@porteus:~$ mkdir pk32
guest@porteus:~$ cd pk32/
guest@porteus:~/pk32$ cp ../p10/Por/Komodo/awk_distro .
guest@porteus:~/pk32$ cp ../p10/Por/Komodo/awk_lids .
guest@porteus:~/pk32$ md5sum pakfuncs.sh.bz2 
af11707c8e1e0ae4ab93241ba1f2d212  pakfuncs.sh.bz2
guest@porteus:~/pk32$ bunzip2 pakfuncs.sh.bz2 
guest@porteus:~/pk32$ ls
awk_distro  awk_lids  pakfuncs.sh
guest@porteus:~/pk32$ source pakfuncs.sh 
guest@porteus:~/pk32$ pakorg xorriso
Mon Jun  8 16:20:26 BST 2015
Not running as 'root'. Use 'sudo'? [Y/n]
2015-06-08 16:20:29 URL:http://pkgs.org/download/xorriso [36790] -> "wrk/xorriso_dis" [1]
0
        Packages on Offer:    74
XZ Packages: 1
    Arch                    1
RPM Packages: 66
    Fedora                  7
    OpenMandriva            3
    ROSA                    3
    Mageia                  3
    ALT                     1
    CentOS                  43
    openSUSE                6
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=0
$1=0
$1=1

Main Menu
1) Select by Type (xz,rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) xorriso-1.4.0-1.fc20.i686.rpm.html                     1.4.0-1 
Press a Key
#? 4

Set Default Type/Distro
0) Reset  ->  Main Menu
1) Set by Type
2) Set by Distro
Press a Key
#? 2

Set the Default Distro
        0)      None
        1)      Arch
        2)      Fedora
        3)      OpenMandriva
        4)      ROSA
        5)      Mageia
        6)      ALT
        7)      CentOS
        8)      openSUSE
        9)      Ubuntu
        10)     Debian
Enter number.
#? 9

Default Distro set to Ubuntu
Default Distro Type set to DEB
$1=0
$1=8

Main Menu
1) Select by Type (xz,rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) xorriso_1.1.8-1_i386.deb.html                          1.1.8-1 
Press a Key
#? 
Dft) xorriso_1.1.8-1_i386.deb.html  ? [Y/n]
-> Dft) xorriso_1.1.8-1_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
2015-06-08 16:21:10 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/xorriso_1.1.8-1_i386.deb/download/ [7803] -> "wrk/xorriso_1.1.8-1_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libburn4 (>= 0.7.2)
libc6 (>= 2.3.4)
libisoburn1 (= 1.1.8-1)
libisofs6 (>= 0.6.24)
------------
PROCESSING libburn4
2015-06-08 16:21:10 URL:http://pkgs.org/download/libburn4 [15561] -> "wrk/libburn4_dis" [1]
FINISHED --2015-06-08 16:21:10--
Total wall clock time: 0.2s
Downloaded: 1 files, 15K in 0.04s (349 KB/s)
{library to provide CD/DVD writing functions}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    26                                   Ver      >= 0.7.2
RPM Packages: 19
    OpenMandriva            3
    ROSA                    4
    Mageia                  3
    openSUSE                9
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=4

Main Menu
1) Select by Type (rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libburn4_1.1.8-1_i386.deb.html                         1.1.8-1  > 0.7.2      OK
Press a Key
#? 
Dft) libburn4_1.1.8-1_i386.deb.html  ? [Y/n]
-> Dft) libburn4_1.1.8-1_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libburn4
2015-06-08 16:21:47 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libburn4_1.1.8-1_i386.deb/download/ [6423] -> "wrk/libburn4_1.1.8-1_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libc6 (>= 2.7)
------------
libc6 Elected as End. Pt.  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
------------
Dependencies
------------
Last 3 of 4
libc6 (>= 2.3.4)
libisoburn1 (= 1.1.8-1)
libisofs6 (>= 0.6.24)
------------
libc6 Elected as End. Pt.  ->  Next Requirement
PROCESSING libisoburn1
2015-06-08 16:21:48 URL:http://pkgs.org/download/libisoburn1 [14157] -> "wrk/libisoburn1_dis" [1]
FINISHED --2015-06-08 16:21:48--
Total wall clock time: 0.2s
Downloaded: 1 files, 14K in 0.01s (1.36 MB/s)
{library to handle creation and inspection of ISO-9660 file systems}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    22                                   Ver      = 1.1.8-1
RPM Packages: 15
    OpenMandriva            3
    ROSA                    3
    openSUSE                9
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=3

Main Menu
1) Select by Type (rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libisoburn1_1.1.8-1_i386.deb.html                      1.1.8-1  = 1.1.8-1    OK
Press a Key
#? 
Dft) libisoburn1_1.1.8-1_i386.deb.html  ? [Y/n]
-> Dft) libisoburn1_1.1.8-1_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
2015-06-08 16:22:14 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libisoburn1_1.1.8-1_i386.deb/download/ [6649] -> "wrk/libisoburn1_1.1.8-1_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libburn4 (>= 1.1.8)
libc6 (>= 2.7)
libisofs6 (>= 1.1.6)
libjte1
libreadline6 (>= 6.0)
------------
PROCESSING libburn4
libburn4 1.1.8-1 Processed in xorriso Package.  ->  Next Requirement
libc6 Elected as End. Pt.  ->  Next Requirement
PROCESSING libisofs6
2015-06-08 16:22:14 URL:http://pkgs.org/download/libisofs6 [15261] -> "wrk/libisofs6_dis" [1]
FINISHED --2015-06-08 16:22:14--
Total wall clock time: 0.2s
Downloaded: 1 files, 15K in 0.05s (294 KB/s)
{library to create ISO9660 images}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    26                                   Ver      >= 1.1.6
RPM Packages: 19
    OpenMandriva            3
    ROSA                    4
    Mageia                  3
    openSUSE                9
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=4

Main Menu
1) Select by Type (rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libisofs6_1.1.6-1ubuntu1_i386.deb.html                 1.1.6-1  > 1.1.6      OK
Press a Key
#? 
Dft) libisofs6_1.1.6-1ubuntu1_i386.deb.html  ? [Y/n]
-> Dft) libisofs6_1.1.6-1ubuntu1_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libisofs6
2015-06-08 16:22:51 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libisofs6_1.1.6-1ubuntu1_i386.deb/download/ [6386] -> "wrk/libisofs6_1.1.6-1ubuntu1_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libacl1 (>= 2.2.51-4)
libc6 (>= 2.4)
libjte1
zlib1g (>= 1:1.2.0)
------------
PROCESSING libacl1
2015-06-08 16:22:51 URL:http://pkgs.org/download/libacl1 [12359] -> "wrk/libacl1_dis" [1]
FINISHED --2015-06-08 16:22:51--
Total wall clock time: 0.2s
Downloaded: 1 files, 12K in 0.009s (1.27 MB/s)
{Access control list shared library}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    19                                   Ver      >= 2.2.51-4
RPM Packages: 12
    OpenMandriva            3
    ROSA                    3
    Mageia                  3
    openSUSE                3
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=4

Main Menu
1) Select by Type (rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libacl1_2.2.51-5ubuntu1_i386.deb.html                  2.2.51-5 > 2.2.51-4   OK
Press a Key
#? 
Dft) libacl1_2.2.51-5ubuntu1_i386.deb.html  ? [Y/n]
-> Dft) libacl1_2.2.51-5ubuntu1_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libisofs6
        3                       libacl1
2015-06-08 16:24:32 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libacl1_2.2.51-5ubuntu1_i386.deb/download/ [6423] -> "wrk/libacl1_2.2.51-5ubuntu1_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libattr1 (>= 2.4.46-3)
libc6 (>= 2.4)
multiarch-support
------------
PROCESSING libattr1
2015-06-08 16:24:33 URL:http://pkgs.org/download/libattr1 [12631] -> "wrk/libattr1_dis" [1]
FINISHED --2015-06-08 16:24:33--
Total wall clock time: 0.2s
Downloaded: 1 files, 12K in 0.006s (1.91 MB/s)
{Extended attribute shared library}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    20                                   Ver      >= 2.4.46-3
RPM Packages: 13
    OpenMandriva            4
    ROSA                    3
    Mageia                  3
    openSUSE                3
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=4

Main Menu
1) Select by Type (rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libattr1_2.4.46-5ubuntu1_i386.deb.html                 2.4.46-5 > 2.4.46-3   OK
Press a Key
#? 
Dft) libattr1_2.4.46-5ubuntu1_i386.deb.html  ? [Y/n]
-> Dft) libattr1_2.4.46-5ubuntu1_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libisofs6
        3                       libacl1
        4                       libattr1
2015-06-08 16:25:00 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libattr1_2.4.46-5ubuntu1_i386.deb/download/ [6380] -> "wrk/libattr1_2.4.46-5ubuntu1_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libc6 (>= 2.4)
multiarch-support
------------
libc6 Elected as End. Pt.  ->  Next Requirement
multiarch-support Elected as End. Pt.  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libisofs6
        3                       libacl1
------------
Dependencies
------------
Last 2 of 3
libc6 (>= 2.4)
multiarch-support
------------
libc6 Elected as End. Pt.  ->  Next Requirement
multiarch-support Elected as End. Pt.  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libisofs6
------------
Dependencies
------------
Last 3 of 4
libc6 (>= 2.4)
libjte1
zlib1g (>= 1:1.2.0)
------------
libc6 Elected as End. Pt.  ->  Next Requirement
PROCESSING libjte1
2015-06-08 16:25:00 URL:http://pkgs.org/download/libjte1 [7078] -> "wrk/libjte1_dis" [1]
FINISHED --2015-06-08 16:25:00--
Total wall clock time: 0.2s
Downloaded: 1 files, 6.9K in 0.004s (1.65 MB/s)
{Jigdo Template Export - runtime library}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    7
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=0

Main Menu
1) Select by Type (deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libjte1_1.19-1_i386.deb.html                           1.19-1  
Press a Key
#? 
Dft) libjte1_1.19-1_i386.deb.html  ? [Y/n]
-> Dft) libjte1_1.19-1_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libisofs6
        3                       libjte1
2015-06-08 16:25:22 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libjte1_1.19-1_i386.deb/download/ [6433] -> "wrk/libjte1_1.19-1_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libbz2-1.0
libc6 (>= 2.7)
zlib1g (>= 1:1.1.4)
------------
PROCESSING libbz2-1.0
2015-06-08 16:25:22 URL:http://pkgs.org/download/libbz2-1.0 [7539] -> "wrk/libbz2-1.0_dis" [1]
FINISHED --2015-06-08 16:25:22--
Total wall clock time: 0.2s
Downloaded: 1 files, 7.4K in 0.002s (4.38 MB/s)
{high-quality block-sorting file compressor library - runtime}
Process Package? [Y/n]
Skip Package? [Y/n]
->  Skip Package
libc6 Elected as End. Pt.  ->  Next Requirement
PROCESSING zlib1g
2015-06-08 16:25:51 URL:http://pkgs.org/download/zlib1g [7221] -> "wrk/zlib1g_dis" [1]
FINISHED --2015-06-08 16:25:51--
Total wall clock time: 0.2s
Downloaded: 1 files, 7.1K in 0.007s (1021 KB/s)
{compression library - runtime}
Process Package? [Y/n]
Skip Package? [Y/n]
->  Skip Package
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libisofs6
------------
Dependencies
------------
Last 1 of 4
zlib1g (>= 1:1.2.0)
------------
PROCESSING zlib1g
zlib1g >=1 skipped in libjte1 Package  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
------------
Dependencies
------------
Last 2 of 5
libjte1
libreadline6 (>= 6.0)
------------
PROCESSING libjte1
libjte1 1.19-1 Processed in libisofs6 Package.  ->  Next Requirement
PROCESSING libreadline6
2015-06-08 16:26:16 URL:http://pkgs.org/download/libreadline6 [14777] -> "wrk/libreadline6_dis" [1]
FINISHED --2015-06-08 16:26:16--
Total wall clock time: 0.2s
Downloaded: 1 files, 14K in 0.05s (314 KB/s)
{A library for editing typed in command lines}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    24                                   Ver      >= 6.0
RPM Packages: 17
    OpenMandriva            3
    ROSA                    3
    Mageia                  4
    ALT                     1
    openSUSE                6
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=5

Main Menu
1) Select by Type (rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libreadline6_6.2-8_i386.deb.html                       6.2-8    > 6.0        OK
Press a Key
#? 
Dft) libreadline6_6.2-8_i386.deb.html  ? [Y/n]
-> Dft) libreadline6_6.2-8_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libreadline6
2015-06-08 16:26:47 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libreadline6_6.2-8_i386.deb/download/ [6563] -> "wrk/libreadline6_6.2-8_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libc6 (>= 2.11)
libtinfo5
multiarch-support
readline-common
------------
libc6 Elected as End. Pt.  ->  Next Requirement
PROCESSING libtinfo5
2015-06-08 16:26:48 URL:http://pkgs.org/download/libtinfo5 [9220] -> "wrk/libtinfo5_dis" [1]
FINISHED --2015-06-08 16:26:48--
Total wall clock time: 0.2s
Downloaded: 1 files, 9.0K in 0.003s (3.06 MB/s)
{shared low-level terminfo library for terminal handling}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    11
RPM Packages: 4
    OpenMandriva            1
    ROSA                    3
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=2

Main Menu
1) Select by Type (rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libtinfo5_5.9-4_i386.deb.html                          5.9-4   
Press a Key
#? 
Dft) libtinfo5_5.9-4_i386.deb.html  ? [Y/n]
-> Dft) libtinfo5_5.9-4_i386.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libreadline6
        3                       libtinfo5
2015-06-08 16:27:41 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/libtinfo5_5.9-4_i386.deb/download/ [6450] -> "wrk/libtinfo5_5.9-4_i386.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
libc6 (>= 2.4)
multiarch-support
------------
libc6 Elected as End. Pt.  ->  Next Requirement
multiarch-support Elected as End. Pt.  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libreadline6
------------
Dependencies
------------
Last 2 of 4
multiarch-support
readline-common
------------
multiarch-support Elected as End. Pt.  ->  Next Requirement
PROCESSING readline-common
2015-06-08 16:27:42 URL:http://pkgs.org/download/readline-common [6187] -> "wrk/readline-common_dis" [1]
FINISHED --2015-06-08 16:27:42--
Total wall clock time: 0.2s
Downloaded: 1 files, 6.0K in 0.003s (1.97 MB/s)
{GNU readline and history libraries, common files}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    7
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
$1=0

Main Menu
1) Select by Type (deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) readline-common_6.2-8_all.deb.html                     6.2-8   
Press a Key
#? 
Dft) readline-common_6.2-8_all.deb.html  ? [Y/n]
-> Dft) readline-common_6.2-8_all.deb.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libreadline6
        3                       readline-common
2015-06-08 16:28:02 URL:http://pkgs.org/ubuntu-12.04/ubuntu-main-i386/readline-common_6.2-8_all.deb/download/ [6457] -> "wrk/readline-common_6.2-8_all.deb_bin.html" [1]
LIBS
====
None
====
------------
Dependencies
------------
dpkg (>= 1.15.4) | install-info
------------
PROCESSING dpkg
2015-06-08 16:28:02 URL:http://pkgs.org/download/dpkg [26075] -> "wrk/dpkg_dis" [1]
FINISHED --2015-06-08 16:28:02--
Total wall clock time: 0.2s
Downloaded: 1 files, 25K in 0.05s (482 KB/s)
{Package maintenance system for Debian Linux}
Process Package? [Y/n]
Skip Package? [Y/n]
->  Skip Package
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
        2                       libreadline6
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
        1                       libisoburn1
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       xorriso
------------
Dependencies
------------
Last 1 of 4
libisofs6 (>= 0.6.24)
------------
PROCESSING libisofs6
libisofs6 1.1.6-1 Processed in libisoburn1 Package.  ->  Next Requirement
Congrats on Surfacing!
pkg             13
lib             0
xorriso.pak written out.
Run Completed.
Mon Jun  8 16:28:15 BST 2015
Update of pakfuncs.sh on 7-6-2015: pakfuncs.sh.bz2 (Own ref: Kom_070615.bz2)(Click on button with downward arrow)

Code: Select all

guest@porteus:~$ md5sum pakfuncs.sh.bz2 
af11707c8e1e0ae4ab93241ba1f2d212  pakfuncs.sh.bz2
Update of pakfuncs.sh on 11-6-2015: pakfuncs.sh.bz2 (Own ref: Kom_110615.bz2 )(Click on button with downward arrow)

Code: Select all

guest@porteus:~$ md5sum pakfuncs.sh.bz2 
b471e0522c3925455a6da66bc25a1e6a  pakfuncs.sh.bz2
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#18 by francois » 09 Jun 2015, 13:28

Hell! It will be really hard to wait until my return from this trip on the old continent. I have saliva all over my shirt and with all that tsatziki I just ate, you should see the mess.

Ce n'est pas beau à voir. :D

Mine de rien, je fais la promotion de tes programmes pour porteus. :wink:
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#19 by francois » 22 Aug 2015, 21:19

I am going thru the familiarization runs:
https://forum.porteus.org/viewtopic.php?f=75&t=4497

1.0 colord with default options (the low road):
- slacky, ponce database down. No luck
- doing it anyway, skipping these database update
- there are some errors.

Code: Select all

root@porteus:~/pak# pakorg colord
Sat Aug 22 13:45:01 EDT 2015
2015-08-22 13:45:03 URL:http://pkgs.org/download/colord [20270] -> "wrk/colord_dis" [1]
0
Found Slackware Package Versions
^^^ No Recognised Repos Found ^^^

        Packages on Offer:    29
XZ Packages: 1
    Arch                    1
RPM Packages: 21
    Fedora                  6
    OpenMandriva            3
    ROSA                    4
    Mageia                  3
    ALT                     1
    CentOS                  1
    openSUSE                3
DEB Packages: 7
    Ubuntu                  4
    Debian                  3
Diag: xz(0)

Main Menu
1) Select by Type (xz,rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) colord-1.2.11-1-x86_64.pkg.tar.xz.html                 1.2.11-1
Press a Key
#? 
Dft) colord-1.2.11-1-x86_64.pkg.tar.xz.html  ? [Y/n]
-> Dft) colord-1.2.11-1-x86_64.pkg.tar.xz.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
LIBS
====
None
====
------------
Dependencies
------------
dbus
dconf
lcms2
libgudev
libgusb
polkit
sqlite
systemd
------------
PROCESSING dbus
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING dconf
2015-08-22 13:45:17 URL:http://pkgs.org/download/dconf [19446] -> "wrk/dconf_dis" [1]
FINISHED --2015-08-22 13:45:17--
Total wall clock time: 0.7s
Downloaded: 1 files, 19K in 0.1s (139 KB/s)
{A simple configuration system}
Process Package? [Y/n]
-> Process Package
0
Found Slackware Package Versions
Salix: Slackware 13.37
dconf-0.5.1-x86_64-1gv          0.5.1-1
Alien Bob: Slackware 13.37
dconf-0.7.5-x86_64-1alien               0.7.5-1
Slacky: Slackware 14.0
dconf-0.12.1-x86_64-1sl         0.12.1-1
Salix: Slackware 14.0
dconf-0.12.1-x86_64-1gv         0.12.1-1
Alien Bob: Slackware 14.0
dconf-0.11.0-x86_64-1alien              0.11.0-1
Slackware: Slackware 14.1
dconf-0.18.0-x86_64-1           0.18.0-1

Run USM? [Y/n]
-> Run USM
Run USM Update? [Y/n]
usm -g dconf

 You are missing required database files! 
 Please run: usm -u all

Finished Invoking USM? [Y/n]
Accept USM? [Y/n]
-> Accept USM
Hit any key to confirm Module ActivationPROCESSING lcms2
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING libgudev
2015-08-22 13:45:47 URL:http://pkgs.org/download/libgudev [14851] -> "wrk/libgudev_dis" [1]
FINISHED --2015-08-22 13:45:47--
Total wall clock time: 0.6s
Downloaded: 1 files, 15K in 0.1s (104 KB/s)
{UDev GObject bindings}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    19
XZ Packages: 1
    Arch                    1
RPM Packages: 18
    Fedora                  2
    OpenMandriva            5
    ROSA                    5
    Mageia                  4
    ALT                     1
    CentOS                  1
Diag: xz(0)

Main Menu
1) Select by Type (xz,rpm)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libgudev-230-1-x86_64.pkg.tar.xz.html                  230-1   
Press a Key
#? 
Dft) libgudev-230-1-x86_64.pkg.tar.xz.html  ? [Y/n]
-> Dft) libgudev-230-1-x86_64.pkg.tar.xz.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
        1                       libgudev
LIBS
====
None
====
------------
Dependencies
------------
libsystemd
------------
PROCESSING libsystemd
2015-08-22 13:46:11 URL:http://pkgs.org/download/libsystemd [5714] -> "wrk/libsystemd_dis" [1]
FINISHED --2015-08-22 13:46:11--
Total wall clock time: 0.5s
Downloaded: 1 files, 5.6K in 0.002s (3.55 MB/s)
{Systemd Library}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    4
XZ Packages: 1
    Arch                    1
RPM Packages: 3
    OpenMandriva            1
    ROSA                    1
    ALT                     1
Diag: xz(0)

Main Menu
1) Select by Type (xz,rpm)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libsystemd-224-1-x86_64.pkg.tar.xz.html                224-1   
Press a Key
#? 
Dft) libsystemd-224-1-x86_64.pkg.tar.xz.html  ? [Y/n]
-> Dft) libsystemd-224-1-x86_64.pkg.tar.xz.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
        1                       libgudev
        2                       libsystemd
LIBS
====
None
====
------------
Dependencies
------------
glibc
libgcrypt
lz4
xz
------------
glibc Elected as End. Pt.  ->  Next Requirement
PROCESSING libgcrypt
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING lz4
2015-08-22 13:46:24 URL:http://pkgs.org/download/lz4 [11090] -> "wrk/lz4_dis" [1]
FINISHED --2015-08-22 13:46:24--
Total wall clock time: 0.5s
Downloaded: 1 files, 11K in 0.003s (3.61 MB/s)
{Extremely Fast Compression algorithm}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    16
XZ Packages: 1
    Arch                    1
RPM Packages: 15
    Fedora                  6
    OpenMandriva            2
    ALT                     1
    CentOS                  4
    openSUSE                2
Diag: xz(0)

Main Menu
1) Select by Type (xz,rpm)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) lz4-131-1-x86_64.pkg.tar.xz.html                       131-1   
Press a Key
#? 
Dft) lz4-131-1-x86_64.pkg.tar.xz.html  ? [Y/n]
-> Dft) lz4-131-1-x86_64.pkg.tar.xz.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
        1                       libgudev
        2                       libsystemd
        3                       lz4
LIBS
====
None
====
------------
Dependencies
------------
glibc
------------
glibc Elected as End. Pt.  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
        1                       libgudev
        2                       libsystemd
------------
Dependencies
------------
Last 1 of 4
xz
------------
PROCESSING xz
Requirement of Current Package. Found in System  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
        1                       libgudev
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
------------
Dependencies
------------
Last 4 of 8
libgusb
polkit
sqlite
systemd
------------
PROCESSING libgusb
2015-08-22 13:46:40 URL:http://pkgs.org/download/libgusb [8501] -> "wrk/libgusb_dis" [1]
FINISHED --2015-08-22 13:46:40--
Total wall clock time: 0.5s
Downloaded: 1 files, 8.3K in 0.02s (339 KB/s)
{GLib wrapper around libusb1}
Process Package? [Y/n]
-> Process Package
0
Found Slackware Package Versions
^^^ No Recognised Repos Found ^^^

        Packages on Offer:    9
XZ Packages: 1
    Arch                    1
RPM Packages: 8
    Fedora                  6
    ALT                     1
    CentOS                  1
Diag: xz(0)

Main Menu
1) Select by Type (xz,rpm)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) libgusb-0.2.6-1-x86_64.pkg.tar.xz.html                 0.2.6-1 
Press a Key
#? 
Dft) libgusb-0.2.6-1-x86_64.pkg.tar.xz.html  ? [Y/n]
-> Dft) libgusb-0.2.6-1-x86_64.pkg.tar.xz.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
        1                       libgusb
LIBS
====
None
====
------------
Dependencies
------------
glib2
libusbx
udev
------------
PROCESSING glib2
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING libusbx
2015-08-22 13:47:11 URL:http://pkgs.org/download/libusbx [7767] -> "wrk/libusbx_dis" [1]
FINISHED --2015-08-22 13:47:11--
Total wall clock time: 0.5s
Downloaded: 1 files, 7.6K in 0.002s (3.23 MB/s)
{Library that provides generic access to USB devices}
Process Package? [Y/n]
-> Process Package
0
Found Slackware Package Versions
Alien Bob: Slackware 14.0
libusbx-1.0.17_rc1-x86_64-1alien                1.0.17-1
Alien Bob: Slackware 14.1
libusbx-1.0.17_rc1-x86_64-1alien                1.0.17-1

Run USM? [Y/n]
-> Run USM
usm -g libusbx

 You are missing required database files! 
 Please run: usm -u all

Finished Invoking USM? [Y/n]
usm -g libusbx

 You are missing required database files! 
 Please run: usm -u all

Finished Invoking USM? [Y/n]
Accept USM? [Y/n]
-> Accept USM
Hit any key to confirm Module ActivationPROCESSING udev
Requirement of Current Package. Found in System  ->  Next Requirement
  <-  pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
------------
Dependencies
------------
Last 3 of 8
polkit
sqlite
systemd
------------
PROCESSING polkit
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING sqlite
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING systemd
2015-08-22 13:47:56 URL:http://pkgs.org/download/systemd [27540] -> "wrk/systemd_dis" [1]
FINISHED --2015-08-22 13:47:56--
Total wall clock time: 0.7s
Downloaded: 1 files, 27K in 0.1s (185 KB/s)
{A System and Session Manager}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    55
XZ Packages: 1
    Arch                    1
RPM Packages: 46
    Fedora                  6
    OpenMandriva            5
    ROSA                    6
    Mageia                  4
    ALT                     1
    CentOS                  4
    openSUSE                20
DEB Packages: 8
    Ubuntu                  2
    Debian                  5
    Mint                    1
Diag: xz(0)

Main Menu
1) Select by Type (xz,rpm,deb)
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft) systemd-224-1-x86_64.pkg.tar.xz.html                   224-1   
Press a Key
#? 
Dft) systemd-224-1-x86_64.pkg.tar.xz.html  ? [Y/n]
-> Dft) systemd-224-1-x86_64.pkg.tar.xz.html
pakdep()
Recursion Level                 Package
===============                 =======
        0                       colord
        1                       systemd
LIBS
====
None
====
------------
Dependencies
------------
acl
bash
dbus
hwids
iptables
kbd
kmod
libcap
libgcrypt
libidn
libseccomp
libsystemd
lz4
pam
util-linux
xz
------------
PROCESSING acl
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING bash
Requirement of Current Package. Found in System  ->  Next Requirement
PROCESSING dbus
dbus 1.6.12-1 Processed in colord Package. Found in System  ->  Next Requirement
PROCESSING hwids
2015-08-22 13:48:08 URL:http://pkgs.org/download/hwids [3322] -> "wrk/hwids_dis" [1]
FINISHED --2015-08-22 13:48:08--
Total wall clock time: 0.5s
Downloaded: 1 files, 3.2K in 0.001s (5.00 MB/s)
{hardware identification databases}
Process Package? [Y/n]
-> Process Package
0
        Packages on Offer:    0
Diag: all(0)
Run Completed with Errors!
root@porteus:~/pak# 
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Resolving Non-Slackware Dependencies

Post#20 by Bogomips » 22 Aug 2015, 22:11

@francois

Final testing on Update. This final testing mainly to do with activating existing Slackware module, or creating module from Slackware package, should USM have previously downloaded it, or from subfolder of packages previously created by USM, culminating with final activation of resultant module.

Doing next colord for real, having hopefully managed systemd, needed by colord. Then gtk3 v3.16, needed by latest handbrake 0.10.2. That should hopefully put the Slackware side of the procedure through its paces.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Resolving Non-Slackware Dependencies

Post#21 by Bogomips » 23 Aug 2015, 19:52

francois, as far as USM is concerned, it is possible to cut a corner: 8)

Code: Select all

Run USM? [Y/n]		# n
Skip USM? [Y/n]		# Y
->  Skip USM
Other Distro? [Y/n]	# n
Module Activate? [Y/n]	# Y
Confirm: Module Activate? [Y/n]		# Y
->  Module Activate
hwids_ar.rep (<- 32 bit procedure)

Code: Select all

guest@porteus:~$ cat hwids_ar.rep 
Arch
Arch Linux:Arch Linux Core
/archlinux/archlinux-core-i686/hwids-20150129-1-any.pkg.tar.xz.html
64-bit Procedure only checks for "x86_64" & "amd64". Now amended to check for "any" & "all". Just a matter of seeing how far we get with this new amendment. :wink:

Using amended awk_distro (64 bit), verify the copy with resulting hwids_ar.rep:

Code: Select all

guest@porteus:~/pak$ awk -f awk_distro wrk/hwids_dis 
0
guest@porteus:~/pak$ ls -l
total 12
-rw-r--r-- 1 guest guest 3381 Aug 23 16:24 awk_distro
-rw-r--r-- 1 guest guest  137 Aug 23 16:25 hwids_ar.lst
-rw-r--r-- 1 guest guest  100 Aug 23 16:25 hwids_ar.rep
drwxr-xr-x 2 guest guest   60 Aug 23 16:22 wrk/
guest@porteus:~/pak$ cat hwids_ar.rep
Arch
Arch Linux:Arch Linux Core
/archlinux/archlinux-core-i686/hwids-20150129-1-any.pkg.tar.xz.html
Run Resumption
  1. Clean Slate
    1. Save and Clear

      Code: Select all

      ln pak/awk_lids .
      ln pak/pakfuncs.sh .
      rm -r pak
      mkdir pak
      ln awk_lids pak
      ln pakfuncs.sh pak
      
    2. Using Rava's cat trick, paste into Termial at Prompt the Amended awk_distro :

      Code: Select all

      cat > pak/awk_distro
      # Now Paste In ...
      # Terminate: Hit Enter followed by either ^D or ^C
      
      [/i]
  2. Resume Testing (using new terminal tab preferably)
    Make life easier by accepting the use of a '.pak' file for previous package, as you proceed up the hierarchy, so as not to repeat yourself.
    1. pakorg libsystemd
    2. pakorg systemd
    3. pakorg colord
    4. pakorg gtk3
  3. Resume Familiarization Run
    1. Preserve {low road) '.pak' files:

      Code: Select all

      rename .pak _lr.pak pak/*.pak
    2. High Road:

      Code: Select all

      pakorg colord
Amended awk_distro (64 bit): Update 22-9-15

Code: Select all

# Enhanced selection for non-arch-dep pkgs. 	2015-08-23 14:09:23
#	[-.]noarch[-.]		Added		2015-09-22 22:33:56
# One dimensional array 'dis' has Distros
# 2nd dimension has Repos
# 3rd dimension has Links
# Array 'cnt' has corresponding counts in the various dimensions.
# Array 'typ' corresponds to One dimensional array 'dis'
# 64 bit Package File Select	2015-03-22 21:46:17
# File o/p  ->  _[dis]ar.rep	Repos file	_[dis]ar.lst	Diagnostics

BEGIN {dis[0]=0; cnt[0]=0;  # Distro & Distro Count
dis[1]=0; xz[0]=1; xz[1]="Arch"; s="Fedora OpenMandriva ROSA Mageia"; rpm[0]=split(s,rpm); deb[0]=1; deb[1]="Ubuntu";
}

/class="repo"/||/data-name=/||/<li>/ {
# DISTRO
if ($0 ~ "data-name") {split($0,ar,">"); split(ar[2],ar,"<"); distro=ar[1]; split(ar[1],ar); if (dis[cnt[0]-1]!=ar[1]) {dis[cnt[0]]=ar[1];
# Initialise Repo Count & Post Increment Distro Count
cnt[cnt[0]++,0]=0;}}
# REPO
if ($0 ~ "repo") {split($0,ar,">"); split(ar[2],ar,"<"); split(ar[1],ar,":"); repo=ar[1];	# Enter Repo & Update Repo Count
dis[cnt[0]-1,cnt[cnt[0]-1,0]]=distro":"repo;
# Initialise Links Count
dis[cnt[0]-1,cnt[cnt[0]-1,0]++,0]=0;
}
# LINKS
if  ($0 ~ "<li>") {split($0,ar,"\""); m=split(ar[2],ar0,"/");
if (ar0[m]~"x86_64" || ar0[m]~"amd64" || ar0[m]~"[-.]any[.-]" || ar0[m]~"[-.]all[.-]" || ar0[m]~"[-.]noarch[.-]")
  {	# Enhanced selection 	2015-08-23 14:09:23	print ar[2];	2015-03-22 21:59:21
  # Create offsets
  dx=cnt[0]-1; rx=cnt[cnt[0]-1,0]-1;
  # Set the Type
  if (! typ[dx]) {m=split(ar[2],z,"."); typ[dx]=z[m-1];}
  dis[dx,rx,cnt[dx,rx,0]++]=ar[2];	# Increment Links Count
  }
 }
}
# Package Type array of Distros in Preferential Order 'par'
# Corresponding type string 'pat': one of xz/rpm/deb
function dist (par,pat) {
for (t=0; t<par[0]; t++)
  for (i=0; i<cnt[0]; i++)
    if (!dfl[i] && typ[i]==pat && dis[i]==par[t+1])
      {dfl[i]=1; ord[orc++]=i; break;}
# Enter remaining xz/rpm/debs
for (i=0; i<cnt[0]; i++)
  if (!dfl[i] && typ[i]==pat)	{dfl[i]="0"; ord[orc++]=i;}
}

END {	# Set up Filenames: _ar.rep & _ar.lst
m=split(FILENAME,a,"/"); n=index(a[m],"_dis"); s=a[m]"_";
if (n>0) s=substr(s,1,n); fir=s"ar.rep"; fil=s"ar.lst";
print "dis\n===">fil; #print dis[2,2,1],dis[2,2,2];
print "cnt[0]="cnt[0]>fil;
#for (i=0; i<cnt[0]; print dis[i++]>fil);
# List Repos
for (i=0; i<cnt[0]; print toupper(typ[i]),dis[i++]>fil)
  for (j=0; j<cnt[i,0]; print dis[i,j++]>fil)
  # List Links
    for (k=0; k<cnt[i,j,0]; print dis[i,j,k++]>fil);
# Implement Preferential Order
#	Array 'ord' and var 'orc' element count
#	Array 'dfl' flagging if assigned order
orc=0;
dist(xz,"xz");
dist(rpm,"rpm");
dist(deb,"deb");
# Anything else
for (i=0; i<cnt[0]; i++)
  if (!dfl[i])	{dfl[i]=0; ord[orc++]=i;}
# Output New Order
print "ord\n===">fil; for (i=0; i<orc; print dfl[ord[i]],ord[i],dis[ord[i++]]>fil);
# Reverse Repos		2015-01-21 00:37:41
print toupper("Reversed Repos">fil);
for (i=0; i<cnt[0]; i++) {
  dx=ord[i]; print dis[dx]>fir; for (j=0; j<cnt[dx,0]; j++) {
    rx=cnt[dx,0]-1-j; print dis[dx,rx]>fir; for (k=0; k<cnt[dx,rx,0]; k++) {
      lx=cnt[dx,rx,0]-1-k; print dis[dx,rx,lx]>fir;
      }
    }
  }
}
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#22 by francois » 26 Aug 2015, 04:29

Sorry, I am not sure what I am expected to do here. :(

Do I just change the awk_distro file and have a new run skipping usm as in your example? Hoe do I know the right order for additional packages and dependencies? (Or here you just make packages as they are proposed for colord, not naming dependencies).
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Resolving Non-Slackware Dependencies

Post#23 by Bogomips » 26 Aug 2015, 14:36

@francois
  1. The awk_distro (64 bit) file has been amended. Try copying it into pak, using Rava's cat trick, by pasting into Termial at Prompt the Amended awk_distro file which has already been selected and is in clipboard:

    Code: Select all

    cat > pak/awk_distro
    # Now Paste in the File
    # Terminate: Hit Enter followed by either ^D or ^C
    
  2. Verify that copy is good:
    1. Create hwids_ar.rep:

      Code: Select all

      cd pak
      awk -f awk_distro wrk/hwids_dis
      cat hwids_ar.rep
    2. Should get a hwids_ar.rep:

      Code: Select all

      guest@porteus:~/pak$ cat hwids_ar.rep
      Arch
      Arch Linux:Arch Linux Core
      /archlinux/archlinux-core-i686/hwids-20150129-1-any.pkg.tar.xz.html
      
  3. As you have been away on vacation, a lot of files in your pak directory will have been superseded. That is reason for suggestion to start with clean slate. So need to save relevant files before making a new pak directory. We need to save pakfuncs.sh, awk_lids and awk_distro first of all, and then restore:

    Code: Select all

    ln pak/pakfuncs.sh .
    ln pak/awk_lids .
    ln pak/awk_distro .
    rm -r pak
    mkdir pak
    ln pakfuncs.sh pak
    ln awk_lids pak
    ln awk_distro pak
    
  4. Resuming Testing
      • USM seems to be running, but if it is not running for you, you may skip it with this sequence:

        Code: Select all

        Run USM? [Y/n]		# n
        Skip USM? [Y/n]		# Y
        ->  Skip USM
        Other Distro? [Y/n]	# n
        Module Activate? [Y/n]	# Y
        Confirm: Module Activate? [Y/n]		# Y
        ->  Module Activate
        
      • Open new Terminal Tab then

        Code: Select all

        source pakfuncs.sh
    1. Starti now with Straightforward Package libsystemd

      Code: Select all

      cd pak
      pakorg libsystemd
    2. Going on to systemd, which has as a dependency libsystemd, whose dependencies have already been stored in the file libsystemd.pak. Hit enter when asked if it should be used.

      Code: Select all

      cd pak
      pakorg systemd
    3. Next is colord, which has a dependency systemd. However there should already be a systemd.pak file which can then be used.

      Code: Select all

      cd pak
      pakorg colord
      
    4. Next is gtk3. (Well, you get the picture. :) )

      Code: Select all

      cd pak
      pakorg gtk3
      
  5. To be continued

Something to be getting on with for the time being. Trying to use as much code as possible in explanation, as it's then self-explanatory, and could also be pasted in, where appropriate.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#24 by francois » 13 Sep 2015, 01:00

As you told me to start with a new pak folder, its name is pak1. As recommended I took the content of you awk_distro 64bit on the first page, sixth post of this thread. Thus:

Code: Select all

root@porteus:~# cd /root/pak1/
root@porteus:~/pak1# cat > pak/awk_distro
bash: pak/awk_distro: No such file or directory

root@porteus:~/pak1# 
Accordingly I modified the syntax:

Code: Select all

root@porteus:~/pak1# cat > awk_distro
^C
root@porteus:~/pak1# awk -f awk_distro wrk/hwids_dis
root@porteus:~/pak1# cat hwids_ar.rep
Arch
Arch Linux:Arch Linux Core
root@porteus:
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Resolving Non-Slackware Dependencies

Post#25 by Bogomips » 13 Sep 2015, 21:55

@francois
Amend syntax to accord with pak1, then. You are on the right track. The enhanced awk_distro file you would have found two posts earlier, as last item of said post.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#26 by francois » 15 Sep 2015, 02:23

@bogomips:
Sorry. There is too much time between my experiments with your scripts. I am loosing track. During the week, I do not have much time. I will be look at it this next weekend. It is a question of time, but also of performance. My performing linux laptop is at work out of reach during leisure hours.

Did you have a look at neko's work? It seems that you are trying to achieve about the same objectives, but maybe thru different ways?
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Resolving Non-Slackware Dependencies

Post#27 by Bogomips » 15 Sep 2015, 13:04

francois wrote:Did you have a look at neko's work? It seems that you are trying to achieve about the same objectives, but maybe thru different ways?
@francois
It's interesting that you haven't put the same question to him. Anyway will answer you more fully in a topic under General Chat. 8)

Btw fotoxx was done here.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#28 by francois » 09 Oct 2015, 02:19

bogomips non-slackware dependencies resolver bnsdr
Files needed in a newly created pak folder in alphabetical order (this is all there should be in /pak to begin a run.
- awk_distro
- awk_lids
- pakfuncs.sh
- pkget.sh



Where to get the file new version available bnsdr (64bit):
pakfuncs.sh (2nd post this page)
https://cloud.mail.ru/public/H63r/V7HdDXvpk

awk_distro (from 6th post this page)

Code: Select all

# Enhanced selection for non-arch-dep pkgs.    2015-08-23 14:09:23
#   [-.]noarch[-.]      Added      2015-09-22 22:33:56
# One dimensional array 'dis' has Distros
# 2nd dimension has Repos
# 3rd dimension has Links
# Array 'cnt' has corresponding counts in the various dimensions.
# Array 'typ' corresponds to One dimensional array 'dis'
# 64 bit Package File Select   2015-03-22 21:46:17
# File o/p  ->  _[dis]ar.rep   Repos file   _[dis]ar.lst   Diagnostics

BEGIN {dis[0]=0; cnt[0]=0;  # Distro & Distro Count
dis[1]=0; xz[0]=1; xz[1]="Arch"; s="Fedora OpenMandriva ROSA Mageia"; rpm[0]=split(s,rpm); deb[0]=1; deb[1]="Ubuntu";
}
Just to be able to get them easily, is it possible to put the necessary packages on the first post of this thread with the latest version clearly tagged.

Thanks.
Voltaire: Le mieux est l'ennemi du bien.

User avatar
francois
Contributor
Contributor
Posts: 5116
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Resolving Non-Slackware Dependencies

Post#29 by francois » 09 Oct 2015, 02:49

It is hard to find myself around as you will see. I have done some efforts to update my understanding of you procedure on the first page and to find the updated files. My evening efforts were not reinforced:

Code: Select all

root@porteus:~/pak# source pakfuncs.sh
root@porteus:~/pak# pakorg libsystemd 
Thu Oct  8 22:50:44 Local time zone must be set--see zic manual page 2015
2015-10-08 22:50:44 URL:http://pkgs.org/download/libsystemd [6114] -> "wrk/libsystemd_dis" [1]
cat: libsystemd_ar.rep: No such file or directory
        Packages on Offer:    0

Main Menu
1) Select by Type ()
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft)
Press a Key
#? 
Dft)   ? [Y/n]
-> Dft)
pakdep()
Recursion Level                 Package
===============                 =======
        0
awk: warning: command line argument `wrk/' is a directory: skipped
bash: pkg[$1]: bad array subscript
root@porteus:~/pak# source pakfuncs.sh
root@porteus:~/pak# pakorg libsystemd 
Thu Oct  8 22:54:14 Local time zone must be set--see zic manual page 2015
2015-10-08 22:54:14 URL:http://pkgs.org/download/libsystemd [6114] -> "wrk/libsystemd_dis" [1]
cat: libsystemd_ar.rep: No such file or directory
        Packages on Offer:    0

Main Menu
1) Select by Type ()
2) Select by Distro
3) Select by Package
4) Set Default Package by Distro/Type
Hit Enter for Default Package File:
Dft)
Press a Key
#? 
Dft)   ? [Y/n]
-> Dft)
pakdep()
Recursion Level                 Package
===============                 =======
        0
awk: warning: command line argument `wrk/' is a directory: skipped
2015-10-08 22:54:18 URL:http://pkgs.org/ [125326] -> "wrk/_bin.html" [1]
bash: pkg[$1]: bad array subscript
root@porteus:~/pak# 
root@porteus:~/pak# 
Is removing all the files and folder other than the four above mentioned files between runs will be enough in addition to:

Code: Select all

root@porteus:~/pak# source pakfuncs.sh
to reuse the resolver?
Voltaire: Le mieux est l'ennemi du bien.

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Resolving Non-Slackware Dependencies

Post#30 by Bogomips » 09 Oct 2015, 20:17

francois wrote:Just to be able to get them easily, is it possible to put the necessary packages on the first post of this thread
Thanks for tip. Will do for earnest endeavour. 8)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply