mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
- Update foomatic-db-engine from version 4.0.9 (2013) to 4.0.13 (2018)
- Update foomatic-db from version 20131023 to 20230828
- Update of rootfile
- Changelog
foomatic-db
See the ChangeLog file in the foomatic-db source tarball. Too long to include here.
foomatic-db-engine
4.0.13.
* README, USAGE, configure.ac: Updated for release 4.0.13.
* Makefile.in: Add support for LDFLAGS variable (bug #1422).
* configure.ac: Allow user-configurable PERLPREFIX via environment
variable (Bug #1294).
4.0.12.
* README, USAGE, configure.ac: Updated for release 4.0.12.
* foomatic-ppdfile.in: Foomatic doesn't provide some offered PPD
files. Thanks to Marek Kasik for the patch (bug #1238).
* foomatic-ppd-to-xml.in: Let missing XML files be added when to a
PPD with already existing XML files new "*Product:" lines get
added.
4.0.11.
* README, USAGE, configure.ac: Updated for release 4.0.11.
* lib/Foomatic/DB.pm: Do not interpret option default values set to
"0" in PPD files as no default setting defined. Thanks to Deng
Pang from Ricoh (DengPang at rst dot ricoh dot com) for the report.
4.0.10.
* README, USAGE, configure.ac: Updated for release 4.0.10.
* foomatic-addpjloptions.in: Make foomatic-addpjloptions work with
the system's Foomatic database, too.
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
125 lines
4.9 KiB
Plaintext
125 lines
4.9 KiB
Plaintext
###############################################################################
|
|
# #
|
|
# IPFire.org - A linux based firewall #
|
|
# Copyright (C) 2007-2023 IPFire Team <info@ipfire.org> #
|
|
# #
|
|
# This program is free software: you can redistribute it and/or modify #
|
|
# it under the terms of the GNU General Public License as published by #
|
|
# the Free Software Foundation, either version 3 of the License, or #
|
|
# (at your option) any later version. #
|
|
# #
|
|
# This program is distributed in the hope that it will be useful, #
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
|
|
# GNU General Public License for more details. #
|
|
# #
|
|
# You should have received a copy of the GNU General Public License #
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
|
|
# #
|
|
###############################################################################
|
|
|
|
###############################################################################
|
|
# Definitions
|
|
###############################################################################
|
|
|
|
include Config
|
|
|
|
SUMMARY = Tools for using the foomatic database of printers and printer drivers
|
|
|
|
VER = 4.0.13
|
|
VER_DB = 4.0-$(DATE)
|
|
VER_FILTERS = 4.0.17
|
|
DATE = 20230828
|
|
|
|
THISAPP = foomatic-$(VER)
|
|
DL_FILE = foomatic-filters-$(VER_FILTERS).tar.gz
|
|
DL_FROM = $(URL_IPFIRE)
|
|
DIR_APP = $(DIR_SRC)/foomatic-filters-$(VER_FILTERS)
|
|
TARGET = $(DIR_INFO)/$(THISAPP)
|
|
PROG = foomatic
|
|
PAK_VER = 9
|
|
|
|
DEPS = cups ghostscript hplip
|
|
|
|
SERVICES =
|
|
|
|
CFLAGS += -fcommon
|
|
|
|
export LIB_CUPS=/usr/lib/cups
|
|
export CUPS_BACKENDS=/usr/lib/cups/backends
|
|
export CUPS_FILTERS=/usr/lib/cups/filters
|
|
export CUPS_PPDS=/usr/share/cups/model
|
|
|
|
###############################################################################
|
|
# Top-level Rules
|
|
###############################################################################
|
|
|
|
objects = $(DL_FILE) \
|
|
foomatic-db-$(VER_DB).tar.gz \
|
|
foomatic-db-engine-$(VER).tar.gz
|
|
|
|
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
|
|
foomatic-db-$(VER_DB).tar.gz = $(DL_FROM)/foomatic-db-$(VER_DB).tar.gz
|
|
foomatic-db-engine-$(VER).tar.gz = $(DL_FROM)/foomatic-db-engine-$(VER).tar.gz
|
|
|
|
$(DL_FILE)_BLAKE2 = 2c8089dd0a07677885180efd6157576a1e84448aeda83bdb0e1c2692242cd711eaa0c32956a5434ea109706bc9733118ee886caf1cab085d53d480ac45fd80e7
|
|
foomatic-db-$(VER_DB).tar.gz_BLAKE2 = 9887993715c7d3037f76c9d97f52b02f5748d365cd0f547abcbce4098b5dc478aeac541d925a3a36bd3cae174df74860429174179ec1a29f6a7812f7ba793442
|
|
foomatic-db-engine-$(VER).tar.gz_BLAKE2 = 7784a3fec0bf7059f13ecd9eb31be61811b1d10d28c0bdc1f9eaaf4068a462f70b4147ac3d7015a66faf0e55d205b906d6d23aa365e5ffa52020c4c120845d37
|
|
|
|
install : $(TARGET)
|
|
|
|
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
|
|
|
|
download :$(patsubst %,$(DIR_DL)/%,$(objects))
|
|
|
|
b2 : $(subst %,%_BLAKE2,$(objects))
|
|
|
|
dist:
|
|
$(PAK)
|
|
|
|
###############################################################################
|
|
# Downloading, checking, b2sum
|
|
###############################################################################
|
|
|
|
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
|
|
@$(CHECK)
|
|
|
|
$(patsubst %,$(DIR_DL)/%,$(objects)) :
|
|
@$(LOAD)
|
|
|
|
$(subst %,%_BLAKE2,$(objects)) :
|
|
@$(B2SUM)
|
|
|
|
###############################################################################
|
|
# Installation Details
|
|
###############################################################################
|
|
|
|
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
|
@$(PREBUILD)
|
|
@rm -rf $(DIR_SRC)/foomatic-* && cd $(DIR_SRC) && \
|
|
tar zxf $(DIR_DL)/$(DL_FILE) && \
|
|
tar zxf $(DIR_DL)/foomatic-db-$(VER_DB).tar.gz && \
|
|
tar zxf $(DIR_DL)/foomatic-db-engine-$(VER).tar.gz
|
|
cd $(DIR_APP) && ./configure --prefix=/usr --sysconfdir=/etc
|
|
cd $(DIR_APP) && make $(MAKETUNING)
|
|
cd $(DIR_APP) && make install
|
|
cd $(DIR_SRC)/foomatic-db-$(DATE) && ./configure --prefix=/usr --sysconfdir=/etc
|
|
cd $(DIR_SRC)/foomatic-db-$(DATE) && make $(MAKETUNING)
|
|
cd $(DIR_SRC)/foomatic-db-$(DATE) && make install
|
|
cd $(DIR_SRC)/foomatic-db-engine-$(VER) && ./configure --prefix=/usr --sysconfdir=/etc
|
|
cd $(DIR_SRC)/foomatic-db-engine-$(VER) && make $(MAKETUNING)
|
|
cd $(DIR_SRC)/foomatic-db-engine-$(VER) && make install
|
|
|
|
# Remove unwanted files
|
|
rm -rfv /usr/lib/ppr \
|
|
/etc/foomatic/filter.conf.sample \
|
|
/usr/share/foomatic/templates
|
|
|
|
-mkdir -pv /var/cache/foomatic
|
|
|
|
-mkdir -pv /etc/foomatic
|
|
echo "cups" > /etc/foomatic/defaultspooler
|
|
|
|
@rm -rf $(DIR_SRC)/foomatic-*
|
|
@$(POSTBUILD)
|