summaryrefslogtreecommitdiff
path: root/build/rpmfc.h
AgeCommit message (Collapse)AuthorFilesLines
2013-02-02Find supplementsAnas Nashif1-0/+7
2010-12-01Remember buildroot directory in rpmfc structPanu Matilainen1-0/+11
- New constructor rpmfcCreate() which takes buildroot as an argument, and "flags" argument for future use. Calculate brlen at initialization now that we can. - Preserve rpmfcNew() as a compatibility wrapper as it's something somebody could, in theory, have used legitimately.
2010-10-26Make rpmfcExec() internalPanu Matilainen1-11/+0
- Nobody in their right mind is likely to be calling what's really an internal helper function in the build code. Simply missed in the first round of librpmbuild API butchery. - This eliminates the last remaining exposure of StringBuf in the API
2010-10-01rpmfcGenerateDepends() is internal, move away from public headerPanu Matilainen1-8/+0
2010-09-21Stop abusing enum typedefs for bitfield typesPanu Matilainen1-1/+1
- Enums are fine for defining the bitfield flags, but the bitfield itself is not an enumeration. Add a separate typedef on "rpmFlags" type (presenting a bitfield of flags) for all of these. Compilers hardly care, but the typedefs give a nice visual clue for us humans using these flags far away from ho^H^H definitions.
2010-02-17Use text token attributes instead of bitfield for file classificationPanu Matilainen1-41/+0
- 32 bits are nowhere near enough to meaningfully classify all the types of data we might want to extract dependencies for, the bitfield was already almost used up and twisty with embedded enumeration in the middle etc. With text-based tokens, there are no limits to the total number of known attributes or number of attributes that can be attached to a given file. This also paves way to moving the classification table out of librpmbuild into configuration file(s). - Remove most of the now unused RPMFC_FOO definitions from the FCOLOR enum, leaving just the more abstract INCLUDE, WHITE etc which control other aspects of the operation. Also ELF is special as the value ends up in headers, preserve it too.
2009-12-08Avoid exposing libmagic dependency in public headersPanu Matilainen1-2/+0
2009-10-06Teach the internal dep generator about OCamlPanu Matilainen1-1/+2
- OCaml seems to have fairly well detectable magic in its files, nice - Dont call the regular find-requires from the scripts now that internal is working
2008-04-07ARGV_t const pendantryPanu Matilainen1-1/+1
- const on typedef'ed ARGV_t doesn't mean a thing, add a new, (exec* compatible) ARGV_const_t and use where appropriate consistently in argv.h, rpmcli.h etc - popt's argv const is the wrong way around for exec() family, add explicit ARGV_t casts on popGetArgs() uses where needed - compiler silence, aaahh...
2008-03-06Make rpmfc token and apply tables readonlyPanu Matilainen1-1/+1
2008-02-05rpm5.org: free 5 bits for rpmfc coloring expansionPanu Matilainen1-18/+26
- also fixes an overlap between RPMFC_LIBTOOL and RPMFC_MONO which we had and were out of bits already
2008-02-05Add rpm_mode_t type, use where spottedPanu Matilainen1-1/+1
- bring the types under some sort of control, previously mixture of int16_t, uint16_t and unsigned short was used..
2008-01-30Remove bunch of unnecessary rpmlib.h includesPanu Matilainen1-1/+1
- replace with rpmtypes.h where needed
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-4/+4
- adjust include paths accordingly
2007-12-07Yet more rpmbuild fixups from rpmerr.h removal (partly from rpm5.org)Panu Matilainen1-6/+6
- additionally use rpmRC return types instead of numbers where appropriate
2007-11-23Add doxygen group for rpmfc, include in librpm + hacking docsPanu Matilainen1-13/+20
2007-11-23Move stringbuf into librpmio, rename headerPanu Matilainen1-1/+1
- rename header to more generic rpmstring.h for collecting misc string helper functions
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-4/+4
2007-11-02Eliminate rpmfcToken struct internals from the APIPanu Matilainen1-7/+0
2007-10-08Make headers self-contained.Ralf Corsépius1-0/+5
2007-10-08'Adjust extern C {} blocks.'Ralf Corsépius1-4/+4
2007-10-08'Include <magic.h> instead of magic.h'Ralf Corsépius1-1/+1
2007-09-25Hide rpmfc structure internals from the APIPanu Matilainen1-30/+14
2007-09-21Rename Spec -> rpmSpec for namespacingPanu Matilainen1-1/+1
2007-09-11Remove splint tags.Ralf Corsépius1-44/+10
2007-09-03Remove FILE_RCSID.Ralf Corsépius1-1/+0
2007-07-31Extract pkgconfig and libtool dependencies automatically.Panu Matilainen1-0/+2
Ported from rpm5.org work of Jeff Johnson.
2007-05-10Add mono req/provides supportPaul Nasrat1-0/+1
Alexander Larsson alexl@redhat.com
2005-03-19Handle %dev markers more gracefully.jbj1-1/+2
CVS patchset: 7826 CVS date: 2005/03/19 20:07:12
2005-02-14- don't build with sqlite3 if <sqlite3.h> is missing.rpm-4.4.1-releasejbj1-0/+1
CVS patchset: 7764 CVS date: 2005/02/14 01:34:12
2004-10-21- port to internal file-4.10 libmagic rather than libfmagic.jbj1-4/+5
CVS patchset: 7500 CVS date: 2004/10/21 18:40:56
2003-05-08- don't use error string after gzclose (Dmitry V. Levin).jbj1-2/+2
Spliddles for rpmio, drill h_errno all the way through. CVS patchset: 6826 CVS date: 2003/05/08 20:39:29
2002-12-28splint fiddles.jbj1-1/+2
CVS patchset: 5980 CVS date: 2002/12/28 23:17:06
2002-12-27- disable perl module magic rule.jbj1-0/+1
CVS patchset: 5976 CVS date: 2002/12/27 18:01:00
2002-12-24Rescusitate doxygen file manifest.jbj1-1/+13
CVS patchset: 5968 CVS date: 2002/12/24 17:06:35
2002-12-21splint fiddles.jbj1-0/+2
CVS patchset: 5956 CVS date: 2002/12/21 01:31:24
2002-12-12- fix: add rpmlib(VersionedDependencies) if versioned Provides: found.jbj1-2/+3
CVS patchset: 5937 CVS date: 2002/12/12 19:16:45
2002-12-07Insturment auto request/provide disabling.jbj1-0/+2
CVS patchset: 5921 CVS date: 2002/12/07 22:29:21
2002-12-07Splint fiddles.jbj1-1/+15
CVS patchset: 5920 CVS date: 2002/12/07 21:27:09
2002-12-07Handle (N,EVR,Flags) Provide:/Require: triple.jbj1-2/+2
CVS patchset: 5918 CVS date: 2002/12/07 05:48:45
2002-12-03- internal automagic dependency generation (disabled for now).jbj1-1/+30
CVS patchset: 5913 CVS date: 2002/12/03 02:57:02
2002-11-30Splint fiddles.jbj1-2/+5
CVS patchset: 5907 CVS date: 2002/11/30 21:42:24
2002-11-26- bundle libfmagic into librpmbuild for now.jbj1-0/+4
CVS patchset: 5881 CVS date: 2002/11/26 22:44:47
2002-11-05Remove multilib patch.jbj1-3/+5
splint fiddles. CVS patchset: 5825 CVS date: 2002/11/05 22:45:02
2002-10-21Add per-interpreter perl dependencies.jbj1-0/+13
CVS patchset: 5792 CVS date: 2002/10/21 19:29:23
2002-10-19Functional ELF/SCRIPT dependency generation.jbj1-9/+31
CVS patchset: 5790 CVS date: 2002/10/19 22:48:25
2002-10-15Replace libelf with elfutils.jbj1-28/+28
CVS patchset: 5778 CVS date: 2002/10/15 18:44:16
2002-10-14Classify images.jbj1-5/+8
CVS patchset: 5774 CVS date: 2002/10/14 18:48:01
2002-10-14Spin mostly complete file classifier off to rpmfc.[ch].jbj1-0/+86
CVS patchset: 5773 CVS date: 2002/10/14 14:52:45