Обновлен hplip

master
Alexander Tratsevskiy 11 years ago
parent 36c9c8f282
commit df92a724f5

@ -1,30 +0,0 @@
# ChangeLog for net-print/hplip-plugin
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
*hplip-plugin-3.12.10a (24 Oct 2012)
24 Oct 2012; Alexander Tratsevskiy (L'autre) <at@calculate.ru>
-hplip-plugin-3.12.9.ebuild, +hplip-plugin-3.12.10a.ebuild:
version bump
*hplip-plugin-3.12.9 (03 Oct 2012)
03 Oct 2012; Alexander Tratsevskiy (L'autre) <at@calculate.ru>
-hplip-plugin-3.12.6.ebuild, +hplip-plugin-3.12.9.ebuild:
version bump
*hplip-plugin-3.12.6 (10 Jul 2012)
10 Jul 2012; Alexander Tratsevskiy (L'autre) <at@calculate.ru>
-hplip-plugin-3.11.3a.ebuild, -hplip-plugin-3.11.5.ebuild,
-hplip-plugin-3.11.10.ebuild, -hplip-plugin-3.12.2-r2.ebuild,
+hplip-plugin-3.12.6.ebuild:
version bump
*hplip-plugin-3.11.10 (02 Nov 2011)
02 Nov 2011; Alexander Tratsevskiy (L'autre) <at@calculate.ru>
+hplip-plugin-3.11.10.ebuild:
version bump

@ -1,6 +1,2 @@
DIST hplip-3.12.10a-plugin.run 1808039 SHA256 eaaa99f702398620f84e7c354c0d5928ba8e20eb0ee526c4cf79549231aa8af6 SHA512 0536f22132d8183028cde552734ad64590ea1bda7f1f334093e6727ce5816c62f93e208f47eb3fe02e068cbf88ec952659be09fce3df0d0a2d92eac6f84ad359 WHIRLPOOL f206a98e78387ec2d46dbc7bbab82c4ff33d1e9d512726985e7074f4d9ac932ce136c0c71dbc1438b14e7c01d5f75be7fcdd4b35aee118a609d65f36df83e01b
DIST hplip-3.13.2-plugin.run 1811681 SHA256 e15a31f67596b80ae4f04792e046ef96dc74bd101783f9bd06c9631086dca871 SHA512 fd3605c51eb82e88f5f39cb13ca224b03c5dfbd683ff078a4f26e1c6b81e1967419992266863baf3efb74af0691e87d6ce6c1e8fae0ab4cf46598ca5c7f09558 WHIRLPOOL b74040601d9bad2ec9d2ca2ee62ea48f553eff094c126060650392ea68133ff9ee43b25ac74ed84e00a72c53c8dbcae22075ca7c1ac04a723e769f5f18d21eb3
EBUILD hplip-plugin-3.12.10a-r1.ebuild 1931 SHA256 bb8b0247ef2bc783dc4afe33ff556a604208c5baf669a8e26655c41614ec541c SHA512 c49db3fbefd0faf5758d59f56524b6bc9d1bc1a35431ae6c4488b637fa95c49a1ee24c86cd8330bbd30ab5116ac7aeae56440e84d7d20f9b50da1116e3c376bb WHIRLPOOL 4a54f9ee8a361db5eb52364c345d588701f37257b84fa594985cf65832eb05c811507aeaf85ed931f3340a4f0ffaa108891ba0dc43b3b8fe882754f3f5970869
EBUILD hplip-plugin-3.12.10a.ebuild 1930 SHA256 f0134f250393c853b854a0855c13d15dd1c680ccb4e0a949bf0b46e9f7c3fa8e SHA512 a33e0b0c59f9e45afae8d82a63b08937dd488522f1e6f3bd2a1d5ddf540e691d5be2fc67926ac39c067cc6abe6004a260fa40d4a563aa25a6d825cdf23cf9e66 WHIRLPOOL 39a79f1af9a25e5007347fb9892475a25e953fa11a2901bf8de3f2b00ed8ef889f4568ddbe848dc96363860334d0bccbacbe475bfba7d5a3a94fc1b3b2c99c4a
EBUILD hplip-plugin-3.13.2.ebuild 2001 SHA256 54c3260b71df4d2893803d4a7e2376928a3469dbb9ac56e31a84977862d0e45b SHA512 5d3a9b362586ddbcea1b0b7c66f23a20f7800b1d737cf359288321057c1cd03d815195fa9d391789ebebea8fbb6bcc787daedfbbef661daf33d032d82692b951 WHIRLPOOL 2c05196c5df294efed8244b3b21cf1b9ce68ea5985b6ce6c9631d2e5c428bc169530f19fd6053c252cb1b1ad6ee604c717bb8901b57dcf05b9db422d7337bbc4
MISC ChangeLog 904 SHA256 1058c143973f458b196929d7885b17d4b8e73bb672952325b71309243a9115c7 SHA512 af6616f6fa0846a11bc309905a18fcd5ebeecec2b9cce92f4bb0ed99eb2cbd441b3c3d4bcb982b7b3e94a77be4a1cc3b4b615fb6d6e737a212dfb4472782f299 WHIRLPOOL 75a705fb0c91a272daf72124adb737b65fdf132a5456f898c34fd4bdcbc0769f12e7672d0b7c05ff4f7da87534fd7fee9ee35d23c436e5bcc870a7b5f8d8846a
DIST hplip-3.13.7-plugin.run 1831194 SHA256 f21ab2e9cd37937fc07a4043490be70cf4c33103c00c408b661689fba8fde566 SHA512 11a42ee9a637d75e4f67dcaadfcc00d410f0ea4b4cb8c12246e3b3e8484f21e9a16387a0b5bb038ed9757bd78dab92bfce41cbbaea5eb08ea782764ac49feaf7 WHIRLPOOL 45205217c34f611f645277898ec1ce73b497db7da905d6a077e98560d2655d82aaaf02cb59401701429bb8e68cc6eb6c716be42df52d26d4286e4c5d4c95ba65
EBUILD hplip-plugin-3.13.7.ebuild 1459 SHA256 b2b14414aef5323ffc58b0433b2a50ec328f67e6fcc5eab10cae934dc9af9999 SHA512 95102e7179b97e652e55e5774764db948dda5f155ae9651411b481709627dcd41075bd2718b193cb33b47780d35ccbae9611c9b1fe2bda364930987b7d901bb4 WHIRLPOOL 43364aae8430bc4b0060c7f007efcf74ca0b3985f0799d6375d798ee7e6c1d181da14fee9a68fb9b5c892abb4295448d3671e33d2b6ac417a60466308d7de1d5

@ -1,76 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/
EAPI="3"
inherit eutils multilib unpacker
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/hplip-plugin/hplip-${PV}-plugin.run"
LICENSE="hplip-plugin"
SLOT="0"
IUSE=""
RDEPEND="~net-print/hplip-${PV}
virtual/udev"
DEPEND=""
HPLIP_HOME=/usr/share/hplip
# Binary prebuilt package
KEYWORDS="-* ~amd64 ~x86"
QA_PRESTRIPPED="
/usr/share/hplip/scan/plugins/bb_marvell.so
/usr/share/hplip/scan/plugins/bb_soapht.so
/usr/share/hplip/scan/plugins/bb_soap.so
/usr/share/hplip/fax/plugins/fax_marvell.so
/usr/share/hplip/prnt/plugins/lj.so"
# License does not allow us to redistribute the "source" package
RESTRICT="mirror"
src_unpack() {
unpack_makeself "hplip-${PV}-plugin.run" || die 'unpack failed'
}
src_prepare() {
sed -i -e 's/SYSFS/ATTR/g' *.rules || die
}
src_install() {
local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
insinto /$(get_libdir)/udev/rules.d
doins *.rules || die
insinto "${HPLIP_HOME}"/data/firmware
doins *.fw.gz || die
for plugin in *-${hplip_arch}.so; do
local plugin_type=prnt
case "${plugin}" in
fax_*) plugin_type=fax ;;
bb_*) plugin_type=scan ;;
esac
exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
newexe ${plugin} ${plugin/-${hplip_arch}} || die "failed to install ${plugin}"
done
}
pkg_postinst() {
echo "# hplip.state - HPLIP runtime persistent variables." > /var/lib/hp/hplip.state
echo "" >> /var/lib/hp/hplip.state
echo "[plugin]" >> /var/lib/hp/hplip.state
echo "installed=1" >> /var/lib/hp/hplip.state
echo "eula=1" >> /var/lib/hp/hplip.state
}
pkg_postrm() {
sed -ri 's/(installed|eula)=1/\1=0/' /var/lib/hp/hplip.state
}

@ -1,76 +0,0 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/
EAPI="3"
inherit eutils multilib unpacker
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
SRC_URI="ftp://ftp.calculate.ru/pub/calculate/hplip-plugin/hplip-${PV}-plugin.run"
LICENSE="hplip-plugin"
SLOT="0"
IUSE=""
RDEPEND="~net-print/hplip-${PV}
sys-fs/udev"
DEPEND=""
HPLIP_HOME=/usr/share/hplip
# Binary prebuilt package
KEYWORDS="-* ~amd64 ~x86"
QA_PRESTRIPPED="
/usr/share/hplip/scan/plugins/bb_marvell.so
/usr/share/hplip/scan/plugins/bb_soapht.so
/usr/share/hplip/scan/plugins/bb_soap.so
/usr/share/hplip/fax/plugins/fax_marvell.so
/usr/share/hplip/prnt/plugins/lj.so"
# License does not allow us to redistribute the "source" package
RESTRICT="mirror"
src_unpack() {
unpack_makeself "hplip-${PV}-plugin.run" || die 'unpack failed'
}
src_prepare() {
sed -i -e 's/SYSFS/ATTR/g' *.rules || die
}
src_install() {
local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
insinto /$(get_libdir)/udev/rules.d
doins *.rules || die
insinto "${HPLIP_HOME}"/data/firmware
doins *.fw.gz || die
for plugin in *-${hplip_arch}.so; do
local plugin_type=prnt
case "${plugin}" in
fax_*) plugin_type=fax ;;
bb_*) plugin_type=scan ;;
esac
exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
newexe ${plugin} ${plugin/-${hplip_arch}} || die "failed to install ${plugin}"
done
}
pkg_postinst() {
echo "# hplip.state - HPLIP runtime persistent variables." > /var/lib/hp/hplip.state
echo "" >> /var/lib/hp/hplip.state
echo "[plugin]" >> /var/lib/hp/hplip.state
echo "installed=1" >> /var/lib/hp/hplip.state
echo "eula=1" >> /var/lib/hp/hplip.state
}
pkg_postrm() {
sed -ri 's/(installed|eula)=1/\1=0/' /var/lib/hp/hplip.state
}

@ -2,11 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/
EAPI="5"
EAPI="3"
inherit eutils multilib unpacker
inherit udev unpacker
DESCRIPTION="Proprietary plugins and firmware for HPLIP"
HOMEPAGE="http://hplipopensource.com/hplip-web/index.html"
@ -14,16 +12,20 @@ SRC_URI="http://www.openprinting.org/download/printdriver/auxfiles/HP/plugins/hp
LICENSE="hplip-plugin"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="~net-print/hplip-${PV}
sys-fs/udev"
RDEPEND="
~net-print/hplip-${PV}
virtual/udev
"
DEPEND=""
S=${WORKDIR}
HPLIP_HOME=/usr/share/hplip
# Binary prebuilt package
KEYWORDS="-* ~amd64 ~x86"
QA_PRESTRIPPED="
/usr/share/hplip/scan/plugins/bb_marvell.so
/usr/share/hplip/scan/plugins/bb_soapht.so
@ -35,21 +37,14 @@ QA_PRESTRIPPED="
RESTRICT="mirror"
src_unpack() {
unpack_makeself "hplip-${PV}-plugin.run" || die 'unpack failed'
}
src_prepare() {
sed -i -e 's/SYSFS/ATTR/g' *.rules || die
unpack_makeself "hplip-${PV}-plugin.run"
}
src_install() {
local hplip_arch=$(use amd64 && echo 'x86_64' || echo 'x86_32')
insinto /$(get_libdir)/udev/rules.d
doins *.rules || die
insinto "${HPLIP_HOME}"/data/firmware
doins *.fw.gz || die
doins *.fw.gz
for plugin in *-${hplip_arch}.so; do
local plugin_type=prnt
@ -59,19 +54,14 @@ src_install() {
esac
exeinto "${HPLIP_HOME}"/${plugin_type}/plugins
newexe ${plugin} ${plugin/-${hplip_arch}} || die "failed to install ${plugin}"
newexe ${plugin} ${plugin/-${hplip_arch}}
done
}
pkg_postinst() {
echo "# hplip.state - HPLIP runtime persistent variables." > /var/lib/hp/hplip.state
echo "" >> /var/lib/hp/hplip.state
echo "[plugin]" >> /var/lib/hp/hplip.state
echo "installed=1" >> /var/lib/hp/hplip.state
echo "eula=1" >> /var/lib/hp/hplip.state
echo "version = ${PV}" >> /var/lib/hp/hplip.state
}
pkg_postrm() {
sed -ri 's/(installed|eula)=1/\1=0/' /var/lib/hp/hplip.state
mkdir -p "${ED}/var/lib/hp/"
cat >> "${ED}/var/lib/hp/hplip.state" << _EOF_
[plugin]
installed = 1
eula = 1
version = ${PV}
_EOF_
}

@ -10,8 +10,7 @@
~net-print/cnijfilter-3.20 amd64 x86
~net-print/cnijfilter-3.50 x86
~net-print/hplip-3.12.10a amd64 x86
~net-print/hplip-plugin-3.12.10a amd64 x86
~net-print/hplip-3.13.7 amd64 x86
# need for unzip-6.0-r9
~dev-libs/libnatspec-0.2.6 amd64 x86

Loading…
Cancel
Save