platform/upstream/rpm.git
17 years agoRemove dead rpmal code
Panu Matilainen [Fri, 26 Oct 2007 08:21:31 +0000 (11:21 +0300)]
Remove dead rpmal code

17 years agoRename rpmcliImportPubkey() -> rpmtsImportPubkey()
Panu Matilainen [Fri, 26 Oct 2007 07:21:12 +0000 (10:21 +0300)]
Rename rpmcliImportPubkey() -> rpmtsImportPubkey()
- it's not a cli function in any way
- move to rpmts group

17 years agoAdd rpmdb/rpmints.h.in.
Ralf Corsépius [Wed, 24 Oct 2007 16:38:18 +0000 (18:38 +0200)]
Add rpmdb/rpmints.h.in.

17 years agoPass HEADERS to doxygen instead of pkginclude_HEADERS.
Ralf Corsépius [Wed, 24 Oct 2007 16:36:19 +0000 (18:36 +0200)]
Pass HEADERS to doxygen instead of pkginclude_HEADERS.

17 years agoMinor fixes to generation of hacking
Ralf Corsépius [Wed, 24 Oct 2007 16:26:07 +0000 (18:26 +0200)]
Minor fixes to generation of hacking

17 years agoRegenerate translations
Panu Matilainen [Wed, 24 Oct 2007 12:59:28 +0000 (15:59 +0300)]
Regenerate translations

17 years agoFix a format specification error in the Catalan translation
Panu Matilainen [Wed, 24 Oct 2007 12:58:19 +0000 (15:58 +0300)]
Fix a format specification error in the Catalan translation

17 years agoAdd Catalan translation (rhbz#350401)
Panu Matilainen [Wed, 24 Oct 2007 12:56:48 +0000 (15:56 +0300)]
Add Catalan translation (rhbz#350401)
From Xavier Conde & others

17 years agoUse NEVRA, not NEVR everywhere for rpmProblems
Panu Matilainen [Wed, 24 Oct 2007 07:31:42 +0000 (10:31 +0300)]
Use NEVRA, not NEVR everywhere for rpmProblems

17 years agoRemove dead code
Panu Matilainen [Wed, 24 Oct 2007 06:48:02 +0000 (09:48 +0300)]
Remove dead code

17 years agoDon't mess up problem pkgNEVR in python ts.check() (rhbz#349091)
Panu Matilainen [Wed, 24 Oct 2007 06:47:22 +0000 (09:47 +0300)]
Don't mess up problem pkgNEVR in python ts.check() (rhbz#349091)

17 years agoRemove AC_CHECK_FUNC(fchmod).
Ralf Corsépius [Wed, 24 Oct 2007 01:11:19 +0000 (03:11 +0200)]
Remove AC_CHECK_FUNC(fchmod).

17 years agoRemove dead and unused, ifdef'ed HAVE_FCHMOD block of code.
Ralf Corsépius [Wed, 24 Oct 2007 01:10:57 +0000 (03:10 +0200)]
Remove dead and unused, ifdef'ed HAVE_FCHMOD block of code.

17 years agodoScript: Change 'what' to rpmBuildFlags.
Ralf Corsépius [Wed, 24 Oct 2007 01:04:01 +0000 (03:04 +0200)]
doScript: Change 'what' to rpmBuildFlags.

17 years agoPass -1 to setVarDefault for optflags.
Ralf Corsépius [Tue, 23 Oct 2007 11:21:52 +0000 (13:21 +0200)]
Pass -1 to setVarDefault for optflags.

17 years agoEliminate dead code in setPathDefault, setVarDefault.
Ralf Corsépius [Tue, 23 Oct 2007 11:20:19 +0000 (13:20 +0200)]
Eliminate dead code in setPathDefault, setVarDefault.

17 years agoRemove unused python header stubs
Panu Matilainen [Tue, 23 Oct 2007 08:04:31 +0000 (11:04 +0300)]
Remove unused python header stubs

17 years agoOne more useless rpmio_internal include removal
Panu Matilainen [Tue, 23 Oct 2007 08:03:52 +0000 (11:03 +0300)]
One more useless rpmio_internal include removal

17 years agoRemove bunch of unnecessary rpmio_internal & related includes from python
Panu Matilainen [Tue, 23 Oct 2007 06:50:23 +0000 (09:50 +0300)]
Remove bunch of unnecessary rpmio_internal & related includes from python

17 years agoRemove bunch of unnecessary rpmio_internal includes
Panu Matilainen [Mon, 22 Oct 2007 13:51:41 +0000 (16:51 +0300)]
Remove bunch of unnecessary rpmio_internal includes

17 years agoRemove ancient test-stuff
Panu Matilainen [Mon, 22 Oct 2007 13:32:58 +0000 (16:32 +0300)]
Remove ancient test-stuff

17 years agoFix rpmts.h internal includes instead of working around in rpminstall.c
Panu Matilainen [Mon, 22 Oct 2007 12:51:04 +0000 (15:51 +0300)]
Fix rpmts.h internal includes instead of working around in rpminstall.c

17 years agoUse rpmtsGet/SetDBMode() to eliminate needs for _RPMTS_INTERNAL
Panu Matilainen [Mon, 22 Oct 2007 10:37:02 +0000 (13:37 +0300)]
Use rpmtsGet/SetDBMode() to eliminate needs for _RPMTS_INTERNAL

17 years agoAdd set + get methods from ts dbmode
Panu Matilainen [Mon, 22 Oct 2007 10:33:53 +0000 (13:33 +0300)]
Add set + get methods from ts dbmode

17 years agoReflect changes to doxygen docs.
Ralf Corsépius [Fri, 19 Oct 2007 15:22:08 +0000 (17:22 +0200)]
Reflect changes to doxygen docs.

17 years agoAdd Doxyheader.
Ralf Corsépius [Fri, 19 Oct 2007 15:21:36 +0000 (17:21 +0200)]
Add Doxyheader.

17 years agoNew (copied from Doxyheader).
Ralf Corsépius [Fri, 19 Oct 2007 15:21:08 +0000 (17:21 +0200)]
New (copied from Doxyheader).

17 years agoNew (renamed from Doxyfile.in).
Ralf Corsépius [Fri, 19 Oct 2007 15:20:09 +0000 (17:20 +0200)]
New (renamed from Doxyfile.in).

17 years agoRemove.
Ralf Corsépius [Fri, 19 Oct 2007 15:19:20 +0000 (17:19 +0200)]
Remove.

17 years agoRemove.
Ralf Corsépius [Fri, 19 Oct 2007 15:19:05 +0000 (17:19 +0200)]
Remove.

17 years agoRename rpmpsProblem() -> rpmpsGetProblem() to make purpose clearer
Panu Matilainen [Fri, 19 Oct 2007 10:25:08 +0000 (13:25 +0300)]
Rename rpmpsProblem() -> rpmpsGetProblem() to make purpose clearer

17 years agoMake rpmProblem standalone "object"
Panu Matilainen [Fri, 19 Oct 2007 10:01:58 +0000 (13:01 +0300)]
Make rpmProblem standalone "object"
- problem set contains array of pointers to problems, not problems themselves
- add functions for creating and destroying problems
- use iterators for freeing the problems in rpmpsFree()
- new rpmpsAppendProblem() API for appending existing problem item to
  problem set
- implement rpmpsAppend using the new methods

17 years agoEliminate rpmps and rpmProblem structure details from the API
Panu Matilainen [Fri, 19 Oct 2007 09:30:26 +0000 (12:30 +0300)]
Eliminate rpmps and rpmProblem structure details from the API

17 years agoUse rpmProblem access methods instead of direct access to the struct
Panu Matilainen [Fri, 19 Oct 2007 09:28:30 +0000 (12:28 +0300)]
Use rpmProblem access methods instead of direct access to the struct

17 years agoAdd methods for accessing rpmProblem data
Panu Matilainen [Fri, 19 Oct 2007 09:27:41 +0000 (12:27 +0300)]
Add methods for accessing rpmProblem data

17 years agoOnly permit appending to a problem set from python
Panu Matilainen [Fri, 19 Oct 2007 09:15:35 +0000 (12:15 +0300)]
Only permit appending to a problem set from python
- remove subscript assignment (which mucks about rpmps internals way
  too deeply)
- add append() method instead

17 years agoUse iterators for rpmpsPrint()
Panu Matilainen [Thu, 18 Oct 2007 13:09:05 +0000 (16:09 +0300)]
Use iterators for rpmpsPrint()

17 years agoImplement python rpmps iteration with rpmlib level iterator
Panu Matilainen [Fri, 19 Oct 2007 09:36:11 +0000 (12:36 +0300)]
Implement python rpmps iteration with rpmlib level iterator

17 years agoConvert rpmts-py to use rpmps iterator
Panu Matilainen [Fri, 19 Oct 2007 09:35:20 +0000 (12:35 +0300)]
Convert rpmts-py to use rpmps iterator

17 years agoMake verifyDependencies() use rpmps iterator interface
Panu Matilainen [Thu, 18 Oct 2007 10:46:59 +0000 (13:46 +0300)]
Make verifyDependencies() use rpmps iterator interface
- use stock problem string for problem descriptions instead of handcrafted
  messages, changes output format quite a bit but OTOH reports conflicts
  and requires separately and more clearly
- should perhaps filter out duplicates, otoh the old code didn't either...
- return number of problems encountered instead of 0 vs 1

17 years agoAdd API for iterating over rpmps problems
Panu Matilainen [Thu, 18 Oct 2007 10:45:25 +0000 (13:45 +0300)]
Add API for iterating over rpmps problems

17 years agoShip Doxyfile.in, doc/librpm.doxy.in.
Ralf Corsépius [Fri, 19 Oct 2007 05:04:15 +0000 (07:04 +0200)]
Ship Doxyfile.in, doc/librpm.doxy.in.

17 years agoRegenerate.
Ralf Corsépius [Fri, 19 Oct 2007 05:03:23 +0000 (07:03 +0200)]
Regenerate.

17 years agoReflect changes to apidocs generation.
Ralf Corsépius [Thu, 18 Oct 2007 16:13:02 +0000 (18:13 +0200)]
Reflect changes to apidocs generation.

17 years agoEliminate @WITH_APIDOCS_TARGET@.
Ralf Corsépius [Thu, 18 Oct 2007 16:12:29 +0000 (18:12 +0200)]
Eliminate @WITH_APIDOCS_TARGET@.
Add EXCLUDE.

17 years agoRemove WITH_APIDOCS, WITH_APIDOCS_TARGET.
Ralf Corsépius [Thu, 18 Oct 2007 14:04:00 +0000 (16:04 +0200)]
Remove WITH_APIDOCS, WITH_APIDOCS_TARGET.
Add AM_CONDITIONALS DOXYGEN and APIDOCS. Don't generate Doxyfile.

17 years agoAdd stub doxygen @param to silence doxygen.
Ralf Corsépius [Thu, 18 Oct 2007 14:02:14 +0000 (16:02 +0200)]
Add stub doxygen @param to silence doxygen.

17 years agoRemove doc/librpm during maintainer-clean.
Ralf Corsépius [Thu, 18 Oct 2007 07:51:32 +0000 (09:51 +0200)]
Remove doc/librpm during maintainer-clean.

17 years agoUse DOXYGEN instead of __DOXYGEN.
Ralf Corsépius [Thu, 18 Oct 2007 07:04:17 +0000 (09:04 +0200)]
Use DOXYGEN instead of __DOXYGEN.
Rework processing pkginclude_HEADERS for doc/librpm.doxy.

17 years agoUse DOXYGEN instead of __DOXYGEN.
Ralf Corsépius [Thu, 18 Oct 2007 07:03:42 +0000 (09:03 +0200)]
Use DOXYGEN instead of __DOXYGEN.

17 years agoUse DOXYGEN instead of __DOXYGEN.
Ralf Corsépius [Thu, 18 Oct 2007 06:41:31 +0000 (08:41 +0200)]
Use DOXYGEN instead of __DOXYGEN.

17 years agoUse DOXYGEN instead of __DOXYGEN.
Ralf Corsépius [Thu, 18 Oct 2007 06:36:00 +0000 (08:36 +0200)]
Use DOXYGEN instead of __DOXYGEN.
Rework processing pkginclude_HEADERS for doc/librpm.doxy.

17 years agodebugedit mishandles empty DW_AT_comp_dir (Roland McGrath)
Panu Matilainen [Thu, 18 Oct 2007 06:34:54 +0000 (09:34 +0300)]
debugedit mishandles empty DW_AT_comp_dir (Roland McGrath)
- fpc seems to produce DW_AT_comp_dir with value "" (empty string).
  This is dubious, but debugedit makes it even worse by getting confused by it.

17 years agoUse DOXYGEN instead of __DOXYGEN.
Ralf Corsépius [Thu, 18 Oct 2007 06:34:37 +0000 (08:34 +0200)]
Use DOXYGEN instead of __DOXYGEN.

17 years agodebugedit mishandles DW_FORM_ref_addr (Roland McGrath)
Panu Matilainen [Thu, 18 Oct 2007 06:33:56 +0000 (09:33 +0300)]
debugedit mishandles DW_FORM_ref_addr (Roland McGrath)

17 years agoAdd automake option nostdinc.
Ralf Corsépius [Wed, 17 Oct 2007 14:42:21 +0000 (16:42 +0200)]
Add automake option nostdinc.

17 years agoCleanup CPPFLAGS.
Ralf Corsépius [Wed, 17 Oct 2007 14:41:59 +0000 (16:41 +0200)]
Cleanup CPPFLAGS.

17 years agoAdd find-provides, find-requires, db.h to DISTCLEANFILES.
Ralf Corsépius [Wed, 17 Oct 2007 13:38:33 +0000 (15:38 +0200)]
Add find-provides, find-requires, db.h to DISTCLEANFILES.

17 years agoMove db.h handling to toplevel Makefile.am
Ralf Corsépius [Wed, 17 Oct 2007 13:23:15 +0000 (15:23 +0200)]
Move db.h handling to toplevel Makefile.am

17 years agoExpand AM_CPPFLAGS.
Ralf Corsépius [Wed, 17 Oct 2007 13:08:01 +0000 (15:08 +0200)]
Expand AM_CPPFLAGS.

17 years agoMore reversions.
Ralf Corsépius [Wed, 17 Oct 2007 13:07:13 +0000 (15:07 +0200)]
More reversions.

17 years agoAdd preliminary support for doc/librpm.
Ralf Corsépius [Wed, 17 Oct 2007 12:36:47 +0000 (14:36 +0200)]
Add preliminary support for doc/librpm.

17 years ago#include <db.h>
Ralf Corsépius [Wed, 17 Oct 2007 12:35:54 +0000 (14:35 +0200)]
#include <db.h>

17 years agoAdd tput.
Ralf Corsépius [Wed, 17 Oct 2007 12:31:06 +0000 (14:31 +0200)]
Add tput.

17 years agoUse HAVE_DB_H for both internal and external BDB
Panu Matilainen [Wed, 17 Oct 2007 11:55:41 +0000 (14:55 +0300)]
Use HAVE_DB_H for both internal and external BDB
- rpmdb only cares whether we have BDB or no, internal vs external
  doesn't matter
- makes external BDB actually work

17 years agoRevert yesterday's patch (we're not ready for it).
Ralf Corsépius [Wed, 17 Oct 2007 10:13:14 +0000 (12:13 +0200)]
Revert yesterday's patch (we're not ready for it).

17 years agoSet GENERATE_MAN=NO.
Ralf Corsépius [Wed, 17 Oct 2007 09:33:52 +0000 (11:33 +0200)]
Set GENERATE_MAN=NO.

17 years agoNew.
Ralf Corsépius [Wed, 17 Oct 2007 09:30:59 +0000 (11:30 +0200)]
New.

17 years agoRemove refs to emacs.
Ralf Corsépius [Wed, 17 Oct 2007 06:41:53 +0000 (08:41 +0200)]
Remove refs to emacs.

17 years agoMove tdbi, tjfn, tsql to toplevel Makefile.am.
Ralf Corsépius [Tue, 16 Oct 2007 16:32:24 +0000 (18:32 +0200)]
Move tdbi, tjfn, tsql to toplevel Makefile.am.

17 years agoMove ACLOCAL_AMFLAGS to the top.
Ralf Corsépius [Tue, 16 Oct 2007 16:22:23 +0000 (18:22 +0200)]
Move ACLOCAL_AMFLAGS to the top.

17 years agoUse \$(SED) instead of hard-coded sed.
Ralf Corsépius [Tue, 16 Oct 2007 16:21:27 +0000 (18:21 +0200)]
Use \$(SED) instead of hard-coded sed.

17 years agoFix broken doxygen comment.
Ralf Corsépius [Tue, 16 Oct 2007 12:25:04 +0000 (14:25 +0200)]
Fix broken doxygen comment.

17 years agoDon't unnecessarily include stdio.h
Ralf Corsépius [Tue, 16 Oct 2007 12:24:38 +0000 (14:24 +0200)]
Don't unnecessarily include stdio.h

17 years agoRemove unimplemented, unused RPMPROB_BADPRETRANS
Panu Matilainen [Tue, 16 Oct 2007 10:40:45 +0000 (13:40 +0300)]
Remove unimplemented, unused RPMPROB_BADPRETRANS
- leftover from pretrans syscall hack before %pretrans script days

17 years agos/dbiflags/flags/ in doxygen comment.
Ralf Corsépius [Tue, 16 Oct 2007 10:28:09 +0000 (12:28 +0200)]
s/dbiflags/flags/ in doxygen comment.

17 years agoDon't include stdio.h.
Ralf Corsépius [Tue, 16 Oct 2007 10:26:42 +0000 (12:26 +0200)]
Don't include stdio.h.

17 years agoRename norwegian translation no -> nb (rhbz#332271)
Panu Matilainen [Tue, 16 Oct 2007 08:51:57 +0000 (11:51 +0300)]
Rename norwegian translation no -> nb (rhbz#332271)

17 years agoAdd usrsrcdir.
Ralf Corsépius [Mon, 15 Oct 2007 08:40:52 +0000 (10:40 +0200)]
Add usrsrcdir.
Reflect using $(usrsrcdir)/packages instead of $(usrsrcdir)/$(RPMCANONICALVENDOR).

17 years agoRegenerate.
Ralf Corsépius [Mon, 15 Oct 2007 08:03:16 +0000 (10:03 +0200)]
Regenerate.

17 years agomatch *.omf, not *omf in find-lang (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:49:18 +0000 (12:49 +0300)]
match *.omf, not *omf in find-lang (Ville Skyttä)

17 years agofind-lang Qt translation support (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:48:32 +0000 (12:48 +0300)]
find-lang Qt translation support (Ville Skyttä)

17 years agofind-lang localized man page support (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:42:47 +0000 (12:42 +0300)]
find-lang localized man page support (Ville Skyttä)

17 years agofind-lang POSIX-compliant find(1) usage (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:31:24 +0000 (12:31 +0300)]
find-lang POSIX-compliant find(1) usage (Ville Skyttä)

17 years agofind-lang spelling fixes (Ville Skyttä)
Panu Matilainen [Sun, 14 Oct 2007 09:30:31 +0000 (12:30 +0300)]
find-lang spelling fixes (Ville Skyttä)

17 years agoClarify rpm manpage wrt rpmbuild binary vs package (rhbz#233232)
Panu Matilainen [Thu, 11 Oct 2007 11:14:00 +0000 (14:14 +0300)]
Clarify rpm manpage wrt rpmbuild binary vs package (rhbz#233232)

17 years agoClarify rpmtsCheck() documentation (rhbz#159638)
Panu Matilainen [Thu, 11 Oct 2007 10:50:05 +0000 (13:50 +0300)]
Clarify rpmtsCheck() documentation (rhbz#159638)

17 years agoMake default _topdir vendor agnostic
Panu Matilainen [Thu, 11 Oct 2007 08:17:48 +0000 (11:17 +0300)]
Make default _topdir vendor agnostic
- follow Suse behavior by using /usr/src/packages instead of /usr/src/redhat
- the default should probably be %(echo $HOME)/rpmbuild instead for
  sane non-root behavior, revisit this later...

17 years agoheader_method.h is now private
Panu Matilainen [Wed, 10 Oct 2007 11:37:18 +0000 (14:37 +0300)]
header_method.h is now private

17 years agoRemove now unneeded hdrinline
Panu Matilainen [Wed, 10 Oct 2007 11:36:13 +0000 (14:36 +0300)]
Remove now unneeded hdrinline

17 years agoUn-inline common header access functions
Panu Matilainen [Wed, 10 Oct 2007 11:35:14 +0000 (14:35 +0300)]
Un-inline common header access functions
- implementations in new header_common.c
- definitions in main header.h

17 years agoMove per-header method typedefs etc out of main header.h
Panu Matilainen [Wed, 10 Oct 2007 11:25:29 +0000 (14:25 +0300)]
Move per-header method typedefs etc out of main header.h
- new header_method.h include

17 years agopkgconfig dependency script fixes
Panu Matilainen [Wed, 10 Oct 2007 08:30:37 +0000 (11:30 +0300)]
pkgconfig dependency script fixes
- don't make assumptions about package names, requires pkg-config executable
  path instead
- always create pkg-config dependency if *.pc files are included, not just
  in case the *.pc file requires other pkg-config modules

17 years agoMove pkginc_HEADERS to toplevel Makefile.am
Ralf Corsépius [Wed, 10 Oct 2007 08:08:26 +0000 (10:08 +0200)]
Move pkginc_HEADERS to toplevel Makefile.am

17 years agoRecursively pick up files.
Ralf Corsépius [Wed, 10 Oct 2007 07:54:39 +0000 (09:54 +0200)]
Recursively pick up files.

17 years agoAdd support for lzma compressed "Sources".
Ralf Corsépius [Wed, 10 Oct 2007 06:39:01 +0000 (08:39 +0200)]
Add support for lzma compressed "Sources".

17 years agoKick out polish comment.
Ralf Corsépius [Wed, 10 Oct 2007 06:37:35 +0000 (08:37 +0200)]
Kick out polish comment.

17 years agoInstall libtooldeps.sh and pkgconfigdeps.sh (Used by lib/rpm/macros).
Ralf Corsépius [Wed, 10 Oct 2007 05:14:47 +0000 (07:14 +0200)]
Install libtooldeps.sh and pkgconfigdeps.sh (Used by lib/rpm/macros).

17 years agoPermit src.rpm installation to be interrupted
Panu Matilainen [Tue, 9 Oct 2007 12:47:15 +0000 (15:47 +0300)]
Permit src.rpm installation to be interrupted

17 years agoMake rpmerr.h private, include directly where needed.
Panu Matilainen [Tue, 9 Oct 2007 12:33:49 +0000 (15:33 +0300)]
Make rpmerr.h private, include directly where needed.