From dc2a65e364790ea104a72801a0863d9309e2574c Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 27 Feb 2013 23:08:54 -0500 Subject: [PATCH] Added support for HP LaserJet 1020 printer --- config/packages-list | 2 ++ stage5/hv-install-1 | 4 ++++ stage5/packages-update | 3 +++ stage5/pkg/foo2zjs | 11 +++++++++++ 4 files changed, 20 insertions(+) create mode 100644 stage5/pkg/foo2zjs diff --git a/config/packages-list b/config/packages-list index 967bdc7..8542cec 100644 --- a/config/packages-list +++ b/config/packages-list @@ -94,6 +94,8 @@ FLAC="flac-1.2.1" FLEX="flex-2.5.35" FONTCONFIG="fontconfig-2.10.1" FONTFORGE="fontforge_full-20120731-b" +FOO2ZJS="foo2zjs" +FOOMATIC_FILTERS="foomatic-filters-4.0.17" FREETYPE="freetype-2.4.10" FRIBIDI="fribidi-0.19.2" FUSE="fuse-2.9.1" diff --git a/stage5/hv-install-1 b/stage5/hv-install-1 index 41f864b..5ed574b 100755 --- a/stage5/hv-install-1 +++ b/stage5/hv-install-1 @@ -8,6 +8,10 @@ init_log_file ipkg ${HELP2MAN} ipkg ${GSL} + +ipkg ${FOOMATIC_FILTERS} +ipkg -m noac ${FOO2ZJS} + ipkg -m acnb ${CUPS} ipkg -m noac ${CUPS_PDF} ipkg -m noac ${SPLIX} diff --git a/stage5/packages-update b/stage5/packages-update index 9bdf359..fd7890f 100755 --- a/stage5/packages-update +++ b/stage5/packages-update @@ -18,6 +18,9 @@ fpkg -s "$(get_pkg_ver ${CUPS})" -f "${CUPS}-source" ${CUPS} \ fpkg -e "tar.gz" -f "$(get_pkg_name ${CUPS_PDF})_$(get_pkg_ver ${CUPS_PDF})" \ ${CUPS_PDF} "http://www.cups-pdf.de/src" fpkg -m sf -e "tar.bz2" ${SPLIX} +fpkg -e "tar.gz" ${FOOMATIC_FILTERS} "http://www.openprinting.org/download/foomatic/" +fpkg -e "tar.gz" ${FOO2ZJS} "http://foo2zjs.rkkda.com" + fpkg -m gnome ${GLIB_NETWORKING} fpkg -e "tgz" ${ICU} "http://download.icu-project.org/files/icu4c/49.1.2" diff --git a/stage5/pkg/foo2zjs b/stage5/pkg/foo2zjs new file mode 100644 index 0000000..618e09c --- /dev/null +++ b/stage5/pkg/foo2zjs @@ -0,0 +1,11 @@ +#!/bin/bash + +hvbuild() +{ + cd ${LFS_TMP}/${PACKAGE} + + make + ./getweb 1020 + make install + make install-hotplug +} -- 2.20.1