Commit Graph

822 Commits

Author SHA1 Message Date
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
chess.griffin
9a30b944be modify the queue editing functions by creating two new queue menu items, 'sort' and 'reverse' for a better user interface; thanks to Pierre Cazenave for the suggestion. 2009-07-11 03:14:05 +00:00
mauro.giachero
09c5ab6707 Add function removing obsolete (not installed) packages from $OUTPUT.
This patch add a function to remove from $OUTPUT packages
that are not installed. This is useful to remove from
$OUTPUT packages that are made obsolete by version updates,
or that are unwanted for whatever reason.
Addresses issue #20. Thanks to alkos333 for suggesting this
feature.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-10 07:44:11 +00:00
mauro.giachero
be45ca8aec Make remove_sources() generic and name it remove_files().
This is a preparation patch that should have minimal
changes in functionality (some on-screen messages change,
though). Its purpose is to enable the use of the
aforementioned function to remove more than source files.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-10 07:44:00 +00:00
mauro.giachero
104ad3804f Add sbopkg.conf option to delete build residuals.
This patch adds a sbopkg.conf option that, when enabled,
tells sbopkg to automatically delete the sources and all
the other files generated during the SlackBuild execution
right after running it.
Addresses issue #21. Thanks to Marco Bonetti and Gregory
Tourte for the report and the nice discussion.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-09 14:05:44 +00:00
mauro.giachero
cc6ddd5457 Cleanup build error management.
This patch moves the get_source() error management down to
build_package(), which is its only caller. This leads to
some code deletion (mostly related to asking the user what
to do) and gives a "retry" alternative also to source
download problems.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-09 14:05:28 +00:00
mauro.giachero
361816f853 Add option to retry a failed build.
This patch allows the user to retry a failed build. This
can be useful when the user mistakenly forgot to set up
some prerequisite (like creating a specific user or group),
when the build failed due to filling the build area (not
so unlikely when building large queues) and probably in
other cases too.
Addresses issue #24. Thanks to Zordrak for suggesting this
feature.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-09 14:05:17 +00:00
chess.griffin
6104d81ef9 forgot to remove commented out code 2009-07-08 16:23:00 +00:00