]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-native-appimage: Drop some unneeded local files.
authorUwe Hermann <redacted>
Sun, 20 Aug 2017 14:11:41 +0000 (16:11 +0200)
committerUwe Hermann <redacted>
Sun, 20 Aug 2017 14:11:41 +0000 (16:11 +0200)
These files are now available in PulseView itself.

cross-compile/appimage/contrib/pulseview.desktop [deleted file]
cross-compile/appimage/contrib/sigrok-logo-notext.png [deleted file]
cross-compile/appimage/sigrok-native-appimage

diff --git a/cross-compile/appimage/contrib/pulseview.desktop b/cross-compile/appimage/contrib/pulseview.desktop
deleted file mode 100644 (file)
index cbab083..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=PulseView
-GenericName=Signal acquisition GUI for sigrok
-Categories=Electronics;
-Comment=Control your Logic Analyzer, Oscilloscope, or MSO
-Exec=pulseview
-Icon=sigrok-logo-notext
-Type=Application
-
diff --git a/cross-compile/appimage/contrib/sigrok-logo-notext.png b/cross-compile/appimage/contrib/sigrok-logo-notext.png
deleted file mode 100644 (file)
index 5b35dfe..0000000
Binary files a/cross-compile/appimage/contrib/sigrok-logo-notext.png and /dev/null differ
index f9c630900d50d81c7da8997c781d075b0d661242..9a7cd064b04b93f0c3194285fba42531c3398c92 100755 (executable)
@@ -45,6 +45,10 @@ chmod a+x usr/bin/*
 cp $PREFIX/lib/lib*.so* usr/lib/
 cp -r $PREFIX/share/libsigrokdecode usr/share/
 cp -r $PREFIX/share/sigrok-firmware usr/share/
 cp $PREFIX/lib/lib*.so* usr/lib/
 cp -r $PREFIX/share/libsigrokdecode usr/share/
 cp -r $PREFIX/share/sigrok-firmware usr/share/
+cp -r $PREFIX/share/applications usr/share/
+cp -r $PREFIX/share/icons usr/share/
+cp -r $PREFIX/share/metainfo usr/share/
+cp -r $PREFIX/share/mime usr/share/
 
 # Reduce binary size
 strip usr/bin/*
 
 # Reduce binary size
 strip usr/bin/*
@@ -60,8 +64,8 @@ cp $APPIMAGEKIT_OUTDIR/AppRun .
 # Copy desktop and icon file to AppDir for AppRun to pick them up
 ########################################################################
 
 # Copy desktop and icon file to AppDir for AppRun to pick them up
 ########################################################################
 
-cp $STATIC_FILES/pulseview.desktop .
-cp $STATIC_FILES/sigrok-logo-notext.png .
+cp usr/share/applications/*.desktop .
+cp usr/share/icons/hicolor/48x48/apps/pulseview.png .
 
 ########################################################################
 # Copy in the dependencies that cannot be assumed to be available
 
 ########################################################################
 # Copy in the dependencies that cannot be assumed to be available