Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137132 - qca2 plugins, new ebuild; qca-{gnupg,openssl,pkcs11}
Summary: qca2 plugins, new ebuild; qca-{gnupg,openssl,pkcs11}
Status: RESOLVED DUPLICATE of bug 129536
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL: http://delta.affinix.com/download/qca...
Whiteboard:
Keywords: EBUILD
Depends on: 129536
Blocks:
  Show dependency tree
 
Reported: 2006-06-17 18:57 UTC by Przemyslaw Maciag (RETIRED)
Modified: 2007-07-06 23:05 UTC (History)
6 users (show)

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


Attachments
qca-gnupg-0.1_p20060406.ebuild (qca-gnupg-0.1_p20060406.ebuild,1.09 KB, text/plain)
2006-06-17 18:57 UTC, Przemyslaw Maciag (RETIRED)
Details
qca-openssl-0.1_p20060406.ebuild (qca-openssl-0.1_p20060406.ebuild,1.13 KB, text/plain)
2006-06-17 18:57 UTC, Przemyslaw Maciag (RETIRED)
Details
qca-pkcs11-0.1_p20060407.ebuild (qca-pkcs11-0.1_p20060407.ebuild,1.10 KB, text/plain)
2006-06-17 18:58 UTC, Przemyslaw Maciag (RETIRED)
Details
qca-gnupg_fix.diff (qca-gnupg_fix.diff,770 bytes, patch)
2006-06-18 15:57 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
qca-gnupg-0.1_p20060406.ebuild (qca-gnupg-0.1_p20060406.ebuild,1.35 KB, text/plain)
2006-06-18 15:58 UTC, Przemyslaw Maciag (RETIRED)
Details
qca-pkcs11-gcc4.patch (qca_pkcs11-gcc4.patch,312 bytes, patch)
2007-01-22 10:19 UTC, Pinky
Details | Diff
qca-openssl-0.1_p20070508.ebuild (qca-openssl-0.1_p20070508.ebuild,1.90 KB, text/plain)
2007-05-21 21:33 UTC, Przemyslaw Maciag (RETIRED)
Details
qca-openssl-slotted-qca2.patch (qca-openssl-slotted-qca2.patch,1.82 KB, patch)
2007-05-21 21:39 UTC, Przemyslaw Maciag (RETIRED)
Details | Diff
qca-openssl-0.1_p20070508.ebuild (qca-openssl-0.1_p20070508.ebuild,1.31 KB, text/plain)
2007-05-23 14:35 UTC, Alon Bar-Lev (RETIRED)
Details
qca-pkcs11-0.1_p20070508.ebuild (qca-pkcs11-0.1_p20070508.ebuild,1.31 KB, text/plain)
2007-05-23 14:36 UTC, Alon Bar-Lev (RETIRED)
Details
qca-gnupg-0.1_p20070510.ebuild (qca-gnupg-0.1_p20070510.ebuild,1.30 KB, text/plain)
2007-05-23 15:08 UTC, Alon Bar-Lev (RETIRED)
Details
qca-gnupg-0.1_p20070510.ebuild (qca-gnupg-0.1_p20070510.ebuild,1.29 KB, text/plain)
2007-05-23 15:12 UTC, Alon Bar-Lev (RETIRED)
Details
qca-cyrus-sasl-0.1_p20070508.ebuild (qca-cyrus-sasl-0.1_p20070508.ebuild,1.29 KB, text/plain)
2007-05-23 16:01 UTC, Alon Bar-Lev (RETIRED)
Details
qca-openssl-0.1_p20070508.ebuild (qca-openssl-0.1_p20070508.ebuild,1.34 KB, text/plain)
2007-05-24 16:48 UTC, Alon Bar-Lev (RETIRED)
Details
qca-pkcs11-0.1_p20070508.ebuild (qca-pkcs11-0.1_p20070508.ebuild,1.34 KB, text/plain)
2007-05-24 16:48 UTC, Alon Bar-Lev (RETIRED)
Details
qca-gnupg-0.1_p20070510.ebuild (qca-gnupg-0.1_p20070510.ebuild,1.32 KB, text/plain)
2007-05-24 16:49 UTC, Alon Bar-Lev (RETIRED)
Details
qca-cyrus-sasl-0.1_p20070508.ebuild (qca-cyrus-sasl-0.1_p20070508.ebuild,1.32 KB, text/plain)
2007-05-24 16:49 UTC, Alon Bar-Lev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-17 18:57:22 UTC
qca-2 (beta2 to be exact) plugins.
Comment 1 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-17 18:57:40 UTC
Created attachment 89433 [details]
qca-gnupg-0.1_p20060406.ebuild
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-17 18:57:55 UTC
Created attachment 89434 [details]
qca-openssl-0.1_p20060406.ebuild
Comment 3 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-17 18:58:09 UTC
Created attachment 89435 [details]
qca-pkcs11-0.1_p20060407.ebuild
Comment 4 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-18 15:57:51 UTC
Created attachment 89497 [details, diff]
qca-gnupg_fix.diff

fix gnupg crashing from http://el-tramo.be/files/psi/
Comment 5 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-18 15:58:38 UTC
Created attachment 89498 [details]
qca-gnupg-0.1_p20060406.ebuild

ebuild using patch provided
Comment 6 Gustavo Felisberto (RETIRED) gentoo-dev 2006-06-18 16:58:32 UTC
Added this to sunrise overlay. Add to patch pkcs11 to build with gcc 4
Comment 7 David Danier 2006-06-27 15:44:20 UTC
The "ugly workaround" inside qca-{gnupg,openssl,pkcs11}-*.ebuild is not only ugly, it's very broken. You must change the qca-{gnupg,openssl,pkcs11}.pro to disable debugging _before_ running qmake (or even configure?). This can be done with the following code:
    if ! built_with_use qt debug || ! use debug; then
        sed -i -e 's/CONFIG += debug/#CONFIG += debug/g' ${PN}.pro
    fi;

Otherwise psi (and other apps using qca) will fail because QT and/or app/psi has debugging disabled and the qca-libs have it enabled. Changing the options insode the Makefile won't change anything but avoid the error.
Comment 8 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-27 15:54:38 UTC
(In reply to comment #7)
> Otherwise psi (and other apps using qca) will fail because QT and/or app/psi
> has debugging disabled and the qca-libs have it enabled. Changing the options
> insode the Makefile won't change anything but avoid the error.

thx for the tip! I wasn't aware about this.

Anyway - qmake is sometimes "evil" :/ When I started using it, I found it very usefull. Now I'm starting to change my opinion. In every qt app, devs can put debug into pro file, or not. So to package it, we would have to put into every ebuild a patch or some code to disable debug :/ It would be best if qmake could use something like "CONFIG -= debug"... Have to read some more docs at trolltech. Maybe it can be done like this...

I'll take care of this in few days. Just need some time to read and think.

Best regards,
Przemek
Comment 9 David Danier 2006-06-27 16:26:07 UTC
(In reply to comment #8)
> In every qt app, devs can put
> debug into pro file, or not.

I think thats exactly the idea behind this. The devs put "CONFIG += debug" into the pro-File while they are debugging their software. If they build a release out of their dev-tree they simply change this to "CONFIG += release" and everything works fine.
So it's mainly a dev-thing to create clean releases I think. The current version of all qca-apps are not stable, so they did not spend any time in changing this. But the final release will have this fixed I think.

Btw.: This is the same thing you can do in good old Makefiles. Define a variable CONFIG that is added to every gcc-call and use some debug-defines inside your programm.
(#ifdef DEBUG inside the c-files and optional -DDEBUG inside the Makefile)
Comment 10 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-06-28 02:10:13 UTC
> I think thats exactly the idea behind this. The devs put "CONFIG += debug" into
> the pro-File while they are debugging their software. If they build a release
> out of their dev-tree they simply change this to "CONFIG += release" and
> everything works fine.

Yes, but this isn't a friendly solution for packagers.

Few qt apps I made ebuilds for, have non-standard CONFIG vars. For a global solution, defining own CONFIG isn't a good idea. We can make some "super-sed" rules for this, but this isn't a pernament solution also :/

I'm starting to fill, that even I don't fill like, seding would be best, it will be best what we can get.
Comment 11 Przemyslaw Maciag (RETIRED) gentoo-dev 2006-09-24 16:44:19 UTC
I'm going to maintain qca, as Gustavo have no time for it now.

In few days I'm going to add ebuilds into portage, but for now without any valid keyword (which means : only for testers who knows what they are doing).

Regards,
Przemek
Comment 12 Pinky 2007-01-22 09:51:31 UTC
libqca-gnupg, qca-openssl, compiles on amd64 (qca-pkcs11 need some patches for gcc-4 and amd64)
Comment 13 Pinky 2007-01-22 10:19:48 UTC
Created attachment 107767 [details, diff]
qca-pkcs11-gcc4.patch

can some one confirm gcc 4 problem (and solution)

qca-pkcs11 compiled on my amd64
Comment 14 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-22 19:51:15 UTC
(In reply to comment #13)
> Created an attachment (id=107767) [edit]
> solve my GCC-4 problem
> 
> can some one confirm gcc 4 problem (and solution)
> 
> qca-pkcs11 compiled on my amd64 

I didn't check it, but it looks like a valid fix for some gcc4 issues ;)

Cheers,
Przemek
Comment 15 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-22 19:59:29 UTC
looks like a valid gcc4 fix to me ;)

Cheers,
Przemek
Comment 16 Alon Bar-Lev (RETIRED) gentoo-dev 2007-01-22 20:02:58 UTC
Yes. It was my fault :(
Sorry.
Comment 17 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-05-21 21:33:46 UTC
Created attachment 119933 [details]
qca-openssl-0.1_p20070508.ebuild

Version bump for qca-openssl plugin - needed for psi-0.11_rc1 without bundled qca

I'm not sure are rest of plugins really need for now. they all are included in kde4...

Cheers,
Przemek
Comment 18 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-05-21 21:39:23 UTC
Created attachment 119939 [details, diff]
qca-openssl-slotted-qca2.patch

patch for slotted qca

Cheers,
Przemek
Comment 19 František Křivánek 2007-05-22 05:33:36 UTC
pls add amd64 keyword
Comment 20 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-23 14:35:54 UTC
Created attachment 120088 [details]
qca-openssl-0.1_p20070508.ebuild

Works with new slotting from bug#129536.
Comment 21 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-23 14:36:30 UTC
Created attachment 120089 [details]
qca-pkcs11-0.1_p20070508.ebuild

Same here.
Comment 22 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-23 15:08:04 UTC
Created attachment 120094 [details]
qca-gnupg-0.1_p20070510.ebuild
Comment 23 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-23 15:12:53 UTC
Created attachment 120096 [details]
qca-gnupg-0.1_p20070510.ebuild
Comment 24 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-23 16:01:15 UTC
Created attachment 120099 [details]
qca-cyrus-sasl-0.1_p20070508.ebuild
Comment 25 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-24 16:48:35 UTC
Created attachment 120201 [details]
qca-openssl-0.1_p20070508.ebuild

Added LD_LIBRARY_PATH to configure so it find the right QCA.
Comment 26 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-24 16:48:59 UTC
Created attachment 120202 [details]
qca-pkcs11-0.1_p20070508.ebuild

Added LD_LIBRARY_PATH to configure so it find the right QCA.
Comment 27 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-24 16:49:27 UTC
Created attachment 120204 [details]
qca-gnupg-0.1_p20070510.ebuild

Added LD_LIBRARY_PATH to configure so it find the right QCA.
Comment 28 Alon Bar-Lev (RETIRED) gentoo-dev 2007-05-24 16:49:52 UTC
Created attachment 120205 [details]
qca-cyrus-sasl-0.1_p20070508.ebuild

Added LD_LIBRARY_PATH to configure so it find the right QCA.
Comment 29 Davide Pesavento (RETIRED) gentoo-dev 2007-05-25 12:29:46 UTC
qca-openssl-0.1_p20070508 ebuild from comment #25 builds and works fine here. Compiled against qca-2.0.0_beta5 from https://bugs.gentoo.org/show_bug.cgi?id=129536#c30. I'm using psi-0.11_rc1 with SSL enabled to test it.
Comment 30 Alon Bar-Lev (RETIRED) gentoo-dev 2007-07-06 23:05:52 UTC
No point in managing this on separate bug.

*** This bug has been marked as a duplicate of bug 129536 ***