ArchLinux packages manager for Porteus

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...
Post Reply
neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

ArchLinux packages manager for Porteus

Post#1 by neko » 10 Sep 2015, 23:37

===< Integrated Simple Package Management tool >===
spm-17.11.28-noarch-1.xzm (4.5 M)
http://www.mediafire.com/file/626fgwf29 ... arch-1.xzm
md5sum: 468767127915c4aa08ee794a0f3cfe3c spm-17.11.28-noarch-1.xzm

This package is an integration of

the Simple Package Manager for ArchLinux packages (archSPM),

Tool of Building Slimjet browser module
(Tool of Building Slimjet browser module), and

"ISO to USB" conversion tool module
(Update the kernel of Porteus v3.1).

1. Common configuration window
Image
[Select one of Commands]
archSPM:...........get ArchLinux packages
acuiDepend:........get dependency libraries
acuiGetL:..........get listuped packages
acuiGetLd:.........get listuped packages and expand
acuiUpdate:........For only APorteus
mkapl:.............build applications ----> select one of applications
updateISO:.........For only APorteus
mkvivaldi:.........build vivaldi web browser
mkpalemoon:........build palemoon web browser
mkgoogleChrome:....build googleChrome web browser(For only 64 bit)
mkmin:.............build min web browser

[select one of applications]
TclTkAPL:..........build tcl/tk applications (TkDVD)
chromium:..........build chromium web browser
fcitx-mozc:........build fcitx-mozc Japanese input method
firefox:...........build firefox web browser
frozen-bubble:.....build shooting game
gimp:..............build gimp graphic tool
gthumb:............build graphic tool
k9copy:............build k9copy
kpatience:.........build card game
libreoffice:.......build libreoffice office tool
midori:............build midori web browser
office:............build abiword & gnumeric
opera:.............build opera web browser
pidgin:............build messanger pidgin
scim-anthy_ja:.....build input method scim-anthy_ja (for Japanese)
scim-tables:.......build input method scim-tables (for Thai etc.,)
sk1:...............build sk1
skype:.............build messanger skype(32Bit only)
sylpheed:..........build sylpheed mailer(small)
thunderbird:.......build thunderbird mailer
vlc:...............build vlc media player
xfe:...............build xfe file manager

NOTE1:
Building package by "mkapl" can be alternative by "archSPM".

"mkapl" advantages are
1). no need to research packages that construct target module.
2). merging dependency libraries on only one pass.
Because it has the information of packages that include needed libraries and prepares the packages before searching & merging dependency libraries.
3). something to need modifies are prepared in "mkapl".
4). all elements are gathered to one module.
5). output module can be used in all desktops.

NOTE2: How to get Web browser
(1)firefox
[GUI]"ArchLinux SPM commands" ---> "mkapl" ---> "firefox"

(2)google-chrome
[GUI]"ArchLinux SPM commands" ---> "mkgoogleChrome"

(3)chromium
[GUI]"ArchLinux SPM commands" ---> "mkapl" ---> "chromium"
[CUI] example:32bit

Code: Select all

% su
# getpepper
# mv flashplayer-chromium_25.0.0.148-dmo1_i386.xzm 004-flashplayer-chromium_25.0.0.148-dmo1_i386.xzm
(4)opera
[GUI]"ArchLinux SPM commands" ---> "mkapl" ---> "opera"
[CUI] example:32bit

Code: Select all

% su
# getpepper
# mv flashplayer-chromium_25.0.0.148-dmo1_i386.xzm 004-flashplayer-chromium_25.0.0.148-dmo1_i386.xzm
(5)vivaldi
[GUI]"ArchLinux SPM commands" ---> "mkvivaldi"
[CUI] example:32bit

Code: Select all

% su
# getpepper
# mv flashplayer-chromium_25.0.0.148-dmo1_i386.xzm 004-flashplayer-chromium_25.0.0.148-dmo1_i386.xzm
(6)slimjet
[CUI] example:32bit

Code: Select all

% su
# mkslimjet -iF any
# getffmpeg
# mv chromium-codecs-ffmpeg-extra_58.0.3029.81-0ubuntu2.1350_i386.xzm 006-chromium-codecs-ffmpeg-extra_58.0.3029.81-0ubuntu2.1350_i386.xzm
(7)palemoon
[GUI]"ArchLinux SPM commands" ---> "mkpalemoon"

(8)min
[GUI]"ArchLinux SPM commands" ---> "mkmin"

2.archSPM option window
[]https://i.imgsafe.org/3e1f932895.png[]
Common library basic module numbers --->
set value of SIMPLEBASE.

Basic module setting directory -------->
set value of BASELIBDIR.


===== the Simple Package Manager for ArchLinux packages =====
This is the tool that will import an Archlinux binary package to the Porteus.

Almost imported packages do not run directly on Porteus environment,
because the versions of dependency packages are not fit with ones of Porteus.

This tool is used only for converting.

And it has a little intelligence functions.
Porteus employs a fixed-release.
But Archlinux employs a rolling-release.
Therefore this tool has a mini version control for currently updating.

Many other thing, especially environment difference, are not considered.

Main Window
Image

####### INSTRUCTIONS ########

[Getting Package]
1. Specify your preferred package
1.1. Select from package list
(1) Select your preferred repository in 'Select a repository' except 'all' and 'MODULE'.
(2) Select a package in 'Target selection list'.
Click a package name, and the description will be displayed.

1.2. Search
(1) Select your preferred repository in 'Select a repository' except 'MODULE'.
If 'all' is selected, all repository will be searched.
(2) Set a search type buttons of
'package name' / 'key words' / 'library name'
[key words search]
A key searching is applied to the English description of a package.
Multiple keys searching:The keys combination is 'AND' algorithm.
(3) Enter search string
Note:'package name' and 'keywords' are not case-sensitive.
(4) Select a package in 'Target selection list' that were searched.
Click a package name, and the description will be displayed.

2. Download the specified package
2.1. Single download
(1) Check off 'auto' and Check off 'autoR'
(2) Push download button
The specified package will be downloaded and converted to Porteus module in your storage.

2.2. Download with dependent packages
(1) case 1: Check on 'auto' and Check off 'autoR'
case 2: Check on 'auto' and Check on 'autoR'
case 3: Check off 'auto' and Check on 'autoR' *default case
(2) Push download button
The specified package and it's dependent packages will be downloaded and converted to Porteus module in your storage.
The subdirectory in your storage is created and entities that are concerned with the package are symbolic linked here.
[case 1,2,3]
Dependent packages that are determined by the dependency information in the specified package
will be downloaded.
[case 2,3]
Dependent packages that are determined by the dependency informations in the dependent packages
will be downloaded recursively.
[case 1,2]
The libraries that are used by the target package are merged into a libraries module.
The merged libraries module is created in the subdirectory.
The name of merged libraries module is lib4'target package name'.

[Merging libraries]
1. Select 'MODULE' in 'Select a repository'.
All modules in your storage will be listed up in 'Target selection list'.
2. Select a module in 'Target selection list'.
3. Check on/off 'auto' and 'autoR'.
case 1: Check on 'auto' and Check off 'autoR'
case 2: Check on 'auto' and Check on 'autoR'
case 3: Check off 'auto' and Check on 'autoR' *default case
case 4: Check off 'auto' and Check off 'autoR'
4. Push 'Merge' button
The specified package's dependent packages will be downloaded and converted to Porteus module in your storage.
The subdirectory in your storage is created and entities that are concerned with the package are symbolic linked here.
[case 1,2,3]
Dependent packages that are determined by the dependency information in the specified package
will be downloaded.
[case 2,3]
Dependent packages that are determined by the dependency informations in the dependent packages
will be downloaded recursively.
[case 1,2]
The libraries that are used by the target package are merged into a libraries module.
The merged libraries module is created in the subdirectory.
The name of merged libraries module is lib4'target package name'.
[case 3,4]
The modules in the subdirectory except lib4'target package name' are merged into a integrated module.
The merged integrated module is created in the subdirectory.
The name of integrated module is 'subdirectory name'.xzm.

[DataBase update]
1. Select your preferred repository in 'Select a repository' except 'MODULE'.
If 'all' is selected, all repository DataBases will be updated.
2. Push 'Update' button

[Module update]
1. Select 'MODULE' in 'Select a repository'.
2. Push 'Update' button

-------------------------------------------------------------------------------
Package naming convention

ArchLinux:
NAME-NNNN-X ................. package name
NAME-NNNN-X-AAA.pkg.tar.xz .. file name (xz compressed tar file)

Porteus:
NAME-NNNN-SSS-X ............. package name
NAME-NNNN-SSS-X.xzm ......... module name (SquashFS file)

NAME ........ base name
NNNN/X ...... version number/sub-ID
AAAA/SSSS ... architecture (i686,x86_64,any/i686,x86_64,noarch)

[Example]
btrfs-progs-4.1.2-1-i686.pkg.tar.xz ---> btrfs-progs-4.1.2-i686-1.xzm
bzip2-1.0.6-5-x86_64.pkg.tar.xz -------> bzip2-1.0.6-x86_64-5.xzm
ipw2100-fw-1.3-7-any.pkg.tar.xz -------> ipw2100-fw-1.3-noarch-7.xzm

-------------------------------------------------------------------------------
Package convert

ArchLinux package:
NAME-NNNN-X-AAA.pkg.tar.xz (xz compressed tar file)

will be separated to 2 parts

Porteus package:
NAME-NNNN-SSS-X.xzm ....... stripped package (SquashFS file)
NAME-NNNN-SSS-X.xzm.sep ... stripped entities (SquashFS file)

[Stripped entities]
/usr/info
/usr/doc
/usr/man
/usr/src
/usr/include

/usr/local/info
/usr/local/doc
/usr/local/man

/usr/share/info
/usr/share/doc
/usr/share/man
/usr/share/licenses
/usr/share/locale

all archive files (*.a)

[Example]
bzip2-1.0.6-5-i686.pkg.tar.xz ----> bzip2-1.0.6-i686-5.xzm, bzip2-1.0.6-i686-5.xzm.sep

About "configuration of a package separation",
please refer to http://forum.porteus.org/viewtopic.php? ... =30#p43335

-------------------------------------------------------------------------------
Dependency

A package dependency is determined by 2 ways.
1. dependency information in the package.

[Example] The dependency package of bzip2-1.0.6-5-i686.pkg.tar.xz is glibc.

Code: Select all

PACKAGE NAME: bzip2-1.0.6-i686-5
COMPRESSED PACKAGE SIZE: 52164
UNCOMPRESSED PACKAGE SIZE: 172032
PACKAGE LOCATION: core/bzip2-1.0.6-5-i686.pkg.tar.xz
PACKAGE CATEGORY: base
PACKAGE DESCRIPTION:
bzip2: 
bzip2: A high-quality data compression program
bzip2: 
bzip2: DEPENDS:
bzip2: glibc
bzip2: 
FILE LIST:
usr/
usr/lib/
usr/share/
usr/bin/
usr/bin/bzdiff
usr/bin/bzip2recover
usr/bin/bzcat
usr/bin/bunzip2
usr/bin/bzgrep
usr/bin/bzip2
usr/bin/bzmore
2. analyzing symbol informations of ELF file 'recursively check' of all executables in the package

X1 executable in the package needs a dynamic loadable library L1 out of the package.
L1 is a dependency library.
L1 needs L2.
L2 is a dependency library.
...Ln

If Ln is included in the basic group, Ln is omitted from dependency library.

The basic group libraries are included in 00i-xxx.xzm module
(000-kernel.xzm, 001-core.xzm, 002-xorg.xzm, 003-.., 004-... ).

If archspm is executed by 'SPM for ArchLinux (depend on basic libraries)',
they are included in only 000-kernel.xzm.

Code: Select all

[Desktop Entry]
Name=SPM for ArchLinux (depend on basic libraries)
Comment=Simple Package Manager for ArchLinux
Exec=/usr/local/share/archspm/bin/archspm SIMPLEBASE=0
Terminal=false
Icon=archlinux
Type=Application
Categories=System;
Version=1.0
(1) SIMPLEBASE : environment variable parameter
If this tool is executed with this variable,
basic group libraries are included in 00[$SIMPLEBASE]*.xzm modules.
Otherwise, basic group libraries are included in 00*.xzm modules.
Example:
If you execute from terminal as following

Code: Select all

% /usr/local/share/archspm/bin/archspm SIMPLEBASE=012
000-kernel.xzm, 001-core.xzm, and 002-xorg.xzm include basic group libraries.

(2) BASELIBDIR : environment variable parameter
If this tool is executed with this variable,
$BASELIBDIR directory includes the directories
that are expanded from modules that include basic group libraries.
Otherwise, /mnt/live/memory/images directory includes the expanded directories.
The expanded directory name (xxx.xzm) must be same as its module name (xxx.xzm).
Example:
There are 000-x0.xzm, 001-x1.xzm, 002-x2.xzm, and 003-x3.xzm expanded directories in /a/b directory.
If you execute from terminal as following

Code: Select all

% /usr/local/share/archspm/bin/archspm BASELIBDIR=/a/b
000-x0.xzm, 001-x1.xzm, 002-x2.xzm, and 003-x3.xzm include basic group libraries.
If you execute from terminal as following

Code: Select all

% /usr/local/share/archspm/bin/archspm BASELIBDIR=/a/b SIMPLEBASE=012
000-x0.xzm, 001-x1.xzm, and 002-x2.xzm include basic group libraries.

3. subdirectory
Package's dependent packages are included by symbolic link
in its subdirectory of the user specified STORAGE.
The subdirectory name is the base name of the target package.
For example, a target package name is 'bzip2-1.0.6-i686-5.xzm', then its subdirectory name is 'bzip2'.

A target package itself is included by symbolic link in its subdirectory too.
For example, bzip2/bzip2-1.0.6-i686-5.xzm.

The merged libraries module is included in the subdirectory too.
For example, bzip2/lib4bzip2-1.0.6-i686-5.xzm.

The integrated module is included in the subdirectory too.
For example, bzip2/bzip2.xzm.

The integrated module is merged from a target package and selected dependent packages.
The dependent packages that are included in a basic group are not merged.
The basic group is as same as for a merged libraries case.
Therefor environment variable parameters 'SIMPLEBASE' and 'BASELIBDIR'
are evaluated as same as for a merged libraries case.

-------------------------------------------------------------------------------
Network access

This tool is running under the environment that network is available.
Following data will be downloaded.

1. Mirror site information (16 K)
At every execution,
if there is not the information in /etc/archspm,
it will be downloaded in /etc/archspm.

2. ArchLinux DataBase version ID (11 bytes)
At every execution,
it will be downloaded in temporary directory.

3. Repository DataBase
'core' repository DataBase (compressed size: 753 K)
'extra' repository DataBase (compressed size: 8 M)
'community' repository DataBase (compressed size: 13 M)

At every execution,
if there are not repository DataBases in the user specified STORAGE,
they will be downloaded in the user specified STORAGE.

These data are very big size.
Therefore it is recommended
that the user specified STORAGE is assigned to a persistent area.

4. Current package version list
for 'core' (7 K)
for 'extra' (115 K)
for 'community' (147 K)

At every execution,
if repository DataBase are not the latest ones and
there are not the latest current package version lists in /opt/archspm,
they will be downloaded in /opt/archspm.

5. Demanded packages (and their dependency packages)
If there are not in the user specified STORAGE,
they will be downloaded in the user specified STORAGE.

-------------------------------------------------------------------------------
Locale for languages

Only Japanese locale is included.

1.help message (plane text file)
for English
/usr/local/share/archspm/help/archlinuxHelp
for Japanese ($LANG = ja_JP.utf8)
/usr/local/share/archspm/help/archlinuxHelp.ja

Please translate from archlinuxHelp to your language archlinuxHelp.AA and
set in /usr/local/share/archspm/help/.
for $LANG = AA_BB.CCC
/usr/local/share/archspm/help/archlinuxHelp.AA

2. program-message file (archspm.mo)
There is a Japanese plane program-message file (archspm.po) in
/usr/local/share/archspm/src/

Please translate from English of the msgid part in Japanese archspm.po to your language and
replace Japanese of the msgstr part by those.
At translate, please be careful about parameter string.

And then convert your language plane file (archspm.po)
to programe-message file (archspm.mo) with msgfmt command.

% msgfmt -o archspm.mo archspm.po

Set archspm.mo in /usr/share/locale/AA/LC_MESSAGES/.
(AA is determined by your $LANG)

msgfmt command is included in the following modules.
[32 bit]
tools-3.1.rc2-i486-1.xzm
http://www.mediafire.com/download/r8mav ... i486-1.xzm
[64 bit]
tools-3.1.rc2-x86_64-1.xzm
http://www.mediafire.com/download/7n0w5 ... 6_64-1.xzm
-------------------------------------------------------------------------------

Thanks.


==============================================
[updated on 2015.09.13] archspm-15.09.08-noarch-2.xzm
[updated on 2015.09.14] archspm-15.09.08-noarch-3.xzm
[updated on 2015.09.19] archspm-15.09.08-noarch-4.xzm
[updated on 2015.09.20] archspm-15.09.08-noarch-5.xzm
[updated on 2015.09.22] archspm-15.09.08-noarch-6.xzm
[updated on 2015.09.25] archspm-15.09.08-noarch-7.xzm
[updated on 2015.09.27] archspm-15.09.27-noarch-1.xzm
[updated on 2015.10.02] archspm-15.09.27-noarch-2.xzm
[updated on 2015.10.22] archspm-15.09.27-noarch-3.xzm
[updated on 2015.10.26] archspm-15.09.27-noarch-4.xzm
[updated on 2015.11.08] archspm-15.09.27-noarch-5.xzm
[updated on 2015.11.10] archspm-15.09.27-noarch-6.xzm
[updated on 2015.11.10] archspm-15.09.27-noarch-7.xzm
[updated on 2015.11.24] archspm-15.09.27-noarch-8.xzm
[updated on 2015.12.30] archspm-15.12.12-noarch-4.xzm
[updated on 2016.01.17] archspm-15.12.12-noarch-9.xzm
[updated on 2016.02.03] archspm-15.12.12-noarch-C.xzm
[updated on 2016.02.10] archspm-15.12.12-noarch-E.xzm
[updated on 2016.02.15] archspm-16.02.14-noarch-1.xzm
[updated on 2016.02.24] archspm-16.02.14-noarch-2.xzm
[updated on 2016.03.11] archspm-16.02.14-noarch-5.xzm
[updated on 2016.03.11] archspm-16.02.14-noarch-6.xzm
[updated on 2016.03.29] archspm-16.02.14-noarch-7.xzm
[updated on 2016.05.01] archspm-16.04.30-noarch-1.xzm
[updated on 2016.06.06] archspm-16.04.30-noarch-4.xzm
[updated on 2016.06.07] archspm-16.04.30-noarch-5.xzm
[updated on 2016.12.04] Integrated Simple Package Management tool: spm-16.12.04-noarch-1.xzm
[updated on 2016.12.05] spm-16.12.04-noarch-2.xzm
[updated on 2016.12.13] spm-16.12.13-noarch-1.xzm (add fcitx-mozc build)
[updated on 2016.12.19] spm-16.12.18-noarch-1.xzm (update "vlc" spec of mkapl)
[updated on 2016.12.24] spm-16.12.24-noarch-1.xzm (add chromium to mkapl)
[updated on 2017.01.02] spm-17.01.02-noarch-1.xzm: "mkapl" bug (making "kpatience" for locale "pt_br") fix.
[updated on 2017.02.09] spm-17.02.09-noarch-1.xzm (add skype & pidgin to mkapl)
[updated on 2017.03.19] spm-17.03.19-noarch-1s.xzm (add mkmin command)
[updated on 2017.03.28] spm-17.03.26-noarch-1s.xzm
[updated on 2017.05.07] spm-17.05.06-noarch-1s.xzm
[updated on 2017.06.10] spm-17.06.10-noarch-1s.xzm (add getwpsOffice command)
[updated on 2017.06.26] spm-17.06.26-noarch-1s.xzm (hide getwpsOffice command)
[updated on 2017.07.09] spm-17.07.07-noarch-1s.xzm (bug fix of "mkpalemoon" and update of "mkslimjet")
[updated on 2017.07.26] spm-17.07.16-noarch-1.xzm
[updated on 2017.09.01] spm-17.08.30-noarch-1.xzm
[updated on 2017.09.21] spm-17.09.18-noarch-1.xzm
[updated on 2017.09.25] spm-17.09.25-noarch-1.xzm
[updated on 2017.11.21] spm-17.11.20-noarch-1.xzm (new 32 bit repository)
[updated on 2017.11.29] spm-17.11.28-noarch-1.xzm ("mkdevel" command was updated)
Last edited by neko on 29 Nov 2017, 07:04, edited 56 times in total.

neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: ArchLinux packages for Porteus

Post#2 by neko » 10 Sep 2015, 23:38

Following CUI (Character User Interface) commands are included
in spm-XX.XX.XX-noarch-Y.xzm (xx.xx.xx,Y >= 15.09.27,5).

acuiDepend, acuiGetL, acuiGetLd, and acuiUpdate
are executed by GUI too.

============================================================================
NAME
acuiUpdate - update archlinux modules

SYNOPSIS
acuiUpdate [-s=Strage] [-m=MirrorSite] [BASELIBDIR=BaseDirectory] [check|get|update]

DESCRIPTION
check:
"acuiUpdate" checks the versions of packages that are used to construct target modules.
Target modules have been expanded in the base directory.
BaseDirectory/ModuleName.xzm/EntityOfModele
Target modules are constructed with some packages that were created by "archspm".
There may be 3 kinds packages in the target module.
1. The package was converted from 'archlinux' package.
2. The 'lib4XXX' package was created with libraries on which 'XXX' package depends.
3. The other.
Kind 1,2 packages are checked.

get:
"acuiUpdate" gets the latest version packages by downloading from a mirror site.
The latest version packages are grouped by a module
and are expanded in the "new.pkgs.module" name directory.
CurrentDirectory/new.pkgs.ModuleName/SlackwareStylePackageName/EntityOfPackage

update:
"acuiUpdate" updates modules by replacing with latest packages.
The updated modules are created in the current directory.
CurrentDirectory/ModuleName.xzm
"new.pkgs.module"s created by "get" action are deleted.

OPTIONS
[-s=Strage]
Specify the STORAGE directory for "archspm".

Default is the STRORAGE that was specified by the latest "archspm" execution after boot.
If "archspm" doesn't yet be executed after boot,
default is a dumy directory "/tmp/archspm/xzmFROMarch".

[-m=MirrorSite]
Specify a mirror site that is used for getting archlinux packages.
This value will be saved in the STORAGE.
It must be in the archlinux mirror list.
The archlinux mirror list is /etc/archspm/archMirrorList (updated version)
or /usr/local/share/archspm/lib/archMirrorList.
MirrorSite string is without "/$repo/os/$arch" string.
example:
-m=http://mirror.us.leaseweb.net/archlinux
in list
Default is the value in the STORAGE.
If a mirror site information doesn't yet be set in the STORAGE,
default is "http://mirror.rackspace.com/archlinux".

[BASELIBDIR=BaseDirectory]
Specify the directory that contains target modules.
Target modules are directories that contain a module entity.
The name of a target module is ModuleName.xzm.
example:
BASELIBDIR=BaseDirectory
For following
there are modules.
ISO/porteus/base/000-kernel.xzm
ISO/porteus/base/001-core.xzm
ISO/porteus/base/002-xorg.xzm
create mount directoris.

Code: Select all

# mkdir -p BaseDirectory/000-kernel.xzm
# mkdir -p BaseDirectory/001-core.xzm
# mkdir -p BaseDirectory/002-xorg.xzm
mount modules.

Code: Select all

# mount -o loop -t squashfs ISO/porteus/base/000-kernel.xzm BaseDirectory/000-kernel.xzm
# mount -o loop -t squashfs ISO/porteus/base/001-core.xzm BaseDirectory/001-core.xzm
# mount -o loop -t squashfs ISO/porteus/base/002-xorg.xzm BaseDirectory/002-xorg.xzm
Default is "/mnt/live/memory/images".

[check|get|update]
Specify actions as follow.
check -> perform "check".
get -> perform "check" and "get".
update -> perform "check", "get" and "update".

Default actions are as follow.
Perform "check" and ask if continue the next action.
If answer "y",
perform "get" and ask if continue the next action.
If answer "y",
perform "update".

============================================================================

============================================================================
NAME
acuiGetL -
get packages of a package list
and create the module constructed with the gotten packages.

SYNOPSIS
acuiGetL [-s=Strage] [-m=MirrorSite] -l=PackageList -M=ModuleName

DESCRIPTION
get packages that are listed up in "PackageList",
merge these packages,
and create module "ModuleName.xzm".
The report "PackageList.repo.NNN" is created in the same directory as the list.

OPTIONS
[-s=Strage]
Specify the STORAGE directory for "archspm".

Default is the STRORAGE that was specified by the latest "archspm" execution after boot.
If "archspm" doesn't yet be executed after boot,
default is a dumy directory "/tmp/archspm/xzmFROMarch".

[-m=MirrorSite]
Specify a mirror site that is used for getting archlinux packages.
This value will be saved in the STORAGE.
It must be in the archlinux mirror list.
The archlinux mirror list is /etc/archspm/archMirrorList (updated version)
or /usr/local/share/archspm/lib/archMirrorList.
MirrorSite string is without "/$repo/os/$arch" string.
example:
-m=http://mirror.us.leaseweb.net/archlinux
in list
Default is the value in the STORAGE.
If a mirror site information doesn't yet be set in the STORAGE,
default is "http://mirror.rackspace.com/archlinux".

-l=PackageList
This option must be specified.
A package is specified by the package name without version and architecture informations.
One line has one package.
If the first character of a line is '#', the line is a comment line.
An empty line is a comment line.
example: "archlinux-2015.10.01-dual.iso.packelist"

Code: Select all

#
# This is a list of packages that construct "archlinux-2015.10.01-dual.iso"
#

acl
arch-install-scripts
archlinux-keyring
attr
b43-fwcutter
bash
bc
bind-tools
btrfs-progs
bzip2
ca-certificates
ca-certificates-cacert
ca-certificates-mozilla
ca-certificates-utils
clonezilla
coreutils
cracklib
crda
cryptsetup
curl
darkhttpd
db
dbus
ddrescue
desktop-file-utils
device-mapper
dhclient
dhcpcd
dialog
diffutils
ding-libs
dmraid
dnsmasq
dnssec-anchors
dosfstools
drbl
e2fsprogs
efibootmgr
efivar
elinks
ethtool
expat
f2fs-tools
file
filesystem
findutils
fsarchiver
fuse
gawk
gc
gcc-libs
gdbm
geoip
geoip-database
gettext
glib2
glibc
gmp
gnu-netcat
gnupg
gnutls
gpgme
gpm
gptfdisk
grep
grml-zsh-config
groff

###grub

gssproxy
gzip
haveged
hdparm
hwids
iana-etc
idnkit
inetutils
intel-ucode
iproute2
iptables
iputils
ipw2100-fw
ipw2200-fw
irssi
iw
jfsutils
js185
kbd
keyutils
kmod
krb5
lbzip2
ldns
less
lftp
libaio
libarchive
libassuan
libatomic_ops
libcap
libcap-ng
libdbus
libedit
libevent
libffi
libgcrypt
libgpg-error
libgssglue
libidn
libjpeg-turbo
libksba
libldap
libnewt
libnl
libpcap
libpipeline
libproxy
librpcsecgss
libsasl
libseccomp
libssh2
libsystemd
libtasn1
libtirpc
libunistring
libusb
libutil-linux
libxml2
licenses

##linux

linux-api-headers
linux-atm

##linux-firmware

logrotate
lrzip
lua51
lua52
lvm2
lz4
lzo
lzop
man-db
man-pages
mc
mdadm
memtest86+
mkinitcpio
mkinitcpio-busybox
mkinitcpio-nfs-utils
mpfr
mtools
nano
nbd
ncurses
netctl
nettle
net-tools
nfsidmap
nfs-utils
nilfs-utils
nmap
npth
nspr
ntfs-3g
ntp
openconnect
openresolv
openssh
openssl
openvpn
p11-kit

##pacman
##pacman-mirrorlist

pam
pambase
partclone
parted
partimage
pbzip2
pciutils
pcmciautils
pcre
perl
pigz
pinentry
pixz
popt
ppp
pptpclient
procps-ng
progsreiserfs
psmisc
pth
readline
refind-efi
reiserfsprogs
rfkill
rpcbind
rp-pppoe
rsync
sed
shadow
slang
smartmontools
s-nail
speedtouch
sshfs
sudo
sysfsutils
syslinux
systemd
systemd-sysvcompat
tar
tcl
tcpdump
testdisk
texinfo
thin-provisioning-tools
tre
tzdata
usb_modeswitch
usbutils
util-linux
vi
vim-minimal
vim-runtime
vpnc
wget
which
wireless-regdb
wireless_tools
wpa_actiond
wpa_supplicant
wvdial
wvstreams
xfsprogs
xl2tpd
xplc
xz
zd1211-firmware
zlib
zsh
-M=ModuleName
This option must be specified.
"ModuleName" is without suffix ".xzm".

example:

Code: Select all

% ls p1 p2
p1:
archlinux-2015.10.01-dual.iso.packelist

p2:

% acuiGetL -l=p1/archlinux-2015.10.01-dual.iso.packelist -M=p2/001-base
% ls p1 p2
p1:
archlinux-2015.10.01-dual.iso.packelist  archlinux-2015.10.01-dual.iso.packelist.repo.30461

p2:
001-base.xzm
============================================================================

============================================================================
NAME
acuiGetLd -
get packages of a package list
and create the directory which includes the subdirectories.
Each subdirectory entities are constructed from the gotten package.

SYNOPSIS
acuiGetLd [-s=Strage] [-m=MirrorSite] -l=PackageList -M=ModuleName

DESCRIPTION
"acuiGetLd" gets packages that are listed up in "PackageList",
expands each package in the subdirectory whose name is same as package name,
and sets all subdirectories in designated directory "ModuleName".

OPTIONS
[-s=Strage], [-m=MirrorSite], -l=PackageList
are same as ones of acuiGetL command.

-M=ModuleName
This option must be specified.
"ModuleName" is directory name (with/without path).
This directory will be created.
Package expanding subdirectories will be set in this directory.

example:
-M=../pkg.x
-l=list

Code: Select all

# cat list
acl
archlinux-keyring
attr
# ls -R ../pkg.x/
../pkg.x/:
acl-2.2.52-i686-2
archlinux-keyring-20160402-noarch-1
attr-2.4.47-i686-1
../pkg.x/acl-2.2.52-i686-2:
usr
var

../pkg.x/acl-2.2.52-i686-2/usr:
bin
lib
share

../pkg.x/acl-2.2.52-i686-2/usr/bin:
chacl
getfacl
setfacl

../pkg.x/acl-2.2.52-i686-2/usr/lib:
libacl.so
libacl.so.1
libacl.so.1.1.0

../pkg.x/acl-2.2.52-i686-2/usr/share:

../pkg.x/acl-2.2.52-i686-2/var:
log

../pkg.x/acl-2.2.52-i686-2/var/log:
packages

../pkg.x/acl-2.2.52-i686-2/var/log/packages:
acl-2.2.52-i686-2

../pkg.x/archlinux-keyring-20160402-noarch-1:
usr
var

../pkg.x/archlinux-keyring-20160402-noarch-1/usr:
share

../pkg.x/archlinux-keyring-20160402-noarch-1/usr/share:
pacman

../pkg.x/archlinux-keyring-20160402-noarch-1/usr/share/pacman:
keyrings
...
============================================================================

============================================================================
NAME
acuiDepend - get the module that are constructed with dependent libraries.

SYNOPSIS
acuiDepend [-s=Strage] [-m=MirrorSite] [BASELIBDIR=BaseDirectory] [SIMPLEBASE=nnnnnn] [PRE=list] PACKAGE.xzm

DESCRIPTION
"acuiDepend" gets the module that are constructed with dependent libraries of the designated module(PACKAGE.xzm).
The dependent module will be set in the current directory.
Its name is "lib4XXX.xzm"
String "XXX.xzm" is the designated module name without path.
For example:
If "PACKAGE.xzm" is ../a/b/c/target.xzm, lib4target.xzm will be obtained.

The dependent module does not include basic group libraries.

OPTIONS
[-s=Strage]
Specify the STORAGE directory for "archspm".

Default is the STRORAGE that was specified by the latest "archspm" execution after boot.
If "archspm" doesn't yet be executed after boot,
default is a dumy directory "/tmp/archspm/xzmFROMarch".

[-m=MirrorSite]
Specify a mirror site that is used for getting archlinux packages.
This value will be saved in the STORAGE.
It must be in the archlinux mirror list.
The archlinux mirror list is /etc/archspm/archMirrorList (updated version)
or /usr/local/share/archspm/lib/archMirrorList.
MirrorSite string is without "/$repo/os/$arch" string.
example:
-m=http://mirror.us.leaseweb.net/archlinux
in list
Default is the value in the STORAGE.
If a mirror site information doesn't yet be set in the STORAGE,
default is "http://mirror.rackspace.com/archlinux".

[BASELIBDIR=BaseDirectory]
Specify the directory that contains basic module mounted directories.
The name of the directory, that is included in the specified directory,
is same as module name (with suffix '.xzm').
example:
BASELIBDIR=BaseDirectory
For following
there are modules.
ISO/porteus/base/000-kernel.xzm
ISO/porteus/base/001-core.xzm
ISO/porteus/base/002-xorg.xzm
create mount directoris.

Code: Select all

# mkdir -p BaseDirectory/000-kernel.xzm
# mkdir -p BaseDirectory/001-core.xzm
# mkdir -p BaseDirectory/002-xorg.xzm
mount modules.

Code: Select all

# mount -o loop -t squashfs ISO/porteus/base/000-kernel.xzm BaseDirectory/000-kernel.xzm
# mount -o loop -t squashfs ISO/porteus/base/001-core.xzm BaseDirectory/001-core.xzm
# mount -o loop -t squashfs ISO/porteus/base/002-xorg.xzm BaseDirectory/002-xorg.xzm
Default is "/mnt/live/memory/images".

[SIMPLEBASE=nnnnnn]
Specify basic group libraries.
Basic group libraries are included in 00[$SIMPLEBASE]*.xzm modules.
Default is that basic group libraries are included in 00*.xzm modules.

[PRE=list]
Specify pre-download packages list.
The list contains one package name (based part) per one line.
It is same as "PackageList" of "acuiGetL" command.

This option is useful to avoid an interactive interface.
If a dependency library is included in multiple packages
and then these packages do not be downloaded in the STORAGE at all,
an interactive question is asked to select one package.


============================================================================

============================================================================
NAME
arch2mod - convert ArchLinux package (.pkg.tar.xz) to Porteus module (.xzm)
arch2dir - convert ArchLinux package (.pkg.tar.xz) to Porteus module expanded directory

SYNOPSIS
arch2mod ARCH-PACKAGE-NAME.pkg.tar.xz
arch2mod PATH/ID-PATH/ARCH-PACKAGE-NAME.pkg.tar.xz
arch2dir ARCH-PACKAGE-NAME.pkg.tar.xz
arch2dir PATH/ID-PATH/ARCH-PACKAGE-NAME.pkg.tar.xz

DESCRIPTION
arch2mod converts ArchLinux package ARCH-PACKAGE-NAME.pkg.tar.xz to Porteus module,
and divides it to 2 modules that will be created in the current directory;
PORTEUS-PACKAGE-NAME.xzm : main entities (stripped entities)
PORTEUS-PACKAGE-NAME.xzm.sep : additional entities (man,header,locale etc.,)

If the input is with path,
the last path name is used as package ID (ID-PATH).
The package information (/var/log/packages/PORTEUS-PACKAGE-NAME)
is inserted in the output modules.
The 'PACKAGE LOCATION' item of the package information is
"PACKAGE LOCATION: ARCH-PACKAGE-NAME.pkg.tar.xz"
or
"PACKAGE LOCATION: ID-PATH/ARCH-PACKAGE-NAME.pkg.tar.xz"

arch2dir converts as same as arch2mod,
and then expands the modules.
PORTEUS-PACKAGE-NAME.xzm is expanded to PORTEUS-PACKAGE-NAME directory.
PORTEUS-PACKAGE-NAME.xzm.sep is expanded to PORTEUS-PACKAGE-NAME.sep directory.

Please refer to
"Package naming convention" and "Package convert" of GUI tool archspm.

example:

Code: Select all

% pwd
/home/guest/manjaro
% ls
alsa-utils-openrc-20151014-1-any.pkg.tar.xz
% su
# arch2dir ../manjaro/alsa-utils-openrc-20151014-1-any.pkg.tar.xz
# ls -1
alsa-utils-openrc-20151014-1-any.pkg.tar.xz
alsa-utils-openrc-20151014-noarch-1
alsa-utils-openrc-20151014-noarch-1.sep
# cat alsa-utils-openrc-20151014-noarch-1/var/log/packages/alsa-utils-openrc-20151014-noarch-1
PACKAGE NAME: alsa-utils-openrc-20151014-noarch-1
COMPRESSED PACKAGE SIZE: 2260
UNCOMPRESSED PACKAGE SIZE: 3072
PACKAGE LOCATION: manjaro/alsa-utils-openrc-20151014-1-any.pkg.tar.xz
PACKAGE CATEGORY: openrc-desktop
PACKAGE DESCRIPTION:
alsa-utils-openrc: 
alsa-utils-openrc:  OpenRC alsa-utils init script
alsa-utils-openrc: 
alsa-utils-openrc: DEPENDS:
alsa-utils-openrc: openrc
alsa-utils-openrc: alsa-utils
alsa-utils-openrc: 
FILE LIST:
var
var/log
var/log/packages
var/log/packages/alsa-utils-openrc-20151014-noarch-1
etc
etc/conf.d
etc/conf.d/alsasound
etc/init.d
etc/init.d/alsasound
============================================================================

Miscellaneous commands

[reverse tools]
============================================================================
NAME
dISO/mkISO -
disassemble/assemble Porteus type ISO

SYNOPSIS
dISO PATH/PorteusType.iso
mkISO PATH/ExpandedPorteusTypeISODirectory

DESCRIPTION
dISO:
In the current directory,
create the directory that contains entities of the designated ISO.
The directory name is the designated Porteus type ISO name without the path and suffix ".iso".

mkISO:
In the current directory,
assemble the Porteus type ISO from the designated directory that contains entities of ISO.
The ISO name is the designated directory name without the path and is added with suffix ".iso".

[Porteus type ISO]
CD Label: "Porteus"
Boot image: ISO@/boot/syslinux/isolinux.bin
Boot catalog: ISO@/boot/syslinux/isolinux.boot

example:
refer to viewtopic.php?f=75&t=4997&start=15#p41855

============================================================================

============================================================================
NAME
dXZM/mkXZM -
disassemble/assemble Porteus module XZM

SYNOPSIS
dXZM PATH/PorteusModule.xzm
mkXZM PATH/ExpandedPorteusModuleDirectory

DESCRIPTION
dXZM:
In the current directory,
create the directory that contains entities of the designated XZM.
The directory name is the designated module name without the path and suffix ".xzm".

mkXZM:
In the current directory,
assemble the Porteus module XZM from the designated directory that contains entities of XZM.
The XZM module name is the designated directory name without the path and is added with suffix ".xzm".

[Porteus module XZM]
It is a "Squashfs filesystem" file.
It is created from the directory that contains entities of package(s).
It includes a single package or multiple packages.
A package has its information data or dosen't has it.
A package information data is set in the directory "/var/log/packages/" of the module.
A package information data name is same as the package name.

example:
refer to viewtopic.php?f=75&t=4997&start=15#p41855

============================================================================

============================================================================
NAME
mklog -
create/update a package information data

SYNOPSIS
mklog PATH/ExpandedPackageDirectory

DESCRIPTION
If there is not a package information data in the designated expanded package directory,
it will be created.
Otherwise, it will be updated.

The designated expanded package directory name is same as the package name.
The package information data name is same as the package name.
It is set in the directory "designated expanded package directory"/var/log/packages/ .

Usually, a package information is created by the get/convert package command (ArchSPM,arch2mod,arch2dir, etc).
But, if the package entities are changed, it should be updated by this command.
Or, if a package is created manually, it should be created by this command too.

example:
The package "zlib-1.2.8-i686-4" expanded directory

Code: Select all

zlib-1.2.8-i686-4/usr
zlib-1.2.8-i686-4/usr/lib
zlib-1.2.8-i686-4/usr/lib/libz.so
zlib-1.2.8-i686-4/usr/lib/libz.so.1
zlib-1.2.8-i686-4/usr/lib/libz.so.1.2.8
zlib-1.2.8-i686-4/usr/share
zlib-1.2.8-i686-4/var
zlib-1.2.8-i686-4/var/log
zlib-1.2.8-i686-4/var/log/packages
zlib-1.2.8-i686-4/var/log/packages/zlib-1.2.8-i686-4
The contents of zlib-1.2.8-i686-4/var/log/packages/zlib-1.2.8-i686-4

Code: Select all

PACKAGE NAME: zlib-1.2.8-i686-4
COMPRESSED PACKAGE SIZE: 92844
UNCOMPRESSED PACKAGE SIZE: 304128
PACKAGE LOCATION: core/zlib-1.2.8-4-i686.pkg.tar.xz
PACKAGE CATEGORY: 
PACKAGE DESCRIPTION:
zlib: 
zlib:  Compression library implementing the deflate compression method found in gzip and PKZIP
zlib: 
zlib: DEPENDS:
zlib: glibc
zlib: 
FILE LIST:
var
var/log
var/log/packages
var/log/packages/zlib-1.2.8-i686-4
usr
usr/share
usr/lib
usr/lib/libz.so.1.2.8
usr/lib/libz.so.1
usr/lib/libz.so
============================================================================

============================================================================
NAME
dINIT, mkINIT, sep2pkg, mergepkgs

Plese refer to
viewtopic.php?f=75&t=4997&start=15#p41855
============================================================================

Utilities download and convert commands

============================================================================
NAME
getwpsOffice -
download "WPS Office" and convert to xzm module (with dependency library).

SYNOPSIS
getwpsOffice

DESCRIPTION
In the current directory,
create wpsOffice-i386.xzm or wpsOffice-amd64.xzm depending on running architecture (32bit/64bit).

This command must be executed by root user.

About "WPS Office",
refer to https://www.wps.com/

example:

Code: Select all

% su
# ls
# uname -m
x86_64
# getwpsOffice
# ls -l
-rw-r--r-- 1 root root 97796096 Jun 10 13:49 wpsOffice-amd64.xzm
============================================================================

Thanks.
Last edited by neko on 10 Jun 2017, 09:05, edited 14 times in total.

neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

ArchLinux packages manager for Porteus

Post#3 by neko » 10 Sep 2015, 23:38

=== Archlinux ISOs that are formed under the Porteus basic frame. ===
Image
Wall Paper: ChiangMai Railway Station

[Trial version]
These ISOs are constructed with ArckLinux Packages based on Porteus frame.

Trial versions purpose is to study the implement "ArchLinux packages in the Porteus framework".
A usual usage like Porteus V3.1 is not intended.
Therefore, offered ISO completeness is low and they have many issues.
These ISO treatments are intended to be modified by each person himself.

[Example of ISOs that were created by "APorteus ISO builder"]
Language: English (locale C)
Refer to ArchLinux packages manager for Porteus (Post by neko #49091)

Language: French
APorteus-MULT_fr-v17.12.08-x86_64.iso (513 M: FVWM, OPENBOX, LXDE, E16, XFCE, and BUDGIE desktops)
http://www.mediafire.com/file/0x72t9ce7 ... x86_64.iso
md5sum: 2a615718b8c8ceac536aec43bce9b0fa APorteus-MULT_fr-v17.12.08-x86_64.iso
Please refer to ArchLinux packages manager for Porteus

Language: Russian
APorteus-BUDGIE_ru-v17.11.27-x86_64.iso (389 M: BUDGIE desktop)
http://www.mediafire.com/file/j37aaxa4o ... x86_64.iso
md5sum: 653dee9dcc38f11c105921fdeff23928 APorteus-BUDGIE_ru-v17.11.27-x86_64.iso
Please refer to ArchLinux packages manager for Porteus

Language: Spanish
APorteus-BUDGIE_es-v17.10.20-x86_64.iso (805 M: BUDGIE desktop)
http://www.mediafire.com/file/bau2e1c6g ... x86_64.iso
md5sum: 3bcd279816004b143417cd43599bad4c APorteus-BUDGIE_es-v17.10.20-x86_64.iso
Please refer to ArchLinux packages manager for Porteus

Language: German
APorteus-MULT_de-v17.12.06-x86_64.iso (513 M: FVWM, OPENBOX, LXDE, E16, XFCE, and BUDGIE desktops)
http://www.mediafire.com/file/n955v2255 ... x86_64.iso
md5sum: df0b9a5dd45af3079d1cdace39d067e7 APorteus-MULT_de-v17.12.06-x86_64.iso
Please refer to ArchLinux packages manager for Porteus

Language: Thai
APorteus-MULT_th-v17.12.09-i486.iso (493 M: FVWM, OPENBOX, LXDE, E16, XFCE, and BUDGIE desktops)
http://www.mediafire.com/file/hnczdahxb ... 9-i486.iso
md5sum: 15aac4e891b632c9cc578bad9854dc14 APorteus-MULT_th-v17.12.09-i486.iso
Please refer to ArchLinux packages manager for Porteus

Language: Japanese
APorteus-BUDGIE_ja-v17.11.25-x86_64.iso (929 M: BUDGIE desktop)
http://www.mediafire.com/file/n0snq35v6 ... x86_64.iso
md5sum: cb7ce4c0ecb07a79b57f891ae08791c0 APorteus-BUDGIE_ja-v17.11.25-x86_64.iso

APorteus-MULT_ja-v17.12.07-i486.iso (527 M: FVWM, OPENBOX, LXDE, E16, XFCE, and BUDGIE desktops)
http://www.mediafire.com/file/wvwumm6vi ... 7-i486.iso
md5sum: 394de94b3b6d6fedf45140cdafb88c32 APorteus-MULT_ja-v17.12.07-i486.iso

Please refer to ArchLinux packages manager for Porteus (Post by neko #50011)

Language: Portugal/Brazil
APorteus-BUDGIE_pt-v17.10.18-x86_64.iso (806 M: BUDGIE desktop)
http://www.mediafire.com/file/7fueagxnf ... x86_64.iso
md5sum: 948cdd4da9d1d23d3af9f622a3a94f94 APorteus-BUDGIE_pt-v17.10.18-x86_64.iso
Please refer to ArchLinux packages manager for Porteus

Language: Italian
APorteus-MULT_it-v17.12.09-x86_64.iso (512 M: FVWM, OPENBOX, LXDE, E16, XFCE, and BUDGIE desktops)
http://www.mediafire.com/file/rm32x4gjm ... x86_64.iso
md5sum: 2453021cb61bd57fbc7e069f483a6056 APorteus-MULT_it-v17.12.09-x86_64.iso
Please refer to ArchLinux packages manager for Porteus

Note:
If cheatcode "noload=005" will be set, the locale of all example ISOs will be 'C' (English).

[Feature]
1. Constructed packages are gotten from ArckLinux Packages
and converted to Porteus type modues (.xzm).

2. ISO frame is same as Porteus ISO.

3. Cheatcodes/initrd are nealy same as Porteus.
(1)The "EXIT:" of Cheat Code "changes=EXIT:" is ignored.
"changes=EXIT:" is treated same as "changes=".

4. current kernel version : 4.13.14

5. Controled by systemd.

6. Package manager is
"the Simple Package Manager for ArchLinux packages" that is modified for a self environment tool.

[Known issues]
There are some issues.
Please refer to [issues list] at the end of this article.

[How to get APorteus ISO]
1. Get "APorteus ISO builder" ISO.
--32bit--
APorteus-v17.11.21-i486.iso (318 M)
http://www.mediafire.com/file/2j8rxtwst ... 1-i486.iso
md5sum: c6d109db489309f8c87a2559ae6ff112 APorteus-v17.11.21-i486.iso

--64bit--
APorteus-v17.11.21-x86_64.iso (320 M)
http://www.mediafire.com/file/gml1nvbon ... x86_64.iso
md5sum: 9923badafe185b9da703214abc68c8a6 APorteus-v17.11.21-x86_64.iso

2. Boot "APorteus ISO builder" ISO.

3. Run "guibuildiso".
From the pop-up menu, it can be run.
"System Tools"---->"APorteus ISO Builder"

3.1. Set configuration data into "Input window".
Image
Input window.

3.2. Start.

3.3. Watch progress.
[]http://i.imgur.com/yyXcXa5.png[]
Progress display window.

3.4. Get the created ISOs.
The Archlinux packages,
that are constructed for output ISOs,
are updated as Archlinux rolling-release at created time.

"slimjet", "vivaldi", "google-chrome", "Pale Moon" & "min web browser"
that are constructed for output ISOs,
are updated to latest ones at created time.

(1) updated "APorteus ISO builder" ISO
If "APorteus ISO builder" ISO would be updated, new one would be created.
This ISO should be used to get "APorteus ISO" at next time.

(2) The "APorteus ISO" that was your selection.
"APorteus-XXX_LL-vYY.MM.DD-ARCH.iso"

==== XXX: desktop name. XFCE/MATE/LXQT/BUDGIE/LXDE/LUMINA/MINILXDE/E16/OPENBOX/MULT
"MULT" is the name of ISO including multiple desktops.
Case in no desktop parameter, OPENBOX without application ("bared OPENBOX") will be assigned.

==== LL: language/locale mnemonic.
example: mnemonic "de" is for German.

==== vYY.MM.DD: version number. it is created from date.
example: 2016.06.30 --> v16.06.30

==== ARCH: architecture code.
i486/x86_64=32bit/64bit


NOTE1:
If WEB browser "Pale moon" is selected and "Pale moon" has your locale pack XX.xpi,
the created ISO has the directory "/home/guest/palemoon" and the directory includes your language pack XX.xpi.

[How to change "Pale moon" locale]
1. execute "Pale moon"
2. Top left button: File --> Open File... (guest --> palemoon --> XX.xpi) ---> "Install now"
3. set "about:config" in address field.
4. double crick "general.useragent.locale" line, and then change (en-US ---> XX)
5. exit
6. restart

NOTE2:
"gthumb" cannot run on MATE desktop.
If Graphic application "gthumb" is selected,
you have to perform the command "update-cache" by "root" privilege after starting desktop.

NOTE3:
"gimp" is basically included in "MATE desktop".
If the both of "MATE desktop" and "gimp" are selected,
"gimp" will be ignored.


[Live USB]
This builder can create seamlessly the live USB from built ISO.
[]https://i.imgsafe.org/8c22edf0ab.png[]

example: 32bit-ISO multi-desktops(lxde,lxqt,mate,xfce); USB=/dev/sdc; BIOS partition;

Code: Select all

% su
# blkid | grep /sdc
/dev/sdc1: UUID="b9ac3029-6105-4db9-ae4f-44f967f3bdb3" TYPE="ext3" PARTUUID="a15109ab-01"
/dev/sdc2: UUID="98a679b4-1692-4455-ad2a-1a3d96ef385e" TYPE="ext4" PARTUUID="a15109ab-02"
# mount /dev/sdc1 /mnt/sdc1
# mount /dev/sdc2 /mnt/sdc2
#
#
# ls -R1 /mnt/sdc1
/mnt/sdc1:
boot
lost+found

/mnt/sdc1/boot:
Porteus-installer-for-Linux.com
Porteus-installer-for-Windows.exe
docs
syslinux

/mnt/sdc1/boot/docs:
GNU_GPL
License.txt
cheatcodes-ja.txt
cheatcodes.txt
install.txt
requirements.txt

/mnt/sdc1/boot/syslinux:
chain.c32
extlinux.conf
initrd.xz
isolinux.bin
isolinux.boot
isolinux.cfg
ldlinux.c32
ldlinux.sys
libcom32.c32
libutil.c32
lilo.conf
plpbt
porteus.cfg
porteus.png
syslinux.cfg
vesamenu.c32
vmlinuz

/mnt/sdc1/lost+found:
#
#
# ls -R1 /mnt/sdc2
/mnt/sdc2:
iso
lost+found
persis

/mnt/sdc2/iso:
APorteus-MULT_ja-v16.07.28-i486.iso

/mnt/sdc2/lost+found:

/mnt/sdc2/persis:
lxde
lxqt
mate
xfce

/mnt/sdc2/persis/lxde:

/mnt/sdc2/persis/lxqt:

/mnt/sdc2/persis/mate:

/mnt/sdc2/persis/xfce:
#
#
# cat /mnt/sdc1/boot/syslinux/porteus.cfg
PROMPT 0
TIMEOUT 90
UI vesamenu.c32
DEFAULT xfce
MENU BACKGROUND porteus.png
MENU TITLE APorteus-MULT 32bit

MENU WIDTH 30
MENU MARGIN 2
MENU ROWS 10
MENU HELPMSGROW 17
MENU TIMEOUTROW 28
MENU TABMSGROW 15
MENU CMDLINEROW 22
MENU HSHIFT 4
MENU VSHIFT 5

	menu color screen	37;40      #00000000 #00000000 none
	menu color border	30;44      #00000000 #00000000 none
	menu color title	1;36;44    #ffF6FF00 #00000000 none
	menu color unsel	37;44      #ffffffff #00000000 none
	menu color hotkey	1;37;44    #ff8037b7 #00000000 none
	menu color sel		7;37;40    #ff111B78 #003f7fbf none
	menu color hotsel	1;7;37;40  #ffaf67f7 #003f7fbf none
	menu color scrollbar	30;44      #00000000 #00000000 none

	menu color tabmsg	31;40      #ffB6F538 #00000000 none
	menu color cmdmark	1;36;40    #ffff0000 #00000000 none
	menu color cmdline	37;40      #ffffffff #ff000000 none
	menu color pwdborder	30;47      #ffff0000 #00000000 std
	menu color pwdheader	31;47      #ffff0000 #00000000 std
	menu color pwdentry	30;47      #ffff0000 #00000000 std
	menu color timeout_msg	37;40      #ff809aef #00000000 none
	menu color timeout	1;37;40    #ffb72f9f #00000000 none
	menu color help		37;40      #ffD5F538 #00000000 none
	menu color msg07	37;40      #90ffffff #00000000 std



LABEL xfce
MENU LABEL xfce
KERNEL vmlinuz
APPEND initrd=initrd.xz retry copy2ram load=xfce reboot=force  from=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/iso/APorteus-MULT_ja-v16.07.28-i486.iso changes=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/persis/xfce
TEXT HELP
    Run archlinux packages Porteus XFCE.
ENDTEXT


LABEL mate
MENU LABEL mate
KERNEL vmlinuz
APPEND initrd=initrd.xz retry copy2ram load=mate reboot=force  from=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/iso/APorteus-MULT_ja-v16.07.28-i486.iso changes=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/persis/mate
TEXT HELP
    Run archlinux packages Porteus MATE.
ENDTEXT


LABEL lxqt
MENU LABEL lxqt
KERNEL vmlinuz
APPEND initrd=initrd.xz retry copy2ram load=lxqt reboot=force  from=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/iso/APorteus-MULT_ja-v16.07.28-i486.iso changes=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/persis/lxqt
TEXT HELP
    Run archlinux packages Porteus LXQT.
ENDTEXT


LABEL lxde
MENU LABEL lxde
KERNEL vmlinuz
APPEND initrd=initrd.xz retry copy2ram load=lxde reboot=force  from=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/iso/APorteus-MULT_ja-v16.07.28-i486.iso changes=UUID:98a679b4-1692-4455-ad2a-1a3d96ef385e/persis/lxde
TEXT HELP
    Run archlinux packages Porteus LXDE.
ENDTEXT


MENU SEPARATOR

LABEL plop
MENU LABEL PLoP BootManager
KERNEL plpbt
TEXT HELP
    Run the plop boot manager.
    This utility provides handy
    boot-USB options for machines
    with vintage/defective BIOS
ENDTEXT

LABEL hd
MENU LABEL Boot from the first hd
COM32 chain.c32
APPEND hd0 1
TEXT HELP
    Don't start Porteus at all, but
    rather run any operating system
    installed on the first partition
    of the hard drive
ENDTEXT
Thanks.

---------------------------------------------------
[archive]

---------------------------------------------------
[updated on 2015.11.24] The compile engine ISO.
[updated on 2016.01.31] open APorteus-FVWM-v16.01.31-i486.iso/APorteus-FVWM-v16.01.31-x86_64.iso
[updated on 2016.02.01] APorteus-FVWM Japanese locale version (32bit/64bit) is opened.
[updated on 2016.02.09] add upv16.02.09.tar.
[updated on 2016.02.16] add upv16.02.15.tar.
[updated on 2016.02.24] "APorteus FVWM" is updated to v16.02.23.
[updated on 2016.03.11] "APorteus FVWM" is updated to v16.03.10.
[updated on 2016.03.12] add upv16.03.12.tar.
[updated on 2016.03.17] add amkslimjet-16.03.13-noarch-1.xzm.
[updated on 2016.03.25] "APorteus FVWM" is updated to v16.03.25.
[updated on 2016.03.29] "APorteus XFCE" is added. "Aporteus ISO" is updated to v16.03.28.
[updated on 2016.04.01] correct mis-upload APorteus-FVWM-v16.02.28-i486.iso --> APorteus-FVWM-v16.03.28-i486.iso
[updated on 2016.04.11] "APorteus MATE" is added. "Aporteus ISO" is updated to v16.04.02.
[updated on 2016.04.23] "APorteus ISOs" are updated to v16.04.22.
[updated on 2016.05.07] "Aporteus LXQT" is added.
[updated on 2016.05.08] "APorteus FVWM, XFCE, MATE" are updated to v16.05.08.
[updated on 2016.05.16] "APorteus ISOs" are updated to v16.05.13.
[updated on 2016.05.21] "APorteus ISOs" are updated to v16.05.20.
[updated on 2016.05.29] "APorteus ISOs" are updated to v16.05.27.
[updated on 2016.06.30] APorteus-v16.06.27-i486.iso & APorteus-v16.06.28-x86_64.iso are released.
[updated on 2016.07.15] "APorteus ISO builder" ISOs are updated to v16.07.15.
[updated on 2016.07.22] "APorteus ISO builder" ISOs are updated to v16.07.21.
[updated on 2016.07.29] "APorteus ISO builder" ISOs are updated to v16.07.28.
[updated on 2016.08.10] "APorteus ISO builder" ISOs are updated to v16.08.09.
[updated on 2016.09.02] "APorteus ISO builder" ISOs are updated to v16.09.01.
[updated on 2016.09.16] "APorteus ISO builder" ISOs are updated to v16.09.15.
[updated on 2016.09.20] "APorteus ISO builder" ISOs are updated to v16.09.20.
[updated on 2016.09.27] "APorteus ISO builder" ISOs are updated to v16.09.27.
[updated on 2016.10.10] "APorteus ISO builder" ISOs are updated to v16.10.10.
[updated on 2016.10.19] "APorteus ISO builder" ISOs are updated to v16.10.18.
[updated on 2016.10.27] "APorteus ISO builder" ISOs are updated to v16.10.25.
[updated on 2016.11.06] "APorteus ISO builder" ISOs are updated to v16.11.05.
[updated on 2016.11.08] "APorteus ISO builder" ISOs are updated to v16.11.07.
[updated on 2016.11.12] "APorteus ISO builder" ISOs are updated to v16.11.11.
[updated on 2016.11.16] "APorteus ISO builder" ISOs are updated to v16.11.15.
[updated on 2016.11.21] "APorteus ISO builder" ISOs are updated to v16.11.21.
[updated on 2016.11.24] "APorteus ISO builder" ISOs are updated to v16.11.23.
[updated on 2016.12.06] "APorteus ISO builder" ISOs are updated to v16.12.05.
[updated on 2016.12.09] "APorteus ISO builder" ISOs are updated to v16.12.08.
[updated on 2016.12.14] "APorteus ISO builder" ISOs are updated to v16.12.14.
[updated on 2016.12.18] "APorteus ISO builder" ISOs are updated to v16.12.18.
[updated on 2016.12.25] "APorteus ISO builder" ISOs are updated to v16.12.25.
[updated on 2016.12.29] "APorteus ISO builder" ISOs are updated to v16.12.29.
[updated on 2017.01.08] "APorteus ISO builder" ISOs are updated to v17.01.06.
[updated on 2017.01.18] "APorteus ISO builder" ISOs are updated to v17.01.17.
[updated on 2017.01.24] "APorteus ISO builder" ISOs are updated to v17.01.22.
[updated on 2017.02.01] "APorteus ISO builder" ISOs are updated to v17.01.31.
[updated on 2017.02.16] "APorteus ISO builder" ISOs are updated to v17.02.15.
[updated on 2017.03.01] "APorteus ISO builder" ISOs are updated to v17.02.28.
[updated on 2017.03.07] "APorteus ISO builder" ISOs are updated to v17.03.06.
[updated on 2017.03.21] "APorteus ISO builder" ISOs are updated to v17.03.20.
[updated on 2017.04.02] "APorteus ISO builder" ISOs are updated to v17.04.02.
[updated on 2017.04.28] "APorteus ISO builder" ISOs are updated to v17.04.28.
[updated on 2017.04.30] "APorteus ISO builder" ISOs are updated to v17.04.30.
[updated on 2017.06.23] "APorteus ISO builder" ISOs are updated to v17.06.23.
[updated on 2017.07.09] "APorteus ISO builder" ISOs are updated to v17.07.08.
[updated on 2017.07.14] "APorteus ISO builder" ISOs are updated to v17.07.14.
[updated on 2017.07.26] "APorteus ISO builder" ISOs are updated to v17.07.24
[updated on 2017.08.01] "APorteus ISO builder" ISOs are updated to v17.08.01
[updated on 2017.08.14] "APorteus ISO builder" ISOs are updated to v17.08.13
[updated on 2017.09.01] "APorteus ISO builder" ISOs are updated to v17.09.01
[updated on 2017.09.23] "APorteus ISO builder" ISOs are updated to v17.09.22
[updated on 2017.10.19] "APorteus ISO builder" ISOs are updated to v17.10.18.
[updated on 2017.11.18] 32 bit "APorteus ISO Builder" is the end of offering.
[updated on 2017.11.21] "APorteus ISO builder" ISOs are updated to v17.11.21. (new 32 bit repository)

---------------------------------------------------
[issues list]
1. MC (midnight commander) error
pointed out by Jack & fred08155.
ArchLinux packages manager for Porteus
ArchLinux packages manager for Porteus

2. The menu features chromium (text but no icon) but it is not included.
pointed out by fred08155.
ArchLinux packages manager for Porteus

3. saving changes
3.1. Few settings are saved. Most changes are lost.
pointed out by fred08155.
ArchLinux packages manager for Porteus

4. a lot of errors when shutting down that /mnt/live/memory can not be unmounted.
pointed out by fred08155.
ArchLinux packages manager for Porteus

5. missing the xzm conversion tools like in normal porteus (dir2xzm, deb2xzm, txz2xzm and so on).
pointed out by fred08155.
ArchLinux packages manager for Porteus

6. setting up printers.
pointed out by fred08155.
ArchLinux packages manager for Porteus

7. a start job for dhcpcd running on every bootup.Waiting for a network connection on unused LAN port slows down the bootup a lot.
pointed out by yuttarito(Japanese user) & fred08155.
ArchLinux packages manager for Porteus

8. Mate need more fixing the look on the display.
(It is to strip down as far as display looks.)
pointed out by Jack.
ArchLinux packages manager for Porteus

9. tuning ISO for own spec is a hard job.
pointed out by fred08155.
ArchLinux packages manager for Porteus

10. About output of archSPM terminal window, its scroll is short and can not be copied up.
pointed out by yuttarito(Japanese user).

11. vlc.xzm that was built by archSPM lacks some functions.
pointed out by yuttarito(Japanese user).

12. Fixed package set of 001,002 modules is not fit with Arch rolling release.
ArchLinux packages manager for Porteus

13. Input method "fcitx-mozc" for Japanese is needed.
pointed out by yuttarito(Japanese user).

---------------------------------------------------
Last edited by neko on 10 Dec 2017, 02:36, edited 253 times in total.

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

Re: ArchLinux packages for Porteus

Post#4 by francois » 11 Sep 2015, 00:27

Great initiative neko. I imagine that this means that according to AUR specification, it will be possible to fetch then porteus or slackware dependencies, and the additional missing dependencies from archlinux.
Voltaire: Le mieux est l'ennemi du bien.

neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: ArchLinux packages manager for Porteus

Post#5 by neko » 11 Sep 2015, 04:00

@francois
I don't know how much useful this tool is for other peoples.

On my ArchLinux package research, I needed to create this tool.
When I treat many ArchLinux packages, an update problem happens.
According to the number of packages increases,
it will be hard to maintain the latest version packages.
From this view point,this tool is very useful for me.

Thanks.

tome
Contributor
Contributor
Posts: 575
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: ArchLinux packages manager for Porteus

Post#6 by tome » 11 Sep 2015, 08:53


neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: ArchLinux packages manager for Porteus

Post#7 by neko » 11 Sep 2015, 11:00

@tome
The packages that are gotten by ViktorNova's Porteus-AUR is useable on Porteus environment.
It is very useful for many Porteus users.

But ones by this tool almost are not useable directly.
This tool doesn't compile a source files.
It transfer a binary file in ArchLinux package frame to one in Porteus package frame.

Thanks.

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

Re: ArchLinux packages manager for Porteus

Post#8 by francois » 11 Sep 2015, 11:54

@tome:
Good that you have referenced this link to me. Especially that vicktornova is perfecting that tool. He his currently active. Did you use it recently?

Reading the new information on github for vicktornova nothing changed for porteus.However, he has made it universal or for all distributions. Though some modifications are announced to come for porteus. There is still no automatic dependency resolution.

Edited 150912150913
Voltaire: Le mieux est l'ennemi du bien.

neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: ArchLinux packages manager for Porteus

Post#9 by neko » 11 Sep 2015, 13:28

@francois
wrote
"did you use it recently?"

No, I didn't.
I do not have used ViktorNova's tool.
I just read ViktorNova's posts at tome's referral.

I am considering whether such can build a Porteus in the current binary package of ArchLinux.
For this reason, I have operated dump the binary directly from ArchLinux.
The tool required for this work was offered with this thread.
(Therefore I hesitated offering it.)

Thanks.

neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: ArchLinux packages manager for Porteus

Post#10 by neko » 13 Sep 2015, 06:01

archspm-15.09.08-noarch-1.xzm was updated to archspm-15.09.08-noarch-2.xzm.

[bug fix]
1.'Merging libraries' abort bug
2.'help button' doesn't run

Thanks.

tome
Contributor
Contributor
Posts: 575
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: ArchLinux packages manager for Porteus

Post#11 by tome » 13 Sep 2015, 09:17

Did you use it recently?
No, I don't use it now. I lost even xzm modules made by ViktorNova, but it worked good for me.

bour59
Samurai
Samurai
Posts: 118
Joined: 29 Dec 2010, 08:10
Distribution: porteus v3.2.2-xfce
Location: France

Re: ArchLinux packages manager for Porteus

Post#12 by bour59 » 13 Sep 2015, 14:44

hi, neko
I used your tool to get the latest version of the joe editor (4.0)
no problem , I got the xzm
but how many downloads during the execution of the tool (verbose or talkative) every time I use the tool
Bravo for your tool

.. off topic
no problem with your kernel update tool
I'm using lxqt (french) and I think to try your lxde-fvwm (not french)
I do like the way you explains everything

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

Re: ArchLinux packages manager for Porteus

Post#13 by francois » 13 Sep 2015, 15:29

@neko:

This tool is great. It intends to satisfy the dependencies taking into account porteus libraries and packages.
From what I understand, for now you are doing better than viktornova, in term of possibilities and automation. 8)

1.0 Abiword:
I have tried with the abiword package to test the system. The problem is that when I merge the dependencies for abiword I get a lib4abiword-3.0.1-x86_64-2.xzm that is not a valid module.

Is it because I am working on the 64bit architecture?

2.0 fotoxx and kino:
I have tried these too. However, they are not available in the archlinux standard repositories. Could your tool integrate AUR eventually.

3.0 Pursuing with other packages which are into the official package databases. I get the same problem of lib4* not a valid module with:
- kigo (a chineese game from the kdegames array)
- vlc: the merge module function will not even be able to produce the lib4* package.

Note:
When setting up the working directory and importing the arch linux database, instead of having as default the /tmp folder, wouldn't it be better to set it in a more permanent folder. This way preventing the rebuilding of the database at each bootup? You could prompt the user: Do you intend to install archspm permanently?
Voltaire: Le mieux est l'ennemi du bien.

neko
DEV Team
DEV Team
Posts: 990
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Re: ArchLinux packages manager for Porteus

Post#14 by neko » 14 Sep 2015, 04:34

---------------------------------------------------------------
@bour59
Thank you for your use.

Insufficient explanation of the document apologize that was frustrating you.
Document about downloads was updated. (add)


Now the issue of nvidia driver on upkernel-3.18.21-noarch-1.xzm is pointed out by Kriss.
viewtopic.php?f=75&t=4788&start=45#p36670

If you use it on nvidia environment, you might be falling in the same issue.
I can not yet fixed this issue.

By your point out, a document about a locale was added.

Thanks.

---------------------------------------------------------------
@francois
Every time your helpful suggestions,
thank you very much.

1. I followed your test about abiword.

tool result
/mnt/sda4/porteus/pps/64/archlinux/: my STORAGE

Code: Select all

guest@porteus:/mnt/sda4/porteus/pps/64/archlinux/abiword$ pwd
/mnt/sda4/porteus/pps/64/archlinux/abiword
guest@porteus:/mnt/sda4/porteus/pps/64/archlinux/abiword$ ls -l
合計 12156
lrwxrwxrwx 1 root root       29  9月 14 10:39 abiword-3.0.1-x86_64-2.xzm -> ../abiword-3.0.1-x86_64-2.xzm
lrwxrwxrwx 1 root root       31  9月 14 10:39 aiksaurus-1.2.1-x86_64-4.xzm -> ../aiksaurus-1.2.1-x86_64-4.xzm
lrwxrwxrwx 1 root root       39  9月 14 10:39 desktop-file-utils-0.22-x86_64-1.xzm -> ../desktop-file-utils-0.22-x86_64-1.xzm
lrwxrwxrwx 1 root root       29  9月 14 10:39 enchant-1.6.0-x86_64-5.xzm -> ../enchant-1.6.0-x86_64-5.xzm
lrwxrwxrwx 1 root root       30  9月 14 10:39 fribidi-0.19.7-x86_64-1.xzm -> ../fribidi-0.19.7-x86_64-1.xzm
lrwxrwxrwx 1 root root       32  9月 14 10:39 ghostscript-9.16-x86_64-1.xzm -> ../ghostscript-9.16-x86_64-1.xzm
lrwxrwxrwx 1 root root       31  9月 14 10:39 goffice-0.10.23-x86_64-1.xzm -> ../goffice-0.10.23-x86_64-1.xzm
lrwxrwxrwx 1 root root       44  9月 14 10:39 gtk-update-icon-cache-3.16.6-x86_64-1.xzm -> ../gtk-update-icon-cache-3.16.6-x86_64-1.xzm
lrwxrwxrwx 1 root root       33  9月 14 10:39 gtkmathview-0.8.0-x86_64-4.xzm -> ../gtkmathview-0.8.0-x86_64-4.xzm
lrwxrwxrwx 1 root root       24  9月 14 10:39 icu-55.1-x86_64-1.xzm -> ../icu-55.1-x86_64-1.xzm
lrwxrwxrwx 1 root root       30  9月 14 10:39 keyutils-1.5.9-x86_64-1.xzm -> ../keyutils-1.5.9-x86_64-1.xzm
lrwxrwxrwx 1 root root       27  9月 14 10:39 krb5-1.13.2-x86_64-1.xzm -> ../krb5-1.13.2-x86_64-1.xzm
-rw-r--r-- 1 root root 12447744  9月 14 10:39 lib4abiword-3.0.1-x86_64-2.xzm
lrwxrwxrwx 1 root root       29  9月 14 10:39 libcups-2.0.4-x86_64-1.xzm -> ../libcups-2.0.4-x86_64-1.xzm
lrwxrwxrwx 1 root root       31  9月 14 10:39 libgcrypt-1.6.4-x86_64-1.xzm -> ../libgcrypt-1.6.4-x86_64-1.xzm
lrwxrwxrwx 1 root root       30  9月 14 10:39 libgsf-1.14.34-x86_64-1.xzm -> ../libgsf-1.14.34-x86_64-1.xzm
lrwxrwxrwx 1 root root       29  9月 14 10:39 libical-1.0.1-x86_64-2.xzm -> ../libical-1.0.1-x86_64-2.xzm
lrwxrwxrwx 1 root root       28  9月 14 10:39 libots-0.5.0-x86_64-4.xzm -> ../libots-0.5.0-x86_64-4.xzm
lrwxrwxrwx 1 root root       31  9月 14 10:39 libpaper-1.1.24-x86_64-8.xzm -> ../libpaper-1.1.24-x86_64-8.xzm
lrwxrwxrwx 1 root root       29  9月 14 10:39 libpng-1.6.18-x86_64-1.xzm -> ../libpng-1.6.18-x86_64-1.xzm
lrwxrwxrwx 1 root root       32  9月 14 10:39 librsvg-1:2.40.9-x86_64-2.xzm -> ../librsvg-1:2.40.9-x86_64-2.xzm
lrwxrwxrwx 1 root root       30  9月 14 10:39 libsoup-2.50.0-x86_64-1.xzm -> ../libsoup-2.50.0-x86_64-1.xzm
lrwxrwxrwx 1 root root       32  9月 14 10:39 libspectre-0.2.7-x86_64-2.xzm -> ../libspectre-0.2.7-x86_64-2.xzm
lrwxrwxrwx 1 root root       29  9月 14 10:39 libtiff-4.0.4-x86_64-1.xzm -> ../libtiff-4.0.4-x86_64-1.xzm
lrwxrwxrwx 1 root root       31  9月 14 10:39 libwmf-0.2.8.4-x86_64-12.xzm -> ../libwmf-0.2.8.4-x86_64-12.xzm
lrwxrwxrwx 1 root root       28  9月 14 10:39 libwpg-0.3.0-x86_64-1.xzm -> ../libwpg-0.3.0-x86_64-1.xzm
lrwxrwxrwx 1 root root       30  9月 14 10:39 libxslt-1.1.28-x86_64-3.xzm -> ../libxslt-1.1.28-x86_64-3.xzm
lrwxrwxrwx 1 root root       34  9月 14 10:39 link-grammar-5.2.1-x86_64-1.xzm -> ../link-grammar-5.2.1-x86_64-1.xzm
lrwxrwxrwx 1 root root       31  9月 14 10:39 loudmouth-1.4.3-x86_64-5.xzm -> ../loudmouth-1.4.3-x86_64-5.xzm
lrwxrwxrwx 1 root root       29  9月 14 10:39 psiconv-0.9.9-x86_64-1.xzm -> ../psiconv-0.9.9-x86_64-1.xzm
lrwxrwxrwx 1 root root       29  9月 14 10:39 raptor-2.0.15-x86_64-2.xzm -> ../raptor-2.0.15-x86_64-2.xzm
lrwxrwxrwx 1 root root       31  9月 14 10:39 rasqal-1:0.9.33-x86_64-1.xzm -> ../rasqal-1:0.9.33-x86_64-1.xzm
lrwxrwxrwx 1 root root       32  9月 14 10:39 redland-1:1.0.17-x86_64-2.xzm -> ../redland-1:1.0.17-x86_64-2.xzm
lrwxrwxrwx 1 root root       24  9月 14 10:39 wv-1.2.9-x86_64-3.xzm -> ../wv-1.2.9-x86_64-3.xzm
guest@porteus:/mnt/sda4/porteus/pps/64/archlinux/abiword$ mloop lib4abiword-3.0.1-x86_64-2.xzm
guest@porteus:/mnt/sda4/porteus/pps/64/archlinux/abiword$ ls -R /mnt/loop/var
/mnt/loop/var:
log/  porteus/

/mnt/loop/var/log:
packages/

/mnt/loop/var/log/packages:
lib4abiword-3.0.1-x86_64-2

/mnt/loop/var/porteus:
guest@porteus:/mnt/sda4/porteus/pps/64/archlinux/abiword$ cat /mnt/loop/var/log/packages/lib4abiword-3.0.1-x86_64-2
PACKAGE NAME: lib4abiword-3.0.1-x86_64-2
COMPRESSED PACKAGE SIZE: K
UNCOMPRESSED PACKAGE SIZE: 49M
PACKAGE LOCATION: /libraries/lib4abiword-3.0.1-x86_64-2.xzm
PACKAGE CATEGORY: libraries
PACKAGE DESCRIPTION:
lib4abiword-3.0.1-x86_64-2: == slim library for only abiword-3.0.1-x86_64-2 ==
lib4abiword-3.0.1-x86_64-2: libenchant.so.1 is from enchant-1.6.0-x86_64-5
lib4abiword-3.0.1-x86_64-2: libgoffice-0.10.so.10 is from goffice-0.10.23-x86_64-1
lib4abiword-3.0.1-x86_64-2: libgsf-1.so.114 is from libgsf-1.14.34-x86_64-1
lib4abiword-3.0.1-x86_64-2: libical.so.1 is from libical-1.0.1-x86_64-2
lib4abiword-3.0.1-x86_64-2: libicalss.so.1 is from libical-1.0.1-x86_64-2
lib4abiword-3.0.1-x86_64-2: libicalvcal.so.1 is from libical-1.0.1-x86_64-2
lib4abiword-3.0.1-x86_64-2: libpng16.so.16 is from libpng-1.6.18-x86_64-1
lib4abiword-3.0.1-x86_64-2: libraptor2.so.0 is from raptor-2.0.15-x86_64-2
lib4abiword-3.0.1-x86_64-2: librasqal.so.3 is from rasqal-1:0.9.33-x86_64-1
lib4abiword-3.0.1-x86_64-2: librdf.so.0 is from redland-1:1.0.17-x86_64-2
lib4abiword-3.0.1-x86_64-2: libwv-1.2.so.4 is from wv-1.2.9-x86_64-3
lib4abiword-3.0.1-x86_64-2: libgcrypt.so.20 is from libgcrypt-1.6.4-x86_64-1
lib4abiword-3.0.1-x86_64-2: libicuuc.so.55 is from icu-55.1-x86_64-1
lib4abiword-3.0.1-x86_64-2: libspectre.so.1 is from libspectre-0.2.7-x86_64-2
lib4abiword-3.0.1-x86_64-2: libgs.so.9 is from ghostscript-9.16-x86_64-1
lib4abiword-3.0.1-x86_64-2: libicudata.so.55 is from icu-55.1-x86_64-1
lib4abiword-3.0.1-x86_64-2: libcupsimage.so.2 is from libcups-2.0.4-x86_64-1
lib4abiword-3.0.1-x86_64-2: libpaper.so.1 is from libpaper-1.1.24-x86_64-8
lib4abiword-3.0.1-x86_64-2: libtiff.so.5 is from libtiff-4.0.4-x86_64-1
lib4abiword-3.0.1-x86_64-2: libgssapi_krb5.so.2 is from krb5-1.13.2-x86_64-1
lib4abiword-3.0.1-x86_64-2: libk5crypto.so.3 is from krb5-1.13.2-x86_64-1
lib4abiword-3.0.1-x86_64-2: libkrb5.so.3 is from krb5-1.13.2-x86_64-1
lib4abiword-3.0.1-x86_64-2: libkeyutils.so.1 is from keyutils-1.5.9-x86_64-1
lib4abiword-3.0.1-x86_64-2: libkrb5support.so.0 is from krb5-1.13.2-x86_64-1
lib4abiword-3.0.1-x86_64-2:
FILE LIST:
usr
usr/lib
usr/lib/libkrb5support.so.0.1
usr/lib/libkrb5support.so.0
usr/lib/libkeyutils.so.1.5
usr/lib/libkeyutils.so.1
usr/lib/libkrb5.so.3.3
usr/lib/libkrb5.so.3
usr/lib/libk5crypto.so.3.1
usr/lib/libk5crypto.so.3
usr/lib/libgssapi_krb5.so.2.2
usr/lib/libgssapi_krb5.so.2
usr/lib/libtiff.so.5.2.2
usr/lib/libtiff.so.5
usr/lib/libpaper.so.1.1.2
usr/lib/libpaper.so.1
usr/lib/libcupsimage.so.2
usr/lib/libicudata.so.55.1
usr/lib/libicudata.so.55
usr/lib/libgs.so.9.16
usr/lib/libgs.so.9
usr/lib/libspectre.so.1.1.7
usr/lib/libspectre.so.1
usr/lib/libicuuc.so.55.1
usr/lib/libicuuc.so.55
usr/lib/libgcrypt.so.20.0.4
usr/lib/libgcrypt.so.20
usr/lib/libwv-1.2.so.4.0.5
usr/lib/libwv-1.2.so.4
usr/lib/librdf.so.0.0.0
usr/lib/librdf.so.0
usr/lib/librasqal.so.3.0.0
usr/lib/librasqal.so.3
usr/lib/libraptor2.so.0.0.0
usr/lib/libraptor2.so.0
usr/lib/libpng16.so.16.18.0
usr/lib/libpng16.so.16
usr/lib/libicalvcal.so.1.0.1
usr/lib/libicalvcal.so.1
usr/lib/libicalss.so.1.0.1
usr/lib/libicalss.so.1
usr/lib/libical.so.1.0.1
usr/lib/libical.so.1
usr/lib/libgsf-1.so.114.0.34
usr/lib/libgsf-1.so.114
usr/lib/libgoffice-0.10.so.10.0.23
usr/lib/libgoffice-0.10.so.10
usr/lib/libenchant.so.1.6.0
usr/lib/libenchant.so.1
var
var/log
var/log/packages
var/log/packages/lib4abiword-3.0.1-x86_64-2
var/porteus
var/porteus/LOG
guest@porteus:/mnt/sda4/porteus/pps/64/archlinux/abiword$ 
execution result

Code: Select all

guest@porteus:~$ abiword
abiword: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libabiword-3.0.so)
abiword: /usr/lib64/libcurl.so.4: no version information available (required by /usr/lib/libraptor2.so.0)
abiword: /lib64/libgpg-error.so.0: no version information available (required by /usr/lib/libgcrypt.so.20)
abiword: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/libicuuc.so.55)
abiword: /lib64/liblzma.so.5: no version information available (required by /usr/lib/libtiff.so.5)
Almost imported packages do not run directly on Porteus environment,
because the versions of dependency packages are not fit with ones of Porteus.
Sorry, Abiword is one of them.

2. AUR
This simple package manager (SPM) treats only binary packages.
SPM does not compile source files.
On the other hand, AUR (Arch User Repository) is based on source compiling.
The approach of SPM differs from one of AUR.

Sorry, this SPM is out of AUR.

3. About DataBase, the document was updated.
Insufficient explanation of the document apologize that was frustrating you.

Thanks.
----------------------------------------------

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

Re: ArchLinux packages manager for Porteus

Post#15 by francois » 14 Sep 2015, 17:13

Dear neko,

There is no frustration at all on my side. I am just testing that package manager of yours to understand its possibilities and capacities. Hoping that it could help you and push that interesting tool further for the benefit of the porteus users. But also to understand what you have built.

Please let me understand, if this is not abusing. So:

1.0 Troubleshooting for abiword.

Code: Select all

root@porteus:~# abiword
abiword: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/libabiword-3.0.so)
abiword: /usr/lib64/libcurl.so.4: no version information available (required by /usr/lib/libraptor2.so.0)
abiword: /lib64/libgpg-error.so.0: no version information available (required by /usr/lib/libgcrypt.so.20)
abiword: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /usr/lib/libicuuc.so.55)
root@porteus:~#
2.0 mlocate tells me that the dependencies are there:

Code: Select all

root@porteus:~# locate libstdc++.so
/usr/lib64/libstdc++.so.6
root@porteus:~# locate libcurl.so
/usr/lib64/libreoffice4.3/program/libcurl.so.4
root@porteus:~# locate libgpg-error.so
/usr/lib64/libgpg-error.so.0
root@porteus:~# locate libstdc++.so
/usr/lib64/libstdc++.so.6
root@porteus:~#
3.0 The dependencies are on my system. It is just that they are not coming from the right package version. Thus I would need to upgrade the slackware or porteus install and that could cause some problems or break my installation. For example, I would have to go for slackware current pasture.

How could there be two libstdc++.so.6 the first from version `GLIBCXX_3.4.20' and the second from version `CXXABI_1.3.8'?

Is there a simple way, a command to find the package associated with the library or do you have to find them one by one with websearch?

-libcurl is from curl:
http://curl.haxx.se/libcurl/
-libstdc is from gcc
https://gcc.gnu.org/libstdc++/
-libgpg-error is from GnuPG, but it could be built from source alone. However, in slackware, it is as a package on itself.
https://www.gnupg.org/(fr)/download/ind ... bgpg-error
-libstdc is from gcc:
http://gcc.skazkaforyou.com/libstdc++/

Conclusion: here I would need to upgrade to the most recent slackware (current) gcc, GnuPG, libgpg-error and curl. And maybe abiword could work.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply