This file is indexed.

/usr/lib/cmake/Strigi/StrigiConfig.cmake is in libstreams-dev 0.7.8-2ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Generated by CMake, don't edit, changes will be lost.


####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
####### Any changes to this file will be overwritten by the next CMake run ####
####### The input file was StrigiConfig.cmake.in                            ########

get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)

# Use original install prefix when loaded through a "/usr move"
# cross-prefix symbolic link such as /lib -> /usr/lib.
get_filename_component(_realCurr "${CMAKE_CURRENT_LIST_DIR}" REALPATH)
get_filename_component(_realOrig "/usr/lib/cmake/Strigi" REALPATH)
if(_realCurr STREQUAL _realOrig)
  set(PACKAGE_PREFIX_DIR "/usr")
endif()
unset(_realOrig)
unset(_realCurr)

macro(set_and_check _var _file)
  set(${_var} "${_file}")
  if(NOT EXISTS "${_file}")
    message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
  endif()
endmacro()

macro(check_required_components _NAME)
  foreach(comp ${${_NAME}_FIND_COMPONENTS})
    if(NOT ${_NAME}_${comp}_FOUND)
      if(${_NAME}_FIND_REQUIRED_${comp})
        set(${_NAME}_FOUND FALSE)
      endif()
    endif()
  endforeach()
endmacro()

####################################################################################

# Set the Strigi version
set(STRIGI_VERSION_MAJOR 0)
set(STRIGI_VERSION_MINOR 7)
set(STRIGI_VERSION_PATCH 8)
set(STRIGI_VERSION 0.7.8)


# all the following settings have been added November 16th, 2008
# before that this file was also installed but contained only the
# version information.
# Alex

# this one is used in FindStrigi.cmake to test whether a recent enough
# version of StrigiConfig.cmake has been found
set(STRIGI_CONFIG_FOUND_AND_HAS_COMPLETE_INFORMATION TRUE)

# information for the source incompat. change from 0.5.9 to 0.6.0
# No need to test for it, since here we know exactly what we have.
set(STRIGI_NEEDS_SIGNED_CHAR TRUE)
set(STRIGI_NEEDS_CHAR FALSE)

# install locations
set_and_check(STRIGI_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
set_and_check(STRIGI_LIBRARY_DIR "${PACKAGE_PREFIX_DIR}/lib")

# find the full path to the libraries and headers
# streamanalyzer
find_library(STRIGI_STREAMANALYZER_LIBRARY_RELEASE
  NAMES streamanalyzer
  HINTS ${STRIGI_LIBRARY_DIR}
)

find_library(STRIGI_STREAMANALYZER_LIBRARY_DEBUG
  NAMES streamanalyzerd
  HINTS ${STRIGI_LIBRARY_DIR}
)

find_path(STRIGI_STREAMANALYZER_INCLUDES
  NAMES strigi/streamanalyzer.h
  HINTS ${STRIGI_INCLUDE_DIR}
)
mark_as_advanced(STRIGI_STREAMANALYZER_INCLUDES)

# streams
find_library(STRIGI_STREAMS_LIBRARY_RELEASE
  NAMES streams
  HINTS ${STRIGI_LIBRARY_DIR}
)
find_library(STRIGI_STREAMS_LIBRARY_DEBUG
  NAMES streamsd
  HINTS ${STRIGI_LIBRARY_DIR}
)

find_path(STRIGI_STREAMS_INCLUDES
  NAMES strigi/streambase.h
  HINTS ${STRIGI_INCLUDE_DIR}
)
mark_as_advanced(STRIGI_STREAMS_INCLUDES)

# strigiqtdbusclient
find_library(STRIGI_STRIGIQTDBUSCLIENT_LIBRARY_RELEASE
  NAMES strigiqtdbusclient
  HINTS ${STRIGI_LIBRARY_DIR}
)
find_library(STRIGI_STRIGIQTDBUSCLIENT_LIBRARY_DEBUG
  NAMES strigiqtdbusclientd
  HINTS ${STRIGI_LIBRARY_DIR}
)

find_path(STRIGI_STRIGIQTDBUSCLIENT_INCLUDES
  NAMES strigi/qtdbus/strigiclient.h
  HINTS ${STRIGI_INCLUDE_DIR}
)
mark_as_advanced(STRIGI_STRIGIQTDBUSCLIENT_INCLUDES)

# Allow the Strigi submodules to be installed in different prefixes
if(STRIGI_STREAMS_INCLUDES)
  list(APPEND STRIGI_INCLUDE_DIRS ${STRIGI_STREAMS_INCLUDES})
endif()
if(STRIGI_STREAMANALYZER_INCLUDES)
  list(APPEND STRIGI_INCLUDE_DIRS ${STRIGI_STREAMANALYZER_INCLUDES})
endif()
if(STRIGI_STRIGIQTDBUSCLIENT_INCLUDES)
  list(APPEND STRIGI_INCLUDE_DIRS ${STRIGI_STRIGIQTDBUSCLIENT_INCLUDES})
endif()
list(REMOVE_DUPLICATES STRIGI_INCLUDE_DIRS)

macro(_STRIGI_SET_LIBRARY_VAR _name)
   if(${_name}_RELEASE  AND  ${_name}_DEBUG)
      set(${_name} optimized "${${_name}_RELEASE}" debug "${${_name}_DEBUG}" )
   else(${_name}_RELEASE  AND  ${_name}_DEBUG)
      if(${_name}_RELEASE)
         set(${_name} "${${_name}_RELEASE}")
      else(${_name}_RELEASE)
         set(${_name} "${${_name}_DEBUG}" )
      endif(${_name}_RELEASE)
   endif(${_name}_RELEASE  AND  ${_name}_DEBUG)
endmacro(_STRIGI_SET_LIBRARY_VAR _name)

_strigi_set_library_var(STRIGI_STREAMANALYZER_LIBRARY)
_strigi_set_library_var(STRIGI_STREAMS_LIBRARY)
_strigi_set_library_var(STRIGI_STRIGIQTDBUSCLIENT_LIBRARY)