LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-22-2017, 10:43 PM   #76
mralk3
Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 902

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309

Quote:
Originally Posted by montagdude View Post
I've made two changes in the development branch. One is to try to restore the original selection as closely as possible after installing, upgrading, etc. The other is to allow browsing and viewing files in subdirectories. They will go into the next release. Good suggestions, by the way!
Sweet. I was out of town for a few days. I will take a look at it some time tonight or tomorrow. Thanks for the hard work.
 
Old 05-22-2017, 11:10 PM   #77
montagdude
Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 728

Original Poster
Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Quote:
Originally Posted by mralk3 View Post
Sweet. I was out of town for a few days. I will take a look at it some time tonight or tomorrow. Thanks for the hard work.
Cool. 0.4 isn't released yet, but you can get a tarball of the latest commit here:

https://github.com/montagdude/sboui/...b42f180.tar.gz

You'll just need to edit the version in the SlackBuild to match.

This latest commit also has one more enhancement since the last time I posted, which is to provide a convenient way to view the README and other files, set build options, and view package/version info for dependencies directly before installing, upgrading, etc. That was something that I decided to add when I was building python3-matplotlib and wanted to check READMEs and possibly set build options for everything in the build order. The other way would be to tag all the dependencies and then filter by tagged SlackBuilds, but this new way is much more convenient.

Last edited by montagdude; 05-22-2017 at 11:26 PM. Reason: added some more info
 
Old 05-22-2017, 11:59 PM   #78
mralk3
Member
 
Registered: May 2015
Distribution: Slackware, Debian, CentOS, FreeBSD
Posts: 902

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
I just finished testing 0.4_development branch and everything works great. I will continue to use it to see if there is something else that might be a good enhancement. Thanks again.
 
Old 07-15-2017, 02:52 PM   #79
montagdude
Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 728

Original Poster
Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
I've been kind of sitting on this for awhile without releasing it, but anyway here is an update to 0.4.2. There were a couple 0.4.x releases that I didn't update on SBo. Main changes since 0.3.1:
  • Preserve previous selection as closely as possible after installing, upgrading, etc.
  • Allow browsing files in subdirectories of a SlackBuild.
  • View READMEs, browse files, set build options, and show package info for dependencies (use the "a" hotkey in the dialog box listing the dependencies).
  • Improve logic for determining when a package is upgradable.(With previous versions, it was possible for some to slip through the cracks in some uncommon situations.)
  • Color themes are now read automatically from /usr/share/sboui/themes and ~/.local/share/sboui/themes. As a consequence, the color_theme_file input has been removed. Just put custom themes in one of these directories, and they will be picked up.
  • One additional variable is now required for color themes: theme_name.
  • Build options can now be entered one per line in the build options dialog box (see example). You can also still enter them all the old way on a single line if you want.
  • A few other minor bug fixes and UX improvements.
Attached Thumbnails
Click image for larger version

Name:	new_build_options.png
Views:	41
Size:	34.1 KB
ID:	25470  
 
Old 07-15-2017, 05:04 PM   #80
Fluffy
LQ Newbie
 
Registered: Nov 2007
Distribution: Slackware64-current
Posts: 16

Rep: Reputation: 0
Just tested out 0.3.1 on 14.2 on an old sun ultra 40 workstation I use and with 176 slackbuild.org packages installed it loads up in a 1-3 seconds. I'm really liking the interface.
I look forward to playing with it more in the future
 
Old 07-15-2017, 10:25 PM   #81
Gordie
Member
 
Registered: Aug 2007
Distribution: Slackware, Puppy
Posts: 307

Rep: Reputation: 90
I have been using sboui since the first page of this thread. Just last night I used it for KODI and aside from some deps that were not expected everything worked. The deps I speak of are not the fault of sboui
 
Old 07-18-2017, 10:58 AM   #82
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 Multilib
Posts: 368

Rep: Reputation: 82
Hi montagdude, I want to report a potential bug with the 0.4.2 version of sboui.
I received the following error when trying to use regular sbotools to remove a SBo package, which worked without flaw until the latest sboui upgrade.

root@Hicrest1:/home/brian/Downloads/QEMUImages# sboremove winetricks
Can't use an undefined value as an ARRAY reference at /usr/sbin/sboremove line 139.
root@Hicrest1:/home/brian/Downloads/QEMUImages# sbofind winetricks
SBo: winetricks 20170614
Path: /usr/sbo/repo/system/winetricks

root@Hicrest1:/home/brian/Downloads/QEMUImages# sboremove winetricks-20170614-noarch-1_SBo
Unable to locate winetricks-20170614-noarch-1_SBo in the SlackBuilds.org tree.
root@Hicrest1:/home/brian/Downloads/QEMUImages# sboremove winetricks
Can't use an undefined value as an ARRAY reference at /usr/sbin/sboremove line 139.
root@Hicrest1:/home/brian/Downloads/QEMUImages# sboui

Removing package /var/log/packages/cabextract-1.6-x86_64-1_SBo...
Removing files:
--> Deleting /usr/bin/cabextract
--> Deleting /usr/doc/cabextract-1.6/AUTHORS
--> Deleting /usr/doc/cabextract-1.6/COPYING
--> Deleting /usr/doc/cabextract-1.6/ChangeLog
--> Deleting /usr/doc/cabextract-1.6/INSTALL
--> Deleting /usr/doc/cabextract-1.6/NEWS
--> Deleting /usr/doc/cabextract-1.6/README
--> Deleting /usr/doc/cabextract-1.6/TODO
--> Deleting /usr/doc/cabextract-1.6/cabextract.SlackBuild
--> Deleting /usr/man/man1/cabextract.1.gz
--> Deleting empty directory /usr/doc/cabextract-1.6/

Removing package /var/log/packages/winetricks-20170614-noarch-1_SBo...
Removing files:
--> Deleting /usr/bin/winetricks
--> Deleting /usr/doc/winetricks-20170614/COPYING
--> Deleting /usr/doc/winetricks-20170614/Makefile
--> Deleting /usr/doc/winetricks-20170614/README.md
--> Deleting /usr/doc/winetricks-20170614/linkcheck.sh
--> Deleting /usr/doc/winetricks-20170614/release.sh
--> Deleting /usr/doc/winetricks-20170614/shell-checks
--> Deleting /usr/doc/winetricks-20170614/uniquefiles.sh
--> Deleting /usr/doc/winetricks-20170614/winetricks-test
--> Deleting /usr/doc/winetricks-20170614/winetricks.SlackBuild
--> Deleting /usr/man/man1/winetricks.1.gz
--> Deleting empty directory /usr/doc/winetricks-20170614/

As you can see when using the sboui interface the same package was in fact removed.
I noticed that when upgrade sboui from 3.1 to 4.2 it attempted to update the config file, which I rejected after reviewing the changes because the changes were to revert the existing conf file back to sbopkg settings.

Other environment factors. System is Slackware 14.2 multilib enabled. SBo database sync same day before attempt. SBoTools sboinstall/sbofind of same package worked without issue. Using default location for SBo database.

How can I help with further testing to flush out this bug?
 
Old 07-18-2017, 11:29 AM   #83
montagdude
Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 728

Original Poster
Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Hi,

I guess I'm a little confused, because as far as I can tell, that looks like a bug with sbotools, not sboui. sboui doesn't use the SBo package manager (sbopkg, sbotools, etc.) to remove packages, it just uses removepkg. Hence why it worked when you removed it through sboui, but not with plain sbotools.

Just to clarify, did you intentionally remove cabextract also?
 
Old 07-18-2017, 05:13 PM   #84
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 Multilib
Posts: 368

Rep: Reputation: 82
Quote:
Originally Posted by montagdude View Post
sboui doesn't use the SBo package manager (sbopkg, sbotools, etc.) to remove packages, it just uses removepkg.
OK, my error, I was under the impression that sboui was using the full toolset from sbopkg and sbotools. I guess it is only using the database of either as selected in the conf. But then why does the conf include the install and search commands of the pkg selected?

Quote:
Originally Posted by montagdude View Post
Just to clarify, did you intentionally remove cabextract also?
Yes.
 
Old 07-18-2017, 05:36 PM   #85
montagdude
Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 728

Original Poster
Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Quote:
Originally Posted by bamunds View Post
OK, my error, I was under the impression that sboui was using the full toolset from sbopkg and sbotools. I guess it is only using the database of either as selected in the conf. But then why does the conf include the install and search commands of the pkg selected?



Yes.
It uses the repo, sync command, install command, and upgrade command from the package manager, but not the remove command. Partially because there's no reason not to just use removepkg, and partly because as I recall sbopkg doesn't even have a remove command.
 
Old 07-20-2017, 11:33 AM   #86
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2 Multilib
Posts: 368

Rep: Reputation: 82
hmm... actually sbotools does have a remove command. It is "sboremove [-h|-v] [-a] sbo_name".
 
Old 07-20-2017, 12:07 PM   #87
montagdude
Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 728

Original Poster
Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Yes, I know that. I said sbopkg doesn't have a remove command (plus, there's no reason for sboui to do `sboremove pkgname` when it could just do `removepkg pkgname`). Did you figure out your issue with sboremove?
 
Old 07-20-2017, 12:18 PM   #88
Gordie
Member
 
Registered: Aug 2007
Distribution: Slackware, Puppy
Posts: 307

Rep: Reputation: 90
I just tried to search for virus with sboui and did the same search for virus at slackbuilds.org There are totally different results
 
Old 07-20-2017, 12:31 PM   #89
montagdude
Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 728

Original Poster
Rep: Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529Reputation: 529
Quote:
Originally Posted by Gordie View Post
I just tried to search for virus with sboui and did the same search for virus at slackbuilds.org There are totally different results
That's not surprising, because the webpage also searches based on the keywords maintainers enter when they submit a script, and in different branches of the repo (14.2, 14.1, etc.). sboui only searches in the name and (optionally) READMEs. Keywords are not available in the local repo as far as I know.
 
Old 07-20-2017, 06:35 PM   #90
Gordie
Member
 
Registered: Aug 2007
Distribution: Slackware, Puppy
Posts: 307

Rep: Reputation: 90
Quote:
Originally Posted by montagdude View Post
That's not surprising, because the webpage also searches based on the keywords maintainers enter when they submit a script, and in different branches of the repo (14.2, 14.1, etc.). sboui only searches in the name and (optionally) READMEs. Keywords are not available in the local repo as far as I know.
That means to me that I would have to know exactly what I am looking for so would not need a search. sboui came up blank with that search. Blank is not very useful

Getting results now. Will keep trying. I prefer sboui to anything else so far

Last edited by Gordie; 07-20-2017 at 08:36 PM. Reason: OK - tried using the "Search READMEs" feature. Takes a long time but at least it works. I'm learnin
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Call for Testers: MATE 1.17 willysr Slackware 25 04-21-2017 01:55 PM
[SOLVED] Call for Testers: MATE 1.14 for -Current willysr Slackware 13 05-27-2016 09:08 AM
Updating w3af to version 1.6.49 in SBo, need testers mralk3 Slackware 3 12-12-2015 06:54 PM
Call for Testers: MATE 1.8 willysr Slackware 137 08-06-2014 02:50 AM
ncurses-5.2-28 conflicts with file from package ncurses-5.2-12 tubby Linux - Software 4 06-16-2002 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration