Skip to content

Commit

Permalink
Revert "Merge branch 'print-module'"
Browse files Browse the repository at this point in the history
This reverts commit c1ee6c9, reversing
changes made to 570dbcb.

Conflicts:
	CMakeLists.txt
	src/imageio/storage/disk.c
  • Loading branch information
boucman committed Jan 4, 2015
1 parent 6e59d81 commit 5d7890b
Show file tree
Hide file tree
Showing 26 changed files with 22 additions and 3,686 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ option(USE_OPENJPEG "Enable JPEG 2000 support" ON)
option(USE_WEBP "Enable WebP export support" ON)
option(BUILD_CMSTEST "Build a test program to check your system's color management setup" ON)
option(USE_OPENEXR "Enable OpenEXR support" ON)
option(BUILD_PRINT "Build the print module" OFF)
if(APPLE)
option(USE_MAC_INTEGRATION "Enable OS X integration" ON)
else(APPLE)
Expand Down Expand Up @@ -306,3 +305,4 @@ configure_file(

add_custom_target(uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)

21 changes: 0 additions & 21 deletions cmake/modules/FindCUPS.cmake

This file was deleted.

1 change: 0 additions & 1 deletion doc/README
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ to build it, you need:

optionally, you might need for special features:

- libcups2 (for the print module)
- gphoto2 (for camera support, recommended)
- librsvg2 (for watermark plugin)
- flickcurl (for Flickr support)
Expand Down
24 changes: 0 additions & 24 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -560,30 +560,6 @@ if(USE_LUA)
list(APPEND STATIC_LIBS lautoc_static)
endif(USE_LUA)

if(BUILD_PRINT)
find_package(CUPS)
if(CUPS_FOUND)
include_directories(SYSTEM ${CUPS_INCLUDE_DIRS})
add_definitions(${CUPS_DEFINITIONS})
FILE(GLOB SOURCE_FILES_PRINT
"common/cups_print.h"
"common/cups_print.c"
"common/printprof.c"
"libs/print_settings.c"
)
set(SOURCES ${SOURCES} ${SOURCE_FILES_PRINT})
add_library(cups_static STATIC IMPORTED)
list(APPEND LIBS ${CUPS_LIBRARIES})
add_definitions("-DHAVE_PRINT")
message(STATUS "Print mode: enabled")
else(CUPS_FOUND)
set(BUILD_PRINT OFF)
message(STATUS "Print mode: disabled, please install CUPS dev package")
endif(CUPS_FOUND)
else(BUILD_PRINT)
message(STATUS "Print mode: disabled")
endif(BUILD_PRINT)

#
# We need C++11
#
Expand Down
Loading

0 comments on commit 5d7890b

Please sign in to comment.