[med-svn] [Git][med-team/segemehl][master] 3 commits: Do not hardcode pkg-config to fix non cross-buildability

Nilesh Patra gitlab at salsa.debian.org
Thu Feb 18 09:49:10 GMT 2021



Nilesh Patra pushed to branch master at Debian Med / segemehl


Commits:
e4249723 by Nilesh Patra at 2021-02-18T15:06:28+05:30
Do not hardcode pkg-config to fix non cross-buildability

- - - - -
d844691a by Nilesh Patra at 2021-02-18T15:14:13+05:30
d/u/metadata: Update URLs

- - - - -
2835fcd8 by Nilesh Patra at 2021-02-18T15:14:51+05:30
Update changelog

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/cross.patch
- debian/patches/series
- debian/upstream/metadata


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+segemehl (0.3.4-3) unstable; urgency=medium
+
+  * Team Upload.
+  * Do not hardcode pkg-config to fix
+    non cross-buildability
+  * d/u/metadata: Update URLs
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Thu, 18 Feb 2021 15:14:26 +0530
+
 segemehl (0.3.4-2) unstable; urgency=medium
 
   * Fix typo in long description


=====================================
debian/patches/cross.patch
=====================================
@@ -0,0 +1,20 @@
+Description: Do not hardcode pkg-config to make package cross-buildable
+Author: Nilesh Patra <npatra974 at gmail.com>
+Last-Update: 2021-02-18
+--- a/Makefile
++++ b/Makefile
+@@ -1,11 +1,12 @@
+ CC?=gcc
+ LD=${CC}
++PKG_CONFIG ?= pkg-config
+ CFLAGS +=  -Wall -pedantic -std=c99 -g -O3 -DSORTEDUNMAPPED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDBGNFO -DSHOWALIGN -DDBGLEVEL=0 -DPROGNFO -Ilibs -Ilibs/sufarray -Isamtools
+-CFLAGS += `pkg-config --cflags htslib`
++CFLAGS += `$(PKG_CONFIG) --cflags htslib`
+ INC := -I include
+ CTAGS = ctags > tags
+ LIB += -lm -lpthread -lz -lncurses -L libs -lform -lmenu -L/usr/local/lib/
+-LIB += `pkg-config --libs htslib`
++LIB += `$(PKG_CONFIG) --libs htslib`
+ 
+ 
+ PRGTARGETS := segemehl haarz


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 rpath.patch
+cross.patch


=====================================
debian/upstream/metadata
=====================================
@@ -12,9 +12,9 @@ Reference:
    Pages: e1000502
    DOI: 10.1371/journal.pcbi.1000502
    PMID: 19750212
-   URL: "http://journals.plos.org/ploscompbiol/article?id=\
+   URL: "https://journals.plos.org/ploscompbiol/article?id=\
     10.1371/journal.pcbi.1000502"
-   eprint: "http://journals.plos.org/ploscompbiol/article/asset?id=\
+   eprint: "https://journals.plos.org/ploscompbiol/article/asset?id=\
     10.1371%2Fjournal.pcbi.1000502.PDF"
  - Author: >
     Steve Hoffmann and Christian Otto and Gero Doose and Andrea Tanzer and
@@ -42,9 +42,9 @@ Reference:
    Pages: 1698-704
    DOI: 10.1093/bioinformatics/bts254
    PMID: 22581174
-   URL: http://bioinformatics.oxfordjournals.org/content/28/13/1698
+   URL: https://academic.oup.com/bioinformatics/article/28/13/1698/235152
    eprint: >
-    http://bioinformatics.oxfordjournals.org/content/28/13/1698.full.pdf+html
+    https://academic.oup.com/bioinformatics/article-pdf/28/13/1698/641879/bts254.pdf
 Registry:
  - Name: OMICtools
    Entry: OMICS_00683



View it on GitLab: https://salsa.debian.org/med-team/segemehl/-/compare/30fdb1b972aa2f8dd1f2725209da124b99e3a57a...2835fcd8e601071f5e3d3a4abac7af5fae357c29

-- 
View it on GitLab: https://salsa.debian.org/med-team/segemehl/-/compare/30fdb1b972aa2f8dd1f2725209da124b99e3a57a...2835fcd8e601071f5e3d3a4abac7af5fae357c29
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210218/44d52903/attachment-0001.html>


More information about the debian-med-commit mailing list