debian/0000755000000000000000000000000012203070327007162 5ustar debian/seetxt.desktop0000644000000000000000000000031612203070327012071 0ustar [Desktop Entry] Type=Application Name=Seetxt Icon= Exec=seetxt %f Terminal=false Categories=Utility;TextTools;Viewer Keywords=file;text;man;bookmark;regexp Comment=Lightweight text file and man page viewer debian/watch0000644000000000000000000000030612203070327010212 0ustar version=3 # Old # http://www.intergate.com/~halfcountplus/see see-(.+)\.tar\.bz2 # New 2010-11-17 # http://sf.net/see/see-(.+)\.tar\.bz2 http://seetxt.sourceforge.net/src/ .*seetxt-(.+)\.tar\.bz2 debian/rules0000755000000000000000000000153212203070327010243 0ustar #!/usr/bin/make -f PACKAGE = seetxt export DEB_BUILD_MAINT_OPTIONS = hardening=+all export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -D_FILE_OFFSET_BITS=64 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed include debian/debian-save-restore.mk FILE_LIST_PRESERVE = configure config.h.in override_dh_clean: $(file-state-save) dh_clean # Build system: overwrites this with a symlink rm -f seeman.1 rm -f debian/*.log override_dh_auto_test: # Skip. Nothing to do. override_dh_auto_build: dh_auto_build $(file-state-restore-copy) override_dh_auto_configure: # See Bug#660858. For some reason in some archs configure fails # without this. dh_auto_configure -- -srcdir=. override_dh_auto_install: dh_auto_install install -D -m 644 debian/seetxt.desktop \ debian/$(PACKAGE)/usr/share/applications/seetxt.desktop %: dh $@ # End of file debian/changelog0000644000000000000000000001164712203070327011045 0ustar see (0.72-5) unstable; urgency=low * debian/control - (Standards-Version): Update to 3.9.4. - (Vcs-*): Update to anonscm.debian.org. * debian/copyright - Update years. - (Upstream-Name): Correct name. * debian/debian-save-restore.mk - Minor updates. * debian/rules - (override_dh_auto_install): New. * debian/seetxt.desktop - New. Thanks to Gordon Farquharson . (Closes: #719727). -- Jari Aalto Thu, 15 Aug 2013 09:10:05 +0300 see (0.72-4) unstable; urgency=low * debian/control - (Build-Depends): Rm dpkg-dev; not needed with debhelper 9. - (Standards-Version): Update to 3.9.3.1. * debian/copyright - Update to format 1.0. * debian/debian-save-restore.mk - Minor update. * debian/rules - Enable all hardening flags. - Use DEB_*_MAINT_* variables. -- Jari Aalto Fri, 23 Mar 2012 15:24:26 -0400 see (0.72-3) unstable; urgency=low * debian/debian-save-restore.mk - Minor updates in file name handling. * debian/rules - (override_dh_auto_configure): New. Pass -srcdir=. (FTBFS; Closes: #660858) * debian/patches - (20): Add headers. -- Jari Aalto Wed, 22 Feb 2012 11:45:51 -0500 see (0.72-2) unstable; urgency=low * debian/compat - Update to 9 * debian/control - (Build-Depends): update to debhelper 9, dpkg-dev 1.16.1. * debian/patches - (20): New. Fix typo. * debian/rules - Use hardened CFLAGS. http://wiki.debian.org/ReleaseGoals/SecurityHardeningBuildFlags [tony mancill] * Add Vcs-* fields to d/control. -- Jari Aalto Tue, 14 Feb 2012 15:49:25 -0500 see (0.72-1) unstable; urgency=low * New upstream release. * debian/control - (Standards-Version): Update to 3.9.2. * debian/copyright - Update to DEP 5. * debian/manpages - Rename from debian/seetxt.manpages. * debian/patches - (10): New. Arrange LDFLAGS to work with "ld --as-needed". Patch thanks to Ubuntu Matthias Klose (FTBFS; LP: #832835; Closes: #641569). * debian/{postinst,postrm} - Delete; unused. * debian/rules - (override_dh_auto_install): Delete; obsoleted by new upstream release. - (override_dh_clean): New. * debian/seetxt.dirs - Delete; obsoleted by new upstream release. -- Jari Aalto Sun, 18 Sep 2011 10:42:25 +0300 see (0.70-1) unstable; urgency=low * New upstream release * debian/control - (Homepage): Update URL. * debian/copyright - Update URLs. * debian/patches - Remove. Accepted upstream. -- Jari Aalto Fri, 19 Nov 2010 00:28:24 +0200 see (0.61-5) unstable; urgency=low * debian/compat - Update to 8. * debian/control - (Build-Depends): update to debhelper 8. - (Standards-Version): 3.9.1. * debian/patches - (10): Refresh patch. Fix typos "adminstrator" and "commmand". Patch thanks to A. Costa (Closes: #588565). * debian/rules - Clean up unnecessary targets. - (override_dh_auto_install): New. -- Jari Aalto Tue, 12 Oct 2010 22:02:51 +0300 see (0.61-4) unstable; urgency=low * New maintainer (Closes: #554129). - Move to packaging format "3.0 (quilt)". * debian/compat - Update to 7. * debian/control - (Build-Depends): update to debhelper 7.1 - (Homepage): update URL to Freshmeat. - (Standards-Version): update to 3.8.4 * debian/copyright - update layout. * debian/seetxt.manpages - New file. * debian/patches - (Number 10): Fix manual page. - (Number 20): Fix spelling. * debian/source/format - New file. * debian/rules - Update to dh(1). -- Jari Aalto Sun, 14 Mar 2010 22:09:51 +0200 see (0.61-3) unstable; urgency=low * Retiring - set the package maintainer to Debian QA Group. -- Joop Stakenborg Tue, 03 Nov 2009 07:02:46 +0000 see (0.61-2) unstable; urgency=low * Correct the homepage in debian/control. * Correct the manpage and the distributed .seeconfig to use "no confirm:", with a colon at the end as suggested by upstream. -- Joop Stakenborg Thu, 13 Aug 2009 19:20:07 +0200 see (0.61-1) unstable; urgency=low * New upstream. * Version 0.6 got rejected, so fix the following: * Rename the package to seetxt. * Fix file permissions for /usr/share/seetxt-runtime/filelist. * Version 0.61 got rejected, fix the following: * Added GFDL statement to debian/copyright. The seetxt manual page is published under the GFDL. * Another rejection because the GFDL was not referenced in debian/copyright. Fixed that. * New upload to unstable. Closes: #516351. -- Joop Stakenborg Tue, 23 Jun 2009 11:01:21 +0200 see (0.6-1) unstable; urgency=low * Initial release. -- Joop Stakenborg Tue, 24 Mar 2009 19:44:40 +0100 debian/menu0000644000000000000000000000015012203070327010045 0ustar ?package(seetxt):needs="X11" section="Applications/Viewers"\ title="seetxt" command="/usr/bin/seetxt" debian/patches/0000755000000000000000000000000012203070327010611 5ustar debian/patches/20-typo.patch0000644000000000000000000000063512203070327013050 0ustar From: Jari Aalto Subject: Fix typo in word received --- a/src/server.c +++ b/src/server.c @@ -236,7 +236,7 @@ getMsg(server,buffer,TRANS_MAX); // g_io_channel_read_chars(gio,buffer,TRANS_MAX,NULL,NULL); - if (Debug>0) g_print("recieved \"%s\"\n",buffer); + if (Debug>0) g_print("received \"%s\"\n",buffer); if (!(tok=strtok(buffer," "))) return TRUE; if (!strcmp(tok,"LOAD")) { debian/patches/10-ldflags.patch0000644000000000000000000000332412203070327013466 0ustar From 92b3ec2333d91e70cebc4ad5086c15c354d6a8f9 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Fri, 16 Sep 2011 20:37:40 +0300 Subject: [PATCH] src/Makefile.*: arrange LDFLAGS to work with: ld --as-needed Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- src/Makefile.am | 2 +- src/Makefile.in | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 2c8a24d..af65d17 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ bin_PROGRAMS = seetxt seetxt_CFLAGS = -D SDIR=\"$(datadir)/seetxt-runtime\" -seetxt_LDFLAGS = `pkg-config --libs gtk+-2.0` -lpthread +seetxt_LDADD = `pkg-config --libs gtk+-2.0` -lpthread INCLUDES = `pkg-config --cflags gtk+-2.0` seetxt_SOURCES = see.c server.c util.c diff --git a/src/Makefile.in b/src/Makefile.in index 5aa6a6a..6749299 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -46,7 +46,6 @@ PROGRAMS = $(bin_PROGRAMS) am_seetxt_OBJECTS = seetxt-see.$(OBJEXT) seetxt-server.$(OBJEXT) \ seetxt-util.$(OBJEXT) seetxt_OBJECTS = $(am_seetxt_OBJECTS) -seetxt_LDADD = $(LDADD) seetxt_LINK = $(CCLD) $(seetxt_CFLAGS) $(CFLAGS) $(seetxt_LDFLAGS) \ $(LDFLAGS) -o $@ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) @@ -148,7 +147,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ seetxt_CFLAGS = -D SDIR=\"$(datadir)/seetxt-runtime\" -seetxt_LDFLAGS = `pkg-config --libs gtk+-2.0` -lpthread +seetxt_LDADD = `pkg-config --libs gtk+-2.0` -lpthread INCLUDES = `pkg-config --cflags gtk+-2.0` seetxt_SOURCES = see.c server.c util.c all: all-am -- 1.7.5.4 debian/patches/series0000644000000000000000000000003712203070327012026 0ustar 20-typo.patch 10-ldflags.patch debian/docs0000644000000000000000000000001512203070327010031 0ustar NEWS README* debian/links0000644000000000000000000000013412203070327010223 0ustar usr/bin/seetxt usr/bin/seeman usr/share/man/man1/seetxt.1.gz usr/share/man/man1/seeman.1.gz debian/debian-save-restore.mk0000644000000000000000000000466712203070327013367 0ustar # debian-save-restore.mk -- Save and restore original files # # Copyright # # Copyright (C) 2008-2012 Jari Aalto # # License # # 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 2 of the License, or # (at your option) any later version. # # This program 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 . # # Description # # This is GNU makefile part, that defines common variables, # targets and macros to be used from debian/rules. # # Usage (format 3.0) # # PACKAGE = foo # FILE_LIST_PRESERVE = # # override_dh_clean: # $(file-state-save) # dh_clean # $(file-state-restore-copy) # # Alternative usage, in case more file updates happens during configure etc. # # override_dh_auto_configure: # $(file-state-save) # # # override_dh_install: # dh_install # $(config-restore) # $(file-state-restore) # # binary-arch: # $(file-state-restore) # ... ifdef PACKAGE prefix := $(PACKAGE). endif define file-state-save # save files suffix=.original; \ for file in $(FILE_LIST_PRESERVE); \ do \ backup=/tmp/$(prefix)$$(echo $$file | sed 's,/,%,g')$$suffix; \ [ ! -f "$$file" ] || cp --archive --verbose "$$file" "$$backup"; \ done endef define file-state-restore-copy # restore files suffix=.original; \ for file in $(FILE_LIST_PRESERVE); \ do \ backup=/tmp/$(prefix)$$(echo $$file | sed 's,/,%,g')$$suffix; \ if [ -f "$$backup" ]; then \ dir=$$(dirname "$$file"); \ if [ "$$dir" != "." ]; then \ mkdir -p "$$dir"; \ fi; \ cp --archive --verbose "$$backup" "$$file"; \ fi; \ done endef define file-state-restore # restore files suffix=.original; \ for file in $(FILE_LIST_PRESERVE); \ do \ backup=/tmp/$(prefix)$$(echo $$file | sed 's,/,%,g')$$suffix; \ if [ -f "$$backup" ]; then \ dir=$$(dirname "$$file"); \ if [ "$$dir" != "." ]; then \ mkdir -p "$$dir"; \ fi; \ cp --archive --verbose "$$backup" "$$file"; \ rm "$$backup"; \ fi; \ done endef # End of file debian/source/0000755000000000000000000000000012203070327010462 5ustar debian/source/format0000644000000000000000000000001412203070327011670 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212203070327010360 0ustar 9 debian/copyright0000644000000000000000000000340712203070327011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: see Upstream-Contact: Mark Eriksen , Source: http://freshmeat.net/projects/seetxt Comment: http://www.sourceforge.net/projects/seetxt http://www.intergate.com/~halfcountplus/see Files: * Copyright: 2008-2011 Mark Eriksen License: GPL-3+ Files: seetxt.1 Copyright: 2008-2011 Mark Eriksen License: GFDL-1.3+ Files: debian/* Copyright: 2010,2011,2013 Jari Aalto 2009 Joop Stakenborg License: GPL-3+ License: GFDL-1.3+ [from the manual page, seetxt.1] . Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation (http://www.gnu.org/licenses/fdl.html). . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GFDL-1.3". License: GPL-3+ 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 . . On Debian systems, the complete text of the GNU General Public License can be found in "/usr/share/common-licenses/GPL-3". debian/manpages0000644000000000000000000000001712203070327010676 0ustar extra/seetxt.1 debian/control0000644000000000000000000000200212203070327010557 0ustar Source: see Section: text Priority: extra Maintainer: Jari Aalto Build-Depends: debhelper (>= 9), autotools-dev, libgtk2.0-dev Standards-Version: 3.9.4 Homepage: http://freshmeat.net/projects/seetxt Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/see.git Vcs-Git: git://anonscm.debian.org/collab-maint/see.git Package: seetxt Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: lightweight text file and man page viewer See is a lightweight Linux text file and man page viewer. It maintains "document meta-data" for each user, allowing them to automatically keep bookmarks and highlights for read-only system files. It also has a "server mode" so that command line requests can be sent to a single running server rather than starting multiple instances. Other features include hypertext-style apropos (man page) searches, file monitoring, regular expressions, command history, and nice little toggle lights on the interface for the server and file monitor.