Summary: | media-libs/pdflib-7.0.4_p4 version bump | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Dryabzhinsky <sergey.dryabzhinsky> |
Component: | New packages | Assignee: | Matti Bickel (RETIRED) <mabi> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | Manfred.Knick, radhermit, serkan |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.pdflib.com/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
pdflib-7.0.2_p8-7.0.3.ebuild.diff
incorporated 254879#c6 fixes java bindings from #254879 Ebuild changes from 7.0.2_p8 to 7.0.3 pdflib-7.0.4_p1.ebuild Diff from 7.0.2_p8 to 7.0.4_p1 fix for java build a fix for executable stack qa build.log build.log build.log_2 |
Description
Sergey Dryabzhinsky
2008-03-26 17:32:26 UTC
Any News? Have you tested it? I'm not using it and I dislike blind bumping without knowing whether it will be totally broken or not. Ruby bindings installation still broken... Other bindings seems to be working fine... I'll try to use ruby eclass functions to fix installation of bindings... Created attachment 168608 [details, diff]
pdflib-7.0.2_p8-7.0.3.ebuild.diff
Version bump and:
- old patches don't needed for this version
- Ruby activated, but installation was wrote in hakku...
- cxx use flag checks for configure changed
- flags set to ~x86 for now
(In reply to comment #2) > Have you tested it? I'm not using it and I dislike blind bumping without > knowing whether it will be totally broken or not. > It woks fine (for me) on ~x86... Please apply java fixes in bug #254879 as well. Created attachment 182116 [details]
incorporated 254879#c6
(In reply to comment #7) Because the patches from Serkan: --> http://bugs.gentoo.org/show_bug.cgi?id=254879#c5 and the above from Sergey: Comment #4 can't be applied autmatically one after another, I have incorporated both patch lines into above proposal for --> pdflib-7.0.3.ebuild . In order to keep changes minimal, I have created symbolic links in my subdirectory /usr/local/portage/local-overlay/media-libs/pdflib/files : - pdflib-7.0.3-gcc-4.3.patch -> pdflib-7.0.2_p8-gcc-4.3.patch - pdflib-7.0.3-javafixes.patch -> pdflib-7.0.2_p8-javafixes.patch - pdflib-7.0.3-ruby-configure.patch -> pdflib-7.0.2_p8-ruby-configure.patch ... don't forget to run "ebuild pdflib-7.0.3.ebuild manifest" ;) @ Sergey : Would you please be so kind to cross-check and confirm? Thanks in advance. (In reply to comment #8) > In order to keep changes minimal, > I have created symbolic links in my subdirectory > /usr/local/portage/local-overlay/media-libs/pdflib/files : > > - pdflib-7.0.3-gcc-4.3.patch -> pdflib-7.0.2_p8-gcc-4.3.patch > - pdflib-7.0.3-javafixes.patch -> pdflib-7.0.2_p8-javafixes.patch > - pdflib-7.0.3-ruby-configure.patch -> pdflib-7.0.2_p8-ruby-configure.patch > > @ Sergey : > Would you please be so kind to cross-check and confirm? > Thanks in advance. > Well, upstream in 7.0.3 fixed build with gcc-4.3* ruby configure options - that's why I'm dropped patches... Created attachment 182140 [details, diff]
fixes java bindings from #254879
Thanks to Serkan Kaba
Created attachment 182141 [details, diff]
Ebuild changes from 7.0.2_p8 to 7.0.3
Updated, thanks to Manfred Knick
(In reply to comment #9) > that's why I'm dropped patches... Sure; you're right; I should have clarified: _after_ having applied your patches, for 7.0.3, two of them were not necessary any more; > - pdflib-7.0.3-gcc-4.3.patch -> pdflib-7.0.2_p8-gcc-4.3.patch > - pdflib-7.0.3-ruby-configure.patch -> pdflib-7.0.2_p8-ruby-configure.patch only one of them was still needed: > - pdflib-7.0.3-javafixes.patch -> pdflib-7.0.2_p8-javafixes.patch # grep patch pdflib-7.0.3.ebuild epatch "${FILESDIR}"/${P}-javafixes.patch Thanks for pointing that out. Version 7.0.4 has been released. (In reply to comment #13) > Version 7.0.4 has been released. > and it adds Java fixes. (In reply to comment #14) > (In reply to comment #13) > > Version 7.0.4 has been released. > > > > and it adds Java fixes. > Any other changes that can affect on ebuild? If you tested and patch for java don't needed anymore then we can skeep 7.0.3 version and drop that patch... I'll make new ebuild later. Should I put it into sunrise overlay for testing? (In reply to comment #15) > (In reply to comment #14) > > (In reply to comment #13) > > > Version 7.0.4 has been released. > > > > > > > and it adds Java fixes. > > > > Any other changes that can affect on ebuild? > > If you tested and patch for java don't needed anymore then we can skeep 7.0.3 > version and drop that patch... I didn't test it but examined the source. See Changelog[1] for other fixes. > > I'll make new ebuild later. > > Should I put it into sunrise overlay for testing? > 1: http://www.pdflib.com/fileadmin/pdflib/changelog/changes-PDFlib-7.0.4p1.txt Huh... There 7.0.4p1 and lot fixes since 7.0.2p8 & 7.0.3... All bindings need to be tested... Created attachment 189540 [details]
pdflib-7.0.4_p1.ebuild
Ebuild for new version of PDFlib:
- fixed Gentoo copyright and added ~mips keyword (need testing)
- based on 7.0.3 ebuild - ruby enabled, java patch dropped
repoman not happy, but taked it this time...
Created attachment 189543 [details, diff]
Diff from 7.0.2_p8 to 7.0.4_p1
Updated summary and Keywords for this BUG... BTW, should 7.0.3 be dropped now? And what about put new ebuild in Sunrise for more response and testing? Did anybody managed to actually build 7.0.4_p1 with java, cause I kept getting an error about circular JAVA variable ? Created attachment 190089 [details, diff]
fix for java build
With this java fix (which is probably not 100% correct),
it built for me.
Created attachment 190091 [details, diff]
a fix for executable stack qa
...and this little thing removes the need for 'append-ldflags -Wl,-z,noexecstack'
hack (which wasn't working anymore, anyway). I can say if it's a correct or not,
cause I was simply following the guide.
as for '-fno-strict-aliasing', it appears only on one file
- from bundled tiff lib. I agree with flameeyes' blog on that topic.
(In reply to comment #22) > Created an attachment (id=190089) [edit] > fix for java build > > With this java fix (which is probably not 100% correct), > it built for me. > You probably shouldn't be doing this, Can you provide the error/build.log. Created attachment 200925 [details] build.log c.f. comment #24 Bugfix version 7.0.4_p4 released... Thanks for all the fixes. I'll try to incorporate them into a new ebuild. If you're still interested in continuing this stuff, it'll highly appreciated, as the package doesn't have a proper maintainer right now. I've uploaded pdflib-7.0.4_p4.ebuild to CVS. If there's anything left, please open new bugs. Thanks for your work! Created attachment 258241 [details]
build.log
Created attachment 258244 [details]
build.log_2
With reference to the listed stable version "media-libs/pdflib-7.0.2_p8". Package fails to compile due to java and python issues. Applying both the patch from Sergey (20090215) and python-libdir as well as restricting the ebuild to use python2 allows the package to build. If issues don't exist with v7.0.4 perhaps recommend for use instead.
(2nd build log to showcase status after applying just java fixes).
|