summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2016-08-21 22:33:12 +0000
committermarkd <markd@pkgsrc.org>2016-08-21 22:33:12 +0000
commitd66ff323f2f101e47178c4cac6de3b96def25592 (patch)
tree0523ae5f6510129d70e7a69f92956df970ca0ebe /www
parent22fc423d5d90119e76dd3def81cb7b8d509d36e0 (diff)
downloadpkgsrc-d66ff323f2f101e47178c4cac6de3b96def25592.tar.gz
Add khtml 5.25.0
KDE Frameworks 5 porting aid KHTML is a web rendering engine, based on the KParts technology and using KJS for JavaScript support.
Diffstat (limited to 'www')
-rw-r--r--www/khtml/DESCR2
-rw-r--r--www/khtml/Makefile32
-rw-r--r--www/khtml/PLIST169
-rw-r--r--www/khtml/buildlink3.mk18
-rw-r--r--www/khtml/distinfo7
-rw-r--r--www/khtml/patches/patch-src_CMakeLists.txt15
6 files changed, 243 insertions, 0 deletions
diff --git a/www/khtml/DESCR b/www/khtml/DESCR
new file mode 100644
index 00000000000..54fa2342304
--- /dev/null
+++ b/www/khtml/DESCR
@@ -0,0 +1,2 @@
+KHTML is a web rendering engine, based on the KParts technology and using
+KJS for JavaScript support.
diff --git a/www/khtml/Makefile b/www/khtml/Makefile
new file mode 100644
index 00000000000..defb7c4f00f
--- /dev/null
+++ b/www/khtml/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1 2016/08/21 22:33:12 markd Exp $
+
+DISTNAME= khtml-${KF5VER}
+CATEGORIES= www
+
+HOMEPAGE= https://community.kde.org/Frameworks
+COMMENT= HTML rendering engine
+LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
+
+.include "../../meta-pkgs/kf5/Makefile.common"
+MASTER_SITES= ${MASTER_SITE_KDE:=frameworks/5.25/portingAids/}
+
+USE_TOOLS+= perl
+
+# generation of kded.moc fails when ${PREFIX}/include in the moc include path
+SUBST_CLASSES+= fix-moc
+SUBST_STAGE.fix-moc= post-configure
+SUBST_MESSAGE.fix-moc= Cleaning up MOC includes
+SUBST_FILES.fix-moc= _KDE_build/src/CMakeFiles/khtmlpart_automoc.dir/AutogenInfo.cmake
+SUBST_FILES.fix-moc+= _KDE_build/src/kmultipart/CMakeFiles/kmultipart_automoc.dir/AutogenInfo.cmake
+SUBST_SED.fix-moc= -e 's,;${PREFIX}/include;,;,g'
+
+MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg
+CONF_FILES+= ${PREFIX}/share/examples/kde-xdg/khtmlrc \
+ ${PKG_SYSCONFDIR}/xdg/khtmlrc
+
+.include "../../graphics/giflib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../www/kjs/buildlink3.mk"
+.include "../../devel/kparts/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/khtml/PLIST b/www/khtml/PLIST
new file mode 100644
index 00000000000..47b683f750e
--- /dev/null
+++ b/www/khtml/PLIST
@@ -0,0 +1,169 @@
+@comment $NetBSD: PLIST,v 1.1 2016/08/21 22:33:12 markd Exp $
+include/KF5/KHtml/KHTMLPart
+include/KF5/KHtml/KHTMLSettings
+include/KF5/KHtml/KHTMLView
+include/KF5/KHtml/dom/css_rule.h
+include/KF5/KHtml/dom/css_stylesheet.h
+include/KF5/KHtml/dom/css_value.h
+include/KF5/KHtml/dom/dom2_events.h
+include/KF5/KHtml/dom/dom2_range.h
+include/KF5/KHtml/dom/dom2_traversal.h
+include/KF5/KHtml/dom/dom2_views.h
+include/KF5/KHtml/dom/dom_core.h
+include/KF5/KHtml/dom/dom_doc.h
+include/KF5/KHtml/dom/dom_element.h
+include/KF5/KHtml/dom/dom_exception.h
+include/KF5/KHtml/dom/dom_html.h
+include/KF5/KHtml/dom/dom_misc.h
+include/KF5/KHtml/dom/dom_node.h
+include/KF5/KHtml/dom/dom_string.h
+include/KF5/KHtml/dom/dom_text.h
+include/KF5/KHtml/dom/dom_xml.h
+include/KF5/KHtml/dom/html_base.h
+include/KF5/KHtml/dom/html_block.h
+include/KF5/KHtml/dom/html_document.h
+include/KF5/KHtml/dom/html_element.h
+include/KF5/KHtml/dom/html_form.h
+include/KF5/KHtml/dom/html_head.h
+include/KF5/KHtml/dom/html_image.h
+include/KF5/KHtml/dom/html_inline.h
+include/KF5/KHtml/dom/html_list.h
+include/KF5/KHtml/dom/html_misc.h
+include/KF5/KHtml/dom/html_object.h
+include/KF5/KHtml/dom/html_table.h
+include/KF5/KHtml/kencodingdetector.h
+include/KF5/KHtml/khtml_events.h
+include/KF5/KHtml/khtml_export.h
+include/KF5/KHtml/khtml_part.h
+include/KF5/KHtml/khtml_settings.h
+include/KF5/KHtml/khtmldefaults.h
+include/KF5/KHtml/khtmlpart.h
+include/KF5/KHtml/khtmlsettings.h
+include/KF5/KHtml/khtmlview.h
+include/KF5/khtml_version.h
+lib/cmake/KF5KHtml/KF5KHtmlConfig.cmake
+lib/cmake/KF5KHtml/KF5KHtmlConfigVersion.cmake
+lib/cmake/KF5KHtml/KF5KHtmlTargets-noconfig.cmake
+lib/cmake/KF5KHtml/KF5KHtmlTargets.cmake
+lib/libKF5KHtml.so
+lib/libKF5KHtml.so.5
+lib/libKF5KHtml.so.${PKGVERSION}
+qt5/mkspecs/modules/qt_KHtml.pri
+qt5/plugins/kf5/parts/khtmladaptorpart.so
+qt5/plugins/kf5/parts/khtmlimagepart.so
+qt5/plugins/kf5/parts/khtmlpart.so
+qt5/plugins/kf5/parts/kjavaappletviewer.so
+qt5/plugins/kf5/parts/kmultipart.so
+share/examples/kde-xdg/khtmlrc
+share/kf5/khtml/css/html4.css
+share/kf5/khtml/css/presentational.css
+share/kf5/khtml/css/quirks.css
+share/kf5/khtml/error.html
+share/kf5/kjava/kjava.jar
+share/kf5/kjava/kjava.policy
+share/kf5/kjava/pluginsinfo
+share/kservices5/khtml.desktop
+share/kservices5/khtmladaptorpart.desktop
+share/kservices5/khtmlimage.desktop
+share/kservices5/kjavaappletviewer.desktop
+share/kservices5/kmultipart.desktop
+share/locale/af/LC_MESSAGES/khtml5.mo
+share/locale/ar/LC_MESSAGES/khtml5.mo
+share/locale/as/LC_MESSAGES/khtml5.mo
+share/locale/ast/LC_MESSAGES/khtml5.mo
+share/locale/be/LC_MESSAGES/khtml5.mo
+share/locale/be@latin/LC_MESSAGES/khtml5.mo
+share/locale/bg/LC_MESSAGES/khtml5.mo
+share/locale/bn/LC_MESSAGES/khtml5.mo
+share/locale/bn_IN/LC_MESSAGES/khtml5.mo
+share/locale/br/LC_MESSAGES/khtml5.mo
+share/locale/bs/LC_MESSAGES/khtml5.mo
+share/locale/ca/LC_MESSAGES/khtml5.mo
+share/locale/ca@valencia/LC_MESSAGES/khtml5.mo
+share/locale/crh/LC_MESSAGES/khtml5.mo
+share/locale/cs/LC_MESSAGES/khtml5.mo
+share/locale/csb/LC_MESSAGES/khtml5.mo
+share/locale/cy/LC_MESSAGES/khtml5.mo
+share/locale/da/LC_MESSAGES/khtml5.mo
+share/locale/de/LC_MESSAGES/khtml5.mo
+share/locale/el/LC_MESSAGES/khtml5.mo
+share/locale/en_GB/LC_MESSAGES/khtml5.mo
+share/locale/eo/LC_MESSAGES/khtml5.mo
+share/locale/es/LC_MESSAGES/khtml5.mo
+share/locale/et/LC_MESSAGES/khtml5.mo
+share/locale/eu/LC_MESSAGES/khtml5.mo
+share/locale/fa/LC_MESSAGES/khtml5.mo
+share/locale/fi/LC_MESSAGES/khtml5.mo
+share/locale/fr/LC_MESSAGES/khtml5.mo
+share/locale/fy/LC_MESSAGES/khtml5.mo
+share/locale/ga/LC_MESSAGES/khtml5.mo
+share/locale/gd/LC_MESSAGES/khtml5.mo
+share/locale/gl/LC_MESSAGES/khtml5.mo
+share/locale/gu/LC_MESSAGES/khtml5.mo
+share/locale/ha/LC_MESSAGES/khtml5.mo
+share/locale/he/LC_MESSAGES/khtml5.mo
+share/locale/hi/LC_MESSAGES/khtml5.mo
+share/locale/hne/LC_MESSAGES/khtml5.mo
+share/locale/hr/LC_MESSAGES/khtml5.mo
+share/locale/hsb/LC_MESSAGES/khtml5.mo
+share/locale/hu/LC_MESSAGES/khtml5.mo
+share/locale/hy/LC_MESSAGES/khtml5.mo
+share/locale/ia/LC_MESSAGES/khtml5.mo
+share/locale/id/LC_MESSAGES/khtml5.mo
+share/locale/is/LC_MESSAGES/khtml5.mo
+share/locale/it/LC_MESSAGES/khtml5.mo
+share/locale/ja/LC_MESSAGES/khtml5.mo
+share/locale/ka/LC_MESSAGES/khtml5.mo
+share/locale/kk/LC_MESSAGES/khtml5.mo
+share/locale/km/LC_MESSAGES/khtml5.mo
+share/locale/kn/LC_MESSAGES/khtml5.mo
+share/locale/ko/LC_MESSAGES/khtml5.mo
+share/locale/ku/LC_MESSAGES/khtml5.mo
+share/locale/lb/LC_MESSAGES/khtml5.mo
+share/locale/lt/LC_MESSAGES/khtml5.mo
+share/locale/lv/LC_MESSAGES/khtml5.mo
+share/locale/mai/LC_MESSAGES/khtml5.mo
+share/locale/mk/LC_MESSAGES/khtml5.mo
+share/locale/ml/LC_MESSAGES/khtml5.mo
+share/locale/mr/LC_MESSAGES/khtml5.mo
+share/locale/ms/LC_MESSAGES/khtml5.mo
+share/locale/nb/LC_MESSAGES/khtml5.mo
+share/locale/nds/LC_MESSAGES/khtml5.mo
+share/locale/ne/LC_MESSAGES/khtml5.mo
+share/locale/nl/LC_MESSAGES/khtml5.mo
+share/locale/nn/LC_MESSAGES/khtml5.mo
+share/locale/oc/LC_MESSAGES/khtml5.mo
+share/locale/or/LC_MESSAGES/khtml5.mo
+share/locale/pa/LC_MESSAGES/khtml5.mo
+share/locale/pl/LC_MESSAGES/khtml5.mo
+share/locale/ps/LC_MESSAGES/khtml5.mo
+share/locale/pt/LC_MESSAGES/khtml5.mo
+share/locale/pt_BR/LC_MESSAGES/khtml5.mo
+share/locale/ro/LC_MESSAGES/khtml5.mo
+share/locale/ru/LC_MESSAGES/khtml5.mo
+share/locale/se/LC_MESSAGES/khtml5.mo
+share/locale/si/LC_MESSAGES/khtml5.mo
+share/locale/sk/LC_MESSAGES/khtml5.mo
+share/locale/sl/LC_MESSAGES/khtml5.mo
+share/locale/sq/LC_MESSAGES/khtml5.mo
+share/locale/sr/LC_MESSAGES/khtml5.mo
+share/locale/sr@ijekavian/LC_MESSAGES/khtml5.mo
+share/locale/sr@ijekavianlatin/LC_MESSAGES/khtml5.mo
+share/locale/sr@latin/LC_MESSAGES/khtml5.mo
+share/locale/sv/LC_MESSAGES/khtml5.mo
+share/locale/ta/LC_MESSAGES/khtml5.mo
+share/locale/te/LC_MESSAGES/khtml5.mo
+share/locale/tg/LC_MESSAGES/khtml5.mo
+share/locale/th/LC_MESSAGES/khtml5.mo
+share/locale/tr/LC_MESSAGES/khtml5.mo
+share/locale/tt/LC_MESSAGES/khtml5.mo
+share/locale/ug/LC_MESSAGES/khtml5.mo
+share/locale/uk/LC_MESSAGES/khtml5.mo
+share/locale/uz/LC_MESSAGES/khtml5.mo
+share/locale/uz@cyrillic/LC_MESSAGES/khtml5.mo
+share/locale/vi/LC_MESSAGES/khtml5.mo
+share/locale/wa/LC_MESSAGES/khtml5.mo
+share/locale/xh/LC_MESSAGES/khtml5.mo
+share/locale/zh_CN/LC_MESSAGES/khtml5.mo
+share/locale/zh_HK/LC_MESSAGES/khtml5.mo
+share/locale/zh_TW/LC_MESSAGES/khtml5.mo
diff --git a/www/khtml/buildlink3.mk b/www/khtml/buildlink3.mk
new file mode 100644
index 00000000000..f92364cde7e
--- /dev/null
+++ b/www/khtml/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/08/21 22:33:12 markd Exp $
+
+BUILDLINK_TREE+= khtml
+
+.if !defined(KHTML_BUILDLINK3_MK)
+KHTML_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.khtml+= khtml>=5.21.0
+BUILDLINK_PKGSRCDIR.khtml?= ../../www/khtml
+
+.include "../../graphics/giflib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../www/kjs/buildlink3.mk"
+.include "../../devel/kparts/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.endif # KHTML_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -khtml
diff --git a/www/khtml/distinfo b/www/khtml/distinfo
new file mode 100644
index 00000000000..8467ff3185a
--- /dev/null
+++ b/www/khtml/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2016/08/21 22:33:12 markd Exp $
+
+SHA1 (khtml-5.25.0.tar.xz) = 3a77cd556b7f6537c584e5557dcb33481f53a523
+RMD160 (khtml-5.25.0.tar.xz) = ffccbb62bd9c7e8a1d3c2567f9f137ef13ec6f2f
+SHA512 (khtml-5.25.0.tar.xz) = bfebb9a7b80eebd67e0256c3d6da87b5c1da23afebd4d641e495eb5a54a30a5e071fe4a9e549c4ebcfda11e858e2ad6005e6facb5ccf5fc2d0a993fc1df00766
+Size (khtml-5.25.0.tar.xz) = 2077868 bytes
+SHA1 (patch-src_CMakeLists.txt) = 8579c2c7d3f22d4df8e38db48e4e379eba370a0d
diff --git a/www/khtml/patches/patch-src_CMakeLists.txt b/www/khtml/patches/patch-src_CMakeLists.txt
new file mode 100644
index 00000000000..8b20deeec37
--- /dev/null
+++ b/www/khtml/patches/patch-src_CMakeLists.txt
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2016/08/21 22:33:12 markd Exp $
+
+Install via examples dir
+
+--- src/CMakeLists.txt.orig 2016-04-03 20:53:09.000000000 +0000
++++ src/CMakeLists.txt
+@@ -795,7 +795,7 @@ install(FILES khtml_browser.rc DESTINAT
+
+ install(FILES error.html DESTINATION ${KDE_INSTALL_DATADIR_KF5}/khtml )
+
+-install(FILES khtmlrc DESTINATION ${KDE_INSTALL_CONFDIR} )
++install(FILES khtmlrc DESTINATION ${KDE_INSTALL_DATAROOTDIR}/examples/kde-xdg )
+
+ include(ECMGeneratePriFile)
+ ecm_generate_pri_file(BASE_NAME KHtml LIB_NAME KF5KHtml DEPS "gui KIOCore KJS KI18n KParts" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF5}/KHtml)