Skip to content

Commit

Permalink
Merge pull request #1438 from a123b/desktop-file-and-icons
Browse files Browse the repository at this point in the history
Add freedesktop.org desktop file and icon set
  • Loading branch information
jamescowens authored Apr 18, 2019
2 parents a0523a2 + f72e0c1 commit b20f470
Show file tree
Hide file tree
Showing 11 changed files with 98 additions and 2 deletions.
14 changes: 12 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ OSX_INSTALLER_ICONS=$(top_srcdir)/src/qt/res/icons/gridcoin.icns
OSX_PLIST=$(top_builddir)/share/qt/Info.plist #not installed
OSX_QT_TRANSLATIONS = da,de,es,hu,ru,uk,zh_CN,zh_TW

DIST_DOCS = $(wildcard doc/*.md) $(wildcard doc/release-notes/*.md)
DIST_DOCS = $(wildcard $(top_srcdir)/doc/*.md) $(wildcard $(top_srcdir)/doc/release-notes/*.md)
DIST_DESKTOPFILE = $(top_srcdir)/contrib/gridcoinresearch.desktop
DIST_ICONS = $(subst $(top_srcdir)/,,$(wildcard $(top_srcdir)/share/icons/*/*/*/*))

BIN_CHECKS=$(top_srcdir)/contrib/devtools/symbol-check.py

Expand All @@ -48,6 +50,14 @@ COVERAGE_INFO = baseline.info \
baseline_filtered.info functional_test.info functional_test_filtered.info \
test_bitcoin_coverage.info test_bitcoin.info

if ENABLE_QT
desktopfiledir = $(datadir)/applications
desktopfile_DATA = $(DIST_DESKTOPFILE)

iconsdir = $(prefix)
nobase_icons_DATA = $(DIST_ICONS)
endif

dist-hook:
-$(GIT) archive --format=tar HEAD -- src/version.cpp | $(AMTAR) -C $(top_distdir) -xf -

Expand Down Expand Up @@ -188,7 +198,7 @@ endif

dist_noinst_SCRIPTS = autogen.sh

EXTRA_DIST = $(top_srcdir)/share/genbuild.sh $(DIST_CONTRIB) $(DIST_DOCS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING) $(BIN_CHECKS)
EXTRA_DIST = $(top_srcdir)/share/genbuild.sh $(DIST_CONTRIB) $(DIST_DOCS) $(DIST_DESKTOPFILE) $(DIST_ICONS) $(WINDOWS_PACKAGING) $(OSX_PACKAGING) $(BIN_CHECKS)

CLEANFILES = $(OSX_DMG) $(BITCOIN_WIN_INSTALLER)

Expand Down
16 changes: 16 additions & 0 deletions contrib/gridcoinresearch.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[Desktop Entry]
Version=1.0
Name=Gridcoin
GenericName=Cryptocurrency rewarding BOINC computation
GenericName[de]=Kryptowährung, die BOINC-Berechnung belohnt
GenericName[sv]=Kryptovaluta som belönar beräkningar genom BOINC
Comment=Earn Gridcoins by participating in the BOINC distributed computing network
Comment[de]=Gridcoins für Teilnahme am verteilten Rechnennetzwerk BOINC verdienen
Categories=Office;Finance;P2P;Network;Qt;
Keywords=crypto;cryptocurrency;cryptocoin;bitcoin;altcoin;boinc;
Exec=gridcoinresearch %u
Terminal=false
Type=Application
Icon=gridcoinresearch
MimeType=x-scheme-handler/gridcoin;
StartupWMClass=Gridcoin-Qt
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added share/icons/hicolor/16x16/apps/gridcoinresearch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions share/icons/hicolor/scalable/apps/gridcoinresearch.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b20f470

Please sign in to comment.