[Bug 279581] New: Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] New: Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581

           Summary: Can't compile digiKam with provided libpgf on PowerPC
                    machine (BigEndian)
           Product: digikam
           Version: 2.0.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           2.0.0 (using KDE 4.6.2)
OS:                Linux

The libpgf provided with digiKam does not compile on my PPC machine. I sent a
message with details to libpgf-devel, but it's not available under the web
interface yet. The error message was:

[...]/libpgf/Encoder.cpp: In member function ‘void
CEncoder::WriteMacroBlock(CEncoder::CMacroBlock*)’:
[...]/libpgf/Encoder.cpp:313:3: error: ‘m_codeBuffer’ was not declared in this
scope

I then installed libpgf-6.09.44 (even as a Debian package, using the debian
directory patch from libpgf-6.11.24 and uncommenting 'dh_makeshlibs' in
'debian/rules') and digiKam compiled and runs successfully, using that version.


Reproducible: Always

Steps to Reproduce:
Try to compile digiKam 2.0.0 on a PPC system without libpgf already installed.

Actual Results:  
Compilation breaks as described.

Expected Results:  
Compilation does not break.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=279581


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email],
                   |                            |rschweizer@schweizer-inform
                   |                            |atik.ch




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2011-08-07 11:41:45 ---
Raphael,

This entry is for you (:-)))

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Bugzilla from gnu_andrew@member.fsf.org
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581


Andrew John Hughes <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #2 from Andrew John Hughes <gnu_andrew member fsf org>  2011-08-16 01:29:31 ---
Hitting this on Gentoo too, ppc64 box with ppc32 userland.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Raphael Schweizer
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581





--- Comment #3 from Raphael Schweizer <rschweizer schweizer-informatik ch>  2011-08-16 07:20:42 ---
This should now be fixed on SourceForge in latest revision 48 (which also
includes a small speed improvement).

- Raphael

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Vlado Plaga
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581


Vlado Plaga <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #4 from Vlado Plaga <rechner vlado-do de>  2011-08-28 17:55:35 ---
Ok, I tried revision 48 from the SVN on SourceForge and it seems to work: it
compiled, and for testing purposes I also added a now image to the recompiled
digiKam, for which a new thumbnail was created.

I mark this bug as fixed, but of course the new libPGF has to be included in
digiKam for the problem to be gone.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Gilles Caulier-4
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |




--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2011-08-29 08:34:57 ---
Raphael,

When next libpgf release is planed exactly ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Gilles Caulier-4
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Raphael Schweizer
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581





--- Comment #6 from Raphael Schweizer <rschweizer schweizer-informatik ch>  2011-08-29 20:31:57 ---
Gilles,

we do not release libpgf with a fixed schedule. Instead we arbitrarily push our
internal repository to SourceForge once a bug is fixed or significant changes
were made.

Users of libpgf are welcome to pull whenever they want to. Currently we do not
expect to release a new version soon, so it might be a good moment to integrate
the latest fixes into digikam (if you want to have it work out of the box on
big endian systems).

- Raphael

Btw: I'm sorry that such an obvious error slipped through. We have taken
measures s.t. this should not happen again.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Gilles Caulier-4
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581





--- Comment #7 from Gilles Caulier <caulier gilles gmail com>  2011-08-29 20:39:06 ---
Ok, so, i will update internal libpgf with last svn trunk.

Do you have already increased libpgf version id ?

Gilles Caulier

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Raphael Schweizer
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581





--- Comment #8 from Raphael Schweizer <rschweizer schweizer-informatik ch>  2011-08-29 21:25:03 ---
Yes, version is 6.11.32, id 0x061132

Thanks, Raphael

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

John Mock KD6PAG
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581





--- Comment #9 from John Mock <KD6PAG AMSAT org>  2011-09-06 15:07:49 ---
Created an attachment (id=63446)
 --> (http://bugs.kde.org/attachment.cgi?id=63446)
Fix to compile libpgf on PowerPC

Try this patch if you are building libpgf as part of the digikam build.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Bugzilla from gnu_andrew@member.fsf.org
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581





--- Comment #10 from Andrew John Hughes <gnu_andrew member fsf org>  2011-09-07 03:02:42 ---
Both the patch and building from SVN works for me on ppc64 with 32-bit
userland.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Gilles Caulier-4
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #11 from Gilles Caulier <caulier gilles gmail com>  2011-09-07 12:16:38 ---
Git commit c4d8f51c0bbbb83d4f1b222e794937abc8b70cfa by Gilles Caulier.
Committed on 07/09/2011 at 14:15.
Pushed by cgilles into branch 'master'.

update internal LibPGF to svn rev. #48 (future lib version 6.11.32, not yet
released)
BUG: 279581

M  +13   -13   libs/3rdparty/libpgf/BitStream.h
M  +120  -123  libs/3rdparty/libpgf/Decoder.cpp
M  +23   -10   libs/3rdparty/libpgf/Decoder.h
M  +99   -101  libs/3rdparty/libpgf/Encoder.cpp
M  +27   -15   libs/3rdparty/libpgf/Encoder.h
M  +125  -110  libs/3rdparty/libpgf/PGFimage.cpp
M  +21   -20   libs/3rdparty/libpgf/PGFimage.h
M  +52   -58   libs/3rdparty/libpgf/PGFplatform.h
M  +37   -35   libs/3rdparty/libpgf/PGFstream.cpp
M  +30   -24   libs/3rdparty/libpgf/PGFstream.h
M  +18   -19   libs/3rdparty/libpgf/PGFtypes.h
M  +14   -18   libs/3rdparty/libpgf/Subband.cpp
M  +8    -8    libs/3rdparty/libpgf/Subband.h
M  +44   -30   libs/3rdparty/libpgf/WaveletTransform.cpp
M  +15   -12   libs/3rdparty/libpgf/WaveletTransform.h

http://commits.kde.org/digikam/c4d8f51c0bbbb83d4f1b222e794937abc8b70cfa

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

Gilles Caulier-4
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.2.0

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

bugzilla_noreply
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Portability

--
You are receiving this mail because:
You are the assignee for the bug.
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 279581] Can't compile digiKam with provided libpgf on PowerPC machine (BigEndian)

bugzilla_noreply
In reply to this post by Vlado Plaga
https://bugs.kde.org/show_bug.cgi?id=279581

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Portability                 |Bundle-Tarball

--
You are receiving this mail because:
You are the assignee for the bug.