Commit Graph

829 Commits

Author SHA1 Message Date
mauro.giachero
2db000bf4e Shorten the ARCH indication in backtitles.
This way the backtitle fits in a standard 80-columns terminal.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-25 09:17:37 +00:00
mauro.giachero
ec602a72bb Be more strict when validating YES/NO configuration variables.
This way users won't be surprised when misspelling "no" as "np" and
getting a "yes" behavior...

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-25 09:17:31 +00:00
mauro.giachero
0cf9aea14a Allow multiple instances of sbopkg to run simultaneously.
This patch makes it possible to run multiple sbopkg instances
simultaneously in different $SBOPKGTMP prefixes.
There are some known (and possibly unknown) caveats the user
should be aware before enabling this option -- I documented the
ones I could think of.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-25 09:17:23 +00:00
slakmagik
51b52b748d Fix an issue with an incompatibility between bash 3.1, 3.2, 4.0 which
caused quoted strings in the RHS of the =~ operator in [[ commands to be
interpreted as literal strings, thus causing parts of sbopkg to fail. Update
HACKING to address this. Thanks to SiegeX and others for the reports and
suggestions. Thanks to Mauro and Chess for review and suggestions.
2009-09-18 09:40:49 +00:00
mauro.giachero
9405fc1865 Fix issue with r713 showing a broken backtitle when ARCH isn't set.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-15 14:45:13 +00:00
slakmagik
6c491521a1 correct part of the last revision which broke sbopkg's proper handling
of the situation where no SBo packages are installed
2009-09-11 05:03:37 +00:00
slakmagik
e346c03c16 add the ability to uninstall SBo packages from the dialog interface that
lists installed packages; thanks to pokipoki08 for the suggestion.  Thanks to
Chess and Mauro for code review and suggestions.
2009-09-11 04:46:46 +00:00
chess.griffin
df07ea151f fix an issue with the build options dialog menu where selecting 'None' would not work; thanks to happyslacker for the bug report. 2009-09-10 17:52:52 +00:00
mauro.giachero
d3a02809ea Fix wrong regex in uncheck_installed().
The old regex turned ON into ONOFF. Dialog apparently treats that as
an OFF, so overall the code appeared to work fine. Neverthess, this is
worth a fix.
Spotted by slakmagik.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-09-09 17:33:29 +00:00
chess.griffin
9641686690 undo accidental commit to src/usr/sbin/sbopkg 2009-09-09 13:42:20 +00:00
chess.griffin
b132e73ccd add :force to sbopkg.conf WGETFLAGS after --progress=bar to correctly display the progress bar; thanks to happyslacker for the reminder. 2009-09-09 13:38:59 +00:00
chess.griffin
8dbba9f417 add info about ARCH to sbopkg.conf(5) man page 2009-09-07 02:36:09 +00:00
chess.griffin
9c16496ef3 fix typo in backtitle 2009-09-06 12:16:02 +00:00
chess.griffin
61630757af add ARCH information to dialog backtitles; update ChangeLog-current 2009-09-06 04:11:27 +00:00
chess.griffin
e85ef69e1b fix tinyerp-server in 50-default renames file 2009-09-01 14:20:30 +00:00
chess.griffin
fc01b4f6dd update current Changelog 2009-08-28 17:46:49 +00:00
chess.griffin
d3e4f50857 tag and release 0.30.1 2009-08-28 17:46:03 +00:00
chess.griffin
ea33f59d0b update changelog 2009-08-28 17:34:15 +00:00
mauro.giachero
66e307e9aa Fix the $SBOPKGTMP sanity check.
'find' prints the directory name as the first result, and if $SBOPKGTMP
is not named after sbopkg it makes the sanity check fail.
Fix this by making sure that 'find' doesn't ever return the directory
name.
Thanks to Ken Roberts for raising the issue.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-28 16:57:21 +00:00
mauro.giachero
63a173476d Update the renames file.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-28 16:57:13 +00:00
mauro.giachero
5e36b3195c Fix the updates check for Slackware 13.0
In the updates check we split the package name expression (on the
makepkg line) counting dashes. The 13.0 scripts now have, instead of
'tgz', the expression ${PKGTYPE:-tgz} at the end. This makes us pick
up the ARCH field instead.
Fix this by suppressing any ':-' operation found. This should be
reasonably safe (no 12.2 script has such expression there).
While at it, replace the old cut/rev dance with a single sed invocation.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-28 16:57:04 +00:00
chess.griffin
805c3cf422 tag and release version 0.30.0 2009-08-24 18:15:20 +00:00
chess.griffin
0e8b60ee6e fix permissions of copied sbopkg.SlackBuild in SlackBuild 2009-08-23 21:46:52 +00:00
chess.griffin
18e5e94fe2 minor cleanup to ChangeLog-current.txt; remove duplicate entry 2009-08-23 21:14:19 +00:00
chess.griffin
d27d4e3461 modify size of view_queue() to avoid problems with 80x24 terminals 2009-08-23 16:07:45 +00:00
chess.griffin
4546107848 update ChangeLog-current.txt re: French man pages 2009-08-15 05:03:29 +00:00
chess.griffin
2fa48d0586 tweak language in dialog when search term is not found; thanks to idknow for the bug report 2009-08-13 15:11:31 +00:00
chess.griffin
362d0cbf81 update French sbopkg(8) man page; thanks to Marie-Claude Collilieux 2009-08-12 18:14:29 +00:00
chess.griffin
f7c66c3b52 update French man pages; thanks to Marie-Claude Collilieux 2009-08-12 02:46:17 +00:00
chess.griffin
f859290b84 modify multimedia.sqf based on feedback by Pierre Cazenave; update date in sbopkg(8) man page 2009-08-10 23:19:09 +00:00
chess.griffin
2d401c261d add ability to invert all selected or deselected items in the view cache and obsolete sources and packages dialogs; thanks to dive for the suggestion 2009-08-06 13:08:14 +00:00
mauro.giachero
6c04fea0be Add the new -k option to skip building already installed packages.
This is the CLI variant of the previous commit.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-05 21:27:33 +00:00
mauro.giachero
e7803ae655 Add a dialog option to uncheck installed packages.
This makes it handier to skip the build for already installed packages.
Note that "installed packages" here includes different versions, since
only the package name is checked.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-05 21:27:19 +00:00
mauro.giachero
4473a090ad Fix GPG checking message.
The OK wasn't sent to the terminal, so the thing looked quite screwed up
(all the "Checking GPG of" instances were on a single line).

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-05 21:27:09 +00:00
mauro.giachero
1abbe2bd3c Improve the spacing for a couple of dialogs.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-05 21:26:58 +00:00
mauro.giachero
2192b8cade Show currently installed package version in queue dialogs.
This patch shows the currently installed version of each queued package
in queue dialogs, or "New" if the package isn't installed.
The main reason to do something like this is to be quickly able to disable
the build of already-installed packages from a loaded queue. We're not
simply showing "Installed" here just to avoid inducing the user into
thinking that the queued package is exactly the same installed, while it
possibly isn't due to version updates.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-08-05 21:26:35 +00:00
chess.griffin
9f9ec7a6a9 change the dialog refresh workaround function so it simply sets TERM=xterm-color, which seems to fix most issues; any other issues will go in a yet to be created doc KNOWN_ISSUES; thanks to Mauro for this fix 2009-08-02 17:38:25 +00:00
mauro.giachero
39ce2083f4 Properly validate repository descriptors.
Repository descriptors (*.repo files) weren't properly validated on
load. This could lead to unexpected problems whenever a wrong descriptor
is found.
This patch replaces the original 2-lines loader with a proper parsing
function which also performs some sanity checks.

While at it, stop using the magic number '7' as the number of fields in
a repository record -- use a variable instead.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-23 16:40:05 +00:00
slakmagik
a5b7b85b4d Tiny change to save_user_queue() to prevent the user losing their queue when
they clear the file name in the save dialog and hit okay - before it would
behave as a 'cancel' and now it presents the dialog again. Thanks to Pierre
Cazenave for the suggestion.
2009-07-23 00:15:45 +00:00
mauro.giachero
c4310a4c6f Cleanup and fix process_queue() post-build code.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-20 13:56:29 +00:00
chess.griffin
af31572a1c tweak the precheck and summary logs a bit to make them more compact and cleaner 2009-07-17 13:15:24 +00:00
chess.griffin
f8f0de5075 fix saving repository change to /root/.sbopkg.conf; thanks to samac for the bug report 2009-07-15 13:44:37 +00:00
chess.griffin
51ad9966fb update ChangeLog-current.txt 2009-07-14 22:09:25 +00:00
chess.griffin
6c7a6082c9 back out additions to renames.d/50-default for now 2009-07-14 14:59:41 +00:00
chess.griffin
262d8033cb modify/add to the sample queuefiles 2009-07-14 00:20:00 +00:00
chess.griffin
746358a451 show package name when error occurs during build; move gpg checks a bit so we can still edit info and slackbuild files when using the local repository 2009-07-13 16:54:09 +00:00
mauro.giachero
ba834c8b3e Fix REPOSITORIES loop.
This should have been done in r669, but we forgot.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-13 16:14:42 +00:00
mauro.giachero
4f9e3b24e6 Fix CLEANUP/KEEPLOG not working when set to NO.
Before this patch, they were conditionally unset before
the code checking for the presence of all the required
configuration variables.
While at it, clean up the code a little.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-13 15:38:52 +00:00
mauro.giachero
dff0d70720 Fix build error management.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-13 15:38:42 +00:00
mauro.giachero
64e16fefab Fix 'rm' error on download failure.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-13 15:38:32 +00:00