debian/0000755000000000000000000000000012377671502007200 5ustar debian/watch0000644000000000000000000000011312363272320010212 0ustar version=3 http://savannah.nongnu.org/download/gap/TimeMon-([\d\.]*).tar.gz debian/TimeMon.desktop0000644000000000000000000000061212363272320012130 0ustar [Desktop Entry] Type=Application Categories=System;Monitor; Name=TimeMon Comment=CPU time usage monitor for GNUstep Comment[bg]=Монитор за натоварването на процесора за GNUstep Keywords=cpu;monitoring;load; Keywords[bg]=процесор;следене;натоварване; Icon=/usr/lib/GNUstep/Applications/TimeMon.app/Resources/TimeMon.tiff Exec=TimeMon debian/rules0000755000000000000000000000151712363272320010252 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/GNUstep/debian/config.mk d_app := $(CURDIR)/debian/timemon.app export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-undefined -Wl,--as-needed ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) optim := debug=yes endif %: dh $@ override_dh_auto_build: $(MAKE) $(optim) messages=yes $(shell dpkg-buildflags --export=cmdline) convert TimeMon.tiff -resize 32x32 TimeMon.xpm override_dh_clean: $(RM) -r shared_obj dh_clean TimeMon.xpm override_dh_link: dh_gnustep dh_installdirs usr/share/GNUstep rm $(d_app)$(GNUSTEP_SYSTEM_APPS)/*.app/Resources/*.desktop mv $(d_app)$(GNUSTEP_SYSTEM_APPS)/TimeMon.app/Resources \ $(d_app)/usr/share/GNUstep/TimeMon.app dh_link /usr/share/GNUstep/TimeMon.app \ $(GNUSTEP_SYSTEM_APPS)/TimeMon.app/Resources debian/install0000644000000000000000000000011712363272320010556 0ustar debian/TimeMon.desktop usr/share/applications TimeMon.xpm usr/share/pixmaps debian/menu0000644000000000000000000000032412363272320010054 0ustar ?package(timemon.app):needs="X11" section="Applications/System/Monitoring"\ title="TimeMon" command="/usr/bin/TimeMon"\ longtitle="CPU time usage monitor for GNUstep"\ icon="/usr/share/pixmaps/TimeMon.xpm" debian/copyright0000644000000000000000000000224312363272320011122 0ustar This package was debianized by: Gürkan Sengün on Mon, 24 Jan 2005 21:25:54 +0100. It was downloaded from: http://www.nongnu.org/gap/ http://www.doubleu.com/TimeMon.html Upstream Authors: Gregory John Casamento Alexander Malmberg Riccardo Mottola Scott Hess (Original Author) Copyright: Copyright (C) 2004-2008 Gergory John Casamento Copyright (C) 2004-2008 Alexander Malmberg Copyright (C) 2005-2008 Riccardo Mottola Copyright (C) 1991, 1994, 1997 Scott Hess License: Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that this copyright notice appear in all copies. Scott Hess makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. The Debian packaging is: Copyright (C) 2005-2009, Gürkan Sengün and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/preinst0000644000000000000000000000062012363272320010573 0ustar #!/bin/sh # Handle the move of arch-independent Resources to /usr/share as dpkg # will not replace a real directory with a symlink. # FIXME: Remove during the jessie+1 cycle. set -e set -u RESDIR=/usr/lib/GNUstep/Applications/TimeMon.app/Resources if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then if [ -d $RESDIR ] && [ ! -L $RESDIR ]; then rm -rf $RESDIR fi fi #DEBHELPER# exit 0 debian/docs0000644000000000000000000000003612363272320010040 0ustar README.INSTALL.rtf README.rtf debian/source/0000755000000000000000000000000012363272320010466 5ustar debian/source/format0000644000000000000000000000001412363272320011674 0ustar 3.0 (quilt) debian/source/lintian-overrides0000644000000000000000000000031712363272320014050 0ustar # The original upstream tarball mistakenly contains object files. # The source files are the same that are used to build the binary package. source: source-is-missing source: source-contains-prebuilt-binary debian/patches/0000755000000000000000000000000012363275712010625 5ustar debian/patches/hurd.patch0000644000000000000000000000053112363272320012577 0ustar Description: Attempt to fix the build on GNU/Hurd. Author: Yavor Doganov Forwarded: no Last-Update: 2014-07-15 --- --- timemon.app.orig/loadave.c +++ timemon.app/loadave.c @@ -7,7 +7,7 @@ return la_read(times); } -#if defined( linux ) +#if defined( linux ) || defined(__GNU__) int la_read(unsigned long long *times) { debian/patches/series0000644000000000000000000000005112363272320012026 0ustar hurd.patch kfreebsd.patch gui-0.24.patch debian/patches/gui-0.24.patch0000644000000000000000000000611712363272320013010 0ustar Description: Adapt to new GNUstep API (gnustep-gui/0.24). Origin: upstream, commit: 2228 Bug-Debian: http://bugs.debian.org/749802 Last-Update: 2014-06-21 --- --- timemon.app.orig/NSColorExtensions.m +++ timemon.app/NSColorExtensions.m @@ -6,7 +6,7 @@ @implementation NSColor (GetColorsFromString) + (NSColor *)colorFromStringRepresentation:(NSString *)colorString { - float r, g, b, a; + CGFloat r, g, b, a; NSArray *array = [colorString componentsSeparatedByString:@" "]; if (!array) @@ -31,7 +31,7 @@ - (NSString *)stringRepresentation { - float r, g, b, a; + CGFloat r, g, b, a; [[self colorUsingColorSpaceName:NSCalibratedRGBColorSpace] getRed:&r green:&g blue:&b alpha:&a]; return [NSString stringWithFormat:@"%f %f %f %f",r,g,b,a]; --- timemon.app.orig/Percentages.h +++ timemon.app/Percentages.h @@ -50,7 +50,7 @@ // Hook into initialization process of app. - (void)applicationDidFinishLaunching:(NSNotification *)notification; // Pull out timed entries and stuff. -- (BOOL)applicationShouldTerminate:(id)sender; +- (NSApplicationTerminateReply)applicationShouldTerminate:(id)sender; - (void)display; @end --- timemon.app.orig/Percentages.m +++ timemon.app/Percentages.m @@ -330,7 +330,7 @@ } } -- (BOOL)applicationShouldTerminate:(id)sender +- (NSApplicationTerminateReply)applicationShouldTerminate:(id)sender { // If te is installed, remove it. if (te) @@ -340,7 +340,7 @@ } // [stipple release]; la_finish(); - return YES; + return NSTerminateNow; } - (void)display --- timemon.app.orig/TimeMonColors.m +++ timemon.app/TimeMonColors.m @@ -94,7 +94,7 @@ - (void)mouseDown:(NSEvent *)e { NSPoint loc = [e locationInWindow]; - int row, col; + NSInteger row, col; NSColor * color; // Find the color of the cell the click is in. @@ -129,7 +129,7 @@ } } -- (unsigned int)draggingEntered:(id )sender +- (NSDragOperation)draggingEntered:(id )sender { NSPasteboard *pboard; @@ -141,14 +141,14 @@ return NSDragOperationNone; } -- (unsigned int)draggingSourceOperationMaskForLocal: (BOOL)isLocal +- (NSDragOperation)draggingSourceOperationMaskForLocal: (BOOL)isLocal { return NSDragOperationGeneric; } - (BOOL)performDragOperation:(id )sender { - int row, col; + NSInteger row, col; NSPoint loc = [sender draggingLocation]; NSTextFieldCell *tCell; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; @@ -186,7 +186,7 @@ } else { - float gray, alpha; + CGFloat gray, alpha; NSString *key = [NSString stringWithFormat:@"%@Gray",titles[col]]; [[color colorUsingColorSpaceName:NSCalibratedWhiteColorSpace] getWhite:&gray alpha:&alpha]; [defaults setFloat:gray forKey:key]; @@ -207,8 +207,8 @@ // so that it's visible against the background. - (void)setColor:(NSColor *)color { - float gray; - float r, g, b; + CGFloat gray; + CGFloat r, g, b; // Remove any alpha component. color = [color colorWithAlphaComponent:1.0]; debian/patches/kfreebsd.patch0000644000000000000000000000070612363272320013426 0ustar Description: Fix FTBFS on GNU/kFreeBSD. Author: Yavor Doganov Bug-Debian: http://bugs.debian.org/541078 Forwarded: no Last-Update: 2009-08-11 --- --- timemon.app-4.1.orig/loadave.c +++ timemon.app-4.1/loadave.c @@ -31,7 +31,7 @@ int la_read(unsigned long long *times) return LA_NOERR; } -#elif defined( __FreeBSD__ ) +#elif defined( __FreeBSD__ ) || defined( __FreeBSD_kernel__ ) #include #include debian/compat0000644000000000000000000000000212363272320010364 0ustar 9 debian/control0000644000000000000000000000163212363272320010573 0ustar Source: timemon.app Section: gnustep Priority: optional Maintainer: Debian GNUstep maintainers Uploaders: Gürkan Sengün , Yavor Doganov Build-Depends: debhelper (>= 9), libgnustep-gui-dev, gnustep-make (>= 2.6.6-2), imagemagick Homepage: http://www.nongnu.org/gap/timemon/index.html Vcs-Git: git://anonscm.debian.org/pkg-gnustep/timemon.app.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-gnustep/timemon.app.git Standards-Version: 3.9.5 Package: timemon.app Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${gnustep:Depends} Description: CPU time usage monitor for GNUstep TimeMon gives a graphical representation of where the CPU cycles are going. It's coarse, but better than nothing. The best feature is that it runs in an icon on your dock, so that you never lose it. debian/changelog0000644000000000000000000000620012377671502011050 0ustar timemon.app (4.1-3build1) utopic; urgency=medium * Rebuild against libgnustep-gui0.24. -- Colin Watson Thu, 28 Aug 2014 11:21:54 -0700 timemon.app (4.1-3) unstable; urgency=medium * debian/control (Maintainer): Make the GNUstep team maintainer. (Uploaders): Add myself. (Build-Depends): Bump debhelper to >= 9 and gnustep-make to >= 2.6.6-2; remove ancient version requirement for libgnustep-gui-dev. Add imagemagick. (Depends): Add ${misc:Depends} and ${gnustep:Depends}. (Vcs-Git, Vcs-Browser): New fields. (Standards-Version): Compliant with 3.9.5 as of this release. * debian/source/format: Switch to 3.0 (quilt). * loadave.c: Move local source modification to... * debian/patches/kfreebsd.patch: ...a patch. * debian/patches/hurd.patch: New, treat GNU/Hurd as GNU/Linux since it has /proc/stat these days. * debian/patches/gui-0.24.patch: New, adapt to the new GNUstep API (Closes: #749802). * debian/patches/series: Create. * debian/compat: Set to 9. * debian/rules: Rewrite for modern dh. Enable hardening and verbose build. Move Resources to /usr/share/GNUstep. Generate XPM icon. * debian/install: * debian/preinst: * debian/watch: New file. * debian/dirs: * debian/lintian-override: Delete. * debian/menu: Add longtitle and icon fields. * debian/TimeMon.desktop: Make it valid, add Comment and Keywords fields. Use the correct icon. -- Yavor Doganov Wed, 16 Jul 2014 00:15:05 +0300 timemon.app (4.1-2) unstable; urgency=low * Apply patch to fix FTBFS on kfreebsd, thanks Yavor Doganov for the patch. (Closes: #541078) * Update section to gnustep. * Bump standards version. * Updated debian/copyright. -- Gürkan Sengün Wed, 02 Sep 2009 08:59:12 +0200 timemon.app (4.1-1) unstable; urgency=low * New upstream version. * Added comaintainer. * Bump standards version. * Update debhelper version. * Updated debian/copyright. -- Gürkan Sengün Tue, 08 Jul 2008 12:24:54 +0200 timemon.app (4.0.0-4) experimental; urgency=low * GNUstep transition. * Update my email address. * Moved homepage field. -- Gürkan Sengün Wed, 09 Apr 2008 21:50:47 +0200 timemon.app (4.0.0-3) unstable; urgency=low * GNUstep transition. + Updated debian/rules. + Updated debian/dirs. * Menu transition: Moved from Apps/System to Applications/System/Monitoring. * Added a desktop file. -- Gürkan Sengün Thu, 04 Oct 2007 11:05:27 +0200 timemon.app (4.0.0-2) unstable; urgency=low * Recompile against libgnustep-gui-dev. * Bump standards version. -- Gürkan Sengün Thu, 14 Sep 2006 20:18:06 +0200 timemon.app (4.0.0-1) unstable; urgency=low * New upstream release. * Bump standards version. * Update manual page. * Update for latest libgnustep-gui. -- Gürkan Sengün Sat, 21 Jan 2006 11:52:52 +0100 timemon.app (4.0-1) unstable; urgency=low * Initial Release. (Closes: #291918) -- Gürkan Sengün Mon, 24 Jan 2005 21:25:54 +0100 debian/TimeMon.10000644000000000000000000000111412363272320010615 0ustar .TH TIMEMON 1 "January 24, 2005" .SH NAME TimeMon \- CPU time usage monitor .SH SYNOPSIS .B TimeMon .SH DESCRIPTION This manual page documents briefly the .B TimeMon command. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP \fBTimeMon\fP gives a graphical representation of where the CPU cycles are going. It's coarse, but better than nothing. .SH SEE ALSO .BR GNUstep (7). .br .SH AUTHOR This manual page was written by G\[:u]rkan Seng\[:u]n , for the Debian project (but may be used by others). debian/manpages0000644000000000000000000000002112363272320010675 0ustar debian/TimeMon.1