Commit Graph

621 Commits

Author SHA1 Message Date
chess.griffin
ef23192fd2 try and fix svn revision propset on sbopkg 2009-05-12 19:27:44 +00:00
chess.griffin
29f239fc43 modify sbopkg.SlackBuilds to include new renames.d directory 2009-05-12 18:21:39 +00:00
chess.griffin
516c681183 add support for new *.txz, *.tbz, and *.tlz Slackware package extensions. 2009-05-12 14:03:29 +00:00
mauro.giachero
99b16afbeb Fix a couple of "Build and Install" bugs.
Spotted and fixed by Chess Griffin.
2009-05-12 07:37:32 +00:00
chess.griffin
606890dbfe update both ChangeLogs 2009-05-11 17:51:07 +00:00
chess.griffin
f6e81fa444 apply SVN propset to 50-default 2009-05-08 21:51:40 +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
91db815094 Fix package building by making two more variables global.
The giant cleanup broke package building by marking "too
many" variables as local. These two are actually used
elsewhere, so just make them global.

Thanks to Chess Griffin for this fix.
2009-05-07 10:14:30 +00:00
mauro.giachero
3ddf3a7067 Fix per-user SLACKVER setting.
If the user ever created a personal sbopkg.conf file not
containing the SLACKVER=... line, the old code would not
add it.
This patch fixes the code by removing the assignment if it
exists, and then unconditionally adding the new one at the
end.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-07 10:14:19 +00:00
mauro.giachero
449e2371a9 Fix local repo test.
This change got lost when resolving some merge conflict :-/.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-07 10:14:08 +00:00
mauro.giachero
3d98703b9d Do not unset SBOPKG_CONF at startup.
SBOPKG_CONF shouldn't be unset at startup, because we want
to be able to override the default config file name with it.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-07 10:13:54 +00:00
mauro.giachero
7fabdd8f97 'Nice' the build process.
Give a lower priority to the build process, so that sbopkg
becomes less a resource hog when left working in background.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-05-07 10:13:41 +00:00
chess.griffin
ea887535c4 undo last change; that was not the solution to why renames is not working 2009-05-06 18:26:10 +00:00
chess.griffin
ca03f902b0 minor fix to get_old_name call 2009-05-06 18:16:09 +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
00c0bfe937 fix two minor issues with commits r533 and r539 2009-04-30 14:17:29 +00:00
chess.griffin
cd905fa9d5 Update both ChangeLogs 2009-04-30 13:49:00 +00:00
mauro.giachero
d19fde901a Fix typo.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-30 07:46:26 +00:00
mauro.giachero
cb2dff127a Fix non-browsable 'games' due to " in slack-desc.
Thanks to slakmagik for this fix.
2009-04-29 14:35:37 +00:00
mauro.giachero
b599f398a3 Fix bug where "sbopkg -c -v local" showed a dialog.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:35:25 +00:00
mauro.giachero
66c52845b6 Properly quote $CWD.
$CWD stores the directory the user started sbopkg from.
We cannot make assumptions about it not containing spaces,
so proper quoting is needed.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:35:14 +00:00
mauro.giachero
42d33db44b Fix installed packages list not shown with no packages installed.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:35:04 +00:00
mauro.giachero
82acea8919 Add new rename: GNOME-Colors -> gnome-colors
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:34:55 +00:00
mauro.giachero
8252d0d7c6 Let sbopkg learn about the acroread -> adobe-reader rename.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:34:43 +00:00
mauro.giachero
5beff37f6e Remove stale 'find' call.
This is a call I forgot to remove when the new updates code
went in (r333). There were no functional changes due to this,
but slowed down the updates by a perceivable amount.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:34:34 +00:00
mauro.giachero
28b98e1beb Apply a huge cleanup patch.
This patch touches almost every part of sbopkg, making
it more readable, manageable and less bug-prone.
Working on this already let us spot several bugs, and
will ease further development and debugging efforts.

This is the result of a lot of patient team work, for
which Chess, slakmagik and I should be equally credited.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-04-29 14:34:25 +00:00
chess.griffin
fe5afc309e update both ChangeLogs 2009-04-06 20:11:33 +00:00
chess.griffin
672dd00b2c modify HACKING 2009-03-26 12:55:23 +00:00
chess.griffin
dae918ee68 update both ChangeLogs re: rename code fixes 2009-03-26 12:54:41 +00:00
chess.griffin
bad9b196c4 upload HACKING to /doc directory; update SlackBuild to include this in packages 2009-03-25 13:08:26 +00:00
chess.griffin
0b69a3f72f fix LOGFILE to point to new LOGDIR not SBOPKGTMP 2009-03-24 18:23:47 +00:00
chess.griffin
36524c029f update ChangeLog-current.txt for directory path changes in sbopkg.conf.new 2009-03-24 18:20:46 +00:00
mauro.giachero
08e63b1f28 Refactor the renames code and fix upgrading renamed packages.
This patch refactors the renames code putting the old/new
name retrieval in two generic helpers.
Also fix the upgrading of renamed packages by providing
the old package name to upgradepkg.
Thanks to Phillip Warner for raising the issue, and to
Chess Griffin and slakmagik for testing and reviewing this
patch.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-03-24 14:05:34 +00:00
mauro.giachero
8abae87d4d Update sbopkg-renames.
Add the wbxml2 -> libwbxml rename to the sbopkg-renames
file, as pointed out by Chess Griffin.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-03-24 14:05:20 +00:00
slakmagik
96ab30447f Corrected a trio of typos in comments. 2009-03-23 22:57:40 +00:00
chess.griffin
3d96455085 change paths and make other edits to sbopkg.conf.new; this requires some changes to sbopkg itself, which will be forthcoming, but for now, sbopkg from SVN may not work correctly. 2009-03-20 19:56:40 +00:00
chess.griffin
98f22ddea7 update both French man pages; move them into correct location in /usr/man/fr/* and remove them from the /docs directory in -stable branch and correctly name them in -current by removing the _fr tag; thanks to Marie-Claude Collilieux. 2009-03-17 00:52:26 +00:00
slakmagik
fc4d0f87d5 Simplified the way SBOVER is assigned to, adding Revision to the list of the
script's svn:keywords and handing subversion's expansion of that to cut
2009-03-15 08:07:50 +00:00
slakmagik
64fd6c526a Fix a tr invocation. Thanks to Marie-Claude Collilieux for raising this issue. 2009-03-12 22:19:09 +00:00
chess.griffin
71ef334ac5 remove user mode support; add single check for root at start of script; update ChangeLog-current.txt 2009-03-11 12:46:22 +00:00
chess.griffin
dad7b0eada move sbopkg from /usr/bin to /usr/sbin; update sbopkg.SlackBuild and sspm to reflect this change to /usr/sbin; move French man pages to /usr/man/fr/man*; update ChangeLog-current.txt 2009-03-10 02:53:20 +00:00
chess.griffin
b987661439 update both ChangeLogs 2009-03-04 21:07:04 +00:00
slakmagik
612cb1ca13 Altered sed expression to work around calcurse filename idiosyncrasy 2009-03-04 11:51:31 +00:00
mauro.giachero
b37acfa223 check_for_latest(): cleanup and fixlet.
Remove some useless code from check_for_latest(), and
fix the reported download folder.
Thanks to David Somero for reporting and fixing the
bogus printout.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-03-03 08:49:49 +00:00
chess.griffin
1613f6150c remove obsolete for-next-release 2009-02-26 15:18:25 +00:00
chess.griffin
9e47d2aa8e modify ChangeLog-current.txt 2009-02-26 15:08:27 +00:00
chess.griffin
7ddc295530 tag and release 0.27.0 2009-02-26 15:04:30 +00:00
chess.griffin
561a4cfaec modify ChangeLog-current.txt 2009-02-26 04:28:05 +00:00
mauro.giachero
f3da07db8e Save on exit: don't prompt the user when not useful.
If the user just saved a queue, or loaded a previously
saved one, there's no need to prompt him for saving it.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-02-25 15:16:13 +00:00
chess.griffin
7262d5fa8b show queuefilename in dialog logs to match behavior of cli mode 2009-02-25 03:16:39 +00:00