From 664cdd2d39f6203ae9d677be2fb9440d112b9623 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 19:47:08 -0500 Subject: [PATCH 01/10] Add plan for libfontenc --- libfontenc/plan.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libfontenc/plan.sh diff --git a/libfontenc/plan.sh b/libfontenc/plan.sh new file mode 100644 index 0000000..1d9e92f --- /dev/null +++ b/libfontenc/plan.sh @@ -0,0 +1,19 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=libfontenc +pkg_origin=xorg +pkg_version=1.1.1 +pkg_maintainer="Steven Danna " +pkg_description="X.Org Libraries: libfontenc" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_name}-${pkg_version}.tar.bz2" +pkg_shasum=de72812f1856bb63bd2226ec8c2e2301931d3c72bd0f08b0d63a0cdf0722017f +pkg_deps=(core/glibc core/zlib) +pkg_build_deps=(core/gcc core/make core/pkg-config xorg/xproto) +pkg_include_dirs=(include) +pkg_lib_dirs=(lib) From d7eef37b051f2622ad304fd8a440d3f1780acd9f Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 19:51:05 -0500 Subject: [PATCH 02/10] Add plan for mkfontscale --- mkfontscale/plan.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mkfontscale/plan.sh diff --git a/mkfontscale/plan.sh b/mkfontscale/plan.sh new file mode 100644 index 0000000..09b2d4a --- /dev/null +++ b/mkfontscale/plan.sh @@ -0,0 +1,18 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=mkfontscale +pkg_origin=xorg +pkg_version=1.1.0 +pkg_maintainer="Steven Danna " +pkg_description="X.Org Applications: mkfontdir" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_name}-${pkg_version}.tar.bz2" +pkg_shasum=ce55f862679b8ec127d7f7315ac04a8d64a0d90a0309a70dc56c1ba3f9806994 +pkg_deps=(core/glibc core/zlib core/freetype xorg/libfontenc) +pkg_build_deps=(core/gcc core/make core/pkg-config core/libpng xorg/xproto) +pkg_bin_dirs=(bin) From b9d6def9d1754ec588b7ea4b8baf14c4c453339f Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 20:00:41 -0500 Subject: [PATCH 03/10] Add plan for mkfontdir --- mkfontdir/plan.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mkfontdir/plan.sh diff --git a/mkfontdir/plan.sh b/mkfontdir/plan.sh new file mode 100644 index 0000000..61b6263 --- /dev/null +++ b/mkfontdir/plan.sh @@ -0,0 +1,18 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=mkfontdir +pkg_origin=xorg +pkg_version=1.0.7 +pkg_maintainer="Steven Danna " +pkg_description="X.Org Applications: mkfontdir" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_name}-${pkg_version}.tar.bz2" +pkg_shasum=56d52a482df130484e51fd066d1b6eda7c2c02ddbc91fe6e2be1b9c4e7306530 +pkg_deps=(xorg/mkfontscale) +pkg_build_deps=(core/gcc core/make) +pkg_bin_dirs=(bin) From 2e8ce96194c57d5e952d8633ecc8693bc66bb4db Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 20:10:40 -0500 Subject: [PATCH 04/10] Add plan for font-util --- font-util/plan.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 font-util/plan.sh diff --git a/font-util/plan.sh b/font-util/plan.sh new file mode 100644 index 0000000..072b0df --- /dev/null +++ b/font-util/plan.sh @@ -0,0 +1,19 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=font-util +pkg_origin=xorg +pkg_version=1.3.0 +pkg_maintainer="Steven Danna " +pkg_description="X.Org font package creation/installation utilities" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_name}-${pkg_version}.tar.bz2" +pkg_shasum=dfa9e55625a4e0250f32fabab1fd5c8ffcd2d1ff2720d6fcf0f74bc8a5929195 +pkg_deps=(core/glibc) +pkg_build_deps=(core/gcc core/make core/pkg-config xorg/util-macros) +pkg_lib_dirs=(lib) +pkg_bin_dirs=(bin) From 594350f3657963f81da1b7629af6639298b34943 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 20:33:01 -0500 Subject: [PATCH 05/10] Add improved fontconfig --- fontconfig/plan.sh | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 fontconfig/plan.sh diff --git a/fontconfig/plan.sh b/fontconfig/plan.sh new file mode 100644 index 0000000..49333a7 --- /dev/null +++ b/fontconfig/plan.sh @@ -0,0 +1,56 @@ +pkg_name=fontconfig +pkg_version=2.11.94 +pkg_origin=core +pkg_license=('fontconfig') +pkg_description="Fontconfig is a library for configuring and + customizing font access." +pkg_upstream_url=https://www.freedesktop.org/wiki/Software/fontconfig/ +pkg_maintainer="The Habitat Maintainers " +pkg_source=https://www.freedesktop.org/software/fontconfig/release/${pkg_name}-${pkg_version}.tar.bz2 +pkg_filename=${pkg_name}-${pkg_version}.tar.bz2 +pkg_shasum=d763c024df434146f3352448bc1f4554f390c8a48340cef7aa9cc44716a159df +pkg_deps=( + core/bzip2 + core/glibc + core/zlib +) +pkg_build_deps=(core/gcc core/make core/coreutils core/python + core/pkg-config core/freetype core/expat + core/diffutils core/libtool core/m4 core/automake + core/autoconf core/file) +pkg_include_dirs=(include) +pkg_lib_dirs=(lib) +pkg_bin_dirs=(bin) + +do_prepare() { + # Set freetype paths + export FREETYPE_CFLAGS="$CFLAGS" + build_line "Setting FREETYPE_CFLAGS=$FREETYPE_CFLAGS" + export FREETYPE_LIBS + FREETYPE_LIBS="$LDFLAGS -Wl,--rpath -Wl,$(pkg_path_for freetype)/lib -lfreetype -lz" + build_line "Setting FREETYPE_LIBS=$FREETYPE_LIBS" + + # Add "freetype2" to include path + export CFLAGS + CFLAGS="$CFLAGS -I$(pkg_path_for freetype)/include/freetype2" + build_line "Setting CFLAGS=$CFLAGS" + + # Borrowing this pro tip from ArchLinux! + # https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/fontconfig#n34 + # this seems to run libtoolize though... + autoreconf -fi + + _file_path="$(pkg_path_for file)/bin/file" + _uname_path="$(pkg_path_for coreutils)/bin/uname" + + sed -e "s#/usr/bin/file#${_file_path}#g" -i configure + sed -e "s#/usr/bin/uname#${_uname_path}#g" -i configure +} + +do_build() { + ./configure --sysconfdir="$pkg_prefix/etc" \ + --prefix="$pkg_prefix" \ + --disable-static \ + --mandir="$pkg_prefix/man" + make +} From 6e16e625e142732eb9116adfe93e6e2b37287a2a Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 20:46:54 -0500 Subject: [PATCH 06/10] Fix fontconfig runtime deps --- fontconfig/plan.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/fontconfig/plan.sh b/fontconfig/plan.sh index 49333a7..92d0c54 100644 --- a/fontconfig/plan.sh +++ b/fontconfig/plan.sh @@ -13,11 +13,14 @@ pkg_deps=( core/bzip2 core/glibc core/zlib + core/freetype + core/libpng + core/expat + core/gcc-libs ) pkg_build_deps=(core/gcc core/make core/coreutils core/python - core/pkg-config core/freetype core/expat - core/diffutils core/libtool core/m4 core/automake - core/autoconf core/file) + core/pkg-config core/diffutils core/libtool + core/m4 core/automake core/autoconf core/file) pkg_include_dirs=(include) pkg_lib_dirs=(lib) pkg_bin_dirs=(bin) From 7944108ae69c18ae7d75094594de2d3a46af3ceb Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 21:17:23 -0500 Subject: [PATCH 07/10] Add plan for fontsproto --- fontsproto/plan.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 fontsproto/plan.sh diff --git a/fontsproto/plan.sh b/fontsproto/plan.sh new file mode 100644 index 0000000..77432f9 --- /dev/null +++ b/fontsproto/plan.sh @@ -0,0 +1,19 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=fontsproto +pkg_origin=xorg +pkg_version=2.1.2 +pkg_maintainer="Steven Danna " +pkg_description="X.Org Protocol Headers: fontsproto" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_name}-${pkg_version}.tar.bz2" +pkg_shasum=869c97e5a536a8f3c9bc8b9923780ff1f062094bab935e26f96df3d6f1aa68a9 +pkg_deps=(core/glibc) +pkg_build_deps=(core/gcc core/make core/pkg-config xorg/util-macros) +pkg_include_dirs=(include) +pkg_lib_dirs=(lib) From 746c8a99cc045d437445aeae661066445ea84a53 Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 21:22:41 -0500 Subject: [PATCH 08/10] Add plan for libxfont --- libxfont/plan.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 libxfont/plan.sh diff --git a/libxfont/plan.sh b/libxfont/plan.sh new file mode 100644 index 0000000..9f9b22b --- /dev/null +++ b/libxfont/plan.sh @@ -0,0 +1,21 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=libxfont +pkg_distname=libXfont +pkg_origin=xorg +pkg_version=1.4.5 +pkg_dirname="${pkg_distname}-${pkg_version}" +pkg_maintainer="Steven Danna " +pkg_description="X.Org Libraries: libXfont" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_distname}-${pkg_version}.tar.bz2" +pkg_shasum=bbf96fb80b6b95cdb1dc968085082a6e668193a54cd9d6e2af669909c0cb7170 +pkg_deps=(core/glibc core/freetype core/zlib core/bzip2 core/libpng xorg/libfontenc) +pkg_build_deps=(core/gcc core/make core/pkg-config xorg/xproto xorg/xtrans xorg/fontsproto) +pkg_include_dirs=(include) +pkg_lib_dirs=(lib) From 4f799077f470f38d811ac2e6e3d55b78d501701b Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 21:28:14 -0500 Subject: [PATCH 09/10] Add plan for bdftopcf --- bdftopcf/plan.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 bdftopcf/plan.sh diff --git a/bdftopcf/plan.sh b/bdftopcf/plan.sh new file mode 100644 index 0000000..df267c5 --- /dev/null +++ b/bdftopcf/plan.sh @@ -0,0 +1,18 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=bdftopcf +pkg_origin=xorg +pkg_version=1.0.3 +pkg_maintainer="Steven Danna " +pkg_description="X.Org Applications: bdftopcf" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_name}-${pkg_version}.tar.bz2" +pkg_shasum=9c90b408b2fe079495697bfc8fb13da940b2b70f4907213bf5dcc9e3024a1d0a +pkg_deps=(core/glibc core/freetype core/zlib core/bzip2 core/libpng xorg/libfontenc xorg/libxfont) +pkg_build_deps=(core/gcc core/make core/pkg-config xorg/util-macros xorg/xproto xorg/fontsproto) +pkg_bin_dirs=(bin) From b18e38652ce0a19cf2b309367d411efec811f50a Mon Sep 17 00:00:00 2001 From: Chris Alfano Date: Mon, 16 Jan 2017 21:37:06 -0500 Subject: [PATCH 10/10] Add plan for font-bitstream-type1 --- font-bitstream-type1/plan.sh | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 font-bitstream-type1/plan.sh diff --git a/font-bitstream-type1/plan.sh b/font-bitstream-type1/plan.sh new file mode 100644 index 0000000..1e388d1 --- /dev/null +++ b/font-bitstream-type1/plan.sh @@ -0,0 +1,28 @@ +# +# This package is NOT officially support by the Xorg project. Please +# report bugs related to this package on GitHub: +# +# https://github.com/stevendanna/habitat-plans +# +pkg_name=font-bitstream-type1 +pkg_origin=xorg +pkg_version=1.0.3 +pkg_maintainer="Steven Danna " +pkg_description="X.Org Fonts: font bitstream type1" +pkg_upstream_url="https://www.x.org/" +pkg_license=('MIT') +pkg_source="https://www.x.org/releases/current/src/everything/${pkg_name}-${pkg_version}.tar.bz2" +pkg_shasum=c6ea0569adad2c577f140328dc3302e729cb1b1ea90cd0025caf380625f8a688 +pkg_build_deps=(core/gcc core/make core/pkg-config xorg/util-macros xorg/mkfontdir xorg/mkfontscale xorg/font-util xorg/bdftopcf) +pkg_include_dirs=(include) +pkg_lib_dirs=(lib) +pkg_bin_dirs=(bin) + +do_build() { + ./configure --prefix="${pkg_prefix}" \ + --sysconfdir="${pkg_prefix}/etc" \ + --localstatedir="${pkg_prefix}/var" \ + --with-fontrootdir="${pkg_prefix}/share/fonts/X11" + + make +} \ No newline at end of file