Ignispkg for Porteus 5.0

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
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Ignispkg for Porteus 5.0

Post#1 by evergreen » 28 Aug 2020, 22:37

Hello everyone,

Its have been a hard work to me with nice long nights and metalhead music to fix this web application.
I did it keeping in mind a simple way to download and make modules , support Porteus community and replace USM for my custom linux.

Ignispkg - Porteus Community
https://jsanki.com.ar/porteuspkg/

Ignispkg to place in Ignis Linux my custom Porteus O.S
https://jsanki.com.ar/ignispkg/
This version will replace compare packages list when Ignis Linux rc2 is release soon.

I still improving my system any good idea for SH script or something else is very welcome received. thanks all
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Ignispkg

Post#2 by Ed_P » 28 Aug 2020, 22:41

I'm not seeing the link to download the app. :(
Ed

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Ignispkg

Post#3 by evergreen » 28 Aug 2020, 22:43

It's a web application,

So everything is Online..

:magic:
Ed_P wrote:
28 Aug 2020, 22:41
web application
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Ignispkg

Post#4 by Ed_P » 28 Aug 2020, 23:12

"The first step is add packages to My Queue, Searching or looking into Menu section,"

I'm not seeing My Queue or Menu section either. Maybe this would be clearer:

"The first step is to add the name of packages to the My Queue Search box at the top of the page,"
Ed

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Ignispkg

Post#5 by evergreen » 28 Aug 2020, 23:18

I am not sure if you are facing some issues because an addbloker.. I use the addbloker included in Vivaldi without problems.
If you have searched something you will realise that there is an icon to add what you want in the list.
The list is in My queue and it's placed where is a Gear Icon and there is the count number to show you if something is there.
Ed_P wrote:
28 Aug 2020, 23:12
"The first step is add packages to My Queue, Searching or looking into Menu section,"

I'm not seeing My Queue or Menu section either. Maybe this would be clearer:

"The first step is to add the name of packages to the My Queue Search box at the top of the page,"
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Ignispkg

Post#6 by Ed_P » 28 Aug 2020, 23:31

When I search for something I use Google, or USM, in neither is the search field in the title of the page. I suspect other users may have similar experiences. I was just trying to help make your new thing easy for all new users of it.

Added in 23 hours 32 minutes 20 seconds:

Code: Select all

guest@porteus:~/Downloads$ chmod +x ignis*.sh
guest@porteus:~/Downloads$ ./ignis*.sh
/opt/porteus-scripts/xorg/psu: invalid option -- 'e'
GKsu version 2.0.2

Usage: /opt/porteus-scripts/xorg/psu [-u <user>] [options] <command>

  --debug, -d
    Print information on the screen that might be
    useful for diagnosing and/or solving problems.

  --user <user>, -u <user>
    Call <command> as the specified user.

  --disable-grab, -g
    Disable the "locking" of the keyboard, mouse,
    and focus done by the program when asking for
    password.
  --prompt, -P
    Ask the user if they want to have their keyboard
    and mouse grabbed before doing so.
  --preserve-env, -k
    Preserve the current environments, does not set $HOME
    nor $PATH, for example.
  --login, -l
    Make this a login shell. Beware this may cause
    problems with the Xauthority magic. Run xhost
    to allow the target user to open windows on your
    display!

  --description <description|file>, -D <description|file>
    Provide a descriptive name for the command to
    be used in the default message, making it nicer.
    You can also provide the absolute path for a
    .desktop file. The Name key for will be used in
    this case.
  --message <message>, -m <message>
    Replace the standard message shown to ask for
    password for the argument passed to the option.
    Only use this if --description does not suffice.

  --print-pass, -p
    Ask gksu to print the password to stdout, just
    like ssh-askpass. Useful to use in scripts with
    programs that accept receiving the password on
    stdin.

guest@porteus:~/Downloads$ 
Added in 1 hour 30 minutes 3 seconds:

Code: Select all

guest@porteus:~/Downloads$ su
Password: 
root@porteus:/home/guest/Downloads# ./ignis*.sh
root@porteus:/home/guest/Downloads# 
root@porteus:/home/guest/Downloads# ls ignis*
ignisdownloader-2020-08-29-10-46-34.sh*
root@porteus:/home/guest/Downloads# ./ignisdownloader-2020-08-29-10-46-34.sh
root@porteus:/home/guest/Downloads# 
root@porteus:/home/guest/Downloads#  
Added in 16 minutes 36 seconds:
BTW Some spelling suggestions.

"Step 3: How to use the donwloaded Ignispkg's Script"

"Step 3: How to use the downloaded Ignispkg's Script"

"executing himself after the root permition comprobation so you should not change the name genereted."

"executing himself after the root permission compilation so you should not change the name generated."
Ed

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Ignispkg

Post#7 by raja » 30 Aug 2020, 10:38

Ed_P,

As he said it is a web application. You do not download any scripts. You either click on Poreteuspkg logo or Ignispkg logo. A search window will appear. You enter your need, say SMPlayer.

A list will be displayed from many sources for SM Player.. You choose yours and add to queue by clicking on the icon .

Hope this clears your doubt.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Ignispkg

Post#8 by evergreen » 30 Aug 2020, 14:06

Hello Ed_p

I will apply your spelling suggestions, my English is very exotic hehehehhe.

Watching the script I have realised that is not working if you are SU directly so I should think how to fix the script, I can see too that option -e for your terminal is not working, what is your terminal ? I am using xfce-terminal to make my testing.. thank you very much for testing.

@raja yes there a script below in the list to handle the list in My queue.. but I can see now that is working if you do chmod 755 and then execute the script without SU..

There is a check inside script if you are root and make your downloads in the same folder where is scriptfile.sh.
Ed_P wrote:
30 Aug 2020, 00:40
When I search for something I use Google, or USM, in neither is the search field in the title of the page. I suspect other users may have similar experiences. I was just trying to help make your new thing easy for all new users of it.

Added in 23 hours 32 minutes 20 seconds:

Code: Select all

guest@porteus:~/Downloads$ chmod +x ignis*.sh
guest@porteus:~/Downloads$ ./ignis*.sh
/opt/porteus-scripts/xorg/psu: invalid option -- 'e'
GKsu version 2.0.2

Usage: /opt/porteus-scripts/xorg/psu [-u <user>] [options] <command>

  --debug, -d
    Print information on the screen that might be
    useful for diagnosing and/or solving problems.

  --user <user>, -u <user>
    Call <command> as the specified user.

  --disable-grab, -g
    Disable the "locking" of the keyboard, mouse,
    and focus done by the program when asking for
    password.
  --prompt, -P
    Ask the user if they want to have their keyboard
    and mouse grabbed before doing so.
  --preserve-env, -k
    Preserve the current environments, does not set $HOME
    nor $PATH, for example.
  --login, -l
    Make this a login shell. Beware this may cause
    problems with the Xauthority magic. Run xhost
    to allow the target user to open windows on your
    display!

  --description <description|file>, -D <description|file>
    Provide a descriptive name for the command to
    be used in the default message, making it nicer.
    You can also provide the absolute path for a
    .desktop file. The Name key for will be used in
    this case.
  --message <message>, -m <message>
    Replace the standard message shown to ask for
    password for the argument passed to the option.
    Only use this if --description does not suffice.

  --print-pass, -p
    Ask gksu to print the password to stdout, just
    like ssh-askpass. Useful to use in scripts with
    programs that accept receiving the password on
    stdin.

guest@porteus:~/Downloads$ 
Added in 1 hour 30 minutes 3 seconds:

Code: Select all

guest@porteus:~/Downloads$ su
Password: 
root@porteus:/home/guest/Downloads# ./ignis*.sh
root@porteus:/home/guest/Downloads# 
root@porteus:/home/guest/Downloads# ls ignis*
ignisdownloader-2020-08-29-10-46-34.sh*
root@porteus:/home/guest/Downloads# ./ignisdownloader-2020-08-29-10-46-34.sh
root@porteus:/home/guest/Downloads# 
root@porteus:/home/guest/Downloads#  
Added in 16 minutes 36 seconds:
BTW Some spelling suggestions.

"Step 3: How to use the donwloaded Ignispkg's Script"

"Step 3: How to use the downloaded Ignispkg's Script"

"executing himself after the root permition comprobation so you should not change the name genereted."

"executing himself after the root permission comprobation?? so you should not change the name generated."
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Ignispkg

Post#9 by Ed_P » 30 Aug 2020, 15:58

raja wrote:
30 Aug 2020, 10:38
You either click on Poreteuspkg logo or Ignispkg logo. A search window will appear. You enter your need, say SMPlayer.
When I click the Porteus logo a search window does not appear. But after finding and selecting a package, Solitaire for example, clicking on the logo triggers the download script to be written to the Download folder. :good:
evergreen wrote:
30 Aug 2020, 14:06
I will apply your spelling suggestions, my English is very exotic hehehehhe.
Not a problem, I will try to help you as best I can in that regard evergreen. I like what you are doing and hope it appeals to all users. :)
I can see too that option -e for your terminal is not working, what is your terminal ? I am using xfce-terminal to make my testing.. thank you very much for testing.
I ran my tests in my Cinnamon 4.0 system.

Added in 3 hours 34 minutes 1 second:
The download working better on cinnamon 5.0rc2. :)

Code: Select all

guest@porteus:~/Downloads$ chmod +x *
guest@porteus:~/Downloads$ ./ingis*.sh
bash: ./ingis*.sh: No such file or directory
guest@porteus:~/Downloads$ ./ignis*.sh
Option “-e” is deprecated and might be removed in a later version of gnome-terminal.
Use “-- ” to terminate the options and put the command line to execute after it.
guest@porteus:~/Downloads$ 

Code: Select all

----------------------------------------------------------------------
 Ignispkg 1.0 by jsanki - Downloader Script 
----------------------------------------------------------------------

 [1]   Download Packages only 
 [2]   Download Packages and convert them to modules XZM 
 [3]   Download Packages convert and activate modules 
 [4]   Show Queue 

 [q]   Exit/Quit
 
======================================================================
 Enter your choice [1-4,q]: 
Added in 11 minutes 46 seconds:

Code: Select all

guest@porteus:~/Downloads$ sol
sol: error while loading shared libraries: libguile-2.0.so.22: cannot open shared object file: No such file or directory
guest@porteus:~/Downloads$
I downloaded a solitaire app that runs on 4.0.

Code: Select all

guest@porteus:~/Downloads$ ls
aisleriot-3.22.0-x86_64-1gv.txz  ignisdownloader-2020-08-30-07-27-35.sh*
aisleriot-3.22.0-x86_64-1gv.xzm
guest@porteus:~/Downloads$ 
Ed

raja
Shogun
Shogun
Posts: 434
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and Porteus-Artix-64
Location: Chennai,India

Ignispkg

Post#10 by raja » 31 Aug 2020, 07:18

Evergreen, your script works in Vivaldi. In Firefox, nothing gets added to queue.

Script again downloads only the basic package and converts to XZM module.

The whole problem is finding dependencies in different installations. Pman, in Nemisis used to gather dependencies and make a working module for a given set up. Even there, after recent updates, pman fails to build proper modules. I could not make Chromium/Firefox browsers.

USM too in its hey days used to work. Neko''s Aporteus too has pacman and his script does build an ISO in very quick time

Hope you will be improving on your effort to fix this very important requirement. Cheers.
Linux Kernel-4.4.272 -32 bit; Linux Kernel-5.4.185 - 64 bit

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Ignispkg

Post#11 by evergreen » 31 Aug 2020, 17:39

@raja Script is something else that is in the Webpage to handle your downloads in My queue list , there is a button that is identified with Script download .
In the very beginning I have only test with Pale Moon and Vivaldi their engines are not so different between Firefox and Google Chrome maybe you are facing with some issues cause of an Addbloker , because today I was wondering what happens if I am using Google Chrome + uBlock. I couldn't add anything to My Queue. a little weird but its a simple javascript included in my code to send information to php session so nothing harmful.

Talking about dependencies its a long and wide world but my webpage could identify as long as the required information are fitting with my data base.

e.g. gimp
https://jsanki.com.ar/porteuspkg/index. ... 6_64-2.txz
raja wrote:
31 Aug 2020, 07:18
Evergreen, your script works in Vivaldi. In Firefox, nothing gets added to queue.

Script again downloads only the basic package and converts to XZM module.

The whole problem is finding dependencies in different installations. Pman, in Nemisis used to gather dependencies and make a working module for a given set up. Even there, after recent updates, pman fails to build proper modules. I could not make Chromium/Firefox browsers.

USM too in its hey days used to work. Neko''s Aporteus too has pacman and his script does build an ISO in very quick time

Hope you will be improving on your effort to fix this very important requirement. Cheers.
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Ignispkg

Post#12 by Ed_P » 01 Sep 2020, 15:27

The new My Queue headings imply that Ignispkg is only for 5.0rc2. I wasn't aware of that and was trying it in 4.0 at times.
Ed

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Ignispkg

Post#13 by evergreen » 01 Sep 2020, 16:57

actually compare the packages you are planning to download so that you are aware if they are needed for your Porteus 5.0rc2 I did not include Porteus 4.0
Ed_P wrote:
01 Sep 2020, 15:27
The new My Queue headings imply that Ignispkg is only for 5.0rc2. I wasn't aware of that and was trying it in 4.0 at times.
AMD A8-7410, APU AMD Radeon R5 Graphics M330

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Ignispkg

Post#14 by Ed_P » 01 Sep 2020, 17:27

If it's only for 5.0 we should reflect that in the thread's title. :)
Ed

User avatar
evergreen
Shogun
Shogun
Posts: 201
Joined: 27 Mar 2016, 16:58
Distribution: Porteus x86_64
Location: Argentine, Patagonia
Contact:

Ignispkg

Post#15 by evergreen » 01 Sep 2020, 17:51

Will be great as Ignispkg for 5.0rc2 , I did it in this way thinking about upcoming releases .
:magic:
Ed_P wrote:
01 Sep 2020, 17:27
If it's only for 5.0 we should reflect that in the thread's title. :)
AMD A8-7410, APU AMD Radeon R5 Graphics M330

Post Reply