Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214920 - media-libs/pdflib-7.0.4_p4 version bump
Summary: media-libs/pdflib-7.0.4_p4 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Matti Bickel (RETIRED)
URL: http://www.pdflib.com/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-03-26 17:32 UTC by Sergey Dryabzhinsky
Modified: 2010-12-28 08:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pdflib-7.0.2_p8-7.0.3.ebuild.diff (pdflib-7.0.2_p8-7.0.3.ebuild.diff,2.68 KB, patch)
2008-10-15 20:05 UTC, Sergey Dryabzhinsky
Details | Diff
incorporated 254879#c6 (pdflib-7.0.3.ebuild,4.24 KB, text/plain)
2009-02-15 11:28 UTC, Manfred Knick
Details
fixes java bindings from #254879 (pdflib-7.0.3-javafixes.patch,1.00 KB, patch)
2009-02-15 16:01 UTC, Sergey Dryabzhinsky
Details | Diff
Ebuild changes from 7.0.2_p8 to 7.0.3 (pdflib-7.0.2_p8-7.0.3.ebuild.diff,3.46 KB, patch)
2009-02-15 16:02 UTC, Sergey Dryabzhinsky
Details | Diff
pdflib-7.0.4_p1.ebuild (pdflib-7.0.4_p1.ebuild,4.14 KB, text/plain)
2009-04-26 18:51 UTC, Sergey Dryabzhinsky
Details
Diff from 7.0.2_p8 to 7.0.4_p1 (pdflib-7.0.2_p8-to-7.0.4.ebuild.diff,4.44 KB, patch)
2009-04-26 18:55 UTC, Sergey Dryabzhinsky
Details | Diff
fix for java build (java-fix.patch,407 bytes, patch)
2009-05-02 03:48 UTC, Rafał Mużyło
Details | Diff
a fix for executable stack qa (exec-stack.patch,276 bytes, patch)
2009-05-02 03:54 UTC, Rafał Mużyło
Details | Diff
build.log (build.log,142.62 KB, text/plain)
2009-08-11 12:05 UTC, Manfred Knick
Details
build.log (media-libs:pdflib-7.0.2_p8:20101228-062556.log,155.02 KB, text/plain)
2010-12-28 08:48 UTC, Ivan Mak
Details
build.log_2 (media-libs:pdflib-7.0.2_p8:20101228-080335.log,155.12 KB, text/plain)
2010-12-28 08:54 UTC, Ivan Mak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Dryabzhinsky 2008-03-26 17:32:26 UTC
Released March 20, 2008

Reproducible: Sometimes

Steps to Reproduce:
1. Look at http://www.pdflib.com/products/pdflib-family/pdflib-lite/



Expected Results:  
Bump?
Comment 1 Conrad Kostecki gentoo-dev 2008-10-14 11:55:31 UTC
Any News?
Comment 2 Christian Hoffmann (RETIRED) gentoo-dev 2008-10-14 14:15:58 UTC
Have you tested it? I'm not using it and I dislike blind bumping without knowing whether it will be totally broken or not.
Comment 3 Sergey Dryabzhinsky 2008-10-15 18:05:14 UTC
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...
Comment 4 Sergey Dryabzhinsky 2008-10-15 20:05:15 UTC
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
Comment 5 Sergey Dryabzhinsky 2009-02-06 18:46:17 UTC
(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...
Comment 6 Serkan Kaba (RETIRED) gentoo-dev 2009-02-14 17:13:48 UTC
Please apply java fixes in bug #254879 as well.
Comment 7 Manfred Knick 2009-02-15 11:28:44 UTC
Created attachment 182116 [details]
incorporated 254879#c6
Comment 8 Manfred Knick 2009-02-15 11:50:32 UTC
(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.
Comment 9 Sergey Dryabzhinsky 2009-02-15 15:59:14 UTC
(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...
Comment 10 Sergey Dryabzhinsky 2009-02-15 16:01:37 UTC
Created attachment 182140 [details, diff]
fixes java bindings from #254879

Thanks to Serkan Kaba
Comment 11 Sergey Dryabzhinsky 2009-02-15 16:02:45 UTC
Created attachment 182141 [details, diff]
Ebuild changes from 7.0.2_p8 to 7.0.3

Updated, thanks to Manfred Knick
Comment 12 Manfred Knick 2009-02-16 08:01:24 UTC
(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.
Comment 13 Tim Harder gentoo-dev 2009-04-26 07:25:31 UTC
Version 7.0.4 has been released.
Comment 14 Serkan Kaba (RETIRED) gentoo-dev 2009-04-26 07:45:41 UTC
(In reply to comment #13)
> Version 7.0.4 has been released.
> 

and it adds Java fixes.
Comment 15 Sergey Dryabzhinsky 2009-04-26 09:21:25 UTC
(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?
Comment 16 Serkan Kaba (RETIRED) gentoo-dev 2009-04-26 16:25:17 UTC
(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
Comment 17 Sergey Dryabzhinsky 2009-04-26 17:26:20 UTC
Huh... There 7.0.4p1 and lot fixes since 7.0.2p8 & 7.0.3... All bindings need to be tested...
Comment 18 Sergey Dryabzhinsky 2009-04-26 18:51:45 UTC
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...
Comment 19 Sergey Dryabzhinsky 2009-04-26 18:55:25 UTC
Created attachment 189543 [details, diff]
Diff from 7.0.2_p8 to 7.0.4_p1
Comment 20 Sergey Dryabzhinsky 2009-04-26 19:00:55 UTC
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?
Comment 21 Rafał Mużyło 2009-05-02 03:45:00 UTC
Did anybody managed to actually build 7.0.4_p1 with java,
cause I kept getting an error about circular JAVA variable ?
Comment 22 Rafał Mużyło 2009-05-02 03:48:02 UTC
Created attachment 190089 [details, diff]
fix for java build

With this java fix (which is probably not 100% correct),
it built for me.
Comment 23 Rafał Mużyło 2009-05-02 03:54:50 UTC
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.
Comment 24 Serkan Kaba (RETIRED) gentoo-dev 2009-05-02 04:52:58 UTC
(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.
Comment 25 Manfred Knick 2009-08-11 12:05:32 UTC
Created attachment 200925 [details]
build.log

c.f. comment #24
Comment 26 Sergey Dryabzhinsky 2009-08-11 16:17:17 UTC
Bugfix version 7.0.4_p4 released...
Comment 27 Matti Bickel (RETIRED) gentoo-dev 2010-04-01 00:15:09 UTC
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.
Comment 28 Matti Bickel (RETIRED) gentoo-dev 2010-04-02 20:12:32 UTC
I've uploaded pdflib-7.0.4_p4.ebuild to CVS. If there's anything left, please open new bugs. Thanks for your work!
Comment 29 Ivan Mak 2010-12-28 08:48:15 UTC
Created attachment 258241 [details]
build.log
Comment 30 Ivan Mak 2010-12-28 08:54:40 UTC
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).