debian/0000755000000000000000000000000012256167251007175 5ustar debian/README.source0000644000000000000000000000036312253443311011345 0ustar This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. See /usr/share/doc/quilt/README.source for a detailed explanation. debian/compat0000644000000000000000000000000212256156765010403 0ustar 9 debian/copyright0000644000000000000000000000106612256155735011137 0ustar This is a Debian prepackaged version of the Term::Slang library. This package was put together by Joey Hess , using sources from CPAN, http://cpan.org/authors/id/D/DA/DANIEL/ Term::Slang is copyright 1998-2000 by Daniel Sully , and has the following copyright notice: This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. (Those terms are either of the Artistic license or the GPL; both licenses can be found in full in /usr/share/common-licenses/) debian/patches/0000755000000000000000000000000012256154535010625 5ustar debian/patches/series0000644000000000000000000000004512256154264012040 0ustar remaining-changes.patch slang2.patch debian/patches/slang2.patch0000644000000000000000000000264612253443311013032 0ustar Author: Joey Hess Description: Update to slang2 --- a/Slang.xs +++ b/Slang.xs @@ -140,7 +140,8 @@ void SLsmg_reset_smg() unsigned short -SLsmg_char_at() +SLsmg_char_at(c) + SLsmg_Char_Type *c; void SLsmg_set_screen_start(r,c) @@ -182,17 +183,17 @@ SLsmg_forward(p1) void SLsmg_write_color_chars(us1,ui1) - unsigned short &us1; + SLsmg_Char_Type *us1; unsigned int ui1; unsigned int SLsmg_read_raw(us1,ui1) - unsigned short &us1; + SLsmg_Char_Type *us1; unsigned int ui1; unsigned int SLsmg_write_raw(us1,ui1) - unsigned short &us1; + SLsmg_Char_Type *us1; unsigned int ui1; void @@ -496,9 +497,11 @@ SLscroll_pagedown(scroll) ################################ # Readline -SLang_Read_Line_Type* -SLang_rline_save_line(rline) - SLang_RLine_Info_Type *rline; +#if 0 + +int +SLrline_save_line(rline) + SLrline_Type *rline; int SLang_init_readline(rline) @@ -516,6 +519,8 @@ void SLrline_redraw(rline) SLang_RLine_Info_Type *rline; +#endif + ################################ # Signals @@ -599,8 +604,8 @@ SLtt_reverse_index(i1) void SLtt_smart_puts(us1,us2,i1,i2) - unsigned short *us1; - unsigned short *us2; + SLsmg_Char_Type *us1; + SLsmg_Char_Type *us2; int i1; int i2; --- a/typemap +++ b/typemap @@ -1,6 +1,8 @@ TYPEMAP SLsmg_Term_Type * T_PTROBJ +SLsmg_Char_Type * T_PTROBJ +SLrline_Type * T_PTROBJ Scroll_Line_Type * O_OBJECT SLscroll_Window_Type * T_PTROBJ debian/patches/remaining-changes.patch0000644000000000000000000000242312256154355015226 0ustar Description: Remaining changes from non-source-format-3.0 package --- libterm-slang-perl-0.07.orig/Slang.pm +++ libterm-slang-perl-0.07/Slang.pm @@ -1,6 +1,6 @@ package Term::Slang; -# $Id: Slang.pm,v 1.9 2000/04/16 21:04:25 daniel Exp $ +# $Id: Slang.pm,v 1.10 2000/04/17 22:46:08 daniel Exp $ use strict; use Exporter; @@ -49,6 +49,7 @@ $VERSION = '0.07'; SLtt_reset_video SLtt_reverse_index SLtt_reverse_video SLtt_set_color SLtt_set_cursor_visibility SLtt_set_mouse_mode SLtt_set_scroll_region SLtt_smart_puts SLtt_write_string SLtt_set_mono SLtty_set_suspend_state + SLtt_set_screen_size SLANG_GETKEY_ERROR SLANG_VERSION SLSMG_CKBRD_CHAR SLSMG_COLOR_BLACK SLSMG_COLOR_BLUE SLSMG_COLOR_BRIGHT_BLUE SLSMG_COLOR_BRIGHT_BROWN --- libterm-slang-perl-0.07.orig/Slang.xs +++ libterm-slang-perl-0.07/Slang.xs @@ -1,5 +1,5 @@ -/* $Id: Slang.xs,v 1.9 2000/04/16 20:56:51 daniel Exp $ */ +/* $Id: Slang.xs,v 1.10 2000/04/17 22:46:08 daniel Exp $ */ #ifdef __cplusplus "C" { @@ -635,6 +635,14 @@ SLtt_get_screen_size() PUSHs(sv_2mortal(newSViv(SLtt_Screen_Rows))); PUSHs(sv_2mortal(newSViv(SLtt_Screen_Cols))); +void +SLtt_set_screen_size(r, c) + int r; + int c; + CODE: + SLtt_Screen_Rows = r; + SLtt_Screen_Cols = c; + int SLtt_set_cursor_visibility(i1) int i1; debian/watch0000644000000000000000000000013112256153014010211 0ustar version=3 https://metacpan.org/release/Term-Slang .*/Term-Slang-([[:digit:]].*)\.tar\.gz debian/source/0000755000000000000000000000000012256153240010466 5ustar debian/source/format0000644000000000000000000000001412256153240011674 0ustar 3.0 (quilt) debian/docs0000644000000000000000000000000512256160141010032 0ustar TODO debian/examples0000644000000000000000000000000712256160160010723 0ustar demo/* debian/rules0000755000000000000000000000027712256167034010262 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS=hardening=-format %: dh $@ override_dh_compress: dh_compress -Xexamples debian/control0000644000000000000000000000137112256167111010575 0ustar Source: libterm-slang-perl Maintainer: Debian Perl Group Uploaders: Axel Beckert Section: perl Priority: optional Build-Depends: libslang2-dev, debhelper (>= 9.20120312~), perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libterm-slang-perl.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libterm-slang-perl.git Homepage: https://metacpan.org/release/Term-Slang Package: libterm-slang-perl Architecture: any Depends: ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends} Description: Perl interface to the S-Lang terminal library Term::Slang is a Perl interface to the S-Lang terminal library. debian/changelog0000644000000000000000000001614412256167151011054 0ustar libterm-slang-perl (0.07-12) unstable; urgency=low [ gregor herrmann ] * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * Use dist-based URL in debian/watch. * Set debhelper compatibility level to 5. * debian/rules: - don't install empty /usr/share/perl5 directory - remove unneeded call to dh_link * debian/rules: delete /usr/share/perl5 only if it exists. * Revert some changes to upstream code that were caused by an accidentally set svn:keywords property. * Split remaining changes out into slang2.patch; add quilt framework. * Set Standards-Version to 3.7.3 (no changes). * Remove build dependency on historic dpkg-dev version. * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Joey Hess ] * Removed myself from uploaders field [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * debian/control: update {versioned,alternative} (build) dependencies. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * Switch to source format "3.0 (quilt)" + Remove quilt traces from debian/rules and quilt build-dependency + Put remaining not-yet-quiltified patches into their own patch * Fix pkg-perl lintian warning arch-any-package-needs-newer-debhelper * Add copyright years to debian/copyright to fix lintian warning copyright-without-copyright-notice. Also add upstream's last name. * Fine-tune short and long description a little bit. * Bump debhelper compatibility to 9 * Revamp debian/rules + Fix lintian warning debian-rules-missing-recommended-target + Replace "dh_clean -k" with "dh_prep" + Remove obsolete dh_{clean,installchangelogs} parameters + Move dh_install{docs,examples} parameters to debian/{docs,examples} + Use dh_auto_{configure,build,test,install,clean} - Disable "format" hardening for now, c.f. #661546 - Fixes lintian warning hardening-no-fortify-functions + Remove obsolete /usr/share/perl5 handling + Remove obsolete variable usage + Finally switch to a minimal dh-style debian/rules file * Bump Standards-Version to 3.9.5 (no further changes) * Do not compress example scripts * Add Uploader header again and list myself as uploader -- Axel Beckert Tue, 24 Dec 2013 02:54:49 +0100 libterm-slang-perl (0.07-11) unstable; urgency=low * Now maintained by the Debian perl group. * Updated to current policy. * Minor fixes to debian/rules. -- Joey Hess Mon, 30 Jul 2007 01:36:54 -0400 libterm-slang-perl (0.07-10) unstable; urgency=low * Updated to slang 2. Only type and prototype changes, did not add new functions. Did not port to new readline interface, so all readline support is currently disabled. -- Joey Hess Mon, 20 Jun 2005 15:06:44 -0400 libterm-slang-perl (0.07-9) unstable; urgency=low * Build for perl 5.8. -- Joey Hess Wed, 31 Jul 2002 03:06:07 +0000 libterm-slang-perl (0.07-8) unstable; urgency=low * debhelper v4 -- Joey Hess Mon, 29 Jul 2002 19:04:07 +0000 libterm-slang-perl (0.07-7) unstable; urgency=low * Removed unnecessary README, Closes: #118220 -- Joey Hess Mon, 5 Nov 2001 16:29:26 -0500 libterm-slang-perl (0.07-6) unstable; urgency=low * Updated to new perl policy. * Updated to debhelper v3. -- Joey Hess Thu, 15 Feb 2001 18:00:24 -0800 libterm-slang-perl (0.07-5) unstable; urgency=low * Gar! Closes: #84219 -- Joey Hess Tue, 30 Jan 2001 23:23:18 -0800 libterm-slang-perl (0.07-4) unstable; urgency=low * Added build depends, Closes: #84113 -- Joey Hess Tue, 30 Jan 2001 11:15:15 -0800 libterm-slang-perl (0.07-3) unstable; urgency=low * Rebuilt with perl 5.6. I wouldn't normally bother, since the old packages work with perl 5.6, but the dpeendancies got messed up a while ago while I was using bod's perl 5.6 debs and an old debhelper. -- Joey Hess Tue, 7 Nov 2000 16:00:54 -0800 libterm-slang-perl (0.07-2) unstable; urgency=low * Build in binary-arch target, not binary-indep. Closes: #63941 -- Joey Hess Thu, 11 May 2000 13:48:43 -0700 libterm-slang-perl (0.07-1) unstable; urgency=low * New upstream, incorporating some of my changes. -- Joey Hess Sun, 16 Apr 2000 20:45:22 -0700 libterm-slang-perl (0.06-3) unstable; urgency=low * Added SLtt_set_screen_size function. No analog exists in slang, but this lets you set SLtt_Screen_Rows and SLtt_Screen_Cols from inside perl. Passed upstream; this interface may change w/o warning. -- Joey Hess Thu, 6 Apr 2000 19:48:51 -0700 libterm-slang-perl (0.06-2) unstable; urgency=low * Made SLsmg_set_screen_start take normal integers, and convert to int pointers in the XS code. I'll toss this upstream, the function doesn't seem usable in perl w/o this change. -- Joey Hess Thu, 6 Apr 2000 14:09:47 -0700 libterm-slang-perl (0.06-1) unstable; urgency=low * New upstream, incorporating all my changes. -- Joey Hess Wed, 22 Mar 2000 12:18:40 -0800 libterm-slang-perl (0.05-3) unstable; urgency=low * Removed prototype, thus fixing all the nasty prototype mismatch warnings when accessing constants. -- Joey Hess Mon, 20 Mar 2000 13:15:46 -0800 libterm-slang-perl (0.05-2) unstable; urgency=low * Added SLtt_set_mono to export list. * Re-added support for SLsmg_reinit_smg. -- Joey Hess Mon, 20 Mar 2000 12:31:26 -0800 libterm-slang-perl (0.05-1) unstable; urgency=low * Major new upsteam release, with a completly different API. * Reintegrated my patch for SLtt_set_mono. -- Joey Hess Mon, 20 Mar 2000 11:39:30 -0800 libterm-slang-perl (0.01-4) unstable; urgency=low * Added support for the SLtt_set_mono function. This includes constants for *_MASK. -- Joey Hess Fri, 17 Mar 2000 19:07:19 -0800 libterm-slang-perl (0.01-3) unstable; urgency=low * Added support for the SLsmg_reinit_smg() function. -- Joey Hess Fri, 17 Mar 2000 16:58:01 -0800 libterm-slang-perl (0.01-2) unstable; urgency=low * Thanks to Brendan O'Dea , all the slang constants are now included in the XS file. This closes an upstream TODO item. Access them like $Term::Slang::KEY_BACKSPACE * I have sent diffs upstream, but until they are accepted, this is a debian-specific feature. -- Joey Hess Sat, 11 Mar 2000 21:02:30 -0800 libterm-slang-perl (0.01-1) unstable; urgency=low * First release. * Minor changes to pod docs to make SYNOPSIS be indented correctly. -- Joey Hess Wed, 8 Mar 2000 20:16:38 -0800