Skip to content

Commit

Permalink
more work on deb packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
kcleal committed Dec 11, 2023
1 parent 79e123a commit 505473d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 18 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ jobs:
run: |
BUILD_DIR=$(pwd)
ls
git clone --depth 1 https://github.com/ebiggers/libdeflate.git
cd libdeflate && CFLAGS+=' -fPIC -O3 ' cmake -B build && CFLAGS+=' -fPIC -O3 ' cmake --build build
Expand Down Expand Up @@ -158,22 +157,14 @@ jobs:
run: |
dh_make --single --createorig --packagename gw_${version} --email clealk@cardiff.ac.uk --yes --native
# cp deps/control debian/control
printf "usr/bin/gw\nusr/share/icons/gw_icon.png\nusr/share/applications/gw.desktop\nusr/lib/gwhts/" > debian/install
# printf "override_dh_shlibdeps:\n\tdh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info" >> debian/rules
# sed -i '3 i export LD_LIBRARY_PATH=/usr/lib/gwhts' debian/rules
export LDFLAGS="$LDFLAGS -L./lib/skia/out/Release-x64 -L/usr/local/lib -L/usr/lib -L./usr/lib/gwhts -Wl,-rpath,'$ORIGIN/./usr/lib/gwhts'"
# export LDFLAGS="$LDFLAGS -L./lib/skia/out/Release-x64 -L/usr/local/lib -L/usr/lib -L./usr/lib/gwhts"
# export LDFLAGS="$LDFLAGS -L./lib/skia/out/Release-x64 -L/usr/local/lib -L/usr/lib -L./usr/lib -Wl,-rpath,'$ORIGIN/./usr/lib'"
# printf "\noverride_dh_auto_build:\n\tdh_auto_build -- LDFLAGS=\"\$$LDFLAGS -L./lib/skia/out/Release-x64 -L/usr/local/lib -L/usr/lib -L./usr/lib -Wl,-rpath,'$ORIGIN/./usr/lib' \"\n" >> debian/rules
export LDFLAGS="$LDFLAGS -L./lib/skia/out/Release-x64 -L/usr/local/lib -L/usr/lib -L./usr/lib/gwhts -Wl,-rpath,'$ORIGIN/../lib/gwhts'"
dpkg-buildpackage
- name: upload
uses: actions/upload-artifact@v3
Expand Down
9 changes: 2 additions & 7 deletions deps/control
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
Source: gw
Package: gw
Section: bioinformatics
Priority: optional
Maintainer: "Kez Cleal" <clealk@cardiff.ac.uk>
Build-Depends: debhelper-compat (= 13)
Standards-Version: 4.6.0
Homepage: https://github.com/kcleal/gw
Rules-Requires-Root: no

Package: gw
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Depends: libbz2-1.0, libc6 (>= 2.35), libcurl4 (>= 7.18.0), libdeflate0 (>= 1.0), libegl1, libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.11.0), libgcc-s1 (>= 3.4), libgles2, libglfw3 (>= 3.3), liblzma5 (>= 5.1.1alpha+20120614), libssl3 (>= 3.0.0~~alpha1), libstdc++6 (>= 12), zlib1g (>= 1:1.1.4)
Description: Genome browser and variant annotation package

0 comments on commit 505473d

Please sign in to comment.