components/foomatic/db-engine/Makefile | ●●●●● patch | view | raw | blame | history | |
components/foomatic/db-engine/foomatic-db-engine.p5m | ●●●●● patch | view | raw | blame | history | |
components/foomatic/db-engine/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/foomatic/db-engine/patches/02-install_vendor.patch | ●●●●● patch | view | raw | blame | history | |
components/foomatic/db-engine/pkg5 | ●●●●● patch | view | raw | blame | history |
components/foomatic/db-engine/Makefile
@@ -24,7 +24,7 @@ COMPONENT_NAME= foomatic-db-engine COMPONENT_VERSION= 3.0-20080903 COMPONENT_REVISION= 1 COMPONENT_REVISION= 2 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_HASH= \ @@ -33,9 +33,9 @@ COMPONENT_PROJECT_URL= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/database/foomatic/ COMPONENT_BUGDB= utility/foomatic include ../../../make-rules/prep.mk include ../../../make-rules/configure.mk include ../../../make-rules/ips.mk TEST_TARGET = $(NO_TESTS) include ../../../make-rules/common.mk CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" CONFIGURE_OPTIONS += PERL=$(PERL) @@ -48,10 +48,6 @@ # setup perl build COMPONENT_PRE_CONFIGURE_ACTION += cd $(@D)/lib ; $(PERL) Makefile.PL # install perl modules COMPONENT_PRE_INSTALL_ACTION = \ ( cd $(@D)/lib ; $(GMAKE) install_vendor DESTDIR=$(PROTO_DIR) ) # the perl .packlist contains the path to the file as built rather than # as installed. Fix to be installed path, ie remove PROTO_DIR. VENDORARCH= $(shell $(PERL) -e 'use Config; print $$Config{vendorarch}') @@ -61,17 +57,11 @@ >> $(PROTO_DIR)/$(PACKLIST).fixed ; \ $(MV) $(PROTO_DIR)/$(PACKLIST).fixed $(PROTO_DIR)/$(PACKLIST) # common targets build: $(BUILD_32) install: $(INSTALL_32) test: $(NO_TESTS) # PKGVERS is needed for manifest processing PKG_MACROS += PERLVER=$(PERL_VERSION) # Auto-generated dependencies PERL_REQUIRED_PACKAGES += runtime/perl REQUIRED_PACKAGES += library/libxml2 REQUIRED_PACKAGES += runtime/perl-522 REQUIRED_PACKAGES += runtime/perl-524 REQUIRED_PACKAGES += shell/bash REQUIRED_PACKAGES += system/library components/foomatic/db-engine/foomatic-db-engine.p5m
@@ -24,6 +24,7 @@ <transform file path=usr.*/man/.+ -> default mangler.man.stability volatile> set name=pkg.fmri value=pkg:/print/cups/filter/foomatic-db-engine@0.20080903,$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="Foomatic Database Engine" set name=com.oracle.info.description value="the Foomatic Database Engine" set name=com.oracle.info.tpno value=6399 @@ -35,22 +36,23 @@ license foomatic-db-engine.license license='GPLv2, MIT' file path=usr/bin/foomatic-combo-xml file path=usr/bin/foomatic-compiledb file path=usr/bin/foomatic-configure link path=usr/bin/foomatic-datafile target=foomatic-ppdfile file path=usr/bin/foomatic-perl-data file path=usr/bin/foomatic-ppd-options file path=usr/bin/foomatic-ppdfile file path=usr/bin/foomatic-printjob file path=usr/bin/foomatic-searchprinter file path=usr/perl5/vendor_perl/$(PERL_VERSION)/Foomatic/DB.pm file path=usr/perl5/vendor_perl/$(PERL_VERSION)/Foomatic/PPD.pm file path=usr/perl5/vendor_perl/$(PERL_VERSION)/Foomatic/UIElem.pm link path=usr/lib/cups/driver/foomatic target=../../../../usr/bin/foomatic-ppdfile file path=usr/perl5/vendor_perl/$(PERLVER)/$(PERL_ARCH)/auto/Foomatic/.packlist file path=usr/perl5/vendor_perl/$(PERLVER)/Foomatic/DB.pm file path=usr/perl5/vendor_perl/$(PERLVER)/Foomatic/PPD.pm file path=usr/perl5/vendor_perl/$(PERLVER)/Foomatic/UIElem.pm # Defaults.pm are not built by the perl module, but by external utility, so it's in # wrong place file $(MACH32)/lib/Foomatic/Defaults.pm path=usr/perl5/vendor_perl/$(PERL_VERSION)/Foomatic/Defaults.pm file path=usr/perl5/vendor_perl/$(PERL_VERSION)/$(PERL_ARCH)/auto/Foomatic/.packlist file $(MACH64)/lib/Foomatic/Defaults.pm path=usr/perl5/vendor_perl/$(PERLVER)/Foomatic/Defaults.pm file path=usr/sbin/foomatic-addpjloptions file path=usr/sbin/foomatic-cleanupdrivers file path=usr/sbin/foomatic-extract-text @@ -75,6 +77,3 @@ file path=usr/share/man/man8/foomatic-getpjloptions.8 file path=usr/share/man/man8/foomatic-kitload.8 file path=usr/share/man/man8/foomatic-preferred-driver.8 link path=usr/bin/foomatic-datafile target=foomatic-ppdfile link path=usr/lib/cups/driver/foomatic target=../../../../usr/bin/foomatic-ppdfile components/foomatic/db-engine/manifests/sample-manifest.p5m
@@ -10,10 +10,11 @@ # # # Copyright 2016 <contributor> # Copyright 2022 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) set name=pkg.human-version value=$(HUMAN_VERSION) set name=pkg.summary value="$(COMPONENT_SUMMARY)" set name=info.classification value="$(COMPONENT_CLASSIFICATION)" set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) @@ -32,24 +33,10 @@ file path=usr/bin/foomatic-printjob file path=usr/bin/foomatic-searchprinter link path=usr/lib/cups/driver/foomatic target=/usr/bin/foomatic-ppdfile file path=usr/perl5/5.16/lib/i86pc-solaris-64int/perllocal.pod file path=usr/perl5/5.22/lib/i86pc-solaris-64int/perllocal.pod file path=usr/perl5/site_perl/5.16/Foomatic/DB.pm file path=usr/perl5/site_perl/5.16/Foomatic/PPD.pm file path=usr/perl5/site_perl/5.16/Foomatic/UIElem.pm file path=usr/perl5/site_perl/5.16/i86pc-solaris-64int/auto/Foomatic/.packlist file path=usr/perl5/site_perl/5.22/Foomatic/DB.pm file path=usr/perl5/site_perl/5.22/Foomatic/PPD.pm file path=usr/perl5/site_perl/5.22/Foomatic/UIElem.pm file path=usr/perl5/site_perl/5.22/i86pc-solaris-64int/auto/Foomatic/.packlist file path=usr/perl5/vendor_perl/5.16/Foomatic/DB.pm file path=usr/perl5/vendor_perl/5.16/Foomatic/PPD.pm file path=usr/perl5/vendor_perl/5.16/Foomatic/UIElem.pm file path=usr/perl5/vendor_perl/5.16/i86pc-solaris-64int/auto/Foomatic/.packlist file path=usr/perl5/vendor_perl/5.22/Foomatic/DB.pm file path=usr/perl5/vendor_perl/5.22/Foomatic/PPD.pm file path=usr/perl5/vendor_perl/5.22/Foomatic/UIElem.pm file path=usr/perl5/vendor_perl/5.22/i86pc-solaris-64int/auto/Foomatic/.packlist file path=usr/perl5/vendor_perl/$(PERLVER)/$(PERL_ARCH)/auto/Foomatic/.packlist file path=usr/perl5/vendor_perl/$(PERLVER)/Foomatic/DB.pm file path=usr/perl5/vendor_perl/$(PERLVER)/Foomatic/PPD.pm file path=usr/perl5/vendor_perl/$(PERLVER)/Foomatic/UIElem.pm file path=usr/sbin/foomatic-addpjloptions file path=usr/sbin/foomatic-cleanupdrivers file path=usr/sbin/foomatic-extract-text components/foomatic/db-engine/patches/02-install_vendor.patch
New file @@ -0,0 +1,11 @@ --- foomatic-db-engine-3.0-20080903/Makefile.in.orig 2022-08-09 09:53:42.484623215 +0000 +++ foomatic-db-engine-3.0-20080903/Makefile.in 2022-08-09 09:53:53.002643494 +0000 @@ -188,7 +188,7 @@ # $(DESTDIR) properly ( cd lib && \ $(MAKE) PREFIX=$(PERLPREFIX) && \ - $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \ + $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) install_vendor \ ) ${SRC}/mkinstalldirs $(DESTDIR)$(BINDIR) ${SRC}/mkinstalldirs $(DESTDIR)$(SBINDIR) components/foomatic/db-engine/pkg5
@@ -2,9 +2,10 @@ "dependencies": [ "SUNWcs", "library/libxml2", "runtime/perl-522", "runtime/perl-524", "runtime/perl-534", "runtime/perl-536", "shell/bash", "shell/ksh93", "system/library" ], "fmris": [