ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] hpoj-0.90
@ 2003-01-16 11:09 Grigory Batalov
  2003-01-17 11:23 ` vserge
  0 siblings, 1 reply; 2+ messages in thread
From: Grigory Batalov @ 2003-01-16 11:09 UTC (permalink / raw)
  To: sisyphus

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

  Поскольку мэйнтейнера у hpoj нет, я, скорее всего, возьму его
себе. HPOJ - Hewlett-Packard OfficeJet, проект для поддержки
"комбайнов" фирмы HP. Лично меня в нём интересует возможность
сканирования с HP 1100A / HP 1220 через JetDirect (по IP + SNMP).

  Удалось добиться взаимности от версии 0.90.
Пока Сизиф в заморозке, гоняю пакет у себя. Вот текущий spec-файл,
у кого будут замечания, с благодарностью приму.

-- 
 Баталов Григорий,
 системный администратор
 ОАО "Ковдорский ГОК"

[-- Attachment #2: hpoj.spec --]
[-- Type: text/plain, Size: 6141 bytes --]

Name: hpoj
Version: 0.90
Release: alt0.2bga
Packager: Grigory Batalov <bga@altlinux.ru>

Summary: HP OfficeJet low level driver infrastructure
Summary(ru_RU.KOI8-R): îÉÚËÏÕÒÏ×ÎÅ×ÙÅ ÄÒÁÊ×ÅÒÁ ÄÌÑ HP OfficeJet
License: GPL
Group: System/Servers
Url: http://hpoj.sourceforge.net

Source: http://hpoj.sourceforge.net/download/%name-%version.tar.bz2
Source3: hpoj.png.bz2

Patch: hpoj-0.90-cvs030106.diff.bz2

Requires:libptal = %version-%release

# Automatically added by buildreq on Tue Jan 14 2003
BuildRequires: XFree86-libs freetype2 gcc-c++ libXft libexpat libfontconfig libjpeg liblcms libmng libqt3-devel libsane-devel libssl-devel libstdc++-devel libucd-snmp-devel

%description
This is an HP-sponsored project to add Linux support for most
Hewlett-Packard OfficeJet, PSC, and LaserJet all-in-one peripherals
(also known as Multi-Function Peripherals or MFPs), which can print,
scan, copy, and (on some models) fax.

It is work in progress, but printing and scanning are supported on
most models, when either connected to the parallel port or USB on a
Linux (Intel or Alpha) workstation, or to a LAN with selected HP
JetDirect print servers.

%description -l ru_RU.KOI8-R
üÔÏ ÓÐÏÎÓÉÒÕÅÍÙÊ HP Linux-ÐÒÏÅËÔ, ÐÏÄÄÅÒÖÉ×ÁÀÝÉÊ ÂÏÌØÛÉÎÓÔ×Ï
ÍÎÏÇÏÆÕÎËÃÉÏÎÁÌØÎÙÈ ÕÓÔÒÏÊÓÔ× Hewlett-Packard, ÔÁËÉÈ ËÁË OfficeJet,
PSC É LaserJet, ËÏÔÏÒÙÅ ÍÏÇÕÔ ÐÅÞÁÔÁÔØ, ÓËÁÎÉÒÏ×ÁÔØ, ËÏÐÉÒÏ×ÁÔØ
É ÄÁÖÅ ÐÏÓÙÌÁÔØ ÆÁËÓÙ.

òÁÚÒÁÂÏÔËÁ ÅÝ£ ÐÒÏÄÏÌÖÁÅÔÓÑ, ÏÄÎÁËÏ ÐÅÞÁÔØ É ÓËÁÎÉÒÏ×ÁÎÉÅ ÕÖÅ ÒÁÂÏÔÁÀÔ
×Ï ÍÎÏÇÉÈ ÍÏÄÅÌÑÈ, ÐÏÄËÌÀÞ£ÎÎÙÈ ÞÅÒÅÚ ÐÁÒÁÌÌÅÌØÎÙÊ ÐÏÒÔ ÉÌÉ USB
Ë ÒÁÂÏÞÅÊ ÓÔÁÎÃÉÉ Linux (Intel ÉÌÉ Alpha), ÉÌÉ ÞÅÒÅÚ ÓÅÔØ ÐÒÉ ÐÏÍÏÝÉ
ÏÄÎÏÇÏ ÉÚ ÐÒÉÎÔ-ÓÅÒ×ÅÒÏ× HP JetDirect.

%package -n libptal
Summary: Dynamic library for the "hpoj" HP Officejet low level drivers
Summary(ru_RU.KOI8-R): äÉÎÁÍÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ ÐÒÏÅËÔÁ "hpoj"
Group: System/Servers

%description -n libptal
Library needed for the "hpoj" HP Officejet low level drivers.

%description -n libptal -l ru_RU.KOI8-R
âÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÄÒÁÊ×ÅÒÏ× HP Officejet (ÐÒÏÅËÔ "hpoj").

%package -n libptal-devel
Summary: Headers and links to compile against the "libptal" ("hpoj") library
Summary(ru_RU.KOI8-R): úÁÇÏÌÏ×ËÉ É ÓÓÙÌËÉ ÄÌÑ ÓÂÏÒËÉ Ó ÂÉÂÌÉÏÔÅËÏÊ "libptal" ("hpoj")
Group: Development/C
Requires: libptal = %version-%release
Requires: libsane-hpoj = %version-%release

%description -n libptal-devel
This package contains all files which one needs to compile programs using
the "libptal" library.

%description -n libptal-devel -l ru_RU.KOI8-R
ðÁËÅÔ ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÓÂÏÒËÉ ÐÒÏÇÒÁÍÍ, ÉÓÐÏÌØÚÕÀÝÉÈ
ÂÉÂÌÉÏÔÅËÕ "libptal".

%package -n libsane-hpoj
Summary: SANE driver for scanners in HP's multi-function devices
Summary(ru_RU.KOI8-R): äÒÁÊ×ÅÒ SANE ÄÌÑ ÍÎÏÇÏÆÕÎËÃÉÏÎÁÌØÎÙÈ ÕÓÔÒÏÊÓÔ× HP
Group: System/Servers
Requires: libsane
Requires: libptal = %version-%release

%description -n libsane-hpoj
SANE driver for scanners in HP's multi-function devices (from HPOJ).

%description -n libsane-hpoj -l ru_RU.KOI8-R
äÒÁÊ×ÅÒ ÐÒÏÇÒÁÍÍÙ SANE ÄÌÑ ÓËÁÎÅÒÏ×, ×ÈÏÄÑÝÉÈ × ÓÏÓÔÁ× ÍÎÏÇÏÆÕÎËÃÉÏÎÁÌØÎÙÈ
ÕÓÔÒÏÊÓÔ× HP (ÐÒÏÅËÔ "hpoj").

%package -n xojpanel
Summary: Graphical tool displaying the contents of the LCD of HP printers
Summary(ru_RU.KOI8-R): çÒÁÆÉÞÅÓËÉÊ ÜÍÕÌÑÔÏÒ LCD-ÐÁÎÅÌÉ ÐÒÉÎÔÅÒÏ× HP
Group: System/Servers
Requires: libptal = %version-%release

%description -n xojpanel
Graphical tool displaying the contents of the LCD of HP multi-function
devices and laser printers. Very useful to monitor the state (paper, ink,
running job) of a printer directly on one's workstation's screen.

%description -n xojpanel -l ru_RU.KOI8-R
çÒÁÆÉÞÅÓËÁÑ ÏÂÏÌÏÞËÁ, ÐÏËÁÚÙ×ÁÀÝÁÑ ÓÏÄÅÒÖÉÍÏÅ LCD-ÐÁÎÅÌÉ ÍÎÏÇÏÆÕÎËÃÉÏÎÁÌØÎÙÈ
ÕÓÔÒÏÊÓÔ× HP É ÌÁÚÅÒÎÙÈ ÐÒÉÎÔÅÒÏ×. ÷ÅÓØÍÁ ÐÏÌÅÚÎÁ ÄÌÑ ÎÁÂÌÀÄÅÎÉÑ ÓÔÁÔÕÓÁ
ÐÒÉÎÔÅÒÁ (ÂÕÍÁÇÁ, ËÁÒÔÒÉÄÖ, ÚÁÄÁÎÉÑ ÐÅÞÁÔÉ) ÎÅÐÏÓÒÅÄÓÔ×ÅÎÎÏ ÎÁ ÜËÒÁÎÅ
ÒÁÂÏÞÅÊ ÓÔÁÎÃÉÉ.

%prep
%setup -q
%patch -p1
bzcat %SOURCE3 > hpoj.png

%build
autoconf
%configure --with-qt=/usr/lib/qt3 --with-snmp
#NO SMP
%make

%install
%makeinstall docdir=%buildroot%_docdir/%name-%version

%__mkdir_p %buildroot%_libdir/sane
%__ln_s %_libdir/libsane-hpoj.so.1 %buildroot%_libdir/sane/libsane-hpoj.so.1

%__mkdir_p %buildroot%_sysconfdir/ptal
%__mkdir_p %buildroot%_var/run/ptal-{mlcd,printd}
%__mkdir_p %buildroot%_iconsdir/locolor/16x16/apps/
%__install -m 644 hpoj.png %buildroot%_iconsdir/locolor/16x16/apps/

%__mkdir_p %buildroot%_menudir

cat <<EOF > %buildroot%_menudir/hpoj
?package(hpoj): needs=X11 \
section=Configuration/Printing \
title="X Office Jet Panel" \
longtitle="Displays the contents of the front panel LCD screen of your HP Office Jet in a window on your desktop" \
command="%_bindir/xojpanel" \
icon="%_iconsdir/locolor/16x16/apps/hpoj.png"
EOF

%post -n xojpanel
%update_menus

%post -n libptal
%post_ldconfig

%post -n libsane-hpoj
%post_ldconfig

%postun -n xojpanel
%update_menus

%postun -n libptal
%postun_ldconfig

%postun -n libsane-hpoj
%postun_ldconfig
#############################################################
%files
%dir %_sysconfdir/ptal
%dir %_var/run/ptal-mlcd
%dir %_var/run/ptal-printd
%_sbindir/*
%_bindir/ptal-*
%_bindir/hpojip-*
%doc %_defaultdocdir/%name-%version


%files -n libptal
%_libdir/libptal.so.*
%_libdir/libhpojip.so.*

%files -n libptal-devel
%_includedir/*
%_libdir/*.so

%files -n libsane-hpoj
%_libdir/libsane-hpoj.so.*
%_libdir/sane/libsane-hpoj.so.*

%files -n xojpanel
%_bindir/xojpanel
%_iconsdir/locolor/16x16/apps/*
%_menudir/*

%changelog
* Tue Jan 14 2003 Grigory Batalov <bga@altlinux.ru> 0.90-alt0.1bga
- 0.90
- Mandrake experience integrated

* Fri Dec 07 2001 Stanislav Ievlev <inger@altlinux.ru> 0.8-alt1
- Initial release for ALT

* Wed Oct 24 2001 Vincent Saugey <vince@mandrakesoft.com> 0.8-5mdk
- Replace ucd-snmp require by libsnmp0

* Mon Oct 22 2001 Till Kamppeter <till@mandrakesoft.com> 0.8-4mdk
- Added patch to generate directories for the HPOJ daemons in the DevFS
  file system

* Sat Oct 20 2001 Stew Benedict <sbenedict@mandrakesoft.com> 0.8-3mdk
- patch for PPC build

* Wed Oct 10 2001 Till Kamppeter <till@mandrakesoft.com> 0.8-2mdk
- Rebuilt for libpng3.

* Wed Aug  8 2001 Till Kamppeter <till@mandrakesoft.com> 0.8-1mdk
- initial release

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] hpoj-0.90
  2003-01-16 11:09 [sisyphus] hpoj-0.90 Grigory Batalov
@ 2003-01-17 11:23 ` vserge
  0 siblings, 0 replies; 2+ messages in thread
From: vserge @ 2003-01-17 11:23 UTC (permalink / raw)
  To: sisyphus

Добрый день

Вы написали Grigory Batalov <grisxa@mail.ru> Thu, 16 Jan 2003 14:09:02 +0300:

>   Поскольку мэйнтейнера у hpoj нет, я, скорее всего, возьму его
> себе. HPOJ - Hewlett-Packard OfficeJet, проект для поддержки
> "комбайнов" фирмы HP. Лично меня в нём интересует возможность
> сканирования с HP 1100A / HP 1220 через JetDirect (по IP + SNMP).
> 
>   Удалось добиться взаимности от версии 0.90.
> Пока Сизиф в заморозке, гоняю пакет у себя. Вот текущий spec-файл,
> у кого будут замечания, с благодарностью приму.
> 

Выложи пожалуйста в Дедалус я погоняю у себя :))


-- 
With best wishes, Volkov Serge		
Network Administrator/Security Administrator 		


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-17 11:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-16 11:09 [sisyphus] hpoj-0.90 Grigory Batalov
2003-01-17 11:23 ` vserge

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git