Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New Package: citations-0.5.1
@ 2022-10-06  6:28 misuchiru03
  2022-10-06  6:49 ` misuchiru03
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: misuchiru03 @ 2022-10-06  6:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/misuchiru03/void-packages np_citations_0.5.1
https://github.com/void-linux/void-packages/pull/39754

New Package: citations-0.5.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - 


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

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

From ae92ea741e88d065d8fbecce29b8821ec7f9ef18 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+github@gmail.com>
Date: Thu, 6 Oct 2022 00:35:52 -0500
Subject: [PATCH] New Package: citations-0.5.1

---
 srcpkgs/citations/template | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 srcpkgs/citations/template

diff --git a/srcpkgs/citations/template b/srcpkgs/citations/template
new file mode 100644
index 000000000000..fa6c45a726b6
--- /dev/null
+++ b/srcpkgs/citations/template
@@ -0,0 +1,14 @@
+# Template file for 'citations'
+pkgname=citations
+version=0.5.1
+revision=1
+build_style=meson
+hostmakedepends="gettext rust cargo pkg-config"
+makedepends="libadwaita-devel gtk4-devel glib-devel desktop-file-utils openssl-devel
+ poppler-glib-devel gtksourceview5-devel"
+short_desc="Manage your bibliography using BibTeX format"
+maintainer="Alex Childs <misuchiru03+github@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/citations"
+distfiles="https://gitlab.gnome.org/World/citations/-/archive/${version}/citations-${version}.tar.gz"
+checksum=77ac6a7cc442de74eccfc3f07687803cd1feca2da348753eddd34404b94bf253

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
@ 2022-10-06  6:49 ` misuchiru03
  2022-10-06  8:04 ` classabbyamp
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: misuchiru03 @ 2022-10-06  6:49 UTC (permalink / raw)
  To: ml

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

New comment by misuchiru03 on void-packages repository

https://github.com/void-linux/void-packages/pull/39754#issuecomment-1269431627

Comment:
I do not think it likes being cross-compiled. I do not have an armv7l or aarch64 machine to verify native builds.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
  2022-10-06  6:49 ` misuchiru03
@ 2022-10-06  8:04 ` classabbyamp
  2022-10-06  9:41 ` misuchiru03
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: classabbyamp @ 2022-10-06  8:04 UTC (permalink / raw)
  To: ml

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

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/39754#issuecomment-1269537837

Comment:
add `build_helper=rust`, at minimum. you may need rust-std in makedepends

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
  2022-10-06  6:49 ` misuchiru03
  2022-10-06  8:04 ` classabbyamp
@ 2022-10-06  9:41 ` misuchiru03
  2022-10-06 17:01 ` [PR PATCH] [Updated] " misuchiru03
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: misuchiru03 @ 2022-10-06  9:41 UTC (permalink / raw)
  To: ml

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

New comment by misuchiru03 on void-packages repository

https://github.com/void-linux/void-packages/pull/39754#issuecomment-1269696980

Comment:
> add `build_helper=rust`, at minimum. you may need rust-std in makedepends

That would be it, among a few other changes. Thanks!
I've got it building aarch64 right now. Once completed, will push updated template.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
                   ` (2 preceding siblings ...)
  2022-10-06  9:41 ` misuchiru03
@ 2022-10-06 17:01 ` misuchiru03
  2022-10-06 17:22 ` misuchiru03
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: misuchiru03 @ 2022-10-06 17:01 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by misuchiru03 against master on the void-packages repository

https://github.com/misuchiru03/void-packages np_citations_0.5.1
https://github.com/void-linux/void-packages/pull/39754

New Package: citations-0.5.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)


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

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

From c4aab3296d87e01acc1468a5c1dd5c7645a41a19 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+github@gmail.com>
Date: Thu, 6 Oct 2022 00:35:52 -0500
Subject: [PATCH] New Package: citations-0.5.1

---
 srcpkgs/citations/template | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/citations/template

diff --git a/srcpkgs/citations/template b/srcpkgs/citations/template
new file mode 100644
index 000000000000..16134f20eae8
--- /dev/null
+++ b/srcpkgs/citations/template
@@ -0,0 +1,32 @@
+# Template file for 'citations'
+pkgname=citations
+version=0.5.1
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="glib-devel gettext rust cargo pkg-config
+ gtk-update-icon-cache gtk4-update-icon-cache desktop-file-utils"
+makedepends="libadwaita-devel gtk4-devel openssl-devel
+ rust-std poppler-glib-devel gtksourceview5-devel"
+short_desc="Manage your bibliography using BibTeX format"
+maintainer="Alex Childs <misuchiru03+github@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/citations"
+distfiles="https://gitlab.gnome.org/World/citations/-/archive/${version}/citations-${version}.tar.gz"
+checksum=77ac6a7cc442de74eccfc3f07687803cd1feca2da348753eddd34404b94bf253
+_meson_builddir="${XBPS_BUILDDIR}/citations-${version}/build"
+
+# Allows the cross build to know where the file is placed--build.ninja does not account for cross build
+pre_build() {
+	if [ "${CROSS_BUILD}" ]; then
+		sed -i 's, && cp src/release/citations src/citations,,' ${_meson_builddir}/build.ninja
+	fi
+}
+
+# Take the cross-build folder into account when copying the file for the install
+post_build() {
+	if [ "${CROSS_BUILD}" ]; then
+		cp -r ${_meson_builddir}/src/*-linux-*/release/citations \
+		 ${_meson_builddir}/src/citations
+	fi
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
                   ` (3 preceding siblings ...)
  2022-10-06 17:01 ` [PR PATCH] [Updated] " misuchiru03
@ 2022-10-06 17:22 ` misuchiru03
  2022-10-06 19:18 ` [PR PATCH] [Updated] " misuchiru03
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: misuchiru03 @ 2022-10-06 17:22 UTC (permalink / raw)
  To: ml

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

New comment by misuchiru03 on void-packages repository

https://github.com/void-linux/void-packages/pull/39754#issuecomment-1270436561

Comment:
If the package is built natively, it is fine as is. There is a `build.ninja` that expects the file to build natively and the cross build places the built files in a different location so cross builds fail. I have added a check for Cross Build only to make sure it finds the file properly and cross builds built fine on my system.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
                   ` (4 preceding siblings ...)
  2022-10-06 17:22 ` misuchiru03
@ 2022-10-06 19:18 ` misuchiru03
  2022-10-08  4:02 ` [PR REVIEW] " abenson
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: misuchiru03 @ 2022-10-06 19:18 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by misuchiru03 against master on the void-packages repository

https://github.com/misuchiru03/void-packages np_citations_0.5.1
https://github.com/void-linux/void-packages/pull/39754

New Package: citations-0.5.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)
- aarch64-musl
- aarch64
- armv7l


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

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

From dcde0959e30d09465cc7f661be40bf9e7d754d6c Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+github@gmail.com>
Date: Thu, 6 Oct 2022 00:35:52 -0500
Subject: [PATCH] New Package: citations-0.5.1

Closes #38770
---
 srcpkgs/citations/template | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/citations/template

diff --git a/srcpkgs/citations/template b/srcpkgs/citations/template
new file mode 100644
index 000000000000..16134f20eae8
--- /dev/null
+++ b/srcpkgs/citations/template
@@ -0,0 +1,32 @@
+# Template file for 'citations'
+pkgname=citations
+version=0.5.1
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="glib-devel gettext rust cargo pkg-config
+ gtk-update-icon-cache gtk4-update-icon-cache desktop-file-utils"
+makedepends="libadwaita-devel gtk4-devel openssl-devel
+ rust-std poppler-glib-devel gtksourceview5-devel"
+short_desc="Manage your bibliography using BibTeX format"
+maintainer="Alex Childs <misuchiru03+github@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/citations"
+distfiles="https://gitlab.gnome.org/World/citations/-/archive/${version}/citations-${version}.tar.gz"
+checksum=77ac6a7cc442de74eccfc3f07687803cd1feca2da348753eddd34404b94bf253
+_meson_builddir="${XBPS_BUILDDIR}/citations-${version}/build"
+
+# Allows the cross build to know where the file is placed--build.ninja does not account for cross build
+pre_build() {
+	if [ "${CROSS_BUILD}" ]; then
+		sed -i 's, && cp src/release/citations src/citations,,' ${_meson_builddir}/build.ninja
+	fi
+}
+
+# Take the cross-build folder into account when copying the file for the install
+post_build() {
+	if [ "${CROSS_BUILD}" ]; then
+		cp -r ${_meson_builddir}/src/*-linux-*/release/citations \
+		 ${_meson_builddir}/src/citations
+	fi
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR REVIEW] New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
                   ` (5 preceding siblings ...)
  2022-10-06 19:18 ` [PR PATCH] [Updated] " misuchiru03
@ 2022-10-08  4:02 ` abenson
  2022-10-08  5:45 ` [PR PATCH] [Updated] " misuchiru03
  2022-10-20  1:35 ` [PR PATCH] [Merged]: " abenson
  8 siblings, 0 replies; 10+ messages in thread
From: abenson @ 2022-10-08  4:02 UTC (permalink / raw)
  To: ml

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

New review comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/39754#discussion_r990584863

Comment:
Use `vsed`

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Updated] New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
                   ` (6 preceding siblings ...)
  2022-10-08  4:02 ` [PR REVIEW] " abenson
@ 2022-10-08  5:45 ` misuchiru03
  2022-10-20  1:35 ` [PR PATCH] [Merged]: " abenson
  8 siblings, 0 replies; 10+ messages in thread
From: misuchiru03 @ 2022-10-08  5:45 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by misuchiru03 against master on the void-packages repository

https://github.com/misuchiru03/void-packages np_citations_0.5.1
https://github.com/void-linux/void-packages/pull/39754

New Package: citations-0.5.1
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)
- aarch64-musl
- aarch64
- armv7l


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

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

From 19028df42f12a9ee8b66292f2369bdd20a24e364 Mon Sep 17 00:00:00 2001
From: Alex Childs <misuchiru03+github@gmail.com>
Date: Thu, 6 Oct 2022 00:35:52 -0500
Subject: [PATCH] New Package: citations-0.5.1

Closes #38770
---
 srcpkgs/citations/template | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 srcpkgs/citations/template

diff --git a/srcpkgs/citations/template b/srcpkgs/citations/template
new file mode 100644
index 000000000000..feb839767cd5
--- /dev/null
+++ b/srcpkgs/citations/template
@@ -0,0 +1,32 @@
+# Template file for 'citations'
+pkgname=citations
+version=0.5.1
+revision=1
+build_style=meson
+build_helper=rust
+hostmakedepends="glib-devel gettext rust cargo pkg-config
+ gtk-update-icon-cache gtk4-update-icon-cache desktop-file-utils"
+makedepends="libadwaita-devel gtk4-devel openssl-devel
+ rust-std poppler-glib-devel gtksourceview5-devel"
+short_desc="Manage your bibliography using BibTeX format"
+maintainer="Alex Childs <misuchiru03+github@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.gnome.org/World/citations"
+distfiles="https://gitlab.gnome.org/World/citations/-/archive/${version}/citations-${version}.tar.gz"
+checksum=77ac6a7cc442de74eccfc3f07687803cd1feca2da348753eddd34404b94bf253
+_meson_builddir="${XBPS_BUILDDIR}/citations-${version}/build"
+
+# Allows the cross build to know where the file is placed--build.ninja does not account for cross build
+pre_build() {
+	if [ "${CROSS_BUILD}" ]; then
+		vsed -i build/build.ninja -e 's, && cp src/release/citations src/citations,,'
+	fi
+}
+
+# Take the cross-build folder into account when copying the file for the install
+post_build() {
+	pwd
+	if [ "${CROSS_BUILD}" ]; then
+		cp -r build/src/*-linux-*/release/citations build/src/citations
+	fi
+}

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PR PATCH] [Merged]: New Package: citations-0.5.1
  2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
                   ` (7 preceding siblings ...)
  2022-10-08  5:45 ` [PR PATCH] [Updated] " misuchiru03
@ 2022-10-20  1:35 ` abenson
  8 siblings, 0 replies; 10+ messages in thread
From: abenson @ 2022-10-20  1:35 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

New Package: citations-0.5.1
https://github.com/void-linux/void-packages/pull/39754

Description:
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**


#### Local build testing
- I built this PR locally for my native architecture, (x86_64-GLIBC)
- aarch64-musl
- aarch64
- armv7l


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-10-20  1:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-06  6:28 [PR PATCH] New Package: citations-0.5.1 misuchiru03
2022-10-06  6:49 ` misuchiru03
2022-10-06  8:04 ` classabbyamp
2022-10-06  9:41 ` misuchiru03
2022-10-06 17:01 ` [PR PATCH] [Updated] " misuchiru03
2022-10-06 17:22 ` misuchiru03
2022-10-06 19:18 ` [PR PATCH] [Updated] " misuchiru03
2022-10-08  4:02 ` [PR REVIEW] " abenson
2022-10-08  5:45 ` [PR PATCH] [Updated] " misuchiru03
2022-10-20  1:35 ` [PR PATCH] [Merged]: " abenson

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).