1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
Commit Graph

830 Commits

Author SHA1 Message Date
Aaron Griffin
97efe292ff *** empty log message *** 2007-02-10 23:50:31 +00:00
Aaron Griffin
d080809c45 * Package file parsing - fixed size and isize - isize is the "size" variable
from the PKGINFO, and size is the stat() size of the archive
* Removed the useless 'output' param from package.c:parse_descfile
* Installation progress
  - Call progress callback once at 0% for initialization
  - 'needdisp' was useless
  - alpm_list_count is called an excessive amount in these nested loops.  Now we
    only call it once per iteration
  - Use the compressed sizes for PROGRESS calcs as uncompressed (isize) is not
    exact (it is missing metadata sizes), and thus produces > 100% numbers
2007-02-10 23:44:39 +00:00
Aaron Griffin
c55ea22c58 * 'add' percentages now cap at 100% (see the comment)
* downloaded packages now pass ONLY the package name to the callback
2007-02-10 09:36:36 +00:00
Aaron Griffin
a382d33d45 Cleaned up some more output
* Questions no longer start with "error:"
* downloaded size is output as a float now
2007-02-10 09:34:59 +00:00
Jürgen Hötzel
7cf6c88105 * fixed dist target 2007-02-10 08:10:22 +00:00
Jürgen Hötzel
7518e04c2e * gen-mirrorlist.sh not needed anymore 2007-02-09 22:09:28 +00:00
Dan McGee
73402a1459 * Fix compile errors/warnings.
* Update .cvsignore files a bit.
2007-02-09 21:54:57 +00:00
Aaron Griffin
f8cd4858ca * I made "alpm_versioncmp" public a while back, without noticing this was already done (alpm_pkg_vercmp). I dropped this change, making versioncmp "private" again. (alpm_versioncmp -> _alpm_versioncmp, hidden symbol)
* Make alpm_get_upgrades use the same version check that -Su and -S use.
2007-02-09 21:08:10 +00:00
Aaron Griffin
0ae434d9e1 * Fix #2982 - use -Rs to remove deps
* "pacman3" seems to have snuck in there somehow, fixed that
2007-02-09 19:16:15 +00:00
Dan McGee
d9a641a7a0 New manpages were going nowhere without an updated makefile 2007-02-09 18:37:27 +00:00
Dan McGee
79d18c2617 * Remove "error: " text from ERR() call since it is appended by ERR anyway. 2007-02-09 17:58:19 +00:00
Aaron Griffin
7f1e75edf1 * Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files 2007-02-09 16:02:20 +00:00
Aaron Griffin
d8fd645c4c * Cleaned up direct pm_fprintf usage (move to MSG/ERR macros for now)
* Moved some stderr output to stdout
* Remove "RETRIEVE_LOCAL" trans event as libdownload handles local files
2007-02-09 16:02:01 +00:00
Dan McGee
4e0b649c3a Man pages, man pages, man pages. Just a few more additions and clarifications,
ensured force option was still documented in PKGBUILD.5.
2007-02-09 15:37:20 +00:00
Aaron Griffin
41a8621ba0 * Fixed some missing error values in strerror
* Cleanup up some error enum values
* Revamped the 'pmserver_t' functionality.  Less allocation,
  removed a param and cleaned up some duplicate URL parsing
2007-02-09 10:10:49 +00:00
Dan McGee
eaf5ba61c7 Cleaned up the PKGBUILD man a bit. 2007-02-09 06:08:31 +00:00
Dan McGee
262c110dc0 Another round of manpage updates. 2007-02-09 03:44:54 +00:00
Dan McGee
b67e10d6b3 * Hopefully fixed the download progres bar for real. We should no longer
have issues with crazy speeds being displayed.
* Minor string updates to remove unnecessary 1-off translations.
2007-02-08 20:44:47 +00:00
Aaron Griffin
a94e22d924 Attempt to NOT remove packages on filesystem errors (like a read-only
filesystem). See FS#5887
2007-02-08 08:09:34 +00:00
Dan McGee
a97bb3e279 Small changes to README, mostly just to postpone making any real changes. :) 2007-02-08 05:58:11 +00:00
Dan McGee
2df13b6e8f * Oops. Added some files to make "make update-po" work. 2007-02-08 05:36:26 +00:00
Dan McGee
a7df172bee * Nice overhaul of manpages. It is at least a start.
* Alphabetized options in pacman usage.
2007-02-08 05:24:17 +00:00
Dan McGee
306914793c Fix newlines for real, and add a missing _() gettext wrapper. 2007-02-08 01:12:48 +00:00
Dan McGee
622608985d Forgot to remove a few files from configure.ac 2007-02-07 23:03:30 +00:00
Dan McGee
82de7efbf9 Greatly simplify the way our non-existant translated manpages were being
made. Ripped out all the po4a stuff, letting us cut down on yet another
makedepends.
Also moved all of the manpages to non-.in names.
2007-02-07 22:29:21 +00:00
Dan McGee
155aeb40fd Spruced up the TODOs a bit, got rid of some of them since a lot of it was
duplicate anyway. Also removed the last of the ORE tags and replaced them
with TODOs.
2007-02-07 22:08:37 +00:00
Aaron Griffin
7969082a7c *** empty log message *** 2007-02-07 20:22:36 +00:00
Aaron Griffin
01b3f1e0f5 *** empty log message *** 2007-02-07 18:09:46 +00:00
Aaron Griffin
3d07ad9539 Copy/pasta error in alpm_get_upgrades that caused a segfault 2007-02-07 06:19:40 +00:00
Dan McGee
0e5326a767 * Added a 'translation-help' file for use by our translators. 2007-02-07 06:15:56 +00:00
Aaron Griffin
cbd516a06e Only honor 'force' if versions are NOT identical 2007-02-07 06:12:53 +00:00
Aaron Griffin
6c5066471c Cleanup and more debug info for alpm_pkg_compare_versions 2007-02-07 05:57:28 +00:00
Aaron Griffin
ad224b2703 * Fix total transfered size on download bar
* Fix -Qm segfault
* Minor query cleanup
2007-02-07 05:25:45 +00:00
Aaron Griffin
ca4078b115 I broke the progress bars earlier. Put that back to normal. 2007-02-07 03:15:18 +00:00
Dan McGee
da637c79e5 Oops. Actuall add two new translation templates as requested on the ML-
'it' and 'pt_BR'.
2007-02-07 02:24:13 +00:00
Dan McGee
f05b6c152b * Update of all the *.po files and *.pot template files.
* Makefile targets to rebuild po files now work - use 'make update-po' in
  the po directories.
* Added two new translation templates as requested on the ML- 'it' and
  'pt_BR'.

This commit might be a bit big for the mailing list to like on the commit
message. :)
2007-02-07 02:22:53 +00:00
Dan McGee
4de804d157 * Makepkg updates, and small bugfix on man page compression.
* Change libtool default to makepkg2 behavior.
* Other small changes.
2007-02-06 22:36:13 +00:00
Aaron Griffin
dd7f1d95b1 Minor experimental changes to the download progress bar:
* change to Mb and Gb for both total size and transfer rate if needed
* round up to 1 second for downloads that were between 1s and 0.5s

This function needs some serious looking at, as it's probably not 64bit safe (thus the "wrong calculation" problem on the list).
2007-02-06 21:54:39 +00:00
Dan McGee
96a0115630 Cleaning up mistakes. :P 2007-02-06 21:28:29 +00:00
Dan McGee
b03a2388a3 I should test code before I check it in. Also a fix for the annoying wget output in PKGBUILD bug. 2007-02-06 21:20:20 +00:00
Aaron Griffin
79c277a218 Attempt #2 at -S/-Su unification: verify that the 'force' option has been read before comparing versions 2007-02-06 20:57:17 +00:00
Dan McGee
ac6e1c696e one more change for man page move 2007-02-06 20:34:32 +00:00
Dan McGee
13f36463fa fix makefiles for PKGBUILD.8 -> PKGBUILD.5 2007-02-06 20:23:41 +00:00
Aaron Griffin
b726277ccc Minor fixups for the moment, still partially complete 2007-02-06 18:45:32 +00:00
Aaron Griffin
c32a7fcc85 Swapped out PKGBUILD.8 for PKGBUILD.5 from Dan McGee - original PKGBUILD.8 had too many Frugal specific changes. 2007-02-06 18:33:35 +00:00
Aaron Griffin
7d63ecfac6 Copy-pasta errors. 8) 2007-02-06 17:41:36 +00:00
Aaron Griffin
67ea493ec2 Attempt to unify the -S and -Su version comparissons for when a package is newer
See FS#5388
2007-02-06 17:39:32 +00:00
Dan McGee
26e7d16d0e * Added some backwards compatability stuff to makepkg, along with helpful
warnings so people aren't caught off guard in the future.
* Added a temp fix for a bug in file 4.19 where bziped tarballs were
  returning type "application/empty".
2007-02-06 06:54:13 +00:00
Dan McGee
2f23b69af8 oops, ENVIRONMENT -> BUILDENV in comments 2007-02-04 18:31:39 +00:00
Dan McGee
b1cc72ebb3 * Updated makepkg to use a new form of options. These two arrays now replace
most of the former options in makepkg.conf, and are described in detail
  there:
   BUILDENV=(fakeroot !distcc color !ccache)
   OPTIONS=(strip !docs !libtool emptydirs)
  Note that PKGBUILD specified options will always have final say. They will
  now be specified as they are above, except using lowercase 'options' array.
* makepkg was fixed so options actually work as expected.
2007-02-04 18:28:21 +00:00