Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

383 Commits   1 Branch   1 Tag
Index: radix-1.9/libs/exiv2/0.28.1/Makefile
===================================================================
--- radix-1.9/libs/exiv2/0.28.1/Makefile	(revision 254)
+++ radix-1.9/libs/exiv2/0.28.1/Makefile	(revision 255)
@@ -130,136 +130,111 @@
 
 env_sysroot = DESTDIR=$(EXIV2_PKG)
 
-#
-# https://mesonbuild.com/Reference-tables.html :
-# =============================================
-#
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_A1X_GLIBC)    $(TOOLCHAIN_A2X_GLIBC)    \
-                             $(TOOLCHAIN_H3_GLIBC)     $(TOOLCHAIN_RK328X_GLIBC) \
-                             $(TOOLCHAIN_S8XX_GLIBC)   $(TOOLCHAIN_IMX6_GLIBC)   \
-                             $(TOOLCHAIN_AM335X_GLIBC) $(TOOLCHAIN_OMAP543X_GLIBC)),)
-cpu_name = arm
-endian   = little
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_H5_GLIBC)     $(TOOLCHAIN_RK33XX_GLIBC) \
-                             $(TOOLCHAIN_RK339X_GLIBC) $(TOOLCHAIN_RK358X_GLIBC) \
-                             $(TOOLCHAIN_S9XX_GLIBC)   \
-                             $(TOOLCHAIN_A311X_GLIBC)  $(TOOLCHAIN_M1000_GLIBC)),)
-cpu_name = aarch64
-endian   = little
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC) $(TOOLCHAIN_P5600_GLIBC)),)
-cpu_name = mips
-endian   = little
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8_GLIBC) $(TOOLCHAIN_POWER9_GLIBC)),)
-cpu_name = ppc64
-endian   = big
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_POWER8LE_GLIBC) $(TOOLCHAIN_POWER9LE_GLIBC)),)
-cpu_name = ppc64
-endian   = little
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_RISCV64_GLIBC)),)
-cpu_name = riscv64
-endian   = little
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_I586_GLIBC) $(TOOLCHAIN_I686_GLIBC)),)
-cpu_name = x86
-endian   = little
-endif
-ifneq ($(filter $(TOOLCHAIN),$(TOOLCHAIN_X86_64_GLIBC)),)
-cpu_name = x86_64
-endian   = little
-endif
 
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
 
-ifeq ($(__ENABLE_STATIC__),yes)
-extra_configure_switches += --default-library=both
-else
-extra_configure_switches += --default-library=shared
+
+configure_switches  = -DCMAKE_BUILD_TYPE='Release'
+
+configure_switches += -DCMAKE_C_COMPILER='$(CROSS_PREFIX)gcc'
+configure_switches += -DCMAKE_CXX_COMPILER='$(CROSS_PREFIX)g++'
+configure_switches += -DCMAKE_LINKER='$(CROSS_PREFIX)ld'
+configure_switches += -DCMAKE_AR='$(CROSS_PREFIX)ar'
+configure_switches += -DCMAKE_NM='$(CROSS_PREFIX)nm'
+configure_switches += -DCMAKE_RANLIB='$(CROSS_PREFIX)ranlib'
+configure_switches += -DCMAKE_OBJCOPY='$(CROSS_PREFIX)objcopy'
+configure_switches += -DCMAKE_OBJDUMP='$(CROSS_PREFIX)objdump'
+configure_switches += -DCMAKE_STRIP='$(CROSS_PREFIX)strip'
+
+configure_switches += -DCMAKE_C_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) -w'
+configure_switches += -DCMAKE_CXX_FLAGS='--sysroot=$(TARGET_DEST_DIR) $(CFLAGS) $(ARCH_FLAGS) $(ARCH_DEFS) $(HW_FLAGS) -w'
+
+configure_switches += -DCMAKE_EXE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,-rpath,$(TARGET_BIN_RPATH)'
+configure_switches += -DCMAKE_MODULE_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,-rpath,$(TARGET_LIB_RPATH)'
+configure_switches += -DCMAKE_SHARED_LINKER_FLAGS='--sysroot=$(TARGET_DEST_DIR) -L$(TARGET_DEST_DIR)/lib$(LIBSUFFIX) -L$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX) -Wl,-rpath,$(TARGET_LIB_RPATH)'
+
+ifeq ($(TOOLCHAIN),$(TOOLCHAIN_JZ47XX_GLIBC))
+configure_switches += -DCMAKE_C_FLAGS_RELEASE='-O2 -DNDEBUG'
+configure_switches += -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG'
+configure_switches += -DCMAKE_ASM_FLAGS_RELEASE='-O2 -DNDEBUG'
 endif
 
+configure_switches += -DCMAKE_INSTALL_PREFIX=/usr
+configure_switches += -DCMAKE_INSTALL_BINDIR=/usr/bin
+configure_switches += -DCMAKE_INSTALL_MANDIR=/usr/share/man
+configure_switches += -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/$(src_dir_name)
+configure_switches += -DCMAKE_INSTALL_LIBDIR=/usr/lib$(LIBSUFFIX)
 
-extra_configure_switches += -Dcurl=enabled
-extra_configure_switches += -Dbrotli=enabled
-extra_configure_switches += -Dnls=enabled
-extra_configure_switches += -Dpng=enabled
-extra_configure_switches += -Diconv=enabled
-extra_configure_switches += -Dinih=enabled
-extra_configure_switches += -Dbmff=true
-extra_configure_switches += -Dlensdata=true
-extra_configure_switches += -Dvideo=true
-extra_configure_switches += -Dxmp=enabled
-extra_configure_switches += -DunitTests=disabled
+configure_switches += -DBUILD_SHARED_LIBS=ON
 
+configure_switches += -DEXIV2_ENABLE_XMP=ON
+configure_switches += -DEXIV2_ENABLE_EXTERNAL_XMP=OFF
+configure_switches += -DEXIV2_ENABLE_PNG=ON
+configure_switches += -DEXIV2_ENABLE_NLS=ON
+configure_switches += -DEXIV2_ENABLE_LENSDATA=ON
+configure_switches += -DEXIV2_ENABLE_WEBREADY=ON
+configure_switches += -DEXIV2_ENABLE_CURL=ON
+configure_switches += -DEXIV2_ENABLE_BMFF=ON
+configure_switches += -DEXIV2_ENABLE_BROTLI=ON
+configure_switches += -DEXIV2_ENABLE_VIDEO=ON
+configure_switches += -DEXIV2_ENABLE_INIH=ON
 
-TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
-TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+configure_switches += -DEXIV2_BUILD_SAMPLES=OFF
+configure_switches += -DEXIV2_BUILD_EXIV2_COMMAND=ON
+configure_switches += -DEXIV2_BUILD_UNIT_TESTS=OFF
+configure_switches += -DEXIV2_BUILD_FUZZ_TESTS=OFF
+configure_switches += -DEXIV2_BUILD_DOC=OFF
 
+configure_switches += -DBROTLICOMMON_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libbrotlicommon.so
+configure_switches += -DBROTLIDEC_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libbrotlidec.so
+configure_switches += -DBROTLI_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
 
+configure_switches += -DZLIB_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -DZLIB_LIBRARY_RELEASE=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libz.so
+
+configure_switches += -Dinih_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -Dinih_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libinih.so
+
+configure_switches += -Dinih_inireader_INCLUDE_DIR=$(TARGET_DEST_DIR)/usr/include
+configure_switches += -Dinih_inireader_LIBRARY=$(TARGET_DEST_DIR)/usr/lib$(LIBSUFFIX)/libINIReader.so
+
+#
+# NOTE:
+# ====
+#
+#   CMAKE_SYSTEM_PROCESSOR cannot be defined by command line option:
+#
+toolchain-file = $(CURDIR)/$(TARGET_BUILD_DIR)/toolchain.cmake
+
+configure_switches += -DCMAKE_TOOLCHAIN_FILE=$(toolchain-file)
+
+cpu_arch = $(word 1,$(subst -, ,$(TARGET)))
+
+
 ####### Dependencies
 
 $(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
 	$(UNPACK_SRC_ARCHIVE)
 	$(APPLY_PATCHES)
+	@echo "set(CMAKE_SYSTEM_NAME Linux)"             > $(toolchain-file)
+	@echo "set(CMAKE_SYSTEM_PROCESSOR $(cpu_arch))" >> $(toolchain-file)
 	@touch $@
 
 $(build_target): $(src_done)
 	@mkdir -p $(build_dir)
-	@echo ""                                            >  $(cross_file)
-	@echo "[build_machine]"                             >> $(cross_file)
-	@echo "system = '$(shell uname -s | tr 'L' 'l')'"   >> $(cross_file)
-	@echo "cpu_family = '$(shell uname -m)'"            >> $(cross_file)
-	@echo "cpu = '$(shell uname -m)'"                   >> $(cross_file)
-	@echo "endian = '$(shell lscpu | grep Endian | tr -s ' ' | cut -f3 -d' ' | tr 'L' 'l')'" >> $(cross_file)
-	@echo ""                                            >> $(cross_file)
-	@echo "[host_machine]"                              >> $(cross_file)
-	@echo "system = 'linux'"                            >> $(cross_file)
-	@echo "cpu_family = '$(cpu_name)'"                  >> $(cross_file)
-	@echo "cpu = '$(cpu_name)'"                         >> $(cross_file)
-	@echo "endian = '$(endian)'"                        >> $(cross_file)
-	@echo ""                                            >> $(cross_file)
-	@echo "[target_machine]"                            >> $(cross_file)
-	@echo "system = 'linux'"                            >> $(cross_file)
-	@echo "cpu_family = '$(cpu_name)'"                  >> $(cross_file)
-	@echo "cpu = '$(cpu_name)'"                         >> $(cross_file)
-	@echo "endian = '$(endian)'"                        >> $(cross_file)
-	@echo ""                                            >> $(cross_file)
-	@echo "[properties]"                                >> $(cross_file)
-	@echo "sys_root = '$(TARGET_DEST_DIR)'"             >> $(cross_file)
-	@echo ""                                            >> $(cross_file)
-	@echo "[binaries]"                                  >> $(cross_file)
-	@echo "c = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-gcc'"   >> $(cross_file)
-	@echo "cpp = '$(TOOLCHAIN_PATH)/bin/$(TARGET)-g++'" >> $(cross_file)
-	@echo "ar = '$(AR)'"                                >> $(cross_file)
-	@echo "strip = '$(STRIP)'"                          >> $(cross_file)
-	@echo "pkgconfig = 'pkg-config'"                    >> $(cross_file)
-	@echo ""                                            >> $(cross_file)
-	@PKG_CONFIG_PATH= \
-	   meson setup \
-	    --prefix=/usr \
-	    --libdir=lib$(LIBSUFFIX) \
-	    --libexecdir=/usr/libexec \
-	    --bindir=/usr/bin \
-	    --sbindir=/usr/sbin \
-	    --includedir=/usr/include \
-	    --datadir=/usr/share \
-	    --mandir=/usr/share/man \
-	    --sysconfdir=/etc \
-	    --localstatedir=/var \
-	    --buildtype=release    \
-	    -Dc_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`"         \
-	    -Dc_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`"   \
-	    -Dcpp_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(CFLAGS)" | tr -s ' '`"       \
-	    -Dcpp_link_args="`echo -n "--sysroot=$(TARGET_DEST_DIR) $(LDFLAGS)" | tr -s ' '`" \
-	    $(extra_configure_switches) \
-	    --cross-file=$(cross_file) $(SRC_DIR) $(build_dir)
-	@cd $(build_dir) && ninja -v
+	@( cd $(build_dir) ; \
+	   $(BUILD_ENVIRONMENT) cmake $(configure_switches) ../$(src_dir_name) ; \
+	 )
+	@( cd $(build_dir) ; \
+	   $(BUILD_ENVIRONMENT) $(MAKE) ; \
+	 )
 	@touch $@
 
 $(install_target): $(build_target)
-	@cd $(build_dir) && $(env_sysroot) ninja install
+	@( cd $(build_dir) ; \
+	   $(BUILD_ENVIRONMENT) $(MAKE) install $(env_sysroot) ; \
+	 )
 	# ======= Install Documentation =======
 	@if [ -d $(EXIV2_PKG)/usr/share/man ]; then \
 	  ( cd $(EXIV2_PKG)/usr/share/man ; \
@@ -300,11 +275,6 @@
 	   find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
 	   find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
 	 )
-ifeq ($(__ENABLE_STATIC__),yes)
-	@( cd $(EXIV2_PKG) ; \
-	   find . | xargs file | grep "current ar archive" | cut -f 1 -d : | xargs $(STRIP) -g 2> /dev/null ; \
-	 )
-endif
 	@touch $@
 
 $(EXIV2_PKG_DESCRIPTION_FILE): $(EXIV2_PKG_DESCRIPTION_FILE_IN)
Index: radix-1.9/libs/exiv2/0.28.1/PATCHES
===================================================================
--- radix-1.9/libs/exiv2/0.28.1/PATCHES	(revision 254)
+++ radix-1.9/libs/exiv2/0.28.1/PATCHES	(revision 255)
@@ -1,2 +0,0 @@
-
-../../../sources/packages/l/exiv2/patches/exiv2-0.28.1-samples.patch -p0
Index: radix-1.9/libs/exiv2/0.28.1/exiv2-pkg-description.in
===================================================================
--- radix-1.9/libs/exiv2/0.28.1/exiv2-pkg-description.in	(revision 254)
+++ radix-1.9/libs/exiv2/0.28.1/exiv2-pkg-description.in	(revision 255)
@@ -12,8 +12,8 @@
 exiv2: Exif and IPTC image metadata.
 exiv2:
 exiv2:
+exiv2:
 exiv2: Homepage: https://www.exiv2.org/
 exiv2:
 exiv2:
 exiv2:
-exiv2:
Index: radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/file.list
===================================================================
--- radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/file.list	(revision 254)
+++ radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/file.list	(nonexistent)
@@ -1 +0,0 @@
-exiv2-0.28.1/meson.build
Index: radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/create.patch.sh
===================================================================
--- radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/create.patch.sh	(revision 254)
+++ radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/create.patch.sh	(nonexistent)
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-VERSION=0.28.1
-
-tar --files-from=file.list -xJvf ../exiv2-$VERSION.tar.xz
-mv exiv2-$VERSION exiv2-$VERSION-orig
-
-cp -rf ./exiv2-$VERSION-new ./exiv2-$VERSION
-
-diff --unified -Nr  exiv2-$VERSION-orig  exiv2-$VERSION > exiv2-$VERSION-samples.patch
-
-mv exiv2-$VERSION-samples.patch ../patches
-
-rm -rf ./exiv2-$VERSION
-rm -rf ./exiv2-$VERSION-orig

Property changes on: radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/create.patch.sh
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/exiv2-0.28.1-new/meson.build
===================================================================
--- radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/exiv2-0.28.1-new/meson.build	(revision 254)
+++ radix-1.9/sources/packages/l/exiv2/create-0.28.1-samples-patch/exiv2-0.28.1-new/meson.build	(nonexistent)
@@ -1,164 +0,0 @@
-project(
-  'exiv2',
-  'cpp',
-  version: '0.28.1',
-  meson_version: '>=0.54.1',
-  default_options: ['warning_level=0', 'cpp_std=c++17'],
-)
-
-cargs = []
-cpp = meson.get_compiler('cpp')
-if host_machine.system() == 'windows' and get_option('default_library') != 'static'
-  cargs += '-DEXIV2API=__declspec(dllexport)'
-elif cpp.has_function_attribute('visibility')
-  cargs += '-DEXIV2API=__attribute__((visibility("default")))'
-else
-  cargs += '-DEXIV2API='
-endif
-
-if host_machine.system() == 'windows'
-  if cpp.get_argument_syntax() == 'msvc'
-    add_project_arguments('-DNOMINMAX', language: 'cpp')
-  elif cpp.compiles('#include <time.h>\n#ifdef _UCRT\n#error\n#endif')
-    error('Non UCRT MinGW is unsupported. Please update toolchain')
-  endif
-endif
-
-exiv_api = configuration_data()
-exiv_conf = configure_file(output: 'exiv2lib_export.h', configuration: exiv_api)
-
-cdata = configuration_data()
-cdata.set('EXV_PACKAGE_NAME', meson.project_name())
-ver = meson.project_version().split('.')
-if ver[0] == '0'
-  sover = ver[1].to_int()
-else
-  sover = 30 + (ver[0].to_int() - 1)
-endif
-cdata.set('PROJECT_VERSION_MAJOR', ver[0])
-cdata.set('PROJECT_VERSION_MINOR', ver[1])
-cdata.set('PROJECT_VERSION_PATCH', ver[2])
-cdata.set('PROJECT_VERSION_TWEAK', 9)
-cdata.set('PROJECT_VERSION', '@0@.@1@'.format(meson.project_version(), cdata.get('PROJECT_VERSION_TWEAK')))
-cdata.set('EXV_PACKAGE_VERSION', '@0@.@1@'.format(meson.project_version(), cdata.get('PROJECT_VERSION_TWEAK')))
-cdata.set('EXV_PACKAGE_STRING', '@0@ @1@'.format(meson.project_name(), cdata.get('PROJECT_VERSION')))
-
-cdata.set('EXV_HAVE_STRERROR_R', cpp.has_function('strerror_r'))
-cdata.set('EXV_STRERROR_R_CHAR_P', not cpp.compiles('#include <string.h>\nint strerror_r(int,char*,size_t);int main(){}'))
-
-cdata.set('EXV_ENABLE_BMFF', get_option('bmff'))
-cdata.set('EXV_HAVE_LENSDATA', get_option('lensdata'))
-cdata.set('EXV_ENABLE_VIDEO', get_option('video'))
-
-deps = []
-deps += cpp.find_library('ws2_32', required: host_machine.system() == 'windows')
-deps += cpp.find_library('procstat', required: host_machine.system() == 'freebsd')
-
-if cpp.get_argument_syntax() == 'gcc' and cpp.version().version_compare('<9')
-  if host_machine.system() == 'linux' and cpp.get_define('_LIBCPP_VERSION', prefix: '#include <new>') == ''
-    deps += cpp.find_library('stdc++fs')
-  elif cpp.get_id() == 'clang'
-    deps += cpp.find_library('c++fs')
-  endif
-endif
-
-brotli_dep = dependency('libbrotlidec', disabler: true, required: false)
-if brotli_dep.found()
-  deps += brotli_dep
-endif
-
-curl_dep = dependency('libcurl', disabler: true, required: get_option('curl'))
-if curl_dep.found()
-  deps += curl_dep
-endif
-
-expat_dep = dependency('expat', disabler: true, required: get_option('xmp'))
-if expat_dep.found()
-  deps += expat_dep
-endif
-
-inih_dep = dependency('INIReader', disabler: true, required: get_option('inih'))
-if inih_dep.found()
-  deps += inih_dep
-endif
-
-zlib_dep = dependency('zlib', disabler: true, required: get_option('png'))
-if zlib_dep.found()
-  deps += zlib_dep
-endif
-
-if meson.version().version_compare('>= 0.60')
-  iconv_dep = dependency('iconv', required: get_option('iconv'))
-elif not get_option('iconv').disabled() and not cpp.links('#include <iconv.h>\nint main(){iconv_open("", "");}')
-  iconv_dep = cpp.find_library('iconv', required: get_option('iconv'))
-else
-  iconv_dep = get_option('iconv').disabled() ? dependency('', required: false) : declare_dependency()
-endif
-if iconv_dep.found()
-  deps += iconv_dep
-endif
-
-if meson.version().version_compare('>= 0.60')
-  intl_dep = dependency('intl', required: get_option('nls'))
-else
-  intl_dep = dependency('', required: false)
-endif
-if intl_dep.found()
-  add_project_arguments('-DEXV_LOCALEDIR="@0@"'.format(get_option('prefix') / get_option('localedir')), language: 'cpp')
-  deps += intl_dep
-endif
-
-cdata.set('EXV_ENABLE_INIH', inih_dep.found())
-cdata.set('EXV_HAVE_XMP_TOOLKIT', expat_dep.found())
-cdata.set('EXV_HAVE_BROTLI', brotli_dep.found())
-cdata.set('EXV_HAVE_ICONV', iconv_dep.found())
-cdata.set('EXV_HAVE_LIBZ', zlib_dep.found())
-cdata.set('EXV_USE_CURL', curl_dep.found())
-cdata.set('EXV_ENABLE_NLS', intl_dep.found())
-cdata.set('EXV_ENABLE_WEBREADY', curl_dep.found())
-
-cfile = configure_file(
-  input: 'cmake/config.h.cmake',
-  output: 'exv_conf.h',
-  format: 'cmake@',
-  configuration: cdata,
-)
-
-libinc = include_directories('.', 'include/exiv2')
-depinc = include_directories('.', 'include')
-subdir('xmpsdk')
-subdir('src')
-subdir('include')
-
-install_man('man/man1/exiv2.1')
-
-exiv2_sources = files(
-  'app/actions.cpp',
-  'app/app_utils.cpp',
-  'app/exiv2.cpp',
-  'app/getopt.cpp',
-  host_machine.system() == 'windows' ? 'app/wmain.cpp' : [],
-)
-
-exiv2inc = include_directories('src', 'include/exiv2')
-executable(
-  'exiv2',
-  exiv2_sources,
-  include_directories: exiv2inc,
-  dependencies: exiv2_dep,
-  install: true,
-)
-
-gopt = [
- 'getopt-test',
- 'metacopy',
- 'path-test',
-]
-
-ginc = include_directories('app')
-foreach g : gopt
-  executable(g, 'samples/@0@.cpp'.format(g), 'app/getopt.cpp', dependencies: exiv2_dep, include_directories: [exiv2inc, ginc])
-endforeach
-
-subdir('unitTests')
-subdir('po')
Index: radix-1.9/sources/packages/l/exiv2/patches/README
===================================================================
--- radix-1.9/sources/packages/l/exiv2/patches/README	(revision 254)
+++ radix-1.9/sources/packages/l/exiv2/patches/README	(nonexistent)
@@ -1,6 +0,0 @@
-
-/* begin *
-
-   TODO: Leave some comment here.
-
- * end */
Index: radix-1.9/sources/packages/l/exiv2/patches
===================================================================
--- radix-1.9/sources/packages/l/exiv2/patches	(revision 254)
+++ radix-1.9/sources/packages/l/exiv2/patches	(nonexistent)

Property changes on: radix-1.9/sources/packages/l/exiv2/patches
___________________________________________________________________
Deleted: svn:ignore
## -1,74 +0,0 ##
-
-# install dir
-dist
-
-# Target build dirs
-.a1x-newlib
-.a2x-newlib
-.at91sam7s-newlib
-
-.build-machine
-
-.a1x-glibc
-.a2x-glibc
-.h3-glibc
-.h5-glibc
-.i586-glibc
-.i686-glibc
-.imx6-glibc
-.jz47xx-glibc
-.makefile
-.am335x-glibc
-.omap543x-glibc
-.p5600-glibc
-.power8-glibc
-.power8le-glibc
-.power9-glibc
-.power9le-glibc
-.m1000-glibc
-.riscv64-glibc
-.rk328x-glibc
-.rk33xx-glibc
-.rk339x-glibc
-.rk358x-glibc
-.s8xx-glibc
-.s9xx-glibc
-.x86_64-glibc
-
-# Hidden files (each file)
-.makefile
-.dist
-.rootfs
-
-# src & hw requires
-.src_requires
-.src_requires_depend
-.requires
-.requires_depend
-
-# Tarballs
-*.gz
-*.bz2
-*.lz
-*.xz
-*.tgz
-*.txz
-
-# Signatures
-*.asc
-*.sig
-*.sign
-*.sha1sum
-
-# Patches
-*.patch
-
-# Descriptions
-*.dsc
-*.txt
-
-# Default linux config files
-*.defconfig
-
-# backup copies
-*~
Index: radix-1.9/sources/packages/l/exiv2/Makefile
===================================================================
--- radix-1.9/sources/packages/l/exiv2/Makefile	(revision 254)
+++ radix-1.9/sources/packages/l/exiv2/Makefile	(revision 255)
@@ -14,14 +14,10 @@
 tarballs    = $(addsuffix .$(suffix), $(addprefix $(pkgname)-, $(versions)))
 sha1s       = $(addsuffix .sha1sum, $(tarballs))
 
-patches     = $(CURDIR)/patches/exiv2-0.28.1-samples.patch
 
-.NOTPARALLEL: $(patches)
+BUILD_TARGETS = $(tarballs) $(sha1s)
 
 
-BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
-
-
 include ../../../../build-system/core.mk
 
 
@@ -47,10 +43,5 @@
 	   fi ; \
 	 done
 
-$(patches): $(sha1s)
-	@echo -e "\n======= Create Patches =======\n" ; \
-	 ( cd create-0.28.1-samples-patch ; ./create.patch.sh ) ; \
-	 echo -e "\n"
-
 download_clean:
-	@rm -f $(tarballs) $(sha1s) $(patches)
+	@rm -f $(tarballs) $(sha1s)