summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove ERR calls from the codeDan McGee2007-04-26
| | | | | | | | All ERR() calls have been replaced with fprintf(stderr, ...). Still to be done- fix all the newline issues that are sure to pop up. What fun! Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove ERR, WARN, and pm_fprintf macros/functionsDan McGee2007-04-26
| | | | | | | | | Rip out this stuff from output.c and output.h for the next step of ripping all ERR output from the pacman front end. This commit will NOT compile. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove MSG output macro (#define and in code)Dan McGee2007-04-26
| | | | | | | | This is the first step of converting output to standard functions such as printf, and eventually allowing compiliation with the -pedantic flag as is done on the libalpm side. Signed-off-by: Dan McGee <dan@archlinux.org>
* Move log.c/h -> output.c/h to properly reflect what is containedDan McGee2007-04-26
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Pacman side code consolidation- unify callback functions to one fileDan McGee2007-04-26
| | | | | | | | | | Some more major code reorginization here. The download progress callback function has been renamed and moved to callback.c, which is the former trans.c with the download and log callbacks added. In addition, this allows util.c to be cleaned up as fill_progress can now be static in callback.c. We've also cut two more source files out. Signed-off-by: Dan McGee <dan@archlinux.org>
* More pacman side cleanupDan McGee2007-04-26
| | | | | | | | | | | * Cleaned up more of the header #includes, and got rid of a lot of stuff that was due to trying to make it compile on BSD/Darwin/CYGWIN. We can add it later but lets keep it simple for now and do it in seperate files if possible later. * Removed a lot of #define MACROS. Some were not even used, and others were only used a few times. Signed-off-by: Dan McGee <dan@archlinux.org>
* Allow sync search to work without argumentsDan McGee2007-04-26
| | | | | | | Enable an -Ss operation to work without a target list. This allows all package information to be printed (as opposed to individual -Sl operations on repositories). Signed-off-by: Dan McGee <dan@archlinux.org>
* Update Doxyfile for v1.5.2Dan McGee2007-04-25
| | | | | | Ran a doxygen -s -u as recommended on the Doxyfile. Signed-off-by: Dan McGee <dan@archlinux.org>
* add.c and remove.c cleanupDan McGee2007-04-25
| | | | | | | Unification and cleanup of the add.c and remove.c code. It looks remarkably similar, so this may be a candidate for functionalization at a later time. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove more unnecessary stuffDan McGee2007-04-25
| | | | | | | | | * Remove libintl.h from most files, as we only need to include it once in util.h where _() is defined. * Remove other unnecessary header inclusions. * Remove a macro that was only used once and replaced it with actual code. Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove unnecessary includes of downloadprog.hDan McGee2007-04-25
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove single-function upgrade.cDan McGee2007-04-25
| | | | | | | | Move pacman_upgrade into add.c, at least for now. It really doesn't need its own file. For the long term, we may want to move this whole file back to upgrade.c if we deprecate the add operation. Signed-off-by: Dan McGee <dan@archlinux.org>
* Merge single-function header files on pacman sideDan McGee2007-04-25
| | | | | | | Having a seperate header file for add, remove, query, etc. seemed overkill. Merge them all into a common pacman.h and fix the necessary #includes. Signed-off-by: Dan McGee <dan@archlinux.org>
* repo-add: Fix bug where desc info was omitted if package in a groupMarcus Habernehl2007-04-25
| | | | | | This fixes FS #7005. Signed-off-by: Dan McGee <dan@archlinux.org>
* Update the pot language filesDan McGee2007-04-25
| | | | | | | It looks like it is easier if these get updated too, so lets do it for now. Signed-off-by: Dan McGee <dan@archlinux.org>
* Update all translation po filesDan McGee2007-04-25
| | | | | | | | | In order to get more reliable message statistics, I updated all of the po files by first doing a make *.pot-update followed by a make. I am holding off on committing the pot files as this causes issues with make constantly wanting to rebuild them. Signed-off-by: Dan McGee <dan@archlinux.org>
* Updated French TranslationNam2007-04-25
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Updating German TranslationPierre Schmitz2007-04-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Forward port NEWS file from 3.0.2Dan McGee2007-04-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add a pactest for IgnorePkg and force on same packageDan McGee2007-04-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* rankmirrors: download first 50KB of DB to get more reliable numbersScott Horowitz2007-04-23
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Using wrong variable for depend lookup in sortbydepsNagy Gabor2007-04-22
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* New archlinuxppc.org mirror added to mirrorlistAaron Griffin2007-04-22
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Let IgnorePkg superceed the FORCE package flagChantry Xavier2007-04-22
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Added Spanish translationJuan Pablo González T2007-04-22
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Bug fix for FS#6944Alexander Baldeck2007-04-17
| | | | Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* makepkg: unset LC_MESSAGES during buildsDan McGee2007-04-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Update German translationMatthias Gorissen2007-04-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add Polish language translationMateusz Jędrasik2007-04-16
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* ldconfig changes from CVSAaron Griffin2007-04-16
| | | | | | | forward-porting some 3.0.2 changes * Nagy's ldconfig fix * 3 new pactests to check if ldconfig runs Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* makepkg: remove grep calls from stripping binariesAndrew Fyfe2007-04-16
| | | | | | | Remove grep calls from stripping binaries and libraries, which will not work with localized strings. Clean up the find usage as well. Signed-off-by: Dan McGee <dan@archlinux.org>
* Forward port 3.0.2 branch fixesDan McGee2007-04-16
| | | | | | | Fix #6905- makepkg dependency checking error Fix #6915- add SUU mirror to mirrorlist.in Signed-off-by: Dan McGee <dan@archlinux.org>
* Add void to functions with empty parameter listDan McGee2007-04-14
| | | | | | | Adding void [eg foo(void) instead of foo()] makes the code more compliant with ANSI C. Signed-off-by: Dan McGee <dan@archlinux.org>
* Fix FS #6872- CFLAGS are not usedDan McGee2007-04-11
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add pactest for pre_ and post_remove scriptlet events firingDan McGee2007-04-07
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Really run scriptlet on pre_remove and post_removeRoman Kyrylych2007-04-05
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* makepkg: spelling fixRoman Kyrylych2007-04-05
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Add replaces output to -Qi operationDan McGee2007-04-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Added easynews mirror to mirrorlist.inDan McGee2007-04-04
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Enable support for other download protocols in makepkgDan McGee2007-04-04
| | | | | | | | | | This patch fixes FS #4404 as well as adding support for future protocols by generalizing the concept of a download agent and allowing a downloader to be specified for each protocol. Original work done by Andrew Fyfe <andrew@neptune-one.net>. Signed-off-by: Dan McGee <dan@archlinux.org>
* Testing git emailsAaron Griffin2007-04-04
| | | | | | Added a random line to my TODO list to see if I can get commit diffs. Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* pactest: remove001.pyAaron Griffin2007-04-04
| | | | | | * Test for duplicate remove targets (should succeed) Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Backport changes from 3.0.1Aaron Griffin2007-04-04
| | | | | | | | | | * Align makepkg -g checksums (Tom Killian <tom@archlinux.org>) * Use additional case-sensitive string compare to defeat locale issues (tr_TR) * Added Russian mirror * Fix a -R failure when trying to remove the same target twice * Bump configure.ac version to 3.0.1 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
* Tidy up usage of makepkg.confAndrew Fyfe2007-04-01
| | | | | | | | | | | | | | Moved the following variables into /etc/makepkg.conf * BUILDSCRIPT * PKGEXT * DB_COMPRESSION * DB_CHECKSUMS Cleaned up sourcing of /etc/makepkg.conf in scripts and source ~/.makepkg.conf if it exists. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net> Signed-off-by: Dan McGee <dan@archlinux.org>
* New pactest: Sysupgrade with a sync package forcing a downgradeVMiklos2007-04-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Move the 100% progress bar call before remove scriptlet for output reasonsVMiklos2007-04-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Remove some debug print statements that were left in on accidentDan McGee2007-04-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Updated Italian TranslationGiovanni Scafora2007-04-01
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>
* Gettext support in makepkgGiovanni Scafora2007-03-31
| | | | | | | | Add gettext support to makepkg. Still to do- figure out for sure what textdomain the translations should go in (perhaps share with pacman?), and ensure this doesn't break anything. Signed-off-by: Dan McGee <dan@archlinux.org>
* Move makepkg -> makepkg.in in anticaption of gettextized versionDan McGee2007-03-31
| | | | Signed-off-by: Dan McGee <dan@archlinux.org>