Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] picosat: split libpicosat, enable trace
Date: Sat, 03 Jul 2021 20:49:09 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31789@inbox.vuxu.org> (raw)

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

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

https://github.com/Chocimier/void-packages-org picosat
https://github.com/void-linux/void-packages/pull/31789

picosat: split libpicosat, enable trace
for usage in repodb 

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

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

From f82156850f0771dadd2eace7a2d37bfdf2884585 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Mon, 3 May 2021 16:53:20 +0200
Subject: [PATCH] picosat: split libpicosat, enable trace

---
 srcpkgs/libpicosat       |  1 +
 srcpkgs/picosat/template | 14 +++++++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)
 create mode 120000 srcpkgs/libpicosat

diff --git a/srcpkgs/libpicosat b/srcpkgs/libpicosat
new file mode 120000
index 000000000000..c9996e4e2614
--- /dev/null
+++ b/srcpkgs/libpicosat
@@ -0,0 +1 @@
+picosat
\ No newline at end of file
diff --git a/srcpkgs/picosat/template b/srcpkgs/picosat/template
index 27560566272b..3a14c7ef1067 100644
--- a/srcpkgs/picosat/template
+++ b/srcpkgs/picosat/template
@@ -1,7 +1,7 @@
 # Template file for 'picosat'
 pkgname=picosat
 version=965
-revision=1
+revision=2
 build_style=configure
 configure_script="./configure.sh"
 configure_args="--shared --static"
@@ -13,6 +13,8 @@ changelog="http://fmv.jku.at/picosat/NEWS"
 distfiles="http://fmv.jku.at/picosat/picosat-${version}.tar.gz"
 checksum=15169b4f28ba8f628f353f6f75a100845cdef4a2244f101a02b6e5a26e46a754
 
+CFLAGS=-DTRACE
+
 post_extract() {
 	# fix parallel builds
 	vsed -i -e 's/-l\(picosat\)/-l:lib\1.a/g' makefile.in
@@ -31,12 +33,18 @@ do_install() {
 	vlicense LICENSE
 }
 
+libpicosat_package() {
+	short_desc+=" - runtime library"
+	pkg_install() {
+		vmove "usr/lib/*.so"
+	}
+}
+
 picosat-devel_package() {
 	short_desc+=" - development files"
-	depends="${sourcepkg}>=${version}_${revision}"
+	depends="libpicosat>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
 		vmove "usr/lib/*.a"
-		vmove "usr/lib/*.so"
 	}
 }

             reply	other threads:[~2021-07-03 18:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-03 18:49 Chocimier [this message]
2021-07-03 21:32 ` [PR PATCH] [Merged]: " leahneukirchen

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-31789@inbox.vuxu.org \
    --to=chocimier@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).