Converting and Installing packages

Post here if you are a new Porteus member and you're looking for some help.
mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#16 by mt12345 » 03 Jul 2014, 06:20

FOr now you can ask it to create a folder for all dependencies
not if I choose to merge the packages into one module :(
but anyway I removed wine and if I try to fetch again I can see the full list:

Code: Select all

# usm -g wine

 The following packages are required. 
OpenAL-1.15.1-i486-1ponce.txz [184K]
gcc-4.8.2-i486-1.txz [13056K]
gcc-java-4.8.2-i486-1.txz [23264K]
gd-2.0.35-i486-4.txz [140K]
gettext-tools-0.18.2.1-i486-2.txz [2244K]
gst-plugins-base-0.10.36-i486-2.txz [1312K]
gstreamer-0.10.36-i486-2.txz [1332K]
libgphoto2-2.5.2-i486-1.txz [1296K]
libmpc-0.8.2-i486-2.txz [80K]
libvisual-0.4.0-i486-3.txz [132K]
mpg123-1.15.4-i486-1.txz [252K]
openldap-client-2.4.31-i486-2.txz [388K]
wine-1.7.19-i486-1sl.txz [19748K]
I want to stick to one package manager, usm is good:
1. handles dependencies.
2. suggests building from source when package is unavailable
(but only when searching!)

Code: Select all

# usm -g lmms

 Nothing found for:  lmms 


# usm -s lmms

Nothing was found in Slackware but i found this in slackbuilds.

NAME :  lmms 
CATEG: audio
DESC : lmms (Linux MultiMedia Studio)
VERS : 1.0.0

 Would you like to attempt to build this from source? [y/n]
3. keyword search
(however it works different way than slapt-get search, Im confused. )
try:

slapt-get --search terminal
usm -k terminal
usm -s terminal

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

Re: Converting and Installing packages

Post#17 by francois » 03 Jul 2014, 17:40

3. keyword search

You need to be more precise with the exact name. Use google with wikipedia for list terminal emulator :
http://en.wikipedia.org/wiki/List_of_terminal_emulators

or in pkgs.org terminal and look at slackware 14.1 compatible with porteus:
http://pkgs.org/

I then ask for xfce-terminal:

Code: Select all

root@porteus:~/iscan-plugin# usm -s xfce4-terminal

xfce4-terminal-0.6.2-x86_64-1.txz was found in slackware
xfce4-terminal-colors-solarized-20140125-noarch-1gv.txz was found in salix
Packages found:   2 
Getting to expert level:

Have a look at freestyler thread on building from source:
viewtopic.php?f=39&t=3447
Voltaire: Le mieux est l'ennemi du bien.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#18 by mt12345 » 03 Jul 2014, 23:20

You need to be more precise with the exact name. Use google with wikipedia for list terminal emulator
That's not the point. It's more like:
I want to install my favourite terminal but I forgot the name. Besides I want to know what terminals are available for installing, without googling (without even launching web browser).

more examples:
usm -k screenshot
usm -k firewall
usm -k torrent
usm -k atari
usm -k web browser

Then I can install apps of my choice eg sakura (terminal), deluge (bittorent), screengrab (screenshot) etc.

(sakura, roxterm, lxterminal are not listed on wikipedia.org by the way)

pkgs.org - this site is fantastic. I didn't know it before.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#19 by mt12345 » 03 Jul 2014, 23:34

Getting to expert level:

Have a look at freestyler thread on building from source:
viewtopic.php?f=39&t=3447
er...
I gave up freebsd, gentoo and compiling years ago. Life is too short ;-)
I converted some debs and rpms already, deadbeef, qtfm, goattracker, some packages obviously need extra libs.
Last edited by mt12345 on 06 Jul 2014, 22:34, edited 1 time in total.

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

Re: Converting and Installing packages

Post#20 by francois » 04 Jul 2014, 02:24

So you are beyond expert mode. We will be happy to have you as a contributor! :D
Voltaire: Le mieux est l'ennemi du bien.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#21 by mt12345 » 04 Jul 2014, 09:38

I need to start over. I will try KDE version this time.
Meanwhile, weekend is coming.
(lake boats hot girls cold beer etc)
Cheers!
Martin

User avatar
Ed_P
Contributor
Contributor
Posts: 3161
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Converting and Installing packages

Post#22 by Ed_P » 04 Jul 2014, 14:01

mt12345 wrote:(lake boats hot girls cold beer etc)
:Yahoo!:
Ed

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#23 by mt12345 » 06 Jul 2014, 22:37

mt12345 wrote:I need to start over. I will try KDE version this time.
Nah.
Back with Razor!

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#24 by mt12345 » 14 Jul 2014, 00:46

I 'removed' spacefm (see the thread in razorqt section) using pkgtool but actually it still phisically exists in 003-razor.xzm so I extracted the module to folder 'razr' then:

Code: Select all

# find razr/ -name spacefm*
razr/root/.config/spacefm
razr/home/guest/.config/spacefm
razr/usr/share/spacefm
razr/usr/share/mime/packages/spacefm-mime.xml
razr/usr/share/applications/spacefm.desktop
razr/usr/share/applications/spacefm-find.desktop
razr/usr/share/applications/spacefm-folder-handler.desktop
razr/usr/share/icons/hicolor/128x128/apps/spacefm-128-pyramid-green.png
razr/usr/share/icons/hicolor/128x128/apps/spacefm-128-pyramid-blue.png
razr/usr/share/icons/hicolor/128x128/apps/spacefm-128-pyramid-red.png
razr/usr/share/icons/hicolor/128x128/apps/spacefm-128-cube-green.png
razr/usr/share/icons/hicolor/128x128/apps/spacefm-128-cube-blue.png
razr/usr/share/icons/hicolor/128x128/apps/spacefm-128-cube-red.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-pyramid-blue.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-cube-red.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-folder-blue.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-cube-blue.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-pyramid-green.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-cube-green.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-folder-red.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-48-pyramid-red.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-root.png
razr/usr/share/icons/hicolor/48x48/apps/spacefm-find.png
razr/usr/share/icons/hicolor/24x24/apps/spacefm.png
razr/usr/share/icons/Faenza/apps/48/spacefm.png
razr/usr/share/icons/Faenza/apps/48/spacefm-root.png
razr/usr/share/icons/Faenza/apps/48/spacefm-find.png
razr/usr/bin/spacefm-auth
razr/usr/bin/spacefm
razr/etc/spacefm
razr/etc/spacefm/spacefm.conf
razr/var/log/packages/spacefm-0.9.2-i486-2jay
how to remove all the spacefm stuff above in one command?
I want to dir2xzm it after deleting and copy back to /porteus/base.
Is it good way, is it safe, will it work?
Im going to remove/replace more apps so basically Im asking 'how to remaster base modules'.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#25 by mt12345 » 14 Jul 2014, 01:16

Another thing. Crazy dependencies:
I converted qtfm from fedora package, it's running well (version 5.9) but then I tried to build it from slackbuilds:

Code: Select all

# usm -s qtfm

Nothing was found in Slackware but i found this in slackbuilds.

NAME :  qtfm 
CATEG: system
DESC : qtfm (a lightweight Qt-based file manager)
VERS : 5.5

 Would you like to attempt to build this from source? [y/n]

In order to continue you need to install:  qt-4.8.5-i486-2.txz 

root@porteus:/home/guest# usm -g qt-4.8.5-i486-2.txz

Processing:   qt-4.8.5-i486-2.txz 

Libraries required [...]

The following packages are required. 
qt-4.8.5-i486-2.txz [28316K]
gst-plugins-base-0.10.36-i486-2.txz [1312K]
gstreamer-0.10.36-i486-2.txz [1332K]
libiodbc-3.52.7-i486-2.txz [240K]
mariadb-5.5.32-i486-1.txz [20392K]
libvisual-0.4.0-i486-3.txz [132K]
libaio-0.3.109-i486-1.txz [16K]

Total size: 51 MB
Since fedora package works (200KB) , why I am forced to upgrade qt-4.8.5 and install gstreamer?!
I noticed many packages depend on mariadb (20 MB).

When I tried to install conky its even worse: it depends on audacious.
(in Debian audacious it's not even recommended, it's suggested)

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Converting and Installing packages

Post#26 by brokenman » 14 Jul 2014, 03:25

how to remove all the spacefm stuff above in one command?

Code: Select all

ROOT=./razr removepkg spacefm
why I am forced to upgrade qt-4.8.5 and install gstreamer?!
Are you running this from razorqt? If so it shouldn't ask for qt since it is already installed. It only wants the qmake program. Do you have the 05-devel.xzm module installed?
In regards to the other dependencies, it will depend on the slackbuild file and the arguments it passes to 'configure'. It is probably passing an argument that requires gstreamer, perhaps so thumbnails of audio files can be previewed. Try manually building the package from slackbuilds and editing the arguments.
How do i become super user?
Wear your underpants on the outside and put on a cape.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#27 by mt12345 » 14 Jul 2014, 06:30

I forgot to upgrade usm, after upgrade no more craziness.

EDIT:
no more craziness with slackbuilds but in case of installing packages nothing changed (conky)


about qt:

Code: Select all

# usm -l qt-4.8
qt-4.8.5-i486-1ftm

# usm -i qt-4.8

Package:  qt-4.8.5-i486-2.txz  (28316 K) [upgrade]
qt: Qt (a multi-platform C++ graphical user interface toolkit)
ROOT=./razr removepkg spacefm
Thanks.
I removed spacefm and lxterminal then I patched 003-razor.xzm with qtfm and qterminal. It worked but I got scrollbars corrupted in both apps. I had to change GUI style in QTconfig to fix it (GTK+ style is affected)

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#28 by mt12345 » 16 Jul 2014, 00:44

how to download package (in command line) WITHOUT dependencies?

User avatar
brokenman
Site Admin
Site Admin
Posts: 5456
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Converting and Installing packages

Post#29 by brokenman » 16 Jul 2014, 01:27

Ah I see. The qt is qt-4.8.5-i486-1ftm where the newer version (minor change) is qt-4.8.5-i486-2.txz

You can download without any deps like this: usm -g whatever nodeps

Or another way: usm -g whatever linksonly
How do i become super user?
Wear your underpants on the outside and put on a cape.

mt12345
Black ninja
Black ninja
Posts: 66
Joined: 29 Jun 2014, 23:36
Distribution: Porteus RazorQT 32bit
Location: Europe

Re: Converting and Installing packages

Post#30 by mt12345 » 16 Jul 2014, 10:19

Code: Select all

usm -g conky nodeps
I cant install anything at the moment because of error

/usr/share/usm/funcpackageGet: line 127: declare: 774K: value too great for base (error token is "774K")

but usm still tries to resolve dependencies

Post Reply