Added version 2.0.8-7 to repository.
This commit is contained in:
16
.gitignore
vendored
Normal file
16
.gitignore
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
# A simulation of Subversion default ignores, generated by reposurgeon.
|
||||
*.o
|
||||
*.lo
|
||||
*.la
|
||||
*.al
|
||||
.libs
|
||||
*.so
|
||||
*.so.[0-9]*
|
||||
*.a
|
||||
*.pyc
|
||||
*.pyo
|
||||
*.rej
|
||||
*~
|
||||
.#*
|
||||
.*.swp
|
||||
.DS_store
|
189
debian/changelog
vendored
Normal file
189
debian/changelog
vendored
Normal file
@@ -0,0 +1,189 @@
|
||||
libgtop2 (2.0.8-7) unstable; urgency=low
|
||||
|
||||
* debian/patches/05_cpu_values.dpatch:
|
||||
+ new version of the patch.
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Fri, 13 Feb 2004 19:59:16 +0100
|
||||
|
||||
libgtop2 (2.0.8-6) unstable; urgency=low
|
||||
|
||||
* debian/patches/05_cpu_values.dpatch:
|
||||
+ new patch to CPU usage with 2.6 kernels (Closes: #231079)
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Thu, 12 Feb 2004 23:00:09 +0100
|
||||
|
||||
libgtop2 (2.0.8-5) unstable; urgency=low
|
||||
|
||||
* debian/patches/04_mem_values2.dpatch:
|
||||
+ should really fix memory values (Closes: #224371).
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Wed, 28 Jan 2004 00:39:38 +0100
|
||||
|
||||
libgtop2 (2.0.8-4) unstable; urgency=low
|
||||
|
||||
* debian/patches/03_mem_values.dpatch:
|
||||
+ patch to fix wrong memory values (Closes: #224371).
|
||||
* debian/libgtop2.info:
|
||||
+ include libgtop2.info file (Closes: #225546).
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Thu, 1 Jan 2004 13:31:21 +0100
|
||||
|
||||
libgtop2 (2.0.8-3) unstable; urgency=low
|
||||
|
||||
* debian/patches/02_fix_link.dpatch, debian/rules:
|
||||
+ patch from Christian Marillat to fix the link problem (Closes: #194108).
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Tue, 30 Dec 2003 21:45:51 +0100
|
||||
|
||||
libgtop2 (2.0.8-2) unstable; urgency=low
|
||||
|
||||
* Added missing Build-Depends on libpopt-dev and texinfo (Closes: #224928).
|
||||
* Changed libgtop2-daemon section to utils.
|
||||
* Updated for the Gnome Team.
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Thu, 25 Dec 2003 18:28:31 +0100
|
||||
|
||||
libgtop2 (2.0.8-1) unstable; urgency=low
|
||||
|
||||
* New upstream release (Closes: #224613).
|
||||
* debian/patches/01_kernel26-headers.dpatch:
|
||||
+ removed since changes are included in the new version.
|
||||
* debian/patches/01_libgtop2-kernel2.6.dpatch:
|
||||
+ new patch to build with 2.6 headers (Closes: #223027).
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Sat, 20 Dec 2003 18:28:19 +0100
|
||||
|
||||
libgtop2 (2.0.5-4) unstable; urgency=low
|
||||
|
||||
* Added patch from Steve Fosdick <dbugs@pelvoux.nildram.co.uk> to fix
|
||||
memory stats on 2.6 kernels (Closes: #137603, #201876, #216385).
|
||||
* Removed empty libgtop2.info.gz (Closes: #213720).
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Mon, 20 Oct 2003 02:11:48 +0200
|
||||
|
||||
libgtop2 (2.0.5-3) unstable; urgency=low
|
||||
|
||||
* Updated libtool (Closes: #212506).
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Wed, 24 Sep 2003 12:22:29 +0200
|
||||
|
||||
libgtop2 (2.0.5-2) unstable; urgency=low
|
||||
|
||||
* Upload in unstable (Closes: #211969).
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Mon, 22 Sep 2003 15:19:57 +0200
|
||||
|
||||
libgtop2 (2.0.5-1) experimental; urgency=low
|
||||
|
||||
* New maintainer.
|
||||
* New upstream version
|
||||
+ GNOME 2.4 upload in experimental.
|
||||
* NMU acknowledge
|
||||
(Closes: #195454, #195623, #195625, #195665, #195819, #195867, #196044).
|
||||
* debian/control
|
||||
+ Changed sections.
|
||||
+ Updated Standards-Version to 3.6.1.0.
|
||||
* debian/rules
|
||||
+ Updated to debhelper 4.
|
||||
|
||||
-- Sebastien Bacher <seb128@debian.org> Sat, 13 Sep 2003 16:18:25 +0200
|
||||
|
||||
libgtop2 (2.0.2.is.2.0.1-1) unstable; urgency=low
|
||||
|
||||
* NMU with maintainer's knowledge, altough Noel will assuredly not like the
|
||||
way i did the upload, experimenting and Christian Marillat's and Coling
|
||||
Walters's advice showed me there is no other elegant solution. So i
|
||||
reverted the package to 2.0.1-4, applied the src/daemon/gnuserv.c buffer
|
||||
overflow fix from 2.0.2, and made a fake 2.0.2 package. Other alternative
|
||||
would have been using an epoch, which i consider ugly. The problem with
|
||||
2.0.2 is that buggy (even if Christian thinks it is a feature) libtool
|
||||
apparently did increase the soname, which is not needed here. Also
|
||||
the libgtop2 build system is broken, probably due to libtool too, because
|
||||
it will link libraries with already installed libraries and not with the
|
||||
ones currently building. This is mostly ok, but breaks when the soname
|
||||
changes.
|
||||
(Closes: #195454, #195623, #195625, #195665, #195819, #195867, #196044)
|
||||
|
||||
-- Sven Luther <luther@debian.org> Sun, 8 Jun 2003 21:21:07 +0200
|
||||
|
||||
libgtop2 (2.0.2-1) unstable; urgency=low
|
||||
|
||||
* new upstream from 2003-05-15
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Thu, 29 May 2003 23:03:00 +0100
|
||||
|
||||
libgtop2 (2.0.1-4) unstable; urgency=low
|
||||
|
||||
* updated config.guess and config.sub for mips
|
||||
(closes: Bug#180126)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Sat, 8 Feb 2003 12:20:00 +0100
|
||||
|
||||
libgtop2 (2.0.1-3) unstable; urgency=low
|
||||
|
||||
* updated libtool files for mips/mipsel
|
||||
(closes: Bug#179112)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Thu, 7 Feb 2003 00:59:00 +0100
|
||||
|
||||
libgtop2 (2.0.1-2) unstable; urgency=low
|
||||
|
||||
* added missing lib in last upload
|
||||
(closes: Bug#178989)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Thu, 30 Jan 2003 10:09:00 +0100
|
||||
|
||||
libgtop2 (2.0.1-1) unstable; urgency=low
|
||||
|
||||
* new upstream version from 2003-01-13
|
||||
(closes: Bug#178932)
|
||||
* updated Standards-Version
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Wed, 29 Jan 2003 18:16:00 +0100
|
||||
|
||||
libgtop2 (2.0.0-0) unstable; urgency=low
|
||||
|
||||
* new upstream version from 2002-06-10
|
||||
(closes: Bug#150134)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Sun, 16 Jun 2002 16:20:00 +0200
|
||||
|
||||
libgtop2 (1.90.2-5) unstable; urgency=low
|
||||
|
||||
* added missing usr/lib/pkgconfig/libgtop-2.0.pc to -dev
|
||||
package
|
||||
(closes: Bug#146737)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Thu, 16 May 2002 20:17:00 +0200
|
||||
|
||||
libgtop2 (1.90.2-4) unstable; urgency=low
|
||||
|
||||
* corrected libgtop2-dev Depends line to libgtk2.0-dev
|
||||
(closes: Bug#140589)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Thu, 11 Apr 2002 17:40:00 +0200
|
||||
|
||||
libgtop2 (1.90.2-3) unstable; urgency=low
|
||||
|
||||
* recompiled against libgtk2.0
|
||||
(closes: Bug#140589)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Sat, 6 Apr 2002 15:38:00 +0200
|
||||
|
||||
libgtop2 (1.90.2-2) unstable; urgency=low
|
||||
|
||||
* recompiled against glib/gtk 1.3.15
|
||||
(closes: Bug#137074)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Wed, 6 Mar 2002 15:42:00 +0100
|
||||
|
||||
libgtop2 (1.90.2-1) unstable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
(closes: Bug#133219)
|
||||
|
||||
-- Noel Koethe <noel@debian.org> Sat, 16 Feb 2002 13:16:00 +0100
|
||||
|
||||
Local variables:
|
||||
mode: debian-changelog
|
||||
End:
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@@ -0,0 +1 @@
|
||||
4
|
47
debian/control
vendored
Normal file
47
debian/control
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
Source: libgtop2
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Sebastien Bacher <seb128@debian.org>
|
||||
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Akira TAGOH <tagoh@debian.org>, Andrew Lau <netsnipe@users.sourceforge.net>, Edd Dumbill <ejad@debian.org>, Emil Soleyman-Zomalan <emil@nishra.com>, Gustavo Noronha Silva <kov@debian.org>, J.H.M. Dassen (Ray) <jdassen@debian.org>, Johannes Rohr <j.rohr@comlink.org>, Jordi Mallach <jordi@debian.org>, Josselin Mouette <joss@debian.org>, Rob Bradford <rob@debianplanet.org>, Robert McQueen <robot101@debian.org>, Ross Burton <ross@burtonini.com>, Takuo KITAME <kitame@debian.org>
|
||||
Build-Depends: debhelper (>= 4.0), dpatch, automake, gettext, autoconf, gawk, pkg-config, libglib2.0-dev, xlibs-dev, libpopt-dev, texinfo, gnome-pkg-tools
|
||||
Standards-Version: 3.6.1.0
|
||||
|
||||
Package: libgtop2
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: Libraries for gtop system monitoring library (part of Gnome 2)
|
||||
Gnome is the "GNU Network Object Model Environment"
|
||||
.
|
||||
It is a project to build a complete, user-friendly desktop based
|
||||
entirely on free software.
|
||||
.
|
||||
This package contains the gtop libraries which read information about
|
||||
processes and the running systems.
|
||||
|
||||
Package: libgtop2-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libgtop2 (= ${Source-Version}), libgtk2.0-dev
|
||||
Description: Dev libraries for gtop system monitoring library (part of Gnome 2)
|
||||
Gnome is the "GNU Network Object Model Environment"
|
||||
.
|
||||
It is a project to build a complete, user-friendly desktop based
|
||||
entirely on free software.
|
||||
.
|
||||
This package contains the include files and static library for the
|
||||
gtop libraries which read information about processes and the running
|
||||
systems.
|
||||
|
||||
Package: libgtop2-daemon
|
||||
Architecture: any
|
||||
Section: utils
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: gtop daemon for monitoring remote machines (part of Gnome 2)
|
||||
Gnome is the "GNU Network Object Model Environment"
|
||||
.
|
||||
It is a project to build a complete, user-friendly desktop based
|
||||
entirely on free software.
|
||||
.
|
||||
This package contains the libgtop_daemon which can be used to monitor
|
||||
the processes on remote systems.
|
47
debian/control.in
vendored
Normal file
47
debian/control.in
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
Source: libgtop2
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Sebastien Bacher <seb128@debian.org>
|
||||
Uploaders: @GNOME_TEAM@
|
||||
Build-Depends: debhelper (>= 4.0), dpatch, automake, gettext, autoconf, gawk, pkg-config, libglib2.0-dev, xlibs-dev, libpopt-dev, texinfo, gnome-pkg-tools
|
||||
Standards-Version: 3.6.1.0
|
||||
|
||||
Package: libgtop2
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: Libraries for gtop system monitoring library (part of Gnome 2)
|
||||
Gnome is the "GNU Network Object Model Environment"
|
||||
.
|
||||
It is a project to build a complete, user-friendly desktop based
|
||||
entirely on free software.
|
||||
.
|
||||
This package contains the gtop libraries which read information about
|
||||
processes and the running systems.
|
||||
|
||||
Package: libgtop2-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libgtop2 (= ${Source-Version}), libgtk2.0-dev
|
||||
Description: Dev libraries for gtop system monitoring library (part of Gnome 2)
|
||||
Gnome is the "GNU Network Object Model Environment"
|
||||
.
|
||||
It is a project to build a complete, user-friendly desktop based
|
||||
entirely on free software.
|
||||
.
|
||||
This package contains the include files and static library for the
|
||||
gtop libraries which read information about processes and the running
|
||||
systems.
|
||||
|
||||
Package: libgtop2-daemon
|
||||
Architecture: any
|
||||
Section: utils
|
||||
Depends: ${shlibs:Depends}
|
||||
Description: gtop daemon for monitoring remote machines (part of Gnome 2)
|
||||
Gnome is the "GNU Network Object Model Environment"
|
||||
.
|
||||
It is a project to build a complete, user-friendly desktop based
|
||||
entirely on free software.
|
||||
.
|
||||
This package contains the libgtop_daemon which can be used to monitor
|
||||
the processes on remote systems.
|
14
debian/copyright
vendored
Normal file
14
debian/copyright
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
This package was debianized by Jim Pick <jim@jimpick.com>
|
||||
then Martin Schulze <joey@debian.org> in October 1998
|
||||
then Ian Lynagh <igloo@debian.org> in November 1998
|
||||
then Noel Koethe <noel@debian.org> in December 2001
|
||||
|
||||
It was downloaded from ftp://ftp.gnome.org/pub/GNOME/stable/sources/gtop/
|
||||
|
||||
Upstream Authors: Radek Doul\xedk <doulik@karlin.mff.cuni.cz>,
|
||||
Martin Baulig <martin@home-of-linux.org>
|
||||
|
||||
Copyright:
|
||||
|
||||
Released under the terms of the GPL; see
|
||||
/usr/share/common-licenses/GPL.
|
34
debian/libgtop-config.1
vendored
Normal file
34
debian/libgtop-config.1
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
.TH GTOP l "15 September 1999"
|
||||
.SH NAME
|
||||
\fBlibgtop-config\fP \- libgtop libraries and component information retrieval.
|
||||
.SH SYNTAX
|
||||
.B libgtop-config
|
||||
.RI [ --version ]
|
||||
.RI [ --config ]
|
||||
.RI [ --features-def-file ]
|
||||
.SH DESCRIPTION
|
||||
.B libgtop-config
|
||||
is used to retrieve information from installed libraries in the system.
|
||||
|
||||
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page.
|
||||
.LP
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-\-version
|
||||
.PD
|
||||
Prints the version of libgtop that you're using.
|
||||
.TP
|
||||
.B \-\-config
|
||||
.PD
|
||||
Prints the location of libgtopConf.sh.
|
||||
.TP
|
||||
.B \-\-version
|
||||
.PD
|
||||
Prints the location of libgtop-features.def.
|
||||
.SH BUGS
|
||||
None known
|
||||
|
||||
.SH AUTHORS
|
||||
Martin Baulig (martin@home-of-linux.org)
|
||||
.TP
|
||||
Josh Sled (jsled@scam.XCF.Berkeley.EDU)
|
4
debian/libgtop-daemon.postinst
vendored
Normal file
4
debian/libgtop-daemon.postinst
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
#DEBHELPER#
|
||||
|
1
debian/libgtop-daemon.substvars
vendored
Normal file
1
debian/libgtop-daemon.substvars
vendored
Normal file
@@ -0,0 +1 @@
|
||||
shlibs:Depends=libc6 (>= 2.2.4-4), zlib1g (>= 1:1.1.3)
|
4
debian/libgtop-dev.postinst
vendored
Normal file
4
debian/libgtop-dev.postinst
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
#DEBHELPER#
|
||||
|
1
debian/libgtop1.substvars
vendored
Normal file
1
debian/libgtop1.substvars
vendored
Normal file
@@ -0,0 +1 @@
|
||||
shlibs:Depends=libc6 (>= 2.2.4-4), libglib1.2 (>= 1.2.0)
|
1
debian/libgtop2-daemon.files
vendored
Normal file
1
debian/libgtop2-daemon.files
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/bin/libgtop_daemon2
|
21
debian/libgtop2-dev.files
vendored
Normal file
21
debian/libgtop2-dev.files
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
usr/include/libgtop-2.0/*
|
||||
usr/lib/libgnomesupport-2.0.a
|
||||
usr/lib/libgnomesupport-2.0.la
|
||||
usr/lib/libgnomesupport-2.0.so
|
||||
usr/lib/libgtop-2.0.a
|
||||
usr/lib/libgtop-2.0.la
|
||||
usr/lib/libgtop-2.0.so
|
||||
usr/include/gnome/*
|
||||
usr/lib/libgtop_common-2.0.a
|
||||
usr/lib/libgtop_common-2.0.la
|
||||
usr/lib/libgtop_common-2.0.so
|
||||
usr/lib/libgtop_names-2.0.a
|
||||
usr/lib/libgtop_names-2.0.la
|
||||
usr/lib/libgtop_names-2.0.so
|
||||
usr/lib/libgtop_suid_common-2.0.a
|
||||
usr/lib/libgtop_suid_common-2.0.la
|
||||
usr/lib/libgtop_suid_common-2.0.so
|
||||
usr/lib/libgtop_sysdeps-2.0.a
|
||||
usr/lib/libgtop_sysdeps-2.0.la
|
||||
usr/lib/libgtop_sysdeps-2.0.so
|
||||
usr/lib/pkgconfig/libgtop-2.0.pc
|
7
debian/libgtop2.docs
vendored
Normal file
7
debian/libgtop2.docs
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
RELNOTES-0.25
|
||||
RELNOTES-1.0
|
||||
RELNOTES-1.0.x
|
||||
LIBGTOP-VERSION
|
||||
README
|
||||
NEWS
|
||||
AUTHORS
|
4
debian/libgtop2.files
vendored
Normal file
4
debian/libgtop2.files
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
usr/share/locale/*
|
||||
usr/lib/libgnomesupport-2.0.so.0.0.0
|
||||
usr/lib/*.so.0.0.8
|
||||
usr/lib/*.so.0
|
1
debian/libgtop2.info
vendored
Normal file
1
debian/libgtop2.info
vendored
Normal file
@@ -0,0 +1 @@
|
||||
doc/libgtop2.info
|
8
debian/libgtop2.postinst
vendored
Normal file
8
debian/libgtop2.postinst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
ldconfig
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
8
debian/libgtop2.postrm
vendored
Normal file
8
debian/libgtop2.postrm
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "$1" = "remove" ]; then
|
||||
ldconfig
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
6
debian/patches/00list
vendored
Normal file
6
debian/patches/00list
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
01_kernel26-headers.dpatch
|
||||
02_fix_link.dpatch
|
||||
03_mem_values.dpatch
|
||||
04_mem_values2.dpatch
|
||||
05_cpu_values.dpatch
|
||||
|
40
debian/patches/01_kernel26-headers.dpatch
vendored
Normal file
40
debian/patches/01_kernel26-headers.dpatch
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
#!/bin/sh -e
|
||||
## 01_kernel26-headers.dpatch by Sebastien Bacher <seb128@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
|
||||
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
|
||||
|
||||
case "$1" in
|
||||
-patch) patch $patch_opts -p1 < $0;;
|
||||
-unpatch) patch $patch_opts -p1 -R < $0;;
|
||||
*)
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/linux/ppp.c libgtop2-2.0.8/sysdeps/linux/ppp.c
|
||||
--- /tmp/libgtop2-2.0.8/sysdeps/linux/ppp.c 2003-10-19 18:55:39.000000000 +0200
|
||||
+++ libgtop2-2.0.8/sysdeps/linux/ppp.c 2003-12-20 19:54:33.000000000 +0100
|
||||
@@ -26,7 +26,10 @@
|
||||
#include <glibtop/xmalloc.h>
|
||||
#include <glibtop/ppp.h>
|
||||
|
||||
-#include <linux/isdn.h>
|
||||
+/* #include <linux/isdn.h> doesn't work for kernel 2.5+ */
|
||||
+#include <asm/ioctl.h>
|
||||
+#define IIOCGETCPS _IO('I',21)
|
||||
+#define ISDN_MAX_CHANNELS 64
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
49
debian/patches/02_fix_link.dpatch
vendored
Normal file
49
debian/patches/02_fix_link.dpatch
vendored
Normal file
@@ -0,0 +1,49 @@
|
||||
#!/bin/sh -e
|
||||
## 02_fix_link.dpatch by Sebastien Bacher <seb128@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
|
||||
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
|
||||
|
||||
case "$1" in
|
||||
-patch) patch $patch_opts -p1 < $0;;
|
||||
-unpatch) patch $patch_opts -p1 -R < $0;;
|
||||
*)
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/common/Makefile.in libgtop2-2.0.8/sysdeps/common/Makefile.in
|
||||
--- /tmp/libgtop2-2.0.8/sysdeps/common/Makefile.in 2003-12-19 17:01:00.000000000 +0100
|
||||
+++ libgtop2-2.0.8/sysdeps/common/Makefile.in 2003-12-30 22:04:34.000000000 +0100
|
||||
@@ -160,7 +160,7 @@
|
||||
$(inodedb_SRCLIST)
|
||||
|
||||
|
||||
-libgtop_common_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||
+libgtop_common_2_0_la_LDFLAGS = $(LT_VERSION_INFO) -L`pwd`/../../lib/.libs
|
||||
libgtop_common_2_0_la_LIBADD = $(LIBGTOP_EXTRA_LIBS)
|
||||
|
||||
libgtop_suid_common_2_0_la_SOURCES = xmalloc.c error.c sysdeps_suid.c
|
||||
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/linux/Makefile.in libgtop2-2.0.8/sysdeps/linux/Makefile.in
|
||||
--- /tmp/libgtop2-2.0.8/sysdeps/linux/Makefile.in 2003-12-19 17:01:01.000000000 +0100
|
||||
+++ libgtop2-2.0.8/sysdeps/linux/Makefile.in 2003-12-30 22:04:55.000000000 +0100
|
||||
@@ -158,7 +158,7 @@
|
||||
|
||||
libgtop_sysdeps_2_0_la_LIBADD = @GLIB_LIBS@
|
||||
|
||||
-libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||
+libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO) -L`pwd`/../../lib/.libs
|
||||
|
||||
libgtopinclude_HEADERS = glibtop_server.h glibtop_machine.h
|
||||
libgtopincludedir = $(includedir)/libgtop-2.0
|
38
debian/patches/03_mem_values.dpatch
vendored
Normal file
38
debian/patches/03_mem_values.dpatch
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
#!/bin/sh -e
|
||||
## 03_mem_values.dpatch by Sebastien Bacher <seb128@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
|
||||
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
|
||||
|
||||
case "$1" in
|
||||
-patch) patch $patch_opts -p1 < $0;;
|
||||
-unpatch) patch $patch_opts -p1 -R < $0;;
|
||||
*)
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/linux/mem.c libgtop2-2.0.8/sysdeps/linux/mem.c
|
||||
--- /tmp/libgtop2-2.0.8/sysdeps/linux/mem.c 2003-10-20 22:41:06.000000000 +0200
|
||||
+++ libgtop2-2.0.8/sysdeps/linux/mem.c 2004-01-01 13:30:47.000000000 +0100
|
||||
@@ -66,8 +66,8 @@
|
||||
buffer [len] = '\0';
|
||||
|
||||
buf->total = get_scaled(buffer, "MemTotal:");
|
||||
- buf->used = get_scaled(buffer, "Active:");
|
||||
buf->free = get_scaled(buffer, "MemFree:");
|
||||
+ buf->used = buf->total - buf->free;
|
||||
buf->shared = get_scaled(buffer, "Mapped:");
|
||||
buf->buffer = get_scaled(buffer, "Buffers:");
|
||||
buf->cached = get_scaled(buffer, "Cached:");
|
37
debian/patches/04_mem_values2.dpatch
vendored
Normal file
37
debian/patches/04_mem_values2.dpatch
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
#!/bin/sh -e
|
||||
## 04_mem_values2.dpatch by Sebastien Bacher <seb128@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
|
||||
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
|
||||
|
||||
case "$1" in
|
||||
-patch) patch $patch_opts -p1 < $0;;
|
||||
-unpatch) patch $patch_opts -p1 -R < $0;;
|
||||
*)
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/linux/mem.c libgtop2-2.0.8/sysdeps/linux/mem.c
|
||||
--- /tmp/libgtop2-2.0.8/sysdeps/linux/mem.c 2004-01-28 01:12:42.000000000 +0100
|
||||
+++ libgtop2-2.0.8/sysdeps/linux/mem.c 2004-01-28 01:13:14.000000000 +0100
|
||||
@@ -68,7 +68,7 @@
|
||||
buf->total = get_scaled(buffer, "MemTotal:");
|
||||
buf->free = get_scaled(buffer, "MemFree:");
|
||||
buf->used = buf->total - buf->free;
|
||||
- buf->shared = get_scaled(buffer, "Mapped:");
|
||||
+ buf->shared = 0;
|
||||
buf->buffer = get_scaled(buffer, "Buffers:");
|
||||
buf->cached = get_scaled(buffer, "Cached:");
|
||||
|
52
debian/patches/05_cpu_values.dpatch
vendored
Normal file
52
debian/patches/05_cpu_values.dpatch
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
#!/bin/sh -e
|
||||
## 05_cpu_values.dpatch by Sebastien Bacher <seb128@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: No description.
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
|
||||
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
|
||||
|
||||
case "$1" in
|
||||
-patch) patch $patch_opts -p1 < $0;;
|
||||
-unpatch) patch $patch_opts -p1 -R < $0;;
|
||||
*)
|
||||
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
|
||||
exit 1;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad /tmp/libgtop2-2.0.8/sysdeps/linux/cpu.c libgtop2-2.0.8/sysdeps/linux/cpu.c
|
||||
--- /tmp/libgtop2-2.0.8/sysdeps/linux/cpu.c 2003-10-19 18:55:39.000000000 +0200
|
||||
+++ libgtop2-2.0.8/sysdeps/linux/cpu.c 2004-02-13 19:58:42.000000000 +0100
|
||||
@@ -80,6 +80,11 @@
|
||||
buf->sys = strtoul (p, &p, 0);
|
||||
buf->idle = strtoul (p, &p, 0);
|
||||
|
||||
+ /* 2.6 kernel */
|
||||
+ buf->idle += strtoull(p, &p, 0); /* "iowait" */
|
||||
+ buf->sys += strtoull(p, &p, 0); /* "irq" */
|
||||
+ buf->sys += strtoull(p, &p, 0); /* "softirq" */
|
||||
+
|
||||
total = buf->user;
|
||||
total += buf->nice;
|
||||
total += buf->sys;
|
||||
@@ -99,6 +104,11 @@
|
||||
buf->xcpu_sys [i] = strtoul (p, &p, 0);
|
||||
buf->xcpu_idle [i] = strtoul (p, &p, 0);
|
||||
|
||||
+ /* 2.6 kernel */
|
||||
+ buf->xcpu_idle [i] += strtoull(p, &p, 0); /* "iowait" */
|
||||
+ buf->xcpu_sys [i] += strtoull(p, &p, 0); /* "irq" */
|
||||
+ buf->xcpu_sys [i] += strtoull(p, &p, 0); /* "softirq" */
|
||||
+
|
||||
total = buf->xcpu_user [i];
|
||||
total += buf->xcpu_nice [i];
|
||||
total += buf->xcpu_sys [i];
|
96
debian/rules
vendored
Executable file
96
debian/rules
vendored
Executable file
@@ -0,0 +1,96 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
# Include dpatch stuff.
|
||||
include /usr/share/dpatch/dpatch.make
|
||||
|
||||
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
|
||||
# need to run libtoolize before configure because
|
||||
# config.guess is out of date
|
||||
#libtoolize --force
|
||||
|
||||
# Add here commands to configure the package.
|
||||
./configure --prefix=/usr \
|
||||
--infodir=/usr/share/info \
|
||||
--mandir=/usr/share/man \
|
||||
--without-xauth \
|
||||
--with-x
|
||||
|
||||
touch configure-stamp
|
||||
|
||||
build: patch configure-stamp build-stamp
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE)
|
||||
|
||||
perl -i -pe 's,-lglib-2.0,-lglib-2.0 $(CURDIR)/lib/libgtop-2.0.la,' sysdeps/common/Makefile
|
||||
rm sysdeps/common/*.lo
|
||||
|
||||
$(MAKE) -C sysdeps/common
|
||||
|
||||
perl -i -pe 's,-lglib-2.0,-lglib-2.0 $(CURDIR)/lib/libgtop-2.0.la,' sysdeps/linux/Makefile
|
||||
rm sysdeps/linux/*.lo
|
||||
|
||||
$(MAKE) -C sysdeps/linux
|
||||
|
||||
touch build-stamp
|
||||
|
||||
clean:: unpatch
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
-$(MAKE) distclean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: DH_OPTIONS=
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs
|
||||
|
||||
# Add here commands to install the package into debian/tmp.
|
||||
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
|
||||
|
||||
dh_movefiles
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
#nothing
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir -a
|
||||
dh_testroot -a
|
||||
dh_installdocs -a
|
||||
dh_installexamples -a
|
||||
# dh_installmenu -a
|
||||
# dh_installinit -a
|
||||
# dh_installcron -a
|
||||
dh_installman -a
|
||||
dh_installinfo -a
|
||||
# dh_undocumented libgtop_daemon.1
|
||||
dh_installchangelogs -a
|
||||
dh_strip -a
|
||||
dh_link -a
|
||||
dh_compress -a
|
||||
dh_fixperms -a
|
||||
dh_makeshlibs -a
|
||||
dh_installdeb -a
|
||||
# dh_perl -a
|
||||
dh_shlibdeps -a
|
||||
dh_gencontrol -a
|
||||
dh_md5sums -a
|
||||
dh_builddeb -a
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
Reference in New Issue
Block a user