diff options
21 files changed, 452 insertions, 0 deletions
diff --git a/media-gfx/scangearmp/Manifest b/media-gfx/scangearmp/Manifest new file mode 100644 index 00000000..4b196ea2 --- /dev/null +++ b/media-gfx/scangearmp/Manifest @@ -0,0 +1 @@ +DIST scangearmp-source-1.60-1.tar.gz 3931034 SHA256 fab6b764409f17a674ba31e45a515353cdf027562b2daee96c316bb86d6d6340 diff --git a/media-gfx/scangearmp/files/fixcompile.patch b/media-gfx/scangearmp/files/fixcompile.patch new file mode 100644 index 00000000..d119d58d --- /dev/null +++ b/media-gfx/scangearmp/files/fixcompile.patch @@ -0,0 +1,12 @@ +diff -rpu a/scanfile.c b/scanfile.c +--- a/scanfile.c 2012-07-11 12:13:03.912093273 +0800 ++++ b/scanfile.c 2012-07-11 12:13:50.831095404 +0800 +@@ -386,7 +386,7 @@ EXIT: +
+ void write_data_for_png( png_structp png_ptr, png_bytep data, png_size_t length )
+ {
+- FileControlWriteFile( *( (int *)png_ptr->io_ptr ), (CNMSLPSTR)data, length );
++ FileControlWriteFile( png_get_io_ptr(png_ptr) , (CNMSLPSTR)data, length );
+
+ return;
+ }
diff --git a/media-gfx/scangearmp/files/index.html b/media-gfx/scangearmp/files/index.html new file mode 100644 index 00000000..803dc7f7 --- /dev/null +++ b/media-gfx/scangearmp/files/index.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=D;O=A b/media-gfx/scangearmp/files/index.html?C=D;O=A new file mode 100644 index 00000000..b02696dc --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=D;O=A @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=D;O=D b/media-gfx/scangearmp/files/index.html?C=D;O=D new file mode 100644 index 00000000..0ca8dad5 --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=D;O=D @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=M;O=A b/media-gfx/scangearmp/files/index.html?C=M;O=A new file mode 100644 index 00000000..b7941ffb --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=M;O=A @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=M;O=D b/media-gfx/scangearmp/files/index.html?C=M;O=D new file mode 100644 index 00000000..0ca8dad5 --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=M;O=D @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=N;O=A b/media-gfx/scangearmp/files/index.html?C=N;O=A new file mode 100644 index 00000000..803dc7f7 --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=N;O=A @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=N;O=D b/media-gfx/scangearmp/files/index.html?C=N;O=D new file mode 100644 index 00000000..0ca8dad5 --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=N;O=D @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=S;O=A b/media-gfx/scangearmp/files/index.html?C=S;O=A new file mode 100644 index 00000000..efbed6cd --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=S;O=A @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/files/index.html?C=S;O=D b/media-gfx/scangearmp/files/index.html?C=S;O=D new file mode 100644 index 00000000..0ca8dad5 --- /dev/null +++ b/media-gfx/scangearmp/files/index.html?C=S;O=D @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp/files</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp/files</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/scangearmp/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="fixcompile.patch">fixcompile.patch</a> 19-Dec-2014 20:13 436 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html b/media-gfx/scangearmp/index.html new file mode 100644 index 00000000..ab517e24 --- /dev/null +++ b/media-gfx/scangearmp/index.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=D;O=A b/media-gfx/scangearmp/index.html?C=D;O=A new file mode 100644 index 00000000..19b44b10 --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=D;O=A @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=D">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=D;O=D b/media-gfx/scangearmp/index.html?C=D;O=D new file mode 100644 index 00000000..90f3f656 --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=D;O=D @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=M;O=A b/media-gfx/scangearmp/index.html?C=M;O=A new file mode 100644 index 00000000..a0c07b80 --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=M;O=A @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=D">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=M;O=D b/media-gfx/scangearmp/index.html?C=M;O=D new file mode 100644 index 00000000..90f3f656 --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=M;O=D @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=N;O=A b/media-gfx/scangearmp/index.html?C=N;O=A new file mode 100644 index 00000000..ab517e24 --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=N;O=A @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=D">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=N;O=D b/media-gfx/scangearmp/index.html?C=N;O=D new file mode 100644 index 00000000..90f3f656 --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=N;O=D @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=S;O=A b/media-gfx/scangearmp/index.html?C=S;O=A new file mode 100644 index 00000000..af37059d --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=S;O=A @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=D">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/index.html?C=S;O=D b/media-gfx/scangearmp/index.html?C=S;O=D new file mode 100644 index 00000000..1cd20fc6 --- /dev/null +++ b/media-gfx/scangearmp/index.html?C=S;O=D @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<html> + <head> + <title>Index of /gentoo-zh/media-gfx/scangearmp</title> + </head> + <body> +<h1>Index of /gentoo-zh/media-gfx/scangearmp</h1> +<pre><img src="/icons/blank.gif" alt="Icon "> <a href="?C=N;O=A">Name</a> <a href="?C=M;O=A">Last modified</a> <a href="?C=S;O=A">Size</a> <a href="?C=D;O=A">Description</a><hr><img src="/icons/back.gif" alt="[DIR]"> <a href="/gentoo-zh/media-gfx/">Parent Directory</a> - +<img src="/icons/text.gif" alt="[TXT]"> <a href="scangearmp-1.60.ebuild">scangearmp-1.60.ebuild</a> 19-Dec-2014 20:13 5.6K +<img src="/icons/unknown.gif" alt="[ ]"> <a href="Manifest">Manifest</a> 19-Dec-2014 20:13 117 +<img src="/icons/folder.gif" alt="[DIR]"> <a href="files/">files/</a> 19-Dec-2014 20:13 - +<hr></pre> +<address>Apache Server at data.gpo.zugaina.org Port 80</address> +</body></html> diff --git a/media-gfx/scangearmp/scangearmp-1.60.ebuild b/media-gfx/scangearmp/scangearmp-1.60.ebuild new file mode 100644 index 00000000..9bed4a74 --- /dev/null +++ b/media-gfx/scangearmp/scangearmp-1.60.ebuild @@ -0,0 +1,205 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +# Changelog since last bugzilla upload +# +# initial version +# updated to use cnijfilter-common-2.80 2008-01-12 by Victor Mataré +# +# 2010-03-19 GuS Version 3.20-r1 +# Replaced dependency of non-existing dev-libs/libxml with +# dependency of >=dev-libs/libxml2-2.7.3-r2. +# +# 2010-03-20 GuS Version 3.20-r2 +# Replaced dependency of non-existing virtual/ghostscript with +# dependency of app-text/ghostscript-gpl. +EAPI="4" + +inherit eutils flag-o-matic autotools multilib + +DESCRIPTION="Canon InkJet Scanner Driver and ScanGear MP for Linux (Pixus/Pixma-Series)." +HOMEPAGE="http://support-au.canon.com.au/contents/AU/EN/0100303302.html" +RESTRICT="nomirror confcache" + +SRC_URI="http://gdlp01.c-wss.com/gds/3/0100003033/01/scangearmp-source-1.60-1.tar.gz" +LICENSE="UNKNOWN" # GPL-2 source and proprietary binaries + +SLOT="2" +KEYWORDS="~x86 ~amd64" +IUSE="amd64 + usb + mp250 + mp280 + mp495 + mg5100 + mg5200 + mg6100 + mg8100" +DEPEND=">=dev-libs/libusb-0.1.12-r5 + >=media-libs/libpng-1.2.44 + >=media-gfx/gimp-2.6.8 + >=x11-libs/gtk+-2.20.1-r1 + >=media-gfx/sane-backends-1.0.19-r2" + +# Arrays of supported Printers, there IDs and compatible models +_pruse=("mp250" "mp280" "mp495" "mg5100" "mg5200" "mg6100" "mg8100") +_prname=(${_pruse[@]}) +_prid=("356" "370" "369" "373" "374" "376" "377") +_prcomp=("mp250series" "mp280series" "mp495series" "mg5100series" "mg5200series" "mg6100series" "mg8100series") +_max=$((${#_pruse[@]}-1)) # used for iterating through these arrays + +### +# Standard Ebuild-functions +### + +src_unpack() { + unpack ${A} + mv ${PN}-source-${PV}-1 ${P} || die # Correcting directory-structure +} + +pkg_setup() { + if [ -z "$LINGUAS" ]; then # -z tests to see if the argument is empty + ewarn "You didn't specify 'LINGUAS' in your make.conf. Assuming" + ewarn "English localisation, i.e. 'LINGUAS=\"en\"'." + LINGUAS="en" + fi + + _prefix="/usr/local" + _bindir="${_prefix}/bin" + _libdir="/usr/$(get_libdir)" # either lib or lib32 + _gimpdir="${_libdir}/gimp/2.0/plug-ins" + _udevdir="/etc/udev/rules.d" + + einfo "" + einfo " USE-flags\t(description / probably compatible printers)" + einfo "" + einfo " amd64\t(basic support for this architecture)" + einfo " usb\t(connected using usb)" + _autochoose="true" + for i in `seq 0 ${_max}`; do + einfo " ${_pruse[$i]}\t${_prcomp[$i]}" + if (use ${_pruse[$i]}); then + _autochoose="false" + fi + done + einfo "" + if (${_autochoose}); then + ewarn "You didn't specify any driver model (set it's USE-flag)." + einfo "" + einfo "As example:\tbasic MP140 support without maintenance tools" + einfo "\t\t -> USE=\"mp140\"" + einfo "" + einfo "Press Ctrl+C to abort" + echo + ebeep + + n=15 + while [[ $n -gt 0 ]]; do + echo -en " Waiting $n seconds...\r" + sleep 1 + (( n-- )) + done + fi +} + +src_prepare(){ + cd scangearmp + + sed -i 's/Z_BEST_SPEED/\ 1\ /g' src/scanfile.c + + + ( cd src && epatch "${FILESDIR}/fixcompile.patch" ) + + libtoolize -cfi + eautoreconf +} + +src_configure(){ + cd scangearmp || die + + if use x86; then + LDFLAGS="-L$(pwd)/../com/libs_bin32" + elif use amd64 ; then + LDFLAGS="-L$(pwd)/../com/libs_bin64" + else + die "not supported arch" + fi + + econf LDFLAGS="${LDFLAGS}" +} + +src_compile() { + + cd scangearmp || die + + make || die "Couldn't make scangearmp" + + cd .. +} + +src_install() { + mkdir -p ${D}${_bindir} || die + mkdir -p ${D}${_libdir}/bjlib || die + if use usb; then + mkdir -p ${D}${_udevdir} || die + fi + + cd scangearmp || die + make DESTDIR=${D} install || die "Couldn't make install scangearmp" + + cd .. + + for i in $(seq 0 ${_max}); do + if use ${_pruse[$i]} || ${_autochoose}; then + _pr=${_prname[$i]} _prid=${_prid[$i]} + fi + done + + # rm .1a and .a + rm -f {$D}${_libdir}/*.1a {$D}${_libdir}/*.a || die + + # make symbolic link for gimp-plug-in + if [ -d "${_gimpdir}" ]; then + mkdir -p ${D}${_gimpdir} || die + dosym ${_bindir}/scangearmp ${_gimpdir}/scangearmp || die + fi + + if use x86; then + cp -a ${_prid}/libs_bin32/* ${D}${_libdir} || die + cp -a com/libs_bin32/* ${D}${_libdir} || die + else # amd54 + cp -a ${_prid}/libs_bin64/* ${D}${_libdir} || die + cp -a com/libs_bin64/* ${D}${_libdir} || die + fi + cp -a ${_prid}/*.DAT ${D}${_libdir}/bjlib || die + cp -a ${_prid}/*.tbl ${D}${_libdir}/bjlib || die + cp com/ini/canon_mfp_net.ini ${D}${_libdir}/bjlib || die + chmod 644 ${D}${_libdir}/bjlib/* || die + chmod 666 ${D}${_libdir}/bjlib/canon_mfp_net.ini || die + + # usb + if use usb; then + cp -a scangearmp/etc/80-canon_mfp.rules ${D}${_udevdir} || die + chmod 644 ${D}${_udevdir}/80-canon_mfp.rules || die + fi +} + +pkg_postinst() { + if use usb; then + if [ -x /sbin/udevadm ]; then + einfo "" + einfo "Reloading usb rules..." + /sbin/udevadm control --reload-rules 2> /dev/null + /sbin/udevadm trigger --action=add --subsystem-match=usb 2>/dev/null + else + einfo "" + einfo "Please, reload usb rules manually." + fi + fi + + einfo "" + einfo "If you experience any problems, please visit:" + einfo " http://forums.gentoo.org/viewtopic-p-3217721.html" + einfo "" +} |