Compare commits
53 Commits
debian/2.1
...
debian/2.2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da997e6041 | ||
|
|
789c3bb8f3 | ||
|
|
7703689954 | ||
|
|
63a53ee03b | ||
|
|
8f617063ea | ||
|
|
a8f4063380 | ||
|
|
8eb8a8a442 | ||
|
|
8609dbfefd | ||
|
|
a2656e0e76 | ||
|
|
a278f948b0 | ||
|
|
8b512b54b5 | ||
|
|
b07b47a055 | ||
|
|
76df9ba16e | ||
|
|
ef0b9519bc | ||
|
|
40a16212be | ||
|
|
5b7a47da52 | ||
|
|
ab962c4907 | ||
|
|
e76cc391fa | ||
|
|
c680c2e367 | ||
|
|
fb752c0fca | ||
|
|
fb53c14f86 | ||
|
|
8d0f7dbe87 | ||
|
|
7dccbb9daa | ||
|
|
d7b6f6ec9d | ||
|
|
27633d631c | ||
|
|
91639d509d | ||
|
|
3b6277fbbe | ||
|
|
b563f6694c | ||
|
|
7e93937adf | ||
|
|
d853b62da1 | ||
|
|
858746c513 | ||
|
|
9cd39e5117 | ||
|
|
01f63fdbb2 | ||
|
|
00cfea0843 | ||
|
|
9efea94f78 | ||
|
|
525688acd0 | ||
|
|
71565cbc4b | ||
|
|
494041b3b4 | ||
|
|
ce56513640 | ||
|
|
865c9d3d02 | ||
|
|
63b99bc019 | ||
|
|
c81ea01183 | ||
|
|
13d07b4935 | ||
|
|
39eead20a1 | ||
|
|
c724104c12 | ||
|
|
25dda6fd8b | ||
|
|
587b473b02 | ||
|
|
41b4a64aab | ||
|
|
1fded9a136 | ||
|
|
107b884da3 | ||
|
|
874801bc1f | ||
|
|
557490bab5 | ||
|
|
e1f901c905 |
248
debian/changelog
vendored
248
debian/changelog
vendored
@@ -1,3 +1,251 @@
|
||||
libgtop2 (2.28.4-3) unstable; urgency=low
|
||||
|
||||
* debian/patches/06_kfreebsd_sys_pipe.patch: Don't include sys/pipe.h on
|
||||
kFreeBSD. Defining _KERNEL to include sys/pipe.h subsequently breaks
|
||||
sys/conf.h; since sys/pipe.h is not meant to be used in userland, and
|
||||
libgtop2 builds anyway on kFreeBSD without it, don't include it.
|
||||
Thanks to Steven Chamberlain for the patch. Closes: #667984
|
||||
* Update Vcs-* URLs.
|
||||
* Drop Build-Depends on gir1.2-glib-2.0 and let libgirepository1.0-dev pull
|
||||
this dependency.
|
||||
* Bump Standards-Version to 3.9.3.
|
||||
|
||||
-- Michael Biebl <biebl@debian.org> Fri, 13 Apr 2012 20:13:21 +0200
|
||||
|
||||
libgtop2 (2.28.4-2) unstable; urgency=low
|
||||
|
||||
* debian/watch: Track .xz tarballs.
|
||||
* Bump debhelper compatibility level to 8.
|
||||
- Strip debian/tmp/ from .install files.
|
||||
- Bump Build-Depends on debhelper.
|
||||
* debian/control.in:
|
||||
- Drop obsolete versioned Build-Depends on dpkg-dev.
|
||||
- Tighten dependency between libgtop2-dev and gir1.2-gtop-2.0.
|
||||
- Change section of gir1.2-gtop-2.0 to introspection.
|
||||
- Drop obsolete Replaces.
|
||||
- Set pkg-gnome-maintainers@lists.alioth.debian.org as Maintainer.
|
||||
* debian/libgtop2-7.symbols:
|
||||
- Add symbols file for improved shlibs dependencies.
|
||||
|
||||
-- Michael Biebl <biebl@debian.org> Wed, 14 Dec 2011 21:20:53 +0100
|
||||
|
||||
libgtop2 (2.28.4-1) unstable; urgency=low
|
||||
|
||||
[ Martin Pitt ]
|
||||
* New upstream bug fix release.
|
||||
* 03_kfreebsd_installdirs.patch, 05_kfreebsd_8.0.patch,
|
||||
99_ltmain_as-needed.patch: Update for new version.
|
||||
* debian/control.in: Fix section of gir1.2-gtop-2.0, should be "libs" (and
|
||||
was set like that by ftpmasters).
|
||||
* debian/watch: Fix regexp syntax, and watch for *.tar.bz2.
|
||||
* debian/source/format, debian/control, debian/rules: Switch to "3.0
|
||||
(quilt)" source format to support bzip2 orig tarballs. Drop quilt build
|
||||
dependency and usage in debian/rules.
|
||||
|
||||
[ Josselin Mouette ]
|
||||
* Use kfreebsd-any wildcard. Closes: #634623.
|
||||
|
||||
-- Martin Pitt <mpitt@debian.org> Tue, 06 Sep 2011 14:19:01 +0200
|
||||
|
||||
libgtop2 (2.28.3-2) unstable; urgency=low
|
||||
|
||||
* debian/control.in, debian/gir1.2-gtop-2.0.install: Add gir1.2-gtop-2.0
|
||||
package to add GI support.
|
||||
* debian/libgtop2-dev.install: Install .gir.
|
||||
* debian/control.in: Bump Standards-Version to 3.9.2. No changes necessary.
|
||||
|
||||
-- Martin Pitt <mpitt@debian.org> Fri, 27 May 2011 09:56:48 +0200
|
||||
|
||||
libgtop2 (2.28.3-1) unstable; urgency=low
|
||||
|
||||
* Team upload.
|
||||
|
||||
* New upstream release.
|
||||
- Fixes linking with strict linkers (Closes: #555183)
|
||||
* Use dh-autoreconf instead of manually updating 90_autotools.patch
|
||||
* Add Vcs fields to debian/control*
|
||||
|
||||
-- Andreas Henriksson <andreas@fatal.se> Mon, 02 May 2011 16:00:40 +0200
|
||||
|
||||
libgtop2 (2.28.1-1) unstable; urgency=low
|
||||
|
||||
[ Emilio Pozuelo Monfort ]
|
||||
* debian/patches/02_hurd_stub_backend.patch,
|
||||
debian/patches/03_kfreebsd_installdirs.patch,
|
||||
debian/patches/04_kfreebsd_version_check.patch,
|
||||
debian/patches/05_kfreebsd_8.0.patch:
|
||||
- Add headers.
|
||||
|
||||
[ Sebastian Dröge ]
|
||||
* New upstream stable release:
|
||||
+ debian/patches/90_autotools.patch:
|
||||
- Regenerated for the new version.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Sat, 10 Apr 2010 06:56:34 +0200
|
||||
|
||||
libgtop2 (2.28.0-4) unstable; urgency=low
|
||||
|
||||
[ Josselin Mouette ]
|
||||
* 05_kfreebsd_8.0.patch: modified patch from Petr Salinger to make
|
||||
libgtop2 work correctly with kFreeBSD 8.0. Closes: #559291.
|
||||
|
||||
-- Emilio Pozuelo Monfort <pochu@debian.org> Tue, 15 Dec 2009 12:16:51 +0100
|
||||
|
||||
libgtop2 (2.28.0-3) unstable; urgency=low
|
||||
|
||||
* Switch to quilt for patch management.
|
||||
* 02_hurd_stub_backend.patch: re-add an implementation of the stub
|
||||
backend, for the Hurd. Closes: #557446.
|
||||
* 03_kfreebsd_installdirs.patch: patch to install binaries in
|
||||
libexecdir so that we can version the installation directory. Also
|
||||
use DESTDIR in the installation hooks.
|
||||
* 04_kfreebsd_version_check.patch: drop brain-dead runtime version
|
||||
check.
|
||||
* Rename 90_autoconf.patch to 90_autotools.patch, re-run all the
|
||||
autotools on top of that.
|
||||
* Pass a versioned libexecdir to the configure arguments.
|
||||
* Install the server binary on kfreebsd.
|
||||
* Exclude it from dh_fixperms.
|
||||
|
||||
-- Josselin Mouette <joss@debian.org> Sun, 22 Nov 2009 21:17:18 +0100
|
||||
|
||||
libgtop2 (2.28.0-2) unstable; urgency=low
|
||||
|
||||
* debian/patches/01_kfreebsd_kvm_libs.patch:
|
||||
- Patch from Petr Salinger to let libgtop2 build on kFreeBSD again.
|
||||
Closes: #555316.
|
||||
* debian/patches/90_autoconf.patch:
|
||||
- Run autoconf on top of the above patch.
|
||||
|
||||
-- Emilio Pozuelo Monfort <pochu@debian.org> Mon, 09 Nov 2009 23:04:50 +0100
|
||||
|
||||
libgtop2 (2.28.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Add a new libgtop2-doc package and ship the html documentation on it.
|
||||
Also move the info document from the -dev package to the new -doc one.
|
||||
* debian/watch: Don't uupdate.
|
||||
* debian/control.in:
|
||||
- Standards-Version is 3.8.3, no changes needed.
|
||||
- Let libgtop2-7 and libgtop2-common inherit the section from the source
|
||||
stanza.
|
||||
- Unduplicate some short descriptions.
|
||||
* debian/copyright: Updated.
|
||||
|
||||
-- Emilio Pozuelo Monfort <pochu@debian.org> Mon, 21 Sep 2009 23:51:39 +0200
|
||||
|
||||
libgtop2 (2.26.1-1) unstable; urgency=low
|
||||
|
||||
[ Luca Bruno ]
|
||||
* New upstream release.
|
||||
* debian/copyright:
|
||||
- Specify GPL version 2.
|
||||
- Don't mention /usr/share/doc/libgtop2*/AUTHORS, all upstream authors
|
||||
are already listed here.
|
||||
* debian/control.in:
|
||||
- Updated Standards-Version to 3.8.1, no additional changes needed.
|
||||
- Add ${misc:Depends} to all packages.
|
||||
|
||||
[ Josselin Mouette ]
|
||||
* Fix incorrect Replaces:.
|
||||
* Remove the FreeBSD-specific libraries from the -dev dependencies,
|
||||
they are not needed to build libgtop2-based applications.
|
||||
* Add missing build-dependencies.
|
||||
|
||||
-- Josselin Mouette <joss@debian.org> Thu, 11 Jun 2009 09:15:19 +0200
|
||||
|
||||
libgtop2 (2.24.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream bugfix release.
|
||||
|
||||
-- Josselin Mouette <joss@debian.org> Wed, 04 Mar 2009 17:47:56 +0100
|
||||
|
||||
libgtop2 (2.24.0-1) experimental; urgency=low
|
||||
|
||||
* New upstream release.
|
||||
* Bump shlibs version to 2.23.2.
|
||||
* Bump intltool requirement to 0.35.0.
|
||||
|
||||
-- Josselin Mouette <joss@debian.org> Fri, 21 Nov 2008 19:18:22 +0100
|
||||
|
||||
libgtop2 (2.22.3-1) unstable; urgency=low
|
||||
|
||||
* New upstream bugfix release.
|
||||
* debian/control.in:
|
||||
+ Updated Standards-Version to 3.8.0, no additional changes needed.
|
||||
+ Build depend on intltool as it's now required.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Tue, 01 Jul 2008 10:11:55 +0200
|
||||
|
||||
libgtop2 (2.22.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream bugfix release:
|
||||
+ Fixes parsing of large /proc/stat on Linux.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Sun, 25 May 2008 17:00:32 +0200
|
||||
|
||||
libgtop2 (2.22.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream bugfix release:
|
||||
+ Fixes build on non-Linux archs (Closes: #473211).
|
||||
* debian/rules,
|
||||
debian/control.in:
|
||||
+ Patch by Petr Salinger to let the -dev package depend on all required
|
||||
packages on GNU/kFreeBSD.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Fri, 04 Apr 2008 21:08:49 +0200
|
||||
|
||||
libgtop2 (2.22.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream stable release.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Fri, 14 Mar 2008 11:55:57 +0100
|
||||
|
||||
libgtop2 (2.20.2-1) unstable; urgency=low
|
||||
|
||||
* New upstream bugfix release:
|
||||
+ Fixes smaps parsing with Linux kernel >= 2.6.24.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Sat, 08 Mar 2008 05:02:09 +0100
|
||||
|
||||
libgtop2 (2.20.1-1) unstable; urgency=low
|
||||
|
||||
* New upstream bugfix release.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Tue, 08 Jan 2008 14:07:50 +0100
|
||||
|
||||
libgtop2 (2.20.0-2) unstable; urgency=low
|
||||
|
||||
* debian/patches/01_kfreebsd.patch,
|
||||
debian/control.in:
|
||||
+ Fix FTBFS on GNU/kFreeBSD. Thanks to Petr Salinger for the patch
|
||||
(Closes: #456936).
|
||||
* debian/control.in:
|
||||
+ Update Standards-Version to 3.7.3, no additional changes needed.
|
||||
* debian/patches/99_ltmain_as-needed.patch,
|
||||
debian/rules:
|
||||
+ Link with --as-needed to remove some unnecessary dependencies.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Sat, 05 Jan 2008 07:14:55 +0100
|
||||
|
||||
libgtop2 (2.20.0-1) unstable; urgency=low
|
||||
|
||||
* New upstream release, with some API additions.
|
||||
* debian/control.in:
|
||||
+ Remove libpopt-dev from build-depends.
|
||||
* debian/rules:
|
||||
+ Bump shlibs to >= 2.20.0.
|
||||
|
||||
-- Sebastian Dröge <slomo@debian.org> Mon, 17 Sep 2007 06:21:20 +0200
|
||||
|
||||
libgtop2 (2.14.9-1) unstable; urgency=low
|
||||
|
||||
* New upstream stable release, with some API and ABI removals of
|
||||
glibtop_init_*() functions which shouldn't have been public and are not
|
||||
known to be used by anything else.
|
||||
|
||||
-- Loic Minier <lool@dooz.org> Wed, 20 Jun 2007 15:16:55 +0200
|
||||
|
||||
libgtop2 (2.14.8-2) unstable; urgency=low
|
||||
|
||||
* Upload to unstable; drop check-dist include.
|
||||
|
||||
2
debian/compat
vendored
2
debian/compat
vendored
@@ -1 +1 @@
|
||||
5
|
||||
8
|
||||
|
||||
76
debian/control
vendored
76
debian/control
vendored
@@ -1,28 +1,40 @@
|
||||
# This file is autogenerated. DO NOT EDIT!
|
||||
#
|
||||
# Modifications should be made to debian/control.in instead.
|
||||
# This file is regenerated automatically in the clean target.
|
||||
|
||||
Source: libgtop2
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Sebastien Bacher <seb128@debian.org>
|
||||
Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Loic Minier <lool@dooz.org>
|
||||
Build-Depends: debhelper (>= 5),
|
||||
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: Andreas Henriksson <andreas@fatal.se>, Emilio Pozuelo Monfort <pochu@debian.org>, Josselin Mouette <joss@debian.org>, Martin Pitt <mpitt@debian.org>, Michael Biebl <biebl@debian.org>, Sebastian Dröge <slomo@debian.org>
|
||||
Build-Depends: debhelper (>= 8),
|
||||
gettext,
|
||||
pkg-config,
|
||||
libpopt-dev,
|
||||
libxau-dev,
|
||||
libglib2.0-dev (>= 2.6.0),
|
||||
gnome-pkg-tools (>= 0.10),
|
||||
dh-autoreconf,
|
||||
cdbs,
|
||||
texinfo,
|
||||
dpkg-dev (>= 1.13.19),
|
||||
libxml-parser-perl,
|
||||
libkvm-dev [kfreebsd-i386 kfreebsd-amd64]
|
||||
Standards-Version: 3.7.2
|
||||
intltool (>= 0.35.0),
|
||||
libxt-dev,
|
||||
libgeom-dev [kfreebsd-any],
|
||||
libdevstat-dev [kfreebsd-any],
|
||||
libkvm-dev [kfreebsd-any],
|
||||
gtk-doc-tools (>= 1.4),
|
||||
gobject-introspection (>= 0.6.7),
|
||||
libgirepository1.0-dev (>= 0.10.7-1~)
|
||||
Standards-Version: 3.9.3
|
||||
Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/desktop/unstable/libgtop2
|
||||
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/libgtop2
|
||||
|
||||
Package: libgtop2-7
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
libgtop2-common (>= ${source:Version})
|
||||
Description: gtop system monitoring library
|
||||
Description: gtop system monitoring library (shared)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
@@ -31,25 +43,45 @@ Description: gtop system monitoring library
|
||||
Package: libgtop2-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libgtop2-7 (= ${binary:Version}),
|
||||
libglib2.0-dev,
|
||||
${libkvm-dev}
|
||||
Description: gtop system monitoring library
|
||||
Depends: ${misc:Depends},
|
||||
libgtop2-7 (= ${binary:Version}),
|
||||
gir1.2-gtop-2.0 (= ${binary:Version}),
|
||||
libglib2.0-dev
|
||||
Description: gtop system monitoring library (devel)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package contains the static library, development headers, and
|
||||
documentation.
|
||||
This package contains the static library and development headers.
|
||||
|
||||
Package: libgtop2-common
|
||||
Architecture: all
|
||||
Section: libs
|
||||
Replaces: libgtop2-5,
|
||||
libgtop2-4,
|
||||
libgtop2-2,
|
||||
libgtop2
|
||||
Description: common files for the gtop system monitoring library
|
||||
Depends: ${misc:Depends},
|
||||
Description: gtop system monitoring library (common)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package contains the translations.
|
||||
|
||||
Package: libgtop2-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends},
|
||||
Replaces: libgtop2-dev (<< 2.28.0-1)
|
||||
Description: gtop system monitoring library (documentation)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package contains the documentation.
|
||||
|
||||
Package: gir1.2-gtop-2.0
|
||||
Architecture: any
|
||||
Section: introspection
|
||||
Depends: ${misc:Depends},
|
||||
${gir:Depends}
|
||||
Description: gtop system monitoring library (gir bindings)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package can be used by other packages using the GIRepository format to
|
||||
generate dynamic bindings.
|
||||
|
||||
|
||||
69
debian/control.in
vendored
69
debian/control.in
vendored
@@ -1,28 +1,35 @@
|
||||
Source: libgtop2
|
||||
Section: libs
|
||||
Priority: optional
|
||||
Maintainer: Sebastien Bacher <seb128@debian.org>
|
||||
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
|
||||
Uploaders: @GNOME_TEAM@
|
||||
Build-Depends: debhelper (>= 5),
|
||||
Build-Depends: debhelper (>= 8),
|
||||
gettext,
|
||||
pkg-config,
|
||||
libpopt-dev,
|
||||
libxau-dev,
|
||||
libglib2.0-dev (>= 2.6.0),
|
||||
gnome-pkg-tools (>= 0.10),
|
||||
dh-autoreconf,
|
||||
cdbs,
|
||||
texinfo,
|
||||
dpkg-dev (>= 1.13.19),
|
||||
libxml-parser-perl,
|
||||
libkvm-dev [kfreebsd-i386 kfreebsd-amd64]
|
||||
Standards-Version: 3.7.2
|
||||
intltool (>= 0.35.0),
|
||||
libxt-dev,
|
||||
libgeom-dev [kfreebsd-any],
|
||||
libdevstat-dev [kfreebsd-any],
|
||||
libkvm-dev [kfreebsd-any],
|
||||
gtk-doc-tools (>= 1.4),
|
||||
gobject-introspection (>= 0.6.7),
|
||||
libgirepository1.0-dev (>= 0.10.7-1~)
|
||||
Standards-Version: 3.9.3
|
||||
Vcs-Svn: svn://anonscm.debian.org/svn/pkg-gnome/desktop/unstable/libgtop2
|
||||
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-gnome/desktop/unstable/libgtop2
|
||||
|
||||
Package: libgtop2-7
|
||||
Architecture: any
|
||||
Section: libs
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
libgtop2-common (>= ${source:Version})
|
||||
Description: gtop system monitoring library
|
||||
Description: gtop system monitoring library (shared)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
@@ -31,25 +38,45 @@ Description: gtop system monitoring library
|
||||
Package: libgtop2-dev
|
||||
Architecture: any
|
||||
Section: libdevel
|
||||
Depends: libgtop2-7 (= ${binary:Version}),
|
||||
libglib2.0-dev,
|
||||
${libkvm-dev}
|
||||
Description: gtop system monitoring library
|
||||
Depends: ${misc:Depends},
|
||||
libgtop2-7 (= ${binary:Version}),
|
||||
gir1.2-gtop-2.0 (= ${binary:Version}),
|
||||
libglib2.0-dev
|
||||
Description: gtop system monitoring library (devel)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package contains the static library, development headers, and
|
||||
documentation.
|
||||
This package contains the static library and development headers.
|
||||
|
||||
Package: libgtop2-common
|
||||
Architecture: all
|
||||
Section: libs
|
||||
Replaces: libgtop2-5,
|
||||
libgtop2-4,
|
||||
libgtop2-2,
|
||||
libgtop2
|
||||
Description: common files for the gtop system monitoring library
|
||||
Depends: ${misc:Depends},
|
||||
Description: gtop system monitoring library (common)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package contains the translations.
|
||||
|
||||
Package: libgtop2-doc
|
||||
Architecture: all
|
||||
Section: doc
|
||||
Depends: ${misc:Depends},
|
||||
Replaces: libgtop2-dev (<< 2.28.0-1)
|
||||
Description: gtop system monitoring library (documentation)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package contains the documentation.
|
||||
|
||||
Package: gir1.2-gtop-2.0
|
||||
Architecture: any
|
||||
Section: introspection
|
||||
Depends: ${misc:Depends},
|
||||
${gir:Depends}
|
||||
Description: gtop system monitoring library (gir bindings)
|
||||
The gtop library reads information about processes and the state of the
|
||||
system. It is used by the GNOME desktop environment.
|
||||
.
|
||||
This package can be used by other packages using the GIRepository format to
|
||||
generate dynamic bindings.
|
||||
|
||||
|
||||
48
debian/copyright
vendored
48
debian/copyright
vendored
@@ -5,11 +5,20 @@ then Noel Koethe <noel@debian.org> in December 2001
|
||||
|
||||
It was downloaded from http://ftp.gnome.org/pub/GNOME/sources/libgtop/
|
||||
|
||||
Upstream Authors and Copyright Holders:
|
||||
Upstream Authors:
|
||||
Martin Baulig (martin@home-of-linux.org)
|
||||
Drazen Kacar (dave@srce.hr)
|
||||
Benoît Dejean (tazforever@dlfp.org)
|
||||
(The full list is in /usr/share/doc/libgtop2*/AUTHORS.)
|
||||
|
||||
Copyright:
|
||||
1998-99 Martin Baulig
|
||||
2004 Nicolás Lichtmaier
|
||||
2007 Joe Marcus Clarke
|
||||
1996 Charles Blake <cblake@bbn.com>
|
||||
1998 Joshua Sled
|
||||
1999 Drazen Kacar
|
||||
1998-2007 Benoît Dejean
|
||||
2006-2007 Henry Zhang
|
||||
|
||||
License:
|
||||
|
||||
@@ -28,5 +37,38 @@ License:
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL'.
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
|
||||
|
||||
misc/i4b_acct.h is licensed under the following terms:
|
||||
|
||||
Copyright (c) 1997 Joerg Wunsch. All rights reserved.
|
||||
|
||||
Copyright (c) 1997, 1998 Hellmuth Michaelis. All rights reserved.
|
||||
|
||||
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 author nor the names of any co-contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
4. Altered versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software and/or documentation.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR 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 AUTHOR 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.
|
||||
|
||||
1
debian/gir1.2-gtop-2.0.install
vendored
Normal file
1
debian/gir1.2-gtop-2.0.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/lib/girepository-*
|
||||
2
debian/libgtop2-7.install
vendored
2
debian/libgtop2-7.install
vendored
@@ -1 +1 @@
|
||||
debian/tmp/usr/lib/*.so.*
|
||||
usr/lib/*.so.*
|
||||
|
||||
71
debian/libgtop2-7.symbols
vendored
Normal file
71
debian/libgtop2-7.symbols
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
libgtop-2.0.so.7 libgtop2-7 #MINVER#
|
||||
glibtop_call_l@Base 2.22.3
|
||||
glibtop_close@Base 2.22.3
|
||||
glibtop_close_r@Base 2.22.3
|
||||
glibtop_get_cpu@Base 2.22.3
|
||||
glibtop_get_cpu_l@Base 2.22.3
|
||||
glibtop_get_fsusage@Base 2.22.3
|
||||
glibtop_get_fsusage_l@Base 2.22.3
|
||||
glibtop_get_loadavg@Base 2.22.3
|
||||
glibtop_get_loadavg_l@Base 2.22.3
|
||||
glibtop_get_mem@Base 2.22.3
|
||||
glibtop_get_mem_l@Base 2.22.3
|
||||
glibtop_get_mountlist@Base 2.22.3
|
||||
glibtop_get_mountlist_l@Base 2.22.3
|
||||
glibtop_get_msg_limits@Base 2.22.3
|
||||
glibtop_get_msg_limits_l@Base 2.22.3
|
||||
glibtop_get_netlist@Base 2.22.3
|
||||
glibtop_get_netlist_l@Base 2.22.3
|
||||
glibtop_get_netload@Base 2.22.3
|
||||
glibtop_get_netload_l@Base 2.22.3
|
||||
glibtop_get_parameter_l@Base 2.22.3
|
||||
glibtop_get_ppp@Base 2.22.3
|
||||
glibtop_get_ppp_l@Base 2.22.3
|
||||
glibtop_get_proc_affinity@Base 2.24.0
|
||||
glibtop_get_proc_affinity_l@Base 2.24.0
|
||||
glibtop_get_proc_args@Base 2.22.3
|
||||
glibtop_get_proc_args_l@Base 2.22.3
|
||||
glibtop_get_proc_argv@Base 2.22.3
|
||||
glibtop_get_proc_argv_l@Base 2.22.3
|
||||
glibtop_get_proc_kernel@Base 2.22.3
|
||||
glibtop_get_proc_kernel_l@Base 2.22.3
|
||||
glibtop_get_proc_map@Base 2.22.3
|
||||
glibtop_get_proc_map_l@Base 2.22.3
|
||||
glibtop_get_proc_mem@Base 2.22.3
|
||||
glibtop_get_proc_mem_l@Base 2.22.3
|
||||
glibtop_get_proc_open_files@Base 2.22.3
|
||||
glibtop_get_proc_open_files_l@Base 2.22.3
|
||||
glibtop_get_proc_segment@Base 2.22.3
|
||||
glibtop_get_proc_segment_l@Base 2.22.3
|
||||
glibtop_get_proc_signal@Base 2.22.3
|
||||
glibtop_get_proc_signal_l@Base 2.22.3
|
||||
glibtop_get_proc_state@Base 2.22.3
|
||||
glibtop_get_proc_state_l@Base 2.22.3
|
||||
glibtop_get_proc_time@Base 2.22.3
|
||||
glibtop_get_proc_time_l@Base 2.22.3
|
||||
glibtop_get_proc_uid@Base 2.22.3
|
||||
glibtop_get_proc_uid_l@Base 2.22.3
|
||||
glibtop_get_proc_wd@Base 2.22.3
|
||||
glibtop_get_proc_wd_l@Base 2.22.3
|
||||
glibtop_get_proclist@Base 2.22.3
|
||||
glibtop_get_proclist_l@Base 2.22.3
|
||||
glibtop_get_sem_limits@Base 2.22.3
|
||||
glibtop_get_sem_limits_l@Base 2.22.3
|
||||
glibtop_get_shm_limits@Base 2.22.3
|
||||
glibtop_get_shm_limits_l@Base 2.22.3
|
||||
glibtop_get_swap@Base 2.22.3
|
||||
glibtop_get_swap_l@Base 2.22.3
|
||||
glibtop_get_sysdeps@Base 2.22.3
|
||||
glibtop_get_sysdeps_r@Base 2.22.3
|
||||
glibtop_get_sysinfo@Base 2.22.3
|
||||
glibtop_get_uptime@Base 2.22.3
|
||||
glibtop_get_uptime_l@Base 2.22.3
|
||||
glibtop_global_server@Base 2.22.3
|
||||
glibtop_init@Base 2.22.3
|
||||
glibtop_init_r@Base 2.22.3
|
||||
glibtop_internet_addr@Base 2.22.3
|
||||
glibtop_make_connection@Base 2.22.3
|
||||
glibtop_open_l@Base 2.22.3
|
||||
glibtop_server_features@Base 2.22.3
|
||||
glibtop_set_parameter_l@Base 2.22.3
|
||||
glibtop_sys_siglist@Base 2.22.3
|
||||
2
debian/libgtop2-common.install
vendored
2
debian/libgtop2-common.install
vendored
@@ -1 +1 @@
|
||||
debian/tmp/usr/share/locale
|
||||
usr/share/locale
|
||||
|
||||
9
debian/libgtop2-dev.install
vendored
9
debian/libgtop2-dev.install
vendored
@@ -1,4 +1,5 @@
|
||||
debian/tmp/usr/include/libgtop-2.0
|
||||
debian/tmp/usr/lib/libgtop-2.0.a
|
||||
debian/tmp/usr/lib/libgtop-2.0.so
|
||||
debian/tmp/usr/lib/pkgconfig
|
||||
usr/include/libgtop-2.0
|
||||
usr/lib/libgtop-2.0.a
|
||||
usr/lib/libgtop-2.0.so
|
||||
usr/lib/pkgconfig
|
||||
usr/share/gir-*
|
||||
|
||||
11
debian/libgtop2-doc.doc-base
vendored
Normal file
11
debian/libgtop2-doc.doc-base
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
Document: libgtop2
|
||||
Title: libsoup Reference Manual
|
||||
Author: Martin Baulig, Germán Póo-Caamaño
|
||||
Abstract: This manual documents the interfaces of the libgtop
|
||||
library and has some short notes to help get you up to speed
|
||||
with using the library.
|
||||
Section: Programming
|
||||
|
||||
Format: HTML
|
||||
Index: /usr/share/gtk-doc/html/libgtop/index.html
|
||||
Files: /usr/share/gtk-doc/html/libgtop/*html
|
||||
1
debian/libgtop2-doc.install
vendored
Normal file
1
debian/libgtop2-doc.install
vendored
Normal file
@@ -0,0 +1 @@
|
||||
usr/share/gtk-doc
|
||||
23
debian/patches/01_kfreebsd_kvm_libs.patch
vendored
Normal file
23
debian/patches/01_kfreebsd_kvm_libs.patch
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
Description: FTBFS on GNU/kFreeBSD
|
||||
Bug-Debian: http://bugs.debian.org/555316
|
||||
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=601319
|
||||
Author: Petr Salinger <Petr.Salinger@seznam.cz>
|
||||
|
||||
diff -Nur -x '*.orig' -x '*~' libgtop2-2.28.0/libgtop-sysdeps.m4 libgtop2-2.28.0.new/libgtop-sysdeps.m4
|
||||
--- libgtop2-2.28.0/libgtop-sysdeps.m4 2009-07-10 14:14:18.000000000 +0200
|
||||
+++ libgtop2-2.28.0.new/libgtop-sysdeps.m4 2009-11-09 22:20:31.000000000 +0100
|
||||
@@ -148,13 +148,7 @@
|
||||
|
||||
case "$host_os" in
|
||||
*bsd*)
|
||||
- case "$host_os" in
|
||||
- *kfreebsd*)
|
||||
- AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS="-lkvm -lfreebsd -lbsd", KVM_LIBS=, -lfreebsd -lbsd);;
|
||||
- *)
|
||||
- AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=);;
|
||||
- esac
|
||||
-
|
||||
+ AC_CHECK_LIB(kvm, kvm_open, KVM_LIBS=-lkvm, KVM_LIBS=)
|
||||
AC_SUBST(KVM_LIBS)
|
||||
|
||||
case "$host_os" in
|
||||
178
debian/patches/02_hurd_stub_backend.patch
vendored
Normal file
178
debian/patches/02_hurd_stub_backend.patch
vendored
Normal file
@@ -0,0 +1,178 @@
|
||||
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=602662
|
||||
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=557446
|
||||
Author: Samuel Thibault <sthibault@debian.org>
|
||||
|
||||
Fix the stub backend to build again, making libgtop build on the Hurd.
|
||||
|
||||
diff -urN --exclude='*.o' --exclude='*.lo' --exclude='*.in' libgtop2-2.28.0.sav/sysdeps/stub/Makefile.am libgtop2-2.28.0/sysdeps/stub/Makefile.am
|
||||
--- libgtop2-2.28.0.sav/sysdeps/stub/Makefile.am 2009-04-18 23:29:49.000000000 +0000
|
||||
+++ libgtop2-2.28.0/sysdeps/stub/Makefile.am 2009-11-22 01:07:39.000000000 +0000
|
||||
@@ -8,7 +8,8 @@
|
||||
sem_limits.c proclist.c procstate.c procuid.c \
|
||||
proctime.c procmem.c procsignal.c prockernel.c \
|
||||
procsegment.c procargs.c procmap.c netload.c \
|
||||
- ppp.c netlist.c procopenfiles.c
|
||||
+ ppp.c netlist.c procopenfiles.c procwd.c \
|
||||
+ procaffinity.c sysinfo.c
|
||||
|
||||
libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||
|
||||
diff -urN --exclude='*.o' --exclude='*.lo' --exclude='*.in' libgtop2-2.28.0.sav/sysdeps/stub/glibtop_server.h libgtop2-2.28.0/sysdeps/stub/glibtop_server.h
|
||||
--- libgtop2-2.28.0.sav/sysdeps/stub/glibtop_server.h 2009-04-18 23:29:49.000000000 +0000
|
||||
+++ libgtop2-2.28.0/sysdeps/stub/glibtop_server.h 2009-11-22 01:02:16.000000000 +0000
|
||||
@@ -45,6 +45,8 @@
|
||||
#define GLIBTOP_SUID_NETLOAD 0
|
||||
#define GLIBTOP_SUID_NETLIST 0
|
||||
#define GLIBTOP_SUID_PPP 0
|
||||
+#define GLIBTOP_SUID_PROC_WD 0
|
||||
+#define GLIBTOP_SUID_PROC_AFFINITY 0
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
diff -urN --exclude='*.o' --exclude='*.lo' --exclude='*.in' libgtop2-2.28.0.sav/sysdeps/stub/procaffinity.c libgtop2-2.28.0/sysdeps/stub/procaffinity.c
|
||||
--- libgtop2-2.28.0.sav/sysdeps/stub/procaffinity.c 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ libgtop2-2.28.0/sysdeps/stub/procaffinity.c 2009-11-22 01:06:58.000000000 +0000
|
||||
@@ -0,0 +1,44 @@
|
||||
+/*
|
||||
+
|
||||
+ This file is part of LibGTop 2.
|
||||
+
|
||||
+ LibGTop 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 2 of the License,
|
||||
+ or (at your option) any later version.
|
||||
+
|
||||
+ LibGTop 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 LibGTop; see the file COPYING. If not, write to the
|
||||
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
+ Boston, MA 02111-1307, USA.
|
||||
+*/
|
||||
+
|
||||
+#include <config.h>
|
||||
+#include <glibtop/procaffinity.h>
|
||||
+#include <glibtop/error.h>
|
||||
+
|
||||
+#include <sys/param.h>
|
||||
+
|
||||
+void
|
||||
+_glibtop_init_proc_affinity_s(glibtop *server)
|
||||
+{
|
||||
+ server->sysdeps.proc_affinity =
|
||||
+ (1 << GLIBTOP_PROC_AFFINITY_NUMBER) |
|
||||
+ (1 << GLIBTOP_PROC_AFFINITY_ALL);
|
||||
+
|
||||
+}
|
||||
+
|
||||
+
|
||||
+guint16 *
|
||||
+glibtop_get_proc_affinity_s(glibtop *server, glibtop_proc_affinity *buf, pid_t pid)
|
||||
+{
|
||||
+ memset(buf, 0, sizeof *buf);
|
||||
+
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
diff -urN --exclude='*.o' --exclude='*.lo' --exclude='*.in' libgtop2-2.28.0.sav/sysdeps/stub/proclist.c libgtop2-2.28.0/sysdeps/stub/proclist.c
|
||||
--- libgtop2-2.28.0.sav/sysdeps/stub/proclist.c 2009-04-18 23:29:49.000000000 +0000
|
||||
+++ libgtop2-2.28.0/sysdeps/stub/proclist.c 2009-11-22 01:30:53.000000000 +0000
|
||||
@@ -42,7 +42,7 @@
|
||||
* On success, it returnes a pointer to a list of buf->number elements
|
||||
* each buf->size big. The total size is stored in buf->total. */
|
||||
|
||||
-unsigned *
|
||||
+pid_t *
|
||||
glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf,
|
||||
gint64 which, gint64 arg)
|
||||
{
|
||||
diff -urN --exclude='*.o' --exclude='*.lo' --exclude='*.in' libgtop2-2.28.0.sav/sysdeps/stub/procwd.c libgtop2-2.28.0/sysdeps/stub/procwd.c
|
||||
--- libgtop2-2.28.0.sav/sysdeps/stub/procwd.c 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ libgtop2-2.28.0/sysdeps/stub/procwd.c 2009-11-22 01:46:06.000000000 +0000
|
||||
@@ -0,0 +1,48 @@
|
||||
+/*
|
||||
+ This file is part of LibGTop 2.0.
|
||||
+
|
||||
+ LibGTop 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 2 of the License,
|
||||
+ or (at your option) any later version.
|
||||
+
|
||||
+ LibGTop 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 LibGTop; see the file COPYING. If not, write to the
|
||||
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
+ Boston, MA 02111-1307, USA.
|
||||
+*/
|
||||
+
|
||||
+#include <config.h>
|
||||
+#include <glibtop/procwd.h>
|
||||
+#include <glibtop/error.h>
|
||||
+
|
||||
+#include <unistd.h>
|
||||
+#include <dirent.h>
|
||||
+#include <sys/types.h>
|
||||
+
|
||||
+static const unsigned long _glibtop_sysdeps_proc_wd = 0;
|
||||
+
|
||||
+/* Init function. */
|
||||
+
|
||||
+void
|
||||
+_glibtop_init_proc_wd_s (glibtop *server)
|
||||
+{
|
||||
+ server->sysdeps.proc_wd = _glibtop_sysdeps_proc_wd;
|
||||
+}
|
||||
+
|
||||
+/* Provides detailed information about a process. */
|
||||
+
|
||||
+char **
|
||||
+glibtop_get_proc_wd_s (glibtop *server, glibtop_proc_wd *buf,
|
||||
+ pid_t pid)
|
||||
+{
|
||||
+ glibtop_init_s (&server, GLIBTOP_SYSDEPS_PROC_WD, 0);
|
||||
+
|
||||
+ memset (buf, 0, sizeof (glibtop_proc_wd));
|
||||
+ return NULL;
|
||||
+}
|
||||
diff -urN --exclude='*.o' --exclude='*.lo' --exclude='*.in' libgtop2-2.28.0.sav/sysdeps/stub/sysinfo.c libgtop2-2.28.0/sysdeps/stub/sysinfo.c
|
||||
--- libgtop2-2.28.0.sav/sysdeps/stub/sysinfo.c 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ libgtop2-2.28.0/sysdeps/stub/sysinfo.c 2009-11-22 02:08:44.000000000 +0000
|
||||
@@ -0,0 +1,31 @@
|
||||
+/*
|
||||
+ This file is part of LibGTop 2.0.
|
||||
+
|
||||
+ LibGTop 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 2 of the License,
|
||||
+ or (at your option) any later version.
|
||||
+
|
||||
+ LibGTop 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 LibGTop; see the file COPYING. If not, write to the
|
||||
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||
+ Boston, MA 02111-1307, USA.
|
||||
+*/
|
||||
+
|
||||
+#include <config.h>
|
||||
+#include <glibtop/cpu.h>
|
||||
+#include <glibtop/sysinfo.h>
|
||||
+
|
||||
+static glibtop_sysinfo sysinfo = { };
|
||||
+const glibtop_sysinfo *
|
||||
+glibtop_get_sysinfo_s (glibtop *server)
|
||||
+{
|
||||
+ glibtop_init_s (&server, GLIBTOP_SYSDEPS_CPU, 0);
|
||||
+
|
||||
+ return &sysinfo;
|
||||
+}
|
||||
82
debian/patches/03_kfreebsd_installdirs.patch
vendored
Normal file
82
debian/patches/03_kfreebsd_installdirs.patch
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=602664
|
||||
Author: Josselin Mouette <joss@debian.org>
|
||||
|
||||
The libgtop_server2 binary is launched by the library itself, and has no use
|
||||
being launched directly. Therefore, it should go in $(libexecdir) instead.
|
||||
|
||||
The patch also adds some missing $(DESTDIR) references in the installation
|
||||
hooks.
|
||||
|
||||
Index: libgtop2/libgtop-sysdeps.m4
|
||||
===================================================================
|
||||
--- libgtop2.orig/libgtop-sysdeps.m4 2011-09-06 14:12:33.925874923 +0200
|
||||
+++ libgtop2/libgtop-sysdeps.m4 2011-09-06 14:12:37.175874943 +0200
|
||||
@@ -73,7 +73,7 @@
|
||||
libgtop_sysdeps_dir=bsd
|
||||
libgtop_use_machine_h=yes
|
||||
libgtop_need_server=yes
|
||||
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
|
||||
+ libgtop_postinstall='chgrp kmem $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod 2755 $(DESTDIR)$(libexecdir)/libgtop_server2'
|
||||
;;
|
||||
openbsd*)
|
||||
libgtop_sysdeps_dir=openbsd
|
||||
@@ -87,27 +87,27 @@
|
||||
libgtop_need_server=yes
|
||||
libgtop_sysdeps_private_mountlist=yes
|
||||
libgtop_sysdeps_private_fsusage=yes
|
||||
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
|
||||
+ libgtop_postinstall='chgrp kmem $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod 2755 $(DESTDIR)$(libexecdir)/libgtop_server2'
|
||||
;;
|
||||
solaris*)
|
||||
libgtop_sysdeps_dir=solaris
|
||||
libgtop_use_machine_h=yes
|
||||
libgtop_need_server=yes
|
||||
- libgtop_postinstall='chgrp sys $(bindir)/libgtop_server && chmod 2755 $(bindir)/libgtop_server'
|
||||
+ libgtop_postinstall='chgrp sys $(DESTDIR)$(libexecdir)/libgtop_server && chmod 2755 $(DESTDIR)$(libexecdir)/libgtop_server'
|
||||
;;
|
||||
aix*)
|
||||
libgtop_sysdeps_dir=aix
|
||||
libgtop_use_machine_h=yes
|
||||
libgtop_need_server=yes
|
||||
libgtop_have_sysinfo=yes
|
||||
- libgtop_postinstall='chgrp system $(bindir)/libgtop_server && chmod g+s $(bindir)/libgtop_server2'
|
||||
+ libgtop_postinstall='chgrp system $(DESTDIR)$(libexecdir)/libgtop_server && chmod g+s $(DESTDIR)$(libexecdir)/libgtop_server2'
|
||||
;;
|
||||
darwin*)
|
||||
libgtop_sysdeps_dir=darwin
|
||||
libgtop_use_machine_h=yes
|
||||
libgtop_need_server=yes
|
||||
libgtop_have_sysinfo=yes
|
||||
- libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod g+s $(bindir)/libgtop_server2'
|
||||
+ libgtop_postinstall='chgrp kmem $(DESTDIR)$(libexecdir)/libgtop_server2 && chmod g+s $(DESTDIR)$(libexecdir)/libgtop_server2'
|
||||
;;
|
||||
cygwin*)
|
||||
libgtop_sysdeps_dir=cygwin
|
||||
Index: libgtop2/src/daemon/Makefile.am
|
||||
===================================================================
|
||||
--- libgtop2.orig/src/daemon/Makefile.am 2011-06-01 17:40:47.000000000 +0200
|
||||
+++ libgtop2/src/daemon/Makefile.am 2011-09-06 14:12:37.175874943 +0200
|
||||
@@ -28,7 +28,7 @@
|
||||
suid_common =
|
||||
endif
|
||||
|
||||
-bin_PROGRAMS = libgtop_daemon2 @server_programs@
|
||||
+libexec_PROGRAMS = libgtop_daemon2 @server_programs@
|
||||
|
||||
EXTRA_PROGRAMS = libgtop_server2
|
||||
|
||||
Index: libgtop2/configure.in
|
||||
===================================================================
|
||||
--- libgtop2.orig/configure.in 2011-08-30 13:25:29.000000000 +0200
|
||||
+++ libgtop2/configure.in 2011-09-06 14:12:37.175874943 +0200
|
||||
@@ -290,8 +290,8 @@
|
||||
libgtop_save_exec_prefix="$exec_prefix"
|
||||
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
||||
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
||||
-LIBGTOP_BINDIR=`eval echo "${bindir}"`
|
||||
-LIBGTOP_SERVER=`eval echo "${bindir}/libgtop_server2"`
|
||||
+LIBGTOP_BINDIR=`eval echo "${libexecdir}"`
|
||||
+LIBGTOP_SERVER=`eval echo "${libexecdir}/libgtop_server2"`
|
||||
prefix="$libgtop_save_prefix"
|
||||
exec_prefix="$libgtop_save_exec_prefix"
|
||||
|
||||
28
debian/patches/04_kfreebsd_version_check.patch
vendored
Normal file
28
debian/patches/04_kfreebsd_version_check.patch
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=602666
|
||||
Author: Josselin Mouette <joss@debian.org>
|
||||
|
||||
The server binary refuses to start when it is not run on the same hardware as
|
||||
the one where it was built on. This check is utterly and absolutely useless,
|
||||
and makes it impossible to produce working binary packages.
|
||||
|
||||
Index: libgtop-2.28.0/src/daemon/server.c
|
||||
===================================================================
|
||||
--- libgtop-2.28.0.orig/src/daemon/server.c 2009-11-22 21:14:47.613184919 +0100
|
||||
+++ libgtop-2.28.0/src/daemon/server.c 2009-11-22 21:15:02.673188074 +0100
|
||||
@@ -86,16 +86,6 @@ main(int argc, char *argv[])
|
||||
LIBGTOP_COMPILE_RELEASE);
|
||||
_exit (1);
|
||||
}
|
||||
-#else
|
||||
- if (strcmp (uts.sysname, LIBGTOP_COMPILE_SYSTEM) ||
|
||||
- strcmp (uts.release, LIBGTOP_COMPILE_RELEASE) ||
|
||||
- strcmp (uts.machine, LIBGTOP_COMPILE_MACHINE)) {
|
||||
- fprintf (stderr, "Can only run on %s %s %s\n",
|
||||
- LIBGTOP_COMPILE_SYSTEM,
|
||||
- LIBGTOP_COMPILE_RELEASE,
|
||||
- LIBGTOP_COMPILE_MACHINE);
|
||||
- _exit (1);
|
||||
- }
|
||||
#endif
|
||||
|
||||
glibtop_init_p (glibtop_global_server, 0, 0);
|
||||
28
debian/patches/05_kfreebsd_8.0.patch
vendored
Normal file
28
debian/patches/05_kfreebsd_8.0.patch
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=608518
|
||||
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=559291
|
||||
Author: Petr Salinger <Petr.Salinger@seznam.cz>
|
||||
|
||||
Fix a couple of checks for the kFreeBSD kernel.
|
||||
|
||||
Index: libgtop2/sysdeps/freebsd/procmap.c
|
||||
===================================================================
|
||||
--- libgtop2.orig/sysdeps/freebsd/procmap.c 2011-07-24 21:13:56.000000000 +0200
|
||||
+++ libgtop2/sysdeps/freebsd/procmap.c 2011-09-06 14:03:04.705871157 +0200
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <sys/pipe.h>
|
||||
#include <sys/conf.h>
|
||||
#undef _KERNEL
|
||||
-#if __FreeBSD_version >= 800038
|
||||
+#if (__FreeBSD_version >= 800038) || (__FreeBSD_kernel_version >= 800038)
|
||||
#define _WANT_FILE
|
||||
#include <sys/file.h>
|
||||
#undef _WANT_FILE
|
||||
@@ -113,7 +113,7 @@
|
||||
return;
|
||||
}
|
||||
|
||||
-#if __FreeBSD_version >= 800039
|
||||
+#if (__FreeBSD_version >= 800039) || (__FreeBSD_kernel_version >= 800039)
|
||||
if (kvm_read (server->machine.kd, (gulong) cdev2priv(inode.i_dev), (char *) &priv,
|
||||
sizeof (priv))
|
||||
#else
|
||||
22
debian/patches/06_kfreebsd_sys_pipe.patch
vendored
Normal file
22
debian/patches/06_kfreebsd_sys_pipe.patch
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
Description: Don't include sys/pipe.h on kFreeBSD
|
||||
Defining _KERNEL to include sys/pipe.h subsequently breaks sys/conf.h;
|
||||
since sys/pipe.h is not meant to be used in userland, and libgtop2 builds
|
||||
anyway on kFreeBSD without it, don't include it.
|
||||
Author: Steven Chamberlain <steven@pyro.eu.org>
|
||||
Bug-Debian: http://bugs.debian.org/667984
|
||||
|
||||
Index: libgtop2-2.28.4/sysdeps/freebsd/procmap.c
|
||||
===================================================================
|
||||
--- libgtop2-2.28.4.orig/sysdeps/freebsd/procmap.c 2012-04-07 22:49:20.000000000 +0100
|
||||
+++ libgtop2-2.28.4/sysdeps/freebsd/procmap.c 2012-04-07 22:51:00.163079809 +0100
|
||||
@@ -38,10 +38,7 @@
|
||||
#include <sys/vnode.h>
|
||||
#undef _KVM_VNODE
|
||||
|
||||
-#define _KERNEL
|
||||
-#include <sys/pipe.h>
|
||||
#include <sys/conf.h>
|
||||
-#undef _KERNEL
|
||||
#if (__FreeBSD_version >= 800038) || (__FreeBSD_kernel_version >= 800038)
|
||||
#define _WANT_FILE
|
||||
#include <sys/file.h>
|
||||
32
debian/patches/99_ltmain_as-needed.patch
vendored
Normal file
32
debian/patches/99_ltmain_as-needed.patch
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
Index: libgtop2/ltmain.sh
|
||||
===================================================================
|
||||
--- libgtop2.orig/ltmain.sh 2011-08-30 13:25:39.000000000 +0200
|
||||
+++ libgtop2/ltmain.sh 2011-09-06 14:12:45.695875002 +0200
|
||||
@@ -5787,6 +5787,11 @@
|
||||
arg=$func_stripname_result
|
||||
;;
|
||||
|
||||
+ -Wl,--as-needed)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ continue
|
||||
+ ;;
|
||||
+
|
||||
-Wl,*)
|
||||
func_stripname '-Wl,' '' "$arg"
|
||||
args=$func_stripname_result
|
||||
@@ -6150,6 +6155,15 @@
|
||||
lib=
|
||||
found=no
|
||||
case $deplib in
|
||||
+ -Wl,--as-needed)
|
||||
+ if test "$linkmode,$pass" = "prog,link"; then
|
||||
+ compile_deplibs="$deplib $compile_deplibs"
|
||||
+ finalize_deplibs="$deplib $finalize_deplibs"
|
||||
+ else
|
||||
+ deplibs="$deplib $deplibs"
|
||||
+ fi
|
||||
+ continue
|
||||
+ ;;
|
||||
-mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
|
||||
if test "$linkmode,$pass" = "prog,link"; then
|
||||
compile_deplibs="$deplib $compile_deplibs"
|
||||
7
debian/patches/series
vendored
Normal file
7
debian/patches/series
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
01_kfreebsd_kvm_libs.patch
|
||||
02_hurd_stub_backend.patch
|
||||
03_kfreebsd_installdirs.patch
|
||||
04_kfreebsd_version_check.patch
|
||||
05_kfreebsd_8.0.patch
|
||||
06_kfreebsd_sys_pipe.patch
|
||||
99_ltmain_as-needed.patch
|
||||
20
debian/rules
vendored
20
debian/rules
vendored
@@ -1,17 +1,27 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
||||
include /usr/share/cdbs/1/rules/utils.mk
|
||||
include /usr/share/cdbs/1/class/gnome.mk
|
||||
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
|
||||
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
|
||||
include /usr/share/cdbs/1/rules/autoreconf.mk
|
||||
|
||||
GNOME_MODULE := libgtop
|
||||
|
||||
DEB_DH_MAKESHLIBS_ARGS_ALL += -V 'libgtop2-7 (>= 2.14.2)'
|
||||
SHARED_PKG := libgtop2-7
|
||||
|
||||
ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
|
||||
DEB_DH_GENCONTROL_ARGS += -- -Vlibkvm-dev=libkvm-dev
|
||||
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
|
||||
DEB_DH_MAKESHLIBS_ARGS_ALL += -V '$(SHARED_PKG) (>= 2.24.0)'
|
||||
|
||||
DEB_CONFIGURE_EXTRA_FLAGS += --libexecdir=/usr/lib/$(SHARED_PKG)
|
||||
|
||||
DEB_FIXPERMS_EXCLUDE += libgtop_server2
|
||||
|
||||
ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
|
||||
install/$(SHARED_PKG)::
|
||||
# The server is only necessary on kFreeBSD
|
||||
dh_install --autodest -p$(SHARED_PKG) \
|
||||
--ignore=debian/$(SHARED_PKG).install \
|
||||
debian/tmp/usr/lib/*/libgtop_server2
|
||||
endif
|
||||
|
||||
|
||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
||||
7
debian/watch
vendored
7
debian/watch
vendored
@@ -1,4 +1,3 @@
|
||||
version=2
|
||||
http://ftp.gnome.org/pub/GNOME/sources/libgtop/([\d\.]+)[02468]/ \
|
||||
libgtop-(.*)\.tar\.gz \
|
||||
debian uupdate
|
||||
version=3
|
||||
http://ftp.gnome.org/pub/GNOME/sources/libgtop/([\d\.]+[02468])/ \
|
||||
libgtop-(.*)\.tar\.xz
|
||||
|
||||
Reference in New Issue
Block a user