Skip to content

Commit

Permalink
Added scripts to build for debian & AppImage
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentiumYT committed Oct 24, 2023
1 parent 45a1796 commit d8fe0f4
Show file tree
Hide file tree
Showing 17 changed files with 780 additions and 75 deletions.
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
*.o
*ctags
.vscode/
build/
cmake-build*/
.vscode
release/
ld
28 changes: 0 additions & 28 deletions AppImage/make_appimage.sh

This file was deleted.

38 changes: 0 additions & 38 deletions AppImage/make_appimage_ubuntu_1804_docker.sh

This file was deleted.

8 changes: 4 additions & 4 deletions COPYING
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
<https://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
10 changes: 10 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ ..
make -j $(nproc)
cd ..

./build/src/nvtop
10 changes: 10 additions & 0 deletions clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

rm -rf build
rm -rf release
find . -name CMakeFiles -exec rm -rf {} +
find . -name '*_autogen' -exec rm -rf {} +

find . -name cmake_install.cmake -delete
find . -name CMakeCache.txt -delete
find . -name Makefile -delete
10 changes: 10 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
nvtop (3.0.2-1) focal; urgency=medium

* AMGDPU: GPUs other than id 0 should now be correctly monitored
* Fixed a bug in GPU selection logic through the F2 menu where the wrong GPUs would still be displayed
* Support for ADRENO GPUs through the msm driver
* Better AMDGPU device name query for newer GPUs
* "hjkl" directional keys
* Build app deb package

-- Quentin Lienhardt <[email protected]> Tue, 7 Sep 2023 12:00:00 +0100
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
15 changes: 15 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Source: nvtop
Section: utils
Priority: optional
Maintainer: Quentin Lienhardt <[email protected]>
Build-Depends: debhelper (>= 12)
Standards-Version: 4.6.2
Homepage: https://github.com/Quentium-Forks/nvtop
Vcs-Browser: https://github.com/Quentium-Forks/nvtop
Vcs-Git: https://github.com/Quentium-Forks/nvtop.git

Package: nvtop
Architecture: all
Depends: ${misc:Depends}
Recommends: systemd
Description: XXX
Loading

0 comments on commit d8fe0f4

Please sign in to comment.