Skip to content
Snippets Groups Projects
Commit a7e91ec1 authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

[wip/jafar-image] Add a patch to fix header list to install

In particular, avoid to install *.orig or *.rej file, generated by
patch(1).
parent 9c1c97bb
No related branches found
No related tags found
No related merge requests found
PKGVERSION= 2.1
PKGREVISION= 1
PKGREVISION= 2
DISTNAME= jafar-image-2.1
PKGNAME= jafar-image-2.1
CATEGORIES= image
......
@comment Wed Jun 15 19:48:43 CEST 2011
include/jafar/image/Capture.hpp
include/jafar/image/Image.hpp
include/jafar/image/Image.hpp~
include/jafar/image/ImagePreprocessor.hpp
include/jafar/image/cImage.h
include/jafar/image/filter.hpp
include/jafar/image/imageException.hpp
include/jafar/image/imout.hpp
include/jafar/image/imout.hpp~
include/jafar/image/iterator.hpp
include/jafar/image/lkTracker.hpp
include/jafar/image/oimstream.hpp
include/jafar/image/oimstream.hpp~
include/jafar/image/pyramid.hpp
include/jafar/image/roi.hpp
include/jafar/image/roi.hpp~
lib/libjafar-image.so
lib/libjafar-image.so.${PKGVERSION}
lib/libjafar-image.so.2
......
......@@ -2,3 +2,4 @@ SHA1 (jafar-image-2.1.tar.gz) = ac650ba22f4d1004d1b8f0d6eac863f9e4bdbf11
RMD160 (jafar-image-2.1.tar.gz) = 55112939abd8c40a195699d35c72271367323f05
Size (jafar-image-2.1.tar.gz) = 148533 bytes
SHA1 (patch-aa) = a73cb4873d12f264141b99116fbb412af0875e91
SHA1 (patch-ab) = 9a132c8d6fb5dd969ab5eb21b1047435932bb98a
Improve pattern used to install module_headers (in particular, avoid installing
.orig files or temporary emacs files)
--- CMakeLists.txt.orig 2011-12-28 14:20:11.679766922 +0100
+++ CMakeLists.txt 2011-12-28 14:26:36.143776744 +0100
@@ -110,7 +110,10 @@
# add module headers
-file(GLOB module_headers ${jafar-image_SOURCE_DIR}/include/image/*.h*)
+file(GLOB module_h ${jafar-image_SOURCE_DIR}/include/image/*.h)
+file(GLOB module_hh ${jafar-image_SOURCE_DIR}/include/image/*.hh)
+file(GLOB module_hpp ${jafar-image_SOURCE_DIR}/include/image/*.hpp)
+set(module_headers "${module_h};${module_hh};${module_hpp}")
# add sources
file(GLOB module_sources ${jafar-image_SOURCE_DIR}/src/*.cpp)
#remove jafarConfig.h from included headers
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment