[arch-commits] Commit in glibmm/trunk (PKGBUILD header.diff)

Jan Steffens heftig at archlinux.org
Wed Mar 18 17:56:47 UTC 2020


    Date: Wednesday, March 18, 2020 @ 17:56:46
  Author: heftig
Revision: 377869

2.64.0-1

Added:
  glibmm/trunk/header.diff
Modified:
  glibmm/trunk/PKGBUILD

-------------+
 PKGBUILD    |   12 ++++++++++--
 header.diff |   13 +++++++++++++
 2 files changed, 23 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-18 17:27:17 UTC (rev 377868)
+++ PKGBUILD	2020-03-18 17:56:46 UTC (rev 377869)
@@ -14,8 +14,10 @@
 checkdepends=(glib-networking)
 options=(!emptydirs)
 _commit=5e4b8f37de7110f4905ca11961dfe372151df095  # tags/2.64.0^0
-source=("git+https://gitlab.gnome.org/GNOME/glibmm.git#commit=$_commit")
-sha256sums=('SKIP')
+source=("git+https://gitlab.gnome.org/GNOME/glibmm.git#commit=$_commit"
+        header.diff)
+sha256sums=('SKIP'
+            'dd735cb3509bbb3400c150ab64f4791385df5393df3de964f0fcf548dd7d626c')
 
 pkgver() {
   cd $pkgbase
@@ -24,6 +26,12 @@
 
 prepare() {
   cd $pkgbase
+
+  # Missing includes
+  git cherry-pick -n c6e078c3e7d457a9db39073af30af0c65b5145c1
+
+  # Missing header
+  git apply -3 ../header.diff
 }
 
 build() {

Added: header.diff
===================================================================
--- header.diff	                        (rev 0)
+++ header.diff	2020-03-18 17:56:46 UTC (rev 377869)
@@ -0,0 +1,13 @@
+diff --git i/tools/extra_defs_gen/meson.build w/tools/extra_defs_gen/meson.build
+index 900943c9..239a543a 100644
+--- i/tools/extra_defs_gen/meson.build
++++ w/tools/extra_defs_gen/meson.build
+@@ -13,6 +13,8 @@ glibmm_generate_extra_defs_library = library(
+   install: true,
+ )
+ 
++install_headers('generate_extra_defs.h', subdir: glibmm_pcname / 'glibmm_generate_extra_defs')
++
+ executable('generate_defs_glib', 'generate_defs_glib.cc',
+   dependencies: glibmm_build_dep,
+   link_with: glibmm_generate_extra_defs_library,



More information about the arch-commits mailing list