From fb3fc3bd8d174f7dd65a12fa7d5c6cb388efd4c8 Mon Sep 17 00:00:00 2001 From: wowario Date: Sun, 28 Mar 2021 22:17:24 +0300 Subject: [PATCH] update deb build script --- contrib/build-deb.sh | 35 +++++++++++++--- src/assets/changelog.gz | Bin 0 -> 133 bytes src/assets/control | 4 +- src/assets/copyright | 31 ++++++++++++++ ...wlet.desktop => org.wowlet.wowlet.desktop} | 21 +++++----- src/assets/org.wowlet.wowlet.metainfo.xml | 38 ++++++++++++++++++ 6 files changed, 111 insertions(+), 18 deletions(-) create mode 100644 src/assets/changelog.gz create mode 100644 src/assets/copyright rename src/assets/{wowlet.desktop => org.wowlet.wowlet.desktop} (67%) create mode 100644 src/assets/org.wowlet.wowlet.metainfo.xml diff --git a/contrib/build-deb.sh b/contrib/build-deb.sh index ce1003e..4a50997 100755 --- a/contrib/build-deb.sh +++ b/contrib/build-deb.sh @@ -6,18 +6,41 @@ set -e DEBDIR="$PWD/wowlet.DebDir" mkdir -p "$DEBDIR" mkdir -p "$DEBDIR/DEBIAN/" +mkdir -p "$DEBDIR/debian/" +mkdir -p "$DEBDIR/usr/bin/" +mkdir -p "$DEBDIR/usr/share/doc/wowlet/" +mkdir -p "$DEBDIR/usr/share/metainfo/" mkdir -p "$DEBDIR/usr/share/applications/" -mkdir -p "$DEBDIR/usr/share/pixmaps/" -mkdir -p "$DEBDIR/usr/bin" +mkdir -p "$DEBDIR/usr/share/man/man1/" +mkdir -p "$DEBDIR/usr/share/icons/hicolor/scalable/apps/" +mkdir -p "$DEBDIR/usr/share/icons/hicolor/48x48/apps/" +mkdir -p "$DEBDIR/usr/share/icons/hicolor/64x64/apps/" +mkdir -p "$DEBDIR/usr/share/icons/hicolor/96x96/apps/" +mkdir -p "$DEBDIR/usr/share/icons/hicolor/128x128/apps/" +mkdir -p "$DEBDIR/usr/share/icons/hicolor/192x192/apps/" +mkdir -p "$DEBDIR/usr/share/icons/hicolor/256x256/apps/" # Copy over assets -cp "$PWD/src/assets/wowlet.desktop" "$DEBDIR/usr/share/applications/wowlet.desktop" -cp "$PWD/src/assets/images/wowlet.png" "$DEBDIR/usr/share/pixmaps/wowlet.png" -cp "$PWD/build/bin/wowlet" "$DEBDIR/usr/bin/wowlet" cp "$PWD/src/assets/control" "$DEBDIR/DEBIAN/control" +cp "$PWD/src/assets/copyright" "$DEBDIR/debian/copyright" +cp "$PWD/src/assets/copyright" "$DEBDIR/usr/share/doc/wowlet/copyright" +cp "$PWD/src/assets/changelog.gz" "$DEBDIR/usr/share/doc/wowlet/changelog.gz" +cp "$PWD/src/assets/org.wowlet.wowlet.metainfo.xml" "$DEBDIR/usr/share/metainfo/org.wowlet.wowlet.metainfo.xml" +cp "$PWD/README.md" "$DEBDIR/usr/share/doc/wowlet/README" +cp "$PWD/SECURITY.md" "$DEBDIR/usr/share/doc/wowlet/SECURITY" +cp "$PWD/build/bin/wowlet" "$DEBDIR/usr/bin/wowlet" +cp "$PWD/src/assets/org.wowlet.wowlet.desktop" "$DEBDIR/usr/share/applications/org.wowlet.wowlet.desktop" +cp "$PWD/src/assets/wowlet.1.gz" "$DEBDIR/usr/share/man/man1/wowlet.1.gz" +cp "$PWD/src/assets/images/appicons/wowlet.svg" "$DEBDIR/usr/share/icons/hicolor/scalable/apps/wowlet.svg" +cp "$PWD/src/assets/images/appicons/48x48.png" "$DEBDIR/usr/share/icons/hicolor/48x48/apps/wowlet.png" +cp "$PWD/src/assets/images/appicons/64x64.png" "$DEBDIR/usr/share/icons/hicolor/64x64/apps/wowlet.png" +cp "$PWD/src/assets/images/appicons/96x96.png" "$DEBDIR/usr/share/icons/hicolor/96x96/apps/wowlet.png" +cp "$PWD/src/assets/images/appicons/128x128.png" "$DEBDIR/usr/share/icons/hicolor/128x128/apps/wowlet.png" +cp "$PWD/src/assets/images/appicons/192x192.png" "$DEBDIR/usr/share/icons/hicolor/192x192/apps/wowlet.png" +cp "$PWD/src/assets/images/appicons/256x256.png" "$DEBDIR/usr/share/icons/hicolor/256x256/apps/wowlet.png" # Build deb package dpkg-deb --build $DEBDIR -mv wowlet.DebDir.deb wowlet.deb +mv wowlet.DebDir.deb wowlet_1.0_amd64.deb diff --git a/src/assets/changelog.gz b/src/assets/changelog.gz new file mode 100644 index 0000000000000000000000000000000000000000..400ee15be81f62e48ce5b102e126bd63dc59f83c GIT binary patch literal 133 zcmV;00DAu)iwFP!0000211-os3&JoE2H?HF;vM~Jxuk>Gs<=87$IfRtByi11niBl? zI=DSN<6~6G*tmwaSmToUsnTOjFNxFVqE@O3*x?>S4y;I`!i)T}u2HOT3WoC^w|BB^ naps`SWb+jmEFR!b7&yU`C%Cq2j~x;A -Description: a free Wownero desktop wallet +Description: WOWlet is a free, open-source Wownero client for Linux with ports for Mac OS and Windows. Tag: office::finance Homepage: https://git.wownero.com/wowlet/wowlet Depends: libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-render-util0, libxcb-xkb1, libxkbcommon-x11-0 diff --git a/src/assets/copyright b/src/assets/copyright new file mode 100644 index 0000000..4b7aae8 --- /dev/null +++ b/src/assets/copyright @@ -0,0 +1,31 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: wowlet +Source: https://git.wownero.com/wowlet/wowlet + +Files: * +Copyright: (c) 2020-2021 The Monero Project +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are + met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials provided + with the distribution. + * Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived + from this software without specific prior written permission. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/src/assets/wowlet.desktop b/src/assets/org.wowlet.wowlet.desktop similarity index 67% rename from src/assets/wowlet.desktop rename to src/assets/org.wowlet.wowlet.desktop index 305a33e..bc83e60 100644 --- a/src/assets/wowlet.desktop +++ b/src/assets/org.wowlet.wowlet.desktop @@ -1,14 +1,15 @@ [Desktop Entry] -Comment=Lightweight Wownero Wallet -Exec=wowlet -GenericName[en_US]=Wownero Wallet -GenericName=Wownero Wallet -Icon=wowlet -Name[en_US]=WOWlet +Type=Application +Version=1.0 Name=WOWlet -Categories=Finance;Network; +GenericName=Wownero Wallet +Comment=Lightweight Wownero Wallet +Icon=wowlet +Exec=wowlet +Terminal=false +MimeType=x-scheme-handler/wownero; +Categories=Network; +Keywords=wow;wownero;cryptocurrency;dank;meme; StartupNotify=false StartupWMClass=wowlet -Terminal=false -Type=Application -MimeType=x-scheme-handler/wownero; +PrefersNonDefaultGPU=false diff --git a/src/assets/org.wowlet.wowlet.metainfo.xml b/src/assets/org.wowlet.wowlet.metainfo.xml new file mode 100644 index 0000000..c30ec49 --- /dev/null +++ b/src/assets/org.wowlet.wowlet.metainfo.xml @@ -0,0 +1,38 @@ + + + + org.wowlet.wowlet + BSD-3-Clause + BSD-3-Clause + WOWlet + Lightweight Wownero Wallet + + +

+ WOWlet is a free, open-source Wownero client for Linux with ports for Mac OS and Windows. +

+
+ + org.wowlet.wowlet.desktop + + + + Wow Dark Theme + https://i.imgur.com/KMFrtpZ.png + + + https://git.wownero.com/wowlet/wowlet + WOWlet + + + wowlet + + + + + +

Initial release.

+
+
+
+
\ No newline at end of file