net-print/omni: initial version
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@494 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
c21071c4b7
commit
e927eac652
10
net-print/omni/ChangeLog
Normal file
10
net-print/omni/ChangeLog
Normal file
@ -0,0 +1,10 @@
|
||||
# ChangeLog for net-print/omni
|
||||
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
|
||||
# $Header: $
|
||||
|
||||
02 Sep 2008; Mario Fetka <mario.fetka@gmail.com>
|
||||
+files/Omni-0.9.2-gcc43-1.patch,
|
||||
+files/OmniEpsonVendor-0.9.2-gcc43-1.patch, +metadata.xml,
|
||||
+omni-0.9.2-r1.ebuild:
|
||||
initial version
|
||||
|
9
net-print/omni/Manifest
Normal file
9
net-print/omni/Manifest
Normal file
@ -0,0 +1,9 @@
|
||||
AUX Omni-0.9.2-gcc43-1.patch 59593 RMD160 685a0b149db51341c548fb238925bbe309a5d175 SHA1 f1271312c0ff7e0df137a6ab500134d1e18078bd SHA256 fe200663cb1b8d1b933ac82dc9b9ef541166188a6acad8081382c060334bc108
|
||||
AUX OmniEpsonVendor-0.9.2-gcc43-1.patch 829 RMD160 6400dcb32ac39dad7826f096f7c3dc6798ab1f3d SHA1 6e9d727ffadfa93d253757e569c44b5724f18a27 SHA256 135fcab7bab07743b7db45485f7653813eb75fe394011e15a16bdb32651124cb
|
||||
DIST Omni-0.9.2.tar.gz 4222308 RMD160 2e9dcc4194e1df0fce2cf1659411fff9e6e7b00c SHA1 796c5bf28d66ed186a1b0d169c660d9f91c2af92 SHA256 e8f36dfea952ad7a3eebf6d8d08aafd191906ba6b8992c5f56166bc7e67532a2
|
||||
DIST OmniArchitecture.0.3.pdf 169117 RMD160 8b75b1f55cbb93d3b7ec6c29046927e136c891ce SHA1 20d982f1f5245433dc3585db2b5b1a9335df7cd2 SHA256 98a6d83586f6ca53354cc2c8f6a7739197993223d5e9d9f67b6292de12906bd0
|
||||
DIST OmniEpsonVendor-0.9.2.tar.gz 8493387 RMD160 817a78002e3b96d3f99d644237421c1e3b7fb9ba SHA1 c551c0d6f4142f0072366cfaee310148460e7e36 SHA256 63b1e30b4a4fc12f11d67ca019468e014dce0638f8845a501e2392a298692da7
|
||||
DIST omni-0.9.2-foomatic.tar.bz2 91000 RMD160 36a8dd1fdf15bcaa91a1a741d6b057dbe8431ec3 SHA1 a8e21ae0084c9860902ba98fa711c87d0435b4d1 SHA256 0d0b8613cd705db7fdb8aed95306a377537fbf443d53414889f2348131ca8199
|
||||
EBUILD omni-0.9.2-r1.ebuild 1931 RMD160 81a3862d337d34106002b670ab585ff0d98bee5f SHA1 37aa1492f7b4534af1f53f23198093f1bbcd5e54 SHA256 917ace6d8e942689ac38d01ae514730e28f63db18c99c6dfa3ce270f795456a9
|
||||
MISC ChangeLog 306 RMD160 783da9ae011042b02cc3b8c5b448f0410771bb39 SHA1 48c92d9f359caa7ffe47517756fa491f2329f33f SHA256 7cade8e7d13ee35352992e9a351379326a597edcee944d9c0afb0171bc839b17
|
||||
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
|
1692
net-print/omni/files/Omni-0.9.2-gcc43-1.patch
Normal file
1692
net-print/omni/files/Omni-0.9.2-gcc43-1.patch
Normal file
File diff suppressed because it is too large
Load Diff
20
net-print/omni/files/OmniEpsonVendor-0.9.2-gcc43-1.patch
Normal file
20
net-print/omni/files/OmniEpsonVendor-0.9.2-gcc43-1.patch
Normal file
@ -0,0 +1,20 @@
|
||||
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
|
||||
Date: 2008-09-02
|
||||
Initial Package Version: 0.9.2
|
||||
Origin: me
|
||||
Upstream Status: unknown
|
||||
Description: Make it compile with gcc 4.3
|
||||
|
||||
diff -Naur VendorSupplied.orig/Epson.PDC/OmniEpsonBlitter.cpp VendorSupplied/Epson.PDC/OmniEpsonBlitter.cpp
|
||||
--- VendorSupplied.orig/Epson.PDC/OmniEpsonBlitter.cpp 2004-06-09 14:12:53.000000000 +0000
|
||||
+++ VendorSupplied/Epson.PDC/OmniEpsonBlitter.cpp 2008-09-02 13:24:03.118003224 +0000
|
||||
@@ -111,6 +111,9 @@
|
||||
#include "Omni.hpp"
|
||||
#include "JobProperties.hpp"
|
||||
|
||||
+#include <cstring>
|
||||
+#include <cstdlib>
|
||||
+
|
||||
/****************************************************************************/
|
||||
/* Epson changable... */
|
||||
/****************************************************************************/
|
5
net-print/omni/metadata.xml
Normal file
5
net-print/omni/metadata.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>maintainer-wanted</herd>
|
||||
</pkgmetadata>
|
70
net-print/omni/omni-0.9.2-r1.ebuild
Normal file
70
net-print/omni/omni-0.9.2-r1.ebuild
Normal file
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/net-print/omni/omni-0.9.2.ebuild,v 1.8 2008/07/11 07:33:44 remi Exp $
|
||||
|
||||
WANT_AUTOMAKE="1.6"
|
||||
WANT_AUTOCONF="latest"
|
||||
|
||||
inherit eutils autotools
|
||||
|
||||
DESCRIPTION="Omni provides support for many printers with a pluggable framework (easy to add devices)"
|
||||
HOMEPAGE="http://sourceforge.net/projects/omniprint"
|
||||
SRC_URI="mirror://sourceforge/omniprint/${P/o/O}.tar.gz
|
||||
doc? ( mirror://sourceforge/omniprint/OmniArchitecture.0.3.pdf )
|
||||
epson? ( mirror://sourceforge/omniprint/OmniEpsonVendor-${PV}.tar.gz )
|
||||
foomaticdb? ( mirror://gentoo/omni-${PV}-foomatic.tar.bz2 )"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~ppc x86"
|
||||
DEPEND=""
|
||||
RDEPEND="virtual/ghostscript
|
||||
dev-libs/libxml2
|
||||
=dev-libs/glib-1*
|
||||
cups? ( >=net-print/cups-1.1.14 )
|
||||
X? ( =dev-cpp/gtkmm-1.2* )
|
||||
=dev-libs/libsigc++-1.0*
|
||||
foomaticdb? ( net-print/foomatic-db-engine )"
|
||||
|
||||
S="${WORKDIR}/Omni"
|
||||
|
||||
IUSE="cups X ppds foomaticdb static doc epson"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P/o/O}.tar.gz
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/Omni-0.9.2-gcc43-1.patch
|
||||
if use epson; then
|
||||
unpack OmniEpsonVendor-${PV}.tar.gz
|
||||
epatch "${FILESDIR}"/OmniEpsonVendor-0.9.2-gcc43-1.patch
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=" \
|
||||
$(use_enable X jobdialog) \
|
||||
$(use_enable cups) \
|
||||
$(use_enable static)"
|
||||
|
||||
eautoreconf
|
||||
|
||||
LC_ALL="" LC_NUMERIC="" LANG="" ./setupOmni ${myconf} --disable-device-xml --enable-device-compile \
|
||||
|| die "setup0mni failed"
|
||||
|
||||
if use ppds && use cups; then
|
||||
sed -i -e "s/model\/foomatic/model\/omni/g" CUPS/Makefile \
|
||||
|| die 'sed failed'
|
||||
make -C CUPS generateBuildPPDs || die "make failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
make DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
dodoc docs/* # never forget this! ;-)
|
||||
use doc && dodoc "${DISTDIR}"/OmniArchitecture.0.3.pdf
|
||||
|
||||
if use foomaticdb; then
|
||||
cd "${D}"
|
||||
unpack omni-${PV}-foomatic.tar.bz2
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user