public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
* [ITA] fontconfig
@ 2024-02-22 10:40 Takashi Yano
  2024-02-22 10:53 ` Takashi Yano
  2024-02-22 15:19 ` Brian.Inglis
  0 siblings, 2 replies; 14+ messages in thread
From: Takashi Yano @ 2024-02-22 10:40 UTC (permalink / raw)
  To: cygwin-apps; +Cc: Brian.Inglis

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

CC: Brian,

I would like to adopt fontconfig package.

Brian, by any chance, do you also want to adopt fontconfig
package? I'm asking because I noticed that your commits exist
in playground branch.

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

[-- Attachment #2: fontconfig.cygport --]
[-- Type: text/plain, Size: 3491 bytes --]

NAME="fontconfig"
VERSION=2.15.0
RELEASE=1
LICENSE="MIT AND Unicode-DFS-2016"
CATEGORY="Libs"
SUMMARY="Font configuration library"
DESCRIPTION="Fontconfig is a library designed to provide system-wide font
configuration, customization and application access."
HOMEPAGE="https://www.freedesktop.org/wiki/Software/fontconfig"
SRC_URI="https://www.freedesktop.org/software/fontconfig/release/${NAME}-${VERSION}.tar.xz"

BUILD_REQUIRES="libxml2-devel libfreetype-devel gettext-devel libiconv-devel libintl-devel libuuid-devel libexpat-devel libjson-c-devel gperf"

PKG_NAMES="${NAME} ${NAME}-doc lib${NAME}1 lib${NAME}-common lib${NAME}-devel"
fontconfig_CATEGORY="X11"
fontconfig_SUMMARY="${SUMMARY% *} utilities"
fontconfig_CONTENTS="
	usr/bin/fc-*
	usr/share/man/man1/
"
fontconfig_doc_CATEGORY="Doc"
fontconfig_doc_SUMMARY="${SUMMARY} (API documentation)"
fontconfig_doc_CONTENTS="usr/share/doc/${NAME}/fontconfig-[du]* usr/share/man/man3/"
# at least one font is needed at runtime and dejavu seems to be the best choice
libfontconfig1_REQUIRES="dejavu-fonts libfontconfig-common"
libfontconfig1_CONTENTS="
	etc/postinstall/zp_${NAME}_cache_1.sh
	etc/preremove/lib${NAME}1.sh
	usr/bin/cygfontconfig-1.dll
	usr/libexec/fc-cache-1.exe
"
libfontconfig_common_CONTENTS="
	--exclude=html --exclude=fontconfig-devel* --exclude=fontconfig-user*
	etc/fonts/
	etc/postinstall/zp_${NAME}_dtd.dash
	etc/preremove/lib${NAME}-common.sh
	usr/share/doc/
	usr/share/${NAME}
	usr/share/locale/*/*/fontconfig*.mo
	usr/share/man/man5/
	usr/share/xml/
	var/cache/${NAME}/
"
libfontconfig_devel_CONTENTS="
	usr/include/fontconfig/
	usr/lib/libfontconfig.dll.a
	usr/lib/pkgconfig/fontconfig.pc
	usr/share/gettext/its/fontconfig.*
"
PKG_IGNORE="usr/lib/fontconfig.def"

DISTCLEANFILES="src/fcobjshash.gperf src/fcobjshash.h"

CYGCONF_ARGS="
	--enable-docs
	--with-docdir=/usr/share/doc/${NAME}
	--with-default-fonts=/usr/share/fonts
	--with-add-fonts=/usr/share/X11/fonts/Type1,/usr/share/X11/fonts/TTF,/usr/share/ghostscript/fonts,/usr/local/share/fonts
"

src_install() {
	local f cachesuf
	local msfontsdir=/usr/share/fonts/microsoft
	local dtddir=/usr/share/xml/fontconfig

	cd ${B}
	cyginstall

	exeinto /usr/libexec
	newexe ${D}/usr/bin/fc-cache.exe fc-cache-1.exe

	cd ${S}
	doman fc-*/fc-*.1
	doman doc/*.3
	doman doc/*.5
	dodoc doc/*.txt

	keepdir /var/cache/${NAME}
	cachesuf=$(strings ${D}/usr/bin/cygfontconfig-1.dll | grep -F '.cache-')

	dodir /etc/postinstall /etc/preremove

	cat > ${D}/etc/postinstall/zp_fontconfig_cache_1.sh <<_EOF
mkdir -p $msfontsdir
# remove any broken links (-L -type l together)
/usr/bin/find -L $msfontsdir -type l -delete

/usr/bin/find "\`cygpath -W\`"/Fonts/ -name '*.ttf' -exec grep -FlZ 'Microsoft Corp' '{}' + | \
while read -d $'\0' f
do
	if [ ! -e "$msfontsdir/\${f##*/}" ]
	then
		ln -s "\$f" $msfontsdir/
	fi
done

/usr/libexec/fc-cache-1 -s || :
_EOF

	cat > ${D}/etc/preremove/libfontconfig1.sh <<_EOF
rm -f /var/cache/fontconfig/*${cachesuf}
_EOF

	cat > ${D}/etc/postinstall/zp_fontconfig_dtd.dash <<_EOF
if [ -x /usr/bin/xmlcatalog ] ; then
    /usr/bin/xmlcatalog --noout --add "system" "fonts.dtd" ${dtddir}/fonts.dtd /etc/xml/catalog
fi
_EOF

	cat > ${D}/etc/preremove/libfontconfig-common.sh <<_EOF
if [ -x /usr/bin/xmlcatalog ] ; then
    /usr/bin/xmlcatalog --noout --del ${dtddir}/fonts.dtd /etc/xml/catalog
fi
_EOF
}
SCALLYWAG=deploy

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2024-02-22 10:40 [ITA] fontconfig Takashi Yano
@ 2024-02-22 10:53 ` Takashi Yano
  2024-02-23  2:18   ` Marco Atzeri
  2024-02-22 15:19 ` Brian.Inglis
  1 sibling, 1 reply; 14+ messages in thread
From: Takashi Yano @ 2024-02-22 10:53 UTC (permalink / raw)
  To: cygwin-apps

On Thu, 22 Feb 2024 19:40:36 +0900
Takashi Yano wrote:
> LICENSE="MIT AND Unicode-DFS-2016"

More accurately, it seems MIT-Modern-Variant.
https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/COPYING

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2024-02-22 10:40 [ITA] fontconfig Takashi Yano
  2024-02-22 10:53 ` Takashi Yano
@ 2024-02-22 15:19 ` Brian.Inglis
  1 sibling, 0 replies; 14+ messages in thread
From: Brian.Inglis @ 2024-02-22 15:19 UTC (permalink / raw)
  To: cygwin-apps

On 2024-02-22 03:40, Takashi Yano via Cygwin-apps wrote:
> CC: Brian,
> 
> I would like to adopt fontconfig package.
> 
> Brian, by any chance, do you also want to adopt fontconfig
> package? I'm asking because I noticed that your commits exist
> in playground branch.

Thanks Takashi-san,
But no, please proceed with ITA.
I've was looking at a long term issue with unlimited proliferation of cache 
files (300k+), that I deal with in an hourly cron job.

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry


^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2024-02-22 10:53 ` Takashi Yano
@ 2024-02-23  2:18   ` Marco Atzeri
  2024-03-01 13:22     ` Takashi Yano
  0 siblings, 1 reply; 14+ messages in thread
From: Marco Atzeri @ 2024-02-23  2:18 UTC (permalink / raw)
  To: cygwin-apps

On 22/02/2024 11:53, Takashi Yano via Cygwin-apps wrote:
> On Thu, 22 Feb 2024 19:40:36 +0900
> Takashi Yano wrote:
>> LICENSE="MIT AND Unicode-DFS-2016"
> 
> More accurately, it seems MIT-Modern-Variant.
> https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/COPYING
> 


+++ b/cygwin-pkg-maint
+dbus                                         Takashi Yano
+fontconfig                                   Takashi Yano
+libass                                       Takashi Yano
+openjpeg                                     Takashi Yano
+orc                                          Takashi Yano
+snappy                                       Takashi Yano

thanks very much Takashi
specially for dbus and fontconfig

Regards
Marco




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2024-02-23  2:18   ` Marco Atzeri
@ 2024-03-01 13:22     ` Takashi Yano
  2024-03-01 14:38       ` marco atzeri
  0 siblings, 1 reply; 14+ messages in thread
From: Takashi Yano @ 2024-03-01 13:22 UTC (permalink / raw)
  To: cygwin-apps

Hi Jon,

On Thu, 22 Feb 2024 06:37:13 +0100
Marco Atzeri wrote:
> +gnutls                                       Takashi Yano
> +libssh                                       Takashi Yano
> +libvpl                                       Takashi Yano
> +nettle                                       Takashi Yano
> +unbound                                      Takashi Yano

On Thu, 22 Feb 2024 06:40:43 +0100
Marco Atzeri wrote:
> +libvpl                                       Takashi Yano

On Fri, 23 Feb 2024 03:18:25 +0100
Marco Atzeri wrote:
> +dbus                                         Takashi Yano
> +fontconfig                                   Takashi Yano
> +libass                                       Takashi Yano
> +openjpeg                                     Takashi Yano
> +orc                                          Takashi Yano
> +snappy                                       Takashi Yano

Should I wait for your review and GTG for these packages?
Or may I go ahead?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2024-03-01 13:22     ` Takashi Yano
@ 2024-03-01 14:38       ` marco atzeri
  2024-03-02  4:43         ` Takashi Yano
  0 siblings, 1 reply; 14+ messages in thread
From: marco atzeri @ 2024-03-01 14:38 UTC (permalink / raw)
  To: Takashi Yano; +Cc: cygwin-apps

On Fri, Mar 1, 2024 at 2:28 PM Takashi Yano via Cygwin-apps wrote:
>
> Hi Jon,
>
> On Thu, 22 Feb 2024 06:37:13 +0100
> Marco Atzeri wrote:
> > +gnutls                                       Takashi Yano
> > +libssh                                       Takashi Yano
> > +libvpl                                       Takashi Yano
> > +nettle                                       Takashi Yano
> > +unbound                                      Takashi Yano
>
> On Thu, 22 Feb 2024 06:40:43 +0100
> Marco Atzeri wrote:
> > +libvpl                                       Takashi Yano
>
> On Fri, 23 Feb 2024 03:18:25 +0100
> Marco Atzeri wrote:
> > +dbus                                         Takashi Yano
> > +fontconfig                                   Takashi Yano
> > +libass                                       Takashi Yano
> > +openjpeg                                     Takashi Yano
> > +orc                                          Takashi Yano
> > +snappy                                       Takashi Yano
>
> Should I wait for your review and GTG for these packages?
> Or may I go ahead?
>

you can go ahead.

you are a senior maintainer ;-) , so no need for me to check every of
your ITP/ITA
except if you have doubts and/or questions

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2024-03-01 14:38       ` marco atzeri
@ 2024-03-02  4:43         ` Takashi Yano
  0 siblings, 0 replies; 14+ messages in thread
From: Takashi Yano @ 2024-03-02  4:43 UTC (permalink / raw)
  To: cygwin-apps

On Fri, 1 Mar 2024 15:38:59 +0100
marco atzeri wrote:
> you can go ahead.
> 
> you are a senior maintainer ;-) , so no need for me to check every of
> your ITP/ITA
> except if you have doubts and/or questions

I see. Thanks!

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2008-11-04 19:02     ` Dr. Volker Zell
@ 2008-11-04 20:04       ` Yaakov (Cygwin Ports)
  0 siblings, 0 replies; 14+ messages in thread
From: Yaakov (Cygwin Ports) @ 2008-11-04 20:04 UTC (permalink / raw)
  To: cygwin-apps

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dr. Volker Zell wrote:
> And what about Xaw3d, I see that you have it in ports. If you like you
> can take that one too.

I don't need to take it over for the X11 upgrade, but it will need a
rebuild (IIRC a version bump) afterwards.  It's up to you.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkQqn4ACgkQpiWmPGlmQSOB0gCgkb1LnQDN5D/vFcjxvQPLxBSo
M44AoKbqM2iehstyWsJT6XTCJKXdtnJS
=x1Ap
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2008-11-04 15:47   ` Yaakov (Cygwin Ports)
@ 2008-11-04 19:02     ` Dr. Volker Zell
  2008-11-04 20:04       ` Yaakov (Cygwin Ports)
  0 siblings, 1 reply; 14+ messages in thread
From: Dr. Volker Zell @ 2008-11-04 19:02 UTC (permalink / raw)
  To: cygwin-apps

>>>>> Yaakov  writes:

    > Dr. Volker Zell wrote:
    >> Yaakow, what about my libXft package. If you like I give up
    >> maintainership as it fits perfect in your ITA plan.

    > Oops, didn't realize that it was separately maintained.  Yes, I'll be
    > taking it.  Thanks,

And what about Xaw3d, I see that you have it in ports. If you like you
can take that one too.

    > Yaakov

Thanks
  Volker
  

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2008-11-04 11:23 ` Dr. Volker Zell
@ 2008-11-04 15:47   ` Yaakov (Cygwin Ports)
  2008-11-04 19:02     ` Dr. Volker Zell
  0 siblings, 1 reply; 14+ messages in thread
From: Yaakov (Cygwin Ports) @ 2008-11-04 15:47 UTC (permalink / raw)
  To: cygwin-apps

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dr. Volker Zell wrote:
> Yaakow, what about my libXft package. If you like I give up
> maintainership as it fits perfect in your ITA plan.

Oops, didn't realize that it was separately maintained.  Yes, I'll be
taking it.  Thanks,


Yaakov

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkQbkgACgkQpiWmPGlmQSPuEQCdFp6mI4dYZ8vLBGfmBhOEAfIR
tLoAoNZECNNTKpzJZiioDKMkCIiRmwSi
=MuPY
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2008-11-04  7:52 ` Jari Aalto
@ 2008-11-04 13:01   ` Jari Aalto
  0 siblings, 0 replies; 14+ messages in thread
From: Jari Aalto @ 2008-11-04 13:01 UTC (permalink / raw)
  To: cygwin-apps

Jari Aalto <jari.aalto@cante.net> writes:

> "Yaakov (Cygwin Ports)" <yselkowitz@users.sourceforge.net> writes:
>
>> Jan,
>>
>> As part of the X11 transition, I would like your permission to take over
>> the fontconfig package.  fontconfig is used by the fonts, which I will
>> be maintaining as part of X11 and are being relocated.  It is also
>> dependency-sandwiched between my freetype2 package and libXft.
>>
>> I would immediately update fontconfig to 2.6.0 at the time of the X11
>> transition.
>>
>> I appreciate your consideration,
>
> Sure, go ahead.

Erm, wrong message. The maintainer is Jan Nieuwenhuizen.

Jari

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2008-11-04  6:12 Yaakov (Cygwin Ports)
  2008-11-04  7:52 ` Jari Aalto
@ 2008-11-04 11:23 ` Dr. Volker Zell
  2008-11-04 15:47   ` Yaakov (Cygwin Ports)
  1 sibling, 1 reply; 14+ messages in thread
From: Dr. Volker Zell @ 2008-11-04 11:23 UTC (permalink / raw)
  To: cygwin-apps

>>>>> Yaakov  writes:

    > Jan,
    > As part of the X11 transition, I would like your permission to take over
    > the fontconfig package.  fontconfig is used by the fonts, which I will
    > be maintaining as part of X11 and are being relocated.  It is also
    > dependency-sandwiched between my freetype2 package and libXft.

Yaakow, what about my libXft package. If you like I give up
maintainership as it fits perfect in your ITA plan.

Ciao
  Volker
  

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [ITA] fontconfig
  2008-11-04  6:12 Yaakov (Cygwin Ports)
@ 2008-11-04  7:52 ` Jari Aalto
  2008-11-04 13:01   ` Jari Aalto
  2008-11-04 11:23 ` Dr. Volker Zell
  1 sibling, 1 reply; 14+ messages in thread
From: Jari Aalto @ 2008-11-04  7:52 UTC (permalink / raw)
  To: cygwin-apps

"Yaakov (Cygwin Ports)" <yselkowitz@users.sourceforge.net> writes:

> Jan,
>
> As part of the X11 transition, I would like your permission to take over
> the fontconfig package.  fontconfig is used by the fonts, which I will
> be maintaining as part of X11 and are being relocated.  It is also
> dependency-sandwiched between my freetype2 package and libXft.
>
> I would immediately update fontconfig to 2.6.0 at the time of the X11
> transition.
>
> I appreciate your consideration,

Sure, go ahead.

Jari

^ permalink raw reply	[flat|nested] 14+ messages in thread

* [ITA] fontconfig
@ 2008-11-04  6:12 Yaakov (Cygwin Ports)
  2008-11-04  7:52 ` Jari Aalto
  2008-11-04 11:23 ` Dr. Volker Zell
  0 siblings, 2 replies; 14+ messages in thread
From: Yaakov (Cygwin Ports) @ 2008-11-04  6:12 UTC (permalink / raw)
  To: cygwin-apps

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jan,

As part of the X11 transition, I would like your permission to take over
the fontconfig package.  fontconfig is used by the fonts, which I will
be maintaining as part of X11 and are being relocated.  It is also
dependency-sandwiched between my freetype2 package and libXft.

I would immediately update fontconfig to 2.6.0 at the time of the X11
transition.

I appreciate your consideration,


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREIAAYFAkkP54MACgkQpiWmPGlmQSOrRACgiTluekpZLO2kx/LnN3K43fiK
QmoAoJ/WrQufoTDT4BHZZFeLygM+rpXw
=WAqm
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-03-02  4:43 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-22 10:40 [ITA] fontconfig Takashi Yano
2024-02-22 10:53 ` Takashi Yano
2024-02-23  2:18   ` Marco Atzeri
2024-03-01 13:22     ` Takashi Yano
2024-03-01 14:38       ` marco atzeri
2024-03-02  4:43         ` Takashi Yano
2024-02-22 15:19 ` Brian.Inglis
  -- strict thread matches above, loose matches on Subject: below --
2008-11-04  6:12 Yaakov (Cygwin Ports)
2008-11-04  7:52 ` Jari Aalto
2008-11-04 13:01   ` Jari Aalto
2008-11-04 11:23 ` Dr. Volker Zell
2008-11-04 15:47   ` Yaakov (Cygwin Ports)
2008-11-04 19:02     ` Dr. Volker Zell
2008-11-04 20:04       ` Yaakov (Cygwin Ports)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).