chess.griffin
f126a461e1
inform user which .info and SlackBuild are being used in the prechecklog
2009-01-24 03:57:37 +00:00
chess.griffin
7baa04f4b9
change check_write so it functions similarly to has_root
2009-01-24 03:37:22 +00:00
chess.griffin
14cc6fe331
back out double info_item menu; hide 'permission denied' message when testing via touch whether a sbopkg dir is writable, since we tell the user that anyway; minor message tweaks.
2009-01-23 21:20:57 +00:00
chess.griffin
d911a10706
test if local repo is empty before browsing and display an error message if it is.
2009-01-23 20:19:29 +00:00
mauro.giachero
3c9b3d9742
Fix slack-desc parsing regression from r361
...
Prior to r361, there were two places where the slack-desc
was parsed: in the "package browser" and in the "search
results". r361 tossed most of the "package browser" code,
including that part.
It happens that the two implementation were different,
and of course the removed one was the better of the two.
This patch applies a further improved implementation to
the current code.
Thanks to "jsunx1" for providing the original
implementation and for pointing out the regression.
Thanks to Chess Griffin for preparing and sending me
a patch restoring the old behavior.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-23 16:12:36 +00:00
mauro.giachero
f5af902be3
Rework the Original/Local selection code
...
Clean up the Original/Local selection code a
little, removing an useless loop and making
"Local" the default choice.
Thanks to "jsunx1" for raising the issue and
providing a partial implementation.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-23 16:12:26 +00:00
mauro.giachero
15d6f98acf
Remove artwiz-aleczapka from sbopkg-renames
...
I don't know what was the problem with this, but
I haven't found indication of a rename in the
slackbuilds.org mailing list or in the repository
itself.
For this reason, remove it from the sbopkg-renames
file.
Note that I still don't know the reason for the
old quirk, removed by r333.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-23 16:12:17 +00:00
mauro.giachero
ef793216cd
Rework the main menu
...
Rework the main menu to reduce complexity and code
replication.
Thanks to "jsunx1" for suggesting this and for providing
a similar implementation.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-23 16:12:07 +00:00
mauro.giachero
0fcf52265b
Validation: revert r365 and do it properly.
...
The implementation of r365 has some major problem,
deleting the permanent log being the most user-visible.
Undo that crud and do the checks in a proper way.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-23 16:11:57 +00:00
chess.griffin
a4ff19fadc
revise PAGER fix for show_readme; thanks to slakmagik for the suggestion; remove the 'warning' before running an update check -- adds an unnecessary step and the point about the update debugging really is not relevant anymore.
2009-01-23 00:07:37 +00:00
chess.griffin
f856f309b8
remove minor cruft; mark old code as FIXME for future deletion
2009-01-22 22:30:49 +00:00
chess.griffin
7e2c041fd9
commit modified patch from slakmagik re: converting case of KEEPLOG and testing its value before showing the permanent log in dialog; fix some issues in the 'delete items from queue' where empty/blank lines would end up in the queue, messing things up; since PIDFILE is now set locally, use full name in cleanup function.
2009-01-22 21:34:22 +00:00
mauro.giachero
75c087660c
Validate the files/folders specified in sbopkg.conf
...
Make sure that the files and folders specified in the
configuration file can be created/accessed, and create
the directories if required.
This also fixes some bugs, such as the log not being
created if the LOGFILE specifies a nonexistent directory.
Thank to Alex for pointing this problem out.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-22 16:45:39 +00:00
mauro.giachero
459c36864a
Downloads: implement proper URL hex substitution.
...
Remove the old code for replacing hex codes in URLs
(like %2B for '+') and add a generic code replacing
any %xy sequence with the proper character.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-22 16:45:29 +00:00
mauro.giachero
102d89c316
Updates: fix confirmation dialog ESC behavior
...
The "check for updates" confirmation dialog should
abort checking when the user presses ESC.
Thanks to Alex for reporting the issue.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-22 16:45:19 +00:00
mauro.giachero
166fe433e6
Use line matching with grep.
...
Use the "-x" option with grep, instead of using "^$"
in the regular expression.
Thanks to Slakmagik for pointing this out.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-22 16:45:10 +00:00
mauro.giachero
6bca567933
Package browser: use the search infrastructure
...
A lot of the package browser code replicates the search
functionality.
This patch extends the search infrastructure a bit and
uses that for browsing, too.
Many thanks to Chess for point out the major problems
affecting earlier releases of this patch.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
Signed-off-by: Chess Griffin
2009-01-22 16:45:00 +00:00
mauro.giachero
cd1f6aa495
pid_check: verify older PID's existence.
...
If $PIDFILE exists, verify whether it refers to a running
process. This way the amount of false positives is greatly
reduced, which is a good thing during development when
a crash can terminate sbopkg leaving the $PIDFILE in place.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-22 11:28:16 +00:00
mauro.giachero
52cbcbcbde
Fix directory creation.
...
Remove a stale "exit" introduced by r354, causing sbopkg
to exit whenever a new directory is created.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-22 11:28:06 +00:00
chess.griffin
acf87ceed2
commit patch from slakmagik that improves the handling of the creation of sbopkg-related directories; fix two issues found in recent patches - line split in show_readme broke PAGER; also, incorrect dialog labeling in remove_sources caused that function to fail.
2009-01-22 03:21:43 +00:00
chess.griffin
06c03ecfdc
commit patch from slakmagik that improves the checking of root privileges and how error messages related to not having root privileges are handled; thanks to slakmagik for the patch.
2009-01-22 03:03:51 +00:00
chess.griffin
0ab309ea81
commit patch from slakmagik that tweaks the precheck log a bit
2009-01-22 01:32:00 +00:00
chess.griffin
8b4c2e1f19
commit patch from slakmagik that brings user straight back to search box if search fails
2009-01-22 01:29:47 +00:00
chess.griffin
5cb04eb9a8
fix issue where downloaded sources with a space would fail md5sum check (GNOME-Colors, for example); also fix issue with erroneous check for empty_queue when using -b or -i from cli.
2009-01-22 01:26:46 +00:00
chess.griffin
8d4fba2225
a few minor tweaks to some comments; clarify that deleting all items from queue cannot be undone; fix issue in save_user_queue where the queue was sorted, it now just copies the TMPQUEUE to the USERQUEUE.
2009-01-21 13:45:24 +00:00
mauro.giachero
61268e5344
Fixes to delete_build_queue.
...
Fix the following bugs:
- "dialog" segfaults when asked to display an empty
menu, so avoid that
- the "empty queue" test is done checking the existence
of $TMPQUEUE, not its content. For this reason,
delete $TMPQUEUE if it only contains whitespace.
Also, declare some variables as local.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-21 11:45:43 +00:00
mauro.giachero
f2c618b8e9
Fix view_queue selection with overlapping names.
...
Fix view_queue selection with packages whose name is the initial
part of another package name (e.g. "libbonobo" and "libbonoboui").
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-01-21 08:33:45 +00:00
chess.griffin
97ae2a37a6
provide error msg if trying to run updates when using LOCALREPO/local directory
2009-01-21 04:59:28 +00:00
chess.griffin
34689ae6f5
tweak sbopkg.conf(5) man page
2009-01-21 03:20:40 +00:00
chess.griffin
1987c6fd26
edit both man pages about /local directory; other minor nits
2009-01-21 03:18:39 +00:00
chess.griffin
91ca26e6c3
modify sbopkg.conf for LOGFILE; other cleanups in same man page
2009-01-21 03:09:26 +00:00
chess.griffin
54fda65ea5
add support for /home/sbo/local; check if SLACKVER is 'local' before trying to do rsync.
2009-01-21 03:01:37 +00:00
chess.griffin
ee51ae0328
add in new sbopkg-renames file which is needed for Mauro's update code.
2009-01-21 01:19:39 +00:00
chess.griffin
3707f1a3cf
use new add_item_to_queue function when backup queue is loaded or when user's saved queue is loaded.
2009-01-21 01:05:19 +00:00
chess.griffin
59ef49e159
merge in two patches from slakmagik that allow the user to maintain (and retain between rsyncs) an optional /local/ directory in the local SBo repo tree where the user could have other SlackBuilds created and maintained locally in the SBo style; also, second patch introduces LOGFILE sbopkg.conf variable, which allows the user to set the name and location of the permanent build log; thanks to slakmagik for these two very nice additions.
2009-01-21 00:55:00 +00:00
chess.griffin
da2fa378f7
only check empty_queue in process_queue when BUILDPKGS=1
2009-01-20 22:49:56 +00:00
chess.griffin
db57b92f08
add initial implementation of new delete_build_queue instead of clear_build_queue; this function allows user to remove individual items from queue or delete the whole queue; there are probably other/better ways to do this but this is a first crack at it.
2009-01-20 22:13:13 +00:00
chess.griffin
1a4afd58da
modify add_item_to_queue so the three arguments passed to it are APP, VERSIONBUILD, and ONOFF, which make it possible to send the results of the sbopkg-update-queue to this new function for processing
2009-01-20 04:58:06 +00:00
chess.griffin
0d89a29fa0
merge in Mauro's new update code.
2009-01-20 04:38:16 +00:00
chess.griffin
17a05947c2
minor tweaks to add_item_to_queue.
2009-01-20 04:09:42 +00:00
chess.griffin
736b669f67
add two calls to the new add_item_to_queue function, one in the info_item menu (where users add individual items) and in the search results dialog; also add in the code to add_item_to_queue that replaces APP if the user so chooses.
2009-01-20 04:03:06 +00:00
chess.griffin
a2654dd298
fix a few things in add_item_to_queue
2009-01-20 03:39:51 +00:00
chess.griffin
2578c33894
minor whitespace fix; add a new 'add_item_to_queue' that will be a function called from several places -- it takes APP and VERSIONBUILD as arguments, and then tests to see if APP is already in the queue; if not, add it; if so, then ask user if they want to replace or skip. See the comment to this function for more info. This function is not finished and is not called anywhere yet.
2009-01-20 03:35:45 +00:00
chess.griffin
4c37d528ee
create an 'empty_queue' function to test if TMPQUEUE is empty since that is done in several places, and then in those other places, just test the return of empty_queue; bring in initial code in the view_queue function where deselecting an item in the queue changes it status from ON to OFF and does not remove it from queue; still need to implement a way to remove items from queue -- maybe turn the 'clear queue' menu item into another checklist where folks can remove individual items or clear the queue.
2009-01-20 03:20:12 +00:00
chess.griffin
da9511b197
commit a large whitespace patch, which does several things, including adding the 'crunch' functions to eliminate extra spaces, reformats the entire script around 78 columns, and improves the formatting of functions and comments; thanks to slakmagik for the patch.
2009-01-20 02:16:19 +00:00
chess.griffin
793ad8511c
apply alternate usage patch from slakmagik -- this uses EOF to create the -h help information rather than a bunch of echo lines.
2009-01-18 20:01:09 +00:00
chess.griffin
be7b5f75a1
tag and release 0.25.0
2009-01-17 02:35:02 +00:00
chess.griffin
c1d9f5a0bb
revert a minor change to the size of a dialog.
2009-01-17 02:13:46 +00:00
chess.griffin
7e6349b150
add menu item and function to clear build queue.
2009-01-17 02:04:09 +00:00
chess.griffin
9ed8e475c9
tweak how the temporary backup queue is managed; now it is removed automatically whether the user loads it or not.
2009-01-17 00:33:18 +00:00
chess.griffin
f777578f0f
forgot to add one change to the check for path code
2009-01-16 21:23:07 +00:00
chess.griffin
7307d03a63
apply another patch from slakmagik to quiet down some more of the junk appearing with certain 'ls' calls; also, add in test for a pathname when user enters the name of the queue to load or save. If no path is detected, then default to save the user's queue in TMP (/tmp/SBo).
2009-01-16 21:11:18 +00:00
chess.griffin
e8d38048a0
apply two patches from slakmagik that fix a variable test, clean up and fix some the slack-desc information capture, and change the updatelist view from cat to PAGER when using the cli; also, add in a few minor tweaks that attempt to avoid the brief junk seen at the bottom of the screen when moving around the dialog interface; there are still a couple of these left, but this fix gets rid of some of it.
2009-01-16 20:03:07 +00:00
chess.griffin
3447f86f3d
move check for backup to when queue submenu is first accessed; show a message when quitting sbopkg about the automatic backup.
2009-01-15 20:22:00 +00:00
chess.griffin
8433d5d2da
a few tweaks and fixes to the save queue function
2009-01-15 19:33:46 +00:00
chess.griffin
5e46c6d19d
rework the loading/saving of build queues per some suggestions from Mauro Giachero; sbopkg now automatically saves a backup of the build queue, but the user may also optionally save the build and provide a specified path and filename and can load that user-saved file too
2009-01-15 18:25:57 +00:00
chess.griffin
06be5149a7
update TODO
2009-01-15 16:16:18 +00:00
chess.griffin
f249764ca7
rename the saved queue; remove an old commented out line
2009-01-15 15:34:38 +00:00
chess.griffin
bc7339f8d6
move queue functions into a separate 'manage queue' submenu off the main menu; add the ability to save (and load) the build queue; other various little tweaks and cleanups.
2009-01-15 14:59:30 +00:00
chess.griffin
ffc002b1e9
add nvidia-kernel hack to the same virtualbox-kernel one
2009-01-15 03:03:27 +00:00
chess.griffin
10d840b18b
remove the sed /+/x/ update list hack because that is handled by the specific hacks for libsigc++, libxml++, and TiMidity++; move and reorganize those last three hacks; add in a new hack for virtualbox-kernel (one for nvidia-kernel will likely soon follow); other minor cleanups.
2009-01-15 02:57:54 +00:00
chess.griffin
1e0e6a4eb7
improve the new sbopkg update download checker by removing duplicate code and providing a more detailed exit message when the download is complete.
2009-01-14 19:54:47 +00:00
chess.griffin
b3f8c90ba9
modify the 'check for update to sbopkg' code to show a different message if running from svn; also, if not running from svn, and it finds an updated package, offer to download the updated package; this is a precursor to having sbopkg update itself -- for now, it just downloads the updated package to OUTPUT.
2009-01-14 18:32:27 +00:00
chess.griffin
395954a76e
allow user to press ESC to exit out of the build/build or install dialog properly; it had to be done this way due to what I believe is a bug in dialog.
2009-01-14 16:47:12 +00:00
chess.griffin
8037d2531f
fix ability to cancel and go back to main menu when in the *.info and *.SlackBuild selection dialogs during the queue processing; add PKG name to title of those same dialogs.
2009-01-14 16:25:51 +00:00
chess.griffin
5345001784
switch egrep for grep in the view_queue function to preserve special characters in filenames, like the ++ in libsigc++; otherwise, those instances would be lost since egrep interpreted the ++ as the special regex + character.
2009-01-14 14:34:18 +00:00
chess.griffin
abc221371f
add a proper ChangeLog.txt :-)
2009-01-13 14:40:04 +00:00
chess.griffin
4e8aa69ca5
add fix for Virtualbox download
2009-01-13 03:12:10 +00:00
chess.griffin
a6a701b243
revert rm -f to rm -rf for sbooutput since that is a directory we want to delete; add local repo information to the build summary logs
2009-01-13 00:27:55 +00:00
chess.griffin
dd1ffad50e
resize the main menu and the utilities just a touch to eliminate blank space
2009-01-12 23:12:23 +00:00
chess.griffin
2c36dd9dde
remove the 'v' before SVN version when invoking from cli
2009-01-12 21:10:02 +00:00
chess.griffin
582f752e6e
merge back in prior svn ID code since the revision expanded as well
2009-01-12 16:01:22 +00:00
chess.griffin
809e15bf02
revise code to display SVN version; thanks to Mauro Giachero for the suggestion; add a continue when search_package fails to avoid ugly breakage from cli; add in a preliminary check to make sure -b and -i are not used together (I know there is a correct way to test the getopts arguments but this will do until I have more time to spend on it).
2009-01-12 15:45:28 +00:00
chess.griffin
1367d419e7
rework the dynamic SBOVER because the prior code was getting expanded and breaking.
2009-01-12 03:58:10 +00:00
chess.griffin
dc4a0f05b9
add directory check for
2009-01-12 03:46:26 +00:00
chess.griffin
aec8914cdb
merge in four patches from Mauro Giachero that do the following (1) show SVN id (2) clean up use of cancel/back and ESC -- ESC should now take you back a step in most screens (3) replace most rm -rf with rm -f and (4) improve the options dialog; thanks to Mauro for these great patches; also, other minor cleanups and dialog tweaks
2009-01-12 00:54:39 +00:00
chess.griffin
f274376554
create a new 'utilities' submenu off main menu and move some of the main menu items in there to clean up the UI a bit; add a backgroundtitle on several screens that shows which SBo repo (e.g. 12.2) the user is browsing
2009-01-09 20:09:50 +00:00
chess.griffin
35f812a928
remove the 'read sbopkg README' from main menu -- it was sort of pointless; add ability to add any of the individual search results to build queue from the search results screen; remove a bit of cruft.
2009-01-09 17:49:10 +00:00
chess.griffin
76ec9804f5
add similar message about aborting remaining items in queue when a compilation fails.
2009-01-09 00:01:17 +00:00
chess.griffin
665e7277ea
remove the -O option from wget since that was causing a few headaches and potential for more; instead create a temporary SRCDIR/download where the wget occurs and the file is then moved to SRCDIR. I am leaving the older stuff commented out for the time being while this is tested; also remove some cruft.
2009-01-08 21:51:55 +00:00
chess.griffin
7c86b0aa35
apply two patches from Mauro Giachero; the first allows the user to reverse the order of the build queue, and the second allows the user to enter another menu and re-sort any of them items in the queue; thanks to Mauro Giachero for these patches; also, tweak the summary output log when building packages; when a package fails the MD5SUM check, offer to abort the rest of the build queue since the failed package might be a dependency of something else and it wouldn't make sense to continue.
2009-01-08 21:27:44 +00:00
chess.griffin
b5f68ad42e
bump wget timeout from 10 seconds to 15 seconds; solves some download timeouts for x264 and sourceforge mirrors.
2009-01-08 19:57:08 +00:00
chess.griffin
fc71898416
improve build queue logging by reporting errors in builds; correctly remove source symlink after each successful and failed build.
2009-01-08 03:38:06 +00:00
chess.griffin
20c8f1dc82
add ability to use /home/chess/.sbopkg.conf, which will override settings in /etc/sbopkg/sbopkg.conf; when slackware version is changed, offer opportunity to save this new setting in /home/chess/.sbopkg.conf
2009-01-06 02:13:28 +00:00
chess.griffin
c82a768cfc
add preliminary support for build options/flavors in dialog interface; new menu entry in info item menu allows users to optionally set options or variables that will be passed to the SlackBuild script when it is run; this feature needs testing.
2009-01-05 16:47:39 +00:00
chess.griffin
10427dac9b
commit diff from Mauro Giachero to fix issue where some packages were incorrectly reported as already being in the build queue.
2009-01-04 20:53:24 +00:00
chess.griffin
edcd83dbd9
fix issue where packages were incorrectly identified as already being in the build queue; thanks to SpacePlod for the bug report.
2009-01-02 15:41:06 +00:00
chess.griffin
27335bd44d
add update list fix for ksmoothdock; thanks to Wade Grant for the bug report.
2009-01-01 22:08:10 +00:00
chess.griffin
1ec52ebe5b
tweak contributors language
2009-01-01 20:35:54 +00:00
chess.griffin
9011e631c6
update TODO
2009-01-01 20:34:36 +00:00
chess.griffin
eeaef697d8
remove a bit of crufty commented out stuff from sbopkg
2009-01-01 18:18:24 +00:00
chess.griffin
99493e673b
mention that building deps in order is not really a supported feature in README and sbopkg(8) man page
2009-01-01 17:58:50 +00:00
chess.griffin
c9d8192b62
edit message when a sbopkg.conf variable is missing.
2009-01-01 05:15:23 +00:00
chess.griffin
3b1ba3270b
change copyright to 2009; change dates in man pages to January 2009
2008-12-31 19:01:05 +00:00
chess.griffin
a95dff5479
fix issue where queue would proceed even if all packages removed from queue; thanks to Mauro Giachero for the bug report.
2008-12-29 20:18:11 +00:00
chess.griffin
e175c777ce
modify UPDATELIST_DEBUGGING re: new DEBUG variable in sbopkg.conf
2008-12-29 19:58:47 +00:00
chess.griffin
90db3ee2cb
add DEBUG information to sbopkg.conf(5) man page
2008-12-29 19:52:49 +00:00
chess.griffin
52d0c48cbf
add new DEBUG=0 to sbopkg.conf.new
2008-12-29 19:40:35 +00:00
chess.griffin
5472025f4a
remove UPDATE_DEBUG and FULL_DEBUG and implement a single DEBUG variable that will now be in sbopkg.conf; test for DEBUG; change debugging calls to test for DEBUG and output some debug at level 1 and more at level 2.
2008-12-29 19:39:43 +00:00
chess.griffin
fa840ab13b
mention in README and both man pages that local copy of SBo repo is less than 50MB.
2008-12-29 04:38:35 +00:00
chess.griffin
ff3ec901ae
modify README and sbopkg(8) man page re: build queue
2008-12-29 03:40:59 +00:00
chess.griffin
e974160609
add tmux update fix; mention that Conrol-C will exit out of build queue processing.
2008-12-29 03:33:44 +00:00
chess.griffin
14d0bee79c
Update TODO
2008-12-24 15:23:01 +00:00
chess.griffin
a9ffc91963
edit sbopkg.conf to state that OUTPUT must be exported
2008-12-24 15:20:28 +00:00
chess.griffin
d875937bf6
add in ability to check for an update to sbopkg itself using code borrowed with permission from Eric Hameleers' script mirror-slackware-current.sh; this is a new feature in the dialog interface and also in the cli with the new -u switch
2008-12-24 13:48:03 +00:00
chess.griffin
130d51f1a5
fix issue where the 'installed/not installed' was not automatically refreshing after installing a package; thanks to Mauro Giachero for reminding me to fix this annoyance; also, add the ARCH to the info item menu description so it matches everything else
2008-12-23 23:10:53 +00:00
chess.griffin
922edc88cb
reworking some wording in one of the build queue dialog boxes; thanks to The-Croupier for the suggestion.
2008-12-23 22:48:07 +00:00
chess.griffin
f088c67010
fix spacing issue in two dialog boxes; fix issue where locally-edited SlackBuild was not being used for building; thanks to Mauro Giachero for the bug report.
2008-12-23 22:05:48 +00:00
chess.griffin
58e9e9939e
fix issue where duplicate packages could be added to build queue; fix control-c bug that would not allow user to do anything until they returned to the main menu; thanks to Mauro Giachero for these two bug reports; tweak usage -h output to more clearly state that multiple packages can be built, installed, or searched for.
2008-12-23 04:21:36 +00:00
chess.griffin
6d78699217
offer to automatically add flagged updates to build queue
2008-12-22 15:10:29 +00:00
chess.griffin
6f0dd4ea29
revise build queue explanatory text; change references to 'build queue'; remove some cruft from sbopkg; revise sbopkg(8) man page re: build queue; revise README re: build queue; remove 'no updates' from debug list unless an internal 'FULL DEBUG' variable is set
2008-12-22 14:35:51 +00:00
chess.griffin
51277783f5
add fixes for mplayer and acroread; thanks to Erik Hanson for acroread bug report
2008-12-22 03:46:17 +00:00
chess.griffin
77e0adccf1
remove check for TERMBUILD
2008-12-21 16:59:42 +00:00
chess.griffin
b309ca5f27
remove TERMBUILD from sbopkg.conf.new; remove TERMBUILD information from sbopkg.conf(5) man page; revise sbopkg(8) man page about new -i switch
2008-12-21 15:39:13 +00:00
chess.griffin
0a3d94f7cb
remove old /latest; update TODO; update sbopkg(8) man page
2008-12-21 15:19:49 +00:00
chess.griffin
d39cd37da6
remove dialog MD5SUM failure message since we are in the terminal anyway; more whitespace fixes; only display 'press any key' at end of build if we are in dialog; only check queue if we are in dialog
2008-12-21 05:20:05 +00:00
chess.griffin
2d1a5234eb
clean up some whitespace; offer to delete queue after processing; try to fix md5sum failure dialog issues
2008-12-21 04:59:15 +00:00
chess.griffin
db76f791b7
greatly improve the new build queue and how it is managed; use a checklist for viewing and removing items from the queue
2008-12-21 04:00:19 +00:00
chess.griffin
d2695866ff
test removing some old install code and replace it with just a call to install_package; comment out a tail command to eliminate an error since the tail is no longer needed
2008-12-18 04:58:38 +00:00
chess.griffin
eac43a06c3
minor cleanups to the install queue log checks and fix a dialog box
2008-12-18 04:45:56 +00:00
chess.griffin
02c978dcbf
bring in pkgtools string splitting code (same code used in updatelist feature) into the info item menu in order to, hopefully once and for all, correctly identify the installed package for purposes of displaying at the top 'Installed:' or 'Not installed:'; fix issue where newly-built package was not being listed in the info item menu; thanks to Alex for the bug report; remove lots of old comments and commented out code
2008-12-17 20:48:33 +00:00
chess.griffin
ab2868361d
fix mplayer update issue
2008-12-17 19:13:58 +00:00
chess.griffin
194491f247
re-fix django download issue
2008-12-17 04:51:06 +00:00
chess.griffin
1f7360b074
tweak dialog settings; fix ability to cancel out of build queue
2008-12-17 04:43:03 +00:00
chess.griffin
7bc2120b82
integrate some major changes in how building and installing is handled; introduce build queue in dialog interface; implement installation options for when queue is processed; these major revisions necessitated the removal of the dialog interface when packages are building or installing; if a user is in the dialog interface of sbopkg, then when a package is built and/or installed, it will switch over to a terminal (i.e. as if TERMBUILD was chosen); showing the build or install in the dialog tailbox was sort of a hack, and did not allow me to do some other things; consider it a price of having the new build/install queue; I tried to test things out in a variety of ways and catch likely errors but testing is really needed
2008-12-16 23:23:29 +00:00
chess.griffin
a85f2f50bf
add fix for typhoon_2001; thanks to cotterochan for the bug report; tweak the package building/installing output when using new -i command line switch to build and install.
2008-12-16 00:01:25 +00:00
chess.griffin
f0284c824a
add some errors checks when building or installing from cli
2008-12-15 14:36:50 +00:00
chess.griffin
a6e7a5d367
clean up the customization menu a bit
2008-12-13 18:16:07 +00:00
chess.griffin
bb65efb934
modify the package/install summary output
2008-12-13 04:26:41 +00:00
chess.griffin
566f522ce3
minor tweak to -h output; revise sbopkg.conf.5 man page to require OUTPUT as a defined configuration variable; revise sbopkg.8 man page to explain new -i switch.
2008-12-13 04:15:06 +00:00
chess.griffin
b1052bb553
add patch from Erik Hanson to clean up several of the yes/no dialogs; introduce new code and new -i switch to build and install packages from the command line; introduce a new summary file that will be used at the end of the cli building or installing process.
2008-12-13 03:46:35 +00:00
chess.griffin
6d5af94df6
further work on the 'installed version' code; thanks to Erik Hanson for some help with this; this code needs to be redone as it is a bad hack for now; also, fix django download problem due to no tarball or source listed in the download link; thanks to David Somero for the bug report
2008-12-12 16:18:15 +00:00
chess.griffin
55b7dabefa
fix for installed packages not being listed at the top of the info item screen
2008-12-12 15:42:52 +00:00
chess.griffin
0d9045e8d2
tweak alignment of sbopkg.conf.5 man page
2008-12-11 01:54:48 +00:00
chess.griffin
71e04c5fe6
update sbopkg for Slackware 12.2 by making 12.2 the default Slackware version; revise man pages and docs for 12.2; add --no-owner to default rsync flags to avoid local repository from having incorrect owner permissions; thanks to Pierre Cazenave for the bug report and Erik Hanson for the suggested solution; tweak the recent fix in r228 for built package names showing up incorrectly in the menus
2008-12-11 01:50:07 +00:00
chess.griffin
3a1c4b63c0
fix issue where on rare occasions the built package name was not correctly identified; thanks to necropresto for the bug report (closes Issue 7 on Google Issue Tracker); minor cleanups to various files.
2008-12-03 16:35:16 +00:00
chess.griffin
8aa996a91a
Revert to revision 225 to bring in updates before 12.2
2008-12-03 16:12:44 +00:00
chess.griffin
9f2d346892
update for upcoming Slackware 12.2; no functional changes
2008-12-03 15:06:55 +00:00
chess.griffin
c70c25b5a7
update README to reflect new domain for website.
2008-11-13 17:23:40 +00:00
chess.griffin
17b3ce1da6
fix xerces-c updatelist issue; thanks to Joao Felipe Santos for the bug report.
2008-11-13 16:32:26 +00:00
chess.griffin
aeccdfee75
add a BUILD tag at the end of the VERSION appearing in the title to the info_item menu
2008-11-12 04:29:31 +00:00
chess.griffin
64495f7c87
random little cleanups and removal of commented out cruft
2008-11-11 21:48:15 +00:00
chess.griffin
c314a88a47
the size of some of the dialog boxes were bugging me; fix said annoyances
2008-11-11 21:22:59 +00:00
chess.griffin
40abf5193b
fix search box so pressing enter only will return to main menu
2008-11-11 21:06:34 +00:00
chess.griffin
a2a4fdc8e3
try and improve the control-c trapping
2008-11-11 20:46:11 +00:00
chess.griffin
0710c04d04
add fix for mplayer, libsigc++, and libxml++; thanks to cotterochan for mplayer bug report.
2008-11-09 21:12:06 +00:00
chess.griffin
437e26207b
Drop _SBo from new version display in info_item menu for testing purposes. It should be fine, and works well in my testing, but I don't have many non-SBo packages installed so I may not pick up on any unintended consequences. Thanks to Erik Hanson for the suggestion.
2008-11-06 03:20:40 +00:00
chess.griffin
64ca3948a9
show package version information and whether a package is installed in each individual info_item menu; thanks to Erik Hanson for the patch. Also fix Control-C error that would prevent a user from exiting cleanly during the initial directory creation stage.
2008-11-04 15:00:18 +00:00
chess.griffin
d4d543fb5e
add tweak for TiMidity due to SBo fixing the ++/xx issue
2008-10-30 02:19:52 +00:00
chess.griffin
850b688845
tweak sbopkg.conf.new
2008-10-28 13:42:44 +00:00
chess.griffin
8881642382
modify sbopkg.conf(5) man page to remove TIMEOUT and incorporate RSYNCFLAGS and WGETFLAGS.
2008-10-28 13:39:33 +00:00
chess.griffin
c0d1e39c5e
Attempt to fix a few problems introduced by the new rsync flags by moving the flags into sbopkg.conf and allowing users to modify them manually. This means that the new TIMEOUT variable can go.
2008-10-27 22:17:50 +00:00
chess.griffin
fc6f9f8eb3
fix issue with openoffice.org updatelist entry; thanks to Erik Hanson for the bug report
2008-10-27 15:02:40 +00:00
chess.griffin
67d9b1d2c7
add in some new code in an attempt to fix the never-ending 'decimal' problem; this new code should fix update issues with flash-player-plugin, flash-player-standalone, Orbit2, and devede reported by Erik Hanson, samac, and Joao Felipe Santos; comment out old ubuntulooks hack since this new code should fix that as well.
2008-10-21 20:01:27 +00:00
chess.griffin
ad7e5b91e1
update TODO list re: lftp
2008-10-18 00:57:44 +00:00
chess.griffin
40a7fd25a5
add update fixes for acroread and gnupg; thanks to Erik Hanson for the bug report.
2008-10-17 20:19:39 +00:00
chess.griffin
137fee569e
change --timeout to --contimeout for the rsync command; modify the rsync error handling; thanks to macavity for the patch.
2008-10-17 16:18:05 +00:00
chess.griffin
1c813f614f
add in preliminary code for trapping Control-C and allowing the user to cleanly abort the wget source step and the package building step by correctly identifiying and killing the necessary PIDs of subprocesses; this is working for the wget but not the package building stage yet; testers appreciated; thanks to Zordrak for the suggestion.
2008-10-15 19:27:49 +00:00
chess.griffin
54f76a17e4
update TODO re: traps and error checking; add TIMEOUT information to sbopkg.conf(5) man page
2008-10-15 13:08:39 +00:00
chess.griffin
81c631dce6
add in support for a TIMEOUT variable setting in config file for the rsync and wget calls; thanks to macavity for prodding me to add this in.
2008-10-14 19:03:40 +00:00
chess.griffin
3beaaae870
remove -z option from rsync, add 10 second timeout, and provide some basic rsync failure handling; thanks to macavity for the patch.
2008-10-14 00:52:44 +00:00
chess.griffin
3718d0bde6
fix package search where searching for a category name resulted in an error and exit by adding in a -mindepth 2 option to the find commmands; thanks to nille for the bug report.
2008-10-13 01:25:25 +00:00
chess.griffin
6f967d3b14
add -O option to wget call to fix certain cases where the downloaded file had cruft after the end of the filename; added new DOWNLOADFILE variable in order to use this switch; thanks to acidchild for the bug report
2008-10-09 13:39:08 +00:00
chess.griffin
1cb7a655d1
change size of rsync, build, and install dialog boxes so they fit better in a standard 80x24 or 80x25 terminal; this is something I have been meaning to fix for a long time but kept forgetting, so thanks to Erik Hanson for the reminder.
2008-10-09 02:24:52 +00:00
chess.griffin
d615412662
move the editing functions into a new customize submenu; thanks to nille for the suggestion
2008-10-04 22:53:30 +00:00
chess.griffin
db87665616
update TODO, README, and sbopkg(8) man page to reflect ability to edit .info file.
2008-10-02 21:45:34 +00:00
chess.griffin
ce4f27dc05
add ability to edit/use local .info file in same manner as editing/using local SlackBuild currently; thanks to nille for the prodding to get this done.
2008-10-02 20:10:06 +00:00
chess.griffin
d9308cb57b
Add message about deleting source upon MD5SUM fail when using sbopkg in cli with -b option.
2008-09-23 18:56:32 +00:00
chess.griffin
89e86ebf17
fix typos
2008-09-22 21:00:25 +00:00
chess.griffin
555b31fc8d
add Drew to contributors list; thanks to Drew for the bug report and feature request regarding the ability to delete individual sources in the cache directory which led to many of the changes in the previous commit.
2008-09-22 20:56:34 +00:00
chess.griffin
73cb4929e8
major diff ahead: fix issue where no package was found when entering info item menu; remove symlink to source after each package build or fail rather than leave it lying around; add new 'remove_sources' function whereby user can remove all sources from ; add new 'checksum_fail' function which will offer to remove a source after a checksum has failed; when selecting 'view cache dir' from the main menu, first check to see if it's empty and exit gracefully if it is, rather than showing an empty directory
2008-09-22 20:53:00 +00:00
chess.griffin
2740ab7f73
add in -c switch to wget to resume a download; thanks to Robby Workman for the suggestion
2008-09-22 13:44:41 +00:00
chess.griffin
aa7e4a2df6
minor cleanup
2008-09-17 13:48:39 +00:00
chess.griffin
2adc3cb8c4
separate out directory checks; move checks for cli
2008-09-13 21:28:07 +00:00
chess.griffin
2e8790b07c
recombine the sanity check and config check, but separate out the pid file check.
2008-09-13 21:03:52 +00:00
chess.griffin
1620caf654
multiple changes due to pid file not being correctly removed when using cli; separate out the config file check and the directory (sanity) checks in order to correctly change SLACKVER at the cli
2008-09-13 20:16:56 +00:00
chess.griffin
078395474f
add in fixes for aircrack-ng and pygame; remove unused check_slack_version function call in the rsync function; fix issue where PIDFILE would be left behind when sbopkg was used in cli; thanks to LukenShiro for these bug reports
2008-09-13 14:26:03 +00:00
chess.griffin
54533064a3
argh. set TERMBUILD to NO in default sbopkg.conf.new
2008-09-12 16:17:16 +00:00
chess.griffin
868ed2cf99
remove whitespace
2008-09-10 13:42:09 +00:00
chess.griffin
4fb55805c5
modify README and sbopkg(8) to mention ability to install package; add comment to sbopkg
2008-09-10 13:30:03 +00:00
chess.griffin
304aeba80f
drop extra paren
2008-09-09 15:23:31 +00:00
chess.griffin
336b18dddc
hopefully fix ubuntulooks correctly this time (plus try to check in this commit a second time, not sure why the first didn't take)
2008-09-09 15:20:43 +00:00
chess.griffin
3ffa7cba83
modify TODO list
2008-09-04 23:16:39 +00:00
chess.griffin
c123f40db7
add pid file and a check for it when first run to avoid more than one instance; thanks to David Somero for the report. Also update contributors for The-spiki and David Somero.
2008-09-04 22:57:26 +00:00
chess.griffin
995d38f6da
--progress=bar:force doesn't display in dialog so remove :force
2008-09-04 14:23:29 +00:00
chess.griffin
92007382e1
prettify the wget download; thanks to The-spiki for the reminder.
2008-09-04 14:07:51 +00:00
chess.griffin
d0da99ccf6
add fix for kchmviewer; thanks to The-spiki for the bug report.
2008-09-04 13:53:04 +00:00
chess.griffin
a679550c54
fix install_package install directory variable; thanks to Erik Hanson for the bug report
2008-09-02 13:03:26 +00:00
chess.griffin
f8155369e7
add in fix for djvulibre; thanks to Erik Hanson for the bug report
2008-09-02 01:02:05 +00:00
chess.griffin
fbed38f72c
argh, clean up whitespace
2008-09-02 00:49:18 +00:00
chess.griffin
b9bb89b243
add in fixes for hugin and lame; thanks to Erik Hanson for the bug reports
2008-09-02 00:46:54 +00:00
chess.griffin
26c9b720cc
initial code to install a package; thanks to Erik Hanson for the ideas and code suggestions; also add a TERMBUILD check in the sanity checks
2008-09-02 00:39:50 +00:00
chess.griffin
d72f08a27f
modify sbopkg.conf.5 man page to document TERMBUILD.
2008-08-29 01:24:15 +00:00
chess.griffin
867f44e4b9
add ability to have the build process take place in a terminal instead of the dialog interface by setting a new variable, TERMBUILD=YES in sbopkg.conf; TERMBUILD will be set to NO as a default when packages; many thanks to Erik Hanson for raising this issue and providing patches and code to make it work.
2008-08-29 01:18:27 +00:00
chess.griffin
f245e06e81
modify the 'Cancel' buttons so they say 'Back' and move the 'Return to Main Menu' in the info item menu to a button instead; thanks to Erik Hanson for the suggestions
2008-08-27 23:25:51 +00:00
chess.griffin
f8a3a34d59
modify the show sbopkg README to point to the SBOVER doc directory
2008-08-27 02:52:59 +00:00
chess.griffin
46abc202a4
modify README
2008-08-27 02:37:33 +00:00
chess.griffin
7853477853
fix a few problems with the check if repo exists function
2008-08-27 02:26:20 +00:00
chess.griffin
cef3a124a7
remove the function to create the LOCALREPO/SLACKVER and essentially move it to the sanity checks function with the other create directory commands; lots of tweaks and cleanups to the various error code checks and displayed messages
2008-08-27 02:18:48 +00:00
chess.griffin
f97244d0cf
add non-dialog message for no repo exists function; add more calls to such function for cli usage
2008-08-27 01:41:15 +00:00