Skip to content

Commit 53be6d8

Browse files
committed
Initial commit
0 parents  commit 53be6d8

File tree

4,989 files changed

+521227
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,989 files changed

+521227
-0
lines changed

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: purejava
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/publish-github.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish libappindicator-gtk3-java to GitHub Packages
2+
on:
3+
release:
4+
types: [published]
5+
6+
defaults:
7+
run:
8+
shell: bash
9+
10+
jobs:
11+
publish:
12+
runs-on: windows-latest
13+
if: startsWith(github.ref, 'refs/tags/') # only allow publishing tagged versions
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-java@v3
17+
with:
18+
distribution: 'temurin'
19+
java-version: 19
20+
cache: 'maven'
21+
gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
22+
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
23+
- name: Enforce project version ${{ github.event.release.tag_name }}
24+
run: mvn versions:set -B -DnewVersion="${{ github.event.release.tag_name }}"
25+
- name: Deploy
26+
run: mvn deploy -B -DskipTests -Psign,deploy-github --no-transfer-progress
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}

.github/workflows/publish-maven.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Publish libappindicator-gtk3-java to Maven Central
2+
on:
3+
release:
4+
types: [published]
5+
6+
defaults:
7+
run:
8+
shell: bash
9+
10+
jobs:
11+
publish:
12+
runs-on: windows-latest
13+
if: startsWith(github.ref, 'refs/tags/') # only allow publishing tagged versions
14+
steps:
15+
- uses: actions/checkout@v3
16+
- uses: actions/setup-java@v3
17+
with:
18+
distribution: 'temurin'
19+
java-version: 19
20+
cache: 'maven'
21+
server-id: ossrh
22+
server-username: MAVEN_USERNAME
23+
server-password: MAVEN_PASSWORD
24+
gpg-private-key: ${{ secrets.RELEASES_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
25+
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
26+
- name: Enforce project version ${{ github.event.release.tag_name }}
27+
run: mvn versions:set -B -DnewVersion="${{ github.event.release.tag_name }}"
28+
- name: Deploy
29+
run: mvn deploy -B -DskipTests -Psign,deploy-central --no-transfer-progress
30+
env:
31+
MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }}
32+
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
33+
MAVEN_GPG_PASSPHRASE: ${{ secrets.RELEASES_GPG_PASSPHRASE }}

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
*.class
2+
*.jar
3+
4+
# Maven #
5+
target/
6+
pom.xml.versionsBackup
7+
8+
# IntelliJ Settings Files (https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems) #
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/dictionaries
12+
.idea/**/libraries/
13+
.idea/.name
14+
.idea/encodings.xml
15+
.idea/compiler.xml
16+
.idea/jarRepositories.xml
17+
*.iml
18+
19+
# macOS
20+
.DS_Store

.idea/icon.svg

Lines changed: 7 additions & 0 deletions
Loading

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022-2023 Ralph Plawetzki
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# libappindicator-gtk3-java
2+
![libappindicator-gtk3-java](libappindicator-gtk3-java.svg)
3+
4+
[![License](https://img.shields.io/github/license/purejava/libappindicator-gtk3-java.svg)](https://github.com/purejava/libappindicator-gtk3-java/blob/master/LICENSE)
5+
[![Maven Central](https://img.shields.io/maven-central/v/org.purejava/libappindicator-gtk3-java.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22org.purejava%22%20AND%20a:libappindicator-gtk3-java)
6+
7+
Java bindings for libappindicator-gtk3 in 100% pure Java
8+
9+
# Requires
10+
Java 19 (preview)
11+
- due to the use of the new Foreign Function & Memory API
12+
13+
# Copyright
14+
Copyright (C) 2023 Ralph Plawetzki
15+
16+
The libappindicator-gtk3-java logo is made from [Icon Fonts](http://www.onlinewebfonts.com/icon) and is licensed by CC BY 3.0

libappindicator-gtk3-java.png

13.7 KB
Loading

libappindicator-gtk3-java.svg

Lines changed: 51 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)