Github messages for voidlinux
 help / color / mirror / Atom feed
From: pullmoll <pullmoll@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] muffin: move *.gir and *.typelib files
Date: Wed, 05 Aug 2020 15:41:11 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24074@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 590 bytes --]

There is a new pull request by pullmoll against master on the void-packages repository

https://github.com/pullmoll/void-packages muffin
https://github.com/void-linux/void-packages/pull/24074

muffin: move *.gir and *.typelib files
Other packages have *.gir files in usr/lib/gir-1.0 and the
*.typelib files in usr/lib/girepository-1.0. The usr/lib/gir-1.0
directory should then be in the muffin-devel subpackage AFAICT.

This is in a try to fix the cinnamon cross build yet it isn't sufficient.

A patch file from https://github.com/void-linux/void-packages/pull/24074.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-muffin-24074.patch --]
[-- Type: text/x-diff, Size: 1304 bytes --]

From dba3d919b9a70cef13e5c91dd12726dd6c9b2662 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= <pullmoll@t-online.de>
Date: Wed, 5 Aug 2020 15:39:32 +0200
Subject: [PATCH] muffin: move *.gir and *.typelib files

Other packages have *.gir files in usr/lib/gir-1.0 and the
*.typelib files in usr/lib/girepository-1.0. The usr/lib/gir-1.0
directory should then be in the muffin-devel subpackage AFAICT.

This is in a try to fix the cinnamon cross build yet it isn't sufficient.
---
 srcpkgs/muffin/template | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/srcpkgs/muffin/template b/srcpkgs/muffin/template
index 75f63bea16e..33f0eb848e0 100644
--- a/srcpkgs/muffin/template
+++ b/srcpkgs/muffin/template
@@ -24,6 +24,13 @@ pre_configure() {
 	NOCONFIGURE=1 ./autogen.sh
 }
 
+post_install() {
+	vmkdir usr/lib/gir-1.0
+	mv ${DESTDIR}/usr/lib/muffin/*.gir ${DESTDIR}/usr/lib/gir-1.0
+	vmkdir usr/lib/girepository-1.0
+	mv ${DESTDIR}/usr/lib/muffin/*.typelib ${DESTDIR}/usr/lib/girepository-1.0
+}
+
 muffin-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	short_desc+=" - development files"
@@ -31,5 +38,6 @@ muffin-devel_package() {
 		vmove "usr/lib/*.so"
 		vmove usr/include
 		vmove usr/lib/pkgconfig
+		vmove usr/lib/gir-1.0
 	}
 }

             reply	other threads:[~2020-08-05 13:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-05 13:41 pullmoll [this message]
2020-08-06  5:38 ` [PR PATCH] [Merged]: " pullmoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-24074@inbox.vuxu.org \
    --to=pullmoll@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).