summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Kursawe <phosphan@gentoo.org>2008-05-13 11:27:38 +0000
committerPatrick Kursawe <phosphan@gentoo.org>2008-05-13 11:27:38 +0000
commit29c2de8c4cc235917ecead28d72d002d5cf92443 (patch)
treec649fc2f90da431bbbe8d6213ea10d5473052db7
parentadd clisp hyperspec flag (diff)
downloadhistorical-29c2de8c4cc235917ecead28d72d002d5cf92443.tar.gz
historical-29c2de8c4cc235917ecead28d72d002d5cf92443.tar.bz2
historical-29c2de8c4cc235917ecead28d72d002d5cf92443.zip
Removing obsolete versions + cleaner solution for TeX-font-problems.
Package-Manager: portage-2.1.4.4
-rw-r--r--media-gfx/sane-backends/ChangeLog11
-rw-r--r--media-gfx/sane-backends/Manifest16
-rw-r--r--media-gfx/sane-backends/files/udev-rule-2.patch52
-rw-r--r--media-gfx/sane-backends/files/udev-rule-3.patch52
-rw-r--r--media-gfx/sane-backends/files/udev-rule.patch44
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.17.ebuild7
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild139
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.18-r3.ebuild143
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.18-r4.ebuild143
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.18-r5.ebuild143
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.18-r6.ebuild8
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.19-r1.ebuild8
-rw-r--r--media-gfx/sane-backends/sane-backends-1.0.19.ebuild155
13 files changed, 20 insertions, 901 deletions
diff --git a/media-gfx/sane-backends/ChangeLog b/media-gfx/sane-backends/ChangeLog
index 47d058618ad6..66eaa1ec63bb 100644
--- a/media-gfx/sane-backends/ChangeLog
+++ b/media-gfx/sane-backends/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for media-gfx/sane-backends
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.137 2008/04/14 23:20:00 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/ChangeLog,v 1.138 2008/05/13 11:27:37 phosphan Exp $
+
+ 13 May 2008; Patrick Kursawe <phosphan@gentoo.org>
+ -files/udev-rule-2.patch, -files/udev-rule-3.patch,
+ -files/udev-rule.patch, sane-backends-1.0.17.ebuild,
+ -sane-backends-1.0.18-r2.ebuild, -sane-backends-1.0.18-r3.ebuild,
+ -sane-backends-1.0.18-r4.ebuild, -sane-backends-1.0.18-r5.ebuild,
+ sane-backends-1.0.18-r6.ebuild, -sane-backends-1.0.19.ebuild,
+ sane-backends-1.0.19-r1.ebuild:
+ Removing obsolete versions + cleaner solution for TeX-font-problems.
14 Apr 2008; Jeroen Roovers <jer@gentoo.org>
sane-backends-1.0.18-r6.ebuild:
diff --git a/media-gfx/sane-backends/Manifest b/media-gfx/sane-backends/Manifest
index b75bf6b301ba..9c5a45265419 100644
--- a/media-gfx/sane-backends/Manifest
+++ b/media-gfx/sane-backends/Manifest
@@ -1,23 +1,15 @@
AUX broken_coolscan.patch 442 RMD160 9935934fe6963b7da31b544c7f3baa9065c39bab SHA1 2f1bda3b6bb54cae882005eb709cda33cfd17af8 SHA256 87b327a370f4f7e2884a9715dc880362f313611badf978ba1a1dd23f46284c98
AUX fujitsu_DBG_LEVEL.patch 680 RMD160 ed131cc2269ca0e621b226a34e7a96ed319d0162 SHA1 d7e7022b4ce1a4d07a89013bc566ff573a9445f5 SHA256 b7376d0981dec47d589164151b03cecf4d9855d1b02ed5362c34357847c5376a
-AUX udev-rule-2.patch 1765 RMD160 4b228ec772c3089b73d99068f6f97e71cad75e76 SHA1 15766ab0b3e327e8d6e953579bab52d29338dc7c SHA256 1d2f8c6eef9b6aa3860570443d18d7221eab306a16afa38ec1b2eccf4ff5203a
-AUX udev-rule-3.patch 1767 RMD160 f094008db4a500549e95c7bd61288f33cc768e2a SHA1 c7cd2aa717c3a1c8c7d721918026ca01fc03aae8 SHA256 acefdb250f039a672c3d7169a103d6d2543410d4032430a9597a0655a37d0567
AUX udev-rule-4.patch 1861 RMD160 eb841e97e2729dd7645df9261178d1f644b20032 SHA1 0d4911e060b683c4ded5eaf016c83f022ac94303 SHA256 d423f5027041c1a8fba0873941ad4fc60bc857b788b4e4bd6896b82942a2ca6c
AUX udev-rule-5.patch 1462 RMD160 116e50bff2d00238946595136de535bdd0a747ff SHA1 cdbb5db3fe6c8e5660d86be7391e345ea242ba43 SHA256 edcf1275743ea4e418ec1468f990ad005f55f22bdf8ef143beda04fbbe070b6d
-AUX udev-rule.patch 1307 RMD160 52db3085e925d2ae47caf15424be35d9c9561fa4 SHA1 887ce0e30d771b11e547ffd5f92be49e8908936c SHA256 8c1419b49933d85a53397e95ac268e11ea864f76a242cc02c604625bfdc5ff54
DIST sane-1.0.16-brother-driver.diff.bz2 8224 RMD160 acbe36d7c4347d49f6e8e708ea81f0ee604fec9f SHA1 2f0cf77d8bbb98b9bb6cc1f56a86f662fa9bda48 SHA256 795b4c553e5195261b4dfe5f624d2dba256910996d10af3af9551c192bbc92fe
DIST sane-1.0.18-brother-driver.diff.bz2 8335 RMD160 8d86dccca4054699e367412c25d80d8641de42ca SHA1 60bf9c8d4b2fac3f250a95d1dc8043662fc974cd SHA256 4a2eceb222f6cd55979fd150c4a7c365a9a83f2beab15045852f8859404de23b
DIST sane-1.0.19-brother-driver.diff.bz2 8192 RMD160 23dc1428cb587b874b31dc385bdc19c9fe8bdb71 SHA1 caa82756d849d5ff4ca9b9af835243df57ee0976 SHA256 cd71eb12e99ea735e524f66fe53e75d8d6f51036242d1326d09296f3b0fdea55
DIST sane-backends-1.0.17.tar.gz 3588993 RMD160 43e440712e9da676e235dc6148c5dda347c30e22 SHA1 a73e01575458a5fb7dc265cea50c6740555e1711 SHA256 f5478acc07494498fe94aa8801193f8511cacd023fed19aaee1429e10e805d77
DIST sane-backends-1.0.18.tar.gz 3789493 RMD160 aa863adff417d7c33cbb85c193878aa54a056100 SHA1 f4c360b87ced287e4015a0dafd766ad885c539e1 SHA256 d7876a78c5676b0c4bc29091c7a7e1287b5c0be5ff5bb61ef033fbffc73d66f3
DIST sane-backends-1.0.19.tar.gz 4293184 RMD160 1aaf304cbfeb3d6c95f6081d04225441a87b6644 SHA1 3ff8eefa8f32e72dcdbaa4bf20fe125df90144d5 SHA256 13271a7eb4dc4aa6072162abbd78848e4faad32c468b9b44e7f95cde96a4e17e
-EBUILD sane-backends-1.0.17.ebuild 3837 RMD160 b51986d01aaf238ae3125e8d90467c8a51634131 SHA1 34bda87eca304927443eebebac95cd1df1022f9a SHA256 733cbbfe0927a159654e1eb528d6135b14a1619638788f101d44816970a44122
-EBUILD sane-backends-1.0.18-r2.ebuild 4080 RMD160 aad68de4582c974a6ab30bf352ec74c6be1e4e21 SHA1 e4e12288d230b21cff43b866bfa04e89d80b4604 SHA256 7a2c9b3c1048f2d0bdca1d9b2f08ff4b2e03924d45719634ad5e4d4e355b5c0e
-EBUILD sane-backends-1.0.18-r3.ebuild 4192 RMD160 edb6d54b0be9c121de1c409438102b4e9fc2dfc9 SHA1 0e8da285b44822564a4ae3d4ce9cd3b09b55d88e SHA256 4409a172d9baf09dad285eb468b136c805ab165f17956b9004e8844b11ded568
-EBUILD sane-backends-1.0.18-r4.ebuild 4186 RMD160 5b6123a84c3d271713b428cfe73857e506f088bf SHA1 be4b0e64291e52810ecae84bef85cb9d768f2bf9 SHA256 f3e2f8dd008971a46315a01cdb221ca1394e1ce9be84542c9e7f2a12540a0cea
-EBUILD sane-backends-1.0.18-r5.ebuild 4192 RMD160 1ca4aac2f04c7c310c810d4c516198ce4b9d8cef SHA1 d66526539fa70249be236929bd3689da0b61a4cb SHA256 5628a09f292029318ccdc25c27b95c3e824adad62b5dc97150ce2e8d635564e8
-EBUILD sane-backends-1.0.18-r6.ebuild 4363 RMD160 1da215b1ffc12a891f6511dacb03d39e98483742 SHA1 a779b823708831e3c68092e5c0f513234eb89ebb SHA256 76ac1fb9c83ca555240fd9509fcded3d78d737fc7336923901429c851b0d0c82
-EBUILD sane-backends-1.0.19-r1.ebuild 4473 RMD160 f1e3483e518c7c6591aba2d05981a352533a00ab SHA1 5deba26c3a82ddc7ed6c3df2a95c162d13e47367 SHA256 342067865ab302319b12dd99e1b62c9d6526c5a1922dcd12f43de814a8e1ae61
-EBUILD sane-backends-1.0.19.ebuild 4471 RMD160 e21be2b77e2e686c69f086ce3618e55177ab92e8 SHA1 0512ec21de7449f9a07839f15b7653e5706718a5 SHA256 d1f8a66dd0fc46dc209150857418ac11033e178d2e56a82333231cccb82134f0
-MISC ChangeLog 23179 RMD160 0f9c4b3e2ba2f2325d4821185b14519f2197fd8d SHA1 202eda86a034f62ff97f408cd57f9104f75583cf SHA256 7ea4821dd8fe9ec4b6fa4796acd821a2d08294523f7fc1fafd8190d43e3e716d
+EBUILD sane-backends-1.0.17.ebuild 3722 RMD160 7a53da55c1b42181b49a7f939259e796ccb83458 SHA1 673cf05d822aa4e8e4cb306321460d2ec48e94cf SHA256 dfe2823118d18831fcc147da2aad228fedad1f8f4aaae538bd05c981c66c4fe8
+EBUILD sane-backends-1.0.18-r6.ebuild 4252 RMD160 848b8f43ca7534252b50d7d80d7e17664965fcaa SHA1 5970dc58290148e2174bcf993e6785cd0243a616 SHA256 50b9a44120e77d4f831b3a413c176f7d9f38b59653f89a6710dbbd3555dc6b60
+EBUILD sane-backends-1.0.19-r1.ebuild 4357 RMD160 01aa4eaebd50551ad15afd928eb5c0474821da10 SHA1 8652899b9d7763c0e6d731e9431e295c2f4ea4ff SHA256 731374104e97c54b35f2c417016d643b449af6bea63bf280e34d49b707c295cb
+MISC ChangeLog 23652 RMD160 f707a58147b157add4abf2f9fb574c7ce1255016 SHA1 e91518eb1a20d1e5b8bb1e5b57fb3e9c8243f220 SHA256 9ecf9ed0faee4946e71d0047679ea9ab032a28e3832e9ebddae521d997c298e3
MISC metadata.xml 224 RMD160 d646bef174a902fd1910871e794292c44f292052 SHA1 411f9bc454756fe51f5ff5033b73f91b0b07a204 SHA256 c2d7984543cf5a2770459f930dc78cbe0a220cb3297123dc108b225edc33a822
diff --git a/media-gfx/sane-backends/files/udev-rule-2.patch b/media-gfx/sane-backends/files/udev-rule-2.patch
deleted file mode 100644
index 372ce465a71c..000000000000
--- a/media-gfx/sane-backends/files/udev-rule-2.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Index: tools/sane-desc.c
-===================================================================
---- tools/sane-desc.c.orig
-+++ tools/sane-desc.c
-@@ -3151,7 +3151,7 @@ print_udev_header (void)
-
- printf
- ("#\n"
-- "# udev rules file for supported USB devices\n"
-+ "# udev rules file for supported USB and SCSI devices\n"
- "#\n"
- "# To add a USB device, add a rule to the list below between the SUBSYSTEM...\n"
- "# and LABEL... lines.\n"
-@@ -3169,25 +3169,32 @@ print_udev_header (void)
- static void
- print_udev (void)
- {
-+ int commentlen;
- usbid_type *usbid = create_usbids_table ();
-
- print_udev_header ();
- printf ("\nACTION!=\"add\", GOTO=\"libsane_rules_end\"\n");
-- printf ("SUBSYSTEM!=\"usb_device\", GOTO=\"libsane_rules_end\"\n\n");
-+ puts("SUBSYSTEMS==\"scsi\", ATTRS{type}==\"6\", MODE=\"660\", GROUP=\"scanner\"");
-+ printf ("SUBSYSTEM!=\"usb|usb_device\", GOTO=\"libsane_rules_end\"\n\n");
- while (usbid)
- {
- manufacturer_model_type * name = usbid->name;
-
-- printf ("# ");
-+ commentlen = printf ("# ");
- while (name)
- {
-- if (name != usbid->name)
-- printf (" | ");
-- printf ("%s", name->name);
-+ if (name != usbid->name) {
-+ commentlen += printf (" | ");
-+ }
-+ if(commentlen + strlen(name->name) > 480) {
-+ printf(" (line too long, names omitted)");
-+ break;
-+ }
-+ commentlen += printf ("%s", name->name);
- name = name->next;
- }
- printf ("\n");
-- printf ("SYSFS{idVendor}==\"%s\", SYSFS{idProduct}==\"%s\", MODE=\"660\", GROUP=\"scanner\"\n",
-+ printf ("ATTR{idVendor}==\"%s\", ATTR{idProduct}==\"%s\", MODE=\"660\", GROUP=\"scanner\"\n",
- usbid->usb_vendor_id + 2, usbid->usb_product_id + 2);
- usbid = usbid->next;
- }
diff --git a/media-gfx/sane-backends/files/udev-rule-3.patch b/media-gfx/sane-backends/files/udev-rule-3.patch
deleted file mode 100644
index 2daf62098ffd..000000000000
--- a/media-gfx/sane-backends/files/udev-rule-3.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-Index: tools/sane-desc.c
-===================================================================
---- tools/sane-desc.c.orig
-+++ tools/sane-desc.c
-@@ -3151,7 +3151,7 @@ print_udev_header (void)
-
- printf
- ("#\n"
-- "# udev rules file for supported USB devices\n"
-+ "# udev rules file for supported USB and SCSI devices\n"
- "#\n"
- "# To add a USB device, add a rule to the list below between the SUBSYSTEM...\n"
- "# and LABEL... lines.\n"
-@@ -3169,25 +3169,32 @@ print_udev_header (void)
- static void
- print_udev (void)
- {
-+ int commentlen;
- usbid_type *usbid = create_usbids_table ();
-
- print_udev_header ();
- printf ("\nACTION!=\"add\", GOTO=\"libsane_rules_end\"\n");
-- printf ("SUBSYSTEM!=\"usb_device\", GOTO=\"libsane_rules_end\"\n\n");
-+ puts("SUBSYSTEMS==\"scsi\", ATTRS{type}==\"6\", MODE=\"660\", GROUP=\"scanner\"");
-+ printf ("SUBSYSTEM!=\"usb|usb_device\", GOTO=\"libsane_rules_end\"\n\n");
- while (usbid)
- {
- manufacturer_model_type * name = usbid->name;
-
-- printf ("# ");
-+ commentlen = printf ("# ");
- while (name)
- {
-- if (name != usbid->name)
-- printf (" | ");
-- printf ("%s", name->name);
-+ if (name != usbid->name) {
-+ commentlen += printf (" | ");
-+ }
-+ if(commentlen + strlen(name->name) > 480) {
-+ printf(" (line too long, names omitted)");
-+ break;
-+ }
-+ commentlen += printf ("%s", name->name);
- name = name->next;
- }
- printf ("\n");
-- printf ("SYSFS{idVendor}==\"%s\", SYSFS{idProduct}==\"%s\", MODE=\"660\", GROUP=\"scanner\"\n",
-+ printf ("ATTRS{idVendor}==\"%s\", ATTRS{idProduct}==\"%s\", MODE=\"660\", GROUP=\"scanner\"\n",
- usbid->usb_vendor_id + 2, usbid->usb_product_id + 2);
- usbid = usbid->next;
- }
diff --git a/media-gfx/sane-backends/files/udev-rule.patch b/media-gfx/sane-backends/files/udev-rule.patch
deleted file mode 100644
index 894f47e6677f..000000000000
--- a/media-gfx/sane-backends/files/udev-rule.patch
+++ /dev/null
@@ -1,44 +0,0 @@
---- tools/sane-desc.c 2006-07-31 08:57:40.000000000 +0200
-+++ tools/sane-desc-new.c 2006-07-31 09:10:50.000000000 +0200
-@@ -3151,7 +3151,7 @@
-
- printf
- ("#\n"
-- "# udev rules file for supported USB devices\n"
-+ "# udev rules file for supported USB and SCSI devices\n"
- "#\n"
- "# To add a USB device, add a rule to the list below between the SUBSYSTEM...\n"
- "# and LABEL... lines.\n"
-@@ -3169,21 +3169,28 @@
- static void
- print_udev (void)
- {
-+ int commentlen;
- usbid_type *usbid = create_usbids_table ();
-
- print_udev_header ();
- printf ("\nACTION!=\"add\", GOTO=\"libsane_rules_end\"\n");
-+ puts("BUS==\"scsi\", SYSFS{type}==\"6\", MODE=\"660\", GROUP=\"scanner\"");
- printf ("SUBSYSTEM!=\"usb_device\", GOTO=\"libsane_rules_end\"\n\n");
- while (usbid)
- {
- manufacturer_model_type * name = usbid->name;
-
-- printf ("# ");
-+ commentlen = printf ("# ");
- while (name)
- {
-- if (name != usbid->name)
-- printf (" | ");
-- printf ("%s", name->name);
-+ if (name != usbid->name) {
-+ commentlen += printf (" | ");
-+ }
-+ if(commentlen + strlen(name->name) > 480) {
-+ printf(" (line too long, names omitted)");
-+ break;
-+ }
-+ commentlen += printf ("%s", name->name);
- name = name->next;
- }
- printf ("\n");
diff --git a/media-gfx/sane-backends/sane-backends-1.0.17.ebuild b/media-gfx/sane-backends/sane-backends-1.0.17.ebuild
index dd83e7354e21..0259bb1c5602 100644
--- a/media-gfx/sane-backends/sane-backends-1.0.17.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.0.17.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.17.ebuild,v 1.14 2008/02/11 10:33:11 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.17.ebuild,v 1.15 2008/05/13 11:27:37 phosphan Exp $
inherit eutils
@@ -78,9 +78,6 @@ src_unpack() {
cd "${S}"
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
#compile errors when using NDEBUG otherwise
sed -i -e 's:function_name:__FUNCTION__:g' backend/artec_eplus48u.c \
|| die "function_name fix failed"
@@ -102,7 +99,7 @@ src_compile() {
$(use_enable ipv6) \
${myconf} || die "econf failed"
- emake || die
+ emake VARTEXFONTS="${T}/fonts" || die
if use usb; then
cd tools/hotplug
diff --git a/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild b/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild
deleted file mode 100644
index f40db44f3041..000000000000
--- a/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r2.ebuild,v 1.13 2008/02/11 10:33:11 phosphan Exp $
-
-inherit eutils
-
-IUSE="usb gphoto2 ipv6 v4l"
-
-DESCRIPTION="Scanner Access Now Easy - Backends"
-HOMEPAGE="http://www.sane-project.org/"
-
-RDEPEND=">=media-libs/jpeg-6b
- amd64? ( sys-libs/libieee1284 )
- x86? ( sys-libs/libieee1284 )
- usb? ( >=dev-libs/libusb-0.1.8 )
- gphoto2? ( media-libs/libgphoto2 )
- v4l? ( sys-kernel/linux-headers )"
-
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-BROTHERMFCPATCHVER="1.0.18"
-BROTHERMFCDRIVER="sane-${BROTHERMFCPATCHVER}-brother-driver.diff"
-
-# Could not access via ftp on 2006-07-20
-SRC_URI="http://alioth.debian.org/download.php/1669/sane-backends-1.0.18.tar.gz
- ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
- ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz
- usb? ( mirror://gentoo/${BROTHERMFCDRIVER}.bz2
- http://dev.gentoo.org/~phosphan/${BROTHERMFCDRIVER}.bz2 )"
-SLOT="0"
-LICENSE="GPL-2 public-domain"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-
-# To enable specific backends, define SANE_BACKENDS with the backends you want
-# in those:
-#
-# abaton agfafocus apple artec as6e avision bh brother canon
-# canon630u coolscan coolscan2 dc25 dmc
-# epson fujitsu genesys gt68xx hp leo lexmark matsushita microtek
-# microtek2 mustek mustek_usb nec pie pixma plustek
-# plustek_pp ricoh s9036 sceptre sharp
-# sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u
-# artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash sm3840 hp4200
-# sm3600 hp3500 stv680"
-
-# Note that some backends has specific dependencies which make the compilation
-# fail because not supported on your current platform.
-
-pkg_setup() {
- enewgroup scanner
-
- IEEE1284_BACKENDS="canon_pp hpsj5s mustek_pp"
-
- if [[ "${SANE_BACKENDS}" != "" ]]; then
- use gphoto2 && SANE_BACKENDS="${SANE_BACKENDS} gphoto2"
- use v4l && SANE_BACKENDS="${SANE_BACKENDS} v4l"
- use usb && SANE_BACKENDS="${SANE_BACKENDS} sm3600"
- fi
-
- if ! use x86 && ! use amd64; then
- tmp="${SANE_BACKENDS}"
- for backend in ${IEEE1284_BACKENDS}; do
- if [[ "${tmp/$backend/}" != "${SANE_BACKENDS}" ]]; then
- ewarn "You selected a backend which is disabled because it's not usable in your arch."
- fi
- done
- fi
-}
-
-src_unpack() {
- if [ -z "${SANE_BACKENDS}" ]; then
- elog "You can use the variable SANE_BACKENDS to pick backends"
- elog "instead of building all of them."
- fi
- unpack ${A}
- if use usb; then
- unpack ${BROTHERMFCDRIVER}.bz2
- fi
-
- cd "${S}"
-
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
-
- if use usb; then
- epatch "${WORKDIR}/${BROTHERMFCDRIVER}"
- sed -e 's/bh canon/bh brother canon/' -i configure || \
- die "could not add 'brother' to backend list"
- fi
- epatch "${FILESDIR}/udev-rule.patch"
- epatch "${FILESDIR}/broken_coolscan.patch"
-}
-
-src_compile() {
- SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \
- BACKENDS="${SANE_BACKENDS}" \
- econf \
- $(use_enable usb libusb) \
- $(use_with gphoto2) \
- $(use_enable ipv6) \
- ${myconf} || die "econf failed"
-
- emake || die
-
- if use usb; then
- cd tools/hotplug
- grep -v '^$' libsane.usermap > libsane.usermap.new
- mv libsane.usermap.new libsane.usermap
- fi
-}
-
-src_install () {
- make INSTALL_LOCKPATH="" DESTDIR="${D}" install \
- docdir="/usr/share/doc/${PF}"
- keepdir /var/lib/lock/sane
- fowners root:scanner /var/lib/lock/sane
- fperms g+w /var/lib/lock/sane
- dodir /etc/env.d
- if use usb; then
- cd tools/hotplug
- insinto /etc/hotplug/usb
- exeinto /etc/hotplug/usb
- doins libsane.usermap
- doexe libusbscanner
- newdoc README README.hotplug
- echo >> "${D}/etc/env.d/30sane" "USB_DEVFS_PATH=/dev/bus/usb"
- cd ../..
- fi
- cd tools/udev
- dodir /etc/udev/rules.d
- insinto /etc/udev/rules.d
- newins libsane.rules 99-libsane.rules
- cd ../..
-
- dodoc NEWS AUTHORS ChangeLog* README README.linux
- echo "SANE_CONFIG_DIR=/etc/sane.d" >> "${D}/etc/env.d/30sane"
-}
diff --git a/media-gfx/sane-backends/sane-backends-1.0.18-r3.ebuild b/media-gfx/sane-backends/sane-backends-1.0.18-r3.ebuild
deleted file mode 100644
index 2562e69fda9c..000000000000
--- a/media-gfx/sane-backends/sane-backends-1.0.18-r3.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r3.ebuild,v 1.4 2008/02/11 10:33:11 phosphan Exp $
-
-inherit eutils
-
-IUSE="usb gphoto2 ipv6 v4l"
-
-DESCRIPTION="Scanner Access Now Easy - Backends"
-HOMEPAGE="http://www.sane-project.org/"
-
-RDEPEND=">=media-libs/jpeg-6b
- amd64? ( sys-libs/libieee1284 )
- x86? ( sys-libs/libieee1284 )
- usb? ( >=dev-libs/libusb-0.1.8 )
- gphoto2? ( media-libs/libgphoto2 )
- v4l? ( sys-kernel/linux-headers )"
-
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-# We now use new syntax construct (SUBSYSTEMS!="usb|usb_device)
-RDEPEND="${RDEPEND}
- !<sys-fs/udev-114"
-
-BROTHERMFCPATCHVER="1.0.18"
-BROTHERMFCDRIVER="sane-${BROTHERMFCPATCHVER}-brother-driver.diff"
-
-# Could not access via ftp on 2006-07-20
-SRC_URI="http://alioth.debian.org/download.php/1669/sane-backends-1.0.18.tar.gz
- ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
- ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz
- usb? ( mirror://gentoo/${BROTHERMFCDRIVER}.bz2
- http://dev.gentoo.org/~phosphan/${BROTHERMFCDRIVER}.bz2 )"
-SLOT="0"
-LICENSE="GPL-2 public-domain"
-KEYWORDS="~alpha ~amd64 hppa ~ia64 ~ppc ~ppc64 sparc ~x86"
-
-# To enable specific backends, define SANE_BACKENDS with the backends you want
-# in those:
-#
-# abaton agfafocus apple artec as6e avision bh brother canon
-# canon630u coolscan coolscan2 dc25 dmc
-# epson fujitsu genesys gt68xx hp leo lexmark matsushita microtek
-# microtek2 mustek mustek_usb nec pie pixma plustek
-# plustek_pp ricoh s9036 sceptre sharp
-# sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u
-# artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash sm3840 hp4200
-# sm3600 hp3500 stv680"
-
-# Note that some backends has specific dependencies which make the compilation
-# fail because not supported on your current platform.
-
-pkg_setup() {
- enewgroup scanner
-
- IEEE1284_BACKENDS="canon_pp hpsj5s mustek_pp"
-
- if [[ "${SANE_BACKENDS}" != "" ]]; then
- use gphoto2 && SANE_BACKENDS="${SANE_BACKENDS} gphoto2"
- use v4l && SANE_BACKENDS="${SANE_BACKENDS} v4l"
- use usb && SANE_BACKENDS="${SANE_BACKENDS} sm3600"
- fi
-
- if ! use x86 && ! use amd64; then
- tmp="${SANE_BACKENDS}"
- for backend in ${IEEE1284_BACKENDS}; do
- if [[ "${tmp/$backend/}" != "${SANE_BACKENDS}" ]]; then
- ewarn "You selected a backend which is disabled because it's not usable in your arch."
- fi
- done
- fi
-}
-
-src_unpack() {
- if [ -z "${SANE_BACKENDS}" ]; then
- elog "You can use the variable SANE_BACKENDS to pick backends"
- elog "instead of building all of them."
- fi
- unpack ${A}
- if use usb; then
- unpack ${BROTHERMFCDRIVER}.bz2
- fi
-
- cd "${S}"
-
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
-
- if use usb; then
- epatch "${WORKDIR}/${BROTHERMFCDRIVER}"
- sed -e 's/bh canon/bh brother canon/' -i configure || \
- die "could not add 'brother' to backend list"
- fi
- epatch "${FILESDIR}/udev-rule-2.patch"
- epatch "${FILESDIR}/broken_coolscan.patch"
-}
-
-src_compile() {
- SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \
- BACKENDS="${SANE_BACKENDS}" \
- econf \
- $(use_enable usb libusb) \
- $(use_with gphoto2) \
- $(use_enable ipv6) \
- ${myconf} || die "econf failed"
-
- emake || die
-
- if use usb; then
- cd tools/hotplug
- grep -v '^$' libsane.usermap > libsane.usermap.new
- mv libsane.usermap.new libsane.usermap
- fi
-}
-
-src_install () {
- make INSTALL_LOCKPATH="" DESTDIR="${D}" install \
- docdir="/usr/share/doc/${PF}"
- keepdir /var/lib/lock/sane
- fowners root:scanner /var/lib/lock/sane
- fperms g+w /var/lib/lock/sane
- dodir /etc/env.d
- if use usb; then
- cd tools/hotplug
- insinto /etc/hotplug/usb
- exeinto /etc/hotplug/usb
- doins libsane.usermap
- doexe libusbscanner
- newdoc README README.hotplug
- echo >> "${D}/etc/env.d/30sane" "USB_DEVFS_PATH=/dev/bus/usb"
- cd ../..
- fi
- cd tools/udev
- dodir /etc/udev/rules.d
- insinto /etc/udev/rules.d
- newins libsane.rules 99-libsane.rules
- cd ../..
-
- dodoc NEWS AUTHORS ChangeLog* README README.linux
- echo "SANE_CONFIG_DIR=/etc/sane.d" >> "${D}/etc/env.d/30sane"
-}
diff --git a/media-gfx/sane-backends/sane-backends-1.0.18-r4.ebuild b/media-gfx/sane-backends/sane-backends-1.0.18-r4.ebuild
deleted file mode 100644
index 4ff8d4e1ff7e..000000000000
--- a/media-gfx/sane-backends/sane-backends-1.0.18-r4.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r4.ebuild,v 1.8 2008/02/11 10:33:11 phosphan Exp $
-
-inherit eutils
-
-IUSE="usb gphoto2 ipv6 v4l"
-
-DESCRIPTION="Scanner Access Now Easy - Backends"
-HOMEPAGE="http://www.sane-project.org/"
-
-RDEPEND=">=media-libs/jpeg-6b
- amd64? ( sys-libs/libieee1284 )
- x86? ( sys-libs/libieee1284 )
- usb? ( >=dev-libs/libusb-0.1.8 )
- gphoto2? ( media-libs/libgphoto2 )
- v4l? ( sys-kernel/linux-headers )"
-
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-# We now use new syntax construct (SUBSYSTEMS!="usb|usb_device)
-RDEPEND="${RDEPEND}
- !<sys-fs/udev-114"
-
-BROTHERMFCPATCHVER="1.0.18"
-BROTHERMFCDRIVER="sane-${BROTHERMFCPATCHVER}-brother-driver.diff"
-
-# Could not access via ftp on 2006-07-20
-SRC_URI="http://alioth.debian.org/download.php/1669/sane-backends-1.0.18.tar.gz
- ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
- ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz
- usb? ( mirror://gentoo/${BROTHERMFCDRIVER}.bz2
- http://dev.gentoo.org/~phosphan/${BROTHERMFCDRIVER}.bz2 )"
-SLOT="0"
-LICENSE="GPL-2 public-domain"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
-
-# To enable specific backends, define SANE_BACKENDS with the backends you want
-# in those:
-#
-# abaton agfafocus apple artec as6e avision bh brother canon
-# canon630u coolscan coolscan2 dc25 dmc
-# epson fujitsu genesys gt68xx hp leo lexmark matsushita microtek
-# microtek2 mustek mustek_usb nec pie pixma plustek
-# plustek_pp ricoh s9036 sceptre sharp
-# sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u
-# artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash sm3840 hp4200
-# sm3600 hp3500 stv680"
-
-# Note that some backends has specific dependencies which make the compilation
-# fail because not supported on your current platform.
-
-pkg_setup() {
- enewgroup scanner
-
- IEEE1284_BACKENDS="canon_pp hpsj5s mustek_pp"
-
- if [[ "${SANE_BACKENDS}" != "" ]]; then
- use gphoto2 && SANE_BACKENDS="${SANE_BACKENDS} gphoto2"
- use v4l && SANE_BACKENDS="${SANE_BACKENDS} v4l"
- use usb && SANE_BACKENDS="${SANE_BACKENDS} sm3600"
- fi
-
- if ! use x86 && ! use amd64; then
- tmp="${SANE_BACKENDS}"
- for backend in ${IEEE1284_BACKENDS}; do
- if [[ "${tmp/$backend/}" != "${SANE_BACKENDS}" ]]; then
- ewarn "You selected a backend which is disabled because it's not usable in your arch."
- fi
- done
- fi
-}
-
-src_unpack() {
- if [ -z "${SANE_BACKENDS}" ]; then
- elog "You can use the variable SANE_BACKENDS to pick backends"
- elog "instead of building all of them."
- fi
- unpack ${A}
- if use usb; then
- unpack ${BROTHERMFCDRIVER}.bz2
- fi
-
- cd "${S}"
-
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
-
- if use usb; then
- epatch "${WORKDIR}/${BROTHERMFCDRIVER}"
- sed -e 's/bh canon/bh brother canon/' -i configure || \
- die "could not add 'brother' to backend list"
- fi
- epatch "${FILESDIR}/udev-rule-3.patch"
- epatch "${FILESDIR}/broken_coolscan.patch"
-}
-
-src_compile() {
- SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \
- BACKENDS="${SANE_BACKENDS}" \
- econf \
- $(use_enable usb libusb) \
- $(use_with gphoto2) \
- $(use_enable ipv6) \
- ${myconf} || die "econf failed"
-
- emake || die
-
- if use usb; then
- cd tools/hotplug
- grep -v '^$' libsane.usermap > libsane.usermap.new
- mv libsane.usermap.new libsane.usermap
- fi
-}
-
-src_install () {
- make INSTALL_LOCKPATH="" DESTDIR="${D}" install \
- docdir="/usr/share/doc/${PF}"
- keepdir /var/lib/lock/sane
- fowners root:scanner /var/lib/lock/sane
- fperms g+w /var/lib/lock/sane
- dodir /etc/env.d
- if use usb; then
- cd tools/hotplug
- insinto /etc/hotplug/usb
- exeinto /etc/hotplug/usb
- doins libsane.usermap
- doexe libusbscanner
- newdoc README README.hotplug
- echo >> "${D}/etc/env.d/30sane" "USB_DEVFS_PATH=/dev/bus/usb"
- cd ../..
- fi
- cd tools/udev
- dodir /etc/udev/rules.d
- insinto /etc/udev/rules.d
- newins libsane.rules 99-libsane.rules
- cd ../..
-
- dodoc NEWS AUTHORS ChangeLog* README README.linux
- echo "SANE_CONFIG_DIR=/etc/sane.d" >> "${D}/etc/env.d/30sane"
-}
diff --git a/media-gfx/sane-backends/sane-backends-1.0.18-r5.ebuild b/media-gfx/sane-backends/sane-backends-1.0.18-r5.ebuild
deleted file mode 100644
index 051bd89a1e84..000000000000
--- a/media-gfx/sane-backends/sane-backends-1.0.18-r5.ebuild
+++ /dev/null
@@ -1,143 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r5.ebuild,v 1.3 2008/02/11 10:33:11 phosphan Exp $
-
-inherit eutils
-
-IUSE="usb gphoto2 ipv6 v4l"
-
-DESCRIPTION="Scanner Access Now Easy - Backends"
-HOMEPAGE="http://www.sane-project.org/"
-
-RDEPEND=">=media-libs/jpeg-6b
- amd64? ( sys-libs/libieee1284 )
- x86? ( sys-libs/libieee1284 )
- usb? ( >=dev-libs/libusb-0.1.8 )
- gphoto2? ( media-libs/libgphoto2 )
- v4l? ( sys-kernel/linux-headers )"
-
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4"
-
-# We now use new syntax construct (SUBSYSTEMS!="usb|usb_device)
-RDEPEND="${RDEPEND}
- !<sys-fs/udev-114"
-
-BROTHERMFCPATCHVER="1.0.18"
-BROTHERMFCDRIVER="sane-${BROTHERMFCPATCHVER}-brother-driver.diff"
-
-# Could not access via ftp on 2006-07-20
-SRC_URI="http://alioth.debian.org/download.php/1669/sane-backends-1.0.18.tar.gz
- ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
- ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz
- usb? ( mirror://gentoo/${BROTHERMFCDRIVER}.bz2
- http://dev.gentoo.org/~phosphan/${BROTHERMFCDRIVER}.bz2 )"
-SLOT="0"
-LICENSE="GPL-2 public-domain"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-# To enable specific backends, define SANE_BACKENDS with the backends you want
-# in those:
-#
-# abaton agfafocus apple artec as6e avision bh brother canon
-# canon630u coolscan coolscan2 dc25 dmc
-# epson fujitsu genesys gt68xx hp leo lexmark matsushita microtek
-# microtek2 mustek mustek_usb nec pie pixma plustek
-# plustek_pp ricoh s9036 sceptre sharp
-# sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u
-# artec_eplus48u ma1509 ibm hp5400 u12 snapscan niash sm3840 hp4200
-# sm3600 hp3500 stv680"
-
-# Note that some backends has specific dependencies which make the compilation
-# fail because not supported on your current platform.
-
-pkg_setup() {
- enewgroup scanner
-
- IEEE1284_BACKENDS="canon_pp hpsj5s mustek_pp"
-
- if [[ "${SANE_BACKENDS}" != "" ]]; then
- use gphoto2 && SANE_BACKENDS="${SANE_BACKENDS} gphoto2"
- use v4l && SANE_BACKENDS="${SANE_BACKENDS} v4l"
- use usb && SANE_BACKENDS="${SANE_BACKENDS} sm3600"
- fi
-
- if ! use x86 && ! use amd64; then
- tmp="${SANE_BACKENDS}"
- for backend in ${IEEE1284_BACKENDS}; do
- if [[ "${tmp/$backend/}" != "${SANE_BACKENDS}" ]]; then
- ewarn "You selected a backend which is disabled because it's not usable in your arch."
- fi
- done
- fi
-}
-
-src_unpack() {
- if [ -z "${SANE_BACKENDS}" ]; then
- elog "You can use the variable SANE_BACKENDS to pick backends"
- elog "instead of building all of them."
- fi
- unpack ${A}
- if use usb; then
- unpack ${BROTHERMFCDRIVER}.bz2
- fi
-
- cd "${S}"
-
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
-
- if use usb; then
- epatch "${WORKDIR}/${BROTHERMFCDRIVER}"
- sed -e 's/bh canon/bh brother canon/' -i configure || \
- die "could not add 'brother' to backend list"
- fi
- epatch "${FILESDIR}"/udev-rule-4.patch
- epatch "${FILESDIR}"/broken_coolscan.patch
-}
-
-src_compile() {
- SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \
- BACKENDS="${SANE_BACKENDS}" \
- econf \
- $(use_enable usb libusb) \
- $(use_with gphoto2) \
- $(use_enable ipv6) \
- ${myconf} || die "econf failed"
-
- emake || die
-
- if use usb; then
- cd tools/hotplug
- grep -v '^$' libsane.usermap > libsane.usermap.new
- mv libsane.usermap.new libsane.usermap
- fi
-}
-
-src_install () {
- make INSTALL_LOCKPATH="" DESTDIR="${D}" install \
- docdir=/usr/share/doc/${PF}
- keepdir /var/lib/lock/sane
- fowners root:scanner /var/lib/lock/sane
- fperms g+w /var/lib/lock/sane
- dodir /etc/env.d
- if use usb; then
- cd tools/hotplug
- insinto /etc/hotplug/usb
- exeinto /etc/hotplug/usb
- doins libsane.usermap
- doexe libusbscanner
- newdoc README README.hotplug
- echo >> "${D}"/etc/env.d/30sane "USB_DEVFS_PATH=/dev/bus/usb"
- cd ../..
- fi
- cd tools/udev
- dodir /etc/udev/rules.d
- insinto /etc/udev/rules.d
- newins libsane.rules 70-libsane.rules
- cd ../..
-
- dodoc NEWS AUTHORS ChangeLog* README README.linux
- echo "SANE_CONFIG_DIR=/etc/sane.d" >> "${D}"/etc/env.d/30sane
-}
diff --git a/media-gfx/sane-backends/sane-backends-1.0.18-r6.ebuild b/media-gfx/sane-backends/sane-backends-1.0.18-r6.ebuild
index ca75f415e3de..76c3604086e4 100644
--- a/media-gfx/sane-backends/sane-backends-1.0.18-r6.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.0.18-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r6.ebuild,v 1.7 2008/04/14 23:20:00 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.18-r6.ebuild,v 1.8 2008/05/13 11:27:37 phosphan Exp $
inherit eutils
@@ -92,10 +92,6 @@ src_unpack() {
cd "${S}"
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
-
if ! use doc; then
sed -i -e 's:@USE_LATEX@:no:' doc/Makefile.in
fi
@@ -118,7 +114,7 @@ src_compile() {
$(use_enable ipv6) \
${myconf} || die "econf failed"
- emake || die
+ emake VARTEXFONTS="${T}/fonts" || die
if use usb; then
cd tools/hotplug
diff --git a/media-gfx/sane-backends/sane-backends-1.0.19-r1.ebuild b/media-gfx/sane-backends/sane-backends-1.0.19-r1.ebuild
index 94a9c000929d..a4df3d198a9a 100644
--- a/media-gfx/sane-backends/sane-backends-1.0.19-r1.ebuild
+++ b/media-gfx/sane-backends/sane-backends-1.0.19-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.19-r1.ebuild,v 1.2 2008/04/08 08:44:50 phosphan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.19-r1.ebuild,v 1.3 2008/05/13 11:27:37 phosphan Exp $
inherit eutils
@@ -89,10 +89,6 @@ src_unpack() {
cd "${S}"
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
-
if ! use doc; then
sed -i -e 's:@USE_LATEX@:no:' doc/Makefile.in
fi
@@ -119,7 +115,7 @@ src_compile() {
$(use_enable ipv6) \
${myconf} || die "econf failed"
- emake || die
+ emake VARTEXFONTS="${T}/fonts" || die
if use usb; then
cd tools/hotplug
diff --git a/media-gfx/sane-backends/sane-backends-1.0.19.ebuild b/media-gfx/sane-backends/sane-backends-1.0.19.ebuild
deleted file mode 100644
index 2ef9b6110c26..000000000000
--- a/media-gfx/sane-backends/sane-backends-1.0.19.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/sane-backends/sane-backends-1.0.19.ebuild,v 1.2 2008/04/08 08:44:50 phosphan Exp $
-
-inherit eutils
-
-IUSE="usb gphoto2 ipv6 v4l doc"
-
-DESCRIPTION="Scanner Access Now Easy - Backends"
-HOMEPAGE="http://www.sane-project.org/"
-
-RDEPEND=">=media-libs/jpeg-6b
- amd64? ( sys-libs/libieee1284 )
- x86? ( sys-libs/libieee1284 )
- usb? ( >=dev-libs/libusb-0.1.8 )
- gphoto2? ( media-libs/libgphoto2 )
- v4l? ( sys-kernel/linux-headers )"
-
-DEPEND="${RDEPEND}
- doc? (
- || ( app-text/tetex
- (
- app-text/texlive
- dev-texlive/texlive-latexextra
- )
- )
- )
- >=sys-apps/sed-4"
-
-# We now use new syntax construct (SUBSYSTEMS!="usb|usb_device)
-RDEPEND="${RDEPEND}
- !<sys-fs/udev-114"
-
-BROTHERMFCPATCHVER="1.0.19"
-BROTHERMFCDRIVER="sane-${BROTHERMFCPATCHVER}-brother-driver.diff"
-
-# Could not access via ftp on 2006-07-20
-SRC_URI="http://alioth.debian.org/frs/download.php/2318/${P}.tar.gz
- ftp://ftp.sane-project.org/pub/sane/${P}/${P}.tar.gz
- ftp://ftp.sane-project.org/pub/sane/old-versions/${P}/${P}.tar.gz
- usb? ( mirror://gentoo/${BROTHERMFCDRIVER}.bz2
- http://dev.gentoo.org/~phosphan/${BROTHERMFCDRIVER}.bz2 )"
-SLOT="0"
-LICENSE="GPL-2 public-domain"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-
-# To enable specific backends, define SANE_BACKENDS with the backends you want
-# in those:
-# abaton agfafocus apple artec as6e avision bh brother canon
-# canon630u coolscan coolscan2 dc25 dmc epjitsu
-# epson fujitsu genesys gt68xx hp leo lexmark matsushita microtek
-# microtek2 mustek mustek_usb nec pie pixma plustek_pp
-# ricoh s9036 sceptre sharp
-# sp15c st400 tamarack test teco1 teco2 teco3 umax umax_pp umax1220u
-# artec_eplus48u ma1509 ibm hs2p hp5400 u12 snapscan niash sm3840 hp4200
-# sm3600 hp3500 stv680 epson2 hp5590 hp3900 hpljm1005"
-
-# Note that some backends has specific dependencies which make the compilation
-# fail because not supported on your current platform.
-
-pkg_setup() {
- enewgroup scanner
-
- if [[ "${SANE_BACKENDS}" != "" ]]; then
- use gphoto2 && SANE_BACKENDS="${SANE_BACKENDS} gphoto2"
- use v4l && SANE_BACKENDS="${SANE_BACKENDS} v4l"
- fi
- IEEE1284_BACKENDS="canon_pp hpsj5s mustek_pp"
- if ! use x86 && ! use amd64; then
- tmp="${SANE_BACKENDS}"
- for backend in ${IEEE1284_BACKENDS}; do
- if [[ "${tmp/$backend/}" != "${SANE_BACKENDS}" ]]; then
- ewarn "You selected a backend which is disabled because it's not usable in your arch."
- fi
- done
- fi
-}
-
-src_unpack() {
- if [ -z "${SANE_BACKENDS}" ]; then
- elog "You can use the variable SANE_BACKENDS to pick backends"
- elog "instead of building all of them."
- fi
- unpack ${A}
-
- if use usb; then
- unpack ${BROTHERMFCDRIVER}.bz2
- fi
-
- cd "${S}"
-
- #only generate the .ps and not the fonts
- sed -i -e 's:$(DVIPS) sane.dvi -o sane.ps:$(DVIPS) sane.dvi -M1 -o sane.ps:' \
- doc/Makefile.in
-
- if ! use doc; then
- sed -i -e 's:@USE_LATEX@:no:' doc/Makefile.in
- fi
-
- if use usb; then
- epatch "${WORKDIR}/${BROTHERMFCDRIVER}"
- sed -e 's/bh canon/bh brother canon/' -i configure || \
- die "could not add 'brother' to backend list"
- fi
- epatch "${FILESDIR}"/udev-rule-5.patch
- epatch "${FILESDIR}"/fujitsu_DBG_LEVEL.patch
- cat >> backend/dll.conf.in <<-EOF
- # Add support for the HP-specific backend. Needs net-print/hplip installed.
- #hpaio
- EOF
-}
-
-src_compile() {
- SANEI_JPEG="sanei_jpeg.o" SANEI_JPEG_LO="sanei_jpeg.lo" \
- BACKENDS="${SANE_BACKENDS}" \
- econf \
- $(use_enable usb libusb) \
- $(use_with gphoto2) \
- $(use_enable ipv6) \
- ${myconf} || die "econf failed"
-
- emake || die
-
- if use usb; then
- cd tools/hotplug
- grep -v '^$' libsane.usermap > libsane.usermap.new
- mv libsane.usermap.new libsane.usermap
- fi
-}
-
-src_install () {
- make INSTALL_LOCKPATH="" DESTDIR="${D}" install \
- docdir=/usr/share/doc/${PF}
- keepdir /var/lib/lock/sane
- fowners root:scanner /var/lib/lock/sane
- fperms g+w /var/lib/lock/sane
- dodir /etc/env.d
- if use usb; then
- cd tools/hotplug
- insinto /etc/hotplug/usb
- exeinto /etc/hotplug/usb
- doins libsane.usermap
- doexe libusbscanner
- newdoc README README.hotplug
- echo >> "${D}"/etc/env.d/30sane "USB_DEVFS_PATH=/dev/bus/usb"
- cd ../..
- fi
- cd tools/udev
- dodir /etc/udev/rules.d
- insinto /etc/udev/rules.d
- newins libsane.rules 70-libsane.rules
- cd ../..
- dodoc NEWS AUTHORS ChangeLog* README README.linux
- echo "SANE_CONFIG_DIR=/etc/sane.d" >> "${D}"/etc/env.d/30sane
-}