--- /dev/null
+###############################################################################
+# IPFire.org - An Open Source Firewall Solution #
+# Copyright (C) - IPFire Development Team <info@ipfire.org> #
+###############################################################################
+
+name = openjade
+version = 1.3.2
+release = 1
+
+groups = Application/Text
+url = http://openjade.sourceforge.net/
+license = MIT
+summary = A DSSSL implementation.
+
+description
+ OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
+ (Document Style Semantics and Specification Language).
+end
+
+source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
+
+build
+ requires
+ gcc-c++
+ opensp-devel
+ perl
+ end
+
+ configure_options += \
+ --disable-static \
+ --disable-rpath \
+ --datadir=/usr/share/sgml/openjade-%{version} \
+ --enable-splibdir=/usr/lib
+
+ install_cmds
+ # Create symlink for jade
+ ln -s openjade %{BUILDROOT}/usr/bin/jade
+
+ # Install jade catalog
+ cp %{DIR_APP}/dsssl/catalog %{BUILDROOT}/usr/share/sgml/openjade-%{version}/
+ cp %{DIR_APP}/dsssl/{dsssl,style-sheet,fot}.dtd %{BUILDROOT}/usr/share/sgml/openjade-%{version}/
+
+ # Add unversioned/versioned catalog and symlink
+ mkdir -p %{BUILDROOT}/etc/sgml
+ touch %{BUILDROOT}/etc/sgml/openjade-%{version}.soc
+ ln -s openjade-%{version}.soc openjade.soc
+ end
+end
+
+packages
+ package %{name}
+ provides
+ jade
+ end
+
+ script postin
+ # Install catalog files on system.
+ /usr/bin/install-catalog --add /etc/sgml/openjade-%{version}.soc \
+ /usr/share/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
+ end
+
+ script preun
+ # Uninstall the catalog files.
+ /usr/bin/install-catalog --remove /etc/sgml/%{name}-%{version}.soc \
+ /usr/share/sgml/%{name}-%{version}/catalog >/dev/null 2>/dev/null || :
+ end
+ end
+
+ package %{name}-devel
+ template DEVEL
+ end
+end
--- /dev/null
+--- openjade-1.3.1/docsrc/sgmlnorm.1.manpage 2002-06-13 17:45:48.000000000 +0100
++++ openjade-1.3.1/docsrc/sgmlnorm.1 2002-06-13 17:45:58.000000000 +0100
+@@ -1 +1 @@
+-.so man1/sgmlnorm.1
++.so man1/osgmlnorm.1
--- /dev/null
+If a class or struct has no user-defined default constructor, C++ doesn't
+allow you to default construct a const instance of it.
+
+https://bugs.gentoo.org/358021
+http://clang.llvm.org/compatibility.html#default_init_const
+http://gcc.gnu.org/PR44499
+
+
+--- a/jade/TeXFOTBuilder.cxx
++++ b/jade/TeXFOTBuilder.cxx
+@@ -88,6 +88,8 @@ public:
+ value.convertString(nic_.placement);
+ }
+ ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
++ public:
++ PageFloatFlowObj() {}
+ private:
+ PageFloatNIC nic_;
+ StringC name_;
+@@ -101,6 +103,8 @@ public:
+ fotb.endPageFootnote();
+ }
+ ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
++ public:
++ PageFootnoteFlowObj() {}
+ private:
+ };
+ //////////////////////////////////////////////////////////////////////
+--- a/jade/TransformFOTBuilder.cxx
++++ b/jade/TransformFOTBuilder.cxx
+@@ -41,6 +41,7 @@ public:
+ };
+ class EntityRefFlowObj : public TransformExtensionFlowObj {
+ public:
++ EntityRefFlowObj() {}
+ void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
+ fotb.entityRef(name_);
+ }
+@@ -56,6 +57,7 @@ public:
+ };
+ class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
+ public:
++ ProcessingInstructionFlowObj() {}
+ void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
+ fotb.processingInstruction(data_);
+ }
+@@ -98,6 +100,8 @@ public:
+ }
+ }
+ ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
++ public:
++ EmptyElementFlowObj() {}
+ private:
+ ElementNIC nic_;
+ };
+@@ -133,6 +137,8 @@ public:
+ }
+ }
+ ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
++ public:
++ ElementFlowObj() {}
+ private:
+ ElementNIC nic_;
+ };
+@@ -150,6 +156,8 @@ public:
+ value.convertString(systemId_);
+ }
+ ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
++ public:
++ EntityFlowObj() {}
+ private:
+ StringC systemId_;
+ };
+@@ -174,6 +182,8 @@ public:
+ }
+ }
+ ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
++ public:
++ DocumentTypeFlowObj() {}
+ private:
+ DocumentTypeNIC nic_;
+ };
+++ /dev/null
-###############################################################################
-# #
-# IPFire.org - A linux based firewall #
-# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
-# #
-# This program is free software: you can redistribute it and/or modify #
-# it under the terms of the GNU General Public License as published by #
-# the Free Software Foundation, either version 3 of the License, or #
-# (at your option) any later version. #
-# #
-# This program is distributed in the hope that it will be useful, #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
-# GNU General Public License for more details. #
-# #
-# You should have received a copy of the GNU General Public License #
-# along with this program. If not, see <http://www.gnu.org/licenses/>. #
-# #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include $(PKGROOT)/Include
-
-PKG_NAME = openjade
-PKG_VER = 1.3.2
-PKG_REL = 0
-
-PKG_MAINTAINER =
-PKG_GROUP = Application/Text
-PKG_URL = http://openjade.sourceforge.net/
-PKG_LICENSE = MIT
-PKG_SUMMARY = A DSSSL implementation.
-
-PKG_PACKAGES += $(PKG_NAME_REAL)-devel
-
-PKG_BUILD_DEPS+= gcc-c++ opensp-devel perl
-
-define PKG_DESCRIPTION
- OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL \
- (Document Style Semantics and Specification Language).
-endef
-
-PKG_TARBALL = $(THISAPP).tar.gz
-
-CONFIGURE_OPTIONS += \
- --disable-static \
- --disable-rpath \
- --datadir=/usr/share/sgml/openjade-$(PKG_VER) \
- --enable-splibdir=/usr/lib
-
-define STAGE_INSTALL_CMDS
- # Create symlink for jade
- ln -s openjade $(BUILDROOT)/usr/bin/jade
-
- # Install jade catalog
- cp $(DIR_APP)/dsssl/catalog $(BUILDROOT)/usr/share/sgml/openjade-$(PKG_VER)/
- cp $(DIR_APP)/dsssl/{dsssl,style-sheet,fot}.dtd $(BUILDROOT)/usr/share/sgml/openjade-$(PKG_VER)/
-
- # Add unversioned/versioned catalog and symlink
- mkdir -p $(BUILDROOT)/etc/sgml
- touch $(BUILDROOT)/etc/sgml/openjade-$(PKG_VER).soc
- ln -s openjade-$(PKG_VER).soc openjade.soc
-endef