aboutsummaryrefslogtreecommitdiff
path: root/system/fonts-kopub
diff options
context:
space:
mode:
Diffstat (limited to 'system/fonts-kopub')
-rw-r--r--system/fonts-kopub/License_en.txt61
-rw-r--r--system/fonts-kopub/README10
-rw-r--r--system/fonts-kopub/doinst.sh24
-rw-r--r--system/fonts-kopub/fonts-kopub.SlackBuild75
-rw-r--r--system/fonts-kopub/fonts-kopub.info16
-rw-r--r--system/fonts-kopub/slack-desc19
6 files changed, 205 insertions, 0 deletions
diff --git a/system/fonts-kopub/License_en.txt b/system/fonts-kopub/License_en.txt
new file mode 100644
index 0000000000..f38e591b33
--- /dev/null
+++ b/system/fonts-kopub/License_en.txt
@@ -0,0 +1,61 @@
+ [‘KoPub Font’ and ‘KoPubWorld Font’ License Terms]
+
+Article 1 Definitions
+
+These terms apply to the ‘KoPub Font’ and ‘KoPubWorld Font’ software that you are
+currently installing. Installing the fonts means that you agree to these terms and
+conditions, and you must comply with all of the terms and conditions.
+
+Article 2 Terms
+
+1. ‘Font Software’ means a collection of files distributed by the Copyright Holder
+ under this License and clearly marked as such, including source files, build scripts, and documentation.
+2. ‘Copyrighted Font Name’ means the name designated in accordance with the Copyright Policy.
+3. ‘Original’ means the font software component distributed by the Copyright Holder.
+4. ‘Modified Version’ means a derivative work created by adding, deleting, or replacing part or all of the
+ original by changing the format or porting the font software to a new environment, including secondary works.
+
+Article 3 Copyright
+
+The copyrights for KoPub Batang (Light, Medium, Bold), KoPub Dotum (Light, Medium, Bold), KoPubWorld Batang (Light, Medium, Bold),
+and KoPubWorld Dotum (Light, Medium, Bold) are held by the Culture and Sports Center
+Ministry (http://www.mcst.go.kr) and the Korean Publishers Association (http://www.kopus.org).
+
+Article 4 Granting of License
+
+Any individual, company, or organization that has been granted permission to use the font software is permitted to use,
+study, copy, integrate, insert, modify, and redistribute modified or unmodified copies of the font software free of charge,
+subject to the following conditions.
+
+1. The font software (original, modified version, etc.) or the font itself, which is an individual component, may be used
+ free of charge by anyone, but commercial activities such as selling it for a fee are prohibited unless prior consent is given.
+
+2. The copyrighted names ‘KoPub’ and ‘KoPubWorld’ must not be used in any modified version of this font software without the
+ prior consent of the copyright holder. This restriction refers to the existing font name provided.
+
+3. The names of the copyright holders or authors of this font software cannot be used for the purpose of inducing, recommending,
+ or advertising the use of the modified version except with their prior consent or to acknowledge their contributions.
+
+4. This font software must be distributed under this license, regardless of whether it is in whole or in part or modified,
+ and cannot be distributed under any other license. When distributing or transmitting this font or modified version,
+ you must inform the recipient of the terms and conditions.
+
+5. You may be subject to legal liability in case of violation of these terms and conditions.
+
+Article 5 Disclaimer
+
+The copyright holder provides this font software “as is” without any express or implied warranties, including
+non-infringement of copyright, patent rights, trademark rights, and other rights, and fitness for a particular purpose.
+In no event shall the copyright holder be liable for any lawsuit, damage, or other liability, including any general,
+special, indirect, incidental, or inevitable damages, arising from any contract, tort, or other matter arising out of
+or in connection with the use or inability to use this font software or any other handling of the font software.
+
+Article 6 Other
+
+1. The copyright holder has the right to permit the use of the font or to stop the distribution of the font at any time
+ under conditions different from these Terms and Conditions.
+2. These Terms and Conditions are provided in Korean, and even if there is a translated version of these Terms and Conditions,
+ it is only a material for interpreting the Korean version, and if the Korean version and the translated version do not match,
+ the Korean version shall take precedence.
+3. These Terms and Conditions shall be governed by and interpreted based on the laws of the Republic of Korea,
+ regardless of the user's nationality or place of residence.
diff --git a/system/fonts-kopub/README b/system/fonts-kopub/README
new file mode 100644
index 0000000000..6f13a9de5e
--- /dev/null
+++ b/system/fonts-kopub/README
@@ -0,0 +1,10 @@
+Korea Publisher society releases two fonts kopub and kopub world.
+kopub font for electronic publishing implementing optimal
+readablity and aesthetics in ebook environment. The kopub world font
+is a multilingual font.korea publisher society publishes these fonts
+with the aim to strength the publishers.
+The following fonts are available:
+1. kopub Batang
+2. kopub Dotum
+3. kopub world Batang
+4. kopub world Dotum
diff --git a/system/fonts-kopub/doinst.sh b/system/fonts-kopub/doinst.sh
new file mode 100644
index 0000000000..b1446e3188
--- /dev/null
+++ b/system/fonts-kopub/doinst.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+# Update the X font indexes:
+
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+
+[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/system/fonts-kopub/fonts-kopub.SlackBuild b/system/fonts-kopub/fonts-kopub.SlackBuild
new file mode 100644
index 0000000000..235e520cb2
--- /dev/null
+++ b/system/fonts-kopub/fonts-kopub.SlackBuild
@@ -0,0 +1,75 @@
+#!/bin/bash
+
+# Slackware build script for fonts-kopub
+
+# Copyright 2025 Vijay Marcel
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+cd $(dirname $0) ; CWD=$(pwd)
+
+PRGNAM=fonts-kopub
+VERSION=${VERSION:-202204}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
+ARCH=noarch
+
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+trap 'echo "$0 FAILED at line $LINENO!" | tee -a $OUTPUT/error-${PRGNAM}.log' ERR
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir fnt
+find "$CWD" -name '*.zip' -type f -exec unzip {} -d $TMP/fnt \;
+cd fnt
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+mkdir -pv $PKG/usr/share/fonts/{TTF,OTF}
+mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
+
+find $TMP/fnt -name '*.otf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/OTF \;
+find $TMP/fnt -name '*.ttf' -type f -exec install -D -m0644 -v {} -t $PKG/usr/share/fonts/TTF \;
+
+cat $CWD/License_en.txt > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-License_en.txt
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/fonts-kopub/fonts-kopub.info b/system/fonts-kopub/fonts-kopub.info
new file mode 100644
index 0000000000..e5adceaba2
--- /dev/null
+++ b/system/fonts-kopub/fonts-kopub.info
@@ -0,0 +1,16 @@
+PRGNAM="fonts-kopub"
+VERSION="202204"
+HOMEPAGE="https://www.kopus.org"
+DOWNLOAD="https://www.kopus.org/wp-content/uploads/2022/04/KOPUB2.0_TTF_FONTS.zip \
+ https://www.kopus.org/wp-content/uploads/2022/04/KOPUB2.0_OTF_FONTS.zip \
+ https://www.kopus.org/wp-content/uploads/2021/03/KOPUBWORLD_TTF_FONTS-1.zip \
+ https://www.kopus.org/wp-content/uploads/2021/03/KOPUBWORLD_OTF_FONTS.zip"
+MD5SUM="e8c3a26cf220082611eea870d8efd8f2 \
+ 84140994b7139750353784da2a54f977 \
+ 9dea0943591b07357f369dd9d2a55c7f \
+ 86b0e759d02f7d56b3b8c4522649b750"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Vijay Marcel"
+EMAIL="vijaymarcel@outlook.com"
diff --git a/system/fonts-kopub/slack-desc b/system/fonts-kopub/slack-desc
new file mode 100644
index 0000000000..47f113d0a2
--- /dev/null
+++ b/system/fonts-kopub/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+fonts-kopub: fonts-kopub (Korea Publisher Society Fonts)
+fonts-kopub:
+fonts-kopub: Korea Publisher society releases two fonts kopub and kopub world.
+fonts-kopub: kopub font for electronic publishing implementing optimal
+fonts-kopub: readablity and aesthetics in ebook environment. The kopub world font
+fonts-kopub: is a multilingual font.korea publisher society publishes these fonts
+fonts-kopub: with the aim to strength the publishers.
+fonts-kopub:
+fonts-kopub:
+fonts-kopub: homepage:https://www.kopus.org
+fonts-kopub: