mirror of
https://github.com/epasveer/seer.git
synced 2026-08-29 08:34:42 +08:00
Convert into a native debian package
This commit is contained in:
@@ -188,9 +188,11 @@ May need root access.
|
|||||||
% cd seer/src/build
|
% cd seer/src/build
|
||||||
% sudo make install
|
% sudo make install
|
||||||
|
|
||||||
For Debian based releases, you can optionally use the 'seer_deb.sh' script to build and install Seer.
|
For Debian based releases, you can use the normal tooling to build a .deb
|
||||||
|
package containing Seer. You need the `build-essential` package installed.
|
||||||
|
|
||||||
[Instructions for 'seer_deb.sh'](debian/README.md)
|
% cd seer
|
||||||
|
% dpkg-buildpackage
|
||||||
|
|
||||||
|
|
||||||
Support/Contact
|
Support/Contact
|
||||||
|
|||||||
Vendored
-35
@@ -1,35 +0,0 @@
|
|||||||
Installation for Debian based Linux releases
|
|
||||||
============================================
|
|
||||||
|
|
||||||
The 'seer_deb.sh' script in this directory will grab the latest stable Seer release
|
|
||||||
and will compile and install it. This script works for Debian based Linux releases
|
|
||||||
(Debian, Ubuntu, etc...).
|
|
||||||
|
|
||||||
Use this script if you don't want to run the build commands manually yourself.
|
|
||||||
|
|
||||||
Grab this script from the Seer release on github. There's no need to grab the
|
|
||||||
entire Seer release as the script will do that.
|
|
||||||
|
|
||||||
```
|
|
||||||
% cd /tmp
|
|
||||||
% wget https://raw.githubusercontent.com/epasveer/seer/main/debian/seer_deb.sh
|
|
||||||
% chmod a+x seer_deb.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
Then run the script, giving it the name and path of a build directory. This build
|
|
||||||
directory is where the Seer source is installed to and compiled.
|
|
||||||
|
|
||||||
```
|
|
||||||
% cd /tmp
|
|
||||||
% mkdir seer_build
|
|
||||||
% seer_deb.sh seer_build
|
|
||||||
```
|
|
||||||
|
|
||||||
Seer will be installed into your local system in the standard Debian location. As
|
|
||||||
well, other standard Debian package details are setup.
|
|
||||||
|
|
||||||
Credits
|
|
||||||
=======
|
|
||||||
|
|
||||||
Thanks to H. Turgut Uyar (https://github.com/uyar) for setting this up for me!
|
|
||||||
|
|
||||||
Vendored
+5
@@ -0,0 +1,5 @@
|
|||||||
|
seer (1.0.1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Initial release.
|
||||||
|
|
||||||
|
-- Norbert Lange <nolange79@gmail.com> Fri, 17 Jun 2022 22:18:38 +0200
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
10
|
||||||
Vendored
+19
@@ -0,0 +1,19 @@
|
|||||||
|
Source: seer
|
||||||
|
Section: devel
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Ernie Pasveer <epasveer@att.net>
|
||||||
|
Build-Depends: debhelper (>= 10.0.0),
|
||||||
|
dh-exec,
|
||||||
|
cmake,
|
||||||
|
qtbase5-dev,
|
||||||
|
libqt5charts5-dev
|
||||||
|
Standards-Version: 4.1.3
|
||||||
|
Homepage: https://github.com/epasveer/seer
|
||||||
|
|
||||||
|
Package: seer
|
||||||
|
Architecture: any
|
||||||
|
Depends:
|
||||||
|
${shlibs:Depends},
|
||||||
|
${misc:Depends},
|
||||||
|
Recommends: gdb
|
||||||
|
Description: A GUI frontend to gdb.
|
||||||
Vendored
+59
@@ -0,0 +1,59 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Source: <url://example.com>
|
||||||
|
Upstream-Name: seer
|
||||||
|
Upstream-Contact: Ernie Pasveer <epasveer@att.net>
|
||||||
|
|
||||||
|
Files:
|
||||||
|
*
|
||||||
|
Copyright:
|
||||||
|
2021+ Ernie Pasveer <epasveer@att.net>
|
||||||
|
License: GPL-3.0+
|
||||||
|
|
||||||
|
Files:
|
||||||
|
debian/*
|
||||||
|
Copyright:
|
||||||
|
2022 Norbert Lange <nolange79@gmail.com>
|
||||||
|
License: BSD-3-clause
|
||||||
|
|
||||||
|
License: GPL-3.0+
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
.
|
||||||
|
This package is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
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 <https://www.gnu.org/licenses/>.
|
||||||
|
Comment:
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||||
|
|
||||||
|
|
||||||
|
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:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. 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.
|
||||||
|
3. Neither the name of the University 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 HOLDERS 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.
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ -- -D src
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
README.md
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/dh-exec
|
||||||
|
# dh-exec is needed for renaming
|
||||||
|
src/resources/seer_32x32.png => usr/share/icons/hicolor/32x32/apps/seer.png
|
||||||
|
src/resources/seer_64x64.png => usr/share/icons/hicolor/64x64/apps/seer.png
|
||||||
|
src/resources/seer_128x128.png => usr/share/icons/hicolor/128x128/apps/seer.png
|
||||||
|
src/resources/seer_256x256.png => usr/share/icons/hicolor/256x256/apps/seer.png
|
||||||
|
src/resources/seer_512x512.png => usr/share/icons/hicolor/512x512/apps/seer.png
|
||||||
|
|
||||||
|
src/resources/seer.desktop usr/share/applications
|
||||||
Vendored
+1
@@ -0,0 +1 @@
|
|||||||
|
3.0 (native)
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Seer
|
||||||
|
GenericName=Debugger
|
||||||
|
Comment=GUI frontend to gdb.
|
||||||
|
Exec=seer
|
||||||
|
Icon=seer
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Development;
|
||||||
Reference in New Issue
Block a user