--- psgml-1.4.0.orig/Makefile-el +++ psgml-1.4.0/Makefile-el @@ -0,0 +1,58 @@ +# Generated automatically from Makefile.in by configure. +# Makefile.in +# +# Makefile for the GNU Emacs lisp library, PSGML + +prefix = /usr +datadir = ${prefix}/share +lispdir = $(prefix)/share/emacs/site-lisp +infodir = /usr/share/info +srcdir = . + + +EMACS = /usr/bin/emacs +XEMACS = xemacs + + +FLAGS = -batch -q -no-site-file -l ./psgml-maint.el +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +SHELL = /bin/sh + +compile: + $(EMACS) $(FLAGS) -f psgml-compile-files + +clean: + -rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ + -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ + -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS + rm -f *.elc ; + +all: + rm -f *.elc ; $(EMACS) $(FLAGS) -f psgml-compile-files + + +install: compile + $(SHELL) mkinstalldirs $(lispdir) + for p in *.elc; do \ + echo " $(INSTALL_DATA) $$p $(lispdir)/$$p"; \ + $(INSTALL_DATA) $$p $(lispdir)/$$p; \ + done + $(INSTALL_DATA) iso88591.map $(lispdir) + +install-info: + $(INSTALL_DATA) psgml.info $(infodir) + $(INSTALL_DATA) psgml-api.info $(infodir) + +xemacs: + $(MAKE) EMACS=xemacs all + +install-xemacs: + $(MAKE) EMACS=xemacs install + + +# Tell versions [3.59,3.63) of GNU make not to export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: + +# Makefile.in ends here --- psgml-1.4.0.orig/Makefile.in +++ psgml-1.4.0/Makefile.in @@ -22,6 +22,12 @@ compile: $(EMACS) $(FLAGS) -f psgml-compile-files +clean: + -rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~' \ + -o -name '*.bak' -o -name '#*#' -o -name '.*.orig' \ + -o -name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS + rm -f *.elc ; + all: rm -f *.elc ; $(EMACS) $(FLAGS) -f psgml-compile-files @@ -37,12 +43,6 @@ install-info: $(INSTALL_DATA) psgml.info $(infodir) $(INSTALL_DATA) psgml-api.info $(infodir) - if $(SHELL) -c 'install-info --version' \ - >/dev/null 2>&1; then \ - install-info --info-dir=$(infodir) psgml.info; \ - install-info --info-dir=$(infodir) psgml-api.info; \ - else true; fi - xemacs: $(MAKE) EMACS=xemacs all --- psgml-1.4.0.orig/debian/Example +++ psgml-1.4.0/debian/Example @@ -0,0 +1,67 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;; -*- Mode: Emacs-Lisp -*- ;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; +;;; This file has examples on how to customize psgml +;;; +;;; arch-tag: dfa1f019-e247-437b-871f-5371907f5053 + +(setq-default sgml-indent-data t) +(setq + sgml-always-quote-attributes t + sgml-auto-insert-required-elements t + sgml-auto-activate-dtd t + sgml-data-directory "/usr/share/sgml/declaration/" + sgml-indent-data t + sgml-indent-step 2 + sgml-minimize-attributes nil + sgml-omittag nil + sgml-shortag nil + sgml-custom-markup + '(("Version1" "") + ("New page" "")) + sgml-xml-declaration "/usr/share/sgml/declaration/xml.dcl" + sgml-display-char-list-filename "/usr/share/sgml/charsets/iso88591.map" + sgml-live-element-indicator t + sgml-public-map '("%S" "/usr/share/sgml/%S" "/usr/share/sgml/%o/%c/%d" + "/usr/local/share/sgml/%o/%c/%d") + sgml-system-path '("/usr/share/sgml" "/usr/share/sgml/cdtd" + "/usr/local/share/sgml") + sgml-tag-region-if-active t + ) + +(setq-default sgml-use-text-properties t) + +;; Set up the faces for markup +(setq-default sgml-markup-faces + '((start-tag . font-lock-keyword-face) + (end-tag . font-lock-keyword-face) + (ignored . font-lock-string-face) + (ms-start . font-lock-constant-face) + (ms-end . font-lock-constant-face) + (shortref . bold) + (entity . font-lock-type-face) + (comment . font-lock-comment-face) + (pi . font-lock-builtin-face) + (sgml . font-lock-function-name-face) + (doctype . font-lock-variable-name-face))) +;; Turn on the markup based on whether font-lock would be on +(eval-after-load "psgml" + '(lambda () + (if (boundp 'global-font-lock-mode) + (if global-font-lock-mode + (setq-default sgml-set-face t) + (setq-default sgml-set-face nil)) + (setq-default sgml-set-face (eq 'x window-system))) + + (when (default-value 'sgml-set-face) + (require 'font-lock)) + ;; Lots of overlays in a buffer is bad news since they have to + ;; be relocated on changes, with typically quadratic + ;; behaviour. + )) +(add-hook 'html-mode-hook + (lambda () (setq font-lock-defaults nil))) + +;; Alternately, to use font-lock-mode, expand on: +;; (add-hook 'html-mode-hook +;; (lambda () (make-local-variable 'sgml-set-face) +;; (setq sgml-set-face nil))) --- psgml-1.4.0.orig/debian/README.debian +++ psgml-1.4.0/debian/README.debian @@ -0,0 +1,14 @@ +psgml for DEBIAN +---------------------- + +I know this package is not for everyone, it is often finicky, but I +found it invaluable to writing correct HTML (and other SGML dtd based +documents). + +I had to make a change for Debian since /usr/lib/sgml/catalog is really a +symlink for /etc/sgml.catalog; if we get the true name of the file, then +the sgml data should lie under /etc/*, bur in reality it lies in +/usr/lib/sgml/*. So we do not chase symlinks in parsing catalog files. + +Manoj Srivastava , Sun, 16 Feb 1997 00:41:51 -0600 +arch-tag: 27d25c7f-2d44-45ca-b609-3549f6be43fd --- psgml-1.4.0.orig/debian/changelog +++ psgml-1.4.0/debian/changelog @@ -0,0 +1,990 @@ +psgml (1.4.0-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Switch to unversioned emacs package (Closes: #933319) + + -- Gianfranco Costamagna Fri, 02 Aug 2019 12:46:15 +0200 + +psgml (1.4.0-7) unstable; urgency=medium + + * Added dependency on emacs25, dropped emacs23 and emacs-snapshot. + + -- Neil Roeth Fri, 20 Jan 2017 07:35:15 -0500 + +psgml (1.4.0-6) unstable; urgency=low + + * Make build reproducible: + - Applied patch for local.mk; thanks Chris Lamb. (Closes: #777505). + - Applied patch for install_cmds.mk; thanks Valerie R Young (Closes: #847026). + * Removed explicit calls to install-info as required by policy. + * Updated Standards-Version to 3.9.8.0. + + -- Neil Roeth Wed, 18 Jan 2017 19:01:58 -0500 + +psgml (1.4.0-5) unstable; urgency=low + + * Fixed typo: "determin" -> "determine" (Closes: #639220). + * Changed regexp for file extension from "\\.xml$" to "\\.xml\\'" + (Closes: #680702). + + -- Neil Roeth Tue, 15 Oct 2013 08:00:28 -0400 + +psgml (1.4.0-4) unstable; urgency=low + + * Updated Standards-Version to 3.9.4.0. No changes required. + * Fixed misspelling in prior changelog entry. + + -- Neil Roeth Mon, 14 Oct 2013 18:22:00 -0400 + +psgml (1.4.0-3) unstable; urgency=low + + * Another if-Emacs-24 update - delete 50psgml-init.el in postrm when + package is purged. + * Last version was accidentally built as a native package; reverted back + to non-native. + + -- Neil Roeth Sun, 13 Oct 2013 10:32:26 -0400 + +psgml (1.4.0-2) unstable; urgency=low + + * Modified Emacs remove script so that it deletes compiled list files + when package is removed. + * New version no longer uses make-local-hook. (Closes: #669280). + + -- Neil Roeth Sat, 12 Oct 2013 15:20:57 -0400 + +psgml (1.4.0-1) unstable; urgency=low + + * New upstream release - actually unofficial changes from + http://www.fsavigny.de/gpled-software/psgml-1.4.0.tar.gz + since psgml is not really being updated any more. + * Updates to work with Emacs 24. (Closes: #693432). + * New upstream version eliminates old style backquotes. (Closes: #669282). + + -- Neil Roeth Thu, 10 Oct 2013 20:09:05 -0400 + +psgml (1.3.2-14) unstable; urgency=low + + * Check for existence of ucf and ucfr before calling in postrm + script. (Closes: #685467). + + -- Neil Roeth Tue, 21 Aug 2012 23:24:41 -0400 + +psgml (1.3.2-13) unstable; urgency=low + + * Removed obsolete package sp from Recommends. + * Removed obsolete packages emacs22 and emacs21 from Depends. + * Policy 12.2: Removed installer script references to nonexistent + install-info-altdir and added dependency on dpkg | install-info. + * Updated Standards-Version to 3.9.2.0. + + -- Neil Roeth Sat, 28 May 2011 15:47:15 -0400 + +psgml (1.3.2-12) unstable; urgency=low + + * Updated to include emacs23. (Closes: #541852). + * Updated psgml{,-api}.texi and regenerated info files in order to put + info into Emacs category of Info instead of Miscellaneous. + * Updated Standards-Version to 3.8.2.0, no changes required. + + -- Neil Roeth Sun, 16 Aug 2009 17:49:30 -0400 + +psgml (1.3.2-11) unstable; urgency=low + + * Fix ucf handling of psgml-init.el file. (Closes: #516843). + * Do not create /etc/emacs directories unless needed. (Closes: + #501827). + + -- Neil Roeth Tue, 09 Jun 2009 22:43:58 -0400 + +psgml (1.3.2-10) unstable; urgency=low + + * Fix inadvertent dependency on autoconf introduced by closing + 516840. (Closes: #531899). Meet several conditions: + - Do not modify files shipped with package, Makefile and config.status + in /usr/share/emacs/site-lisp/psgml. + - If autoconf exists, use it to generate Makefile. + - If autoconf does not exist, use default Makefile shipped with package. + + -- Neil Roeth Thu, 04 Jun 2009 21:29:35 -0400 + +psgml (1.3.2-9) unstable; urgency=low + + * Do not ship site-lisp/psgml/{Makefile,config.status}, they are + generated during byte-compilation. (Closes: #516840). + * Updated to policy version 3.8.1.0; no changes + * Fixed lintian errors by removing unnecessary calls to install-docs in + postinst and prerm. + + -- Neil Roeth Sun, 24 May 2009 10:33:58 -0400 + +psgml (1.3.2-8) unstable; urgency=low + + * New maintainer. Still useful to some of us! (Closes: #483642). + * Added missing build dependency on sharutils. + * Updated policy version, no changes. + * Fixed lintian errors: + - Made dependency on texi2html less specific. + - Fixed doc-base section. + - Removed postrm call to update-menus + - Reordered dependency on emacs so that emacs22 is first. + - Removed lintian override for description. + * Removed obsolete directories /usr/lib/sgml and /usr/local/lib/sgml + from various locations. + + -- Neil Roeth Thu, 17 Jul 2008 21:29:44 -0400 + +psgml (1.3.2-7) unstable; urgency=low + + * Orphan this package. This is obsolete, there is no upstream + development of note, there have been two uploads since 2003, and the + last one was in 2005. The authors seem to have moved to nxml-ode, + which supersedes this package, and is included by default in modern + emacsen. + + -- Manoj Srivastava Thu, 29 May 2008 23:59:07 -0500 + +psgml (1.3.2-6) unstable; urgency=low + + * Bug fix: "psgml: depend on emacs22", thanks to Tommi Vainikainen + (Closes: #424970). + + -- Manoj Srivastava Sat, 07 Jul 2007 13:03:23 -0500 + +psgml (1.3.2-5) unstable; urgency=low + + * Bug fix: "psgml-init.el does not set xml validate comand properly", + thanks to Ryo IGARASHI. (Closes: #413828). + * Bug fix: "/usr/share/emacs/site-lisp/psgml/psgml-edit.el: Typo in + sgml-insert-end-tag", thanks to Reuben Thomas (Closes: #399952). + * Added debian/control variables XS-VCS-Arch and XS-VCS-Browse + + -- Manoj Srivastava Tue, 17 Apr 2007 18:08:22 -0500 + +psgml (1.3.2-4) unstable; urgency=low + + * Make sure the package is not byte compiled twice, while ensuring that + byte compilation happens on upgrades and fresh installs. + + -- Manoj Srivastava Sat, 3 Dec 2005 17:17:56 -0600 + +psgml (1.3.2-3) unstable; urgency=low + + * sgml-display-char-alist: No display char file: /usr/share/sgml/charsets/iso88591.map + This makes sgml-display-char-to-charent fail. Thanks to LI Daobing. + (Closes: #323879) + + * Extend support for the new emacs-snapshot package, Thanks to LI Daobing. + (Closes: #323880) + + -- Manoj Srivastava Wed, 31 Aug 2005 12:29:40 -0500 + +psgml (1.3.2-2) unstable; urgency=low + + * Bug fix: "psgml: FTBFS: Cannot install docs", thanks to Daniel + Schepler (Closes: #318556). + + -- Manoj Srivastava Sat, 6 Aug 2005 09:59:19 -0500 + +psgml (1.3.2-1) unstable; urgency=low + + * New upstream release + ** Rename sgml-general-dtd-info to sgml-describe-dtd. Keep old name as + alias. + ** Made menus compact, only one top level menu. + ** Added new function sgml-show-structure (C-c C-s) + (May need latest emacs version (22)) + ** Changed C-c C-t to sgml-show-current-element-type + New more comprehensive information display. + ** New mouse menu, sgml-right-menu on S-mouse-3 + If invoked on a start-tag will include entries to manipulate the + tag/element, including setting attributes. If invoked in content it + will be a menu of valid elements. + ** The process instruction + Not new, but now documented and improved. + + -- Manoj Srivastava Sun, 1 May 2005 12:33:41 -0500 + +psgml (1.3.1-13) unstable; urgency=low + + * Bug fix: "psgml: speed up parsing when setting faces", thanks to Dave + Love. Dave's patch typically makes parsing several times faster in + Emacs if `sgml-set-face' is on. It doesn't have any effect in XEmacs + or Emacs when sgml-set-face is nil. It also avoids some compilation + warnings and removes the setting of an unused variable outside the + package's name space. (Closes: #292867). + + -- Manoj Srivastava Thu, 10 Feb 2005 20:37:18 -0600 + +psgml (1.3.1-12) unstable; urgency=low + + * psgml: fails to parse DocBook DTD with emacs21, thanks to + Marcus.Better@abc.se. See + http://sourceforge.net/mailarchive/forum.php?thread_id=5080906&forum_id=4390 + and http://list-archive.xemacs.org/xemacs-beta/200011/msg00117.html + for details (closes: Bug#283462) + + -- Manoj Srivastava Thu, 2 Dec 2004 16:18:25 -0600 + +psgml (1.3.1-11) unstable; urgency=low + + * Bug fix: "psgml: xml-mode ignores the variable + `sgml-xml-declaration'", thanks to Richard Lewis. xml-mode + overwrites sgml-xml-validate-command with a hard coded value, but + sgml-xml-validate-command is supposed to be a user variable. This + makes it impossible to replace nsgml with onsgml (which you want to do + since nsgml gives a warning about xml.dcl containing large + numbers). This fix moves the hardcoded value from xml-mode to the + initial value of sgml-xml-validate-command. (Closes: #274573). + + -- Manoj Srivastava Tue, 12 Oct 2004 22:00:17 -0500 + +psgml (1.3.1-10) unstable; urgency=low + + * Bug fix: "psgml: sgml-change-element-name errors", thanks to Hugo Haas + (Closes: #263242). + + -- Manoj Srivastava Fri, 13 Aug 2004 21:59:55 -0500 + +psgml (1.3.1-9) unstable; urgency=low + + * Bug fix: "psgml: PSGML uses obsolete path", thanks to Neil Roeth + Ensured that the new paths in /usr/local/share are also supported; but + did not remove the older paths from the search path, for now. + (Closes: #252540). + * Removed the obsolete needs="dwww" menu entry. Now we use the + preferred doc-base method. + + -- Manoj Srivastava Tue, 22 Jun 2004 23:41:40 -0500 + +psgml (1.3.1-8) unstable; urgency=low + + * Bug fix: "Half-broken dependency on emacs20", thanks to Martin + Michlmayr (Closes: #232783). + + -- Manoj Srivastava Mon, 16 Feb 2004 21:14:15 -0600 + +psgml (1.3.1-7) unstable; urgency=low + + * Bug fix: "psgml-sysdep.el missing", thanks to Didier Frick. I have no + idea why this file went missing -- especially if 1.3.1-5 worked + (Closes: #224045, #224203). + * Bug fix: "psgml: Cannot load file on parsing DTD", thanks to Rodrigo + Araujo (Closes: #224043). + * Bug fix: "psgml: Cannot load file on parsing DTD", thanks to Rodrigo + Araujo (Closes: #224046). + + -- Manoj Srivastava Mon, 15 Dec 2003 10:28:18 -0600 + +psgml (1.3.1-6) unstable; urgency=low + + * Bug fix: "psgml: M-x html-mode gives error Cannot open load + file: psgml-html", thanks to Julian Gilbey. Added psgml-hrml to + psgml-maint.el. (Closes: #223792). + + -- Manoj Srivastava Sat, 13 Dec 2003 14:37:02 -0600 + +psgml (1.3.1-5) unstable; urgency=low + + * Moved to the new build system + * Bug fix: "psgml: sgml-xml-validate-command fails without /bin/sh", + thanks to Neil Spring (Closes: #222745). + + -- Manoj Srivastava Sat, 6 Dec 2003 18:51:40 -0600 + +psgml (1.3.1-4) unstable; urgency=low + + * Fixed usage of chown root.root in the rules files. + * Changed the rules file to also install psgml.html. closes: Bug#211541 + + -- Manoj Srivastava Sun, 21 Sep 2003 14:48:07 -0500 + +psgml (1.3.1-3) unstable; urgency=low + + * Added suggestions for packages that provide the html DTD's -- namely, + w3c-dtd-xhtml and w3-dtd-mathml. closes: Bug#198150 + + -- Manoj Srivastava Sun, 6 Jul 2003 01:38:54 -0500 + +psgml (1.3.1-2) unstable; urgency=low + + * Added an example file to demonstrate customization values. + + -- Manoj Srivastava Thu, 20 Mar 2003 11:35:31 -0600 + +psgml (1.3.1-1) unstable; urgency=low + + * Remove obsolete emacs19 dir. closes: Bug#179681 + * New upstream development version, better support for XML and catalogs. + * Removed most user customization style tweaks from psgml-init; people + should have the ability to set their own options. Hopefully this shall + fix the font-lock issue that people have. + + -- Manoj Srivastava Sun, 9 Feb 2003 14:23:19 -0600 + +psgml (1.2.5-4) unstable; urgency=low + + * Make sure the ucf database is cleaned up on purge + + -- Manoj Srivastava Sun, 10 Nov 2002 22:40:27 -0600 + +psgml (1.2.5-3) unstable; urgency=low + + * bash issues. closes: Bug#167676 + * make the log file readable closes: Bug#167723 + * Fix a missing $ in the postinst. The ucf related noisiness shall go + away when ucf gets a little bit more mature. closes: Bug#167248 + + -- Manoj Srivastava Wed, 6 Nov 2002 03:37:41 -0600 + +psgml (1.2.5-2) unstable; urgency=low + + * Removed fileutils from the dependencies. closes: Bug#161453 + * No longer use faces that are not defined. I selected new faces that + are available with emacs -q on a debian box. closes: Bug#153630 + * Fixed the menuentry to point to /usr/share/doc closes: Bug#159594 + * Integrated patch from Dave Love. This fixes bugs setting + `sgml-validate-command' and `sgml-markup-faces', Turns on + `sgml-use-text-properties', and Delays things until psgml.el is + loaded, so you don't always load font-lock at startup, for instance. + It tests global-font-lock-mode' to decide whether to turn on + face-setting. This has the disadvantage that you'd have to override + `sgml-set-face' in `sgml-mode-hook', but I think it's worth it to DTRT + better. + + -- Manoj Srivastava Tue, 29 Oct 2002 19:48:02 -0600 + +psgml (1.2.5-1) unstable; urgency=low + + * Use which instead of command -v. + * New upstream. + + -- Manoj Srivastava Sun, 16 Jun 2002 15:24:05 -0500 + +psgml (1.2.4-9) unstable; urgency=low + + * Well, the symbol could be bound, but still nil. closes: Bug#146817 + + -- Manoj Srivastava Mon, 13 May 2002 09:22:14 -0500 + +psgml (1.2.4-8) unstable; urgency=low + + * Add the missing paren in the correct place. + + -- Manoj Srivastava Mon, 13 May 2002 04:09:37 -0500 + +psgml (1.2.4-7) unstable; urgency=low + + * Added a missing close paren. closes: Bug#146467, Bug#146734, Bug#146613 + + -- Manoj Srivastava Sun, 12 May 2002 21:43:50 -0500 + +psgml (1.2.4-6) unstable; urgency=medium + + * In psgml-html, only set sgml-custom-dtd if it is unbound, and thus not + stopmp all over user set sgml-custom-dtd. closes: Bug#145744 + + -- Manoj Srivastava Tue, 7 May 2002 15:38:46 -0500 + +psgml (1.2.4-5) unstable; urgency=low + + * Applied patch from Dave Love to fix problems with + multibyte DTD's. This should do the right thinkg in a unibyte + buffer. Upstream us aware of this patch. closes: Bug#137114 + + -- Manoj Srivastava Wed, 17 Apr 2002 13:20:27 -0500 + +psgml (1.2.4-4) unstable; urgency=low + + * psgml now recommends either sp or opensp, not both. closes: Bug#142240 + + -- Manoj Srivastava Fri, 12 Apr 2002 15:10:10 -0500 + +psgml (1.2.4-3) unstable; urgency=low + + * Well, build depends are not mandatory. And for a binary all package, + which does not have to be rebuilt by buildds, not having build dpendds + at all would not cause problems anyway. However, since this is a good + thing in general, add it anyway. closes: Bug#139301 + + -- Manoj Srivastava Thu, 21 Mar 2002 22:11:22 -0600 + +psgml (1.2.4-2) unstable; urgency=low + + * debian-pkg-add-load-path-item apparently does not add the item to the + load path. This is different from the test function that Sam wrote, + and thuis the load-path was not set. Unfortunately, this bug was + masked on my box since emacs21 happiuly searches subdirs. + closes: Bug#133426 + + -- Manoj Srivastava Wed, 20 Feb 2002 02:32:00 -0600 + +psgml (1.2.4-1) unstable; urgency=low + + * New upstream version, makes some of the patches official. This is a + stable, bug fixing release. We now have an official fix for the + multibyte issue. + + -- Manoj Srivastava Thu, 14 Feb 2002 11:29:43 -0600 + +psgml (1.2.2-16) unstable; urgency=low + + * Preserve user changes in the site-start.d file. Also, do not delete + the start file when removed, only when purged. This also requires that + the start file do nothing when the package has actually been removed. + * Try and fix autoconf flags. + + -- Manoj Srivastava Wed, 13 Feb 2002 22:41:44 -0600 + +psgml (1.2.2-15) unstable; urgency=low + + * Patch from upstream to fix multibyte handling of DTD's. + * Allow emacs21 on a tty to still have faces handling, while maintaining + emacs20 compatibility. Also define the sgml faces unconditionally, and + require the font-lovk faces. closes: Bug#132481 + * Provide support for onsgmls as the validate command, if nsgmls is not + isntalled. closes: Bug#132482 + + -- Manoj Srivastava Fri, 8 Feb 2002 14:06:25 -0600 + +psgml (1.2.2-14) unstable; urgency=low + + * The el dir should only be removed when the package is being + deinstalled, and not when a flavour is being removed. This was a + really bad bug. closes: Bug#132423 + * Since emacs21 incorporates mule natively, and emacs19 is moribund, + this wishlist is no longer valid. closes: Bug#82306 + + -- Manoj Srivastava Tue, 5 Feb 2002 03:33:26 -0600 + +psgml (1.2.2-13) unstable; urgency=low + + * Conform to the latest emacs policy about laod paths. + + -- Manoj Srivastava Fri, 1 Feb 2002 15:34:00 -0600 + +psgml (1.2.2-12) unstable; urgency=low + + * psgml-html.el should not change font-lock-variable-name-face or + font-lock-reference-name-face. Fixed. + + -- Manoj Srivastava Tue, 29 Jan 2002 19:06:55 -0600 + +psgml (1.2.2-11) unstable; urgency=low + + * The sgml-default-doctype-name needs to be all uppercase. This enables + us to find the external entity html when we open a file with no + DOCTYPE directive. closes: Bug#131185 + * Fixed problems with tempo in psgml-html.el + * Added /etc/sgml/catalog to the lsit fo catalog locations we know + about. May contribute to the bug fic for Bug#131185 + + -- Manoj Srivastava Mon, 28 Jan 2002 11:15:59 -0600 + +psgml (1.2.2-10) unstable; urgency=low + + * Reverted changes done to fix bug#109468. I'll reopen that report. + closes: Bug#118762, Bug#129160 + + -- Manoj Srivastava Fri, 18 Jan 2002 10:25:01 -0600 + +psgml (1.2.2-9) unstable; urgency=low + + * Fixed too many close parens in sgml-read-attribute-value in the + psgml-edit.el. When did this creep in? How come no one noticed? + closes: Bug#128685 + + -- Manoj Srivastava Thu, 10 Jan 2002 23:20:22 -0600 + +psgml (1.2.2-8) unstable; urgency=low + + * Applied a patch from Toby Speight to maintain + separate histories for each type of attribute (and to give editable + default values). Also, this bug report was a non bug, closes: Bug#114227 + * Fixed the emacsen.remove script to remove the init file on removal. + closes: Bug#122650 + * Fixed spelling in the description. closes: Bug#125274 + + -- Manoj Srivastava Wed, 9 Jan 2002 13:36:21 -0600 + +psgml (1.2.2-7) unstable; urgency=low + + * Fixed validation for XML files. The old way inhibits the any other + catalog files from being read. closes: Bug#117105 + * Do not unset multibyte flags for the buffer on emacs21; *perhaps* this + shall allow us to deal with non ascci XML files again, and help with + Bug#118762 + + -- Manoj Srivastava Mon, 12 Nov 2001 14:28:54 -0600 + +psgml (1.2.2-6) unstable; urgency=low + + * Simply remove the ELCDIR on removal (there is no reason to have it + remain behind anyway). closes: Bug#117105 + * move references to /usr/lib/sgml to /usr/share/sgml closes: Bug#115912 + * {before,after}-change-function --> {before,after}-change-functions + closes: Bug#113331 + * Added a fix for MULE closes: Bug#109468 + + -- Manoj Srivastava Mon, 29 Oct 2001 13:20:03 -0600 + +psgml (1.2.2-5) unstable; urgency=low + + * Changes made to the source to make psgml actually work for emacs21 by + Takuo KITAME. Thanks to Chris Wedgwood for bringing these changes to + my attention. + + -- Manoj Srivastava Thu, 19 Jul 2001 11:07:05 -0500 + +psgml (1.2.2-4) unstable; urgency=low + + * Change the control file so emacs21 can also satisfy the dependencies. + + -- Manoj Srivastava Thu, 12 Jul 2001 11:37:53 -0500 + +psgml (1.2.2-3) unstable; urgency=low + + * Added emacs21 in the emacsen install, remove scripts. closes: Bug#100294 + * Follow the default emacs associations for html-mode. closes: Bug#101291 + + -- Manoj Srivastava Wed, 4 Jul 2001 13:51:40 -0500 + +psgml (1.2.2-2) unstable; urgency=low + + * Fixed typos identfier -> identifier. closes: Bug#88301 + * No longer mention emacs19 in the control file. closes: Bug#82685 + * Fixed typo of browse url function in psgml-html.el closes: Bug#92853 + + -- Manoj Srivastava Sun, 15 Apr 2001 23:11:23 -0500 + +psgml (1.2.2-1) unstable; urgency=low + + * New upstream source. This is supposed to be a major bug fix release. + + -- Manoj Srivastava Sun, 11 Feb 2001 12:02:04 -0600 + +psgml (1.2.1-14) unstable; urgency=low + + * http://www.w3.org/TR/NOTE-sgml-xml-971215 + + The SGML declaration must be implied and cannot be explicitly present + in the document entity + I did not like the suggestion in the bug report about just pretending + that the document is SGML (yes, that would work, since XML is a SGML + subset), but sone things that are veariable in the SGML world are + fixed in XML, and we would have lost warnings about those. So I went + and changed the verify command to set the env vars that nsgmls + expects, and this should work now. closes: Bug#85005 + + -- Manoj Srivastava Tue, 6 Feb 2001 16:10:48 -0600 + +psgml (1.2.1-13) unstable; urgency=low + + * Fixed keymap in psgml-html mode. There were a few XEmacsims left + behind, and FSF Emacs equivalent functions were bound to the keys. + * browse-url-of-buffer used instead of nonexistent xemacs functions for + browsing using netscape. Both these are thanks to Patrick + Campbell-Preston . I am still working on the + HTML menus, which do not seem to be installed. + * Make sure all the cruft in the emacs directories is removed. + * emacs19 has been removed, so depends were updated. closes: 82685 + + -- Manoj Srivastava Mon, 29 Jan 2001 22:54:34 -0600 + +psgml (1.2.1-12) unstable; urgency=low + + * Added psgml-html.el from XEmacs, since that has way more + functionality than the simple wrapper I wrote. closes: Bug#76781 + * I have perhaps fixed the old external entity html not found bug. It + works for me, and closes: Bug#38284 + + -- Manoj Srivastava Mon, 20 Nov 2000 09:18:57 -0600 + +psgml (1.2.1-11) unstable; urgency=low + + * I have perhaps fixed the old external entity html not found bug. It + works for me, and closes: Bug#38284 + + -- Manoj Srivastava Mon, 14 Aug 2000 20:44:01 -0500 + +psgml (1.2.1-10) unstable; urgency=low + + * Also arrange to remove config.log and cofig.cache from the elc + dir. This closes: Bug#66695 + + -- Manoj Srivastava Tue, 4 Jul 2000 12:20:43 -0500 + +psgml (1.2.1-9) frozen unstable; urgency=low + + * Change the location of the XML decl from the bogus + /usr/lib/declaration/xml.dcl to the correct + /usr/lib/sgml/declaration/xml.dcl. closes: Bug#63892 + * Remove support for XEmacs21, since that package comes with XEmacs + customized version of psgml. closes: Bug#63776 + + -- Manoj Srivastava Wed, 10 May 2000 16:37:51 -0500 + +psgml (1.2.1-8) frozen unstable; urgency=low + + * Changed the init file to not set HTML related propoerties (sgml-decl, + DTD's) while in XML mode. These are only set for sgml-html-mode + now. This makes XML editing feasible. closes: Bug#62111 + + -- Manoj Srivastava Fri, 14 Apr 2000 12:13:35 -0500 + +psgml (1.2.1-7) frozen unstable; urgency=low + + * Fix the order of dependencies around; emacs19 is now optional + * Added a dependency on fileutiles >=4.0, since the package would fail + to install with older fileutils. + + -- Manoj Srivastava Mon, 27 Mar 2000 12:36:14 -0600 + +psgml (1.2.1-6) frozen unstable; urgency=low + + * Fixed a bug in emacsen.install that was preventing installation on a + fresh install under some situations. This needs to go into potato, + else psgml may fail to isntall under some circumstances + closes: Bug#60309 + * Use absolute links when related links would not work, for the + /usr/doc/ symlink. + + -- Manoj Srivastava Wed, 15 Mar 2000 09:48:48 -0600 + +psgml (1.2.1-5) frozen unstable; urgency=high + + * A recent change to the postinst whacked the compilation phase. This + fixes what would be an important bug. + + -- Manoj Srivastava Mon, 6 Mar 2000 16:01:14 -0600 + +psgml (1.2.1-4) frozen unstable; urgency=low + + * Fixed an upgrade bug when /usr/doc happens to be a symlink, and does + not point to /usr/share/doc. A couple of people were bitten by this. + + -- Manoj Srivastava Mon, 28 Feb 2000 22:27:05 -0600 + +psgml (1.2.1-3) frozen unstable; urgency=low + + * The postinst was vulnerable to being affected by symlinks (if, for + some reason, the prerm failed). This has happended for latex2html; and + created a grave bug. + * There was a bug in the postinst in a case statement, that caused + installation to fail for certain situations. + * Also fixed an lintian warning + + -- Manoj Srivastava Tue, 8 Feb 2000 15:10:13 -0600 + +psgml (1.2.1-2) frozen unstable; urgency=low + + * Close all NMU foxed bugs. closes: Bug#47123, Bug#47330, Bug#47729 + closes: Bug#47730, Bug#48558, Bug#48667, Bug#48715 + * Updated the defaults for sgml-custom-dtd to non-deprecated + values. This closes: Bug#49697 + * Remove the log files when the package is being removed, as well as a + small typo fix (thanks to "James R. Van Zandt" ) + close: Bug#51930, Bug#51931, Bug#48983 + * Moved install-docs to the end of the postinst, so that the symlink to + /usr/share/doc exists. closes: Bug#47680 + + -- Manoj Srivastava Tue, 25 Jan 2000 23:54:28 -0600 + +psgml (1.2.1-1) unstable; urgency=low + + * Merge the NMU's back into an officail upload (there were a few fixes + that were required). + + -- Manoj Srivastava Wed, 1 Dec 1999 23:22:44 -0600 + +psgml (1.2.1-0.2) unstable; urgency=high + + * Horrible error when parsing catalogs fixed. (Prevented every + public identifier to be resolved.) + + -- Stephane Bortzmeyer Wed, 10 Nov 1999 15:05:22 +0100 + +psgml (1.2.1-0.1) unstable; urgency=low + + * Non-maintainer release + * New upstream release. Closes: #48558, #47330 + * Clean up the horrible mess in the source of the Debian package + * Fix a small mistake in postinst. Closes: #48667 + + -- Stephane Bortzmeyer Fri, 5 Nov 1999 13:21:39 +0100 + +psgml (1.2.0-1) unstable; urgency=low + + * New, stable, upstream release, almost no changes since 1.1.7. + + -- Manoj Srivastava Tue, 12 Oct 1999 14:15:59 -0500 + +psgml (1.1.7-1.2) unstable; urgency=low + + * NMU. Add xemacs21 support + + -- James LewisMoss Mon, 25 Oct 1999 19:27:09 -0400 + +psgml (1.1.7-1.1) unstable; urgency=low + + * NMU + * Correct doc-base /usr/doc -> /usr/share/doc (closes: #47729) + + -- Julian Gilbey Mon, 18 Oct 1999 16:53:59 +0100 + +psgml (1.1.7-1) unstable; urgency=low + + * Correct the location of the iso8859.map file in psgml-init.el. closes: + Bug#46854 + * New upstream version incorporates Debian fix for "empty" xml + tag handling. closes: Bug#39718 + * Found a fix for having psgml recognize system identifiers. It used to + work before, but the method irt used to wirk was the side effect of a + bug. When the bug was fixed, psgml lost the ability to work with + explicit system identifies. The correct fix was to correctly configure + the variables, sgml-system-path, and sgml-public-map. closes: Bug#47092 + * Moved to FHS compliance. Now, when sgml-base moves, we shall have to + change, but apart from that, the FHS move is done. + + -- Manoj Srivastava Mon, 11 Oct 1999 11:29:27 -0500 + +psgml (1.1.6-6) unstable; urgency=low + + * Added a fix to the sgml-tag-regexp to handle "empty" xml + tags. This was reported as 39718, and has been forwarded upstream. + * Added xml-mode as the default mode for files with extension + .xml. closes: Bug#39675 + * Actually ship iso88591.map, which closes: Bug#41000 + + -- Manoj Srivastava Wed, 14 Jul 1999 14:01:42 -0500 + +psgml (1.1.6-5) unstable; urgency=low + + * Fixed code to lookup the DTD files defined in the sgml catalog + file. closes: Bug#33418 + + -- Manoj Srivastava Fri, 14 May 1999 01:37:42 -0500 + +psgml (1.1.6-4) unstable; urgency=low + + * Added doc-base support. + + -- Manoj Srivastava Sat, 27 Feb 1999 23:07:09 -0600 + +psgml (1.1.6-3) frozen unstable; urgency=low + + * There is no new code in this upload, so it should be OK for frozen + * Uncommented call to update-menu in postrm + * make sure that config.status is available for systems that do not have + autoconf. fixes: BUG#30496 + + -- Manoj Srivastava Sat, 9 Jan 1999 13:44:52 -0600 + +psgml (1.1.6-2) frozen unstable; urgency=low + + * Fixed a problem with the remove/purge process in which the byte + compiled files would be left behind. Since psgml is in a bug fix mode, + and several XML related bugs have been fixed; and this remove/purge + bug fix should be justification to include in frozen. + + -- Manoj Srivastava Wed, 25 Nov 1998 11:45:40 -0600 + +psgml (1.1.6-1) unstable; urgency=low + + * New upstream release, with additional support for XML and newer + emacsen. + + -- Manoj Srivastava Sun, 22 Nov 1998 19:09:06 -0600 + +psgml (1.1.4-3) unstable; urgency=low + + * Tried to make the installation quieter. + + -- Manoj Srivastava Tue, 3 Nov 1998 21:41:21 -0600 + +psgml (1.1.4-2) unstable; urgency=low + + * Made psgml recognize the .shtml extension as .html; .shtml is used by + apache to recognize server-parsed html code. + + -- Manoj Srivastava Thu, 15 Oct 1998 02:18:36 -0500 + +psgml (1.1.4-1) unstable; urgency=low + + * New upstream bug fix release. + * Make sure the package can be installed despite the lack of + autoconf. closes: BUG#27521 + * Tested some xml files. Could not reproduce bug 23313; I suppose this + got fixed in the last two upstream releases. closes: BUG#23313 + + -- Manoj Srivastava Tue, 13 Oct 1998 11:03:26 -0500 + +psgml (1.1.3-2) unstable; urgency=low + + * Fixed the location of the menu file, and removed an inadvetrtent + inclusion of the CVS directory. closes: BUG#26340 + + -- Manoj Srivastava Wed, 2 Sep 1998 13:47:37 -0500 + +psgml (1.1.3-1) unstable; urgency=low + + * New upstream version. + + -- Manoj Srivastava Sun, 12 Jul 1998 22:59:08 -0500 + +psgml (1.1.2-1) unstable; urgency=low + + * New upstream version + + -- Manoj Srivastava Fri, 26 Jun 1998 12:04:34 -0500 + +psgml (1.1.1-1) unstable; urgency=low + + * New upstream version, with support for XML. + + -- Manoj Srivastava Wed, 3 Jun 1998 15:20:35 -0500 + +psgml (1.0.1-17) frozen unstable; urgency=low + + * Made the install script compile the elc files even when we do not have + make. It is still better when make is available, but this may lead to + a lesser dependency on the make package (even without make, the + package is likely to be compiled). + + -- Manoj Srivastava Sun, 19 Apr 1998 23:36:50 -0500 + +psgml (1.0.1-16) unstable; urgency=low + + * Fixed broken path in psgml-init.el + + -- Manoj Srivastava Thu, 16 Apr 1998 01:03:55 -0500 + +psgml (1.0.1-15) frozen unstable; urgency=low + + * BUG Fix: also remove from emacs20. + * Fix a lintian warning + + -- Manoj Srivastava Wed, 15 Apr 1998 23:02:09 -0500 + +psgml (1.0.1-14) frozen unstable; urgency=low + + * BUG FIX:emacsen.remove: doo -> do + + -- Manoj Srivastava Wed, 15 Apr 1998 22:39:45 -0500 + +psgml (1.0.1-13) frozen unstable; urgency=low + + * Converted to new emacsen standards. closes: Bug#21078 + + -- Manoj Srivastava Mon, 13 Apr 1998 23:39:05 -0500 + +psgml (1.0.1-12) unstable; urgency=low + + * Change the declaration location in accordance with new policy. + + -- Manoj Srivastava Thu, 19 Mar 1998 23:09:54 -0600 + +psgml (1.0.1-11) unstable; urgency=low + + * Made psgml depend on emacs. closes: Bug#19744 + + -- Manoj Srivastava Mon, 16 Mar 1998 14:23:56 -0600 + +psgml (1.0.1-10) unstable; urgency=low + + * Make psgml depend again on sp, and just sp. treied to shorten long + description in the menuentry. + + -- Manoj Srivastava Wed, 11 Mar 1998 14:20:08 -0600 + +psgml (1.0.1-9) unstable; urgency=low + + * Make it conflict with the old jade and sp, and suggest the new jade + package. + + -- Manoj Srivastava Tue, 10 Mar 1998 00:32:06 -0600 + +psgml (1.0.1-8) unstable; urgency=low + + * Mention that the GPL can be found on the file system. + * This fixes all lintian warnings again + + -- Manoj Srivastava Fri, 13 Feb 1998 13:41:46 -0600 + +psgml (1.0.1-7) unstable; urgency=low + + * Fixed old FSF address in copyright file. + * Upgraded to standards version 2.4.0.0 + * This should fix all known lintian reports. + + -- Manoj Srivastava Mon, 9 Feb 1998 14:07:29 -0600 + +psgml (1.0.1-6) unstable; urgency=low + + * Make sure the copyright file is not compressed. closes:Bug#14472 + * Added example customization file to show how psgml can be customized. + + -- Manoj Srivastava Wed, 5 Nov 1997 13:00:42 -0600 + +psgml (1.0.1-5) unstable; urgency=low + + * Modified psgml-parse so that the default-directory is not set to + null. This should fix BUG#11916 + + -- Manoj Srivastava Tue, 19 Aug 1997 15:30:41 -0500 + +psgml (1.0.1-4) unstable; urgency=low + + * Mentioned that psgml is a standard package in XEmacs. + * Made the one line description more explicit. + + -- Manoj Srivastava Fri, 9 May 1997 15:38:00 -0500 + +psgml (1.0.1-3) unstable; urgency=low + + * Also depend on sgml-base + * Added explanation for the dependency to the description + * Added suggestion for other SGML provider packages + + -- Manoj Srivastava Fri, 9 May 1997 15:08:17 -0500 + +psgml (1.0.1-2) unstable; urgency=low + + * Added a menu entry for the HTML documentation. + + -- Manoj Srivastava Thu, 8 May 1997 01:38:46 -0501 + +psgml (1.0.1-1) unstable; urgency=low + + * New upstream Source + * Excerpted changes: + * psgml-parse.el (sgml-modify-dtd): set sgml-current-tree to + sgml-top-tree. Needed by sgml-open-element. + * psgml.el (sgml-mode): modify mode-line-format with subst, don't + replicate the whole format in the code. + * psgml-parse.el (sgml-external-file): Try to find system + identifiers using the sgml-public-map + if sgml-system-identifiers-are-preferred; this way that flag will + have effect even if the sgml-public-map contains `'. + (sgml-final): moved to be defined before use. + * psgml-dtd.el (sgml-parse-parameter-literal): Try to handle + character references to character number above 255 by leaving a + character reference in then parsed entity text. + * psgml-other.el (sgml-set-face-for): Nullify + {after,before}-change-functions as well as (obsolete) + {after,before}-change-function. + + -- Manoj Srivastava Sat, 5 Apr 1997 13:45:15 -0600 + +psgml (1a12-2) unstable; urgency=low + + * Made the priority optional. + + -- Manoj Srivastava Tue, 25 Feb 1997 21:28:41 -0600 + +psgml (1a12-1) unstable; urgency=low + + * Initial Release. + + -- Manoj Srivastava Sun, 16 Feb 1997 00:41:51 -0600 + + --- psgml-1.4.0.orig/debian/common/ChangeLog +++ psgml-1.4.0/debian/common/ChangeLog @@ -0,0 +1,45 @@ +2007-10-09 Manoj Srivastava + + * targets.mk: + srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--patch-1 + fix dependency tree for targets, allow parralel + compilatoin. Many changes, thanks to dot. + +2007-09-20 Manoj Srivastava + + * targets.mk (stamp-clean): + srivasta@debian.org--lenny/skeleton-make-rules--main--0.1--base-0 + make clean not remove zero sized files. removed the part + that cleaned out zero sized files; since there are uses + for zero sized files (like, to nuke out files in + upstream sources and not inflate the diff. Any zero + sized files can still be nuked in the local.mk file. + +2006-10-02 Manoj Srivastava + + * checklibs: + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-15 + New file, to detect if there are unneeded library + dependencies + +2006-10-01 Manoj Srivastava + + * archvars.mk (doit): + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-14 + Add a macro to execute $(shell ...) macos verbosely to + help debugging. + +2006-09-15 Manoj Srivastava + + * targets.mk (stamp-clean): + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-13 + Exclude version control directories from the generic + clean command. + + +2006-08-23 Manoj Srivastava + + * pkgvars.mk (DEB_DISTRIBUTION): + srivasta@debian.org--etch/skeleton-make-rules--main--0.1--patch-6 + Add variable that contains the distribution information + --- psgml-1.4.0.orig/debian/common/archvars.mk +++ psgml-1.4.0/debian/common/archvars.mk @@ -0,0 +1,118 @@ +############################ -*- Mode: Makefile -*- ########################### +## archvars.mk --- +## Author : Manoj Srivastava ( srivasta@golden-gryphon.com ) +## Created On : Sat Nov 15 02:40:56 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Tue Nov 16 23:36:15 2004 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 5 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : calls dpkg-architecture and sets up various arch +## related variables +## +## arch-tag: e16dd848-0fd6-4c0e-ae66-bef20d1f7c63 +## +## 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, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## +############################################################################### + + +DPKG_ARCH := dpkg-architecture + +ifeq ($(strip $(KPKG_ARCH)),um) + MAKING_VIRTUAL_IMAGE:=YES +endif +ifeq ($(strip $(KPKG_ARCH)),xen) + MAKING_VIRTUAL_IMAGE:=YES +endif + +ifneq ($(strip $(CONFIG_UM)),) + MAKING_VIRTUAL_IMAGE:=YES + KPKG_ARCH=um +endif + +ifneq ($(strip $(CONFIG_XEN)),) + MAKING_VIRTUAL_IMAGE:=YES + ifneq ($(strip $(CONFIG_X86_XEN)$(CONFIG_X86_64_XEN)),) + KPKG_SUBARCH=xen + else + KPKG_ARCH=xen + ifeq ($(strip $(CONFIG_XEN_PRIVILEGED_GUEST)),) + KPKG_SUBARCH=xenu + else + KPKG_SUBARCH=xen0 + endif + endif +endif + +ifdef KPKG_ARCH + ifeq ($(strip $(MAKING_VIRTUAL_IMAGE)),) + ifneq ($(CROSS_COMPILE),-) + ha:=-a$(KPKG_ARCH) + endif + endif +endif + +# set the dpkg-architecture vars +export DEB_BUILD_ARCH := $(shell $(DPKG_ARCH) -qDEB_BUILD_ARCH) +export DEB_BUILD_GNU_CPU := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_CPU) +export DEB_BUILD_GNU_SYSTEM:= $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_SYSTEM) +export DEB_BUILD_GNU_TYPE := $(shell $(DPKG_ARCH) -qDEB_BUILD_GNU_TYPE) +export DEB_HOST_ARCH := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH) +export DEB_HOST_ARCH_OS := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH_OS \ + 2>/dev/null|| true) +export DEB_HOST_ARCH_CPU := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_ARCH_CPU \ + 2>/dev/null|| true) +export DEB_HOST_GNU_CPU := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_CPU) +export DEB_HOST_GNU_SYSTEM := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_SYSTEM) +export DEB_HOST_GNU_TYPE := $(shell $(DPKG_ARCH) $(ha) -qDEB_HOST_GNU_TYPE) + +# arrgh. future proofing +ifeq ($(DEB_HOST_GNU_SYSTEM), linux) + DEB_HOST_GNU_SYSTEM=linux-gnu +endif +ifeq ($(DEB_HOST_ARCH_OS),) + ifeq ($(DEB_HOST_GNU_SYSTEM), linux-gnu) + DEB_HOST_ARCH_OS := linux + endif + ifeq ($(DEB_HOST_GNU_SYSTEM), kfreebsd-gnu) + DEB_HOST_ARCH_OS := kfreebsd + endif +endif + +REASON = @if [ -f $@ ]; then \ + echo "====== making $(notdir $@) because of $(notdir $?) ======";\ + else \ + echo "====== making target $@ [new prereqs: $(notdir $?)]======"; \ + fi + +OLDREASON = @if [ -f $@ ]; then \ + echo "====== making $(notdir $@) because of $(notdir $?) ======";\ + else \ + echo "====== making (creating) $(notdir $@) ======"; \ + fi + +LIBREASON = @echo "====== making $(notdir $@)($(notdir $%))because of $(notdir $?)======" + + +# macro outputing $(1) if DEBUG_DEBIAN_RULES is set, and resolving it +# in all cases usage $(call doit,some shell command) +doit = $(if $(DEBUG_DEBIAN_RULES),$(warning DEBUG: $(1)))$(shell $(1)) + +#Local variables: +#mode: makefile +#End: --- psgml-1.4.0.orig/debian/common/automake.mk +++ psgml-1.4.0/debian/common/automake.mk @@ -0,0 +1,37 @@ +############################ -*- Mode: Makefile -*- ########################### +## automake.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:47:23 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Nov 15 02:47:53 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 1 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: 1fabe69b-7cc8-4ecc-9411-bc5906b19857 +## +############################################################################### + +AUTOCONF_VERSION:=$(shell if [ -e configure ]; then \ + grep "Generated automatically using autoconf" \ + configure | sed -e 's/^.*autoconf version //g'; \ + fi) +HAVE_NEW_AUTOMAKE:=$(shell if [ "X$(AUTOCONF_VERSION)" != "X2.13" ]; then \ + echo 'YES' ; fi) + +ifneq ($(strip $(HAVE_NEW_AUTOMAKE)),) + ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_BUILD_GNU_TYPE) + else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) + endif +else + ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += $(DEB_HOST_GNU_TYPE) + else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) + endif +endif --- psgml-1.4.0.orig/debian/common/checklibs +++ psgml-1.4.0/debian/common/checklibs @@ -0,0 +1,74 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# checklibs.sh --- +# Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) +# Created On : Fri Sep 29 15:36:22 2006 +# Created On Node : glaurung.internal.golden-gryphon.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Fri Sep 29 22:53:27 2006 +# Last Machine Used: glaurung.internal.golden-gryphon.com +# Update Count : 43 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: 8ba11489-77fa-45a0-92c4-9c5b162ee119 +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +# Make sure we abort on error +set -e +progname="$(basename \"$0\")" + +trap 'rm -f search_patterns.txt;' ALRM HUP INT PIPE TERM ABRT FPE BUS QUIT SEGV ILL EXIT + +# Find all undefined symbols in all ELF objects in this tree +readelf -s -D -W $(find . -type f -print0 | xargs -0r file | grep " ELF" | \ + awk '{print $1}' | sed -e 's/:$//') | grep UND | grep -v LOCAL | + perl -ple 's/.*\s(\S+)\s*$/\^$1\$/g' | sort -u > search_patterns.txt; + +# Find all the libraries needed in this tree +objdump -T --private-headers $(find . -type f -print0 | xargs -0r file | grep " ELF" | \ + awk '{print $1}' | sed -e 's/:$//') | grep NEEDED | sort -u | awk '{print $2}' | + while read lib; do + # For each library, see where it lives o the file system + LIB= + for library_dir in "/lib" "/usr/lib" $EXTRA_LIBRARY_PATHS; do + if [ -e "$library_dir/$lib" ]; then + LIB="$library_dir/$lib"; + break + fi + done + if [ -z "$LIB" ]; then + echo >&2 "Can't find $lib" + continue + fi + # If we fond the library, find what symbols it defines, and if these symbols + # are some that we need + if readelf -s -D -W $LIB | grep -v UND | perl -ple 's/.*\s(\S+)\s*$/$1/g' | \ + sort -u | grep -q -f search_patterns.txt ; then + # Library provides at least some symbols we need + if [ -n "$DEBUG" ]; then echo "Found $LIB"; fi + else + # Library does not provide any symbols we need + echo "$LIB" ; + fi +done + +# Get rid of the intermediate file +rm -f search_patterns.txt; +exit 0 + --- psgml-1.4.0.orig/debian/common/copt.mk +++ psgml-1.4.0/debian/common/copt.mk @@ -0,0 +1,34 @@ +############################ -*- Mode: Makefile -*- ########################### +## copt.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:48:40 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Nov 15 02:49:07 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 1 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: a0045c20-f1b3-4852-9a4b-1a33ebd7c1b8 +## +############################################################################### + +CC = cc +CFLAGS = -O2 +PREFIX := /usr + +# Policy 10.1 says to make this the default +CFLAGS += -g + +## ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +## endif + +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + STRIP += -s + LDFLAGS += -s + INT_INSTALL_TARGET = install +else + INT_INSTALL_TARGET = install +endif --- psgml-1.4.0.orig/debian/common/debconf.mk +++ psgml-1.4.0/debian/common/debconf.mk @@ -0,0 +1,101 @@ +############################ -*- Mode: Makefile -*- ########################### +## debconf.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) +## Created On : Fri Mar 12 11:11:31 2004 +## Created On Node : glaurung.internal.golden-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Mon Apr 11 13:19:10 2005 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 20 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : helps with using debconf +## +## arch-tag: 32b933a9-05ad-4c03-97a8-8644745b832a +## +############################################################################### + +# The idea behind this scheme is that the maintainer (or whoever's +# building the package for upload to unstable) has to build on a +# machine with po-debconf installed, but nobody else does. + +# When building with po-debconf, a format 1 (no encoding specifications, +# woody-compatible) debian/templates file is generated in the clean target +# and shipped in the source package, but a format 2 (UTF8-encoded, +# woody-incompatible) debian/templates file is generated in binary-arch +# for the binary package only. + +# When building without po-debconf, the binary package simply reuses the +# woody-compatible debian/templates file that was produced by the clean +# target of the maintainer's build. + +# Also, make sure that debian/control has ${debconf-depends} in the +# appropriate Depends: line., and use the following in the binary +# target: +# dpkg-gencontrol -V'debconf-depends=debconf (>= $(MINDEBCONFVER))' +# + +# WARNING!! You need to create the templates.master file before this all works. + +ifeq (,$(wildcard /usr/bin/po2debconf)) + PO2DEBCONF := no + MINDEBCONFVER := 0.5 +else + PO2DEBCONF := yes + MINDEBCONFVER := 1.2.0 +endif + + +# Hack for woody compatibility. This makes sure that the +# debian/templates file shipped in the source package doesn't specify +# encodings, which woody's debconf can't handle. If building on a +# system with po-debconf installed the binary-arch target will +# generate a better version for sarge. Only do this if there is a +# templates.master, or else the debian/templates file can get +# damamged. +ifeq ($(PO2DEBCONF),yes) + ifeq (,$(wildcard debian/templates.master)) +define CREATE_COMPATIBLE_TEMPLATE + echo Not modifying templates +endef + else +define CREATE_COMPATIBLE_TEMPLATE + echo 1 > debian/po/output + po2debconf debian/templates.master > debian/templates + rm -f debian/po/output +endef + endif +else +define CREATE_COMPATIBLE_TEMPLATE + echo Not modifying templates +endef +endif + + +ifeq ($(PO2DEBCONF),yes) + ifeq (,$(wildcard debian/templates.master)) +define INSTALL_TEMPLATE + echo using old template +endef + else +define INSTALL_TEMPLATE + po2debconf debian/templates.master > debian/templates +endef + endif +else +define INSTALL_TEMPLATE + echo using old template +endef +endif + +# the tool podebconf-report-po is also a great friend to have in such +# circumstances +define CHECKPO + @for i in debian/po/*.po; do \ + if [ -f $$i ]; then \ + echo \"Checking: $$i\"; \ + msgmerge -U $$i debian/po/templates.pot; \ + msgfmt -o /dev/null -c --statistics $$i; \ + fi; \ + done +endef --- psgml-1.4.0.orig/debian/common/install_cmds.mk +++ psgml-1.4.0/debian/common/install_cmds.mk @@ -0,0 +1,55 @@ +######################### -*- Mode: Makefile-Gmake -*- ######################## +## install_cmds.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.internal.golden-gryphon.com ) +## Created On : Fri Jun 16 14:40:20 2006 +## Created On Node : glaurung.internal.golden-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Wed Sep 6 11:43:05 2006 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 9 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: a38b6a93-2539-4034-9060-ae94d5c8a071 +## +## 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, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## +############################################################################### + +# install commands +install_file = install -p -o root -g root -m 644 +install_script = install -p -o root -g root -m 755 +install_program= install -p -o root -g root -m 755 +make_directory = install -p -d -o root -g root -m 755 + +define create_md5sum + create_md5sums_fn () { \ + cd $$1 ; \ + find . -type f \ + ! -regex './DEBIAN/.*' \ + ! -regex './etc/.*' $(EXTRA_MD5SUM_EXCLUDE) \ + -printf '%P\0' | LC_ALL=C sort -z \ + | xargs -r0 md5sum > DEBIAN/md5sums ; \ + if [ -z "DEBIAN/md5sums" ] ; then \ + rm -f "DEBIAN/md5sums" ; \ + fi ; \ + } ; \ + create_md5sums_fn +endef + +#Local variables: +#mode: makefile +#End: --- psgml-1.4.0.orig/debian/common/perlvars.mk +++ psgml-1.4.0/debian/common/perlvars.mk @@ -0,0 +1,27 @@ +############################ -*- Mode: Makefile -*- ########################### +## perlvars.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:55:47 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Dec 13 13:50:58 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 3 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: a97a01ba-d08d-404d-aa81-572717c03e6c +## +############################################################################### + +# Perl variables +PERL = /usr/bin/perl + +INSTALLPRIVLIB = $(TMPTOP)/$(shell \ + perl -e 'use Config; print "$$Config{'installprivlib'}\n";') +INSTALLARCHLIB = $(TMPTOP)/$(shell \ + perl -e 'use Config; print "$$Config{'installarchlib'}\n";') +INSTALLVENDORLIB =$(TMPTOP)/$(shell \ + perl -e 'use Config; print "$$Config{'vendorlibexp'}\n";') +CONFIG = INSTALLDIRS=vendor --- psgml-1.4.0.orig/debian/common/pkgvars.mk +++ psgml-1.4.0/debian/common/pkgvars.mk @@ -0,0 +1,95 @@ +############################ -*- Mode: Makefile -*- ########################### +## pkgvars.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 02:56:30 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Thu Jun 15 12:05:46 2006 +## Last Machine Used: glaurung.internal.golden-gryphon.com +## Update Count : 11 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : This is what allows us toseparate out the top level +## targets, by determining which packages needto be built. +## +## arch-tag: 75fcc720-7389-4eaa-a7ac-c556d3eac331 +## +## +## 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, write to the Free Software +## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +## +############################################################################### + +# The maintainer information. +maintainer := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Maintainer: | \ + sed 's/^Maintainer: *//') +email := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Maintainer: | \ + sed -e 's/^Maintainer:[^<]*//') + +# Priority of this version (or urgency, as dchanges would call it) +urgency := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Urgency: | \ + sed 's/^Urgency: *//') + +# Common useful variables +DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | \ + cut -f 2 -d ':')) +DEB_VERSION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ + egrep '^Version:' | cut -f 2 -d ' ')) +DEB_ISNATIVE := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ + perl -ne 'print if (m/^Version:/g && ! m/^Version:.*\-/);')) +DEB_DISTRIBUTION := $(strip $(shell LC_ALL=C dpkg-parsechangelog | \ + egrep '^Distribution:' | cut -f 2 -d ' ')) + +DEB_PACKAGES := $(shell perl -e ' \ + $$/=""; \ + while(<>){ \ + $$p=$$1 if m/^Package:\s*(\S+)/; \ + die "duplicate package $$p" if $$seen{$$p}; \ + $$seen{$$p}++; print "$$p " if $$p; \ + }' debian/control ) + +DEB_INDEP_PACKAGES := $(shell perl -e ' \ + $$/=""; \ + while(<>){ \ + $$p=$$1 if m/^Package:\s*(\S+)/; \ + die "duplicate package $$p" if $$seen{$$p}; \ + $$seen{$$p}++; \ + $$a=$$1 if m/^Architecture:\s*(\S+)/m; \ + next unless ($$a eq "all"); \ + print "$$p " if $$p; \ + }' debian/control ) + +DEB_ARCH_PACKAGES := $(shell perl -e ' \ + $$/=""; \ + while(<>){ \ + $$p=$$1 if m/^Package:\s*(\S+)/; \ + die "duplicate package $$p" if $$seen{$$p}; \ + $$seen{$$p}++; \ + $$c=""; \ + if (/^Architecture:\s*(.*?)\s*$$/sm) { \ + @a = split /\s+/, $$1 }; \ + for my $$b (@a) { \ + next unless ($$b eq "$(DEB_HOST_ARCH)" || \ + $$b eq "any"); \ + $$c="$$p"; \ + } \ + print "$$c " if $$c; \ + }' debian/control ) + +# This package is what we get after removing the psuedo dirs we use in rules +package = $(notdir $@) + +#Local variables: +#mode: makefile +#End: --- psgml-1.4.0.orig/debian/common/targets.mk +++ psgml-1.4.0/debian/common/targets.mk @@ -0,0 +1,432 @@ +############################ -*- Mode: Makefile -*- ########################### +## targets.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 01:10:05 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Tue Oct 9 01:50:58 2007 +## Last Machine Used: anzu.internal.golden-gryphon.com +## Update Count : 95 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : The top level targets mandated by policy, as well as +## their dependencies. +## +## arch-tag: a81086a7-00f7-4355-ac56-8f38396935f4 +## +## 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, write to the Free Software +## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +## +############################################################################### + +####################################################################### +####################################################################### +############### Miscellaneous ############### +####################################################################### +####################################################################### +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +testroot: + @test $$(id -u) = 0 || (echo need root priviledges; exit 1) + +checkpo: + $(CHECKPO) + +# arch-buildpackage likes to call this +prebuild: + +# OK. We have two sets of rules here, one for arch dependent packages, +# and one for arch independent packages. We have already calculated a +# list of each of these packages. + +# In each set, we may need to do things in five steps: configure, +# build, install, package, and clean. Now, there can be a common +# actions to be taken for all the packages, all arch dependent +# packages, all all independent packages, and each package +# individually at each stage. + +########################################################################### +# The current code does a number of things: It ensures that the highest # +# dependency at any stage (usually the -Common target) depends on the # +# stamp-STAGE of the previous stage; so no work on a succeeding stage can # +# start before the previous stage is all done. # +########################################################################### + +########################################################################### +# Next, all targets that have work performed in them do not have stamp # +# files on their own, and thus are not depended on directly by other # +# targets. Instead, they depend on and are depended up by intermediate # +# targets in which no work is done except to create stamp files. Other # +# targets just depend on the stamp files; so the build system does not do # +# work twice -- targets, which are up to date, are not executed again. # +########################################################################### + + +####################################################################### +####################################################################### +############### Configuration ############### +####################################################################### +####################################################################### + +# Work here +CONFIG-common:: testdir + $(REASON) + $(checkdir) + +stamp-arch-conf: CONFIG-common + $(REASON) + $(checkdir) + @echo done > $@ +stamp-indep-conf: CONFIG-common + $(REASON) + $(checkdir) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-arch-conf stamp-indep-conf + +# Work here +CONFIG-arch:: stamp-arch-conf + $(REASON) + $(checkdir) +CONFIG-indep:: stamp-indep-conf + $(REASON) + $(checkdir) + +stamp-configure-arch: CONFIG-arch + $(REASON) + @echo done > $@ +stamp-configure-indep: CONFIG-indep + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-configure-arch stamp-configure-indep + +# Work here +$(patsubst %,CONFIG/%,$(DEB_ARCH_PACKAGES)) :: CONFIG/% : stamp-configure-arch + $(REASON) + $(checkdir) +$(patsubst %,CONFIG/%,$(DEB_INDEP_PACKAGES)) :: CONFIG/% : stamp-configure-indep + $(REASON) + $(checkdir) + +configure-arch-stamp: stamp-configure-arch $(patsubst %,CONFIG/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + @echo done > $@ +configure-indep-stamp: stamp-configure-indep $(patsubst %,CONFIG/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += configure-arch-stamp configure-indep-stamp + +# required +configure-arch: configure-arch-stamp + $(REASON) +configure-indep: configure-indep-stamp + $(REASON) + +stamp-configure: configure-arch configure-indep + $(REASON) + @echo done > $@ + +# required +configure: stamp-configure + $(REASON) + +STAMPS_TO_CLEAN += stamp-configure +####################################################################### +####################################################################### +############### Build ############### +####################################################################### +####################################################################### +# Work here +BUILD-common:: testdir stamp-configure + $(REASON) + $(checkdir) + +stamp-arch-build: BUILD-common + $(REASON) + $(checkdir) + @echo done > $@ +stamp-indep-build: BUILD-common + $(REASON) + $(checkdir) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-arch-build stamp-indep-build + +# sync. Work here +BUILD-arch:: stamp-arch-build + $(REASON) + $(checkdir) +BUILD-indep:: stamp-indep-build + $(REASON) + $(checkdir) + +stamp-build-arch: BUILD-arch + $(REASON) + @echo done > $@ +stamp-build-indep: BUILD-indep + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-build-arch stamp-build-indep + +# Work here +$(patsubst %,BUILD/%,$(DEB_ARCH_PACKAGES)) :: BUILD/% : stamp-build-arch + $(REASON) + $(checkdir) +$(patsubst %,BUILD/%,$(DEB_INDEP_PACKAGES)) :: BUILD/% : stamp-build-indep + $(REASON) + $(checkdir) + +build-arch-stamp: stamp-build-arch $(patsubst %,BUILD/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + @echo done > $@ +build-indep-stamp: stamp-build-indep $(patsubst %,BUILD/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += build-arch-stamp build-indep-stamp + +# required +build-arch: build-arch-stamp + $(REASON) +build-indep: build-indep-stamp + $(REASON) + +stamp-build: build-arch build-indep + $(REASON) + @echo done > $@ + +# required +build: stamp-build + $(REASON) + +STAMPS_TO_CLEAN += stamp-build + +# Work here +POST-BUILD-arch-stamp:: build-arch-stamp + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += POST-BUILD-arch-stamp + +POST-BUILD-indep-stamp:: build-indep-stamp + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += POST-BUILD-indep-stamp +####################################################################### +####################################################################### +############### Install ############### +####################################################################### +####################################################################### +# Work here +INST-common:: testdir stamp-build POST-BUILD-arch-stamp POST-BUILD-indep-stamp + $(checkdir) + $(REASON) + +stamp-arch-inst: INST-common + $(REASON) + $(checkdir) + @echo done > $@ +stamp-indep-inst: INST-common + $(REASON) + $(checkdir) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-arch-inst stamp-indep-inst + +# sync. Work here +INST-arch:: stamp-arch-inst + $(REASON) + $(checkdir) +INST-indep:: stamp-indep-inst + $(REASON) + $(checkdir) + +stamp-install-arch: INST-arch + $(REASON) + @echo done > $@ +stamp-install-indep: INST-indep + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-install-arch stamp-install-indep + +# Work here +$(patsubst %,INST/%,$(DEB_ARCH_PACKAGES)) :: INST/% : testroot stamp-install-arch + $(REASON) + $(checkdir) +$(patsubst %,INST/%,$(DEB_INDEP_PACKAGES)) :: INST/% : testroot stamp-install-indep + $(REASON) + $(checkdir) + +install-arch-stamp: stamp-install-arch $(patsubst %,INST/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + $(checkdir) + @echo done > $@ +install-indep-stamp: stamp-install-indep $(patsubst %,INST/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + $(checkdir) + @echo done > $@ +STAMPS_TO_CLEAN += install-arch-stamp install-indep-stamp + +#required +install-arch: install-arch-stamp + $(REASON) +install-indep: install-indep-stamp + $(REASON) + +stamp-install: install-indep install-arch + $(REASON) + @echo done > $@ + +#required +install: stamp-install + $(REASON) + +STAMPS_TO_CLEAN += stamp-install +####################################################################### +####################################################################### +############### Package ############### +####################################################################### +####################################################################### +# Work here +BIN-common:: testdir testroot stamp-install + $(REASON) + $(checkdir) + +stamp-arch-bin: testdir testroot BIN-common + $(REASON) + $(checkdir) + @echo done > $@ +stamp-indep-bin: testdir testroot BIN-common + $(REASON) + $(checkdir) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-arch-bin stamp-indep-bin + +# sync Work here +BIN-arch:: testroot stamp-arch-bin + $(REASON) + $(checkdir) +BIN-indep:: testroot stamp-indep-bin + $(REASON) + $(checkdir) + +stamp-binary-arch: BIN-arch + $(REASON) + @echo done > $@ +stamp-binary-indep: BIN-indep + $(REASON) + @echo done > $@ +STAMPS_TO_CLEAN += stamp-binary-arch stamp-binary-indep + +# Work here +$(patsubst %,BIN/%,$(DEB_ARCH_PACKAGES)) :: BIN/% : testroot stamp-binary-arch + $(REASON) + $(checkdir) +$(patsubst %,BIN/%,$(DEB_INDEP_PACKAGES)) :: BIN/% : testroot stamp-binary-indep + $(REASON) + $(checkdir) + +binary-arch-stamp: stamp-binary-arch $(patsubst %,BIN/%,$(DEB_ARCH_PACKAGES)) + $(REASON) + $(checkdir) + @echo done > $@ +binary-indep-stamp: stamp-binary-indep $(patsubst %,BIN/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + $(checkdir) + @echo done > $@ +STAMPS_TO_CLEAN += binary-arch-stamp binary-indep-stamp + +# required +binary-arch: binary-arch-stamp + $(REASON) +binary-indep: binary-indep-stamp + $(REASON) + +stamp-binary: binary-indep binary-arch + $(REASON) + @echo done > $@ + +# required +binary: stamp-binary + $(REASON) + @echo arch package = $(DEB_ARCH_PACKAGES) + @echo indep packages = $(DEB_INDEP_PACKAGES) + +STAMPS_TO_CLEAN += stamp-binary +####################################################################### +####################################################################### +############### Clean ############### +####################################################################### +####################################################################### +# Work here +CLN-common:: testdir + $(REASON) + $(checkdir) + +# sync Work here +CLN-arch:: CLN-common + $(REASON) + $(checkdir) +CLN-indep:: CLN-common + $(REASON) + $(checkdir) +# Work here +$(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES)) :: CLEAN/% : CLN-arch + $(REASON) + $(checkdir) +$(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES)) :: CLEAN/% : CLN-indep + $(REASON) + $(checkdir) + +clean-arch: CLN-arch $(patsubst %,CLEAN/%,$(DEB_ARCH_PACKAGES)) + $(REASON) +clean-indep: CLN-indep $(patsubst %,CLEAN/%,$(DEB_INDEP_PACKAGES)) + $(REASON) + +stamp-clean: clean-indep clean-arch + $(REASON) + $(checkdir) + -test -f Makefile && $(MAKE) distclean + -rm -f $(FILES_TO_CLEAN) $(STAMPS_TO_CLEAN) + -rm -rf $(DIRS_TO_CLEAN) + -rm -f core TAGS \ + `find . ! -regex '.*/\.git/.*' ! -regex '.*/\{arch\}/.*' \ + ! -regex '.*/CVS/.*' ! -regex '.*/\.arch-ids/.*' \ + ! -regex '.*/\.svn/.*' \ + \( -name '*.orig' -o -name '*.rej' -o -name '*~' -o \ + -name '*.bak' -o -name '#*#' -o -name '.*.orig' -o \ + -name '.*.rej' -o -name '.SUMS' \) \ + -print` + +clean: stamp-clean + $(REASON) + + +####################################################################### +####################################################################### +############### ############### +####################################################################### +####################################################################### + +.PHONY: CONFIG-common CONFIG-indep CONFIG-arch configure-arch configure-indep configure \ + BUILD-common BUILD-indep BUILD-arch build-arch build-indep build \ + INST-common INST-indep INST-arch install-arch install-indep install \ + BIN-common BIN-indep BIN-arch binary-arch binary-indep binary \ + CLN-common CLN-indep CLN-arch clean-arch clean-indep clean \ + $(patsubst %,CONFIG/%,$(DEB_INDEP_PACKAGES)) $(patsubst %,CONFIG/%,$(DEB_ARCH_PACKAGES)) \ + $(patsubst %,BUILD/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,BUILD/%, $(DEB_ARCH_PACKAGES)) \ + $(patsubst %,INST/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,INST/%, $(DEB_ARCH_PACKAGES)) \ + $(patsubst %,BIN/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,BIN/%, $(DEB_ARCH_PACKAGES)) \ + $(patsubst %,CLEAN/%, $(DEB_INDEP_PACKAGES)) $(patsubst %,CLEAN/%, $(DEB_ARCH_PACKAGES)) \ + implode explode prebuild checkpo + +#Local variables: +#mode: makefile +#End: --- psgml-1.4.0.orig/debian/control +++ psgml-1.4.0/debian/control @@ -0,0 +1,42 @@ +Source: psgml +Section: text +Homepage: http://sourceforge.net/projects/psgml/ +Priority: optional +Maintainer: Neil Roeth +Standards-Version: 3.9.8.0 +Build-Depends-Indep: texinfo, sharutils + + +Package: psgml +Architecture: all +Depends: ucf (>= 0.08), emacs | emacs-gtk | emacs-lucid | emacs-nox | emacsen, sgml-base, sgml-data +Recommends: opensp +Suggests: debiandoc-sgml, linuxdoc-sgml, make, w3c-dtd-xhtml, w3-dtd-mathml +Description: Emacs major mode for editing SGML documents + PSGML is a major mode for the editor Emacs used for editing SGML + documents. It contains a simple SGML parser and can work with any + DTD. (The most popular nowadays are the HTML DTDs. This package + turns your emacs into the one of most powerful HTML editors and will + be ultimately flexible as well, since you could upgrade your editor + by just installing new DTDs). Functions provided includes menus and + commands for inserting tags with only the contextually valid tags, + identification of structural errors, editing of attribute values in a + separate window with information about types and defaults, and + structure based editing. + . + Since psgml parses the DTD to allow you to edit SGML documents, you do + need to have the DTDs installed in order to use psgml. Since psgml + installs itself as an HTML mode in Emacs, it depends on sgml-data. Some + other packages which also provide SGML DTDs are suggested, like + debiandoc-sgml and linuxdoc-sgml. + . + SGML, a language for encoding the structure of a document, is an ISO + standard: ISO 8879:1986 "Information processing - Text and office + systems - Standard Generalized Markup Language (SGML)". + . + Psgml is a standard package for XEmacs, and thus this package does not + install itself for XEmacsen. + . + The official home page has not been updated since 2005. The latest version + of this package was built from an unofficial version at + --- psgml-1.4.0.orig/debian/copyright +++ psgml-1.4.0/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Manoj Srivastava srivasta@debian.org on +Sun, 16 Feb 1997 00:41:51 -0600. + +It was downloaded from http://sourceforge.net/projects/psgml/ + +Copyright: + +the GNU Emacs lisp library, PSGML +# Copyright (C) 1996 Karl Eichwalder, GPL + +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. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + A copy of the GNU General Public License is also available at + . You may also obtain + it by writing to the Free Software Foundation, Inc., 51 Franklin + St, Fifth Floor, Boston, MA 02110-1301 USA + + + The debian specific changes are Copyright (c) 1997 Manoj Srivastava, and + distributed under the terms of the Artistic License. + + The Artistic License is available on Debian systems in the file + /usr/share/common-licenses/Artistic. + + +Manoj Srivastava +arch-tag: d4250e44-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?2J)I +M"/Y"TC=#\%=4O`RQ7TO29`C^LJBGAL@?B1(90K^1A,80_!U5$4/L]Y)&&(*_ +M)0)@"/U!TO="\$^2>!>"?Z'*7(C]5=+=0O#/DJ@6@O^0%+,0_!N1PT+H[U3M +M"K$?4)DKQ/XGB5@A^"^J4(78OR7]*03_2<2E$/J/I!V%X'^),!1";PH;\H#S +MMEC4V'@_!GOE*[UM<$"$IQ=>VS8Z*';-&X:>(K!?9"5AET1@6N,A#Y98A(6. +M2):'?2R"P^*4D@DM3^$1D5LZ\XB`H\+N1C1&0"%ADM#6\VF"!@IJ!P2[(?)? +MI5\IHMH:^@K!"I%E>1"+,$!!5FS6B&1L`AW-6*B5F$A_'"FO=Y@NX^4BA$/P%MNR8) +M*.QJR'8-"+O&#&VYWT_@&T68GO*$#0_2O86!X^MY/4O++`R$GE"W*/$ +M/6H3J99F2"T-2;4T1&KIFG3,&CEF1CIFAAR3D0R3R9)\),N$YHI,6LHG3?() +M2OD$23ZSDU,%R:JNJW/W0M<*Z("-]E%XD.P1H>*.PO8 +M5H\3P\$7?(M\-_[/_#!KB71D>'=D!TN^D"]BCZX6U;WUUQT?W-4&*S8E9?>TWKU +JDI>\Y"4O>\I*7O.0E+WEI#Z3_`UA-<7H`<`,` +` +end --- psgml-1.4.0.orig/debian/docentry +++ psgml-1.4.0/debian/docentry @@ -0,0 +1,22 @@ +Document: psgml +Title: PSGML: A Emacs major mode for SGML. +Author: Lennart Staflin +Abstract: SGML is a major mode for editing SGML documents. + It contains a simple SGML parser and can work with any DTD. + (The most popular nowadays are the HTML DTD's. PSGML can turn your + emacs into the one of most powerful HTML editors and will be + ultimately flexible as well, since you could upgrade your editor by + just installing new DTD's). Functions provided includes menus and + commands for inserting tags with only the contextually valid tags, + identification of structural errors, editing of attribute values in + a separate window with information about types and defaults, and + structure based editing. + SGML, a language for encoding the structure of a document, is an ISO + standard: ISO 8879:1986 'Information processing - Text and office + systems - Standard Generalized Markup Language (SGML)'. +Section: Editors + +Format: HTML +Index: /usr/share/doc/psgml/index.html +Files: /usr/share/doc/psgml/*.html + --- psgml-1.4.0.orig/debian/emacsen.install +++ psgml-1.4.0/debian/emacsen.install @@ -0,0 +1,119 @@ +#!/bin/bash +# -*- Mode: Sh -*- +# emacsen.install --- +# Author : Manoj Srivastava ( srivasta@tiamat.datasync.com ) +# Created On : Fri Apr 3 14:39:59 1998 +# Created On Node : tiamat.datasync.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Sat Dec 3 15:15:31 2005 +# Last Machine Used: glaurung.internal.golden-gryphon.com +# Update Count : 48 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: 4d6d66e0-840b-46a1-84ba-6f8f48ea548e +# + +set -e + +FLAVOUR=$1 +PACKAGE="=P" +VERSION="=V" + +if [ "X$FLAVOUR" = "X" ]; then + echo Need argument to determine FLAVOUR of emacs; + exit 1 +fi + +if [ "X$PACKAGE" = "X" ]; then + echo Internal error: need package name; + exit 1; +fi + +if [ "X$VERSION" = "X" ]; then + echo Internal error: need package version; + exit 1; +fi + +ELDIR=/usr/share/emacs/site-lisp/$PACKAGE +ELCDIR=/usr/share/$FLAVOUR/site-lisp/$PACKAGE +STARTDIR=/etc/$FLAVOUR/site-start.d +INFO_FILES="psgml-api.info psgml.info"; +STARTFILE="$PACKAGE-init.el"; +STAMPFILE=psgml-api.elc + +# Darn it, this may well change. +EMACSB="$FLAVOUR -batch -l psgml-maint.el"; + +case "$FLAVOUR" in + emacs25 | emacs24) + echo -n "install/$PACKAGE: Byte-compiling for $FLAVOUR..." + if [ -d $ELCDIR ]; then + if [ -e "${ELCDIR}/${STAMPFILE}" ]; then + echo "${PACKAGE} files already compiled in ${ELCDIR}." + exit 0 + else + rm -f $ELCDIR/install.log; + find $ELCDIR -type f -name \*.elc -exec rm -f {} \; || true + rmdir --ignore-fail-on-non-empty $ELCDIR + fi + fi + if [ ! -d $ELCDIR ]; then + install -m 755 -d $ELCDIR + fi + LOG=`tempfile`; + trap "test -f $LOG && mv -f $LOG $ELCDIR/install.log > /dev/null 2>&1" exit + cd $ELDIR + if [ -x /usr/bin/autoconf ]; then + echo rm -f config.status >> $LOG 2>&1; + rm -f config.status + ./configure --prefix=/usr >> $LOG 2>&1; + else + cp Makefile-el Makefile + fi + # if we do not have make, well, we are hosed. + if [ -x /usr/bin/make ]; then + make clean >> $LOG; + (make EMACS=$FLAVOUR lispdir=$ELCDIR) >> $LOG 2>&1; + set X *.elc + shift + for file + do + echo install -m 644 $file $ELCDIR >> $LOG; + install -m 644 $file $ELCDIR; + done + make clean >> $LOG; + else + echo $EMACSB -f psgml-compile-files > $LOG; + $EMACSB -f psgml-compile-files + set X *.elc + shift + for file + do + echo install -m 644 $file $ELCDIR >> $LOG; + install -m 644 $file $ELCDIR; + echo rm -f $file >> $LOG; + rm -f $file; + done + fi + mv -f $LOG $ELCDIR/install.log; + chmod 644 $ELCDIR/install.log; + sed -e "s|=F|/usr/share/$FLAVOUR/site-lisp/$PACKAGE|" \ + $STARTFILE > $ELCDIR/$STARTFILE + install -p -d -o root -g root -m 755 $STARTDIR + ucf $ELCDIR/$STARTFILE $STARTDIR/50$STARTFILE + ucfr $PACKAGE $STARTDIR/50$STARTFILE + echo " done." + ;; + *) + echo "install/$PACKAGE: Ignoring emacsen flavor $FLAVOUR." + ;; +esac + +exit 0 + + +### Local Variables: +### mode: shell-script +### End: --- psgml-1.4.0.orig/debian/emacsen.remove +++ psgml-1.4.0/debian/emacsen.remove @@ -0,0 +1,69 @@ +#! /bin/bash +# -*- Mode: Sh -*- +# emacsen.remove --- +# Author : Manoj Srivastava ( srivasta@tiamat.datasync.com ) +# Created On : Mon Apr 13 01:38:03 1998 +# Created On Node : tiamat.datasync.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Mon Feb 16 21:13:32 2004 +# Last Machine Used: glaurung.internal.golden-gryphon.com +# Update Count : 18 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: b8aad7ae-bfac-4637-83bb-972ad4de1062 +# + + +set -e + +FLAVOUR=$1 +PACKAGE="=P" +VERSION="=V" + +if [ "X$FLAVOUR" = "X" ]; then + echo Need argument to determine FLAVOUR of emacs; + exit 1 +fi + +if [ "X$PACKAGE" = "X" ]; then + echo Internal error: need package name; + exit 1; +fi + +if [ "X$VERSION" = "X" ]; then + echo Internal error: need package version; + exit 1; +fi + + +ELDIR=/usr/share/emacs/site-lisp/$PACKAGE +ELCDIR=/usr/share/$FLAVOUR/site-lisp/$PACKAGE/ +EFLAGS="-batch -q -l load-path-hack.el -f batch-byte-compile" +INFO_FILES="psgml-api.info psgml.info"; +STARTDIR=/etc/$FLAVOUR/site-start.d +STARTFILE="$PACKAGE-init.el"; + +case $FLAVOUR in + emacs19 | emacs20 | emacs) + echo "remove/$PACKAGE: Ignoring emacsen flavor $FLAVOUR." + ;; + emacs21 | emacs22 | emacs23 | emacs24 | emacs25 | emacs-snapshot) + echo -n "remove/$PACKAGE: Removing for $FLAVOUR..." + if [ -d $ELCDIR ]; then + rm -rf $ELCDIR + fi + echo " done." + ;; + *) + echo "remove/$PACKAGE: Ignoring emacsen flavor $FLAVOUR." + ;; +esac + +exit 0 + +### Local Variables: +### mode: shell-script +### End: + --- psgml-1.4.0.orig/debian/example-customization.el +++ psgml-1.4.0/debian/example-customization.el @@ -0,0 +1,57 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;; -*- Mode: Emacs-Lisp -*- ;;;;;;;;;;;;;;;;;;;;;;;;;; +;; example-customization.el --- +;; Author : Manoj Srivastava ( srivasta@tiamat.datasync.com ) +;; Created On : Wed Nov 5 12:56:18 1997 +;; Created On Node : tiamat.datasync.com +;; Last Modified By : Manoj Srivastava +;; Last Modified On : Sat Dec 6 18:08:18 2003 +;; Last Machine Used: glaurung.green-gryphon.com +;; Update Count : 2 +;; Status : Unknown, Use with caution! +;; HISTORY : +;; Description : +;; arch-tag: dd83c1e3-1db5-46cd-9589-9659abe9221e +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + + +(setq-default sgml-set-face t) +;; +;; Faces. +;; +(make-face 'sgml-comment-face) +(make-face 'sgml-doctype-face) +(make-face 'sgml-end-tag-face) +(make-face 'sgml-entity-face) +(make-face 'sgml-ignored-face) +(make-face 'sgml-ms-end-face) +(make-face 'sgml-ms-start-face) +(make-face 'sgml-pi-face) +(make-face 'sgml-sgml-face) +(make-face 'sgml-short-ref-face) +(make-face 'sgml-start-tag-face) + +(set-face-foreground 'sgml-comment-face "dark green") +(set-face-foreground 'sgml-doctype-face "maroon") +(set-face-foreground 'sgml-end-tag-face "blue2") +(set-face-foreground 'sgml-entity-face "red2") +(set-face-foreground 'sgml-ignored-face "maroon") +(set-face-background 'sgml-ignored-face "gray90") +(set-face-foreground 'sgml-ms-end-face "maroon") +(set-face-foreground 'sgml-ms-start-face "maroon") +(set-face-foreground 'sgml-pi-face "maroon") +(set-face-foreground 'sgml-sgml-face "maroon") +(set-face-foreground 'sgml-short-ref-face "goldenrod") +(set-face-foreground 'sgml-start-tag-face "blue2") + +(setq-default sgml-markup-faces + '((comment . sgml-comment-face) + (doctype . sgml-doctype-face) + (end-tag . sgml-end-tag-face) + (entity . sgml-entity-face) + (ignored . sgml-ignored-face) + (ms-end . sgml-ms-end-face) + (ms-start . sgml-ms-start-face) + (pi . sgml-pi-face) + (sgml . sgml-sgml-face) + (short-ref . sgml-short-ref-face) + (start-tag . sgml-start-tag-face))) --- psgml-1.4.0.orig/debian/local-vars.mk +++ psgml-1.4.0/debian/local-vars.mk @@ -0,0 +1,60 @@ +############################ -*- Mode: Makefile -*- ########################### +## local-vars.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 10:43:00 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Manoj Srivastava +## Last Modified On : Sat Dec 13 14:43:12 2003 +## Last Machine Used: glaurung.green-gryphon.com +## Update Count : 15 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +## arch-tag: 1a76a87e-7af5-424a-a30d-61660c8f243e +## +############################################################################### + +# Location of the source dir +SRCTOP := $(shell if [ "$$PWD" != "" ]; then echo $$PWD; else pwd; fi) + +TMPTOP = $(SRCTOP)/debian/$(package) +LINTIANDIR = $(TMPTOP)/usr/share/lintian/overrides +DOCBASE = $(TMPTOP)/usr/share/doc-base +MENUDIR = $(TMPTOP)/usr/lib/menu/ +ETCDIR = $(TMPTOP)/usr/share/emacs/site-lisp/etc +BINDIR = $(TMPTOP)/usr/bin +SBINDIR = $(TMPTOP)/usr/sbin + +# Man Pages +MANDIR = $(TMPTOP)/usr/share/man +MAN1DIR = $(MANDIR)/man1 +MAN3DIR = $(MANDIR)/man3 +MAN5DIR = $(MANDIR)/man5 +MAN7DIR = $(MANDIR)/man7 +MAN8DIR = $(MANDIR)/man8 + +INFODIR = $(TMPTOP)/usr/share/info +DOCTOP = $(TMPTOP)/usr/share/doc +DOCDIR = $(DOCTOP)/$(package) + +LIBDIR = $(TMPTOP)/usr/share/sgml/charsets + +LISPDIR = $(TMPTOP)/usr/share/emacs/site-lisp/$(package) +COMPILEDIR= $(TMPTOP)/usr/lib/emacsen-common/packages/ +STARTFILE = $(package)-init.el + + +FILES_TO_CLEAN = debian/files debian/substvars config.cache config.log \ + config.status Makefile +STAMPS_TO_CLEAN = +DIRS_TO_CLEAN = debian/html debian/cdtd + +define checkdir + @test -f debian/rules -a -f psgml.el || \ + (echo Not in correct source directory; exit 1) +endef + +define checkroot + @test $$(id -u) = 0 || (echo need root priviledges; exit 1) +endef --- psgml-1.4.0.orig/debian/local.mk +++ psgml-1.4.0/debian/local.mk @@ -0,0 +1,121 @@ +############################ -*- Mode: Makefile -*- ########################### +## local.mk --- +## Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +## Created On : Sat Nov 15 10:42:10 2003 +## Created On Node : glaurung.green-gryphon.com +## Last Modified By : Neil Roeth +## Last Modified On : Thursday May 21, 2009 +## Status : Unknown, Use with caution! +## HISTORY : +## Description : +## +############################################################################### + +CONFIG-indep:: stamp-conf +BUILD/psgml:: build/psgml +INST/psgml:: install/psgml +BIN/psgml:: binary/psgml + +testdir: + $(checkdir) + +stamp-conf: + $(REASON) + -test ! -d debian/cdtd && $(MAKE) -f debian/rules explode + ./configure --verbose --prefix=$(PREFIX) --infodir=/usr/share/info \ + --sysconfdir=/etc $(confflags) + touch $@ + +STAMPS_TO_CLEAN += stamp-conf + +implode: + $(REASON) + $(checkdir) + -test -d debian/cdtd && (cd debian && \ + tar zfc debian.tar.gz cdtd && \ + uuencode debian.tar.gz debian.tar.gz > debian.uue \ + && rm -f debian.tar.gz ) +explode: + $(REASON) + $(checkdir) + -test ! -d debian/cdtd && (cd debian && uudecode debian.uue \ + && tar zfx debian.tar.gz && rm -f debian.tar.gz ) + +CLEAN/psgml:: + $(MAKE) clean || true + -rm -rf $(TMPTOP) + +build/psgml: stamp-build-gnus + +stamp-build-gnus: + $(checkdir) + $(REASON) + bash -n debian/postinst + bash -n debian/prerm + bash -n debian/postrm + bash -n debian/emacsen.remove + bash -n debian/emacsen.install + mkdir debian/html + (cd debian/html; \ + makeinfo --html --split=chapter -v -o . ../../psgml.texi) + touch stamp-build-gnus + +STAMPS_TO_CLEAN += stamp-build-gnus + +install/psgml: testroot + $(REASON) + $(checkdir) + rm -rf $(TMPTOP) $(TMPTOP).deb + $(make_directory) $(INFODIR) + $(make_directory) $(LISPDIR) +# $(make_directory) $(STARTDIRS) + $(make_directory) $(DOCDIR) + $(make_directory) $(DOCBASE) + $(make_directory) $(COMPILEDIR)/install + $(make_directory) $(COMPILEDIR)/remove + $(make_directory) $(LIBDIR) + $(install_file) *.el $(LISPDIR) + $(install_file) Makefile.in $(LISPDIR) + cp -p Makefile Makefile-el + $(install_file) Makefile-el $(LISPDIR) + $(install_file) configure $(LISPDIR) + chmod 0755 $(LISPDIR)/configure + $(install_file) debian/$(STARTFILE) $(LISPDIR) + $(install_program) install-sh $(LISPDIR) + $(install_file) debian/psgml-html.el $(LISPDIR)/ + $(install_file) psgml.info $(INFODIR)/ + $(install_file) psgml-api.info $(INFODIR)/ + $(install_file) iso88591.map $(LIBDIR) + (cd debian; tar cf - cdtd) | (cd $(LIBDIR); tar xf -) + $(install_file) README.psgml $(DOCDIR)/README.psgml + $(install_file) psgml.ps $(DOCDIR)/psgml.ps + $(install_file) ChangeLog $(DOCDIR)/changelog + $(install_file) debian/changelog $(DOCDIR)/changelog.Debian + $(install_file) debian/example-customization.el $(DOCDIR)/ + $(install_file) debian/README.debian $(DOCDIR) + $(install_file) debian/Example $(DOCDIR)/ + gzip -9nfqr $(INFODIR)/ + gzip -9nfqr $(DOCDIR)/ +# Make sure the copyright file is not compressed + $(install_file) debian/copyright $(DOCDIR)/copyright + $(install_file) debian/html/*.html $(DOCDIR)/ + $(install_file) debian/docentry $(DOCBASE)/$(package) + sed -e 's/=P/$(package)/g' -e 's/=V/$(DEB_VERSION)/g' \ + debian/emacsen.install > $(COMPILEDIR)/install/$(package) + sed -e 's/=P/$(package)/g' -e 's/=V/$(DEB_VERSION)/g' \ + debian/emacsen.remove > $(COMPILEDIR)/remove/$(package) + chmod 0755 $(COMPILEDIR)/install/$(package) \ + $(COMPILEDIR)/remove/$(package) + +binary/psgml: testroot + $(REASON) + $(checkdir) + $(make_directory) $(TMPTOP)/DEBIAN + $(install_program) debian/postinst $(TMPTOP)/DEBIAN/postinst + $(install_program) debian/prerm $(TMPTOP)/DEBIAN/prerm + $(install_program) debian/postrm $(TMPTOP)/DEBIAN/postrm + dpkg-gencontrol -p$(package) -isp -P$(TMPTOP) + $(create_md5sum) $(TMPTOP) + chown -R root:root $(TMPTOP) + chmod -R u+w,go=rX $(TMPTOP) + dpkg --build $(TMPTOP) .. --- psgml-1.4.0.orig/debian/menuentry +++ psgml-1.4.0/debian/menuentry @@ -0,0 +1,16 @@ +?package(psgml):needs="dwww" section="Editors" title="PSGML" \ + longtitle="A Emacs major mode for SGML." \ + description="SGML is a major mode for editing SGML documents. \ + It contains a simple SGML parser and can work with any DTD. \ + (The most popular nowadays are the HTML DTD's. PSGML can turn your \ + emacs into the one of most powerful HTML editors and will be \ + ultimately flexible as well, since you could upgrade your editor by \ + just installing new DTD's). Functions provided includes menus and \ + commands for inserting tags with only the contextually valid tags, \ + identification of structural errors, editing of attribute values in \ + a separate window with information about types and defaults, and \ + structure based editing. \ + SGML, a language for encoding the structure of a document, is an ISO \ + standard: ISO 8879:1986 'Information processing - Text and office \ + systems - Standard Generalized Markup Language (SGML)'." \ + command="/usr/share/doc/psgml/psgml_toc.html" --- psgml-1.4.0.orig/debian/postinst +++ psgml-1.4.0/debian/postinst @@ -0,0 +1,176 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# postinst --- +# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +# Created On : Fri Nov 14 11:25:07 2003 +# Created On Node : glaurung.green-gryphon.com +# Last Modified By : Neil Roeth (neil@debian.org) +# Last Modified On : Saturday, May 23, 2009 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# + +# Abort if any command returns an error value +set -e + +package_name=psgml + +if [ -z "$package_name" ]; then + print >&2 "Internal Error. Please report a bug." + exit 1; +fi + +# This script is called as the last step of the installation of the +# package. All the package's files are in place, dpkg has already done +# its automatic conffile handling, and all the packages we depend of +# are already fully installed and configured. +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + # Configure this package. If the package must prompt the user for + # information, do it here. + + + # Tell ucf that the file in /usr/share/foo is the latest + # maintainer version, and let it handle how to manage the real + # confuguration file in /etc. This is how a static configuration + # file can be handled: + ##:if which ucf >/dev/null 2>&1; then + ##: ucf /usr/share/${package_name}/configuration /etc/${package_name}.conf + ##:fi + + ### We could also do this on the fly. The following is from Tore + ### Anderson: + + #. /usr/share/debconf/confmodule + + ### find out what the user answered. + # db_get foo/run_on_boot + # run_on_boot=$RET + # db_stop + + ### safely create a temporary file to generate our suggested + ### configuration file. + # tempfile=`tempfile` + # cat << _eof > $tempfile + ### Configuration file for Foo. + + ### this was answered by you, the user in a debconf dialogue + # RUNONBOOT=$run_on_boot + + ### this was not, as it has a sane default value. + # COLOUROFSKY=blue + + #_eof + + ### Note that some versions of debconf do not release stdin, so + ### the following invocation of ucf may not work, since the stdin + ### is never coneected to ucfr. + + ### now, invoke ucf, which will take care of the rest, and ask + ### the user if he wants to update his file, if it is modified. + #ucf $tempfile /etc/foo.conf + + ### done! now we'll just clear up our cruft. + #rm -f $tempfile + + + + # There are three sub-cases: + if test "${2+set}" != set; then + # We're being installed by an ancient dpkg which doesn't remember + # which version was most recently configured, or even whether + # there is a most recently configured version. + : + + elif test -z "$2" || test "$2" = ""; then + # The package has not ever been configured on this system, or was + # purged since it was last configured. + : + + else + # Version $2 is the most recently configured version of this + # package. + : + # People upgrading from older versions should get byte compiled + if dpkg --compare-versions "1.3.2-4" gt "$2"; then + if [ -e /usr/share/emacs21/site-lisp/$package_name/psgml-api.elc ]; then + rm -f /usr/share/emacs21/site-lisp/$package_name/psgml-api.elc + fi + fi + + fi + + # Install emacs lisp files + if [ -x /usr/lib/emacsen-common/emacs-package-install ]; then + /usr/lib/emacsen-common/emacs-package-install $package_name + fi + + ;; + abort-upgrade) + # Back out of an attempt to upgrade this package FROM THIS VERSION + # to version $2. Undo the effects of "prerm upgrade $2". + : + + ;; + abort-remove) + if test "$2" != in-favour; then + echo "$0: undocumented call to \`postinst $*'" 1>&2 + exit 0 + fi + # Back out of an attempt to remove this package, which was due to + # a conflict with package $3 (version $4). Undo the effects of + # "prerm remove in-favour $3 $4". + : + + ;; + abort-deconfigure) + if test "$2" != in-favour || test "$5" != removing; then + echo "$0: undocumented call to \`postinst $*'" 1>&2 + exit 0 + fi + # Back out of an attempt to deconfigure this package, which was + # due to package $6 (version $7) which we depend on being removed + # to make way for package $3 (version $4). Undo the effects of + # "prerm deconfigure in-favour $3 $4 removing $6 $7". + : + + ;; + *) echo "$0: didn't understand being called with \`$1'" 1>&2 + exit 0;; +esac + +exit 0 --- psgml-1.4.0.orig/debian/postrm +++ psgml-1.4.0/debian/postrm @@ -0,0 +1,187 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# postrm --- +# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +# Created On : Fri Nov 14 12:22:20 2003 +# Created On Node : glaurung.green-gryphon.com +# Last Modified By : Manoj Srivastava +# Last Modified On : Sat Dec 6 18:27:05 2003 +# Last Machine Used: glaurung.green-gryphon.com +# Update Count : 10 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# arch-tag: 56802d51-d980-4822-85c0-28fce19ed430 +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + + +# Abort if any command returns an error value +set -e + +package_name=psgml + +if [ -z "$package_name" ]; then + print >&2 "Internal Error. Please report a bug." + exit 1; +fi + +# This script is called twice during the removal of the package; once +# after the removal of the package's files from the system, and as +# the final step in the removal of this package, after the package's +# conffiles have been removed. +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + +# Ensure the menu system is updated +#[ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus + +case "$1" in + remove) + # This package is being removed, but its configuration has not yet + # been purged. + : + + # Remove diversion + ##: dpkg-divert --package ${package_name} --remove --rename \ + ##: --divert /usr/bin/other.real /usr/bin/other + + # ldconfig is NOT needed during removal of a library, only during + # installation + if [ -d /usr/share/emacs/site-lisp/psgml ]; then + rm -rf /usr/share/emacs/site-lisp/$package_name + fi + ;; + purge) + # This package has previously been removed and is now having + # its configuration purged from the system. + : + + # we mimic dpkg as closely as possible, so we remove configuration + # files with dpkg backup extensions too: + ### Some of the following is from Tore Anderson: + ##: for ext in '~' '%' .bak .dpkg-tmp .dpkg-new .dpkg-old .dpkg-dist; do + ##: rm -f /etc/${package_name}.conf$ext + ##: done + + # remove the configuration file itself + ##: rm -f /etc/${package_name}.conf + + # and finally clear it out from the ucf database + ##: ucf --purge /etc/${package_name}.conf + + # Remove symlinks from /etc/rc?.d + ##: update-rc.d ${package_name} remove >/dev/null + + ##: if [ -e /usr/share/debconf/confmodule ]; then + ##: # Purge this package's data from the debconf database. + ##: . /usr/share/debconf/confmodule + ##: db_purge + ##: fi + + # This package has previously been removed and is now having + # its configuration purged from the system. + for flavour in xemacs21 emacs20 emacs21 emacs22 emacs23 emacs24 emacs25 emacs-snapshot; do + FLAVOURDIR=/etc/$flavour; + STARTDIR=$FLAVOURDIR/site-start.d; + STARTFILE="${package_name}-init.el"; + if [ -e "$STARTDIR/50$STARTFILE" ]; then + echo "Removing $STARTDIR/50$STARTFILE" + if which ucf >/dev/null; then + ucf --purge "$STARTDIR/50$STARTFILE" + fi + if which ucfr >/dev/null; then + ucfr --purge psgml "$STARTDIR/50$STARTFILE" + fi + rm -f "$STARTDIR/50$STARTFILE" + fi + if [ -d "$STARTDIR" ]; then + rmdir --ignore-fail-on-non-empty "$STARTDIR" + fi + if [ -d "$FLAVOURDIR" ]; then + rmdir --ignore-fail-on-non-empty "$FLAVOURDIR" + fi + done + + ;; + disappear) + if test "$2" != overwriter; then + echo "$0: undocumented call to \`postrm $*'" 1>&2 + exit 0 + fi + # This package has been completely overwritten by package $3 + # (version $4). All our files are already gone from the system. + # This is a special case: neither "prerm remove" nor "postrm remove" + # have been called, because dpkg didn't know that this package would + # disappear until this stage. + : + + ;; + upgrade) + # About to upgrade FROM THIS VERSION to version $2 of this package. + # "prerm upgrade" has been called for this version, and "preinst + # upgrade" has been called for the new version. Last chance to + # clean up. + : + + ;; + failed-upgrade) + # About to upgrade from version $2 of this package TO THIS VERSION. + # "prerm upgrade" has been called for the old version, and "preinst + # upgrade" has been called for this version. This is only used if + # the previous version's "postrm upgrade" couldn't handle it and + # returned non-zero. (Fix old postrm bugs here.) + : + + ;; + abort-install) + # Back out of an attempt to install this package. Undo the effects of + # "preinst install...". There are two sub-cases. + : + + if test "${2+set}" = set; then + # When the install was attempted, version $2's configuration + # files were still on the system. Undo the effects of "preinst + # install $2". + : + + else + # We were being installed from scratch. Undo the effects of + # "preinst install". + : + + fi ;; + abort-upgrade) + # Back out of an attempt to upgrade this package from version $2 + # TO THIS VERSION. Undo the effects of "preinst upgrade $2". + : + + ;; + *) echo "$0: didn't understand being called with \`$1'" 1>&2 + exit 0;; +esac + +exit 0 --- psgml-1.4.0.orig/debian/prerm +++ psgml-1.4.0/debian/prerm @@ -0,0 +1,113 @@ +#! /bin/sh +# -*- Mode: Sh -*- +# prerm --- +# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) +# Created On : Fri Nov 14 12:16:39 2003 +# Created On Node : glaurung.green-gryphon.com +# Last Modified By : Neil Roeth (neil@debian.org) +# Last Modified On : Saturday, May 23, 2009 +# Status : Unknown, Use with caution! +# HISTORY : +# Description : +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# + +# Abort if any command returns an error value +set -e + +package_name=psgml + +if [ -z "$package_name" ]; then + print >&2 "Internal Error. Please report a bug." + exit 1; +fi + + +# This script is called as the first step in removing the package from +# the system. This includes cases where the user explicitly asked for +# the package to be removed, upgrade, automatic removal due to conflicts, +# and deconfiguration due to temporary removal of a depended-on package. + +case "$1" in + remove) + # This package about to be removed. + : + + # Get rid of the byte compiled files + if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then + /usr/lib/emacsen-common/emacs-package-remove $package_name + fi + + if [ -L /usr/doc/$package_name ]; then + rm -f /usr/doc/$package_name + fi + + # There are two sub-cases: + if test "${2+set}" = set; then + if test "$2" != in-favour; then + echo "$0: undocumented call to \`prerm $*'" 1>&2 + exit 0 + fi + # We are being removed because of a conflict with package $3 + # (version $4), which is now being installed. + : + + else + # The package is being removed in its own right. + : + + fi ;; + deconfigure) + if test "$2" != in-favour || test "$5" != removing; then + echo "$0: undocumented call to \`prerm $*'" 1>&2 + exit 0 + fi + # Package $6 (version $7) which we depend on is being removed due + # to a conflict with package $3 (version $4), and this package is + # being deconfigured until $6 can be reinstalled. + : + + ;; + upgrade) + # Prepare to upgrade FROM THIS VERSION of this package to version $2. + : + + # Get rid of the byte compiled files + if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then + /usr/lib/emacsen-common/emacs-package-remove $package_name + fi + if [ -L /usr/doc/$package_name ]; then + rm -f /usr/doc/$package_name + fi + + ;; + failed-upgrade) + # Prepare to upgrade from version $2 of this package TO THIS VERSION. + # This is only used if the old version's prerm couldn't handle it, + # and returned non-zero. (Fix old prerm bugs here.) + : + # Get rid of the byte compiled files + if [ -x /usr/lib/emacsen-common/emacs-package-remove ]; then + /usr/lib/emacsen-common/emacs-package-remove $package_name + fi + + ;; + *) echo "$0: didn't understand being called with \`$1'" 1>&2 + exit 0;; +esac + +exit 0 --- psgml-1.4.0.orig/debian/psgml-html.el +++ psgml-1.4.0/debian/psgml-html.el @@ -0,0 +1,988 @@ +;;; psgml-html.el --- HTML mode in conjunction with PSGML + +;; arch-tag: 68a4c8e6-2bb1-4f89-95aa-b964a5786dd5 + + +;; Copyright (C) 1994 Nelson Minar. +;; Copyright (C) 1995 Nelson Minar and Ulrik Dickow. +;; Copyright (C) 1996 Ben Wing. + +;; This file is part of XEmacs. + +;; XEmacs 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, or (at your option) +;; any later version. + +;; XEmacs 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 XEmacs; see the file COPYING. If not, write to the Free +;; Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +;;; Synched up with: FSF 19.30. + +;;; Author: Ben Wing. + +;;; Commentary: + +; Parts were taken from html-helper-mode and from code by Alastair Burt. + +; If you'd like to use the hm--html-minor-mode together with this +; mode, you have to put the following line to your ~/.emacs: +; (add-hook 'html-mode-hook 'hm--html-minor-mode) + +;; Modified for Debian: use (string-match "XEmacs" emacs-version) +;; instead of running-xemacs +;;; Code: + +(defvar html-auto-sgml-entity-conversion nil + "*Control automatic sgml entity to ISO-8859-1 conversion") + +(provide 'psgml-html) +(require 'psgml) +(require 'derived) +(when html-auto-sgml-entity-conversion + (require 'iso-sgml)) +(require 'tempo) ;essential part of html-helper-mode + +(eval-when-compile + (require 'browse-url) + (require 'font-lock) + (require 'imenu)) + +;;{{{ user variables + +(defgroup html nil + "HyperText Markup Language" + :group 'sgml) + +(defgroup psgml-html nil + "HTML mode in conjunction with PSGML" + :tag "Psgml Html" + :prefix "psgml-html-" + :group 'html + :group 'psgml) + +;;;; Modified for Debian: now accomodates Emacs as well +;; Set this to be whatever signature you want on the bottom of your pages. +(defcustom psgml-html-address-string + (cond + ((string-match "XEmacs" emacs-version) ; XEmacs/Lucid + (concat "" + (user-full-name) "")) + (t + (concat "" + user-full-name ""))) + "*The default author string of each file." + :type 'string + :group 'psgml-html) + +(defcustom psgml-html-htmldtd-version "\n" + "*Version of HTML DTD you're using." + :type 'string + :group 'psgml-html) + +(defcustom psgml-html-do-write-file-hooks t + "*If not nil, then modify `local-write-file-hooks' to do timestamps." + :type 'boolean + :group 'psgml-html) + +(defcustom psgml-html-build-new-buffer t + "*If not nil, then insert `psgml-html-new-buffer-strings' for new buffers." + :type 'boolean + :group 'psgml-html) + +(defcustom psgml-html-timestamp-hook 'psgml-html-default-insert-timestamp + "*Hook called for timestamp insertion. +Override this for your own timestamp styles." + :type 'hook + :group 'psgml-html) + +;; strings you might want to change + +(defcustom psgml-html-new-buffer-template + '(psgml-html-htmldtd-version + "\n" + " \n" + " " (p "Document Title: " title) "\n" + " \n" + "\n" + " \n" + "

" (s title) "

\n\n" + p + "\n\n
\n" + "
" psgml-html-address-string "
\n" + (psgml-html-return-created-string) + psgml-html-timestamp-start + psgml-html-timestamp-end + "\n \n\n") + "*Template for new buffers. +Inserted by `psgml-html-insert-new-buffer-strings' if +`psgml-html-build-new-buffer' is set to t" + :type 'sexp + :group 'psgml-html) + +(defcustom psgml-html-timestamp-start "\n" + "*Start delimiter for timestamps. +Everything between `psgml-html-timestamp-start' and +`psgml-html-timestamp-end' will be deleted and replaced with the output +of the functions `psgml-html-timestamp-hook' if +`psgml-html-do-write-file-hooks' is t" + :type 'string + :group 'psgml-html) + +(defcustom psgml-html-timestamp-end "" + "*End delimiter for timestamps. +Everything between `psgml-html-timestamp-start' and +`psgml-html-timestamp-end' will be deleted and replaced with the output +of the function `psgml-html-insert-timestamp' if +`psgml-html-do-write-file-hooks' is t" + :type 'string + :group 'psgml-html) + +;; control over what types of tags to load. By default, we load all the +;; ones we know of. + +(defcustom psgml-html-types-to-install + '(anchor header logical phys list textel entity image head form table + special) + "*List of tag types to install when psgml-html-mode is first loaded. +If you want to not install some type of tag, override this variable. +Order is significant: menus go in this order." + :type '(repeat symbol) + :group 'psgml-html) + +(defcustom psgml-html-use-expert-menu nil + "*If not nil, then use the full HTML menu." + :type 'boolean + :group 'psgml-html) + +(defcustom psgml-html-user-menu nil + "*Extra items to put in the HTML expert menu. +The value of this symbol is appended to the beginning of the expert +menu that is handed off to easymenu for definition. It should be a +list of vectors or lists which themselves are vectors (for submenus)." + :type 'sexp + :group 'psgml-html) + +;;}}} end of user variables +;;{{{ type based keymap and menu variable and function setup + +;; psgml-html-mode has a concept of "type" of tags. Each type is a +;; list of tags that all go together in one keymap and one menu. +;; Types can be added to the system after psgml-html has been loaded, +;; briefly by doing psgml-html-add-type-to-alist, then +;; psgml-html-install-type, then psgml-html-add-tag (for each tag) +;; then psgml-html-rebuild-menu. See the mode documentation for more detail. + +(defconst psgml-html-type-alist nil + "Alist: type of tag -> keymap, keybinding, menu, menu string. +Add to this with `psgml-html-add-type-to-alist'.") + +;;{{{ accessor functions for psgml-html-type-alist +(tempo-define-template "html-skeleton" psgml-html-new-buffer-template + nil + "Insert a skeleton for a HTML document") + +(defun psgml-html-keymap-for (type) + "Accessor function for alist: for type, return keymap or nil" + (nth 0 (cdr-safe (assq type psgml-html-type-alist)))) + +(defun psgml-html-key-for (type) + "Accessor function for alist: for type, return keybinding or nil" + (nth 1 (cdr-safe (assq type psgml-html-type-alist)))) + +(defun psgml-html-menu-for (type) + "Accessor function for alist: for type, return menu or nil" + (nth 2 (cdr-safe (assq type psgml-html-type-alist)))) + +(defun psgml-html-menu-string-for (type) + "Accessor function for alist: for type, return menustring or nil" + (nth 3 (cdr-safe (assq type psgml-html-type-alist)))) + +(defun psgml-html-normalized-menu-for (type) + "Helper function for building menus from submenus: add on string to menu." + (cons (psgml-html-menu-string-for type) + (eval (psgml-html-menu-for type)))) + +;;}}} + +(define-derived-mode html-mode sgml-mode "HTML" + "Major mode for editing HTML documents. +This is based on PSGML mode, and has a sophisticated SGML parser in it. +It knows how to properly indent HTML/SGML documents, and it can do + a form of document validation (use \\[sgml-next-trouble-spot] to find + the next error in your document). +Commands beginning with C-z insert various types of HTML tags + (prompting for the required information); to iconify or suspend, + use C-z C-z. +To literally insert special characters such as < and &, use C-c followed + by the character. +Use \\[sgml-insert-end-tag] to insert the proper closing tag. +Use \\[sgml-edit-attributes] to edit the attributes for a tag. +Use \\[sgml-show-context] to show the current HTML context. + +More specifically: +\\{html-mode-map} +" + (make-local-variable 'sgml-declaration) + (make-local-variable 'sgml-default-doctype-name) + (if (or + (not (boundp 'sgml-custom-dtd)) + (not sgml-custom-dtd)) + (setq + sgml-custom-dtd + '( + ( "HTML 4.01 Strict" + "" ) + ( "HTML 4.01 Transitional" + "") + ( "HTML 4.01 Frameset" + "" ) + ) + )) + + + (setq sgml-declaration (expand-file-name "html.decl" + sgml-data-directory) + sgml-default-doctype-name "HTML" + sgml-always-quote-attributes t + sgml-indent-step 2 + sgml-indent-data t + sgml-inhibit-indent-tags '("pre") + sgml-minimize-attributes nil + sgml-omittag t + sgml-shorttag t) + + ;; Added for Debian + ;; menus for creating new documents + + ;; font-lock setup for various emacsen: XEmacs, Emacs 19.29+, Emacs <19.29. + ;; By Ulrik Dickow . (Last update: 05-Sep-1995). + (cond ((string-match "XEmacs" emacs-version) ; XEmacs/Lucid + (put major-mode 'font-lock-keywords-case-fold-search t)) + ;; XEmacs (19.13, at least) guesses the rest correctly. + ;; If any older XEmacsen don't, then tell me. + ;; + ((string-lessp "19.28.89" emacs-version) ; Emacs 19.29 and later + (make-local-variable 'font-lock-defaults) + (setq font-lock-defaults '(html-font-lock-keywords t t))) + ;; + (t ; Emacs 19.28 and older + (make-local-variable 'font-lock-keywords-case-fold-search) + (make-local-variable 'font-lock-keywords) + (make-local-variable 'font-lock-no-comments) + (setq font-lock-keywords-case-fold-search t) + (setq font-lock-keywords html-font-lock-keywords) + (setq font-lock-no-comments t))) + + (if psgml-html-do-write-file-hooks + (add-hook 'local-write-file-hooks 'psgml-html-update-timestamp)) + + (if (and psgml-html-build-new-buffer (zerop (buffer-size))) + (psgml-html-insert-new-buffer-strings)) + + (set (make-local-variable 'sgml-custom-markup) + '(("" "\r"))) + + ;; Set up the syntax table. + (modify-syntax-entry ?< "(>" html-mode-syntax-table) + (modify-syntax-entry ?> ")<" html-mode-syntax-table) + (modify-syntax-entry ?\" ". " html-mode-syntax-table) + (modify-syntax-entry ?\\ ". " html-mode-syntax-table) + (modify-syntax-entry ?' "w " html-mode-syntax-table) + + (tempo-use-tag-list 'psgml-html-tempo-tags psgml-html-completion-finder) + (setq imenu-create-index-function 'psgml-html-imenu-index) + (setq imenu-sort-function nil) ; sorting the menu defeats the purpose + + ; sigh ... need to call this now to get things working. + (sgml-build-custom-menus) + ;; (add-submenu nil sgml-html-menu "SGML") + (setq sgml-menu-name "HTML") + (easy-menu-add sgml-html-menu) + (psgml-html-rebuild-menu) + (if (string-match "XEmacs" emacs-version) + (unless (featurep 'infodock) + (delete-menu-item '("SGML"))))) + + +(defvar psgml-html-imenu-regexp + "\\s-*]*>\\(<[^\n<>]*>\\)*\\s-*\\([^\n<>]*\\)" + "*A regular expression matching a head line to be added to the menu. +The first `match-string' should be a number from 1-9. +The second `match-string' matches extra tags and is ignored. +The third `match-string' will be the used in the menu.") + +;; Make an index for imenu +(defun psgml-html-imenu-index () + "Return an table of contents for an html buffer for use with Imenu." + (let ((space ?\ ) ; a char + (toc-index '()) + toc-str) + (save-excursion + (goto-char (point-min)) + (while (re-search-forward psgml-html-imenu-regexp nil t) + (setq toc-str + (concat + (make-string + (* 2 (- (string-to-number (match-string 1)) 1)) + space) + (match-string 3))) + (beginning-of-line) + (setq toc-index (cons (cons toc-str (point)) toc-index)) + (end-of-line))) + (nreverse toc-index))) + +(defun psgml-html-add-type-to-alist (type) + "Add a type specification to the alist. +The spec goes (type . (keymap-symbol keyprefix menu-symbol menu-string)). +See code for an example." + (setq psgml-html-type-alist (cons type psgml-html-type-alist))) + +;; Here are the types provided by psgml-html-mode. +(mapcar 'psgml-html-add-type-to-alist + '((entity . (nil nil psgml-html-entity-menu "Insert Character Entities")) + (textel . (nil nil psgml-html-textel-menu "Insert Text Elements")) + (head . (psgml-html-head-map "\C-zw" psgml-html-head-menu "Insert Structural Elements")) + (header . (psgml-html-base-map "\C-z" psgml-html-header-menu "Insert Headers")) + (anchor . (psgml-html-base-map "\C-z" psgml-html-anchor-menu "Insert Hyperlinks")) + (logical . (psgml-html-base-map "\C-z" psgml-html-logical-menu "Insert Logical Styles")) + (phys . (psgml-html-base-map "\C-z" psgml-html-phys-menu "Insert Physical Styles")) + (list . (psgml-html-list-map "\C-zl" psgml-html-list-menu "Insert List Elements")) + (form . (psgml-html-form-map "\C-zf" psgml-html-form-menu "Insert Form Elements")) + (table . (psgml-html-table-map "\C-zt" psgml-html-table-menu "Insert Table Elements")) + (image . (psgml-html-image-map "\C-zm" psgml-html-image-menu "Insert Inlined Images")) + (special . (psgml-html-base-map "\C-z" psgml-html-special-menu "Insert Specials")))) + +;; Once psgml-html-mode is aware of a type, it can then install the +;; type: arrange for keybindings, menus, etc. + +(defconst psgml-html-installed-types nil + "The types that have been installed (used when building menus). +There is no support for removing a type once it has been installed.") + +(defun psgml-html-install-type (type) + "Install a new tag type: add it to the keymap, menu structures, etc. +For this to work, the type must first have been added to the list of types +with psgml-html-add-type-to-alist." + (setq psgml-html-installed-types (cons type psgml-html-installed-types)) + (let ((keymap (psgml-html-keymap-for type)) + (key (psgml-html-key-for type)) + (menu (psgml-html-menu-for type)) + (menu-string (psgml-html-menu-string-for type))) + (and key + (progn + (set keymap nil) + (define-prefix-command keymap) + (define-key html-mode-map key keymap))) + (and menu + (progn + (set menu nil))))) + +;; install the default types. +(mapcar 'psgml-html-install-type psgml-html-types-to-install) + +;;}}} + +;;{{{ psgml-html-add-tag function for building basic tags + +(defvar psgml-html-tempo-tags nil + "List of tags used in completion.") + +;; this while loop is awfully Cish +;; isn't there an emacs lisp function to do this? +(defun psgml-html-string-to-symbol (input-string) + "Given a string, downcase it and replace spaces with -. +We use this to turn menu entries into good symbols for functions. +It's not entirely successful, but fortunately emacs lisp is forgiving." + (let* ((s (downcase input-string)) + (l (1- (length s)))) + (while (>= l 0) + (if (char-equal (aref s l) ?\ ) + (aset s l ?\-)) + (setq l (1- l))) + (concat "html-" s))) + + +(defun psgml-html-add-tag (l) + "Add a new tag to psgml-html-mode. +Builds a tempo-template for the tag and puts it into the +appropriate keymap if a key is requested. Format: +`(psgml-html-add-tag '(type keybinding completion-tag menu-name template doc)'" + (let* ((type (car l)) + (keymap (psgml-html-keymap-for type)) + (menu (psgml-html-menu-for type)) + (key (nth 1 l)) + (completer (nth 2 l)) + (name (nth 3 l)) + (tag (nth 4 l)) + (doc (nth 5 l)) + (command (tempo-define-template (psgml-html-string-to-symbol name) + tag completer doc + 'psgml-html-tempo-tags))) + + (if (null (memq type psgml-html-installed-types)) ;type loaded? + t ;no, do nothing. + (if (stringp key) ;bind key somewhere? + (if keymap ;special keymap? + (define-key (eval keymap) key command) ;t: bind to prefix + (define-key html-mode-map key command)) ;nil: bind to global + t) + (if menu ;is there a menu? + (set menu ;good, cons it in + (cons (vector name command t) (eval menu)))) + ))) + +;;}}} + +;;{{{ most of the HTML tags + +;; These tags are an attempt to be HTML 3.2 compliant +;; For reference see + +;; order here is significant: within a tag type, menus and mode help +;; go in the reverse order of what you see here. Sorry about that, it's +;; not easy to fix. + +(mapcar + 'psgml-html-add-tag + '( + ;;entities + (entity "\C-c#" "&#" "Ascii Code" ("&#" (r "Ascii: ") ";")) + (entity "\C-c\"" """ "Quotation mark" (""")) + (entity "\C-c$" "®" "Registered" ("®")) + (entity "\C-c@" "©" "Copyright" ("©")) + (entity "\C-c-" "­" "Soft Hyphen" ("­")) + (entity "\C-c " " " "Nonbreaking Space" (" ")) + (entity "\C-c&" "&" "Ampersand" ("&")) + (entity "\C-c>" ">" "Greater Than" (">")) + (entity "\C-c<" "<" "Less Than" ("<")) + + ;; logical styles + (logical "v" "" (r "Text: ") "")) + (logical "n" "
" "Center" ("
" (r "Text: ") "
")) + (logical "q" "
" "Blockquote" ("
" (r "Quote: ") "
")) + (logical "c" "" "Code" ("" (r "Code: ") "")) + (logical "x" "" "Sample" ("" (r "Sample code") "")) + (logical "r" "" "Citation" ("" (r "Citation: ") "")) + (logical "k" "" "Keyboard Input" ("" (r "Keyboard: ") "")) + (logical "v" "" "Variable" ("" (r "Variable: ") "")) + (logical "d" "" "Definition" ("" (r "Definition: ") "")) + (logical "a" "
" "Address" ("
" r "
")) + (logical "e" "" "Emphasized" ("" (r "Text: ") "")) + (logical "s" "" "Strong" ("" (r "Text: ") "")) + (logical "p" "
"		"Preformatted"   ("
" (r "Text: ") "
")) + + ;;physical styles + (phys "p" "" "Superscript" ("" (r "Text: ") "")) + (phys "u" "" "Subscript" ("" (r "Text: ") "")) + (phys "s" "" "Small" ("" (r "Text: ") "")) + (phys "g" "" "Big" ("" (r "Text: ") "")) + (phys "-" "" "Strikethru" ("" (r "Text: ") "")) + (phys "u" "" "Underline" ("" (r "Text: ") "")) + (phys "o" "" "Italic" ("" (r "Text: ") "")) + (phys "b" "" "Bold" ("" (r "Text: ") "")) + (phys "t" "" "Fixed" ("" (r "Text: ") "")) + + ;;headers + (header "6" "
" "Header 6" ("
" (r "Header: ") "
")) + (header "5" "
" "Header 5" ("
" (r "Header: ") "
")) + (header "4" "

" "Header 4" ("

" (r "Header: ") "

")) + (header "3" "

" "Header 3" ("

" (r "Header: ") "

")) + (header "2" "

" "Header 2" ("

" (r "Header: ") "

")) + (header "1" "

" "Header 1" ("

" (r "Header: ") "

")) + + ;; forms + (form "o" "