Skip to content

Commit 333adf8

Browse files
authored
Merge pull request #58 from eidelen/ppa2404
Ppa2404
2 parents 0de7e71 + 9b8bc40 commit 333adf8

File tree

5 files changed

+32
-6
lines changed

5 files changed

+32
-6
lines changed

HowToPPA.txt

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
How to update ppa package (apt-get install ...)
22

33
0) Prepare
4-
gpg --gen-key # make a key
4+
gpg --gen-key # make a key and use launchpad email address
55
gpg --keyserver keyserver.ubuntu.com --send-keys XXXXXXXXX # add the key to the key server
66
add the key also to launchpad
77

8+
0.1) The keys XXXXXXX
9+
You can get local keys with > gpg --list-keys --keyid-format short.
10+
The key XXXXXXXX are the last 8 hex values of your generated key.... see
11+
```
12+
pub ed25519/A1AA5854 2025-06-10 [SC] [expires: 2028-06-09]
13+
4F5DB1AD5586BC25FFB5F22CCF6BFA4BA1AA5854
14+
uid [ultimate] Adrian Schneider <[email protected]>
15+
sub cv25519/B33CA6CE 2025-06-10 [E] [expires: 2028-06-09]
16+
```
17+
... where A1AA5854 is your key.
18+
819
1) Update the version in file changelog
920

1021
2) Create package
1122
tar -acf dicom2mesh_0.1.orig.tar.gz DicomToMesh; cd DicomToMesh; debuild -S -sa -kXXXXXX; cd ..;
12-
... where XXXXX is the key id
23+
... where XXXXX is the FULL key id
1324

1425
3) Upload to server
1526
dput ppa:eidelen/d2m dicom2mesh_0.1-0ppa0_source.changes

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ The option <code>-vo</code> shows the input DICOM data in a volume renderer (vtk
3737

3838
# Installation
3939

40-
Ubuntu 18.04
40+
Ubuntu 24.04, 18.04
4141
```
4242
> sudo add-apt-repository ppa:eidelen/d2m
4343
> sudo apt-get update
4444
> sudo apt-get install dicom2mesh
4545
```
46+
Note: Running dicom2mesh on Ubuntu 24.04 may throw an error about missing shared libraries.
47+
If that happens, please let me know — I’ll update the RPATH configuration accordingly.
48+
Also, if there are any Launchpad or PPA experts among you, I’d really appreciate your support!
4649

4750
On OSX and Windows it is required to build DicomToMesh yourself.
4851

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
dicom2mesh (0.818-0ppa0~noble) noble; urgency=low
2+
3+
* Try to fix linking error libjawt
4+
5+
-- Adrian Schneider (eidelen) <[email protected]> Wed, 11 Jun 2025 18:41:19 +0200
6+
17
dicom2mesh (0.812-0ppa0~jammy) jammy; urgency=low
28

39
* Jammy version
@@ -7,3 +13,4 @@ dicom2mesh (0.812-0ppa0~jammy) jammy; urgency=low
713

814

915
-- Adrian Schneider (eidelen) <[email protected]> Sun, 06 Aug 2023 22:02:16 +0200
16+

debian/control

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ Source: dicom2mesh
22
Section: devel
33
Priority: optional
44
Maintainer: Adrian Schneider <[email protected]>
5-
Build-Depends: cmake, build-essential, libvtk9-dev, qtbase5-dev, libqt5opengl5-dev
5+
Build-Depends: debhelper-compat (= 13), cmake, build-essential, libvtk9-dev, qtbase5-dev, libqt5opengl5-dev, default-jdk
66
Homepage: https://github.com/eidelen/DicomToMesh
77

88
Package: dicom2mesh
99
Architecture: any
10-
Depends: vtk9, qtbase5-dev, libqt5opengl5-dev
10+
Depends: ${shlibs:Depends}, ${misc:Depends}, vtk9, qtbase5-dev, libqt5opengl5-dev, default-jre
1111
Description: DICOM to 3D mesh
1212
Dicom2Mesh is a command line tool to create 3D surface meshs from a set of 2D DICOM images. The supported 3D mesh formats are STL, OBJ and PLY. Several mesh processing routines can be applied.

debian/rules

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22

33
BUILDDIR = build_dir
44

5+
# add missing shared libs path
6+
JAVA_HOME := /usr/lib/jvm/default-java
7+
JAWT_LIB_PATH := $(JAVA_HOME)/lib
8+
JAWT_SRV_LIB_PATH := $(JAVA_HOME)/lib/server
9+
510
# secondly called by launchpad
611
build:
712
mkdir $(BUILDDIR);
8-
cd $(BUILDDIR); cmake -DBUILD_GUI=OFF -DUSE_VTK_DICOM=OFF -DCMAKE_INSTALL_PREFIX=../debian/tmp/usr ..
13+
cd $(BUILDDIR); cmake -DBUILD_GUI=OFF -DUSE_VTK_DICOM=OFF -DCMAKE_INSTALL_PREFIX=../debian/tmp/usr -DCMAKE_INSTALL_RPATH="$(JAWT_LIB_PATH);$(JAWT_SRV_LIB_PATH)" ..
914
make -C $(BUILDDIR)
1015

1116
# thirdly called by launchpad

0 commit comments

Comments
 (0)