diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2013-11-04 17:08:47 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2018-05-31 22:57:36 +0200 |
commit | 76fc4757ac91ac7947a01fb7b53dddf9a78a01d1 (patch) | |
tree | 9b98e6e193c7870cb27ac861394c1c4592850922 /source/kde/KDE.SlackBuild | |
parent | 9664bee729d487bcc0a0bc35859f8e13d5421c75 (diff) | |
download | current-76fc4757ac91ac7947a01fb7b53dddf9a78a01d1.tar.gz |
Slackware 14.1slackware-14.1
Mon Nov 4 17:08:47 UTC 2013
Slackware 14.1 x86_64 stable is released!
It's been another interesting release cycle here at Slackware bringing
new features like support for UEFI machines, updated compilers and
development tools, the switch from MySQL to MariaDB, and many more
improvements throughout the system. Thanks to the team, the upstream
developers, the dedicated Slackware community, and everyone else who
pitched in to help make this release a reality.
The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a
dual-sided
32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware
project by picking up a copy from store.slackware.com. We're taking
pre-orders now, and offer a discount if you sign up for a subscription.
Have fun! :-)
Diffstat (limited to 'source/kde/KDE.SlackBuild')
-rwxr-xr-x | source/kde/KDE.SlackBuild | 49 |
1 files changed, 48 insertions, 1 deletions
diff --git a/source/kde/KDE.SlackBuild b/source/kde/KDE.SlackBuild index 7d40f165..5af89d45 100755 --- a/source/kde/KDE.SlackBuild +++ b/source/kde/KDE.SlackBuild @@ -245,6 +245,8 @@ build_mod_pkg () { # Run cmake, using custom cmake script if needed: if [ -r $CWD/cmake/${PKGNAME} ]; then . $CWD/cmake/${PKGNAME} + elif [ -r $CWD/cmake/${kde_module} ]; then + . $CWD/cmake/${kde_module} else # This is the default configure script: . $CWD/cmake/cmake @@ -328,13 +330,54 @@ build_mod_pkg () { done - # Nothing here? Must have been fully modular. :-) + # At this point, we have left the loop to build modular packages. + # We might need to build a package for the "<kde_module>", but to + # avoid needlessly repacking if there happens to be a package with + # the same name as "<kde_module>", we'll do some checks first. + + # If every package listed in modules/"<kde_module>" is also listed + # in the modularize file, then there's no need to make a package + # for "<kde_module>": + echo + echo "Searching for packages in ${kde_module} that were not built modular:" + cat $CWD/modules/${kde_module} | grep -v "^#" | grep -v -w "^" | while read checkpackage ; do + if ! grep -wq "^$checkpackage" ${CWD}/modularize ; then + # Non-modular package found, so we'll have to build the package below. + # It might already have been built once, but in that case it is likely + # that more things have been added to the package directory since then. + echo "Found non-modular package $checkpackage." + exit 99 + fi + done + + # Exit if everything in "<kde_module>" was built modular: + if [ ! $? = 99 ]; then + echo "No non-modular components found in ${kde_module}." + echo "Not building catch-all package for ${kde_module}." + echo + return + fi + + # If there's no /usr directory in the "<kde_module>" package directory, + # then skip it. There's nothing present worth packing up. if [ ! -d ${SLACK_KDE_BUILD_DIR}/${kde_module}/package-${kde_module}/usr ]; then + echo "No /usr directory found in package-${kde_module}." + echo "Not building catch-all package for ${kde_module}." + echo return fi # Build a "<kde_module>" package for anything that wasn't built modular: # It's safer to consider these to have binaries in them. ;-) + + # Put up a bit of a black-box warning, in case this was a mistake where + # something was meant to be listed in the modularize file and wasn't: + echo + echo "**************************************************************************" + echo "* Building combined package for non-modular parts of ${kde_module}" + echo "**************************************************************************" + echo + PKGARCH=$ARCH cd $PKG @@ -417,8 +460,11 @@ mkdir -p $SLACK_KDE_BUILD_DIR # Same goes for kdelibs (at least during KDE 4.8.x) kdeutils:ksecrets needs # kdelibs and then kdelibs needs a rebuild to pick up ksecretservice # (this will no longer be required in KDE 4.9). +# And kde-baseapps is rebuilt after kdewebdev because it can then pickup +# libtidy and enable the Konqueror validators plugin to validate HTML. KDEMODS=" \ kdelibs \ + kdebase:nepomuk-core \ kdepimlibs \ kdebase \ kdesdk \ @@ -440,6 +486,7 @@ KDEMODS=" \ kdepim-runtime \ kdeedu \ kdewebdev \ + kdebase:kde-baseapps \ kdeplasma-addons \ polkit-kde \ extragear \ |