summaryrefslogtreecommitdiff
path: root/pcr/culmus
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-12 05:46:17 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-12 07:15:27 -0400
commit6adb687f5b1fa29e36ba39624a4f5ed294b10a6e (patch)
treefaed837f0e0a5239fd220a5fb07ccac6fc39dc8b /pcr/culmus
parente5040a86fb06532d41a83a614a0e6e3a34a9d6a9 (diff)
[culmus]: remove package
could not make it work
Diffstat (limited to 'pcr/culmus')
-rw-r--r--pcr/culmus/PKGBUILD50
-rw-r--r--pcr/culmus/culmus-0.121-fontconfig_fix.patch203
-rw-r--r--pcr/culmus/culmus.install41
3 files changed, 0 insertions, 294 deletions
diff --git a/pcr/culmus/PKGBUILD b/pcr/culmus/PKGBUILD
deleted file mode 100644
index a1b9745ff..000000000
--- a/pcr/culmus/PKGBUILD
+++ /dev/null
@@ -1,50 +0,0 @@
-# Maintainer (AUR): Ivan Puntiy <ivan.puntiy at gmail>
-# Contributor (AUR): <francois.archlinux.org>
-# Contributor: Alon Ivtsan <alonivtsan@lavabit.com>
-
-# parabola changes and rationale:
-# - added .install file to update fonts cache
-
-pkgname=culmus
-pkgver=0.132
-pkgrel=1
-pkgdesc="A collection of Type1 and TrueType Hebrew fonts"
-arch=('any')
-url="http://culmus.sourceforge.net"
-license=('GPL2')
-depends=('fontconfig' 'xorg-fonts-alias' 'xorg-font-utils' 'xorg-fonts-encodings')
-install=${pkgname}.install
-source=(
- "http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
- "$pkgname-0.121-fontconfig_fix.patch"
-)
-sha256sums=('b13e7463ede5e56da79892e6a22eaca8ae3e0fc34a30fcf7417412a45dee072c'
- '6ba13854700bd9cdf6b8facd920082aed367bedabe10e93bd39cfe6bf8eb76fd')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # fix due to fontconfig 2.10.1 update - patch mailed to upstream
- patch culmus.conf "$srcdir/$pkgname-0.121-fontconfig_fix.patch"
-}
-
-package() {
- # install Type1 fonts
- install -m755 -d "${pkgdir}/usr/share/fonts/Type1"
- install -m644 "${srcdir}/culmus-$pkgver/"*.{afm,pfa} \
- "${pkgdir}/usr/share/fonts/Type1"
-
- # install ttf fonts
- install -m755 -d "${pkgdir}/usr/share/fonts/TTF"
- install -m644 "${srcdir}/culmus-${pkgver}/"*.ttf \
- "${pkgdir}/usr/share/fonts/TTF"
-
- # install provided config file with priority 61
- install -m755 -d "${pkgdir}/etc/fonts/conf.avail/"
- install -m644 "${srcdir}/culmus-${pkgver}/culmus.conf" \
- "${pkgdir}/etc/fonts/conf.avail/61-culmus.conf"
-
- # symlink for the abovementioned config file
- install -m755 -d "${pkgdir}/etc/fonts/conf.d"
- ln -fs "../conf.avail/61-culmus.conf" "${pkgdir}/etc/fonts/conf.d/"
-}
diff --git a/pcr/culmus/culmus-0.121-fontconfig_fix.patch b/pcr/culmus/culmus-0.121-fontconfig_fix.patch
deleted file mode 100644
index d303cbb09..000000000
--- a/pcr/culmus/culmus-0.121-fontconfig_fix.patch
+++ /dev/null
@@ -1,203 +0,0 @@
---- culmus.conf.original 2011-12-20 22:21:43.509488367 +0200
-+++ culmus.conf.fixed 2012-09-09 21:14:42.401273058 +0300
-@@ -8,6 +8,17 @@
- <match target="pattern" >
- <test name="family" >
- <string>Guttman Adii</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>David CLM</string>
-+ </edit>
-+ <edit mode="assign" binding="same" name="slant" >
-+ <const>italic</const>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman Adii-Light</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -30,6 +41,14 @@
- <match target="pattern" >
- <test name="family" >
- <string>Guttman Stam</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Stam Ashkenaz CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman Stam1</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -40,6 +59,14 @@
- <match target="pattern" >
- <test name="family" >
- <string>Guttman Hodes</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Hadasim CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Monotype Hadassah</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -50,7 +77,23 @@
- <match target="pattern" >
- <test name="family" >
- <string>Aharoni</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Aharoni CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman Aharoni</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Aharoni CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman-Aharoni</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -61,7 +104,23 @@
- <match target="pattern" >
- <test name="family" >
- <string>FrankRuehl</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Frank Ruehl CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman Frank</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Frank Ruehl CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman Frnew</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -72,7 +131,23 @@
- <match target="pattern" >
- <test name="family" >
- <string>David</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>David CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>David Transparent</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>David CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman David</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -83,8 +158,32 @@
- <match target="pattern" >
- <test name="family" >
- <string>Fixed Miriam Transparent</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Miriam Mono CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman Myamfix</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Miriam Mono CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman-CourMir</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Miriam Mono CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Miriam Fixed</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -95,8 +194,32 @@
- <match target="pattern" >
- <test name="family" >
- <string>Guttman Miryam</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Miriam CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Levenim MT</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Miriam CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Miriam</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Miriam CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Miriam Transparent</string>
- </test>
- <edit mode="append" binding="same" name="family" >
-@@ -107,6 +230,14 @@
- <match target="pattern" >
- <test name="family" >
- <string>Guttman Drogolin</string>
-+ </test>
-+ <edit mode="append" binding="same" name="family" >
-+ <string>Drugulin CLM</string>
-+ </edit>
-+ </match>
-+
-+ <match target="pattern" >
-+ <test name="family" >
- <string>Guttman Vilna</string>
- </test>
- <edit mode="append" binding="same" name="family" >
diff --git a/pcr/culmus/culmus.install b/pcr/culmus/culmus.install
deleted file mode 100644
index 1376ca5ce..000000000
--- a/pcr/culmus/culmus.install
+++ /dev/null
@@ -1,41 +0,0 @@
-configs=('61-culmus.conf')
-
-update_fontcache() {
- fc-cache -fs
- mkfontscale /usr/share/fonts/Type1
- mkfontdir /usr/share/fonts/Type1
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
-}
-
-post_install() {
- pushd /etc/fonts/conf.d > /dev/null
- for config in "${configs[@]}"; do
- ln -sf ../conf.avail/${config} .
- done
- popd > /dev/null
-
- update_fontcache
-}
-
-post_upgrade() {
- if [ "`vercmp 0.102-1 $2`" != "-1" ] || [ ! -L /etc/fonts/conf.d/61-culmus.conf ]; then
- pushd /etc/fonts/conf.d > /dev/null
- for config in "${configs[@]}"; do
- ln -sf ../conf.avail/${config} .
- done
- popd > /dev/null
- fi
-
- update_fontcache
-}
-
-post_remove() {
- pushd /etc/fonts/conf.d > /dev/null
- for config in "${configs[@]}"; do
- rm -f ${config}
- done
- popd > /dev/null
-
- update_fontcache
-}