Skip to content

Commit

Permalink
solved missing Linux unicode symbols with dep to ttf-ancient-fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
grillbaer committed Jun 4, 2021
1 parent 420dfe7 commit 04fea68
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion opencv-linux-amd64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<version>0.1-SNAPSHOT</version>
</parent>

<artifactId>opencv-linux-x64</artifactId>
<artifactId>opencv-linux-amd64</artifactId>

<!-- The goal of this module is to create a size-reduced version of the
opencv jar with all shared libraries for other OS platforms removed.
Expand Down
2 changes: 1 addition & 1 deletion opencv-windows-amd64/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<version>0.1-SNAPSHOT</version>
</parent>

<artifactId>opencv-windows-x64</artifactId>
<artifactId>opencv-windows-amd64</artifactId>

<!-- The goal of this module is to create a size-reduced version of the
opencv jar with all shared libraries for other OS platforms removed.
Expand Down
19 changes: 11 additions & 8 deletions spectracle-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>1.3.0</version>
<version>1.5.1</version>

<!-- TODO: strip down installer size, use modules, find small alternative to OpenCV -->

Expand Down Expand Up @@ -103,7 +103,7 @@
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>1.3.0</version>
<version>1.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -127,7 +127,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>opencv-windows-x64</artifactId>
<artifactId>opencv-windows-amd64</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand All @@ -146,21 +146,24 @@
<plugin>
<groupId>org.panteleyev</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>1.3.0</version>
<version>1.5.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jpackage</goal>
</goals>
<configuration>
<icon>media/icon.svg</icon>
<icon>src/main/resources/icons/icon-128.png</icon>
<type>DEB</type>
<linuxAppCategory>Science</linuxAppCategory>
<linuxMenuGroup>Science</linuxMenuGroup>
<!--TODO: /opt is default <installDir></installDir>-->
<!--TODO: <linuxDebMaintainer></linuxDebMaintainer>-->
<installDir>/usr</installDir>
<linuxShortcut>true</linuxShortcut>
<additionalOptions>
<option>--linux-package-deps</option>
<option>ttf-ancient-fonts</option>
</additionalOptions>
</configuration>
</execution>
</executions>
Expand All @@ -171,7 +174,7 @@
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>opencv-linux-x64</artifactId>
<artifactId>opencv-linux-amd64</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down

0 comments on commit 04fea68

Please sign in to comment.