Re: Embedded python fix

2013-09-13 Thread Per Øyvind Karlsen
2013/8/9 Jeffrey Johnson n3...@me.com On Aug 8, 2013, at 9:29 PM, Per Øyvind Karlsen wrote: 2013/8/8 Per Øyvind Karlsen pkarl...@rpm5.org The following patch fixes the syntax of the python initialization code that resulted in neither the output redirection working nor the rpm python

Re: Fix neon saving error pages as target file

2013-09-12 Thread Per Øyvind Karlsen
2013/8/29 Jeffrey Johnson n3...@me.com On Aug 29, 2013, at 4:13 PM, Matthew Dawkins wrote: Idk if this an official item on the ROADMAP, but having support for 30+ diff redirects in RPMIO would be a nice feature, useful to us hobbyists. Especial redirects from sourceforge or googlecode.

Re: Set proper file color for scripts using env in shellbang

2013-09-12 Thread Per Øyvind Karlsen
2013/8/27 Jeffrey Johnson n3...@me.com On Aug 26, 2013, at 4:21 PM, Per Øyvind Karlsen wrote: I'm almost done with the first round of pushing (mainly ~pure) bug fix(/more trivial) patches for now.. This has _NOTHING to do with file colors (because its a script). Only elf executables

Re: Don't generate php dependencies on only executable php scripts

2013-09-12 Thread Per Øyvind Karlsen
2013/8/27 Jeffrey Johnson n3...@me.com On Aug 26, 2013, at 4:13 PM, Per Øyvind Karlsen wrote: Subject says it all.. Um no. I can't tell whether you have sent a reversed patch or are attempting a change in behavior. RPM SHOULD extract dependencies only from executable files

Re: Fix rpm -qa \*foo\*

2013-09-12 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson n3...@me.com On Aug 26, 2013, at 2:51 PM, Per Øyvind Karlsen wrote: 2013/8/26 Jeffrey Johnson n3...@me.com On Aug 26, 2013, at 2:19 PM, Per Øyvind Karlsen wrote: The following patch fixes querying rpmdb with wildcards, whereas without this fix, it'll return

Fix perl bindings breakage over xmalloc() use

2013-09-12 Thread Per Øyvind Karlsen
Seems like xmalloc() is no longer exported by the rpm libraries, leading to situations like this with the perl bindings that uses it a couple of places: t/01.rpm.t .. 1/12 # Failed test 'use RPM;' # at t/01.rpm.t line 7. # Tried to use 'RPM'. # Error: Can't load

Patch: Add %_specfile macro

2013-08-26 Thread Per Øyvind Karlsen
This one has been commited by devzero2000 (IIRC) on HEAD branch, but not in rpm-5_4. It simply adds a %_specfile macro to get the file name of the spec file parsed. -- Regards, Per Øyvind rpm-5.4.4-add-_specfile-macro.patch Description: Binary data

Fix rpm -qa \*foo\*

2013-08-26 Thread Per Øyvind Karlsen
The following patch fixes querying rpmdb with wildcards, whereas without this fix, it'll return all entries and not just those matching. -- Regards, Per Øyvind rpm-5.4.9-fix-rpm_qa-pattern.patch Description: Binary data

Support for terminate build on duplicate files

2013-08-26 Thread Per Øyvind Karlsen
This patch enables termination of build on duplicate files by setting %_duplicate_files_terminate_build . -- Regards, Per Øyvind rpm-5.4.10-duplicate_files_terminate_build.patch Description: Binary data

Don't display suggests with --requires

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes so that soft dependencies won't be displayed with 'rpm -q --requires', only with 'rpm -q --suggests' -- Regards, Per Øyvind rpm-5.4.8-dont-show-suggests-with-requires.patch Description: Binary data

Silence excessive output from eu-strip

2013-08-26 Thread Per Øyvind Karlsen
This patch silences excessive output from eu-strip during find-debuginfo.sh usage. -- Regards, Per Øyvind rpm-5.4.4-find-debuginfo-avoid-excessive-output-from-eu-strip.patch Description: Binary data

Some ruby 1.9 fixes

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes compatibility with ruby 1.9. -- Regards, Per Øyvind rpm-5.4.9-ruby1.9-fixes.patch Description: Binary data

Don't include buildroot in list of duplicate files printed

2013-08-26 Thread Per Øyvind Karlsen
This patch will strip away the buildroot prefix for duplicate files listed, providing greater consistency with behaviour otherwise. -- Regards, Per Øyvind rpm-5.4.9-strip-buildroot-away-from-duplicate-files-list.patch Description: Binary data

Fix incorrect sizeof usage to get string length

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes an incorrect attempt to get the string length with sizeof on a string allocated on the heap. -- Regards, Per Øyvind rpm-5.4.12-rpmfc-use-strlen-not-sizeof.patch Description: Binary data

Support terminate build on files listed twice.

2013-08-26 Thread Per Øyvind Karlsen
This patch adds support for termination builds with files listed twice by setting %_files_listed_twice_terminate_build -- Regards, Per Øyvind rpm-5.4.10-files-listed-twice-terminates-build.patch Description: Binary data

Only generate ruby and python deps for executables and modules

2013-08-26 Thread Per Øyvind Karlsen
This patch will make the dependency generator only generate ruby and python dependencies for executable and modules, this way preventing dependencies being generated for such as ie. private python files shipped with some package at some non-standard location, not meant to be available/exported for

Re: Fix rpm -qa \*foo\*

2013-08-26 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson n3...@me.com On Aug 26, 2013, at 2:19 PM, Per Øyvind Karlsen wrote: The following patch fixes querying rpmdb with wildcards, whereas without this fix, it'll return all entries and not just those matching. The issue of wildcard queries is/was discussed years ago

Change default package suffix for debug packages to -debuginfo

2013-08-26 Thread Per Øyvind Karlsen
As -debuginfo is the most commonly used suffix for debug packages, there's also code with special behaviour for naming convention (see lib/dependens.c where '-debuginfo' rather than '-debug' is used, not to forget other software such as ie. gdb etc. also that expects this), this patch changes the

Re: Don't display suggests with --requires

2013-08-26 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson n3...@me.com On Aug 26, 2013, at 2:21 PM, Per Øyvind Karlsen wrote: This patch fixes so that soft dependencies won't be displayed with 'rpm -q --requires', only with 'rpm -q --suggests' This patch can be done (by masking RPMSENSE_MISSINGOK using awk) without

Make sure hdrfmt argv element is initialized

2013-08-26 Thread Per Øyvind Karlsen
This patch should be pretty self-explaining.. :) -- Regards, Per Øyvind rpm-5.4.7-hdrfmt-fix-unitialized-argv-element.patch Description: Binary data

Re: Don't include buildroot in list of duplicate files printed

2013-08-26 Thread Per Øyvind Karlsen
2013/8/26 Jeffrey Johnson n3...@me.com On Aug 26, 2013, at 2:24 PM, Per Øyvind Karlsen wrote: This patch will strip away the buildroot prefix for duplicate files listed, providing greater consistency with behaviour otherwise. While the approach is sensible, the deeper flaw

Fix minor memlead

2013-08-26 Thread Per Øyvind Karlsen
The following patch fixes a couple of minor memleaks. -- Regards, Per Øyvind rpm-5.4.7-fix-minor-memleaks.patch Description: Binary data

Fix miRE strings lacking null terminator

2013-08-26 Thread Per Øyvind Karlsen
This patch ensures that strings has a null terminator at end, otherwise strings passed to mireRegexec might be missing it. -- Regards, Per Øyvind rpm-5.4.9-mire-fix-strings-lacking-null-terminator.patch Description: Binary data

Fix typo in rpmtag.h

2013-08-26 Thread Per Øyvind Karlsen
Requires no explanation.. -- Regards, Per Øyvind rpm-5.4.9-fix-typo-in-rpmtag-header.patch Description: Binary data

Fix a couple of debugedit memleaks

2013-08-26 Thread Per Øyvind Karlsen
Simple enough.. -- Regards. Per Øyvind rpm-5.4.10-fix-a-couple-of-debugedit-memleaks.patch Description: Binary data

Fix tagSwab handling of RPM_UINT64_TYPE

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes tagSwab() to work with RPM_UINT64_TYPE. I'm not sure why it's not using newer functions (ie. from endian(3)) with support for 64 integers rather than using two 32 bit integers, but I guess it might be related to legacy compatibility..? And if so, is it still relevant, or should

Strip newlines from mono requires

2013-08-26 Thread Per Øyvind Karlsen
This patch strips newlines for mono dependencies generated that really shouldn't be there.. ;) -- Regards. Per Øyvind rpm-5.4.7-mono-find-requires-strip-newlines.patch Description: Binary data

Fix rpm --verify segfault

2013-08-26 Thread Per Øyvind Karlsen
This fixes a segfault with --verify (IIRC on packages signed with old signature type). The bug is discussed at https://qa.mandriva.com/show_bug.cgi?id=64378 No definite consensus were ever achieved in previous discussions about the correct fix for this bug, but the patch does at least work (tm)

Don't remap i18n trings if enabled

2013-08-26 Thread Per Øyvind Karlsen
This patch disables remapping of i18n strings if support of is enabled. Considering i18n strings are getting phased out, the importance of this patch is of course rather diminishing, but at least it does fix what it's supposed to fix. :) -- Regards, Per Øyvind

Avoid double slashes in path for dirname trigger matching

2013-08-26 Thread Per Øyvind Karlsen
This patch ensures that double '/' doesn't end up in dirname paths triggers matched against. -- Regards, Per Øyvind rpm-5.4.9-avoid-double-slash-in-path-for-dirname-filetrigger-matching.patch Description: Binary data

Don't try generate rpmfc dependencies from doc files

2013-08-26 Thread Per Øyvind Karlsen
This patch prevents automatic dependencies from being generated for doc files. -- Regards, Per Øyvind rpm-5.4.12-dont-try-generate-rpmfc-dependencies-from-doc-files.patch Description: Binary data

Skip dependencies for block character devices

2013-08-26 Thread Per Øyvind Karlsen
This patch prevents dependencies being generated for block character devices. -- Regards, Per Øyvind rpm-5.4.5-skip-dependencies-for-character-devices.patch Description: Binary data

Actually link against internal lua

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes an issue with internal lua not being linked against even if enabled. -- Regards, Per Øyvind rpm-5.4.7-actually-perform-linking-against-internal-lua.patch Description: Binary data

Apply python coloring from magic

2013-08-26 Thread Per Øyvind Karlsen
Add missing string reported by libmagic on some python files. -- Regards, Per Øyvind rpm-5.4.5-rpmfc-apply-python-coloring-from-magic.patch Description: Binary data

Don't add rpmlib(VersionedDependencies) feature dependency

2013-08-26 Thread Per Øyvind Karlsen
This patch comes from some discussion of ours longlong time ago about there no longer being any need for the rpmlib(VersionedDependencies) feature dependency.. So as I understood from you it being of no use, I yanked it locally in cooker at least.. :) -- Regards, Per Øyvind

Don't generate php dependencies on only executable php scripts

2013-08-26 Thread Per Øyvind Karlsen
Subject says it all.. rpm-5.4.5-dont-generate-php-dependencies-only-when-executable.patch Description: Binary data

find-debuginfo.sh: strip reloc debug sections

2013-08-26 Thread Per Øyvind Karlsen
Here's a patch from devzero2000 that got lost on HEAD... -- Regards, Per Øyvind rpm-5.4.9-find-debuginfo-strip-reloc-debug-sections.patch Description: Binary data

Set proper file color for scripts using env in shellbang

2013-08-26 Thread Per Øyvind Karlsen
I'm almost done with the first round of pushing (mainly ~pure) bug fix(/more trivial) patches for now.. -- Regards, Per Øyvind rpm-5.4.5-set-proper-file-color-for-scripts-using-env-in-shellbang.patch Description: Binary data

Update brp-compress with support for xz/lzma compression

2013-08-26 Thread Per Øyvind Karlsen
This patch adds support for compressing man info pages with xz or lzma compression. -- Regards, Per Øyvind rpm-5.4.10-update-and-use-brp-compress.patch Description: Binary data

Fix neon saving error pages as target file

2013-08-26 Thread Per Øyvind Karlsen
This patch fixes neon saving error pages when encountered to target file. I'm not entirely sure if this is the *correct* way to fix it though, but at least it does work... ;) On a related note, is neon failing to download whenever being redirected (ie. when downloading from sourceforge.net) a

Fix variables getting overriden by /etc/os-release

2013-08-26 Thread Per Øyvind Karlsen
The follow patch fixes /etc/os-release being sourced right into same environment as the configure script runs in, meaning that any existing variables with same names as found in /etc/os-release gets overriden. This patch sources /etc/os-release and prints the $ID variable in a sub-shell in order

Debugedit busted in rpm-5.4.13

2013-08-26 Thread Per Øyvind Karlsen
The following change breaks debugedit: http://rpm5.org/cvs/chngview?cn=17180 With this patch applied, debugedit will fail in following fashion: extracting debug info from /home/peroyvind/ABF/queue/augeas/BUILDROOT/augeas-1.0.0-4-mdk2013.0.x86_64-buildroot/lib64/libaugeas.so.0.16.0 Failed to

Re: Embedded python fix

2013-08-11 Thread Per Øyvind Karlsen
2013/8/9 Jeffrey Johnson n3...@me.com On Aug 9, 2013, at 1:59 AM, Per Øyvind Karlsen wrote: 2013/8/9 Jeffrey Johnson n3...@me.com On Aug 8, 2013, at 9:29 PM, Per Øyvind Karlsen wrote: 2013/8/8 Per Øyvind Karlsen pkarl...@rpm5.org The following patch fixes the syntax of the python

Re: Embedded python fix

2013-08-11 Thread Per Øyvind Karlsen
2013/8/11 Jeffrey Johnson n3...@me.com On Aug 8, 2013, at 4:01 PM, Per Øyvind Karlsen wrote: The following patch fixes the syntax of the python initialization code that resulted in neither the output redirection working nor the rpm python module being loaded. The original syntax

Re: Embedded python fix

2013-08-09 Thread Per Øyvind Karlsen
2013/8/9 Jeffrey Johnson n3...@me.com On Aug 8, 2013, at 9:29 PM, Per Øyvind Karlsen wrote: 2013/8/8 Per Øyvind Karlsen pkarl...@rpm5.org The following patch fixes the syntax of the python initialization code that resulted in neither the output redirection working nor the rpm python

some regressions in rpm 5.1.12

2013-08-08 Thread Per Øyvind Karlsen
The following patch fixes a regression in rpmlua where it no longer overrides the luaB_print() function with the one provided by rpm_print(). -- Regards, Per Øyvind rpm-5.4.12-fix-rpmlua-print.patch Description: Binary data

Embedded python fix

2013-08-08 Thread Per Øyvind Karlsen
The following patch fixes the syntax of the python initialization code that resulted in neither the output redirection working nor the rpm python module being loaded. -- Regards, Per Øyvind rpm-5.4.12-fix-rpmpython-module-import-init.patch Description: Binary data

Re: Embedded python fix

2013-08-08 Thread Per Øyvind Karlsen
2013/8/8 Per Øyvind Karlsen pkarl...@rpm5.org The following patch fixes the syntax of the python initialization code that resulted in neither the output redirection working nor the rpm python module being loaded. This patch makes sure that the output buffer gets truncated after use, otherwise

Re: rpm 5.4.12 regressions

2013-08-07 Thread Per Øyvind Karlsen
2013/8/6 Jeffrey Johnson n3...@me.com On Aug 6, 2013, at 12:31 PM, Jeffrey Johnson wrote: On Aug 6, 2013, at 9:55 AM, Per Øyvind Karlsen wrote: Meanwhile Write a test case. is the only sane response to preventing regressions. Yes, I've included a simple regression test in the patch

perl-URPM upstream git repo

2013-08-06 Thread Per Øyvind Karlsen
Hi! I noticed the following commit: http://rpm5.org/cvs/chngview?cn=17164 The correct location of the upstream code repositoy is found at: https://abf.rosalinux.ru/moondrake/perl-URPM -- Regards, Per Øyvind

Re: perl-URPM upstream git repo

2013-08-06 Thread Per Øyvind Karlsen
2013/8/6 Jeffrey Johnson n3...@me.com On Aug 6, 2013, at 11:47 AM, Per Øyvind Karlsen wrote: Hi! I noticed the following commit: http://rpm5.org/cvs/chngview?cn=17164 The correct location of the upstream code repositoy is found at: https://abf.rosalinux.ru/moondrake/perl-URPM Perhaps

Re: perl-URPM upstream git repo

2013-08-06 Thread Per Øyvind Karlsen
2013/8/6 Jeffrey Johnson n3...@me.com On Aug 6, 2013, at 12:31 PM, Per Øyvind Karlsen wrote: 2013/8/6 Jeffrey Johnson n3...@me.com On Aug 6, 2013, at 11:47 AM, Per Øyvind Karlsen wrote: Hi! I noticed the following commit: http://rpm5.org/cvs/chngview?cn=17164 The correct location

Re: rpm 5.4.12 regressions

2013-08-05 Thread Per Øyvind Karlsen
2013/7/31 Jeffrey Johnson n3...@me.com On Jul 31, 2013, at 1:49 PM, Per Øyvind Karlsen wrote: Attached you'll find a couple of patches fixing regressions in rpm 5.4.12. The first patch is a lua, not an rpm, problem. Your 2nd patch introduces a memory leak: every pointer passed

rpm 5.4.12 regressions

2013-07-31 Thread Per Øyvind Karlsen
Attached you'll find a couple of patches fixing regressions in rpm 5.4.12. Another regression I'm more puzzled by though is a lua one: $ rpm -E '%{lua:print(rpm.expand(%_rpmversion))}' error: Lua script failed: [string lua]:1: attempt to index global 'rpm' (a nil value) 0 (empty) Skimming

Re: Does rpm really need to stop file check immediately when an issue is detected?

2013-05-24 Thread Per Øyvind Karlsen
2013/5/24 Denis Silakov dsila...@gmail.com Hi all, During discussions with ROSA and OpenMandriva maintainers, we have found out that update of packages to newer versions sometimes takes much longer than it could due to rpmbuild specifics (I mean not 'rpm -iU', but the process of adopting

Re: Corrupt RPM

2012-10-16 Thread Per Øyvind Karlsen
2012/10/16 Janis Elmeris janis.elme...@intelligentsystems.lv Hello! I accidentally upgraded a package with a lot of dependencies inluding rpm and db, and at some point also aborted the upgrade, and now I have a broken RPM. :( Right after sending the abort command I got these error

Re: Requires: python(foo) = bar

2012-05-11 Thread Per Øyvind Karlsen
2012/5/11 Tim Mooney tim.moo...@ndsu.edu: In regard to: Requires: python(foo) = bar, Jeffrey Johnson said (at 2:11pm...: Matthew Dawkins mentioned an interest in better python module dependencies in RPM earlier today. I'm still running rpm 5.1.9 and meaning to upgrade, but I've been

Re: refined implementation of set-versions

2012-04-28 Thread Per Øyvind Karlsen
2012/4/28 Jeffrey Johnson n3...@me.com: On Apr 26, 2012, at 10:48 PM, Per Øyvind Karlsen wrote: But set:versions looks quite useful, and far more effective at reducing the number of dependencies than attempting a pin-hole optimizations with boolean expressions, discarding inequalities

Re: refined implementation of set-versions

2012-04-26 Thread Per Øyvind Karlsen
oops. managed to accidentallly send this while getting on the airport train.. Den 04:48 27. april 2012 skrev Per Øyvind Karlsen pkarl...@rpm5.org følgende: Den 13:27 21. april 2012 skrev Alexey Tourbin alexey.tour...@gmail.com følgende: On Fri, Apr 20, 2012 at 5:16 PM, Jeffrey Johnson n3

Re: refined implementation of set-versions

2012-04-26 Thread Per Øyvind Karlsen
Den 13:27 21. april 2012 skrev Alexey Tourbin alexey.tour...@gmail.com følgende: On Fri, Apr 20, 2012 at 5:16 PM, Jeffrey Johnson n3...@me.com wrote: The methods in the existing encoding/decoding are in rpmio/set.c @rpm5.org: the algorithm is unchanged from Alt. A change to the existing

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES Makefile.am rpm/scripts/ Makefile.am

2012-02-20 Thread Per Øyvind Karlsen
Den 20:16 16. februar 2012 skrev Jeff Johnson j...@rpm5.org følgende:  RPM Package Manager, CVS Repository  http://rpm5.org/cvs/    Server: rpm5.org                         Name:   Jeff Johnson  Root:   /v/rpm/cvs    

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES rpm/js/ rpmmpw-js.c rpm/python/ heade...

2012-02-20 Thread Per Øyvind Karlsen
Den 14:06 1. februar 2012 skrev Pinto Elia devzero2...@rpm5.org følgende:  RPM Package Manager, CVS Repository  http://rpm5.org/cvs/    Server: rpm5.org                         Name:   Pinto Elia  Root:   /v/rpm/cvs  

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also

Re: Listing hard dependencies of a package

2011-12-22 Thread Per Øyvind Karlsen
Den 13:24 22. desember 2011 skrev Paul Eggleton paul.eggle...@linux.intel.com følgende: Hi there, Whilst working on Poky/OpenEmbedded I found the need to list all of the hard dependencies of an RPM package within a shell script. Unfortunately --requires or the REQUIRES tag seem to also

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES rpm/macros/ macros.rpmbuild.in rpm/sc...

2011-12-20 Thread Per Øyvind Karlsen
Den 17:39 21. oktober 2011 skrev Jeff Johnson j...@rpm5.org følgende:  RPM Package Manager, CVS Repository  http://rpm5.org/cvs/    Server: rpm5.org                         Name:   Jeff Johnson  Root:   /v/rpm/cvs    

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES rpm/macros/ macros.rpmbuild.in rpm/sc...

2011-12-20 Thread Per Øyvind Karlsen
Den 16:16 20. desember 2011 skrev Jeffrey Johnson n3...@me.com følgende: On Dec 20, 2011, at 9:55 AM, Per Øyvind Karlsen wrote: Den 17:39 21. oktober 2011 skrev Jeff Johnson j...@rpm5.org følgende:  RPM Package Manager, CVS Repository  http://rpm5.org/cvs

Re: How to disable rpm5 log?

2011-11-16 Thread Per Øyvind Karlsen
2011/11/16 Mei, Lei lei@intel.com: Hi all,        I am a developer of Yocto project(http://www.yoctoproject.org/), our project is for embedded industry. we support rpm5 in our project, but the /var/lib/rpm/log grows indefinitely, it's unacceptable in embedded device. I am trying to

Re: [CVS] RPM: rpm-5_4: rpm/rpmdb/ rpmdb.c

2011-11-07 Thread Per Øyvind Karlsen
know, but jI've just not made my way back to this one yet.. :| Hmmm … there's other code that starts to use this patch coming shortly, correct? urpmi is depending on this, as it's using NVRA for package removal.. hth 73 de Jeff On Nov 2, 2011, at 9:51 AM, Per Øyvind Karlsen wrote:  RPM

RPM features/issues/wishlist

2011-10-14 Thread Per Øyvind Karlsen
I've started to ramble on some of the features, issues, ideas etc. to work on and consider for our (Mandriva Linux) next development cycle, and in the interest of sharing work and coordinating efforts with others, while inviting others to contribute:

Re: Distepoch identification (was Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c)

2011-07-13 Thread Per Øyvind Karlsen
2011/7/12 Jeff Johnson n3...@mac.com: Lemme split this into 2 threads to try to address two twisted issues properly. The other thread will be        Transaction sanity checks On Jul 12, 2011, at 8:48 AM, Jeff Johnson wrote: You need to figure a better *RE pattern, not whack in lots of

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c

2011-07-13 Thread Per Øyvind Karlsen
2011/7/12 Jeff Johnson n3...@mac.com: On Jul 12, 2011, at 8:21 AM, Per Øyvind Karlsen wrote: 2011/7/12 Jeff Johnson n3...@mac.com: This isn't at all the right approach because its doesn't scale. You have changed a single high performing rpmdb access that applies patterns to keys only

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c

2011-07-13 Thread Per Øyvind Karlsen
2011/7/13 Jeff Johnson n3...@mac.com: On Jul 13, 2011, at 1:54 PM, Per Øyvind Karlsen wrote: Passing keys Somewhere Else Instead isn't needed either: rpmdbMireApply() is perfectly capable of being used intelligently, to perform a bullshit test that isn't necessary at all, however you wish

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ transaction.c

2011-07-12 Thread Per Øyvind Karlsen
2011/7/12 Jeff Johnson n3...@mac.com: This isn't at all the right approach because its doesn't scale. You have changed a single high performing rpmdb access that applies patterns to keys only, and added a hack-o-round that then goes and loads multiple headers repeatedly to try and adjust

Re: [CVS] RPM: rpm/js/ rpmaug-js.c rpmbc-js.c rpmbf-js.c rpmcudf-js.c rpmd...

2011-06-03 Thread Per Øyvind Karlsen
2011/6/3 Jeff Johnson n3...@mac.com: Talk to me first *PLEASE* ... nothing at all wrong with what you are doing _EXCEPT_ you aren't talking. Yeah, I just realised that I left it quite broken earlier and figured that I'd might as well just go ahead fixing it.. For the actual changes, I seem to

Re: [CVS] RPM: rpm-5_3: rpm/rpmdb/ rpmdb.c

2011-05-27 Thread Per Øyvind Karlsen
2011/5/27 Jeff Johnson n3...@mac.com: Nice! \o/ Still needs to be done somewhere else though for performance. Nothing at all wrong with this patch, just SHOULD be done deeper in dbiFindMatches() for highest performing, most general, etc etc. Yupp, there's still a lot room for improvement,

[PATCH]: glob on paths for macro files with %{load:}

2011-05-25 Thread Per Øyvind Karlsen
When adding macros/mandriva in the past, I tried adding %{load: /etc/rpm/macros.d/*.macros} to it for loading macros rather than specifying it during ./configure, but I quickly discovered that support for wildcards wasn't supported and didn't care much about it since, figguring that I'd look into

Re: split formats.c?

2011-05-21 Thread Per Øyvind Karlsen
2011/5/22 Robert Xu rob...@gmail.com: Hi all, I've been going through opensuse patches with quilt (sorry Jeff, I couldn't wait to build RPM5, but didn't want to throw away whatever SuSE does completely)... I ran across localetag.diff, and then ran through the rpm5 repository, only to

Re: [CVS] RPM: rpm/rpmdb/ rpmdb.h

2011-05-10 Thread Per Øyvind Karlsen
2011/5/11 Jeff Johnson n3...@mac.com: This isn't your code. Leave it be. Huh? You don't want me to commit this change at all, or you just don't want me to commit it on HEAD..? In the past you've told me to *always* commit to HEAD first.. WTF does C++ typecasting have to do with anything? I am

Fwd: Repodata additions

2011-05-03 Thread Per Øyvind Karlsen
-- Forwarded message -- From: Per Øyvind Karlsen peroyv...@mandriva.org Date: 2011/5/3 Subject: Re: Repodata additions To: rpm-t...@rpm5.org 2011/5/3 Jeff Johnson n3...@mac.com: A sane opinion as always, and Distepoch is nicely done and handled. Would you mind reposting

Re: [CVS] RPM: rpm-5_4: rpm/lib/ rpmts.h rpm/rpmdb/ rpmns.h rpmtypes.h

2011-05-03 Thread Per Øyvind Karlsen
2011/5/3 Jeff Johnson n3...@mac.com: Seriously you have better things to do than diddle w commas and -pedantic. If not, well mdawkins has a reproducer with --xml due to my --json changes that could/should be brought back to rpm-5.3.x. Give me a pointer and I'll get to it. :) Just a reality

Re: [CVS] RPM: rpm-5_3: rpm/lib/ rpmfc.c

2011-04-16 Thread Per Øyvind Karlsen
2011/4/16 Jeff Johnson n3...@mac.com: Ok enough. We _ARE_ headed for a fork between rpm5.org - Mandriva if these check-ins continue. I've asked for discussion first. Not happening. I've asked for a feature list. Not seen. I've pointed out that many of these changes are ancient hysteria

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/lib/ rpmds.c

2011-04-16 Thread Per Øyvind Karlsen
2011/4/16 Jeff Johnson n3...@mac.com: And so now we have the start of Yet More peculier dependencies, not just devel(...) but now uClibc(...). Yes, this is to avoid conflicts with sonames linked against glibc, ie. see: [peroyvind@lappis rpm-5.3.9]$ echo /usr/uclibc/usr/lib64/libz.so.1.2.5 |

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/lib/ rpmds.c

2011-04-16 Thread Per Øyvind Karlsen
2011/4/16 Jeff Johnson n3...@mac.com: On Apr 16, 2011, at 11:34 AM, Per Øyvind Karlsen wrote: 2011/4/16 Jeff Johnson n3...@mac.com: And so now we have the start of Yet More peculier dependencies, not just devel(...) but now uClibc(...). Yes, this is to avoid conflicts with sonames linked

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-11 Thread Per Øyvind Karlsen
I hate gmail... 2011/4/11 Per Øyvind Karlsen peroyv...@mandriva.org: 2011/4/11 Jeff Johnson n3...@mac.com: On Apr 11, 2011, at 12:29 AM, Per Øyvind Karlsen wrote: wrong sender.. fgrf -- Forwarded message -- From: Per Øyvind Karlsen peroyv...@mandriva.org Date: 2011/4/11

Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-11 Thread Per Øyvind Karlsen
ps: if you still don't get it, it should be fairly easy grasping just by looking at the packages in cooker which has devel() dependencies, and see how these dependencies gets automatically pulled in from other packages providing devel() when installng a -devel package... ps: Excuse my aggitation,

Re: [CVS] RPM: rpm/ CHANGES rpm/macros/ macros.rpmbuild.in rpm/scripts/ Ma...

2011-04-10 Thread Per Øyvind Karlsen
2011/4/10 Per Ųyvind Karlsen pkarl...@rpm5.org:  RPM Package Manager, CVS Repository  http://rpm5.org/cvs/    Server: rpm5.org                         Name:   Per Ųyvind Karlsen  Root:   /v/rpm/cvs                    

Re: [CVS] RPM: rpm-5_4: rpm/lib/ rpmds.c

2011-04-10 Thread Per Øyvind Karlsen
2011/4/10 Hatle, Mark mark.ha...@windriver.com: See below inline On Apr 9, 2011, at 11:57 PM, Per Øyvind Karlsen pkarl...@rpm5.org wrote:  RPM Package Manager, CVS Repository  http://rpm5.org/cvs/    Server

Re: [CVS] RPM: rpm-5_4: rpm/ CHANGES rpm/macros/ macros.rpmbuild.in rpm/sc...

2011-04-10 Thread Per Øyvind Karlsen
2011/4/10 Jeff Johnson n3...@mac.com: On Apr 10, 2011, at 10:30 AM, Hatle, Mark wrote: Do you have a pointer or any documentation on how to use these new macros and helpers? The multiarch macros? I can tell you what I see: Instead of ensuring that /usr/include/*.h is independent of

Re: [CVS] RPM: rpm/ CHANGES rpm/macros/ python.in

2011-04-10 Thread Per Øyvind Karlsen
2011/4/11 Jason Corley jason.cor...@gmail.com:  -# Note: Used iff _use_internal_dependency_generator is non-zero. The  +# Note: Used if _use_internal_dependency_generator is non-zero. The As a completely useless aside I see this kind of change from proyvind in almost every patch. I'm assuming

Fwd: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c

2011-04-10 Thread Per Øyvind Karlsen
wrong sender.. fgrf -- Forwarded message -- From: Per Øyvind Karlsen peroyv...@mandriva.org Date: 2011/4/11 Subject: Re: [CVS] RPM: rpm/ CHANGES rpm/lib/ librpm.vers rpmds.c rpmds.h rpmfc.c To: rpm-devel@rpm5.org 2011/4/11 Jeff Johnson n3...@mac.com: I knew I'd seen

Re: [CVS] RPM: rpm-5_3: rpm/ CHANGES rpm/macros/ macros.in rpm/ rpmpopt.in

2011-04-09 Thread Per Øyvind Karlsen
2011/4/10 Jeff Johnson n3...@mac.com: You ought to pull back lib/verify.c (header signature checks re-implemented) and rpmdb/hdrfmt.c changes (the sql/json part is done, works afaict, I'm just waiting to see if there's anything else before doing XML spewage the same way with EVRD parsing).

Re: [CVS] RPM: rpm/ CHANGES build.c

2011-04-05 Thread Per Øyvind Karlsen
2011/4/5 Jeff Johnson n3...@mac.com: No way Jose! rpmbuild (and *.rpm metadata) can NOT have any encoding assumed. Encoding is for DISPLAY, not for octets. Put unicode into package metadata at your own peril. Meanwhile -- without an means to specify encoding in metadata -- rpm in C has

Re: [CVS] RPM: rpm/ CHANGES build.c

2011-04-05 Thread Per Øyvind Karlsen
2011/4/5 Jeff Johnson n3...@mac.com: On Apr 5, 2011, at 3:49 PM, Per Øyvind Karlsen wrote: 2011/4/5 Jeff Johnson n3...@mac.com: No way Jose! rpmbuild (and *.rpm metadata) can NOT have any encoding assumed. Encoding is for DISPLAY, not for octets. Put unicode into package metadata

Re: [CVS] RPM: rpm/ CHANGES build.c

2011-04-05 Thread Per Øyvind Karlsen
2011/4/5 Jeff Johnson n3...@mac.com: On Apr 5, 2011, at 4:13 PM, Per Øyvind Karlsen wrote: Hm, okay, so better obviously needs to be done. Have a go at fixing if you wish. Here's the code that breaks things: /* Lose the inheirited %description (if present). */ { HE_t he = memset

Re: [CVS] RPM: rpm/build/ reqprov.c

2011-04-01 Thread Per Øyvind Karlsen
2011/4/1 Jeff Johnson n3...@mac.com: Under #ifdef RPM_VENDOR_MANDRIVA please. It already is. ;) -- Regards, Per Øyvind __ RPM Package Managerhttp://rpm5.org Developer Communication List

Re: [CVS] RPM: rpm/ CHANGES rpmqv.c

2011-03-28 Thread Per Øyvind Karlsen
2011/3/27 Jeff Johnson n3...@mac.com: This patch (and devzero's change) make no sense. rpm -ba is _ALWAYS_ in short-cicuit mode by definition, because the starting point for --short-circuit is a non-existent directory and nothing is built. The --short-circuit is to resume a build from a

Re: RPM+Augeas - Cooker?

2011-03-24 Thread Per Øyvind Karlsen
d'oh, used wrong sender.. 2011/3/24 Per Øyvind Karlsen peroyv...@mandriva.org: 2011/3/24 Jeff Johnson n3...@mac.com: Cool! Cooker finally has an Augeas package in main! The issue with the rpm+augeas embedding is that augeas development is pretty active, with lots of patterns in lenses

Re: RPM+Augeas - Cooker?

2011-03-24 Thread Per Øyvind Karlsen
2011/3/24 Jeff Johnson n3...@mac.com: On Mar 24, 2011, at 12:40 PM, Per Øyvind Karlsen wrote: d'oh, used wrong sender.. 2011/3/24 Per Øyvind Karlsen peroyv...@mandriva.org: 2011/3/24 Jeff Johnson n3...@mac.com: Cool! Cooker finally has an Augeas package in main! The issue with the rpm

Re: [CVS] RPM: rpm/ configure.ac

2011-03-24 Thread Per Øyvind Karlsen
2011/3/24 Jeff Johnson n3...@mac.com: Nice! Hacks == hacks (the uuid_t on Mac OS X is dreadfully annoying). Thanks for -luuid! Now I can write up how to use (original work was ~ May, 2008 on rpm-devel@rpm5.org archives if interested) I've commited some various fixes for ossp_uuid for it to

  1   2   3   >