Skip to content

Commit 76f4eb3

Browse files
committed
Build to deb
1 parent 6d333d4 commit 76f4eb3

File tree

8 files changed

+69
-2
lines changed

8 files changed

+69
-2
lines changed

Readme.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,21 @@ Die Coverage wurde nach diesem [Template](https://github.com/cicirello/examples-
3030
### Acknowledgement
3131

3232
Der Warnsound wurde von [hier](https://freesound.org/s/507906/) heruntergeladen.
33-
Die meisten Kontroll-Grafiken stammen von Dibo.
33+
Die meisten Kontroll-Grafiken stammen von Dibo.
34+
35+
36+
## Build:
37+
Um ein Debian-Paket zu bauen, müssen die folgenden Pakete installiert sein:
38+
```shell
39+
sudo apt install -y build-essential debhelper devscripts
40+
```
41+
42+
43+
```shell
44+
./mvnw clean package jpackage:jpackage
45+
46+
mkdir -p target/deb
47+
cp -r debian target/deb
48+
cd target/deb
49+
dpkg-buildpackage -us -uc
50+
```

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
robbisimulator (0.13.0) unstable; urgency=medium
2+
3+
* First Debian release.
4+
5+
-- JayPi4c <jaypi4c@gmail.com> Thu, 28 Oct 2025 16:36:00 +0200

debian/control

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Source: robbisimulator
2+
Section: misc
3+
Maintainer: JayPi4c <jaypi4c@gmail.com>
4+
Priority: optional
5+
Build-Depends: debhelper-compat (= 13), gzip
6+
Standards-Version: 4.7.2
7+
Homepage: https://github.com/JayPi4c/RobbiSimulator
8+
9+
Package: robbisimulator
10+
Architecture: amd64
11+
Description: RobbiSimulator does some crazy stuff.
12+
Depends: ${shlibs:Depends}, ${misc:Depends}

debian/install

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
../jpackage-image/RobbiSimulator/bin/* usr/bin/
2+
../jpackage-image/RobbiSimulator/lib/* usr/lib/RobbiSimulator/lib/

debian/rules

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/make -f
2+
3+
%:
4+
dh $@

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (native)

pom.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,36 @@
5353
</execution>
5454
</executions>
5555
<configuration>
56+
<jlinkZipName>app</jlinkZipName>
57+
<jlinkImageName>app</jlinkImageName>
58+
<noManPages>true</noManPages>
59+
<stripDebug>true</stripDebug>
60+
<noHeaderFiles>true</noHeaderFiles>
61+
<options>
62+
<option>-Dfile.encoding=UTF-8</option>
63+
<option>--enable-native-access=javafx.graphics</option>
64+
</options>
5665
<mainClass>RobbiSimulator/com.JayPi4c.RobbiSimulator.App</mainClass>
5766
<launcher>robbiSimulator</launcher>
5867
</configuration>
5968
</plugin>
69+
70+
<plugin>
71+
<groupId>org.panteleyev</groupId>
72+
<artifactId>jpackage-maven-plugin</artifactId>
73+
<version>1.7.1</version>
74+
<configuration>
75+
<type>APP_IMAGE</type>
76+
<vendor>JayPi4c</vendor>
77+
<name>RobbiSimulator</name>
78+
<destination>target/jpackage-image</destination>
79+
<module>RobbiSimulator/com.JayPi4c.RobbiSimulator.App</module>
80+
<runtimeImage>target/app</runtimeImage>
81+
<javaOptions>
82+
<option>-Dfile.encoding=UTF-8</option>
83+
</javaOptions>
84+
</configuration>
85+
</plugin>
6086
</plugins>
6187
</build>
6288

src/main/java/com/JayPi4c/RobbiSimulator/model/Robbi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @author Jonas Pohl
1111
*/
12-
@Slf4j
12+
@Slf4j(access = AccessLevel.PROTECTED)
1313
@NoArgsConstructor
1414
public class Robbi {
1515

0 commit comments

Comments
 (0)