mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
c6af8d2fd5
Hey everyone, long time no see! No, I wasn't out fishing. Sadly, I haven't had a fishing rod in my hand (or even a fishing license in my wallet) for this entire season, but there may yet be a chance for that this year. Along with the usual suspects, I've been trying to clear out the list of things that needed to get done in order to reach the standard of excellence demanded from a Slackware release, and I think we've gotten it pretty close. GCC was bumped to version 11.2.0 (because we just can't send this out 2 versions behind), and everything was verified to build properly or fixed up so that it did. I don't see any benefit to another public mass rebuild, so we're not going to do one. Anyway, without further ado, here is Slackware 15.0 release candidate one. Consider most things frozen and the focus now to be any remaining blocker bugs. We'll more than likely take that next Plasma bugfix release, but it's soon time to get off this treadmill. Enjoy! :-) a/aaa_libraries-15.0-x86_64-8.txz: Rebuilt. Upgraded: libcap.so.2.52, libpcre.so.1.2.13, libboost_atomic.so.1.76.0, libboost_chrono.so.1.76.0, libboost_container.so.1.76.0, libboost_context.so.1.76.0, libboost_contract.so.1.76.0, libboost_coroutine.so.1.76.0, libboost_date_time.so.1.76.0, libboost_fiber.so.1.76.0, libboost_filesystem.so.1.76.0, libboost_graph.so.1.76.0, libboost_iostreams.so.1.76.0, libboost_json.so.1.76.0, libboost_locale.so.1.76.0, libboost_log.so.1.76.0, libboost_log_setup.so.1.76.0, libboost_math_c99.so.1.76.0, libboost_math_c99f.so.1.76.0, libboost_math_c99l.so.1.76.0, libboost_math_tr1.so.1.76.0, libboost_math_tr1f.so.1.76.0, libboost_math_tr1l.so.1.76.0, libboost_nowide.so.1.76.0, libboost_prg_exec_monitor.so.1.76.0, libboost_program_options.so.1.76.0, libboost_python27.so.1.76.0, libboost_python39.so.1.76.0, libboost_random.so.1.76.0, libboost_regex.so.1.76.0, libboost_serialization.so.1.76.0, libboost_stacktrace_addr2line.so.1.76.0, libboost_stacktrace_basic.so.1.76.0, libboost_stacktrace_noop.so.1.76.0, libboost_system.so.1.76.0, libboost_thread.so.1.76.0, libboost_timer.so.1.76.0, libboost_type_erasure.so.1.76.0, libboost_unit_test_framework.so.1.76.0, libboost_wave.so.1.76.0, libboost_wserialization.so.1.76.0, libcares.so.2.4.3, libglib-2.0.so.0.6800.3, libgmodule-2.0.so.0.6800.3, libgobject-2.0.so.0.6800.3, libgthread-2.0.so.0.6800.3, libidn.so.12.6.3, liblber-2.4.so.2.11.7, libldap-2.4.so.2.11.7, libstdc++.so.6.0.29, libtdb.so.1.4.5. a/grep-3.7-x86_64-1.txz: Upgraded. a/kernel-firmware-20210812_24c4a85-noarch-1.txz: Upgraded. a/kernel-generic-5.13.11-x86_64-1.txz: Upgraded. a/kernel-huge-5.13.11-x86_64-1.txz: Upgraded. a/kernel-modules-5.13.11-x86_64-1.txz: Upgraded. a/libgudev-237-x86_64-1.txz: Upgraded. a/lvm2-2.03.13-x86_64-1.txz: Upgraded. ap/linuxdoc-tools-0.9.82-x86_64-1.txz: Upgraded. Thanks to Stuart Winter. ap/mariadb-10.5.12-x86_64-1.txz: Upgraded. Looks like we're still hitting a few regressions in the 10.6 branch. The most obvious one where the version reported by MariaDB is the library version rather than the server version (as previously reported) could be reverted, but this could lead to future problems as fixes for this change land in other projects. It seems that the safest approach at this time is to switch back to the most recent release from the 10.5 branch and keep an eye on the situation. Thanks to richarson and Heinz Wiesinger. ap/mc-4.8.27-x86_64-1.txz: Upgraded. ap/pamixer-1.4-x86_64-11.txz: Rebuilt. Recompiled against boost-1.77.0. ap/slackpkg-15.0.7-noarch-1.txz: Upgraded. Remove ftp://spout.ussg.indiana.edu from mirrorlist. Allow "slackpkg help" to work after slackpkg is upgraded (JK Wood). Thanks to Robby Workman. ap/squashfs-tools-4.5-x86_64-1.txz: Upgraded. ap/vim-8.2.3352-x86_64-1.txz: Upgraded. d/gcc-11.2.0-x86_64-1.txz: Upgraded. d/gcc-brig-11.2.0-x86_64-1.txz: Upgraded. d/gcc-g++-11.2.0-x86_64-1.txz: Upgraded. d/gcc-gdc-11.2.0-x86_64-1.txz: Upgraded. d/gcc-gfortran-11.2.0-x86_64-1.txz: Upgraded. d/gcc-gnat-11.2.0-x86_64-1.txz: Upgraded. d/gcc-go-11.2.0-x86_64-1.txz: Upgraded. d/gcc-objc-11.2.0-x86_64-1.txz: Upgraded. d/help2man-1.48.4-x86_64-1.txz: Upgraded. d/kernel-headers-5.13.11-x86-1.txz: Upgraded. d/libtool-2.4.6-x86_64-18.txz: Rebuilt. Recompiled to update embedded GCC version number. d/meson-0.58.2-x86_64-1.txz: Upgraded. d/parallel-20210722-noarch-1.txz: Upgraded. d/python-pip-21.2.4-x86_64-1.txz: Upgraded. d/slacktrack-2.21-x86_64-1.txz: Upgraded. Thanks to Stuart Winter. k/kernel-source-5.13.11-noarch-1.txz: Upgraded. CC_VERSION_TEXT "gcc (GCC) 10.3.0" -> "gcc (GCC) 11.2.0" GCC_VERSION 100300 -> 110200 +CC_HAS_ASM_GOTO_OUTPUT y +HAVE_KCSAN_COMPILER y +KCSAN n +SND_SOC_INTEL_HDA_DSP_COMMON m +SND_SOC_INTEL_SOF_MAXIM_COMMON m kde/akonadi-21.08.0-x86_64-1.txz: Upgraded. kde/akonadi-calendar-21.08.0-x86_64-1.txz: Upgraded. kde/akonadi-calendar-tools-21.08.0-x86_64-1.txz: Upgraded. kde/akonadi-contacts-21.08.0-x86_64-1.txz: Upgraded. kde/akonadi-import-wizard-21.08.0-x86_64-1.txz: Upgraded. kde/akonadi-mime-21.08.0-x86_64-1.txz: Upgraded. kde/akonadi-notes-21.08.0-x86_64-1.txz: Upgraded. kde/akonadi-search-21.08.0-x86_64-1.txz: Upgraded. kde/akonadiconsole-21.08.0-x86_64-1.txz: Upgraded. kde/akregator-21.08.0-x86_64-1.txz: Upgraded. kde/analitza-21.08.0-x86_64-1.txz: Upgraded. kde/ark-21.08.0-x86_64-1.txz: Upgraded. kde/artikulate-21.08.0-x86_64-1.txz: Upgraded. kde/attica-5.85.0-x86_64-1.txz: Upgraded. kde/audiocd-kio-21.08.0-x86_64-1.txz: Upgraded. kde/baloo-5.85.0-x86_64-1.txz: Upgraded. kde/baloo-widgets-21.08.0-x86_64-1.txz: Upgraded. kde/blinken-21.08.0-x86_64-1.txz: Upgraded. kde/bluez-qt-5.85.0-x86_64-1.txz: Upgraded. kde/bomber-21.08.0-x86_64-1.txz: Upgraded. kde/bovo-21.08.0-x86_64-1.txz: Upgraded. kde/breeze-icons-5.85.0-noarch-1.txz: Upgraded. kde/calendarsupport-21.08.0-x86_64-1.txz: Upgraded. kde/cantor-21.08.0-x86_64-1.txz: Upgraded. kde/cervisia-21.08.0-x86_64-1.txz: Upgraded. kde/dolphin-21.08.0-x86_64-1.txz: Upgraded. kde/dolphin-plugins-21.08.0-x86_64-1.txz: Upgraded. kde/dragon-21.08.0-x86_64-1.txz: Upgraded. kde/elisa-21.08.0-x86_64-1.txz: Upgraded. kde/eventviews-21.08.0-x86_64-1.txz: Upgraded. kde/extra-cmake-modules-5.85.0-x86_64-1.txz: Upgraded. kde/ffmpegthumbs-21.08.0-x86_64-1.txz: Upgraded. kde/filelight-21.08.0-x86_64-1.txz: Upgraded. kde/frameworkintegration-5.85.0-x86_64-1.txz: Upgraded. kde/granatier-21.08.0-x86_64-1.txz: Upgraded. kde/grantlee-editor-21.08.0-x86_64-1.txz: Upgraded. kde/grantleetheme-21.08.0-x86_64-1.txz: Upgraded. kde/gwenview-21.08.0-x86_64-1.txz: Upgraded. kde/incidenceeditor-21.08.0-x86_64-1.txz: Upgraded. kde/itinerary-21.08.0-x86_64-1.txz: Upgraded. kde/juk-21.08.0-x86_64-1.txz: Upgraded. kde/k3b-21.08.0-x86_64-1.txz: Upgraded. kde/kactivities-5.85.0-x86_64-1.txz: Upgraded. kde/kactivities-stats-5.85.0-x86_64-1.txz: Upgraded. kde/kaddressbook-21.08.0-x86_64-1.txz: Upgraded. kde/kalarm-21.08.0-x86_64-1.txz: Upgraded. kde/kalarmcal-21.08.0-x86_64-1.txz: Upgraded. kde/kalgebra-21.08.0-x86_64-1.txz: Upgraded. kde/kalzium-21.08.0-x86_64-1.txz: Upgraded. kde/kamera-21.08.0-x86_64-1.txz: Upgraded. kde/kamoso-21.08.0-x86_64-1.txz: Upgraded. kde/kanagram-21.08.0-x86_64-1.txz: Upgraded. kde/kapidox-5.85.0-x86_64-1.txz: Upgraded. kde/kapman-21.08.0-x86_64-1.txz: Upgraded. kde/kapptemplate-21.08.0-x86_64-1.txz: Upgraded. kde/karchive-5.85.0-x86_64-1.txz: Upgraded. kde/kate-21.08.0-x86_64-1.txz: Upgraded. kde/katomic-21.08.0-x86_64-1.txz: Upgraded. kde/kauth-5.85.0-x86_64-1.txz: Upgraded. kde/kbackup-21.08.0-x86_64-1.txz: Upgraded. kde/kblackbox-21.08.0-x86_64-1.txz: Upgraded. kde/kblocks-21.08.0-x86_64-1.txz: Upgraded. kde/kbookmarks-5.85.0-x86_64-1.txz: Upgraded. kde/kbounce-21.08.0-x86_64-1.txz: Upgraded. kde/kbreakout-21.08.0-x86_64-1.txz: Upgraded. kde/kbruch-21.08.0-x86_64-1.txz: Upgraded. kde/kcachegrind-21.08.0-x86_64-1.txz: Upgraded. kde/kcalc-21.08.0-x86_64-1.txz: Upgraded. kde/kcalendarcore-5.85.0-x86_64-1.txz: Upgraded. kde/kcalutils-21.08.0-x86_64-1.txz: Upgraded. kde/kcharselect-21.08.0-x86_64-1.txz: Upgraded. kde/kcmutils-5.85.0-x86_64-1.txz: Upgraded. kde/kcodecs-5.85.0-x86_64-1.txz: Upgraded. kde/kcolorchooser-21.08.0-x86_64-1.txz: Upgraded. kde/kcompletion-5.85.0-x86_64-1.txz: Upgraded. kde/kconfig-5.85.0-x86_64-1.txz: Upgraded. kde/kconfigwidgets-5.85.0-x86_64-1.txz: Upgraded. kde/kcontacts-5.85.0-x86_64-1.txz: Upgraded. kde/kcoreaddons-5.85.0-x86_64-1.txz: Upgraded. kde/kcrash-5.85.0-x86_64-1.txz: Upgraded. kde/kcron-21.08.0-x86_64-1.txz: Upgraded. kde/kdav-5.85.0-x86_64-1.txz: Upgraded. kde/kdbusaddons-5.85.0-x86_64-1.txz: Upgraded. kde/kde-dev-scripts-21.08.0-x86_64-1.txz: Upgraded. kde/kde-dev-utils-21.08.0-x86_64-1.txz: Upgraded. kde/kdebugsettings-21.08.0-x86_64-1.txz: Upgraded. kde/kdeclarative-5.85.0-x86_64-1.txz: Upgraded. kde/kdeconnect-kde-21.08.0-x86_64-1.txz: Upgraded. kde/kded-5.85.0-x86_64-1.txz: Upgraded. kde/kdeedu-data-21.08.0-x86_64-1.txz: Upgraded. kde/kdegraphics-mobipocket-21.08.0-x86_64-1.txz: Upgraded. kde/kdegraphics-thumbnailers-21.08.0-x86_64-1.txz: Upgraded. kde/kdelibs4support-5.85.0-x86_64-1.txz: Upgraded. kde/kdenetwork-filesharing-21.08.0-x86_64-1.txz: Upgraded. kde/kdenlive-21.08.0-x86_64-1.txz: Upgraded. kde/kdepim-addons-21.08.0-x86_64-1.txz: Upgraded. kde/kdepim-runtime-21.08.0-x86_64-1.txz: Upgraded. kde/kdesdk-kioslaves-21.08.0-x86_64-1.txz: Upgraded. kde/kdesdk-thumbnailers-21.08.0-x86_64-1.txz: Upgraded. kde/kdesignerplugin-5.85.0-x86_64-1.txz: Upgraded. kde/kdesu-5.85.0-x86_64-1.txz: Upgraded. kde/kdewebkit-5.85.0-x86_64-1.txz: Upgraded. kde/kdf-21.08.0-x86_64-1.txz: Upgraded. kde/kdialog-21.08.0-x86_64-1.txz: Upgraded. kde/kdiamond-21.08.0-x86_64-1.txz: Upgraded. kde/kdnssd-5.85.0-x86_64-1.txz: Upgraded. kde/kdoctools-5.85.0-x86_64-1.txz: Upgraded. kde/keditbookmarks-21.08.0-x86_64-1.txz: Upgraded. kde/kemoticons-5.85.0-x86_64-1.txz: Upgraded. kde/kfilemetadata-5.85.0-x86_64-1.txz: Upgraded. kde/kfind-21.08.0-x86_64-1.txz: Upgraded. kde/kfloppy-21.08.0-x86_64-1.txz: Upgraded. kde/kfourinline-21.08.0-x86_64-1.txz: Upgraded. kde/kgeography-21.08.0-x86_64-1.txz: Upgraded. kde/kget-21.08.0-x86_64-1.txz: Upgraded. kde/kglobalaccel-5.85.0-x86_64-1.txz: Upgraded. kde/kgoldrunner-21.08.0-x86_64-1.txz: Upgraded. kde/kgpg-21.08.0-x86_64-1.txz: Upgraded. kde/kguiaddons-5.85.0-x86_64-1.txz: Upgraded. kde/khangman-21.08.0-x86_64-1.txz: Upgraded. kde/khelpcenter-21.08.0-x86_64-1.txz: Upgraded. kde/kholidays-5.85.0-x86_64-1.txz: Upgraded. kde/khtml-5.85.0-x86_64-1.txz: Upgraded. kde/ki18n-5.85.0-x86_64-1.txz: Upgraded. kde/kiconthemes-5.85.0-x86_64-1.txz: Upgraded. kde/kidentitymanagement-21.08.0-x86_64-1.txz: Upgraded. kde/kidletime-5.85.0-x86_64-1.txz: Upgraded. kde/kig-21.08.0-x86_64-1.txz: Upgraded. kde/kigo-21.08.0-x86_64-1.txz: Upgraded. kde/killbots-21.08.0-x86_64-1.txz: Upgraded. kde/kimageformats-5.85.0-x86_64-1.txz: Upgraded. kde/kimagemapeditor-21.08.0-x86_64-1.txz: Upgraded. kde/kimap-21.08.0-x86_64-1.txz: Upgraded. kde/kinit-5.85.0-x86_64-1.txz: Upgraded. kde/kio-5.85.0-x86_64-1.txz: Upgraded. kde/kio-extras-21.08.0-x86_64-1.txz: Upgraded. kde/kio-gdrive-21.08.0-x86_64-1.txz: Upgraded. kde/kipi-plugins-21.08.0-x86_64-1.txz: Upgraded. kde/kirigami-gallery-21.08.0-x86_64-1.txz: Upgraded. kde/kirigami2-5.85.0-x86_64-1.txz: Upgraded. kde/kiriki-21.08.0-x86_64-1.txz: Upgraded. kde/kitemmodels-5.85.0-x86_64-1.txz: Upgraded. kde/kitemviews-5.85.0-x86_64-1.txz: Upgraded. kde/kiten-21.08.0-x86_64-1.txz: Upgraded. kde/kitinerary-21.08.0-x86_64-1.txz: Upgraded. kde/kjobwidgets-5.85.0-x86_64-1.txz: Upgraded. kde/kjs-5.85.0-x86_64-1.txz: Upgraded. kde/kjsembed-5.85.0-x86_64-1.txz: Upgraded. kde/kjumpingcube-21.08.0-x86_64-1.txz: Upgraded. kde/kldap-21.08.0-x86_64-1.txz: Upgraded. kde/kleopatra-21.08.0-x86_64-1.txz: Upgraded. kde/klickety-21.08.0-x86_64-1.txz: Upgraded. kde/klines-21.08.0-x86_64-1.txz: Upgraded. kde/kmag-21.08.0-x86_64-1.txz: Upgraded. kde/kmahjongg-21.08.0-x86_64-1.txz: Upgraded. kde/kmail-21.08.0-x86_64-1.txz: Upgraded. kde/kmail-account-wizard-21.08.0-x86_64-1.txz: Upgraded. kde/kmailtransport-21.08.0-x86_64-1.txz: Upgraded. kde/kmbox-21.08.0-x86_64-1.txz: Upgraded. kde/kmediaplayer-5.85.0-x86_64-1.txz: Upgraded. kde/kmime-21.08.0-x86_64-1.txz: Upgraded. kde/kmines-21.08.0-x86_64-1.txz: Upgraded. kde/kmix-21.08.0-x86_64-1.txz: Upgraded. kde/kmousetool-21.08.0-x86_64-1.txz: Upgraded. kde/kmouth-21.08.0-x86_64-1.txz: Upgraded. kde/kmplot-21.08.0-x86_64-1.txz: Upgraded. kde/knavalbattle-21.08.0-x86_64-1.txz: Upgraded. kde/knetwalk-21.08.0-x86_64-1.txz: Upgraded. kde/knewstuff-5.85.0-x86_64-1.txz: Upgraded. kde/knights-21.08.0-x86_64-1.txz: Upgraded. kde/knotes-21.08.0-x86_64-1.txz: Upgraded. kde/knotifications-5.85.0-x86_64-1.txz: Upgraded. kde/knotifyconfig-5.85.0-x86_64-1.txz: Upgraded. kde/kolf-21.08.0-x86_64-1.txz: Upgraded. kde/kollision-21.08.0-x86_64-1.txz: Upgraded. kde/kolourpaint-21.08.0-x86_64-1.txz: Upgraded. kde/kompare-21.08.0-x86_64-1.txz: Upgraded. kde/konqueror-21.08.0-x86_64-1.txz: Upgraded. kde/konquest-21.08.0-x86_64-1.txz: Upgraded. kde/konsole-21.08.0-x86_64-1.txz: Upgraded. kde/kontact-21.08.0-x86_64-1.txz: Upgraded. kde/kontactinterface-21.08.0-x86_64-1.txz: Upgraded. kde/kontrast-21.08.0-x86_64-1.txz: Upgraded. kde/konversation-21.08.0-x86_64-1.txz: Upgraded. kde/kopeninghours-21.08.0-x86_64-1.txz: Upgraded. kde/kopete-21.08.0-x86_64-1.txz: Upgraded. kde/korganizer-21.08.0-x86_64-1.txz: Upgraded. kde/kosmindoormap-21.08.0-x86_64-1.txz: Upgraded. kde/kpackage-5.85.0-x86_64-1.txz: Upgraded. kde/kparts-5.85.0-x86_64-1.txz: Upgraded. kde/kpat-21.08.0-x86_64-1.txz: Upgraded. kde/kpeople-5.85.0-x86_64-1.txz: Upgraded. kde/kpimtextedit-21.08.0-x86_64-1.txz: Upgraded. kde/kpkpass-21.08.0-x86_64-1.txz: Upgraded. kde/kplotting-5.85.0-x86_64-1.txz: Upgraded. kde/kpmcore-21.08.0-x86_64-1.txz: Upgraded. kde/kpty-5.85.0-x86_64-1.txz: Upgraded. kde/kpublictransport-21.08.0-x86_64-1.txz: Upgraded. kde/kqtquickcharts-21.08.0-x86_64-1.txz: Upgraded. kde/kquickcharts-5.85.0-x86_64-1.txz: Upgraded. kde/krdc-21.08.0-x86_64-1.txz: Upgraded. kde/kreversi-21.08.0-x86_64-1.txz: Upgraded. kde/krfb-21.08.0-x86_64-1.txz: Upgraded. kde/krita-4.4.7-x86_64-2.txz: Rebuilt. Recompiled against boost-1.77.0. kde/kross-5.85.0-x86_64-1.txz: Upgraded. kde/kross-interpreters-21.08.0-x86_64-1.txz: Upgraded. kde/kruler-21.08.0-x86_64-1.txz: Upgraded. kde/krunner-5.85.0-x86_64-1.txz: Upgraded. kde/kservice-5.85.0-x86_64-1.txz: Upgraded. kde/kshisen-21.08.0-x86_64-1.txz: Upgraded. kde/ksirk-21.08.0-x86_64-1.txz: Upgraded. kde/ksmtp-21.08.0-x86_64-1.txz: Upgraded. kde/ksnakeduel-21.08.0-x86_64-1.txz: Upgraded. kde/kspaceduel-21.08.0-x86_64-1.txz: Upgraded. kde/ksquares-21.08.0-x86_64-1.txz: Upgraded. kde/ksudoku-21.08.0-x86_64-1.txz: Upgraded. kde/ksystemlog-21.08.0-x86_64-1.txz: Upgraded. kde/kteatime-21.08.0-x86_64-1.txz: Upgraded. kde/ktexteditor-5.85.0-x86_64-1.txz: Upgraded. kde/ktextwidgets-5.85.0-x86_64-1.txz: Upgraded. kde/ktimer-21.08.0-x86_64-1.txz: Upgraded. kde/ktnef-21.08.0-x86_64-1.txz: Upgraded. kde/ktorrent-21.08.0-x86_64-1.txz: Upgraded. kde/ktouch-21.08.0-x86_64-1.txz: Upgraded. kde/kturtle-21.08.0-x86_64-1.txz: Upgraded. kde/kubrick-21.08.0-x86_64-1.txz: Upgraded. kde/kunitconversion-5.85.0-x86_64-1.txz: Upgraded. kde/kwallet-5.85.0-x86_64-1.txz: Upgraded. kde/kwalletmanager-21.08.0-x86_64-1.txz: Upgraded. kde/kwave-21.08.0-x86_64-1.txz: Upgraded. kde/kwayland-5.85.0-x86_64-1.txz: Upgraded. kde/kwidgetsaddons-5.85.0-x86_64-1.txz: Upgraded. kde/kwindowsystem-5.85.0-x86_64-1.txz: Upgraded. kde/kwordquiz-21.08.0-x86_64-1.txz: Upgraded. kde/kxmlgui-5.85.0-x86_64-1.txz: Upgraded. kde/kxmlrpcclient-5.85.0-x86_64-1.txz: Upgraded. kde/latte-dock-0.10.0-x86_64-1.txz: Upgraded. kde/libgravatar-21.08.0-x86_64-1.txz: Upgraded. kde/libkcddb-21.08.0-x86_64-1.txz: Upgraded. kde/libkcompactdisc-21.08.0-x86_64-1.txz: Upgraded. kde/libkdcraw-21.08.0-x86_64-1.txz: Upgraded. kde/libkdegames-21.08.0-x86_64-1.txz: Upgraded. kde/libkdepim-21.08.0-x86_64-1.txz: Upgraded. kde/libkeduvocdocument-21.08.0-x86_64-1.txz: Upgraded. kde/libkexiv2-21.08.0-x86_64-1.txz: Upgraded. kde/libkgapi-21.08.0-x86_64-1.txz: Upgraded. kde/libkipi-21.08.0-x86_64-1.txz: Upgraded. kde/libkleo-21.08.0-x86_64-1.txz: Upgraded. kde/libkmahjongg-21.08.0-x86_64-1.txz: Upgraded. kde/libkomparediff2-21.08.0-x86_64-1.txz: Upgraded. kde/libksane-21.08.0-x86_64-1.txz: Upgraded. kde/libksieve-21.08.0-x86_64-1.txz: Upgraded. kde/libktorrent-21.08.0-x86_64-1.txz: Upgraded. kde/lokalize-21.08.0-x86_64-1.txz: Upgraded. kde/lskat-21.08.0-x86_64-1.txz: Upgraded. kde/mailcommon-21.08.0-x86_64-1.txz: Upgraded. kde/mailimporter-21.08.0-x86_64-1.txz: Upgraded. kde/marble-21.08.0-x86_64-1.txz: Upgraded. kde/markdownpart-21.08.0-x86_64-1.txz: Upgraded. kde/mbox-importer-21.08.0-x86_64-1.txz: Upgraded. kde/messagelib-21.08.0-x86_64-1.txz: Upgraded. kde/minuet-21.08.0-x86_64-1.txz: Upgraded. kde/modemmanager-qt-5.85.0-x86_64-1.txz: Upgraded. kde/networkmanager-qt-5.85.0-x86_64-1.txz: Upgraded. kde/okular-21.08.0-x86_64-1.txz: Upgraded. kde/oxygen-icons5-5.85.0-noarch-1.txz: Upgraded. kde/palapeli-21.08.0-x86_64-1.txz: Upgraded. kde/parley-21.08.0-x86_64-1.txz: Upgraded. kde/partitionmanager-21.08.0-x86_64-1.txz: Upgraded. kde/picmi-21.08.0-x86_64-1.txz: Upgraded. kde/pim-data-exporter-21.08.0-x86_64-1.txz: Upgraded. kde/pim-sieve-editor-21.08.0-x86_64-1.txz: Upgraded. kde/pimcommon-21.08.0-x86_64-1.txz: Upgraded. kde/plasma-framework-5.85.0-x86_64-1.txz: Upgraded. kde/plasma-workspace-5.22.4-x86_64-2.txz: Rebuilt. Recompiled against libqalculate-3.20.1. kde/poxml-21.08.0-x86_64-1.txz: Upgraded. kde/print-manager-21.08.0-x86_64-1.txz: Upgraded. kde/prison-5.85.0-x86_64-1.txz: Upgraded. kde/purpose-5.85.0-x86_64-1.txz: Upgraded. kde/qqc2-desktop-style-5.85.0-x86_64-1.txz: Upgraded. kde/rocs-21.08.0-x86_64-1.txz: Upgraded. kde/skanlite-21.08.0-x86_64-3.txz: Rebuilt. kde/solid-5.85.0-x86_64-1.txz: Upgraded. kde/sonnet-5.85.0-x86_64-1.txz: Upgraded. kde/spectacle-21.08.0-x86_64-1.txz: Upgraded. kde/step-21.08.0-x86_64-1.txz: Upgraded. kde/svgpart-21.08.0-x86_64-1.txz: Upgraded. kde/sweeper-21.08.0-x86_64-1.txz: Upgraded. kde/syndication-5.85.0-x86_64-1.txz: Upgraded. kde/syntax-highlighting-5.85.0-x86_64-1.txz: Upgraded. kde/threadweaver-5.85.0-x86_64-1.txz: Upgraded. kde/umbrello-21.08.0-x86_64-1.txz: Upgraded. kde/yakuake-21.08.0-x86_64-1.txz: Upgraded. kde/zeroconf-ioslave-21.08.0-x86_64-1.txz: Upgraded. l/SDL2-2.0.16-x86_64-1.txz: Upgraded. l/atkmm-2.28.2-x86_64-1.txz: Upgraded. l/boost-1.77.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/cryfs-0.10.3-x86_64-3.txz: Rebuilt. Patched for gcc11 and recompiled against boost-1.77.0. l/enchant-2.3.1-x86_64-1.txz: Upgraded. l/gjs-1.68.3-x86_64-1.txz: Upgraded. l/gtk4-4.2.1-x86_64-1.txz: Added. l/gtkmm3-3.24.5-x86_64-1.txz: Upgraded. l/libjpeg-turbo-2.1.1-x86_64-1.txz: Upgraded. l/libqalculate-3.20.1-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/libwebp-1.2.1-x86_64-1.txz: Upgraded. l/mlt-7.0.1-x86_64-1.txz: Upgraded. Shared library .so-version bump. l/mozilla-nss-3.69-x86_64-1.txz: Upgraded. l/mozjs78-78.13.0esr-x86_64-1.txz: Upgraded. l/netpbm-10.95.01-x86_64-1.txz: Upgraded. l/ocl-icd-2.3.0-x86_64-2.txz: Rebuilt. Patched to support the latest Khronos headers. l/openexr-2.5.7-x86_64-2.txz: Rebuilt. Recompiled against boost-1.77.0. l/pango-1.48.8-x86_64-1.txz: Upgraded. l/pulseaudio-15.0-x86_64-2.txz: Rebuilt. Ensure that start-pulseaudio-x11 is generated properly when pulseaudio is built using meson. Thanks to davjohn. l/python-pygments-2.10.0-x86_64-1.txz: Upgraded. l/qt5-5.15.2-x86_64-11.txz: Rebuilt. Patched to compile with gcc11 (such as adding #include <limits> to some of the header files shipped in the package). l/tidy-html5-5.8.0-x86_64-1.txz: Upgraded. Shared library .so-version bump. n/ModemManager-1.16.8-x86_64-1.txz: Upgraded. n/NetworkManager-1.32.6-x86_64-1.txz: Upgraded. n/c-ares-1.17.2-x86_64-1.txz: Upgraded. This update fixes a security issue: Missing input validation on hostnames returned by DNS servers. For more information, see: https://c-ares.haxx.se/adv_20210810.html https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3672 (* Security fix *) n/dhcpcd-9.4.0-x86_64-1.txz: Upgraded. n/fetchmail-6.4.21-x86_64-1.txz: Upgraded. n/nmap-7.92-x86_64-1.txz: Upgraded. n/openresolv-3.12.0-noarch-1.txz: Added. This is needed for wg-quick in the wireguard-tools package. Thanks to synbq Bucharest, Jeremy Hansen, and Daniel Wilkins. n/php-7.4.22-x86_64-2.txz: Rebuilt. Recompiled against tidy-html5-5.8.0. x/ibus-m17n-1.4.7-x86_64-1.txz: Upgraded. x/libepoxy-1.5.9-x86_64-1.txz: Upgraded. x/mesa-21.1.7-x86_64-1.txz: Upgraded. x/vulkan-sdk-1.2.176.1-x86_64-2.txz: Rebuilt. x/xrdb-1.2.1-x86_64-1.txz: Upgraded. xap/mozilla-firefox-91.0-x86_64-1.txz: Upgraded. New ESR release :-) This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/firefox/91.0/releasenotes/ https://www.mozilla.org/security/advisories/mfsa2021-33/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29986 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29981 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29988 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29983 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29984 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29980 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29987 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29985 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29982 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29989 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29990 (* Security fix *) xap/mozilla-thunderbird-91.0-x86_64-1.txz: Upgraded. This release contains security fixes and improvements. For more information, see: https://www.mozilla.org/en-US/thunderbird/91.0/releasenotes/ https://www.mozilla.org/en-US/security/advisories/mfsa2021-36/ https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29986 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29981 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29988 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29984 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29980 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29987 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29985 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29982 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29989 (* Security fix *) xap/network-manager-applet-1.22.0-x86_64-1.txz: Upgraded. xap/vim-gvim-8.2.3352-x86_64-1.txz: Upgraded. extra/php8/php8-8.0.9-x86_64-2.txz: Rebuilt. Recompiled against tidy-html5-5.8.0. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
1258 lines
41 KiB
Bash
Executable file
1258 lines
41 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
#######################################################################################
|
|
# Script: linuxdoc-tools.build
|
|
# Purpose: Build & install all components that form the linuxdoc-tools
|
|
# Slackware Package.
|
|
# Credit: written by Stuart Winter <mozes@slackware.com>
|
|
# with the docbook build code by Jerome Pinot <ngc891@gmail.com>
|
|
# and some script code taken from Debian, Red Hat/Fedora &
|
|
# Linux From Scratch documentation
|
|
# http://www.linuxfromscratch.org/blfs/view/svn/index.html
|
|
# http://cblfs.cross-lfs.org/index.php/Category:DocBook_SGML
|
|
# Thanks guys! :-)
|
|
#######################################################################################
|
|
# Misc notes
|
|
# 1. Bug: Problem when validating docbook 4.5 documents
|
|
# Res: Won't Fix: Address such problems locally.
|
|
# See this thread for a discussion on this subject.
|
|
# https://www.linuxquestions.org/questions/showthread.php?p=5820741#post5820741
|
|
#######################################################################################
|
|
|
|
# Version of LDT (which is also the .t?z package version)
|
|
LINUXDOCTOOLSVER=$PKGVERSION
|
|
|
|
# Bundled package versions:
|
|
ASCIIDOCVER=9.1.0
|
|
DSSSLSTYLESHEETSVER=1.79 # docbook-dsssl-*.tar.xz (plus -doc- source archive), not SRPM.
|
|
XSLSTYLESHEETSVER=1.79.2 # docbook-style-xsl-*src.rpm ("DocBook XSL Stylesheets" in our ChangeLog.txt)
|
|
DOCBOOKUTILSVER=0.6.14
|
|
SGMLDTD3VER=3.1
|
|
SGMLDTD4VER=4.5
|
|
XMLDTDVER=4.5
|
|
GNOMEDOCUTILSVER=0.20.10
|
|
GTKDOCVER=1.33.2
|
|
SGMLSPLVER=1.03ii
|
|
OPENJADEVER=1.3.2
|
|
OPENSPVER=1.5.2
|
|
SGMLCOMMONVER=0.6.3
|
|
XMLTOVER=0.0.28
|
|
DOCBOOK2XVER=0.8.8
|
|
|
|
# Global settings:
|
|
XML_CATALOG=/etc/xml/catalog
|
|
XML_DOCBOOKCATALOG=/etc/xml/docbook
|
|
|
|
# Determine the general CFLAGS for the known architectures:
|
|
case $ARCH in
|
|
arm*) export SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -mtune=generic-armv7-a -mabi=aapcs-linux"
|
|
export LIBDIRSUFFIX=""
|
|
export HOSTTARGET="-gnueabihf"
|
|
;;
|
|
aarch64) export SLKCFLAGS="-O2"
|
|
export LIBDIRSUFFIX="64"
|
|
export HOSTTARGET=""
|
|
;;
|
|
riscv) export SLKCFLAGS="-O2"
|
|
export LIBDIRSUFFIX="64"
|
|
export HOSTTARGET=""
|
|
;;
|
|
i?86) export SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
|
export LIBDIRSUFFIX=""
|
|
export HOSTTARGET=""
|
|
;;
|
|
x86_64) export SLKCFLAGS="-O2 -fPIC"
|
|
export LIBDIRSUFFIX="64"
|
|
export HOSTTARGET=""
|
|
;;
|
|
esac
|
|
|
|
# The build order is purposive.
|
|
# The build order for the XML style sheets & docbook stuff comes from
|
|
# the Linux from Scratch documentation; the other rest is because of
|
|
# dependency build order.
|
|
|
|
####################### Build AsciiDoc: Pass 1 of 2 #################
|
|
|
|
function build_asciidoc() {
|
|
# Extract source:
|
|
cd $TMP
|
|
rm -rf asciidoc
|
|
mkdir asciidoc && cd asciidoc
|
|
rpm2cpio $CWD/sources/asciidoc-${ASCIIDOCVER}*.src.rpm | cpio -div || exit 1
|
|
tar xvf asciidoc-py-*.tar.*z
|
|
cd asciidoc-py-*/ || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Apply patches:
|
|
# Assemble patch list from spec file:
|
|
# egrep '^Patch[0-9].*: ' *.spec | awk -F: '{print $2" \\"}'
|
|
#for i in \
|
|
# \
|
|
# \
|
|
# ; do patch -p1 --verbose < ../${i} || exit 1
|
|
#done || exit 1
|
|
|
|
# Configure:
|
|
autoreconf -v
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--docdir=/usr/doc/asciidoc-$ASCIIDOCVER \
|
|
--mandir=/usr/man || exit 1
|
|
|
|
# Install:
|
|
if [ "$1" = "nodocs" ]; then
|
|
echo "*********************************************************************"
|
|
echo "*** Building asciidoc without documentation - expect errors below ***"
|
|
echo "*********************************************************************"
|
|
make -i install
|
|
echo "******************************************************************"
|
|
echo "*** Built asciidoc without documentation - expect errors above ***"
|
|
echo "******************************************************************"
|
|
else
|
|
make install docs || exit 1
|
|
fi
|
|
|
|
find /etc/asciidoc -type f -print0 | xargs -0 chmod 644
|
|
|
|
# After the build completes, we'll rename the asciidoc config files to '.new'
|
|
# (see 'postbuildfixes.sh'), but for now we need them in place so that the
|
|
# application works, since asciidoc is used to build some of this monolithic package.
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/asciidoc-$ASCIIDOCVER
|
|
cp -fav \
|
|
BUGS.txt CHANGELOG.txt COPY* README.asciidoc \
|
|
/usr/doc/asciidoc-$ASCIIDOCVER/
|
|
}
|
|
|
|
# Build asciidoc without any documentation (man pages). We'll have
|
|
# a 2nd pass once we have the pre-requisites installed (docbook-style-xsl) later on:
|
|
build_asciidoc nodocs
|
|
|
|
####################### Build sgml-common ############################
|
|
|
|
# Extract source. We're using a source RPM since it contains a number of
|
|
# patches that we need:
|
|
cd $TMP
|
|
mkdir sgml-common && cd sgml-common
|
|
rpm2cpio $CWD/sources/sgml-common-${SGMLCOMMONVER}*.src.rpm | cpio -div || exit 1
|
|
# The real source archive is stored inside the source RPM, you see:
|
|
tar xvf sgml-common-$SGMLCOMMONVER.tgz
|
|
cd sgml-common-$SGMLCOMMONVER || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Apply patches (these are included in the source rpm):
|
|
# Don't include the XML dir patch 'sgml-common-xmldir.patch' because we keep our stuff in /usr/share/sgml.
|
|
for i in \
|
|
sgml-common-quotes.patch \
|
|
sgml-common-umask.patch ; do
|
|
patch --verbose -p1 < ../$i
|
|
done || exit 1
|
|
|
|
# Configure:
|
|
# autoconf doesn't work anymore..
|
|
#aclocal
|
|
#automake --add-missing --copy
|
|
#autoreconf -vif
|
|
# but this does..
|
|
for file in COPYING INSTALL install-sh missing mkinstalldirs; do
|
|
rm -f $file
|
|
cp -fav /usr/share/automake-*/$file .
|
|
done
|
|
./configure \
|
|
--prefix=/usr \
|
|
--mandir=/usr/man \
|
|
--infodir=/usr/info \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--sysconfdir=/etc \
|
|
|| exit 1
|
|
|
|
# Build & install:
|
|
make -e 'mkdir_p=mkdir -p' install || exit 1
|
|
|
|
# Create catalog:
|
|
install-catalog --add /etc/sgml/sgml-ent.cat \
|
|
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog
|
|
install-catalog --add /etc/sgml/sgml-docbook.cat \
|
|
/etc/sgml/sgml-ent.cat
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/sgml-common-$SGMLCOMMONVER
|
|
cp -fav \
|
|
COPYING AUTHORS INSTALL NEWS README ChangeLog \
|
|
/usr/doc/sgml-common-$SGMLCOMMONVER
|
|
|
|
####################### Install docbooks ############################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir sgml-dtd
|
|
cd sgml-dtd
|
|
# Debian handily package all docbooks past and present in one archive
|
|
# but they version number the archive with the latest version.
|
|
tar xvf $CWD/sources/docbook_*orig*.tar.*z*
|
|
cd docbook* || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
|
|
###############
|
|
## sgml-dtd3 ##
|
|
###############
|
|
|
|
( cd docbook-$SGMLDTD3VER
|
|
pwd
|
|
|
|
# Remove the ENT definitions from the catalog file:
|
|
sed -i -e '/ISO 8879/d' docbook.cat
|
|
# Replace the DTDDECL catalog entry, which is not supported by Linux SGML tools,
|
|
# with the SGMLDECL catalog entry
|
|
sed -i -e 's|DTDDECL "-//OASIS//DTD Docbook V3.1//EN"|SGMLDECL|g' docbook.cat
|
|
|
|
# Install:
|
|
mkdir -vpm755 /etc/sgml
|
|
mkdir -vpm755 /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD3VER
|
|
install -vpm644 docbook.cat /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD3VER/catalog
|
|
install -vpm644 *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD3VER/
|
|
|
|
# Update SGML catalog:
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-$SGMLDTD3VER.cat \
|
|
/usr/share/sgml/docbook/sgml-dtd-$SGMLDTD3VER/catalog
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-$SGMLDTD3VER.cat \
|
|
/etc/sgml/sgml-docbook.cat
|
|
|
|
# Use only the most current 3.x version of DocBook SGML DTD:
|
|
cat >> /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD3VER/catalog << "EOF"
|
|
-- Begin Single Major Version catalog changes --
|
|
|
|
PUBLIC "-//Davenport//DTD DocBook V3.0//EN" "docbook.dtd"
|
|
|
|
-- End Single Major Version catalog changes --
|
|
EOF
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/sgml-dtd-$SGMLDTD3VER
|
|
cp -fav \
|
|
ChangeLog *.txt \
|
|
/usr/doc/sgml-dtd-$SGMLDTD3VER/
|
|
)
|
|
|
|
###############
|
|
## sgml-dtd4 ##
|
|
###############
|
|
# For reference:
|
|
# http://cblfs.cross-lfs.org/index.php/DocBook_SGML_DTD-4.x
|
|
# http://www.linuxfromscratch.org/blfs/view/svn/pst/sgml-dtd.html
|
|
|
|
|
|
( cd docbook-$SGMLDTD4VER
|
|
pwd
|
|
|
|
# Remove the ENT definitions from the catalog file:
|
|
sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
|
|
|
|
# Install:
|
|
mkdir -vpm755 /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD4VER
|
|
install -vpm644 docbook.cat /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD4VER/catalog
|
|
cp -fav *.dtd *.mod *.dcl /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD4VER
|
|
# Update SGML catalog:
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-$SGMLDTD4VER.cat \
|
|
/usr/share/sgml/docbook/sgml-dtd-$SGMLDTD4VER/catalog
|
|
install-catalog --add /etc/sgml/sgml-docbook-dtd-$SGMLDTD4VER.cat \
|
|
/etc/sgml/sgml-docbook.cat
|
|
|
|
# Use only the most current 4.x version of DocBook SGML DTD :
|
|
# When you upgrade sgml-dtd4, put the PREVIOUS version number in
|
|
# with the lines below.
|
|
cat << EOF >> /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD4VER/catalog
|
|
-- Begin Single Major Version catalog changes --
|
|
EOF
|
|
for i in 4.4 4.3 4.2 4.1 4.0; do
|
|
cat << EOF >> /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD4VER/catalog
|
|
PUBLIC "-//OASIS//DTD DocBook V${i}//EN" "docbook.dtd"
|
|
EOF
|
|
done
|
|
cat << EOF >> /usr/share/sgml/docbook/sgml-dtd-$SGMLDTD4VER/catalog
|
|
|
|
-- End Single Major Version catalog changes --
|
|
EOF
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/sgml-dtd4-$SGMLDTD4VER
|
|
cp -fav \
|
|
README \
|
|
/usr/doc/sgml-dtd4-$SGMLDTD4VER/
|
|
|
|
)
|
|
|
|
####################### Build OpenSP ############################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir opensp && cd opensp
|
|
rpm2cpio $CWD/sources/opensp-${OPENSPVER}*.src.rpm | cpio -div || exit 1
|
|
tar xvf OpenSP-$OPENSPVER.tar.gz
|
|
cd OpenSP-$OPENSPVER || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
sed -i 's:32,:253,:' lib/Syntax.cxx
|
|
sed -i 's:LITLEN 240 :LITLEN 8092:' unicode/{gensyntax.pl,unicode.syn}
|
|
|
|
# Stop OpenJade from segfaulting:
|
|
patch --verbose -p1 < ../opensp-sigsegv.patch || exit 1
|
|
# Inconsistency between help & man page:
|
|
patch --verbose -p1 < ../opensp-manpage.patch || exit 1
|
|
patch --verbose -p1 < ../opensp-nodeids.patch || exit 1
|
|
|
|
# Refresh libtool for new architecture definitions:
|
|
find . -name config.guess -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.guess '{}'
|
|
find . -name config.sub -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.sub '{}'
|
|
|
|
# Configure without optimisation. OpenSP & OpenJade
|
|
# are sensitive to optimisations, resulting in segfaults,
|
|
# particularly on the ARM platform. Apparently -O1 will work but
|
|
# let's just leave it as is.
|
|
#
|
|
# This is configured not to build the documentation. If anybody really needs
|
|
# it, let me know and I'll adjust the build script - it's just a PITA to
|
|
# get working.
|
|
CXXFLAGS="-fno-lifetime-dse" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--mandir=/usr/man \
|
|
--datadir=/usr/share \
|
|
--infodir=/usr/info \
|
|
--disable-dependency-tracking \
|
|
--disable-static \
|
|
--disable-doc-build \
|
|
--enable-http \
|
|
--enable-default-catalog=/etc/sgml/catalog \
|
|
--enable-default-search-path=/usr/share/sgml \
|
|
|| exit 1
|
|
|
|
# Build:
|
|
make pkgdatadir=/usr/share/sgml/OpenSP-$OPENSPVER || exit 1
|
|
|
|
# Install:
|
|
make install DESTDIR=/ || exit 1
|
|
|
|
# This allows OpenJade to link with OpenSP.
|
|
( cd /usr/lib${LIBDIRSUFFIX} && ln -vsf libosp.so libsp.so )
|
|
|
|
# Rename sx to sgml2xml & create symlinks:
|
|
mv -f /usr/bin/osx /usr/bin/osgml2xml
|
|
( cd /usr/bin ; ln -vfs osgml2xml osx )
|
|
|
|
# Create symlinks to binaries:
|
|
( cd /usr/bin
|
|
for file in nsgmls sgmlnorm spam spent sgml2xml ; do
|
|
rm -fv $file
|
|
ln -vfs o$file $file
|
|
done
|
|
)
|
|
|
|
# Fix man pages:
|
|
# Sorry, but OpenSP needs xmlto installed to create its man pages and documentation.
|
|
# Due to build dependency order, we build xmlto later on. I did try and move xmlto earlier
|
|
# in the build but didn't get the build order correct. If anybody REALLY misses this documentation,
|
|
# email mozes@slackware.com and I'll have another go at adjusting the build order.
|
|
#
|
|
# Building man pages has been disabled with ./configure --disable-doc-build.
|
|
#
|
|
#( cd /usr/man/man1
|
|
# mv -fv osx.1 osgml2xml.1
|
|
# ln -vfs osgml2xml.1 osx.1
|
|
# for file in nsgmls sgmlnorm spam spent sgml2xml ; do
|
|
# rm -f ${file}.1*
|
|
# ln -vfs o${file}.1 ${file}.1
|
|
# done
|
|
#)
|
|
|
|
# Rename docs directory:
|
|
mv -fv /usr/doc/OpenSP /usr/doc/OpenSP-$OPENSPVER
|
|
|
|
####################### Build OpenJade ############################
|
|
# Reference:
|
|
# http://cblfs.cross-lfs.org/index.php/OpenJade
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
tar xvf $CWD/sources/openjade-${OPENJADEVER}.tar.xz
|
|
cd openjade*/ || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Apply patches:
|
|
#
|
|
# GCC >=4.6 patch:
|
|
xz -dc $CWD/sources/openjade-1.3.2-gcc46.patch.xz | patch -p1 --verbose || exit 1
|
|
|
|
# Migrate from Perl 4 'getopts' function which was deprecated in Perl 5.16:
|
|
sed -i -e '/getopts/{N;s#&G#g#;s#do .getopts.pl.;##;}' -e '/use POSIX/ause Getopt::Std;' msggen.pl
|
|
|
|
# Refresh libtool for new architecture definitions:
|
|
find . -name config.guess -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.guess '{}'
|
|
find . -name config.sub -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.sub '{}'
|
|
|
|
# Configure:
|
|
CXXFLAGS="$SLKCFLAGS -fno-lifetime-dse" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--enable-splibdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--disable-static \
|
|
--mandir=/usr/man \
|
|
--infodir=/usr/info \
|
|
--disable-static \
|
|
--enable-http \
|
|
--enable-default-catalog=/etc/sgml/catalog \
|
|
--enable-default-search-path=/usr/share/sgml \
|
|
--datadir=/usr/share/sgml/openjade-$OPENJADEVER \
|
|
|| exit 1
|
|
|
|
# Build:
|
|
make || exit 1
|
|
|
|
# Install:
|
|
mkdir -p /etc/sgml
|
|
make install || exit 1
|
|
make install-man || exit 1
|
|
( cd /usr/bin && ln -vfs openjade jade )
|
|
( cd /usr/man/man1 && ln -vfs openjade.1 jade.1 )
|
|
ln -vsf libogrove.so /usr/lib${LIBDIRSUFFIX}/libgrove.so
|
|
ln -vsf libospgrove.so /usr/lib${LIBDIRSUFFIX}/libspgrove.so
|
|
ln -vsf libostyle.so /usr/lib${LIBDIRSUFFIX}/libstyle.so
|
|
install -vpm644 dsssl/catalog /usr/share/sgml/openjade-$OPENJADEVER
|
|
install -vpm644 dsssl/*.{dtd,dsl,sgm} /usr/share/sgml/openjade-$OPENJADEVER
|
|
|
|
# Update SGML catalog:
|
|
install-catalog --add /etc/sgml/openjade-$OPENJADEVER.cat \
|
|
/usr/share/sgml/openjade-$OPENJADEVER/catalog
|
|
install-catalog --add /etc/sgml/sgml-docbook.cat \
|
|
/etc/sgml/openjade-$OPENJADEVER.cat
|
|
|
|
# Update system configuration:
|
|
echo "SYSTEM \"http://www.oasis-open.org/docbook/xml/${XMLDTDVER}/docbookx.dtd\" \
|
|
\"/usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/docbookx.dtd\"" >> \
|
|
/usr/share/sgml/openjade-${OPENJADEVER}/catalog
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/openjade-$OPENJADEVER
|
|
cp -fav \
|
|
COPYING NEWS README VERSION \
|
|
doc/* dsssl/README.jadetex pubtext jadedoc \
|
|
/usr/doc/openjade-$OPENJADEVER
|
|
|
|
####################### Build dsssl-stylesheets ####################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir docbook-dsssl-$DSSSLSTYLESHEETSVER
|
|
cd docbook-dsssl-$DSSSLSTYLESHEETSVER
|
|
tar xvf $CWD/sources/docbook-dsssl-$DSSSLSTYLESHEETSVER.tar.*z* || exit 1
|
|
tar xvf $CWD/sources/docbook-dsssl-doc-$DSSSLSTYLESHEETSVER.tar.*z* || exit 1
|
|
cd docbook-dsssl-$DSSSLSTYLESHEETSVER || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Install:
|
|
install -pm755 bin/collateindex.pl /usr/bin
|
|
install -pm644 bin/collateindex.pl.1 /usr/man/man1
|
|
# Eeek! Debian trim this down but we'll leave it for the moment:
|
|
mkdir -vpm755 /usr/share/sgml/docbook/dsssl-stylesheets-$DSSSLSTYLESHEETSVER/common
|
|
cp -fav * /usr/share/sgml/docbook/dsssl-stylesheets-$DSSSLSTYLESHEETSVER
|
|
|
|
# Update catalog:
|
|
install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
|
/usr/share/sgml/docbook/dsssl-stylesheets-$DSSSLSTYLESHEETSVER/catalog
|
|
install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \
|
|
/usr/share/sgml/docbook/dsssl-stylesheets-$DSSSLSTYLESHEETSVER/common/catalog
|
|
install-catalog --add /etc/sgml/sgml-docbook.cat \
|
|
/etc/sgml/dsssl-docbook-stylesheets.cat
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/dsssl-stylesheets-$DSSSLSTYLESHEETSVER
|
|
cp -fav \
|
|
WhatsNew VERSION RELEASE-NOTES.txt README ChangeLog BUGS \
|
|
/usr/doc/dsssl-stylesheets-$DSSSLSTYLESHEETSVER
|
|
cp -fav \
|
|
frames/README \
|
|
/usr/doc/dsssl-stylesheets-$DSSSLSTYLESHEETSVER/README.frames
|
|
|
|
####################### Build docbook-utils ########################
|
|
|
|
# docbook-utils requires some of the docbook docs to be installed
|
|
# prior to being built.
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir docbook-utils && cd docbook-utils
|
|
rpm2cpio $CWD/sources/docbook-utils-${DOCBOOKUTILSVER}*.src.rpm | cpio -div || exit 1
|
|
tar xvf docbook-utils-$DOCBOOKUTILSVER.tar.gz
|
|
cd docbook-utils-$DOCBOOKUTILSVER || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Extract patch set from Spec file:
|
|
# egrep '^Patch[0-9].*: ' *.spec | awk -F: '{print $2" \\"}'
|
|
#
|
|
# Apply patches:
|
|
for i in \
|
|
\
|
|
docbook-utils-spaces.patch \
|
|
docbook-utils-2ndspaces.patch \
|
|
docbook-utils-w3mtxtconvert.patch \
|
|
docbook-utils-grepnocolors.patch \
|
|
docbook-utils-sgmlinclude.patch \
|
|
docbook-utils-rtfmanpage.patch \
|
|
docbook-utils-papersize.patch \
|
|
docbook-utils-nofinalecho.patch \
|
|
docbook-utils-newgrep.patch \
|
|
\
|
|
; do patch --verbose -p1 < ../$i
|
|
done || exit 1
|
|
|
|
# Refresh libtool for new architecture definitions:
|
|
find . -name config.guess -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.guess '{}'
|
|
find . -name config.sub -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.sub '{}'
|
|
|
|
# Configure:
|
|
CFLAGS="$SLKCFLAGS" \
|
|
CXXFLAGS="$SLKCFLAGS" \
|
|
CPPFLAGS="$SLKCFLAGS" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--mandir=/usr/man \
|
|
|| exit 1
|
|
|
|
# Build:
|
|
make || exit 1
|
|
|
|
# Install:
|
|
make install htmldir=/usr/doc/docbook-utils-$DOCBOOKUTILSVER/html || exit 1
|
|
|
|
# grep-2.7 demands [[:space:]] instead of [:space:]
|
|
if ! fgrep '[[:space:]]' /usr/bin/jw ; then
|
|
sed -i "s/\[:space:\]/\[\[:space:\]\]/g" /usr/bin/jw
|
|
fi
|
|
|
|
# db2html is not just a symlink, as it has to create the output directory:
|
|
rm -f /usr/bin/db2html
|
|
install -vpm755 ../db2html /usr/bin
|
|
install -vpm644 ../gdp-both.dsl /usr/share/sgml/docbook/utils-$DOCBOOKUTILSVER/docbook-utils.dsl
|
|
|
|
# Make binary symlinks:
|
|
( cd /usr/bin
|
|
for util in dvi html pdf ps rtf ; do
|
|
rm -f db2$util
|
|
ln -vfs docbook2$util db2$util
|
|
done
|
|
)
|
|
|
|
# Make man page symlinks:
|
|
( cd /usr/man/man1
|
|
for util in dvi html pdf ps rtf ; do
|
|
rm -f db2$util.1*
|
|
ln -vfs jw.1 db2$util.1
|
|
done
|
|
)
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/docbook-utils-$DOCBOOKUTILSVER
|
|
cp -fav \
|
|
AUTHORS NEWS README TODO \
|
|
/usr/doc/docbook-utils-$DOCBOOKUTILSVER
|
|
|
|
############################
|
|
## xml-dtd / docbook-xml ##
|
|
############################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir xml-dtd-$XMLDTDVER
|
|
cd xml-dtd-$XMLDTDVER
|
|
unzip $CWD/sources/docbook-xml-$XMLDTDVER.zip || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Install 4.x catalog:
|
|
mkdir -vpm755 /usr/share/xml/docbook/xml-dtd-$XMLDTDVER
|
|
cp -fav docbook.cat *.dtd *.mod ent/ \
|
|
/usr/share/xml/docbook/xml-dtd-$XMLDTDVER
|
|
|
|
# Use the Unicode-4 entities from sgml-common to fix errors such as
|
|
# "1D6C2" is not a character number in the document character set
|
|
( cd /usr/share/xml/docbook/xml-dtd-$XMLDTDVER/ent
|
|
rm -fv isogrk4.ent
|
|
ln -vfs ../../../../sgml/xml-iso-entities-*.*/ISOgrk4.ent isogrk4.ent )
|
|
|
|
# Create config files:
|
|
mkdir -vpm755 /etc/xml
|
|
|
|
# This code is taken directly from:
|
|
# http://www.linuxfromscratch.org/blfs/view/svn/pst/xml.html#DocBook
|
|
#
|
|
# Populate /etc/xml/docbook:
|
|
#
|
|
if [ ! -e $XML_DOCBOOKCATALOG ]; then
|
|
xmlcatalog --noout --create $XML_DOCBOOKCATALOG
|
|
fi &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//DTD DocBook XML V${XMLDTDVER}//EN" \
|
|
"http://www.oasis-open.org/docbook/xml/${XMLDTDVER}/docbookx.dtd" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//DTD DocBook XML CALS Table Model V${XMLDTDVER}//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/calstblx.dtd" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/soextblx.dtd" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//ELEMENTS DocBook XML Information Pool V${XMLDTDVER}//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/dbpoolx.mod" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V${XMLDTDVER}//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/dbhierx.mod" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//ELEMENTS DocBook XML HTML Tables V${XMLDTDVER}//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/htmltblx.mod" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//ENTITIES DocBook XML Notations V${XMLDTDVER}//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/dbnotnx.mod" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//ENTITIES DocBook XML Character Entities V${XMLDTDVER}//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/dbcentx.mod" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//ENTITIES DocBook XML Additional General Entities V${XMLDTDVER}//EN" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}/dbgenent.mod" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
"http://www.oasis-open.org/docbook/xml/${XMLDTDVER}" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}" \
|
|
$XML_DOCBOOKCATALOG &&
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
"http://www.oasis-open.org/docbook/xml/${XMLDTDVER}" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-${XMLDTDVER}" \
|
|
$XML_DOCBOOKCATALOG || exit 1
|
|
|
|
#
|
|
# Populate /etc/xml/catalog:
|
|
#
|
|
if [ ! -e $XML_CATALOG ]; then
|
|
xmlcatalog --noout --create $XML_CATALOG
|
|
fi &&
|
|
xmlcatalog --noout --add "delegatePublic" \
|
|
"-//OASIS//ENTITIES DocBook XML" \
|
|
"file:///etc/xml/docbook" \
|
|
$XML_CATALOG &&
|
|
xmlcatalog --noout --add "delegatePublic" \
|
|
"-//OASIS//DTD DocBook XML" \
|
|
"file:///etc/xml/docbook" \
|
|
$XML_CATALOG &&
|
|
xmlcatalog --noout --add "delegateSystem" \
|
|
"http://www.oasis-open.org/docbook/" \
|
|
"file:///etc/xml/docbook" \
|
|
$XML_CATALOG &&
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
"http://www.oasis-open.org/docbook/" \
|
|
"file:///etc/xml/docbook" \
|
|
$XML_CATALOG || exit 1
|
|
|
|
# Rewrites for older docbooks. This allows older docbooks to be referenced.
|
|
# It means, however, that you __*shouldn't* have these older docbooks__
|
|
# installed on your system;
|
|
# so if you just keep the Slackware linuxdoc-tools package you'll be fine:
|
|
#
|
|
for DTDVERSION in 4.1.2 4.2 4.3 4.4
|
|
do
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OASIS//DTD DocBook XML V$DTDVERSION//EN" \
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/docbookx.dtd" \
|
|
$XML_DOCBOOKCATALOG || exit 1
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-$XMLDTDVER" \
|
|
$XML_DOCBOOKCATALOG || exit 1
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION" \
|
|
"file:///usr/share/xml/docbook/xml-dtd-$XMLDTDVER" \
|
|
$XML_DOCBOOKCATALOG || exit 1
|
|
xmlcatalog --noout --add "delegateSystem" \
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
|
|
"file:///etc/xml/docbook" \
|
|
$XML_CATALOG || exit 1
|
|
xmlcatalog --noout --add "delegateURI" \
|
|
"http://www.oasis-open.org/docbook/xml/$DTDVERSION/" \
|
|
"file:///etc/xml/docbook" \
|
|
$XML_CATALOG || exit 1
|
|
done
|
|
|
|
# Copy docs:
|
|
mkdir -pm755 /usr/doc/xml-dtd-$XMLDTDVER
|
|
cp -favv \
|
|
ChangeLog README \
|
|
/usr/doc/xml-dtd-$XMLDTDVER
|
|
|
|
###############################
|
|
## docbook-xsl (stylesheets) ##
|
|
###############################
|
|
# Build receipes:
|
|
# [1] http://www.linuxfromscratch.org/blfs/view/8.1/pst/docbook-xsl.html
|
|
# [2] Fedora's .spec file - included witin the SRPM we extract.
|
|
#
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir docbook-style-xsl && cd docbook-style-xsl
|
|
# This directory holds the sources and patches extracted from the SRPM:
|
|
rpm2cpio $CWD/sources/docbook-style-xsl-*.src.rpm | cpio -div || exit 1
|
|
# Create a build directory to contain the two source archives:
|
|
#
|
|
# Rename the "-nons-" package name back to the original, "docbook-xsl-<version>"
|
|
mkdir -p build/docbook-xsl-$XSLSTYLESHEETSVER ; cd build/docbook-xsl-$XSLSTYLESHEETSVER
|
|
tar xvf ../../docbook-xsl-nons-$XSLSTYLESHEETSVER.tar.bz2 || exit 1
|
|
mv -fv docbook-xsl-nons-$XSLSTYLESHEETSVER/* .
|
|
cd ..
|
|
# Merge doc package into a single source tree (unpacks in to docbook-xsl-$XSLSTYLESHEETSVER)
|
|
tar xvf ../docbook-xsl-doc-$XSLSTYLESHEETSVER.tar.bz2 || exit 1
|
|
cd docbook-xsl-$XSLSTYLESHEETSVER || exit 1
|
|
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Assemble patch list from spec file (and see individual level-2 patch outside of 'for' loop below):
|
|
# egrep '^Patch[0-9].*: ' *.spec | awk -F: '{print $2" \\"}'
|
|
# Apply patches:
|
|
# Note: 'docbook-style-xsl-non-recursive-string-subst.patch' is applied separately
|
|
# as it needs a different patch level.
|
|
for i in \
|
|
\
|
|
docbook-xsl-pagesetup.patch \
|
|
docbook-xsl-marginleft.patch \
|
|
docbook-xsl-newmethods.patch \
|
|
docbook-xsl-non-constant-expressions.patch \
|
|
docbook-xsl-list-item-body.patch \
|
|
docbook-xsl-mandir.patch \
|
|
\
|
|
; do patch --verbose -p1 < ../../$i
|
|
done || exit 1
|
|
patch -p2 < ../../docbook-style-xsl-non-recursive-string-subst.patch || exit 1
|
|
|
|
cp -fav ../../docbook-style-xsl.Makefile Makefile
|
|
# Switch to UTF-8 files:
|
|
for fhtml in $(find ./doc -name '*.html' -type f) ; do
|
|
iconv -f ISO-8859-1 -t UTF-8 "$fhtml" -o "$fhtml".tmp
|
|
mv -f "$fhtml".tmp "$fhtml"
|
|
sed -i 's/charset=ISO-8859-1/charset=UTF-8/' "$fhtml"
|
|
done
|
|
for f in $(find -name "*'*") ; do
|
|
mv -fv "$f" $(echo "$f" | tr -d "'")
|
|
done
|
|
|
|
# Build and install:
|
|
make install \
|
|
BINDIR=/usr/bin \
|
|
DESTDIR=/usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER || exit 1
|
|
install -vpm644 \
|
|
VERSION.xsl \
|
|
/usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER/ || exit 1
|
|
ln -vfs xsl-stylesheets-$XSLSTYLESHEETSVER \
|
|
/usr/share/xml/docbook/xsl-stylesheets
|
|
# Don't ship the extensions (https://bugzilla.redhat.com/show_bug.cgi?id=177256)
|
|
rm -rf /usr/share/xml/docbook/xsl-stylesheets/extensions/*
|
|
|
|
# Some Linux distributions have this here, so we install a compatibility symlink:
|
|
# (this convoluted way of doing it is for makepkg's benefit)
|
|
mkdir -vpm755 /usr/share/xml/docbook/stylesheet
|
|
( cd /usr/share/xml/docbook/stylesheet
|
|
rm -fv docbook-xsl
|
|
ln -vfs ../xsl-stylesheets-$XSLSTYLESHEETSVER docbook-xsl
|
|
# Some stylesheets will look for 'VERSION.xsl' or 'VERSION'
|
|
# Migrating from docbook-xsl to docbook-xsl-nons has meant both are
|
|
# now present, and differ by a couple of lines.
|
|
# However, if 'VERSION' ceases to exist, let's symlink it to .xsl
|
|
# (which will be present, since we put it there during the install phase above).
|
|
cd docbook-xsl
|
|
[ ! -r VERSION ] && ln -vsf VERSION.xsl VERSION
|
|
)
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/docbook-xsl-$XSLSTYLESHEETSVER
|
|
cp -fav doc/* README* RELEASE-NOTES* NEWS* \
|
|
/usr/doc/docbook-xsl-$XSLSTYLESHEETSVER
|
|
|
|
# Create config files:
|
|
mkdir -vpm755 /etc/xml
|
|
if [ ! -f $XML_CATALOG ]; then
|
|
xmlcatalog --noout --create $XML_CATALOG
|
|
fi
|
|
# Configure system:
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
"http://cdn.docbook.org/release/xsl-nons/$XSLSTYLESHEETSVER" \
|
|
"file://usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER" \
|
|
$XML_CATALOG || exit 1
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
"http://cdn.docbook.org/release/xsl-nons/$XSLSTYLESHEETSVER" \
|
|
"file://usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER" \
|
|
$XML_CATALOG || exit 1
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
"http://cdn.docbook.org/release/xsl-nons/current" \
|
|
"file://usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER" \
|
|
$XML_CATALOG || exit 1
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
"http://cdn.docbook.org/release/xsl-nons/current/" \
|
|
"file://usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER" \
|
|
$XML_CATALOG || exit 1
|
|
|
|
## Note:
|
|
## These are the sourceforge URIs, for the previous package before
|
|
## it was renamed to "-nons". We'll keep these around for a while, but
|
|
## check that they still exist when next updating this package.
|
|
xmlcatalog --noout --add "rewriteSystem" \
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER" \
|
|
$XML_CATALOG || exit 1
|
|
xmlcatalog --noout --add "rewriteURI" \
|
|
"http://docbook.sourceforge.net/release/xsl/current" \
|
|
"/usr/share/xml/docbook/xsl-stylesheets-$XSLSTYLESHEETSVER" \
|
|
$XML_CATALOG || exit 1
|
|
|
|
####################### Build xmlto ################################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir xmlto && cd xmlto
|
|
#tar xvf $CWD/sources/xmlto-$XMLTOVER.tar.*z*
|
|
rpm2cpio $CWD/sources/xmlto-${XMLTOVER}*.src.rpm | cpio -div || exit 1
|
|
tar xvvf xmlto-$XMLTOVER.tar.*z*
|
|
cd xmlto-$XMLTOVER || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Configure:
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--mandir=/usr/man \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
|| exit 1
|
|
|
|
# Build:
|
|
make || exit 1
|
|
|
|
# Install:
|
|
make install || exit 1
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/xmlto-$XMLTOVER
|
|
cp -fav \
|
|
AUTHORS COPYING ChangeLog FAQ INSTALL NEWS README \
|
|
/usr/doc/xmlto-$XMLTOVER
|
|
|
|
####################### Build SGMLSPL ##############################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
tar xvf $CWD/sources/libsgmls-perl_$SGMLSPLVER.orig.tar.*z* || exit 1
|
|
cd libsgmls-perl-$SGMLSPLVER.orig
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
tar xvvf $CWD/sources/libsgmls-perl_$SGMLSPLVER-*.debian.tar.xz || exit 1
|
|
|
|
# Apply patches from Debian:
|
|
cat debian/patches/series | while read dpf ; do
|
|
patch -p1 --verbose < debian/patches/$dpf || exit 1
|
|
done || exit 1
|
|
|
|
# Configure:
|
|
perl Makefile.PL INSTALLDIRS=vendor || exit 1
|
|
sed -i 's?/share/man?/man/?g' Makefile
|
|
|
|
# Build:
|
|
make OPTIMIZE="$SLKCFLAGS" || exit 1
|
|
|
|
# Install:
|
|
make install PREFIX=/usr
|
|
sed 's?usr/share/doc/sgmls-doc/?usr/doc/sgmlspl-'"$SGMLSPLVER"'/?g' sgmlspl.1 > /usr/man/man1/sgmlspl.1
|
|
mv -fv /usr/bin/sgmlspl{.pl,}
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/sgmlspl-$SGMLSPLVER
|
|
cp -fav \
|
|
BUGS COPYING README TODO \
|
|
/usr/doc/sgmlspl-$SGMLSPLVER
|
|
cp -fav \
|
|
DOC/HTML/{SGMLSpm,sgmlspl} \
|
|
/usr/doc/sgmlspl-$SGMLSPLVER
|
|
|
|
####################### Build linuxdoc-tools ########################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir linuxdoc-tools && cd linuxdoc-tools
|
|
#rpm2cpio $CWD/sources/linuxdoc-tools-${LINUXDOCTOOLSVER}*.src.rpm | cpio -div || exit 1
|
|
#tar xvf linuxdoc-tools_$LINUXDOCTOOLSVER.tar.gz
|
|
tar xvf $CWD/sources/linuxdoc-tools_$LINUXDOCTOOLSVER.tar.?z
|
|
cd linuxdoc-tools-$LINUXDOCTOOLSVER || exit 1
|
|
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Remove Tex from the $PATH so that we don't build formats of the linuxdoc-tools
|
|
# guide which don't work with tetex-3. These do work with texlive, but Slackware doesn't
|
|
# ship that, and just how many alternate versions of the documentation do we need anyway? :-)
|
|
OPATH=$PATH
|
|
export PATH=$( echo $PATH | sed -e 's?:/usr/share/texmf/bin??g' -e 's?/usr/share/texmf/bin:??g' )
|
|
|
|
# Apply patches (these were originally taken from the Fedora SRPM but broken out later
|
|
# when the 'original' source from Debian began to be used)
|
|
# We used to apply 'linuxdoc-tools-0.9.13-letter.patch.xz' but it won't apply to the
|
|
# latest linuxdoc-tools source. It simply changed the default page size to 'Letter'.
|
|
# Probably not too much to worry about there.
|
|
for i in \
|
|
linuxdoc-tools-0.9.20-lib64.patch.xz ; do
|
|
xzcat $CWD/sources/$i | patch -p1 || exit 1
|
|
done || exit 1
|
|
|
|
# Find out what our Vendor perl directory is:
|
|
eval $(perl '-V:installvendorlib')
|
|
mkdir -p $PKG/$installvendorlib
|
|
|
|
# Configure:
|
|
CFLAGS="$SLKCFLAGS" \
|
|
CXXFLAGS="$SLKCFLAGS" \
|
|
CPPFLAGS="$SLKCFLAGS" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--with-perllibdir=$installvendorlib \
|
|
--mandir=/usr/man \
|
|
--with-installed-nsgmls \
|
|
--infodir=/usr/info \
|
|
--enable-docs="txt html info" \
|
|
|| exit 1
|
|
# --with-installed-iso-entities \
|
|
# --with-texdir=/usr/share/texmf/tex/latex/ \
|
|
|
|
# Adjust doc dir location:
|
|
sed -i 's?share/doc/linuxdoc-tools?doc/linuxdoc-tools-'"$LINUXDOCTOOLSVER"'?g' Makefile
|
|
|
|
( cd entity-map && autoconf && ./configure --prefix=/usr )
|
|
|
|
# Build serial. This does build in parallel but
|
|
# I find linuxdoc-tools to be fragile between versions:
|
|
make \
|
|
perl5libdir=$PKG/$installvendorlib \
|
|
OPTIMIZE="$SLKCFLAGS" \
|
|
PERL=/usr/bin/perl \
|
|
DESTDIR=/ \
|
|
LINUXDOCDOC=/usr/doc/linuxdoc-tools-$LINUXDOCTOOLSVER || exit 1
|
|
|
|
# Install:
|
|
make install \
|
|
PERL=/usr/bin/perl \
|
|
perl5libdir=$PKG/$installvendorlib \
|
|
DESTDIR=/ \
|
|
LINUXDOCDOC=/usr/doc/linuxdoc-tools-$LINUXDOCTOOLSVER || exit 1
|
|
|
|
# Install info page:
|
|
cat debian/linuxdoc-tools.info-base doc/guide.info > /usr/info/linuxdoc-sgml.info
|
|
|
|
# This package contains a number of programs.
|
|
# We maintain our own change log for this package. Since the package name is
|
|
# 'linuxdoc-tools', let's put our changelog into here:
|
|
install -vpm644 $CWD/ChangeLog.txt /usr/doc/linuxdoc-tools-$LINUXDOCTOOLSVER/Slackware-ChangeLog.txt
|
|
|
|
# Restore $PATH:
|
|
export PATH=$OPATH
|
|
|
|
####################### Build gnome-doc-utils #######################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir gnome-doc-utils && cd gnome-doc-utils
|
|
rpm2cpio $CWD/sources/gnome-doc-utils-*.src.rpm | cpio -div || exit 1
|
|
tar xvf gnome-doc-utils-$GNOMEDOCUTILSVER.tar.*z*
|
|
cd gnome-doc-utils-*/ || exit 1
|
|
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Apply patches:
|
|
# Extract patch set from Spec file:
|
|
# egrep '^Patch[0-9].*: ' *.spec | awk -F: '{print $2" \\"}'
|
|
#
|
|
# Note: exclude patch 'gnome-doc-utils-0.14.0-package.patch' as it's an RH bug from 2008
|
|
# and we've never included it.
|
|
for i in \
|
|
\
|
|
gnome-doc-utils-0.20.10-python3.patch \
|
|
\
|
|
; do patch --verbose -p1 < ../$i
|
|
done || exit 1
|
|
|
|
# Refresh libtool for new architecture definitions:
|
|
find . -name config.guess -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.guess '{}'
|
|
find . -name config.sub -print0 | xargs -0i cp -favv /usr/share/libtool/build-aux/config.sub '{}'
|
|
|
|
# Configure:
|
|
CFLAGS="$SLKCFLAGS" \
|
|
CXXFLAGS="$SLKCFLAGS" \
|
|
CPPFLAGS="$SLKCFLAGS" \
|
|
PYTHON=/usr/bin/python3 \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--mandir=/usr/man \
|
|
--disable-scrollkeeper \
|
|
--enable-build-utils \
|
|
--build=$ARCH-slackware-linux$HOSTTARGET || exit 1
|
|
|
|
# No parallel build here because it doesn't work:
|
|
make || exit 1
|
|
|
|
# Install:
|
|
make install DESTDIR=/ || exit 1
|
|
|
|
# Copy docs:
|
|
mkdir -p $PKG/usr/doc/gnome-doc-utils-$GNOMEDOCUTILSVER
|
|
cp -fav \
|
|
AUTHORS ChangeLog COPYING* INSTALL NEWS README \
|
|
/usr/doc/gnome-doc-utils-$GNOMEDOCUTILSVER
|
|
|
|
####################### Build gtk-doc ###############################
|
|
|
|
# Extract source:
|
|
cd $TMP
|
|
mkdir gtk-doc && cd gtk-doc
|
|
rpm2cpio $CWD/sources/gtk-doc-*.src.rpm | cpio -div || exit 1
|
|
tar xvf gtk-doc-$GTKDOCVER.tar.*z*
|
|
cd gtk-doc-*/ || exit 1
|
|
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Apply patches:
|
|
# Extract patch set from Spec file:
|
|
# egrep '^Patch[0-9].*: ' *.spec | awk -F: '{print $2" \\"}'
|
|
# Note: exclude patch 'gnome-doc-utils-0.14.0-package.patch' as it's an RH bug from 2008
|
|
# and we've never included it.
|
|
for i in \
|
|
\
|
|
0001-Partially-revert-a-gtk-doc-1.31-change-that-broke-e-.patch \
|
|
\
|
|
; do patch --verbose -p1 < ../$i
|
|
done || exit 1
|
|
|
|
# Configure:
|
|
mkdir meson-build
|
|
pushd meson-build
|
|
CFLAGS="$SLKCFLAGS" \
|
|
CXXFLAGS="$SLKCFLAGS" \
|
|
CPPFLAGS="$SLKCFLAGS" \
|
|
meson setup \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--libexecdir=/usr/libexec \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/sbin \
|
|
--includedir=/usr/include \
|
|
--datadir=/usr/share \
|
|
--mandir=/usr/man \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
.. || exit 1
|
|
|
|
# Build:
|
|
"${NINJA:=ninja}" $NUMJOBS --verbose || exit 1
|
|
|
|
# Install:
|
|
DESTDIR=/ $NINJA install --verbose || exit 1
|
|
popd
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/gtk-doc-$GTKDOCVER
|
|
cp -fav \
|
|
AUTHORS COPYING INSTALL MAINTAINERS NEWS README TODO \
|
|
/usr/doc/gtk-doc-$GTKDOCVER
|
|
|
|
####################### Build docbook2X ###############################
|
|
|
|
cd $TMP
|
|
|
|
# Build supporting PERL libraries first:
|
|
( mkdir XML-NamespaceSupport && cd XML-NamespaceSupport
|
|
rpm2cpio $CWD/sources/perl-XML-NamespaceSupport-*.src.rpm | cpio -di
|
|
tar xvf XML-NamespaceSupport-*.tar.gz
|
|
cd XML-NamespaceSupport*/ || exit 1
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
# Make sure the man pages go where we want them:
|
|
fgrep -lr -- '/share/man/' . | xargs sed -i 's?/share/man/?/man/?g'
|
|
make || exit 1
|
|
make test || exit 1
|
|
make pure_install || exit 1 || exit 1 ) || exit 1
|
|
|
|
( mkdir perl-XML-SAX-Base && cd perl-XML-SAX-Base
|
|
rpm2cpio $CWD/sources/perl-XML-SAX-Base-*.src.rpm | cpio -di
|
|
tar xvf XML-SAX-Base-*z
|
|
cd XML-SAX-Base-*/ || exit 1
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
fgrep -lr -- '/share/man/' . | xargs sed -i 's?/share/man/?/man/?g'
|
|
make || exit 1
|
|
make test || exit 1
|
|
make pure_install || exit 1 ) || exit 1
|
|
|
|
( mkdir XML-SAX && cd XML-SAX
|
|
rpm2cpio $CWD/sources/perl-XML-SAX-[0-9]*.src.rpm | cpio -di
|
|
tar xvf XML-SAX-*nopatents.tar*
|
|
cd XML-SAX-*/ || exit 1
|
|
patch -p1 < ../perl-XML-SAX-0.99-rt20126.patch || exit 1
|
|
# Answer Y to updating ParserDetails.ini:
|
|
yes | perl Makefile.PL INSTALLDIRS=vendor
|
|
fgrep -lr -- '/share/man/' . | xargs sed -i 's?/share/man/?/man/?g'
|
|
make || exit 1
|
|
make test || exit 1
|
|
make pure_install || exit 1
|
|
# We need to make a ParserDetails.ini file, as suggested here:
|
|
# http://perl-xml.sourceforge.net/faq/#parserdetails.ini
|
|
perl -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" ) || exit 1
|
|
|
|
# Build docbook2X:
|
|
# Extract source:
|
|
tar xvf $CWD/sources/docbook2x*.orig.tar.xz
|
|
cd docbook2X-*/ || exit 1
|
|
chown -R root:root .
|
|
find . \
|
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
|
-exec chmod 755 {} \; -o \
|
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
|
-exec chmod 644 {} \;
|
|
|
|
# Apply patches:
|
|
tar xvvf $CWD/sources/docbook2x*debian*z || exit 1
|
|
for i in \
|
|
01_fix_static_datadir_evaluation.patch \
|
|
02_fix_418703_dont_use_abbreviated_sfnet_address.patch \
|
|
03_fix_420153_filename_whitespace_handling.patch \
|
|
04_fix_442782_preprocessor_declaration_syntax.patch \
|
|
05_fix_439214_error_on_missing_refentry.patch \
|
|
06_fix_man_typo.patch ; do
|
|
patch --verbose -p1 < debian/patches/$i || exit 1
|
|
done
|
|
|
|
# Configure:
|
|
CFLAGS="$SLKCFLAGS" \
|
|
CXXFLAGS="$SLKCFLAGS" \
|
|
CPPFLAGS="$SLKCFLAGS" \
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
--mandir=/usr/man \
|
|
--infodir=/usr/info \
|
|
--docdir=/usr/doc/docbook2X-$DOCBOOK2XVER \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-dependency-tracking \
|
|
--program-transform-name="s/^docbook2/docbook2x-/" \
|
|
--with-html-xsl \
|
|
--build=$ARCH-slackware-linux$HOSTTARGET || exit 1
|
|
|
|
# Build:
|
|
make || exit 1
|
|
|
|
# Install:
|
|
make install || exit 1
|
|
mv -fv /usr/share/doc/docbook2X /usr/doc/docbook2X-$DOCBOOK2XVER
|
|
|
|
# Copy docs:
|
|
mkdir -vpm755 /usr/doc/docbook2X-$DOCBOOK2XVER
|
|
cp -fav \
|
|
AUTHORS COPYING ChangeLog NEWS README THANKS TODO \
|
|
/usr/doc/docbook2X-$DOCBOOK2XVER
|
|
|
|
####################### Build AsciiDoc: Pass 2 of 2 #################
|
|
|
|
# Now build asciidoc with documentation:
|
|
build_asciidoc
|
|
|
|
#######################################################################
|
|
|
|
# Install the package description and post installation script:
|
|
rm -rf /install
|
|
mkdir -vpm755 /install
|
|
install -vpm644 $CWD/slack-desc /install
|
|
zcat $CWD/doinst.sh.gz > /install/doinst.sh
|