]> granicus.if.org Git - openjpeg/commitdiff
[trunk] Start FolderReorgProposal task
authorMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 28 Sep 2012 08:11:41 +0000 (08:11 +0000)
committerMathieu Malaterre <mathieu.malaterre@gmail.com>
Fri, 28 Sep 2012 08:11:41 +0000 (08:11 +0000)
Update issue 177

246 files changed:
CMakeLists.txt
cmake/CTestCustom.cmake.in [moved from CMake/CTestCustom.cmake.in with 100% similarity]
cmake/FindCPPCHECK.cmake [moved from CMake/FindCPPCHECK.cmake with 100% similarity]
cmake/FindFCGI.cmake [moved from CMake/FindFCGI.cmake with 100% similarity]
cmake/FindKAKADU.cmake [moved from CMake/FindKAKADU.cmake with 100% similarity]
cmake/FindLCMS.cmake [moved from CMake/FindLCMS.cmake with 100% similarity]
cmake/FindLCMS2.cmake [moved from CMake/FindLCMS2.cmake with 100% similarity]
cmake/JPIPTestDriver.cmake [moved from CMake/JPIPTestDriver.cmake with 100% similarity]
cmake/OpenJPEGCPack.cmake [moved from CMake/OpenJPEGCPack.cmake with 100% similarity]
cmake/OpenJPEGConfig.cmake.in [moved from CMake/OpenJPEGConfig.cmake.in with 100% similarity]
cmake/TestFileOffsetBits.c [moved from CMake/TestFileOffsetBits.c with 100% similarity]
cmake/TestLargeFiles.c.cmake.in [moved from CMake/TestLargeFiles.c.cmake.in with 100% similarity]
cmake/TestLargeFiles.cmake [moved from CMake/TestLargeFiles.cmake with 93% similarity]
cmake/TestWindowsFSeek.c [moved from CMake/TestWindowsFSeek.c with 100% similarity]
cmake/openjpeg_valgrind.supp [moved from CMake/openjpeg_valgrind.supp with 100% similarity]
libopenjpeg/jpwl/CMakeLists.txt [deleted file]
src/CMakeLists.txt [new file with mode: 0644]
src/bin/CMakeLists.txt [new file with mode: 0644]
src/bin/common/CMakeLists.txt [new file with mode: 0644]
src/bin/common/color.c [moved from applications/common/color.c with 100% similarity]
src/bin/common/color.h [moved from applications/common/color.h with 100% similarity]
src/bin/common/format_defs.h [moved from applications/common/format_defs.h with 100% similarity]
src/bin/common/opj_getopt.c [moved from applications/common/opj_getopt.c with 100% similarity]
src/bin/common/opj_getopt.h [moved from applications/common/opj_getopt.h with 100% similarity]
src/bin/jp2/CMakeLists.txt [moved from applications/codec/CMakeLists.txt with 93% similarity]
src/bin/jp2/Makefile.am [moved from applications/codec/Makefile.am with 100% similarity]
src/bin/jp2/README [moved from applications/codec/README with 100% similarity]
src/bin/jp2/convert.c [moved from applications/codec/convert.c with 100% similarity]
src/bin/jp2/convert.h [moved from applications/codec/convert.h with 100% similarity]
src/bin/jp2/image_to_j2k.c [moved from applications/codec/image_to_j2k.c with 100% similarity]
src/bin/jp2/index.c [moved from applications/codec/index.c with 100% similarity]
src/bin/jp2/index.h [moved from applications/codec/index.h with 100% similarity]
src/bin/jp2/j2k_dump.c [moved from applications/codec/j2k_dump.c with 100% similarity]
src/bin/jp2/j2k_to_image.c [moved from applications/codec/j2k_to_image.c with 100% similarity]
src/bin/jp2/windirent.h [moved from applications/codec/windirent.h with 100% similarity]
src/bin/jpip/CMakeLists.txt [moved from applications/jpip/util/CMakeLists.txt with 97% similarity]
src/bin/jpip/Makefile.am [moved from applications/jpip/util/Makefile.am with 100% similarity]
src/bin/jpip/addXMLinJP2.c [moved from applications/jpip/util/addXMLinJP2.c with 100% similarity]
src/bin/jpip/jpip_to_j2k.c [moved from applications/jpip/util/jpip_to_j2k.c with 100% similarity]
src/bin/jpip/jpip_to_jp2.c [moved from applications/jpip/util/jpip_to_jp2.c with 100% similarity]
src/bin/jpip/opj_dec_server.c [moved from applications/jpip/util/opj_dec_server.c with 100% similarity]
src/bin/jpip/opj_server.c [moved from applications/jpip/util/opj_server.c with 100% similarity]
src/bin/jpip/opj_viewer/dist/manifest.txt [moved from applications/jpip/util/opj_viewer/dist/manifest.txt with 100% similarity]
src/bin/jpip/opj_viewer/src/ImageManager.java [moved from applications/jpip/util/opj_viewer/src/ImageManager.java with 100% similarity]
src/bin/jpip/opj_viewer/src/ImageViewer.java [moved from applications/jpip/util/opj_viewer/src/ImageViewer.java with 100% similarity]
src/bin/jpip/opj_viewer/src/ImageWindow.java [moved from applications/jpip/util/opj_viewer/src/ImageWindow.java with 100% similarity]
src/bin/jpip/opj_viewer/src/ImgdecClient.java [moved from applications/jpip/util/opj_viewer/src/ImgdecClient.java with 100% similarity]
src/bin/jpip/opj_viewer/src/JPIPHttpClient.java [moved from applications/jpip/util/opj_viewer/src/JPIPHttpClient.java with 100% similarity]
src/bin/jpip/opj_viewer/src/MML.java [moved from applications/jpip/util/opj_viewer/src/MML.java with 100% similarity]
src/bin/jpip/opj_viewer/src/PnmImage.java [moved from applications/jpip/util/opj_viewer/src/PnmImage.java with 100% similarity]
src/bin/jpip/opj_viewer/src/RegimViewer.java [moved from applications/jpip/util/opj_viewer/src/RegimViewer.java with 100% similarity]
src/bin/jpip/opj_viewer/src/ResizeListener.java [moved from applications/jpip/util/opj_viewer/src/ResizeListener.java with 100% similarity]
src/bin/jpip/opj_viewer_xerces/dist/manifest.txt.in [moved from applications/jpip/util/opj_viewer_xerces/dist/manifest.txt.in with 100% similarity]
src/bin/jpip/opj_viewer_xerces/src/ImageViewer.java [moved from applications/jpip/util/opj_viewer_xerces/src/ImageViewer.java with 100% similarity]
src/bin/jpip/opj_viewer_xerces/src/ImageWindow.java [moved from applications/jpip/util/opj_viewer_xerces/src/ImageWindow.java with 100% similarity]
src/bin/jpip/opj_viewer_xerces/src/JP2XMLparser.java [moved from applications/jpip/util/opj_viewer_xerces/src/JP2XMLparser.java with 100% similarity]
src/bin/jpip/opj_viewer_xerces/src/OptionPanel.java [moved from applications/jpip/util/opj_viewer_xerces/src/OptionPanel.java with 100% similarity]
src/bin/jpip/test_index.c [moved from applications/jpip/util/test_index.c with 100% similarity]
src/bin/mj2/CMakeLists.txt [moved from applications/mj2/CMakeLists.txt with 51% similarity]
src/bin/mj2/Makefile.am [moved from applications/mj2/Makefile.am with 100% similarity]
src/bin/mj2/extract_j2k_from_mj2.c [moved from applications/mj2/extract_j2k_from_mj2.c with 100% similarity]
src/bin/mj2/frames_to_mj2.c [moved from applications/mj2/frames_to_mj2.c with 100% similarity]
src/bin/mj2/meta_out.c [moved from applications/mj2/meta_out.c with 100% similarity]
src/bin/mj2/meta_out.h [moved from applications/mj2/meta_out.h with 100% similarity]
src/bin/mj2/mj2.c [moved from applications/mj2/mj2.c with 100% similarity]
src/bin/mj2/mj2.h [moved from applications/mj2/mj2.h with 100% similarity]
src/bin/mj2/mj2_convert.c [moved from applications/mj2/mj2_convert.c with 100% similarity]
src/bin/mj2/mj2_convert.h [moved from applications/mj2/mj2_convert.h with 100% similarity]
src/bin/mj2/mj2_to_frames.c [moved from applications/mj2/mj2_to_frames.c with 100% similarity]
src/bin/mj2/mj2_to_metadata.c [moved from applications/mj2/mj2_to_metadata.c with 100% similarity]
src/bin/mj2/mj2_to_metadata.dtd [moved from applications/mj2/mj2_to_metadata.dtd with 100% similarity]
src/bin/mj2/mj2_to_metadata.h [moved from applications/mj2/mj2_to_metadata.h with 100% similarity]
src/bin/mj2/mj2_to_metadata.sln [moved from applications/mj2/mj2_to_metadata.sln with 100% similarity]
src/bin/mj2/mj2_to_metadata.vcproj [moved from applications/mj2/mj2_to_metadata.vcproj with 100% similarity]
src/bin/mj2/mj2_to_metadata_Notes.doc [moved from applications/mj2/mj2_to_metadata_Notes.doc with 100% similarity]
src/bin/mj2/readme.txt [moved from applications/mj2/readme.txt with 100% similarity]
src/bin/mj2/wrap_j2k_in_mj2.c [moved from applications/mj2/wrap_j2k_in_mj2.c with 100% similarity]
src/bin/wx/CMakeLists.txt [new file with mode: 0644]
src/bin/wx/OPJViewer/CMakeLists.txt [moved from applications/OPJViewer/CMakeLists.txt with 100% similarity]
src/bin/wx/OPJViewer/OPJViewer.iss [moved from applications/OPJViewer/OPJViewer.iss with 100% similarity]
src/bin/wx/OPJViewer/Readme.txt [moved from applications/OPJViewer/Readme.txt with 100% similarity]
src/bin/wx/OPJViewer/about/about.htm [moved from applications/OPJViewer/about/about.htm with 100% similarity]
src/bin/wx/OPJViewer/about/opj_logo.png [moved from applications/OPJViewer/about/opj_logo.png with 100% similarity]
src/bin/wx/OPJViewer/source/OPJAbout.cpp [moved from applications/OPJViewer/source/OPJAbout.cpp with 100% similarity]
src/bin/wx/OPJViewer/source/OPJChild.ico [moved from applications/OPJViewer/source/OPJChild.ico with 100% similarity]
src/bin/wx/OPJViewer/source/OPJChild16.xpm [moved from applications/OPJViewer/source/OPJChild16.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/OPJDialogs.cpp [moved from applications/OPJViewer/source/OPJDialogs.cpp with 100% similarity]
src/bin/wx/OPJViewer/source/OPJThreads.cpp [moved from applications/OPJViewer/source/OPJThreads.cpp with 100% similarity]
src/bin/wx/OPJViewer/source/OPJViewer.cpp [moved from applications/OPJViewer/source/OPJViewer.cpp with 100% similarity]
src/bin/wx/OPJViewer/source/OPJViewer.h [moved from applications/OPJViewer/source/OPJViewer.h with 100% similarity]
src/bin/wx/OPJViewer/source/OPJViewer.ico [moved from applications/OPJViewer/source/OPJViewer.ico with 100% similarity]
src/bin/wx/OPJViewer/source/OPJViewer.rc [moved from applications/OPJViewer/source/OPJViewer.rc with 100% similarity]
src/bin/wx/OPJViewer/source/OPJViewer16.xpm [moved from applications/OPJViewer/source/OPJViewer16.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/about_htm.h [moved from applications/OPJViewer/source/about_htm.h with 100% similarity]
src/bin/wx/OPJViewer/source/build.h [moved from applications/OPJViewer/source/build.h with 100% similarity]
src/bin/wx/OPJViewer/source/icon1.xpm [moved from applications/OPJViewer/source/icon1.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/icon2.xpm [moved from applications/OPJViewer/source/icon2.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/icon3.xpm [moved from applications/OPJViewer/source/icon3.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/icon4.xpm [moved from applications/OPJViewer/source/icon4.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/icon5.xpm [moved from applications/OPJViewer/source/icon5.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/imagjpeg2000.cpp [moved from applications/OPJViewer/source/imagjpeg2000.cpp with 100% similarity]
src/bin/wx/OPJViewer/source/imagjpeg2000.h [moved from applications/OPJViewer/source/imagjpeg2000.h with 100% similarity]
src/bin/wx/OPJViewer/source/imagmxf.cpp [moved from applications/OPJViewer/source/imagmxf.cpp with 100% similarity]
src/bin/wx/OPJViewer/source/imagmxf.h [moved from applications/OPJViewer/source/imagmxf.h with 100% similarity]
src/bin/wx/OPJViewer/source/license.txt [moved from applications/OPJViewer/source/license.txt with 100% similarity]
src/bin/wx/OPJViewer/source/opj_logo.xpm [moved from applications/OPJViewer/source/opj_logo.xpm with 100% similarity]
src/bin/wx/OPJViewer/source/readmeafter.txt [moved from applications/OPJViewer/source/readmeafter.txt with 100% similarity]
src/bin/wx/OPJViewer/source/readmebefore.txt [moved from applications/OPJViewer/source/readmebefore.txt with 100% similarity]
src/bin/wx/OPJViewer/source/wxj2kparser.cpp [moved from applications/OPJViewer/source/wxj2kparser.cpp with 100% similarity]
src/bin/wx/OPJViewer/source/wxjp2parser.cpp [moved from applications/OPJViewer/source/wxjp2parser.cpp with 100% similarity]
src/lib/openjp2/CMakeLists.txt [moved from libopenjpeg/CMakeLists.txt with 97% similarity]
src/lib/openjp2/Makefile.am [moved from libopenjpeg/Makefile.am with 100% similarity]
src/lib/openjp2/bio.c [moved from libopenjpeg/bio.c with 100% similarity]
src/lib/openjp2/bio.h [moved from libopenjpeg/bio.h with 100% similarity]
src/lib/openjp2/cidx_manager.c [moved from libopenjpeg/cidx_manager.c with 100% similarity]
src/lib/openjp2/cidx_manager.h [moved from libopenjpeg/cidx_manager.h with 100% similarity]
src/lib/openjp2/cio.c [moved from libopenjpeg/cio.c with 100% similarity]
src/lib/openjp2/cio.h [moved from libopenjpeg/cio.h with 100% similarity]
src/lib/openjp2/dwt.c [moved from libopenjpeg/dwt.c with 100% similarity]
src/lib/openjp2/dwt.h [moved from libopenjpeg/dwt.h with 100% similarity]
src/lib/openjp2/event.c [moved from libopenjpeg/event.c with 100% similarity]
src/lib/openjp2/event.h [moved from libopenjpeg/event.h with 100% similarity]
src/lib/openjp2/fix.h [moved from libopenjpeg/fix.h with 100% similarity]
src/lib/openjp2/function_list.c [moved from libopenjpeg/function_list.c with 100% similarity]
src/lib/openjp2/function_list.h [moved from libopenjpeg/function_list.h with 100% similarity]
src/lib/openjp2/image.c [moved from libopenjpeg/image.c with 100% similarity]
src/lib/openjp2/image.h [moved from libopenjpeg/image.h with 100% similarity]
src/lib/openjp2/indexbox_manager.h [moved from libopenjpeg/indexbox_manager.h with 100% similarity]
src/lib/openjp2/int.h [moved from libopenjpeg/int.h with 100% similarity]
src/lib/openjp2/j2k.c [moved from libopenjpeg/j2k.c with 100% similarity]
src/lib/openjp2/j2k.h [moved from libopenjpeg/j2k.h with 100% similarity]
src/lib/openjp2/j2k_lib.c [moved from libopenjpeg/j2k_lib.c with 100% similarity]
src/lib/openjp2/j2k_lib.h [moved from libopenjpeg/j2k_lib.h with 100% similarity]
src/lib/openjp2/jp2.c [moved from libopenjpeg/jp2.c with 100% similarity]
src/lib/openjp2/jp2.h [moved from libopenjpeg/jp2.h with 100% similarity]
src/lib/openjp2/jpt.c [moved from libopenjpeg/jpt.c with 100% similarity]
src/lib/openjp2/jpt.h [moved from libopenjpeg/jpt.h with 100% similarity]
src/lib/openjp2/mct.c [moved from libopenjpeg/mct.c with 100% similarity]
src/lib/openjp2/mct.h [moved from libopenjpeg/mct.h with 100% similarity]
src/lib/openjp2/mqc.c [moved from libopenjpeg/mqc.c with 100% similarity]
src/lib/openjp2/mqc.h [moved from libopenjpeg/mqc.h with 100% similarity]
src/lib/openjp2/openjpeg.c [moved from libopenjpeg/openjpeg.c with 100% similarity]
src/lib/openjp2/openjpeg.h [moved from libopenjpeg/openjpeg.h with 100% similarity]
src/lib/openjp2/opj_includes.h [moved from libopenjpeg/opj_includes.h with 99% similarity]
src/lib/openjp2/opj_inttypes.h [moved from libopenjpeg/opj_inttypes.h with 100% similarity]
src/lib/openjp2/opj_malloc.h [moved from libopenjpeg/opj_malloc.h with 100% similarity]
src/lib/openjp2/opj_stdint.h [moved from libopenjpeg/opj_stdint.h with 100% similarity]
src/lib/openjp2/phix_manager.c [moved from libopenjpeg/phix_manager.c with 100% similarity]
src/lib/openjp2/pi.c [moved from libopenjpeg/pi.c with 100% similarity]
src/lib/openjp2/pi.h [moved from libopenjpeg/pi.h with 100% similarity]
src/lib/openjp2/ppix_manager.c [moved from libopenjpeg/ppix_manager.c with 100% similarity]
src/lib/openjp2/raw.c [moved from libopenjpeg/raw.c with 100% similarity]
src/lib/openjp2/raw.h [moved from libopenjpeg/raw.h with 100% similarity]
src/lib/openjp2/t1.c [moved from libopenjpeg/t1.c with 100% similarity]
src/lib/openjp2/t1.h [moved from libopenjpeg/t1.h with 100% similarity]
src/lib/openjp2/t1_generate_luts.c [moved from libopenjpeg/t1_generate_luts.c with 100% similarity]
src/lib/openjp2/t1_luts.h [moved from libopenjpeg/t1_luts.h with 100% similarity]
src/lib/openjp2/t2.c [moved from libopenjpeg/t2.c with 100% similarity]
src/lib/openjp2/t2.h [moved from libopenjpeg/t2.h with 100% similarity]
src/lib/openjp2/tcd.c [moved from libopenjpeg/tcd.c with 100% similarity]
src/lib/openjp2/tcd.h [moved from libopenjpeg/tcd.h with 100% similarity]
src/lib/openjp2/tgt.c [moved from libopenjpeg/tgt.c with 100% similarity]
src/lib/openjp2/tgt.h [moved from libopenjpeg/tgt.h with 100% similarity]
src/lib/openjp2/thix_manager.c [moved from libopenjpeg/thix_manager.c with 100% similarity]
src/lib/openjp2/tpix_manager.c [moved from libopenjpeg/tpix_manager.c with 100% similarity]
src/lib/openjpip/CMakeLists.txt [moved from applications/jpip/libopenjpip/CMakeLists.txt with 98% similarity]
src/lib/openjpip/Makefile.am [moved from applications/jpip/libopenjpip/Makefile.am with 100% similarity]
src/lib/openjpip/auxtrans_manager.c [moved from applications/jpip/libopenjpip/auxtrans_manager.c with 100% similarity]
src/lib/openjpip/auxtrans_manager.h [moved from applications/jpip/libopenjpip/auxtrans_manager.h with 100% similarity]
src/lib/openjpip/bool.h [moved from applications/jpip/libopenjpip/bool.h with 100% similarity]
src/lib/openjpip/box_manager.c [moved from applications/jpip/libopenjpip/box_manager.c with 100% similarity]
src/lib/openjpip/box_manager.h [moved from applications/jpip/libopenjpip/box_manager.h with 100% similarity]
src/lib/openjpip/boxheader_manager.c [moved from applications/jpip/libopenjpip/boxheader_manager.c with 100% similarity]
src/lib/openjpip/boxheader_manager.h [moved from applications/jpip/libopenjpip/boxheader_manager.h with 100% similarity]
src/lib/openjpip/byte_manager.c [moved from applications/jpip/libopenjpip/byte_manager.c with 100% similarity]
src/lib/openjpip/byte_manager.h [moved from applications/jpip/libopenjpip/byte_manager.h with 100% similarity]
src/lib/openjpip/cache_manager.c [moved from applications/jpip/libopenjpip/cache_manager.c with 100% similarity]
src/lib/openjpip/cache_manager.h [moved from applications/jpip/libopenjpip/cache_manager.h with 100% similarity]
src/lib/openjpip/cachemodel_manager.c [moved from applications/jpip/libopenjpip/cachemodel_manager.c with 100% similarity]
src/lib/openjpip/cachemodel_manager.h [moved from applications/jpip/libopenjpip/cachemodel_manager.h with 100% similarity]
src/lib/openjpip/channel_manager.c [moved from applications/jpip/libopenjpip/channel_manager.c with 100% similarity]
src/lib/openjpip/channel_manager.h [moved from applications/jpip/libopenjpip/channel_manager.h with 100% similarity]
src/lib/openjpip/codestream_manager.c [moved from applications/jpip/libopenjpip/codestream_manager.c with 100% similarity]
src/lib/openjpip/codestream_manager.h [moved from applications/jpip/libopenjpip/codestream_manager.h with 100% similarity]
src/lib/openjpip/dec_clientmsg_handler.c [moved from applications/jpip/libopenjpip/dec_clientmsg_handler.c with 100% similarity]
src/lib/openjpip/dec_clientmsg_handler.h [moved from applications/jpip/libopenjpip/dec_clientmsg_handler.h with 100% similarity]
src/lib/openjpip/faixbox_manager.c [moved from applications/jpip/libopenjpip/faixbox_manager.c with 100% similarity]
src/lib/openjpip/faixbox_manager.h [moved from applications/jpip/libopenjpip/faixbox_manager.h with 100% similarity]
src/lib/openjpip/ihdrbox_manager.c [moved from applications/jpip/libopenjpip/ihdrbox_manager.c with 100% similarity]
src/lib/openjpip/ihdrbox_manager.h [moved from applications/jpip/libopenjpip/ihdrbox_manager.h with 100% similarity]
src/lib/openjpip/imgreg_manager.c [moved from applications/jpip/libopenjpip/imgreg_manager.c with 100% similarity]
src/lib/openjpip/imgreg_manager.h [moved from applications/jpip/libopenjpip/imgreg_manager.h with 100% similarity]
src/lib/openjpip/imgsock_manager.c [moved from applications/jpip/libopenjpip/imgsock_manager.c with 100% similarity]
src/lib/openjpip/imgsock_manager.h [moved from applications/jpip/libopenjpip/imgsock_manager.h with 100% similarity]
src/lib/openjpip/index_manager.c [moved from applications/jpip/libopenjpip/index_manager.c with 100% similarity]
src/lib/openjpip/index_manager.h [moved from applications/jpip/libopenjpip/index_manager.h with 100% similarity]
src/lib/openjpip/j2kheader_manager.c [moved from applications/jpip/libopenjpip/j2kheader_manager.c with 100% similarity]
src/lib/openjpip/j2kheader_manager.h [moved from applications/jpip/libopenjpip/j2kheader_manager.h with 100% similarity]
src/lib/openjpip/jp2k_decoder.c [moved from applications/jpip/libopenjpip/jp2k_decoder.c with 100% similarity]
src/lib/openjpip/jp2k_decoder.h [moved from applications/jpip/libopenjpip/jp2k_decoder.h with 100% similarity]
src/lib/openjpip/jp2k_encoder.c [moved from applications/jpip/libopenjpip/jp2k_encoder.c with 100% similarity]
src/lib/openjpip/jp2k_encoder.h [moved from applications/jpip/libopenjpip/jp2k_encoder.h with 100% similarity]
src/lib/openjpip/jpip_parser.c [moved from applications/jpip/libopenjpip/jpip_parser.c with 100% similarity]
src/lib/openjpip/jpip_parser.h [moved from applications/jpip/libopenjpip/jpip_parser.h with 100% similarity]
src/lib/openjpip/jpipstream_manager.c [moved from applications/jpip/libopenjpip/jpipstream_manager.c with 100% similarity]
src/lib/openjpip/jpipstream_manager.h [moved from applications/jpip/libopenjpip/jpipstream_manager.h with 100% similarity]
src/lib/openjpip/manfbox_manager.c [moved from applications/jpip/libopenjpip/manfbox_manager.c with 100% similarity]
src/lib/openjpip/manfbox_manager.h [moved from applications/jpip/libopenjpip/manfbox_manager.h with 100% similarity]
src/lib/openjpip/marker_manager.c [moved from applications/jpip/libopenjpip/marker_manager.c with 100% similarity]
src/lib/openjpip/marker_manager.h [moved from applications/jpip/libopenjpip/marker_manager.h with 100% similarity]
src/lib/openjpip/metadata_manager.c [moved from applications/jpip/libopenjpip/metadata_manager.c with 100% similarity]
src/lib/openjpip/metadata_manager.h [moved from applications/jpip/libopenjpip/metadata_manager.h with 100% similarity]
src/lib/openjpip/mhixbox_manager.c [moved from applications/jpip/libopenjpip/mhixbox_manager.c with 100% similarity]
src/lib/openjpip/mhixbox_manager.h [moved from applications/jpip/libopenjpip/mhixbox_manager.h with 100% similarity]
src/lib/openjpip/msgqueue_manager.c [moved from applications/jpip/libopenjpip/msgqueue_manager.c with 100% similarity]
src/lib/openjpip/msgqueue_manager.h [moved from applications/jpip/libopenjpip/msgqueue_manager.h with 100% similarity]
src/lib/openjpip/openjpip.c [moved from applications/jpip/libopenjpip/openjpip.c with 100% similarity]
src/lib/openjpip/openjpip.h [moved from applications/jpip/libopenjpip/openjpip.h with 100% similarity]
src/lib/openjpip/placeholder_manager.c [moved from applications/jpip/libopenjpip/placeholder_manager.c with 100% similarity]
src/lib/openjpip/placeholder_manager.h [moved from applications/jpip/libopenjpip/placeholder_manager.h with 100% similarity]
src/lib/openjpip/query_parser.c [moved from applications/jpip/libopenjpip/query_parser.c with 100% similarity]
src/lib/openjpip/query_parser.h [moved from applications/jpip/libopenjpip/query_parser.h with 100% similarity]
src/lib/openjpip/session_manager.c [moved from applications/jpip/libopenjpip/session_manager.c with 100% similarity]
src/lib/openjpip/session_manager.h [moved from applications/jpip/libopenjpip/session_manager.h with 100% similarity]
src/lib/openjpip/sock_manager.c [moved from applications/jpip/libopenjpip/sock_manager.c with 100% similarity]
src/lib/openjpip/sock_manager.h [moved from applications/jpip/libopenjpip/sock_manager.h with 100% similarity]
src/lib/openjpip/target_manager.c [moved from applications/jpip/libopenjpip/target_manager.c with 100% similarity]
src/lib/openjpip/target_manager.h [moved from applications/jpip/libopenjpip/target_manager.h with 100% similarity]
src/lib/openjpwl/CMakeLists.txt [new file with mode: 0644]
src/lib/openjpwl/Makefile.am [moved from libopenjpeg/jpwl/Makefile.am with 100% similarity]
src/lib/openjpwl/README.txt [moved from libopenjpeg/jpwl/README.txt with 100% similarity]
src/lib/openjpwl/crc.c [moved from libopenjpeg/jpwl/crc.c with 100% similarity]
src/lib/openjpwl/crc.h [moved from libopenjpeg/jpwl/crc.h with 100% similarity]
src/lib/openjpwl/jpwl.c [moved from libopenjpeg/jpwl/jpwl.c with 100% similarity]
src/lib/openjpwl/jpwl.h [moved from libopenjpeg/jpwl/jpwl.h with 100% similarity]
src/lib/openjpwl/jpwl_lib.c [moved from libopenjpeg/jpwl/jpwl_lib.c with 100% similarity]
src/lib/openjpwl/rs.c [moved from libopenjpeg/jpwl/rs.c with 100% similarity]
src/lib/openjpwl/rs.h [moved from libopenjpeg/jpwl/rs.h with 100% similarity]
tests/CMakeLists.txt
wrapping/java/openjp2/CMakeLists.txt [moved from applications/JavaOpenJPEG/CMakeLists.txt with 100% similarity]
wrapping/java/openjp2/JavaOpenJPEG.c [moved from applications/JavaOpenJPEG/JavaOpenJPEG.c with 100% similarity]
wrapping/java/openjp2/JavaOpenJPEGDecoder.c [moved from applications/JavaOpenJPEG/JavaOpenJPEGDecoder.c with 100% similarity]
wrapping/java/openjp2/java-sources/org/openJpeg/OpenJPEGJavaDecoder.java [moved from applications/JavaOpenJPEG/java-sources/org/openJpeg/OpenJPEGJavaDecoder.java with 100% similarity]
wrapping/java/openjp2/java-sources/org/openJpeg/OpenJPEGJavaEncoder.java [moved from applications/JavaOpenJPEG/java-sources/org/openJpeg/OpenJPEGJavaEncoder.java with 100% similarity]
wrapping/java/openjp2/org_openJpeg_OpenJPEGJavaDecoder.h [moved from applications/JavaOpenJPEG/org_openJpeg_OpenJPEGJavaDecoder.h with 100% similarity]
wrapping/java/openjp2/org_openJpeg_OpenJPEGJavaEncoder.h [moved from applications/JavaOpenJPEG/org_openJpeg_OpenJPEGJavaEncoder.h with 100% similarity]

index f779df553359a51abcba10f28a79eed01f926e30..ecf6709842acaa35f0328ac0b7ea32d472e8a0d2 100644 (file)
@@ -42,7 +42,7 @@ set(OPENJPEG_LIBRARY_PROPERTIES
 # --------------------------------------------------------------------------
 # Path to additional CMake modules
 set(CMAKE_MODULE_PATH
-    ${CMAKE_SOURCE_DIR}/CMake
+    ${CMAKE_SOURCE_DIR}/cmake
     ${CMAKE_MODULE_PATH})
 
 # --------------------------------------------------------------------------
@@ -121,7 +121,7 @@ TEST_BIG_ENDIAN(OPJ_BIG_ENDIAN)
 #-----------------------------------------------------------------------------
 # Setup file for setting custom ctest vars
 configure_file(
-  ${CMAKE_SOURCE_DIR}/CMake/CTestCustom.cmake.in
+  ${CMAKE_SOURCE_DIR}/cmake/CTestCustom.cmake.in
   ${CMAKE_BINARY_DIR}/CTestCustom.cmake
   @ONLY
   )
@@ -185,7 +185,7 @@ OPJ_TEST_LARGE_FILES(OPJ_HAVE_LARGEFILES)
 #-----------------------------------------------------------------------------
 # Build Library
 include_directories(BEFORE ${OPENJPEG_BINARY_DIR})
-add_subdirectory(libopenjpeg)
+add_subdirectory(src)
 
 #-----------------------------------------------------------------------------
 # Build Applications
@@ -206,7 +206,7 @@ if(BUILD_CODEC OR BUILD_MJ2)
   # ON: 3rd party libs will ALWAYS be build, and used
   option(BUILD_THIRDPARTY "Build the thirdparty executables if it is needed" OFF)
   add_subdirectory(thirdparty)
-  add_subdirectory(applications)
+  add_subdirectory(src/bin)
 endif ()
 
 include(CheckTypeSize)
@@ -225,7 +225,7 @@ install( FILES  ${CMAKE_CURRENT_BINARY_DIR}/opj_config.h
 # Build DOCUMENTATION (not in ALL target and only if Doxygen is found)
 option(BUILD_DOC "Build the HTML documentation (with doxygen if available)." OFF)
 if(BUILD_DOC)
-    add_subdirectory(doc)
+  add_subdirectory(doc)
 endif()
 
 #-----------------------------------------------------------------------------
@@ -256,7 +256,7 @@ endif()
 #-----------------------------------------------------------------------------
 # install all targets referenced as OPENJPEGTargets
 install(EXPORT OpenJPEGTargets DESTINATION ${OPENJPEG_INSTALL_PACKAGE_DIR})
-configure_file( ${OPENJPEG_SOURCE_DIR}/CMake/OpenJPEGConfig.cmake.in
+configure_file( ${OPENJPEG_SOURCE_DIR}/cmake/OpenJPEGConfig.cmake.in
   ${OPENJPEG_BINARY_DIR}/OpenJPEGConfig.cmake
   @ONLY
 )
@@ -271,4 +271,4 @@ if(EXISTS ${OPENJPEG_SOURCE_DIR}/CHANGES)
 endif()
 install(FILES LICENSE DESTINATION ${OPENJPEG_INSTALL_DOC_DIR})
 
-include (CMake/OpenJPEGCPack.cmake)
+include (cmake/OpenJPEGCPack.cmake)
similarity index 100%
rename from CMake/FindFCGI.cmake
rename to cmake/FindFCGI.cmake
similarity index 100%
rename from CMake/FindLCMS.cmake
rename to cmake/FindLCMS.cmake
similarity index 100%
rename from CMake/FindLCMS2.cmake
rename to cmake/FindLCMS2.cmake
similarity index 93%
rename from CMake/TestLargeFiles.cmake
rename to cmake/TestLargeFiles.cmake
index d22782b4fd45aa851d9a38ba7bb7d2b5b3dc5e27..ffef84f5f27d728536432d3deed47667b2023315 100644 (file)
@@ -27,7 +27,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
 
         # First check without any special flags
         try_compile(FILE64_OK "${PROJECT_BINARY_DIR}"
-                    "${PROJECT_SOURCE_DIR}/CMake/TestFileOffsetBits.c")
+                    "${PROJECT_SOURCE_DIR}/cmake/TestFileOffsetBits.c")
         if(FILE64_OK)
           message(STATUS "Checking for 64-bit off_t - present")
                endif()
@@ -35,7 +35,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
         if(NOT FILE64_OK)
             # Test with _FILE_OFFSET_BITS=64
             try_compile(FILE64_OK "${PROJECT_BINARY_DIR}"
-                        "${PROJECT_SOURCE_DIR}/CMake/TestFileOffsetBits.c"
+                        "${PROJECT_SOURCE_DIR}/cmake/TestFileOffsetBits.c"
                         COMPILE_DEFINITIONS "-D_FILE_OFFSET_BITS=64" )
             if(FILE64_OK)
                 message(STATUS "Checking for 64-bit off_t - present with _FILE_OFFSET_BITS=64")
@@ -46,7 +46,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
         if(NOT FILE64_OK)
             # Test with _LARGE_FILES
             try_compile(FILE64_OK "${PROJECT_BINARY_DIR}"
-                        "${PROJECT_SOURCE_DIR}/CMake/TestFileOffsetBits.c"
+                        "${PROJECT_SOURCE_DIR}/cmake/TestFileOffsetBits.c"
                         COMPILE_DEFINITIONS "-D_LARGE_FILES" )
             if(FILE64_OK)
                 message(STATUS "Checking for 64-bit off_t - present with _LARGE_FILES")
@@ -57,7 +57,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
         if(NOT FILE64_OK)
             # Test with _LARGEFILE_SOURCE
             try_compile(FILE64_OK "${PROJECT_BINARY_DIR}"
-                        "${PROJECT_SOURCE_DIR}/CMake/TestFileOffsetBits.c"
+                        "${PROJECT_SOURCE_DIR}/cmake/TestFileOffsetBits.c"
                         COMPILE_DEFINITIONS "-D_LARGEFILE_SOURCE" )
             if(FILE64_OK)
                 message(STATUS "Checking for 64-bit off_t - present with _LARGEFILE_SOURCE")
@@ -69,7 +69,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
         #if(NOT FILE64_OK)
         #    # now check for Windows stuff
         #    try_compile(FILE64_OK "${PROJECT_BINARY_DIR}"
-        #                "${PROJECT_SOURCE_DIR}/CMake/TestWindowsFSeek.c")
+        #                "${PROJECT_SOURCE_DIR}/cmake/TestWindowsFSeek.c")
         #    if(FILE64_OK)
         #        message(STATUS "Checking for 64-bit off_t - present with _fseeki64")
         #        set(HAVE__FSEEKI64 1)
@@ -85,7 +85,7 @@ macro(OPJ_TEST_LARGE_FILES VARIABLE)
         set(_LARGEFILE_SOURCE ${_LARGEFILE_SOURCE} CACHE INTERNAL "Result of test for needed _LARGEFILE_SOURCE")
 
         # Set the flags we might have determined to be required above
-        configure_file("${PROJECT_SOURCE_DIR}/CMake/TestLargeFiles.c.cmake.in"
+        configure_file("${PROJECT_SOURCE_DIR}/cmake/TestLargeFiles.c.cmake.in"
                        "${PROJECT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/TestLargeFiles.c")
 
         message(STATUS "Checking for fseeko/ftello")
diff --git a/libopenjpeg/jpwl/CMakeLists.txt b/libopenjpeg/jpwl/CMakeLists.txt
deleted file mode 100644 (file)
index fe5ebba..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-# Makefile for the main JPWL OpenJPEG codecs: JPWL_ j2k_to_image and JPWL_image_to_j2k
-
-add_definitions(-DUSE_JPWL)
-
-set(JPWL_SRCS crc.c jpwl.c jpwl_lib.c rs.c)
-if(APPLE)
-  set_source_files_properties(
-    rs.c
-    PROPERTIES
-    COMPILE_FLAGS -fno-common)
-endif()
-
-include_directories(
-  ${OPENJPEG_SOURCE_DIR}/libopenjpeg
-  )
-
-# Build the library
-if(WIN32)
-  if(BUILD_SHARED_LIBS)
-    add_definitions(-DOPJ_EXPORTS)
-  else()
-    add_definitions(-DOPJ_STATIC)
-  endif()
-endif()
-add_library(${OPENJPEG_LIBRARY_NAME}_JPWL ${JPWL_SRCS} ${OPENJPEG_SRCS})
-set_target_properties(${OPENJPEG_LIBRARY_NAME}_JPWL
-  PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
-
-# Install library
-install(TARGETS ${OPENJPEG_LIBRARY_NAME}_JPWL
-  EXPORT OpenJPEGTargets
-  RUNTIME DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications
-  LIBRARY DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
-  ARCHIVE DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644 (file)
index 0000000..673843e
--- /dev/null
@@ -0,0 +1,12 @@
+# required dep for server:
+if(BUILD_JPIP_SERVER)
+  find_package(CURL REQUIRED)
+  find_package(FCGI REQUIRED)
+  find_package(Threads REQUIRED)
+  if(NOT CMAKE_USE_PTHREADS_INIT)
+    message(FATAL_ERROR "Only pthread are supported")
+  endif()
+endif()
+
+add_subdirectory(lib)
+#add_subdirectory(bin)
diff --git a/src/bin/CMakeLists.txt b/src/bin/CMakeLists.txt
new file mode 100644 (file)
index 0000000..fa94d07
--- /dev/null
@@ -0,0 +1,20 @@
+# source code for openjpeg apps:
+add_subdirectory(common)
+# Part 1 & 2:
+add_subdirectory(jp2)
+
+# optionals components:
+if(BUILD_JPWL)
+#  add_subdirectory(jpwl)
+endif()
+if(BUILD_MJ2)
+  add_subdirectory(mj2)
+endif()
+if(BUILD_JPIP)
+  add_subdirectory(jpip)
+endif()
+if(BUILD_JP3D)
+  add_subdirectory(jp3d)
+endif()
+
+add_subdirectory(wx)
diff --git a/src/bin/common/CMakeLists.txt b/src/bin/common/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e69de29
similarity index 93%
rename from applications/codec/CMakeLists.txt
rename to src/bin/jp2/CMakeLists.txt
index c290860fc181f956f945407b985f6545bc1e2f08..5e77765e98cf38a8b76d6da81bd46f02b84d47b6 100644 (file)
@@ -4,15 +4,15 @@
 set(common_SRCS
   convert.c
   index.c
-  ${OPENJPEG_SOURCE_DIR}/applications/common/color.c
-  ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common/color.c
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.c
   )
 
 # Headers file are located here:
 include_directories(
-  ${OPENJPEG_SOURCE_DIR}/libopenjpeg
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
   ${LCMS_INCLUDE_DIRNAME}
-  ${OPENJPEG_SOURCE_DIR}/applications/common
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common
   ${Z_INCLUDE_DIRNAME}
   ${PNG_INCLUDE_DIRNAME}
   ${TIFF_INCLUDE_DIRNAME}
similarity index 100%
rename from applications/codec/README
rename to src/bin/jp2/README
similarity index 97%
rename from applications/jpip/util/CMakeLists.txt
rename to src/bin/jpip/CMakeLists.txt
index b1306bb4022250c201096118c959c39eeaa2c7a5..5a3fc0ff1e24390ff196e3f0e6e606c6d35bf889 100644 (file)
@@ -1,7 +1,7 @@
 # Headers file are located here:
 include_directories(
-  ${OPENJPEG_SOURCE_DIR}/libopenjpeg # opj_stdint.h
-  ${OPENJPEG_SOURCE_DIR}/applications/jpip/libopenjpip
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2 # opj_stdint.h
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjpip
   ${FCGI_INCLUDE_DIRS}
 )
 
similarity index 51%
rename from applications/mj2/CMakeLists.txt
rename to src/bin/mj2/CMakeLists.txt
index e286000bf799f402ebf20f719aec26c272bc979a..44514c54b0485baa7f0790869a70296017f364cf 100644 (file)
@@ -1,33 +1,33 @@
 # Makefile for the MJ2 codecs of the OpenJPEG library: frames_to_mj2, mj2_to_frames, extract_j2k_from_mj2 and wrap_j2k_in_mj2
 
-set(common_SRCS ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c)
+set(common_SRCS ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.c)
 
 # While mj2 executables do not use the API correctly, we do not link with the library but rather compile the sources files.
 set(OPJ_SRCS
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/bio.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/cio.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/dwt.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/event.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/image.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/j2k.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/j2k_lib.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/jp2.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/jpt.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/mct.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/mqc.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/openjpeg.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/pi.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/raw.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/t1.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/t2.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/tcd.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/tgt.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/cidx_manager.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/phix_manager.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/ppix_manager.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/thix_manager.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/tpix_manager.c
-${OPENJPEG_SOURCE_DIR}/libopenjpeg/function_list.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/bio.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/cio.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/dwt.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/event.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/image.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/j2k.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/j2k_lib.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/jp2.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/jpt.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/mct.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/mqc.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/openjpeg.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/pi.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/raw.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/t1.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/t2.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/tcd.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/tgt.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/cidx_manager.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/phix_manager.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/ppix_manager.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/thix_manager.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/tpix_manager.c
+${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/function_list.c
 )
 
 set(MJ2_SRCS mj2.c mj2_convert.c)
@@ -38,8 +38,8 @@ endif()
 
 # Headers file are located here:
 include_directories(
-  ${OPENJPEG_SOURCE_DIR}/libopenjpeg
-  ${OPENJPEG_SOURCE_DIR}/applications/common
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common
   ${LCMS_INCLUDE_DIRNAME}
   )
 
@@ -60,7 +60,7 @@ add_executable(mj2_to_frames
     ${common_SRCS}
     ${OPJ_SRCS}
     ${MJ2_SRCS}
-    ${OPENJPEG_SOURCE_DIR}/applications/common/color.c
+    ${OPENJPEG_SOURCE_DIR}/src/bin/common/color.c
     )
 target_link_libraries(mj2_to_frames ${LCMS_LIBNAME})
 
similarity index 100%
rename from applications/mj2/mj2.c
rename to src/bin/mj2/mj2.c
similarity index 100%
rename from applications/mj2/mj2.h
rename to src/bin/mj2/mj2.h
diff --git a/src/bin/wx/CMakeLists.txt b/src/bin/wx/CMakeLists.txt
new file mode 100644 (file)
index 0000000..e69de29
similarity index 97%
rename from libopenjpeg/CMakeLists.txt
rename to src/lib/openjp2/CMakeLists.txt
index 268fc94596ab7fd69cf6048d8ce8ba9ea4daf552..f58fe59ddc930d8f18c988b55f02c9b3a5d3a93c 100644 (file)
@@ -41,11 +41,6 @@ if(UNIX)
 endif()
 set_target_properties(${OPENJPEG_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
 
-# Build the JPWL library ?
-if(BUILD_JPWL)
- add_subdirectory(jpwl)
-endif()
-
 # Install library
 install(TARGETS ${OPENJPEG_LIBRARY_NAME}
   EXPORT OpenJPEGTargets
similarity index 100%
rename from libopenjpeg/bio.c
rename to src/lib/openjp2/bio.c
similarity index 100%
rename from libopenjpeg/bio.h
rename to src/lib/openjp2/bio.h
similarity index 100%
rename from libopenjpeg/cio.c
rename to src/lib/openjp2/cio.c
similarity index 100%
rename from libopenjpeg/cio.h
rename to src/lib/openjp2/cio.h
similarity index 100%
rename from libopenjpeg/dwt.c
rename to src/lib/openjp2/dwt.c
similarity index 100%
rename from libopenjpeg/dwt.h
rename to src/lib/openjp2/dwt.h
similarity index 100%
rename from libopenjpeg/event.c
rename to src/lib/openjp2/event.c
similarity index 100%
rename from libopenjpeg/event.h
rename to src/lib/openjp2/event.h
similarity index 100%
rename from libopenjpeg/fix.h
rename to src/lib/openjp2/fix.h
similarity index 100%
rename from libopenjpeg/image.c
rename to src/lib/openjp2/image.c
similarity index 100%
rename from libopenjpeg/image.h
rename to src/lib/openjp2/image.h
similarity index 100%
rename from libopenjpeg/int.h
rename to src/lib/openjp2/int.h
similarity index 100%
rename from libopenjpeg/j2k.c
rename to src/lib/openjp2/j2k.c
similarity index 100%
rename from libopenjpeg/j2k.h
rename to src/lib/openjp2/j2k.h
similarity index 100%
rename from libopenjpeg/jp2.c
rename to src/lib/openjp2/jp2.c
similarity index 100%
rename from libopenjpeg/jp2.h
rename to src/lib/openjp2/jp2.h
similarity index 100%
rename from libopenjpeg/jpt.c
rename to src/lib/openjp2/jpt.c
similarity index 100%
rename from libopenjpeg/jpt.h
rename to src/lib/openjp2/jpt.h
similarity index 100%
rename from libopenjpeg/mct.c
rename to src/lib/openjp2/mct.c
similarity index 100%
rename from libopenjpeg/mct.h
rename to src/lib/openjp2/mct.h
similarity index 100%
rename from libopenjpeg/mqc.c
rename to src/lib/openjp2/mqc.c
similarity index 100%
rename from libopenjpeg/mqc.h
rename to src/lib/openjp2/mqc.h
similarity index 99%
rename from libopenjpeg/opj_includes.h
rename to src/lib/openjp2/opj_includes.h
index ebc946ac2f076da85523303a9546f13b9a56eeb0..98a5b86b1b5a97a2344e812cef1e54f899c32117 100644 (file)
@@ -175,7 +175,7 @@ static INLINE long lrintf(float f){
 
 /* JPWL>> */
 #ifdef USE_JPWL
-#include "./jpwl/jpwl.h"
+#include "openjpwl/jpwl.h"
 #endif /* USE_JPWL */
 /* <<JPWL */
 
similarity index 100%
rename from libopenjpeg/pi.c
rename to src/lib/openjp2/pi.c
similarity index 100%
rename from libopenjpeg/pi.h
rename to src/lib/openjp2/pi.h
similarity index 100%
rename from libopenjpeg/raw.c
rename to src/lib/openjp2/raw.c
similarity index 100%
rename from libopenjpeg/raw.h
rename to src/lib/openjp2/raw.h
similarity index 100%
rename from libopenjpeg/t1.c
rename to src/lib/openjp2/t1.c
similarity index 100%
rename from libopenjpeg/t1.h
rename to src/lib/openjp2/t1.h
similarity index 100%
rename from libopenjpeg/t2.c
rename to src/lib/openjp2/t2.c
similarity index 100%
rename from libopenjpeg/t2.h
rename to src/lib/openjp2/t2.h
similarity index 100%
rename from libopenjpeg/tcd.c
rename to src/lib/openjp2/tcd.c
similarity index 100%
rename from libopenjpeg/tcd.h
rename to src/lib/openjp2/tcd.h
similarity index 100%
rename from libopenjpeg/tgt.c
rename to src/lib/openjp2/tgt.c
similarity index 100%
rename from libopenjpeg/tgt.h
rename to src/lib/openjp2/tgt.h
similarity index 98%
rename from applications/jpip/libopenjpip/CMakeLists.txt
rename to src/lib/openjpip/CMakeLists.txt
index 0afff2e1bbb7605f66a5da6cd7cacd005d595e4c..e42e95fc2af2eb0933ad02a3535f86e45873375b 100644 (file)
@@ -1,7 +1,7 @@
 include_regular_expression("^.*$")
 
 include_directories(
-  ${OPENJPEG_SOURCE_DIR}/libopenjpeg
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
   ${FCGI_INCLUDE_DIRS}
   ${CURL_INCLUDE_DIRS}
 )
diff --git a/src/lib/openjpwl/CMakeLists.txt b/src/lib/openjpwl/CMakeLists.txt
new file mode 100644 (file)
index 0000000..eccef4b
--- /dev/null
@@ -0,0 +1,63 @@
+# Makefile for the main JPWL OpenJPEG codecs: JPWL_ j2k_to_image and JPWL_image_to_j2k
+
+add_definitions(-DUSE_JPWL)
+
+set(OPENJPEG_SRCS
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/bio.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/cio.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/dwt.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/event.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/image.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/j2k.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/j2k_lib.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/jp2.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/jpt.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/mct.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/mqc.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/openjpeg.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/pi.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/raw.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/t1.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/t2.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/tcd.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/tgt.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/cidx_manager.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/phix_manager.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/ppix_manager.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/thix_manager.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/tpix_manager.c
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2/function_list.c
+)
+
+set(JPWL_SRCS crc.c jpwl.c jpwl_lib.c rs.c)
+if(APPLE)
+  set_source_files_properties(
+    rs.c
+    PROPERTIES
+    COMPILE_FLAGS -fno-common)
+endif()
+
+include_directories(
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
+  ${OPENJPEG_SOURCE_DIR}/src/lib
+  )
+
+# Build the library
+if(WIN32)
+  if(BUILD_SHARED_LIBS)
+    add_definitions(-DOPJ_EXPORTS)
+  else()
+    add_definitions(-DOPJ_STATIC)
+  endif()
+endif()
+add_library(${OPENJPEG_LIBRARY_NAME}_JPWL ${JPWL_SRCS} ${OPENJPEG_SRCS})
+set_target_properties(${OPENJPEG_LIBRARY_NAME}_JPWL
+  PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
+
+# Install library
+install(TARGETS ${OPENJPEG_LIBRARY_NAME}_JPWL
+  EXPORT OpenJPEGTargets
+  RUNTIME DESTINATION ${OPENJPEG_INSTALL_BIN_DIR} COMPONENT Applications
+  LIBRARY DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
+  ARCHIVE DESTINATION ${OPENJPEG_INSTALL_LIB_DIR} COMPONENT Libraries
+)
similarity index 100%
rename from libopenjpeg/jpwl/rs.c
rename to src/lib/openjpwl/rs.c
similarity index 100%
rename from libopenjpeg/jpwl/rs.h
rename to src/lib/openjpwl/rs.h
index 444f9b4c12bf5c239ad1c6c74ae4d074ab2b001c..a34963f9c0f6613a52fbeac3c7b33d32634d1935 100644 (file)
@@ -1,8 +1,8 @@
 # Tests
 include_directories(
-  ${OPENJPEG_SOURCE_DIR}/libopenjpeg
-  ${OPENJPEG_SOURCE_DIR}/applications/codec
-  ${OPENJPEG_SOURCE_DIR}/applications/common
+  ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2
+  ${OPENJPEG_SOURCE_DIR}/src/bin/jp2
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common
   ${Z_INCLUDE_DIRNAME}
   ${PNG_INCLUDE_DIRNAME}
   ${TIFF_INCLUDE_DIRNAME}
@@ -10,15 +10,15 @@ include_directories(
 
 # First thing define the common source:
 set(comparePGXimages_SRCS comparePGXimages.c
-  ${OPENJPEG_SOURCE_DIR}/applications/codec/convert.c
-  ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c
+  ${OPENJPEG_SOURCE_DIR}/src/bin/jp2/convert.c
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.c
   )
 
 set(compare_dump_files_SRCS compare_dump_files.c
-  ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c)
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.c)
 
 set(compareRAWimages_SRCS compareRAWimages.c
-  ${OPENJPEG_SOURCE_DIR}/applications/common/opj_getopt.c)
+  ${OPENJPEG_SOURCE_DIR}/src/bin/common/opj_getopt.c)
 
 add_executable(comparePGXimages ${comparePGXimages_SRCS})
 target_link_libraries(comparePGXimages