Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (a167fc4dc27071cc166cb8d2f40b2017161fb926)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (a167fc4dc27071cc166cb8d2f40b2017161fb926)
  • Date: Mon, 21 Mar 2022 00:18:55 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

graphics/exiv2/BUILD | 1 +
graphics/exiv2/CONFIGURE | 5 ++++-
graphics/exiv2/DETAILS | 1 +
graphics/exiv2/HISTORY | 4 ++++
graphics/exiv2/PRE_SUB_DEPENDS | 7 +++++++
graphics/exiv2/SUB_DEPENDS | 11 +++++++++++
graphics/gexiv2/CONFIGURE | 1 +
graphics/gexiv2/DEPENDS | 12 +++++-------
graphics/gexiv2/HISTORY | 5 +++++
9 files changed, 39 insertions(+), 8 deletions(-)

New commits:
commit a167fc4dc27071cc166cb8d2f40b2017161fb926
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

gexiv2: Add knob and exiv2 subdep for ISO BMFF

commit ac59248d165461dcfcfb4857527812fc4fea763c
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

exiv2: Add knobs for ISO BMFF support

commit d736884410e66a5371225026b1476c3ad7a9ca6b
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

gexiv2: Remove support for Python 2.x

commit c881d4f7a0b7b3c698a1181dab7aaacfb07f725d
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

gexiv2: switched to MESON_DEPENDS

diff --git a/graphics/exiv2/BUILD b/graphics/exiv2/BUILD
index e013b8d..c5c61f6 100755
--- a/graphics/exiv2/BUILD
+++ b/graphics/exiv2/BUILD
@@ -1 +1,2 @@
+OPTS+=" $EXIV2_OPTS" &&
cmake_build
diff --git a/graphics/exiv2/CONFIGURE b/graphics/exiv2/CONFIGURE
index b2f02c3..c654a89 100755
--- a/graphics/exiv2/CONFIGURE
+++ b/graphics/exiv2/CONFIGURE
@@ -1 +1,4 @@
-source $GRIMOIRE/CMAKE_CONFIGURE
+. "$GRIMOIRE"/CMAKE_CONFIGURE &&
+config_query_option EXIV2_OPTS \
+ "Build with ISO BMFF Byte Stream Format support?" y \
+ -DEXIV2_ENABLE_BMFF={ON,OFF}
diff --git a/graphics/exiv2/DETAILS b/graphics/exiv2/DETAILS
index 9dced5a..fff5545 100755
--- a/graphics/exiv2/DETAILS
+++ b/graphics/exiv2/DETAILS
@@ -1,5 +1,6 @@
SPELL=exiv2
VERSION=0.27.5
+ PATCHLEVEL=1

SOURCE_HASH=sha512:fb7153c141502de4a3446abb49d991735aa034ef30d0ee2050cffc6c73778faa8ba2a666797565d45c11f9ae1130544b6ed854570d38351505dbb3c1610c4b7c
SECURITY_PATCH=5
SOURCE=$SPELL-$VERSION.tar.gz
diff --git a/graphics/exiv2/HISTORY b/graphics/exiv2/HISTORY
index 736b9b5..0db0cd2 100644
--- a/graphics/exiv2/HISTORY
+++ b/graphics/exiv2/HISTORY
@@ -1,3 +1,7 @@
+2022-03-21 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, CONFIGURE, PRE_SUB_DEPENDS, SUB_DEPENDS: added knobs for BMFF
+ * DETAILS: PATCHLEVEL++
+
2021-06-19 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 0.27.5, SECURITY_PATCH++

diff --git a/graphics/exiv2/PRE_SUB_DEPENDS b/graphics/exiv2/PRE_SUB_DEPENDS
new file mode 100755
index 0000000..48d0575
--- /dev/null
+++ b/graphics/exiv2/PRE_SUB_DEPENDS
@@ -0,0 +1,7 @@
+case "$THIS_SUB_DEPENDS" in
+ (BMFF) list_find EXIV2_OPTS -DEXIV2_ENABLE_BMFF=ON ;;
+ (*)
+ message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1
+ ;;
+esac
diff --git a/graphics/exiv2/SUB_DEPENDS b/graphics/exiv2/SUB_DEPENDS
new file mode 100755
index 0000000..ce2a7c1
--- /dev/null
+++ b/graphics/exiv2/SUB_DEPENDS
@@ -0,0 +1,11 @@
+case "$THIS_SUB_DEPENDS" in
+ (BMFF)
+ message "BMFF needed, forcing it." &&
+ list_remove EXIV2_OPTS -DEXIV2_ENABLE_BMFF=OFF &&
+ list_add EXIV2_OPTS -DEXIV2_ENABLE_BMFF=ON
+ ;;
+ (*)
+ message "${PROBLEM_COLOR}bogus sub_depends: $SPELL
$THIS_SUB_DEPENDS${DEFAULT_COLOR}"
+ return 1
+ ;;
+esac
diff --git a/graphics/gexiv2/CONFIGURE b/graphics/gexiv2/CONFIGURE
new file mode 100755
index 0000000..4aa586a
--- /dev/null
+++ b/graphics/gexiv2/CONFIGURE
@@ -0,0 +1 @@
+config_query GEXIV2_BMFF 'Request ISO BMFF support in exiv2?' n
diff --git a/graphics/gexiv2/DEPENDS b/graphics/gexiv2/DEPENDS
index 733ec64..b7e395d 100755
--- a/graphics/gexiv2/DEPENDS
+++ b/graphics/gexiv2/DEPENDS
@@ -1,14 +1,12 @@
-depends meson &&
+. "$GRIMOIRE"/MESON_DEPENDS &&
depends exiv2 &&
+if [[ "$GEXIV2_BMFF" = y ]]; then
+ sub_depends exiv2 BMFF
+fi &&
optional_depends gobject-introspection \
"introspection=true" \
"introspection=false" \
"for GObject introspection, required for python bindings" &&
if is_depends_enabled $SPELL gobject-introspection; then
- depends PYTHON &&
- if is_depends_enabled $SPELL python; then
- depends pygobject
- else
- depends pygobject3
- fi
+ depends pygobject3
fi
diff --git a/graphics/gexiv2/HISTORY b/graphics/gexiv2/HISTORY
index a9f912d..28fb413 100644
--- a/graphics/gexiv2/HISTORY
+++ b/graphics/gexiv2/HISTORY
@@ -1,3 +1,8 @@
+2022-03-20 Ismael Luceno <ismael AT sourcemage.org>
+ * DEPENDS: switched to MESON_DEPENDS
+ removed support for Python 2.x
+ * CONFIGURE, DEPENDS: added knob and exiv2 subdep for ISO BMFF
+
2021-09-18 Florian Franzmann <bwlf AT bandrate.org>
* DETAILS: version 0.14.0




  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (a167fc4dc27071cc166cb8d2f40b2017161fb926), Ismael Luceno, 03/20/2022

Archive powered by MHonArc 2.6.24.

Top of Page