[Kde-imaging] Ugly hack for am_edit for libkdcraw-ABI_MAJOR.mo

Achim Bohnet ach at mpe.mpg.de
Wed Jun 13 23:09:24 CEST 2007


Hi,
I've tested the patch with 0.1.0.   It's quite ugly
because it appends -ABI_MAJOR unconditionally and
admin/am_edit needs to be patched.

Maybe kde-core-devel has better ideas.

Now missing is on of:

a) were to add the insertCatalog(LIBKDCRAW_CATALOG) method
   in the library and add to Makefile.am
   KDE_CXXFLAGS=-DLIBKDCRAW_CATALOG='"libkdcraw-$(ABI_VERSION)"'
b) add LIBKDCRAW_CATALOG to version.h.in  and let the apps
   load the catalog
c) add insertLibkdcrawCatalog() helper method
d) ...

my favorite is a) because apps using libkdcraw don't have to
care about the catalog.

Achim

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: am_edit-abi_major-hack.diff
Type: text/x-diff
Size: 2226 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-imaging/attachments/20070613/37fb6165/attachment.bin 


More information about the Kde-imaging mailing list