Commit e85b5591 authored by Sven Langkamp's avatar Sven Langkamp

Readd Krita to build

parent 79150394
......@@ -92,7 +92,7 @@ calligra_define_product(APP_STAGE "Stage app (for Desktop)" REQUIRES PART_STAGE
calligra_define_product(APP_SHEETS "Sheets app (for Desktop)" UNPORTED REQUIRES PART_SHEETS)
calligra_define_product(APP_AUTHOR "Author app (for Desktop)" UNPORTED REQUIRES PART_WORDS)
calligra_define_product(APP_KARBON "Karbon app (for Desktop)" REQUIRES LIB_CALLIGRA)
calligra_define_product(APP_KRITA "Krita app (for Desktop)" UNPORTED REQUIRES LIB_CALLIGRA)
calligra_define_product(APP_KRITA "Krita app (for Desktop)" REQUIRES LIB_CALLIGRA)
calligra_define_product(APP_KEXI "Kexi app (for Desktop)" UNPORTED REQUIRES LIB_CALLIGRA)
calligra_define_product(APP_FLOW "Flow app (for Desktop)" UNPORTED REQUIRES LIB_CALLIGRA LIB_KOPAGEAPP)
calligra_define_product(APP_PLAN "Plan app (for Desktop)" UNPORTED REQUIRES LIB_CALLIGRA)
......
......@@ -5,6 +5,7 @@ set(kritabmpexport_PART_SRCS
ki18n_wrap_ui(kritabmpexport_PART_SRCS )
add_library(kritabmpexport MODULE ${kritabmpexport_PART_SRCS})
kcoreaddons_desktop_to_json(kritabmpexport krita_bmp_export.desktop)
target_link_libraries(kritabmpexport kritaui)
......@@ -18,6 +19,7 @@ set(kritabmpimport_PART_SRCS
ki18n_wrap_ui(kritabmpimport_PART_SRCS )
add_library(kritabmpimport MODULE ${kritabmpimport_PART_SRCS})
kcoreaddons_desktop_to_json(kritabmpimport krita_bmp_import.desktop)
target_link_libraries(kritabmpimport kritaui)
......
......@@ -32,8 +32,7 @@
#include <kis_image.h>
#include <kis_paint_layer.h>
K_PLUGIN_FACTORY(KisBMPExportFactory, registerPlugin<KisBMPExport>();)
K_EXPORT_PLUGIN(KisBMPExportFactory("calligrafilters"))
K_PLUGIN_FACTORY_WITH_JSON(KisBMPExportFactory, "krita_bmp_export.json", registerPlugin<KisBMPExport>();)
KisBMPExport::KisBMPExport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -41,8 +41,7 @@
#include <kis_group_layer.h>
K_PLUGIN_FACTORY(KisBMPImportFactory, registerPlugin<KisBMPImport>();)
K_EXPORT_PLUGIN(KisBMPImportFactory("calligrafilters"))
K_PLUGIN_FACTORY_WITH_JSON(KisBMPImportFactory, "krita_bmp_import.json", registerPlugin<KisBMPImport>();)
KisBMPImport::KisBMPImport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -16,7 +16,7 @@ set(kritaexrimport_PART_SRCS
)
add_library(kritaexrimport MODULE ${kritaexrimport_PART_SRCS})
kcoreaddons_desktop_to_json(kritaexrimport krita_exr_import.desktop)
target_link_libraries(kritaexrimport kritaui ${OPENEXR_LIBRARIES} )
......@@ -33,7 +33,7 @@ set(kritaexrexport_PART_SRCS
ki18n_wrap_ui(kritaexrexport_PART_SRCS exr_export_widget.ui )
add_library(kritaexrexport MODULE ${kritaexrexport_PART_SRCS})
kcoreaddons_desktop_to_json(kritaexrexport krita_exr_export.desktop)
target_link_libraries(kritaexrexport kritaui ${OPENEXR_LIBRARIES} )
......
......@@ -44,8 +44,7 @@
class KisExternalLayer;
K_PLUGIN_FACTORY(ExportFactory, registerPlugin<exrExport>();)
K_EXPORT_PLUGIN(ExportFactory("calligrafilters"))
K_PLUGIN_FACTORY_WITH_JSON(ExportFactory, "krita_exr_export.json", registerPlugin<exrExport>();)
exrExport::exrExport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -30,8 +30,7 @@
#include "exr_converter.h"
K_PLUGIN_FACTORY(ImportFactory, registerPlugin<exrImport>();)
K_EXPORT_PLUGIN(ImportFactory("calligrafilters"))
K_PLUGIN_FACTORY_WITH_JSON(ImportFactory, "krita_exr_import.json", registerPlugin<exrImport>();)
exrImport::exrImport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -7,6 +7,7 @@ set(kritaheightmapimport_PART_SRCS
ki18n_wrap_ui(kritaheightmapimport_PART_SRCS kis_wdg_options_heightmap.ui )
add_library(kritaheightmapimport MODULE ${kritaheightmapimport_PART_SRCS})
kcoreaddons_desktop_to_json(kritaheightmapimport krita_heightmap_import.desktop)
target_link_libraries(kritaheightmapimport kritaui )
......@@ -21,6 +22,7 @@ set(kritaheightmapexport_PART_SRCS
ki18n_wrap_ui(kritaheightmapexport_PART_SRCS kis_wdg_options_heightmap.ui )
add_library(kritaheightmapexport MODULE ${kritaheightmapexport_PART_SRCS})
kcoreaddons_desktop_to_json(kritaheightmapimport krita_heightmap_export.desktop)
target_link_libraries(kritaheightmapexport kritaui )
......
......@@ -46,8 +46,7 @@
#include "ui_kis_wdg_options_heightmap.h"
K_PLUGIN_FACTORY(KisHeightMapExportFactory, registerPlugin<KisHeightMapExport>();)
K_EXPORT_PLUGIN(KisHeightMapExportFactory("krita"))
K_PLUGIN_FACTORY_WITH_JSON(KisHeightMapExportFactory, "krita_heightmap_export.json", registerPlugin<KisHeightMapExport>();)
KisHeightMapExport::KisHeightMapExport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -50,8 +50,7 @@
#include "ui_kis_wdg_options_heightmap.h"
K_PLUGIN_FACTORY(HeightMapImportFactory, registerPlugin<KisHeightMapImport>();)
K_EXPORT_PLUGIN(HeightMapImportFactory("krita"))
K_PLUGIN_FACTORY_WITH_JSON(HeightMapImportFactory, "krita_heightmap_import.json", registerPlugin<KisHeightMapImport>();)
KisHeightMapImport::KisHeightMapImport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -7,7 +7,7 @@ set(kritapngimport_PART_SRCS
)
add_library(kritapngimport MODULE ${kritapngimport_PART_SRCS})
kcoreaddons_desktop_to_json(kritapngimport krita_png_import.desktop)
include_directories(${PNG_INCLUDE_DIR})
......@@ -26,7 +26,7 @@ set(kritapngexport_PART_SRCS
ki18n_wrap_ui(kritapngexport_PART_SRCS kis_wdg_options_png.ui )
add_library(kritapngexport MODULE ${kritapngexport_PART_SRCS})
kcoreaddons_desktop_to_json(kritapngexport krita_png_export.desktop)
target_link_libraries(kritapngexport kritaui ${PNG_LIBRARIES})
......
......@@ -46,8 +46,7 @@
#include "kis_png_converter.h"
#include <kis_iterator_ng.h>
K_PLUGIN_FACTORY(KisPNGExportFactory, registerPlugin<KisPNGExport>();)
K_EXPORT_PLUGIN(KisPNGExportFactory("calligrafilters"))
K_PLUGIN_FACTORY(KisPNGExportFactory, "krita_png_export.json", registerPlugin<KisPNGExport>();)
KisPNGExport::KisPNGExport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -31,8 +31,7 @@
#include "kis_png_converter.h"
K_PLUGIN_FACTORY(PNGImportFactory, registerPlugin<KisPNGImport>();)
K_EXPORT_PLUGIN(PNGImportFactory("calligrafilters"))
K_PLUGIN_FACTORY_WITH_JSON(PNGImportFactory, "krita_png_import.json", registerPlugin<KisPNGImport>();)
KisPNGImport::KisPNGImport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -7,6 +7,7 @@ set(kritappmimport_PART_SRCS
)
add_library(kritappmimport MODULE ${kritappmimport_PART_SRCS})
kcoreaddons_desktop_to_json(kritappmimport krita_ppm_import.desktop)
target_link_libraries(kritappmimport kritaui )
......@@ -21,6 +22,7 @@ set(kritappmexport_PART_SRCS
ki18n_wrap_ui(kritappmexport_PART_SRCS kis_wdg_options_ppm.ui )
add_library(kritappmexport MODULE ${kritappmexport_PART_SRCS})
kcoreaddons_desktop_to_json(kritappmexport krita_ppm_export.desktop)
target_link_libraries(kritappmexport kritaui )
......
......@@ -44,8 +44,7 @@
#include <QApplication>
K_PLUGIN_FACTORY(KisPPMExportFactory, registerPlugin<KisPPMExport>();)
K_EXPORT_PLUGIN(KisPPMExportFactory("krita"))
K_PLUGIN_FACTORY_WITH_JSON(KisPPMExportFactory, "krita_ppm_export.json", registerPlugin<KisPPMExport>();)
KisPPMExport::KisPPMExport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
......@@ -45,8 +45,7 @@
#include <KoColorModelStandardIds.h>
#include "kis_iterator_ng.h"
K_PLUGIN_FACTORY(PPMImportFactory, registerPlugin<KisPPMImport>();)
K_EXPORT_PLUGIN(PPMImportFactory("krita"))
K_PLUGIN_FACTORY_WITH_JSON(PPMImportFactory, "krita_ppm_import.json", registerPlugin<KisPPMImport>();)
KisPPMImport::KisPPMImport(QObject *parent, const QVariantList &) : KisImportExportFilter(parent)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment