tools/librpm-tizen.git
16 years agoRemove dead code
Panu Matilainen [Wed, 24 Oct 2007 06:48:02 +0000 (09:48 +0300)]
Remove dead code

16 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)

16 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).

16 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.

16 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.

16 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.

16 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.

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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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.

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

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

16 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).

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

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

16 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

16 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

16 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

16 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

16 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

16 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

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

16 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

16 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

16 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

16 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

16 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.

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

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

16 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)

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

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

16 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.

16 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

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

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

16 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.

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

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

16 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

16 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).

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

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

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

16 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.

16 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.

16 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.

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

16 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

16 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

16 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.

16 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.

16 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)

16 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).

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

16 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ä)

16 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ä)

16 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ä)

16 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ä)

16 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ä)

16 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)

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

16 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...

16 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

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

16 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

16 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

16 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

16 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

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

16 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".

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

16 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).

16 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

16 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.

16 years agoLet tufdio use rpmio_internal.. its for internal testing only anyway
Panu Matilainen [Tue, 9 Oct 2007 12:07:08 +0000 (15:07 +0300)]
Let tufdio use rpmio_internal.. its for internal testing only anyway

16 years agoOops, one missed rpmError() user..
Panu Matilainen [Tue, 9 Oct 2007 12:06:39 +0000 (15:06 +0300)]
Oops, one missed rpmError() user..

16 years agoRemove rpmError() and rpmMessage() retrofitting
Panu Matilainen [Tue, 9 Oct 2007 12:02:57 +0000 (15:02 +0300)]
Remove rpmError() and rpmMessage() retrofitting

16 years agoMore RPMMESS -> RPMLOG verbosity fixes
Panu Matilainen [Tue, 9 Oct 2007 12:01:52 +0000 (15:01 +0300)]
More RPMMESS -> RPMLOG verbosity fixes

16 years agoUse RPMLOG_ levels instead of RPMMESS for verbosity setting
Panu Matilainen [Tue, 9 Oct 2007 11:58:13 +0000 (14:58 +0300)]
Use RPMLOG_ levels instead of RPMMESS for verbosity setting

16 years agoReplace all uses of RPMMESS_FATALERROR with RPMLOG_CRIT
Panu Matilainen [Tue, 9 Oct 2007 11:54:28 +0000 (14:54 +0300)]
Replace all uses of RPMMESS_FATALERROR with RPMLOG_CRIT

16 years agoReplace all uses of RPMMESS_VERBOSE with RPMLOG_INFO
Panu Matilainen [Tue, 9 Oct 2007 11:53:09 +0000 (14:53 +0300)]
Replace all uses of RPMMESS_VERBOSE with RPMLOG_INFO

16 years agoReplace all uses of RPMMESS_WARNING with RPMLOG_WARNING
Panu Matilainen [Tue, 9 Oct 2007 11:52:01 +0000 (14:52 +0300)]
Replace all uses of RPMMESS_WARNING with RPMLOG_WARNING

16 years agoReplace all uses of RPMMESS_NORMAL with RPMLOG_NOTICE
Panu Matilainen [Tue, 9 Oct 2007 11:50:42 +0000 (14:50 +0300)]
Replace all uses of RPMMESS_NORMAL with RPMLOG_NOTICE