Commit Graph

90 Commits

Author SHA1 Message Date
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
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
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
61630757af add ARCH information to dialog backtitles; update ChangeLog-current 2009-09-06 04:11:27 +00:00
chess.griffin
fc01b4f6dd update current Changelog 2009-08-28 17:46:49 +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
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
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
chess.griffin
51ad9966fb update ChangeLog-current.txt 2009-07-14 22:09:25 +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
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
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
4c40a35f43 fix ChangeLog entry; add two items to renames.d/50-default 2009-07-08 02:49:38 +00:00
mauro.giachero
1c3910e57e Add support for multiple source files and to x86_64.
This patch adds support for the new SBo 13.0 features, namely
x86_64 support and the ability to specify more than one source
tarball in the .info file.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-07-07 13:03:35 +00:00
chess.griffin
08e6246bf1 make SBo 13.0 the default in sbopkg.conf.new; add 13.0 repo to 40-sbo.repo; remove duplicate entry in ChangeLog-current.txt; replace a file name usage with STARTQUEUE in sbopkg 2009-07-02 19:00:09 +00:00
chess.griffin
9caca085f2 remove ARCH from sbopkg.conf since we now test for that internally; modify sbopkg.conf man page accordingly; update ChangeLog-current; add in fix for bug reported by neonflux that was previously committed to -stable 2009-06-25 14:41:36 +00:00
mauro.giachero
13493c7c7c Add a 'diff' entry to the customization menu.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-06-25 08:03:47 +00:00
chess.griffin
e88da2ada0 fixes to sbopkg and queuefile build options; update some of the documentation; update the ChangeLog-current.txt 2009-06-23 01:42:59 +00:00
chess.griffin
5e965ed704 minor tweaks to ChangeLog-current.txt to remove references to .sboq and change to .sqf 2009-06-18 22:54:14 +00:00
slakmagik
8b87240383 Modify do_install() in stable and trunk to correctly invoke upgradepkg to avoid
a fairly rare but serious case of removing the wrong package; thanks to NaCl
for the bug report.
2009-06-14 17:58:45 +00:00
chess.griffin
846ace5e0f allow 'ESC' to exit edit_build_queue menu; thanks to Nille for the bug report 2009-06-07 03:40:50 +00:00
chess.griffin
6ca3e9df3a Modify format so we just use per line and not to make some code simpler and sbopkg itself a little bit faster. Thanks to Mauro for the suggestion and review. Also update ChangeLog-current.txt re: same 2009-06-06 19:38:58 +00:00
chess.griffin
7b92764155 Update ChangeLog-current.txt for recursive queuefiles. 2009-06-06 19:06:23 +00:00
chess.griffin
8f3a0e6960 update ChangeLog-current.txt 2009-05-29 16:55:23 +00:00
mauro.giachero
8b681ae0b3 remove_obsolete_sources(): make the progressbar interruptible.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-28 10:19:13 +00:00
chess.griffin
efef808176 update ChangeLog-current.txt 2009-05-26 14:50:54 +00:00
mauro.giachero
2b553679e8 Tweak info_item()
Cleanup and tweak info_item():
- the code to detect already available packages in $OUTPUT
  is now more robust and readable;
- the code to determine already installed versions of the
  package is now more robust and readable;
- the "Installed:" line now also lists non-SBo packages
  (this is useful for Slackware-current users, as well as
  for people using non-SBo third-party packages)
- the window title now also shows the package tag, to
  remove some ambiguity (e.g. as of now, Slackware-current
  has a libzip package with the same "signature" as the
  SBo one, and from the info_item() dialog it looks like
  they are the same package when in fact they are not).

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-26 09:05:38 +00:00
chess.griffin
bee4c7c760 update ChangeLog-current.txt 2009-05-23 04:58:28 +00:00
chess.griffin
0dd4a6a668 modify queuefile format so now queuefiles are simply one 'APP' per line; deselected apps can be be indicated by prepending a '-' in front of the APP name, such as '-APP'; this should make using and sharing queuefiles easier and more intuitive; also update ChangeLog-current.txt 2009-05-22 14:33:29 +00:00
chess.griffin
e3421a6bd5 update ChangeLog-current.txt 2009-05-21 13:24:50 +00:00
mauro.giachero
b4cef20b18 Add the museek-plus->museek+ rename.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-21 08:06:46 +00:00
chess.griffin
dde83edea8 update trunk ChangeLog.txt 2009-05-16 05:00:29 +00:00
chess.griffin
a125d260fc undo last commit; man pages were accidentally update 2009-05-16 05:00:01 +00:00
chess.griffin
30da6c2a1f update trunk ChangeLog.txt 2009-05-16 04:51:00 +00:00
chess.griffin
516c681183 add support for new *.txz, *.tbz, and *.tlz Slackware package extensions. 2009-05-12 14:03:29 +00:00
chess.griffin
606890dbfe update both ChangeLogs 2009-05-11 17:51:07 +00:00
mauro.giachero
3078f984fa Implement renames tracking using a configuration directory.
Modify the renames tracking so that, instead of a single
file, all the files of a renames.d directory are used (just
like udev and modprobe do).
This has several advantages:
- no more need to "mv sbopkg-renames.new sbopkg-renames"
- it's now easier to add custom renames that automatically
  "survive" version upgrades
and, last but not least, this is believed to be the correct
way to handle these things.

Many thanks are due to Robby Workman for proposing this
change and to Chess Griffin for implementing it.
2009-05-08 08:39:37 +00:00
mauro.giachero
e31680566e Implement configurable repository management and git support.
This patch makes the repository list a configurable item
inside sbopkg.conf.
With this new way to specify repositories, there's the
possibility of naming the tool able to sync the local copy
of the remote repository. Such feature has been then used to
implement the support of git-based repositories, much
common in the Slamd64 land.

Please note that the purpose of this patch is to provide a
more flexible fetching system. The additional repositories
must be careful in being conform to the SlackBuilds.org
structure, or sbopkg will fail with them.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-06 13:56:42 +00:00
chess.griffin
cd905fa9d5 Update both ChangeLogs 2009-04-30 13:49:00 +00:00
chess.griffin
fe5afc309e update both ChangeLogs 2009-04-06 20:11:33 +00:00