Merge pull request #710 from ayhanyalcinsoy/master

printer tools
This commit is contained in:
yusuf
2015-10-28 23:39:52 +02:00
42 changed files with 2002 additions and 23 deletions
@@ -65,7 +65,7 @@
<History>
<Update release="5">
<Date>2015-10-11</Date>
<Date>2015-10-28</Date>
<Version>5.15.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
+1 -1
View File
@@ -79,7 +79,7 @@
<History>
<Update release="5">
<Date>2015-10-11</Date>
<Date>2015-10-28</Date>
<Version>5.15.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
+1 -1
View File
@@ -86,7 +86,7 @@
<History>
<Update release="5">
<Date>2015-10-07</Date>
<Date>2015-10-28</Date>
<Version>5.4.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
+1 -1
View File
@@ -86,7 +86,7 @@
<History>
<Update release="5">
<Date>2015-10-07</Date>
<Date>2015-10-28</Date>
<Version>5.4.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
@@ -255,7 +255,7 @@
<History>
<Update release="5">
<Date>2015-10-07</Date>
<Date>2015-10-28</Date>
<Version>5.4.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
+1 -1
View File
@@ -121,7 +121,7 @@
<History>
<Update release="3">
<Date>2015-10-16</Date>
<Date>2015-10-28</Date>
<Version>5.5.1</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
def setup():
shelltools.export("CC", "")
autotools.configure("--enable-nls")
def build():
autotools.make()
def install():
autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "docs/FAQ.html", "NEWS", "README*", "THANKS", "TODO")
@@ -0,0 +1,11 @@
--- src/main.c.org 2005-06-01 01:23:29.000000000 +0200
+++ src/main.c 2005-06-01 01:26:38.000000000 +0200
@@ -2001,7 +2001,7 @@
int i;
c = getopt_long (argc, argv,
- "#:123456789a:A:b:BcC::d:D:e::E::f:F:gGhH::i:I:jJ:kKlL:mM:n:N:o:Op:P:qrRs:S:t:T:u::U:vVW:X:zZ",
+ "#:123456789a:A:b:BcC::d:D:e::E::f:F:gGhH::i:I:jJ:kKlL:mM:n:N:o:Op:P:qrRs:S:t:T:u::U:vVw:W:X:zZ",
long_options, &option_index);
if (c == -1)
@@ -0,0 +1,177 @@
diff -u -p -Nr --exclude CVS orig/enscript-1.6.3/src/gsint.h enscript-1.6.3.CAN-2004-1184/src/gsint.h
--- orig/enscript-1.6.3/src/gsint.h 2000-07-11 17:28:06.000000000 +0200
+++ enscript-1.6.3.CAN-2004-1184/src/gsint.h 2005-01-04 20:45:24.000000000 +0100
@@ -701,4 +701,9 @@ FILE *printer_open ___P ((char *cmd, cha
*/
void printer_close ___P ((void *context));
+/*
+ * Escape filenames for shell usage
+ */
+char *shell_escape ___P ((const char *fn));
+
#endif /* not GSINT_H */
diff -u -p -Nr --exclude CVS orig/enscript-1.6.3/src/main.c enscript-1.6.3.CAN-2004-1184/src/main.c
--- orig/enscript-1.6.3/src/main.c 2005-01-04 20:52:31.000000000 +0100
+++ enscript-1.6.3.CAN-2004-1184/src/main.c 2005-01-05 10:57:44.000000000 +0100
@@ -1555,9 +1555,13 @@ name width\theight\tllx\tlly
buffer_append (&cmd, intbuf);
buffer_append (&cmd, " ");
- buffer_append (&cmd, "-Ddocument_title=\"");
- buffer_append (&cmd, title);
- buffer_append (&cmd, "\" ");
+ buffer_append (&cmd, "-Ddocument_title=\'");
+ if ((cp = shell_escape (title)) != NULL)
+ {
+ buffer_append (&cmd, cp);
+ free (cp);
+ }
+ buffer_append (&cmd, "\' ");
buffer_append (&cmd, "-Dtoc=");
buffer_append (&cmd, toc ? "1" : "0");
@@ -1574,8 +1578,14 @@ name width\theight\tllx\tlly
/* Append input files. */
for (i = optind; i < argc; i++)
{
- buffer_append (&cmd, " ");
- buffer_append (&cmd, argv[i]);
+ char *cp;
+ if ((cp = shell_escape (argv[i])) != NULL)
+ {
+ buffer_append (&cmd, " \'");
+ buffer_append (&cmd, cp);
+ buffer_append (&cmd, "\'");
+ free (cp);
+ }
}
/* And do the job. */
@@ -1636,7 +1645,7 @@ name width\theight\tllx\tlly
buffer_ptr (opts), buffer_len (opts));
}
- buffer_append (&buffer, " \"%s\"");
+ buffer_append (&buffer, " \'%s\'");
input_filter = buffer_copy (&buffer);
input_filter_stdin = "-";
diff -u -p -Nr --exclude CVS orig/enscript-1.6.3/src/util.c enscript-1.6.3.CAN-2004-1184/src/util.c
--- orig/enscript-1.6.3/src/util.c 1999-09-17 17:26:51.000000000 +0200
+++ enscript-1.6.3.CAN-2004-1184/src/util.c 2005-01-05 10:43:23.000000000 +0100
@@ -1239,6 +1239,8 @@ escape_string (char *string)
/* Create result. */
cp = xmalloc (len + 1);
+ if (cp == NULL)
+ return NULL;
for (i = 0, j = 0; string[i]; i++)
switch (string[i])
{
@@ -1879,6 +1881,7 @@ is_open (InputStream *is, FILE *fp, char
char *cmd = NULL;
int cmdlen;
int i, pos;
+ char *cp;
is->is_pipe = 1;
@@ -1902,12 +1905,16 @@ is_open (InputStream *is, FILE *fp, char
{
case 's':
/* Expand cmd-buffer. */
- cmdlen += strlen (fname);
- cmd = xrealloc (cmd, cmdlen);
+ if ((cp = shell_escape (fname)) != NULL)
+ {
+ cmdlen += strlen (cp);
+ cmd = xrealloc (cmd, cmdlen);
- /* Paste filename. */
- strcpy (cmd + pos, fname);
- pos += strlen (fname);
+ /* Paste filename. */
+ strcpy (cmd + pos, cp);
+ pos += strlen (cp);
+ free (cp);
+ }
i++;
break;
@@ -2116,3 +2123,36 @@ buffer_len (Buffer *buffer)
{
return buffer->len;
}
+
+/*
+ * Escapes the name of a file so that the shell groks it in 'single'
+ * quotation marks. The resulting pointer has to be free()ed when not
+ * longer used.
+*/
+char *
+shell_escape(const char *fn)
+{
+ size_t len = 0;
+ const char *inp;
+ char *retval, *outp;
+
+ for(inp = fn; *inp; ++inp)
+ switch(*inp)
+ {
+ case '\'': len += 4; break;
+ default: len += 1; break;
+ }
+
+ outp = retval = malloc(len + 1);
+ if(!outp)
+ return NULL; /* perhaps one should do better error handling here */
+ for(inp = fn; *inp; ++inp)
+ switch(*inp)
+ {
+ case '\'': *outp++ = '\''; *outp++ = '\\'; *outp++ = '\'', *outp++ = '\''; break;
+ default: *outp++ = *inp; break;
+ }
+ *outp = 0;
+
+ return retval;
+}
diff -u -p -Nr --exclude CVS enscript-1.6.3.CAN-2004-1184/src/psgen.c enscript-1.6.3.CAN-2004-1185/src/psgen.c
--- enscript-1.6.3.CAN-2004-1184/src/psgen.c 2005-01-04 20:59:56.000000000 +0100
+++ enscript-1.6.3.CAN-2004-1185/src/psgen.c 2005-01-05 15:22:40.000000000 +0100
@@ -2385,9 +2385,10 @@ recognize_eps_file (Token *token)
MESSAGE (2, (stderr, "^@epsf=\"%s\"\n", token->u.epsf.filename));
i = strlen (token->u.epsf.filename);
+ /*
if (i > 0 && token->u.epsf.filename[i - 1] == '|')
{
- /* Read EPS data from pipe. */
+ / * Read EPS data from pipe. * /
token->u.epsf.pipe = 1;
token->u.epsf.filename[i - 1] = '\0';
token->u.epsf.fp = popen (token->u.epsf.filename, "r");
@@ -2400,6 +2401,7 @@ recognize_eps_file (Token *token)
}
}
else
+ */
{
char *filename;
diff -u -p -Nr --exclude CVS enscript-1.6.3.CAN-2004-1185/src/psgen.c enscript-1.6.3.CAN-2004-1186/src/psgen.c
--- enscript-1.6.3.CAN-2004-1185/src/psgen.c 2005-01-05 15:22:40.000000000 +0100
+++ enscript-1.6.3.CAN-2004-1186/src/psgen.c 2005-01-05 15:22:44.000000000 +0100
@@ -2034,8 +2034,9 @@ dump_ps_page_header (char *fname, int em
else
{
ftail++;
- strncpy (buf, fname, ftail - fname);
- buf[ftail - fname] = '\0';
+ i = ftail - fname >= sizeof (buf)-1 ? sizeof (buf)-1 : ftail - fname;
+ strncpy (buf, fname, i);
+ buf[i] = '\0';
}
if (nup > 1)
@@ -0,0 +1,91 @@
--- src/psgen.c
+++ src/psgen.c 2008-10-29 10:43:08.512598143 +0100
@@ -24,6 +24,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <limits.h>
#include "gsint.h"
/*
@@ -124,7 +125,7 @@ struct gs_token_st
double xscale;
double yscale;
int llx, lly, urx, ury; /* Bounding box. */
- char filename[512];
+ char filename[PATH_MAX];
char *skipbuf;
unsigned int skipbuf_len;
unsigned int skipbuf_pos;
@@ -135,11 +136,11 @@ struct gs_token_st
Color bgcolor;
struct
{
- char name[512];
+ char name[PATH_MAX];
FontPoint size;
InputEncoding encoding;
} font;
- char filename[512];
+ char filename[PATH_MAX];
} u;
};
@@ -248,7 +249,7 @@ static int do_print = 1;
static int user_fontp = 0;
/* The user ^@font{}-defined font. */
-static char user_font_name[256];
+static char user_font_name[PATH_MAX];
static FontPoint user_font_pt;
static InputEncoding user_font_encoding;
@@ -978,7 +979,8 @@ large for page\n"),
FATAL ((stderr,
_("user font encoding can be only the system's default or `ps'")));
- strcpy (user_font_name, token.u.font.name);
+ memset (user_font_name, 0, sizeof(user_font_name));
+ strncpy (user_font_name, token.u.font.name, sizeof(user_font_name) - 1);
user_font_pt.w = token.u.font.size.w;
user_font_pt.h = token.u.font.size.h;
user_font_encoding = token.u.font.encoding;
@@ -1444,7 +1446,7 @@ read_special_escape (InputStream *is, To
buf[i] = ch;
if (i + 1 >= sizeof (buf))
FATAL ((stderr, _("too long argument for %s escape:\n%.*s"),
- escapes[i].name, i, buf));
+ escapes[e].name, i, buf));
}
buf[i] = '\0';
@@ -1452,7 +1454,8 @@ read_special_escape (InputStream *is, To
switch (escapes[e].escape)
{
case ESC_FONT:
- strcpy (token->u.font.name, buf);
+ memset (token->u.font.name, 0, sizeof(token->u.font.name));
+ strncpy (token->u.font.name, buf, sizeof(token->u.font.name) - 1);
/* Check for the default font. */
if (strcmp (token->u.font.name, "default") == 0)
@@ -1465,7 +1468,8 @@ read_special_escape (InputStream *is, To
FATAL ((stderr, _("malformed font spec for ^@font escape: %s"),
token->u.font.name));
- strcpy (token->u.font.name, cp);
+ memset (token->u.font.name, 0, sizeof(token->u.font.name));
+ strncpy (token->u.font.name, cp, sizeof(token->u.font.name) - 1);
xfree (cp);
}
token->type = tFONT;
@@ -1544,7 +1548,8 @@ read_special_escape (InputStream *is, To
break;
case ESC_SETFILENAME:
- strcpy (token->u.filename, buf);
+ memset (token->u.filename, 0, sizeof(token->u.font.name));
+ strncpy (token->u.filename, buf, sizeof(token->u.filename) - 1);
token->type = tSETFILENAME;
break;
@@ -0,0 +1,95 @@
--- enscript-1.6.4/afm/Makefile.am.config 2003-03-05 07:26:16.000000000 +0000
+++ enscript-1.6.4/afm/Makefile.am 2005-12-23 09:56:52.000000000 +0000
@@ -36,11 +36,11 @@
EXTRA_DIST = font.map $(default_afm) $(public_fonts)
install-data-local:
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/afm
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript/afm
for f in $(EXTRA_DIST); do \
- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/afm/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)/$(datadir)/enscript/afm/$$f; \
done
uninstall-local:
- rm -rf $(datadir)/enscript/afm
+ rm -rf $(DESTDIR)/$(datadir)/enscript/afm
--- enscript-1.6.4/afm/Makefile.in.config 2003-03-05 07:40:06.000000000 +0000
+++ enscript-1.6.4/afm/Makefile.in 2005-12-23 09:56:52.000000000 +0000
@@ -319,14 +319,14 @@
install-data-local:
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/afm
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript/afm
for f in $(EXTRA_DIST); do \
- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/afm/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)/$(datadir)/enscript/afm/$$f; \
done
uninstall-local:
- rm -rf $(datadir)/enscript/afm
+ rm -rf $(DESTDIR)/$(datadir)/enscript/afm
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
--- enscript-1.6.4/lib/Makefile.in.config 2003-03-05 07:40:07.000000000 +0000
+++ enscript-1.6.4/lib/Makefile.in 2005-12-23 09:56:52.000000000 +0000
@@ -345,15 +345,16 @@
all-local: enscript.cfg
install-data-local: enscript.cfg
- $(top_srcdir)/mkinstalldirs $(sysconfdir)
- if test -r $(sysconfdir)/enscript.cfg; then \
- cp $(sysconfdir)/enscript.cfg $(sysconfdir)/enscript.cfg.old; \
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(sysconfdir)
+ if test -r $(DESTDIR)$(sysconfdir)/enscript.cfg; then \
+ cp $(DESTDIR)$(sysconfdir)/enscript.cfg \
+ $(DESTDIR)$(sysconfdir)/enscript.cfg.old; \
else :; \
fi
- $(INSTALL_DATA) enscript.cfg $(sysconfdir)/enscript.cfg
+ $(INSTALL_DATA) enscript.cfg $(DESTDIR)$(sysconfdir)/enscript.cfg
uninstall-local:
- rm -f $(sysconfdir)/enscript.cfg
+ rm -f $(DESTDIR)$(sysconfdir)/enscript.cfg
enscript.cfg: $(srcdir)/enscript.cfg.in Makefile
sed 's%@DATADIR@%$(datadir)%g; s%@media@%@MEDIA@%g; s%@BINDIR@%$(bindir)%g; s%@spooler@%@SPOOLER@%g; s%@pslevel@%@PSLEVEL@%g' \
--- enscript-1.6.4/states/hl/Makefile.am.config 2005-12-23 09:59:55.000000000 +0000
+++ enscript-1.6.4/states/hl/Makefile.am 2005-12-23 10:00:09.000000000 +0000
@@ -45,10 +45,10 @@
EXTRA_DIST = $(states)
install-data-local:
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/hl
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript/hl
for f in $(states); do \
- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/hl/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)/$(datadir)/enscript/hl/$$f; \
done
uninstall-local:
--- enscript-1.6.4/states/hl/Makefile.in.config 2005-12-23 10:00:13.000000000 +0000
+++ enscript-1.6.4/states/hl/Makefile.in 2005-12-23 10:00:34.000000000 +0000
@@ -330,10 +330,10 @@
install-data-local:
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript
- $(top_srcdir)/mkinstalldirs $(datadir)/enscript/hl
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript
+ $(top_srcdir)/mkinstalldirs $(DESTDIR)/$(datadir)/enscript/hl
for f in $(states); do \
- $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/enscript/hl/$$f; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)/$(datadir)/enscript/hl/$$f; \
done
uninstall-local:
@@ -0,0 +1,26 @@
--- src/main.c 2005/11/04 11:02:27 1.1
+++ src/main.c 2005/11/04 11:16:28
@@ -1695,7 +1695,7 @@ name width\theight\tllx\tlly
}
/* Table of Contents. */
- if (toc)
+ if (ofp != NULL && toc)
{
/* This is really cool... */
@@ -1714,9 +1714,11 @@ name width\theight\tllx\tlly
process_file (_("Table of Contents"), &is, 1);
is_close (&is);
}
-
- /* Clean up toc file. */
- fclose (toc_fp);
+ else
+ {
+ /* Clean up toc file. */
+ fclose (toc_fp);
+ }
}
/* Give trailer a chance to dump itself. */
@@ -0,0 +1,19 @@
--- states/hl/enscript.st.orig 2006-12-17 02:10:37.000000000 +0100
+++ states/hl/enscript.st 2006-12-17 02:10:13.000000000 +0100
@@ -489,6 +489,7 @@
/\.idl$/ idl;
/\.(hs|lhs|gs|lgs)$/ haskell;
/\.(pm|pl)$/ perl;
+ /\.(rb|rbw)$/ ruby;
/\.(eps|EPS|ps|PS)$/ postscript;
/\.py$/ python;
/\.pyx$/ pyrex;
@@ -531,6 +532,8 @@
/-\*- [Ii][Dd][Ll] -\*-/ idl;
/-\*- [Pp][Ee][Rr][Ll] -\*-/ perl;
/^#![ \t]*\/.*\/perl/ perl;
+ /-\*- [Rr][Uu][Bb][Yy] -\*-/ ruby;
+ /^#![ \t]*\/.*\/ruby/ ruby;
/^From:/ mail;
/^#![ \t]*(\/usr)?\/bin\/[ngmt]?awk/ awk;
/^#![ \t]*(\/usr)?\/bin\/sh/ sh;
+212
View File
@@ -0,0 +1,212 @@
/**
* Name: ruby
* Description: Ruby programming language.
* Author: Mike Wilson <m.v.wilson@home.com>
*/
state ruby_comment
{
/\*\\\// {
language_print ($0);
return;
}
LANGUAGE_SPECIALS {
language_print ($0);
}
}
state ruby_dquot_string
{
/\\\\./ {
language_print ($0);
}
/\"/ {
language_print ($0);
return;
}
LANGUAGE_SPECIALS {
language_print ($0);
}
}
state ruby_quot_string
{
/\\\\./ {
language_print ($0);
}
/[\']/ {
language_print ($0);
return;
}
LANGUAGE_SPECIALS {
language_print ($0);
}
}
state ruby_bquot_string
{
/\\\\./ {
language_print ($0);
}
/`/ {
language_print ($0);
return;
}
LANGUAGE_SPECIALS {
language_print ($0);
}
}
state ruby
{
BEGIN {
header ();
}
END {
trailer ();
}
/* Comments. */
/#[^{].*$/ {
comment_face (true);
language_print ($0);
comment_face (false);
}
/* Ignore escaped quote marks */
/\\\"/ {
language_print ($0);
}
/\\\'/ {
language_print ($0);
}
/\\\`/ {
language_print ($0);
}
/* In cgi files, JavaScript might be imbedded, so we need to look out
* for the JavaScript comments, because they might contain something
* we don't like, like a contraction (don't, won't, etc.)
* We won't put them in comment face, because they are not ruby
* comments.
*/
/\/\// {
language_print ($0);
call (eat_one_line);
}
/* String constants. */
/\"/ {
string_face (true);
language_print ($0);
call (ruby_dquot_string);
string_face (false);
}
/[\']/ {
string_face (true);
language_print ($0);
call (ruby_quot_string);
string_face (false);
}
/* Backquoted command string */
/`/ {
string_face (true);
language_print ($0);
call (ruby_bquot_string);
string_face (false);
}
/* Variables globals and instance */
/[$@]\w+/ {
variable_name_face (true);
language_print ($0);
variable_name_face (false);
}
/* Variables class variable */
/@@\w+/ {
variable_name_face (true);
language_print ($0);
variable_name_face (false);
}
/([ \t]*)(def)([ \t]+)([^(]*)/ {
/* indentation */
language_print ($1);
/* def */
keyword_face (true);
language_print ($2);
keyword_face (false);
/* middle */
language_print ($3);
/* Function name. */
function_name_face (true);
language_print ($4);
function_name_face (false);
}
/\$[!@&`'+~=\/\\,;.<>_*$?:"]/ {
variable_name_face (true);
language_print ($0);
variable_name_face (false);
}
/* Highlighting
--Type face
private protected public
--Builtin face (I consider these to be somewhat special)
alias alias_method attr attr_accessor attr_reader attr_writer
module_alias module_function self super
--Reference face
require include
--Keyword face
and begin break case class def defined? do else elsif end
ensure eval extend false for if in method module next nil not
or redo rescue retry return then true undef unless until when
while yield
*/
/\\b(private|protected|public)\\b/ {
type_face (true);
language_print ($0);
type_face (false);
}
/\\b(alias|alias_method|attr|attr_accessor|attr_reader|attr_writer\\
|module_alias|module_function|self|super)\\b/ {
builtin_face (true);
language_print ($0);
builtin_face (false);
}
/\\b(include|require)\\b/ {
reference_face (true);
language_print ($0);
reference_face (false);
}
/\\b(and|begin|break|case|class|def|defined?|do|else|elsif|end|ensure|eval\\
|extend|false|for|if|in|method|module|next|nil|not|or|raise|redo|rescue|retry\\
|return|then|true|undef|unless|until|when|while|yield)\\b/ {
keyword_face (true);
language_print ($0);
keyword_face (false);
}
LANGUAGE_SPECIALS {
language_print ($0);
}
}
/*
Local variables:
mode: c
End:
*/
+58
View File
@@ -0,0 +1,58 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>enscript</Name>
<Homepage>http://www.gnu.org/software/enscript/enscript.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Powerful text-to-postscript converter</Summary>
<Description>enscript is an application that you can use to convert your text files to postscript files with enhanced formatting capabilities like colorizing, page layout management etc.</Description>
<Archive type="targz" sha1sum="9dd7128a508d4c9671659b9520028d12add50cfa">http://www.iki.fi/mtr/genscript/enscript-1.6.4.tar.gz</Archive>
<Patches>
<Patch level="1">enscript-1.6.3-security.patch</Patch>
<Patch>enscript-1.6.3-language.patch</Patch>
<Patch>enscript-catmur.patch</Patch>
<Patch>ruby.patch</Patch>
<Patch>enscript-1.6.4-CVE-2008-3863-CVE-2008-4306.patch</Patch>
<Patch level="1">enscript-1.6.4-config.patch</Patch>
</Patches>
</Source>
<Package>
<Name>enscript</Name>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/enscript</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
<AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/enscript/hl/ruby.st">ruby.st</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="2">
<Date>2014-01-23</Date>
<Version>1.6.4</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-13</Date>
<Version>1.6.4</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>enscript</Name>
<Summary xml:lang="tr">Metin dosyalarından postscript belge oluşturma aracı</Summary>
<Description xml:lang="tr">Metin dosyalarını postscript belgelere dönüştüren, dönüşüm sırasında renklendirme, sayfa düzeni ve boyut değiştirme gibi biçimlendirmeler yapabilen bir araç</Description>
</Source>
</PISI>
@@ -0,0 +1,33 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import perlmodules
def setup():
# The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z], it borks
shelltools.export("LC_ALL", "C")
shelltools.export("LANG", "C")
autotools.autoconf()
autotools.configure()
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
shelltools.cd("lib")
perlmodules.configure()
perlmodules.make()
perlmodules.install()
shelltools.cd("..")
pisitools.dodoc("ChangeLog", "COPYING", "README", "TODO", "USAGE")
@@ -0,0 +1,56 @@
case "$1" in
configure)
# Do the following only if CUPS is running and the needed CUPS tools
# are available
if which lpstat > /dev/null 2>&1 && \
which lpinfo > /dev/null 2>&1 && \
which lpadmin > /dev/null 2>&1 && \
lpstat -r > /dev/null 2>&1; then
# Update the PPD files of all already installed print queues
driverregexp='^foomatic:'
gennicknameregexp=''
[ ! -z "$gennicknameregexp" ] && \
gennicknameregexp="; $gennicknameregexp"
gennicknameregexp='s/\s*\(recommended\)//'"$gennicknameregexp"
tempfiles=
trap 'rm -f $tempfiles; exit 0' 0 1 2 13 15
tmpfile1=`mktemp -t updateppds.XXXXXX`
tempfiles="$tempfiles $tmpfile1"
lpinfo -m | grep -E $driverregexp > $tmpfile1
cd /etc/cups/ppd
for ppd in `ls -1 *.ppd 2>/dev/null`; do
queue=${ppd%.ppd}
nickname=`grep '\*NickName:' $ppd | cut -d '"' -f 2 | perl -p -e 's/\n$//' | perl -p -e "$gennicknameregexp" | perl -p -e 's/(\W)/\\\\$1/g'`
lang=`grep '\*LanguageVersion:' $ppd | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'`
ppdfound="0"
englishppduri=""
tmpfile2=`mktemp -t updateppds.XXXXXX`
tempfiles="$tempfiles $tmpfile2"
cat $tmpfile1 | perl -p -e "$gennicknameregexp" | grep -E '^\S+\s+.*'"$nickname"'$' | cut -d ' ' -f 1 > $tmpfile2
while read newppduri; do
[ "$ppdfound" = "0" ] && lpadmin -p $queue -m $newppduri
newlang=`grep '\*LanguageVersion:' $ppd | cut -d ' ' -f 2 | perl -e 'print lc(<>)' | perl -p -e 's/[\r\n]//gs'`
[ "$newlang" = "$lang" ] && ppdfound="1"
[ "$newlang" = "english" ] && englishppduri="$newppduri"
done < $tmpfile2
[ "$ppdfound" = "0" ] && [ ! -z "$englishppduri" ] && lpadmin -p $queue -m $englishppduri && ppdfound="1"
[ "$ppdfound" = "1" ] && echo PPD for printer $queue updated >&2
done
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
@@ -0,0 +1,13 @@
diff --git a/Makefile.in b/Makefile.in
index 3014185..81e090d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -42,7 +42,7 @@ LOCAL_LIBDIR=@LOCAL_LIBDIR@
FOOMATIC_RIP=@FOOMATIC_RIP@
# foomatic-rip path for a "make inplace" installation
-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@
+LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@
# Locations for installing the components of this package
BINDIR=$(bindir)
@@ -0,0 +1,15 @@
--- foomatic-db-engine-4.0.2/Makefile.in.orig 2009-07-23 11:45:28.487999828 +0200
+++ foomatic-db-engine-4.0.2/Makefile.in 2009-07-23 11:45:53.939525006 +0200
@@ -231,10 +231,10 @@
( cd lib && $(PERL) Makefile.PL verbose INSTALLDIRS=$(PERL_INSTALLDIRS) )
foomatic-combo-xml: foomatic-combo-xml.c
- $(CC) $(CFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-combo-xml foomatic-combo-xml.c
foomatic-perl-data: foomatic-perl-data.c
- $(CC) $(CFLAGS) $(XML_CFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_LIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o foomatic-perl-data foomatic-perl-data.c $(XML_CFLAGS) $(XML_LIBS)
man: lib/Foomatic/Defaults.pm
chmod a+rx ./makeMan
@@ -0,0 +1,30 @@
--- configure.ac.OSmanOS 2011-07-25 12:51:20.000000000 +0300
+++ configure.ac 2012-11-20 13:21:36.921307899 +0200
@@ -163,27 +163,6 @@
fi
-AC_MSG_CHECKING(how to redirect Ghostscript output to fd 3)
-if test "$DEVFD3" = "" ; then
- v=`( if test -d /dev/fd ; then echo 3 >/dev/fd/3; fi) 3>&1 1>&2`
- if test "$v" != "" ; then
- DEVFD3=/dev/fd/3
- DEVFD0=/dev/fd/0
- else
- DEVFD3="|$CAT >&3"
- DEVFD0=-
- fi
- if test "$GS" != "GHOSTSCRIPT_NOT_FOUND" -a "$GSCHECK" != "no" ; then
- rm -f gs_out
- gs -q -dBATCH -dNOPAUSE -dSAFER -dPARANOIDSAFER -sDEVICE=laserjet "-sOutputFile=$DEVFD3" ${srcdir}/gsPrint 3>gs_out
- if test "!" -s gs_out ; then
- AC_MSG_ERROR("ERROR - gs cannot handle -sOutputFile=$OUT" )
- fi
- fi
-fi
-AC_MSG_RESULT(using $DEVFD3)
-AC_SUBST(DEVFD3)
-AC_SUBST(DEVFD0)
# Check for Perl
AC_PATH_PROGS(PERL,perl,/usr/bin/perl,$BINSEARCHPATH)
@@ -0,0 +1,27 @@
diff -Nur foomatic-db-engine-3.0-20061031-old/Makefile.in foomatic-db-engine-3.0-20061031/Makefile.in
--- foomatic-db-engine-3.0-20061031-old/Makefile.in 2006-11-08 10:33:59.000000000 +0200
+++ foomatic-db-engine-3.0-20061031/Makefile.in 2006-11-08 10:38:44.000000000 +0200
@@ -42,7 +42,7 @@
FOOMATIC_RIP=@FOOMATIC_RIP@
# foomatic-rip path for a "make inplace" installation
-LOCAL_FOOMATIC_RIP=@LOCAL_FOOMATIC_RIP@
+LOCAL_FOOMATIC_RIP=@FOOMATIC_RIP@
# Locations for installing the components of this package
BINDIR=$(bindir)
@@ -186,10 +186,10 @@
install-bin: check-config lib/Makefile
# This is the only way to get the Perl-generated Makefile using
# $(DESTDIR) properly
- ( cd lib && \
- $(MAKE) PREFIX=$(PERLPREFIX) && \
- $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
- )
+# ( cd lib && \
+# $(MAKE) PREFIX=$(PERLPREFIX) && \
+# $(MAKE) PREFIX=$(DESTDIR)$(PERLPREFIX) pure_install \
+# )
${SRC}/mkinstalldirs $(DESTDIR)$(BINDIR)
${SRC}/mkinstalldirs $(DESTDIR)$(SBINDIR)
${SRC}/mkinstalldirs $(DESTDIR)$(ETCDIR)
@@ -0,0 +1,87 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>foomatic-db-engine</Name>
<Homepage>http://www.linuxprinting.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Foomatic printer database engine</Summary>
<Description>foomatic-db-engine is the layer that provides the database engine to Foomatic.</Description>
<Archive sha1sum="c3b747113b6a64b998000774e7c2d03ce48654c1" type="targz">http://www.openprinting.org/download/foomatic/foomatic-db-engine-4.0.12.tar.gz</Archive>
<BuildDependencies>
<Dependency>libxml2-devel</Dependency>
<Dependency>cups-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="0">foomatic-db-engine-4.0.8-fix-sandbox.patch</Patch>
<Patch level="1">4.0.7-perl-module.patch</Patch>
<Patch level="1">4.0.7-respect-ldflag.patch</Patch>
</Patches>
</Source>
<Package>
<Name>foomatic-db-engine</Name>
<RuntimeDependencies>
<Dependency>libxml2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="config">/etc/foomatic</Path>
<Path fileType="data">/usr/share/foomatic/templates</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-10-28</Date>
<Version>4.0.12</Version>
<Comment>v.bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-09-13</Date>
<Version>4.0.11</Version>
<Comment>Rebuild for new perl.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-06-15</Date>
<Version>4.0.11</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-05</Date>
<Version>4.0.8</Version>
<Comment>Depend on cups-filters.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-12-01</Date>
<Version>4.0.8</Version>
<Comment>Rebuild for new perl.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-19</Date>
<Version>4.0.8</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>foomatic-db-engine</Name>
<Summary xml:lang="tr">Foomatic yazıcı veritabanı motoru</Summary>
<Description xml:lang="tr">foomatic-db-engine, Foomatic veritabanı motorunu oluşturan katmandır.</Description>
</Source>
</PISI>
+30
View File
@@ -0,0 +1,30 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
NoStrip = "/"
def setup():
# For gutenprint printers, use gutenprint-ijs-simplified.5.2
#pisitools.dosed("db/source/printer/*.xml", ">gutenprint<", ">gutenprint-ijs-simplified.5.2<")
autotools.configure()
# Cleanup conflicts
#shelltools.cd("db/source")
#shelltools.system("../../cleanup-conflicts")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
# Fix permissions
#for root, dirs, files in os.walk("%s/usr/share/foomatic/db" % get.installDIR()):
# for name in dirs:
# shelltools.chmod(os.path.join(root, name), 0755)
# for name in files:
# shelltools.chmod(os.path.join(root, name), 0644)
@@ -0,0 +1,35 @@
#!/bin/bash
# Running this script cleanups XML's which conflicts with other
# packages like foo2zjs, lexmark X125, etc.
# Remove references to foo2zjs, foo2oak, foo2hp and foo2qpdl (bug #208851).
# Also foo2lava, foo2kyo, foo2xqx (bug #438319).
# Remove Samsung-CLP-300, Samsung-CLP-315 (bug #625505)
find printer -name '*.xml' |grep -E 'Samsung-CLP-300|Samsung-CLP-315'|xargs rm -vf
for x in zjs oak oak-z1 hp qpdl lava kyo xqx hiperc slx
do
find printer -name '*.xml' | xargs grep -l "<driver>foo2${x}"| xargs rm -vf
rm -f driver/foo2${x}.xml opt/foo2${x}-*
done
# Same for m2300w/m2400w
find printer -name '*.xml' |xargs grep -l '<driver>m2[34]00w<'|xargs rm -vf
rm -f driver/m2300w.xml driver/m2400w.xml opt/m2300w-*
# Same for all these.
for x in drv_x125 ml85p pbm2lwxl pbmtozjs bjc800j
do
find printer -name '*.xml' |xargs grep -l "<driver>${x}</driver>"|xargs rm -vf
rm -vf driver/${x}.xml opt/${x}-*
done
# We also have those one in foo2zjs
#source/driver/foo2oak-z1.xml
#source/driver/foo2slx.xml
@@ -0,0 +1,110 @@
diff -up foomatic-db-20120103/db/source/PPD/Brother/BR8840_2_GPL.ppd.device-ids-20120103 foomatic-db-20120103/db/source/PPD/Brother/BR8840_2_GPL.ppd
--- foomatic-db-20120103/db/source/PPD/Brother/BR8840_2_GPL.ppd.device-ids-20120103 2012-01-03 00:40:44.000000000 +0000
+++ foomatic-db-20120103/db/source/PPD/Brother/BR8840_2_GPL.ppd 2012-02-24 09:33:37.047452635 +0000
@@ -32,6 +32,7 @@
*ShortNickName: "Brother MFC-8840D BR-Script3"
*ModelName: "Brother MFC-8840D BR-Script3"
*NickName: "Brother MFC-8840D BR-Script3"
+*1284DeviceID: "MFG:Brother;MDL:MFC-8840D;CMD:HBP,PJL,PCL,PCLXL;"
*%==== Basic Device Capabilities =============
*LanguageLevel: "3"
diff -up foomatic-db-20120103/db/source/PPD/Lexmark/Lexmark_C543.ppd.device-ids-20120103 foomatic-db-20120103/db/source/PPD/Lexmark/Lexmark_C543.ppd
--- foomatic-db-20120103/db/source/PPD/Lexmark/Lexmark_C543.ppd.device-ids-20120103 2012-01-03 00:40:44.000000000 +0000
+++ foomatic-db-20120103/db/source/PPD/Lexmark/Lexmark_C543.ppd 2012-02-24 09:33:37.049452637 +0000
@@ -62,7 +62,7 @@
*LXCountPIN: "4"
*LXlowPINchar: "0"
*LXhiPINchar: "9"
-*1284DeviceID: "MFG: Lexmark;MDL: Lexmark C543"
+*1284DeviceID: "MFG:Lexmark International;MDL:Lexmark C543;"
*FreeVM: "252000000"
*VMOption 256Meg: "252000000"
*VMOption 320Meg: "312000000"
diff -up foomatic-db-20120103/db/source/printer/Brother-MFC-8840D.xml.device-ids-20120103 foomatic-db-20120103/db/source/printer/Brother-MFC-8840D.xml
--- foomatic-db-20120103/db/source/printer/Brother-MFC-8840D.xml.device-ids-20120103 2012-02-24 09:33:36.314452298 +0000
+++ foomatic-db-20120103/db/source/printer/Brother-MFC-8840D.xml 2012-02-24 09:33:37.051452638 +0000
@@ -15,7 +15,7 @@
</lang>
<autodetect>
<general>
- <ieee1284>MFG:Brother;MDL:Brother MFC-8840D;</ieee1284>
+ <ieee1284>MFG:Brother;MDL:MFC-8840D;CMD:HBP,PJL,PCL,PCLXL;</ieee1284>
<manufacturer>Brother</manufacturer>
<model>Brother MFC-8840D</model>
</general>
diff -up foomatic-db-20120103/db/source/printer/HP-DeskJet_720C.xml.device-ids-20120103 foomatic-db-20120103/db/source/printer/HP-DeskJet_720C.xml
--- foomatic-db-20120103/db/source/printer/HP-DeskJet_720C.xml.device-ids-20120103 2012-02-24 09:33:36.401452339 +0000
+++ foomatic-db-20120103/db/source/printer/HP-DeskJet_720C.xml 2012-02-24 09:33:37.087452655 +0000
@@ -20,7 +20,7 @@
<commandset>SCP,VLINK</commandset>
<description>Hewlett-Packard DeskJet 720 Series</description>
<manufacturer>HEWLETT-PACKARD</manufacturer>
- <model>DESKJET 720</model>
+ <model>DESKJET 720C</model>
</parallel>
</autodetect>
<functionality>A</functionality>
diff -up foomatic-db-20120103/db/source/printer/HP-LaserJet_M1522nf_MFP.xml.device-ids-20120103 foomatic-db-20120103/db/source/printer/HP-LaserJet_M1522nf_MFP.xml
--- foomatic-db-20120103/db/source/printer/HP-LaserJet_M1522nf_MFP.xml.device-ids-20120103 2012-02-24 09:33:36.411452343 +0000
+++ foomatic-db-20120103/db/source/printer/HP-LaserJet_M1522nf_MFP.xml 2012-02-24 09:33:37.089452655 +0000
@@ -13,6 +13,13 @@
<postscript level="3" />
<pcl level="6" />
</lang>
+ <autodetect>
+ <usb>
+ <commandset>PJL,PML,PCLXL,POSTSCRIPT,PCL</commandset>
+ <manufacturer>Hewlett-Packard</manufacturer>
+ <model>HP LaserJet MFP M1522nf MFP</model>
+ </usb>
+ </autodetect>
<functionality>D</functionality>
<driver>pxlmono</driver>
<drivers>
diff -up foomatic-db-20120103/db/source/printer/Kyocera-FS-1118MFP.xml.device-ids-20120103 foomatic-db-20120103/db/source/printer/Kyocera-FS-1118MFP.xml
--- foomatic-db-20120103/db/source/printer/Kyocera-FS-1118MFP.xml.device-ids-20120103 2012-02-24 09:34:34.375478948 +0000
+++ foomatic-db-20120103/db/source/printer/Kyocera-FS-1118MFP.xml 2012-02-24 09:41:52.635757050 +0000
@@ -19,10 +19,10 @@
</lang>
<autodetect>
<general>
- <ieee1284>MFG:Kyocera;MODEL:Kyocera FS-1118MFP;COMMAND SET: POSTSCRIPT,PJL,PCL</ieee1284>
- <commandset>POSTSCRIPT,PJL,PCL</commandset>
+ <ieee1284>MFG:Kyocera;MODEL:FS-1118MFP;CMD:PCLXL,PostScript Emulation,PCL5E,PJL;</ieee1284>
+ <commandset>CMD:PCLXL,PostScript Emulation,PCL5E,PJL</commandset>
<manufacturer>Kyocera</manufacturer>
- <model>Kyocera FS-1118MFP</model>
+ <model>FS-1118MFP</model>
</general>
</autodetect>
<functionality>A</functionality>
diff -up foomatic-db-20120103/db/source/printer/Lexmark-C543.xml.device-ids-20120103 foomatic-db-20120103/db/source/printer/Lexmark-C543.xml
--- foomatic-db-20120103/db/source/printer/Lexmark-C543.xml.device-ids-20120103 2012-02-24 09:33:36.463452367 +0000
+++ foomatic-db-20120103/db/source/printer/Lexmark-C543.xml 2012-02-24 09:33:37.090452655 +0000
@@ -15,7 +15,7 @@
</lang>
<autodetect>
<general>
- <ieee1284>MFG: Lexmark;MDL: Lexmark C543</ieee1284>
+ <ieee1284>MFG:Lexmark International;MDL:Lexmark C543;</ieee1284>
<manufacturer>Lexmark</manufacturer>
<model>Lexmark C543</model>
</general>
diff -up foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml.device-ids foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml
--- foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml.device-ids 2013-09-11 15:55:21.853642637 +0200
+++ foomatic-db-20130911/db/source/printer/Brother-HL-2040.xml 2013-09-11 15:53:30.775176972 +0200
@@ -15,6 +15,13 @@
<pcl level="5e" />
<pjl />
</lang>
+ <autodetect>
+ <general>
+ <ieee1284>MFG:Brother;MDL:HL-2040 series;CMD:PJL,HBP;</ieee1284>
+ <manufacturer>Brother</manufacturer>
+ <model>Brother HL-2040 series</model>
+ </general>
+ </autodetect>
<functionality>B</functionality>
<driver>hl1250</driver>
<drivers>
@@ -0,0 +1,23 @@
diff -up foomatic-db-20131218/db/source/driver/Postscript.xml.orig foomatic-db-20131218/db/source/driver/Postscript.xml
--- foomatic-db-20131218/db/source/driver/Postscript.xml.orig 2013-12-18 01:41:18.000000000 +0100
+++ foomatic-db-20131218/db/source/driver/Postscript.xml 2013-12-18 15:09:08.471674405 +0100
@@ -358,9 +358,6 @@
<id>printer/HP-Business_Inkjet_3000</id>
</printer>
<printer>
- <id>printer/HP-Business_Inkjet_9100</id>
- </printer>
- <printer>
<id>printer/HP-Color_LaserJet_2500</id>
</printer>
<printer>
@@ -1066,9 +1063,6 @@
<id>printer/Oce-3155PS</id>
</printer>
<printer>
- <id>printer/Oce-3165</id>
- </printer>
- <printer>
<id>printer/Oce-3165PS</id>
</printer>
<printer>
+69
View File
@@ -0,0 +1,69 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>foomatic-db</Name>
<Homepage>http://www.linuxprinting.org/foomatic.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>data</IsA>
<Summary>Database of printers and printer drivers</Summary>
<Description>foomatic-db contains the knowledge database for printers which are used by foomatic-db-engine to generate PPD files.</Description>
<Archive sha1sum="4afc55f66a4fa769dd506311c755983c7e17fd12" type="targz">http://www.openprinting.org/download/foomatic/foomatic-db-4.0-20150819.tar.gz</Archive>
<AdditionalFiles>
<AdditionalFile permission="0755" target="cleanup-conflicts">cleanup-script</AdditionalFile>
</AdditionalFiles>
<BuildDependencies>
<!--<Dependency>cups-filters</Dependency>-->
</BuildDependencies>
<Patches>
<!-- Fedora patches -->
<Patch level="1">fedora/foomatic-db-device-ids.patch</Patch>
<Patch level="1">fedora/foomatic-db-invalid.patch</Patch>
</Patches>
</Source>
<Package>
<Name>foomatic-db</Name>
<RuntimeDependencies>
<Dependency>pnm2ppa</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-10-28</Date>
<Version>4.0.20150819</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-05</Date>
<Version>4.0_20130103</Version>
<Comment>Depend on cups-filters.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-24</Date>
<Version>4.0_20130103</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-01-03</Date>
<Version>4.0_20130103</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>foomatic-db</Name>
<Summary xml:lang="tr">Yazıcı sürücüleri</Summary>
<Description xml:lang="tr">Foomatic yazıcı veritabanı ve sürücüleri</Description>
</Source>
</PISI>
+40
View File
@@ -0,0 +1,40 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--sysconfdir=/etc")
def build():
shelltools.export("CFLAGS", "-DNDEBUG %s" % get.CFLAGS())
autotools.make('CC="%s" CFLAGS="%s -DLANG_EN"' % (get.CC(), get.CFLAGS()))
autotools.make('-C ppa_protocol CC="%s" CFLAGS="%s"' % (get.CC(), get.CFLAGS()))
def install():
autotools.install("BINDIR=%(install)s/usr/bin \
CONFDIR=%(install)s/etc \
MANDIR=%(install)s/usr/share/man/man1" % { "install": get.installDIR()})
pisitools.dobin("utils/Linux/detect_ppa")
pisitools.dobin("utils/Linux/test_ppa")
pisitools.insinto("/usr/share/pnm2ppa/lpd", "lpd/*")
pisitools.insinto("/usr/share/pnm2ppa/pdq", "pdq/*")
pisitools.doexe("lpd/lpdsetup", "/usr/share/pnm2ppa/lpd")
pisitools.doexe("sample_scripts/*", "/usr/share/pnm2ppa/sample_scripts")
pisitools.doexe("pdq/gs-pnm2ppa", "/etc/pdq/drivers/ghostscript")
pisitools.doexe("pdq/dummy", "/etc/pdq/interfaces")
pisitools.dohtml("*")
shelltools.cd("docs/en")
pisitools.dodoc("CALIBRATION*txt", "COLOR*txt", "PPA*txt", "RELEASE*", "CREDITS", "LICENSE", "README", "TODO")
@@ -0,0 +1,127 @@
diff -ur pnm2ppa-1.12/Makefile pnm2ppa-1.12.new/Makefile
--- Makefile 2002-11-15 18:29:29.000000000 -0500
+++ Makefile 2002-12-11 17:39:27.000000000 -0500
@@ -5,13 +5,13 @@
# paths to locations where the pnm2ppa binary, the configuration file,
# and the man page should be installed. On some systems (like Solaris)
# the install command requires the syntax BINDIR="-f /usr/local/bin".
-BINDIR="/usr/local/bin"
+BINDIR="/usr/bin"
CONFDIR="/etc"
-MANDIR="/usr/local/man/man1"
+MANDIR="/usr/share/man/man1"
#compiler and linker options:
CC=gcc
-CFLAGS=-Wall -pedantic -O2
+CFLAGS=-Wall -pedantic -O3
LDFLAGS=-lm
INSTALL=install
diff -ur pnm2ppa-1.12/lpd/ascii.if pnm2ppa-1.12.new/lpd/ascii.if
--- lpd/ascii.if 2000-10-28 10:58:07.000000000 -0400
+++ lpd/ascii.if 2002-12-11 17:39:55.000000000 -0500
@@ -1,6 +1,6 @@
#! /bin/sh
# for printing black and white text (ascii) files.
-FILTER="/usr/local/bin/bw.if"
+FILTER="/usr/bin/bw.if"
#FILTER="/usr/local/bin/bweco.if"
#------enscript command line--------------------------
enscript -2rj -p- | $FILTER
diff -ur pnm2ppa-1.12/lpd/bw.if pnm2ppa-1.12.new/lpd/bw.if
--- lpd/bw.if 2000-10-28 10:58:07.000000000 -0400
+++ lpd/bw.if 2002-12-11 17:40:14.000000000 -0500
@@ -6,7 +6,7 @@
#PAPER=a4
#PAPER=a3
#PPAOPTS="-B 2"
-PNM2PPA="/usr/local/bin/pnm2ppa"
+PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --bw $PPAOPTS -i - -o -
diff -ur pnm2ppa-1.12/lpd/bweco.if pnm2ppa-1.12.new/lpd/bweco.if
--- lpd/bweco.if 2000-10-28 10:58:07.000000000 -0400
+++ lpd/bweco.if 2002-12-11 17:40:23.000000000 -0500
@@ -6,7 +6,7 @@
#PAPER=a4
#PAPER=a3
#PPAOPTS="-B 2"
-PNM2PPA="/usr/local/bin/pnm2ppa"
+PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
gs -sDEVICE=pbmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --bw --eco $PPAOPTS -i - -o -
diff -ur pnm2ppa-1.12/lpd/color.if pnm2ppa-1.12.new/lpd/color.if
--- lpd/color.if 2000-10-28 10:58:07.000000000 -0400
+++ lpd/color.if 2002-12-11 17:40:31.000000000 -0500
@@ -6,7 +6,7 @@
#PAPER=a4
#PAPER=a3
#PPAOPTS="-p"
-PNM2PPA="/usr/local/bin/pnm2ppa"
+PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA $PPAOPTS -i - -o -
diff -ur pnm2ppa-1.12/lpd/coloreco.if pnm2ppa-1.12.new/lpd/coloreco.if
--- lpd/coloreco.if 2000-10-28 10:58:07.000000000 -0400
+++ lpd/coloreco.if 2002-12-11 17:40:45.000000000 -0500
@@ -6,7 +6,7 @@
#PAPER=a4
#PAPER=a3
#PPAOPTS="--fd"
-PNM2PPA="/usr/local/bin/pnm2ppa"
+PNM2PPA="/usr/bin/pnm2ppa"
#------------------dont change below this line----------------------
gs -sDEVICE=ppmraw -sPAPERSIZE=$PAPER -q -dNOPAUSE -r600 -sOutputFile=- - | \
$PNM2PPA --eco $PPAOPTS -i - -o -
diff -ur pnm2ppa-1.12/lpd/printcap pnm2ppa-1.12.new/lpd/printcap
--- lpd/printcap 2000-10-27 14:12:23.000000000 -0400
+++ lpd/printcap 2002-12-11 17:41:35.000000000 -0500
@@ -6,7 +6,7 @@
:sd=/var/spool/lpd/coloreco:\
:lf=/var/spool/lpd/coloreco/log:\
:af=/var/spool/lpd/coloreco/acct:\
- :if=/usr/local/bin/coloreco.if:\
+ :if=/usr/bin/coloreco.if:\
:la:mx#0:\
:sh:sf:
@@ -16,7 +16,7 @@
:sd=/var/spool/lpd/color:\
:lf=/var/spool/lpd/color/log:\
:af=/var/spool/lpd/color/acct:\
- :if=/usr/local/bin/color.if:\
+ :if=/usr/bin/color.if:\
:la:mx#0:\
:sh:sf:
@@ -26,7 +26,7 @@
:sd=/var/spool/lpd/bw:\
:lf=/var/spool/lpd/bw/log:\
:af=/var/spool/lpd/bw/acct:\
- :if=/usr/local/bin/bw.if:\
+ :if=/usr/bin/bw.if:\
:la:mx#0:\
:sh:sf:
@@ -36,7 +36,7 @@
:sd=/var/spool/lpd/bweco:\
:lf=/var/spool/lpd/bweco/log:\
:af=/var/spool/lpd/bweco/acct:\
- :if=/usr/local/bin/bweco.if:\
+ :if=/usr/bin/bweco.if:\
:la:mx#0:\
:sh:sf:
@@ -46,7 +46,7 @@
:sd=/var/spool/lpd/ascii:\
:lf=/var/spool/lpd/ascii/log:\
:af=/var/spool/lpd/ascii/acct:\
- :if=/usr/local/bin/ascii.if:\
+ :if=/usr/bin/ascii.if:\
:la:mx#0:\
:sh:sf:
@@ -0,0 +1,14 @@
diff -Nur pnm2ppa-1.12-old/pnm2ppa.conf pnm2ppa-1.12/pnm2ppa.conf
--- pnm2ppa-1.12-old/pnm2ppa.conf 2005-12-31 01:54:54.000000000 +0200
+++ pnm2ppa-1.12/pnm2ppa.conf 2005-12-31 01:55:36.000000000 +0200
@@ -15,8 +15,8 @@
# will be used. The printer version can also be set with the command line
# option e.g., "-v 720".
-version 0 # REMOVE THIS ENTRY to make 720 the default printer model!!!
-#version 720 # 710, 712, 722 also acceptable
+# version 0 # REMOVE THIS ENTRY to make 720 the default printer model!!!
+version 720 # 710, 712, 722 also acceptable
#version 820
#version 1000
+53
View File
@@ -0,0 +1,53 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>pnm2ppa</Name>
<Homepage>http://pnm2ppa.sourceforge.net</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<Summary>Driver addons for some Hp Deskjet printers</Summary>
<Description>Tool to convert pnm data to ppa data for Hp Deskjet 710, 712, 720, 722, 820, 1000 series printer drivers.</Description>
<Archive type="targz" sha1sum="3de33786e9d3f35a73d7e4acb5281f30654cef7c">mirrors://sourceforge/pnm2ppa/pnm2ppa-1.13.tar.gz</Archive>
<Patches>
<!-- <Patch>pnm2ppa-1.12-pisilinux.diff</Patch> -->
<Patch level="1">pnm2ppa-default_config.patch</Patch>
</Patches>
</Source>
<Package>
<Name>pnm2ppa</Name>
<RuntimeDependencies>
<Dependency>enscript</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="config">/etc/pdq</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/pnm2ppa</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-02-04</Date>
<Version>1.13</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-13</Date>
<Version>1.12</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>pnm2ppa</Name>
<Summary xml:lang="tr">Bazı Hp Deskjet yazıcılar için sürücü eklentileri</Summary>
<Description xml:lang="tr">Hp Deskjet 710, 712, 720, 722, 820, 1000 serisi yazıcı sürücüleri için pnm verisini ppa verisine dönüştüren araçlar</Description>
</Source>
</PISI>
+22
View File
@@ -0,0 +1,22 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.configure("--disable-static")
def build():
autotools.make()
def check():
autotools.make("check")
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("Artistic-2.0", "ChangeLog", "README", "TODO")
+88
View File
@@ -0,0 +1,88 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pardus.org.tr/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>qpdf</Name>
<Homepage>http://qpdf.sourceforge.net</Homepage>
<Packager>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Packager>
<IsA>app:console</IsA>
<License>Artistic-2</License>
<Summary>A Content-Preserving PDF Transformation System</Summary>
<Description>A command-line program that does structural, content-preserving transformations on PDF files</Description>
<Archive sha1sum="805aeaeaff16c0e5fedc4ad3881d3bf03642f08f" type="targz">mirrors://sourceforge/qpdf/qpdf-5.1.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>libpcre-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>qpdf</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpcre</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>qpdf-devel</Name>
<Summary>Development files for qpdf</Summary>
<RuntimeDependencies>
<Dependency>libpcre-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency release="current">qpdf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2015-10-28</Date>
<Version>5.1.3</Version>
<Comment>Version bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2015-03-04</Date>
<Version>5.1.2</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-01-26</Date>
<Version>5.1.1</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-13</Date>
<Version>5.0.0</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-07-01</Date>
<Version>4.1.0</Version>
<Comment>First release.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</PISI>
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>qpdf</Name>
<Summary xml:lang="en">A Content-Preserving PDF Transformation System</Summary>
<Description xml:lang="en">A command-line program that does structural, content-preserving transformations on PDF files</Description>
</Source>
<Package>
<Name>qpdf-devel</Name>
<Summary xml:lang="en">Development files for qpdf</Summary>
<Summary xml:lang="en">qpdf için geliştirme dosyaları</Summary>
</Package>
</PISI>
+365 -15
View File
@@ -12445,6 +12445,64 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>enscript</Name>
<Homepage>http://www.gnu.org/software/enscript/enscript.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>hardware.printer</PartOf>
<Summary xml:lang="en">Powerful text-to-postscript converter</Summary>
<Summary xml:lang="tr">Metin dosyalarından postscript belge oluşturma aracı</Summary>
<Description xml:lang="en">enscript is an application that you can use to convert your text files to postscript files with enhanced formatting capabilities like colorizing, page layout management etc.</Description>
<Description xml:lang="tr">Metin dosyalarını postscript belgelere dönüştüren, dönüşüm sırasında renklendirme, sayfa düzeni ve boyut değiştirme gibi biçimlendirmeler yapabilen bir araç</Description>
<Archive type="targz" sha1sum="9dd7128a508d4c9671659b9520028d12add50cfa">http://www.iki.fi/mtr/genscript/enscript-1.6.4.tar.gz</Archive>
<Patches>
<Patch level="1">enscript-1.6.3-security.patch</Patch>
<Patch>enscript-1.6.3-language.patch</Patch>
<Patch>enscript-catmur.patch</Patch>
<Patch>ruby.patch</Patch>
<Patch>enscript-1.6.4-CVE-2008-3863-CVE-2008-4306.patch</Patch>
<Patch level="1">enscript-1.6.4-config.patch</Patch>
</Patches>
<SourceURI>hardware/printer/enscript/pspec.xml</SourceURI>
</Source>
<Package>
<Name>enscript</Name>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/enscript</Path>
<Path fileType="info">/usr/share/info</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
<AdditionalFiles>
<AdditionalFile target="/usr/share/enscript/hl/ruby.st" permission="0644" owner="root">ruby.st</AdditionalFile>
</AdditionalFiles>
</Package>
<History>
<Update release="2">
<Date>2014-01-23</Date>
<Version>1.6.4</Version>
<Comment>Rebuild</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-13</Date>
<Version>1.6.4</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>cups-filters</Name>
@@ -12465,19 +12523,22 @@
<PartOf>hardware.printer</PartOf>
<Summary xml:lang="en">OpenPrinting CUPS filters and backends</Summary>
<Description xml:lang="en">Contains backends, filters, and other software that was once part of the core CUPS distribution but is no longer maintained by Apple Inc. In addition it contains additional filters developed independently of Apple, especially filters for the PDF-centric printing workflow introduced by OpenPrinting.</Description>
<Archive type="tarxz" sha1sum="ddd0386be361f72ad2e8f7851753dc89016ff7be">http://www.openprinting.org/download/cups-filters/cups-filters-1.0.66.tar.xz</Archive>
<Archive type="tarxz" sha1sum="6d4f2270e24f766f3963b9ea77942c5ab03902c9">http://www.openprinting.org/download/cups-filters/cups-filters-1.1.0.tar.xz</Archive>
<BuildDependencies>
<Dependency>cups-devel</Dependency>
<Dependency>glib2-devel</Dependency>
<Dependency>tiff-devel</Dependency>
<Dependency>ghostscript</Dependency>
<Dependency>lcms2-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>mit-kerberos</Dependency>
<Dependency>dbus-devel</Dependency>
<Dependency>python-devel</Dependency>
<Dependency>libpng-devel</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>libjpeg-turbo-devel</Dependency>
<Dependency versionFrom="5.1.2">qpdf-devel</Dependency>
<Dependency releaseFrom="6">ghostscript-devel</Dependency>
<Dependency versionFrom="0.31.0">poppler-devel</Dependency>
<Dependency>dejavu-fonts</Dependency>
<Dependency versionFrom="5.1.3">qpdf-devel</Dependency>
<Dependency versionFrom="9.15">ghostscript-devel</Dependency>
<Dependency versionFrom="0.34.0">poppler-devel</Dependency>
</BuildDependencies>
<SourceURI>hardware/printer/cups-filters/pspec.xml</SourceURI>
</Source>
@@ -12528,8 +12589,8 @@
</Package>
<History>
<Update release="12">
<Date>2015-03-08</Date>
<Version>1.0.66</Version>
<Date>2015-10-28</Date>
<Version>1.1.0</Version>
<Comment>Version bump.</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
@@ -12613,6 +12674,145 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>pnm2ppa</Name>
<Homepage>http://pnm2ppa.sourceforge.net</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>hardware.printer</PartOf>
<Summary xml:lang="en">Driver addons for some Hp Deskjet printers</Summary>
<Summary xml:lang="tr">Bazı Hp Deskjet yazıcılar için sürücü eklentileri</Summary>
<Description xml:lang="en">Tool to convert pnm data to ppa data for Hp Deskjet 710, 712, 720, 722, 820, 1000 series printer drivers.</Description>
<Description xml:lang="tr">Hp Deskjet 710, 712, 720, 722, 820, 1000 serisi yazıcı sürücüleri için pnm verisini ppa verisine dönüştüren araçlar</Description>
<Archive type="targz" sha1sum="3de33786e9d3f35a73d7e4acb5281f30654cef7c">mirrors://sourceforge/pnm2ppa/pnm2ppa-1.13.tar.gz</Archive>
<Patches>
<Patch level="1">pnm2ppa-default_config.patch</Patch>
</Patches>
<SourceURI>hardware/printer/pnm2ppa/pspec.xml</SourceURI>
</Source>
<Package>
<Name>pnm2ppa</Name>
<RuntimeDependencies>
<Dependency>enscript</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="config">/etc/pdq</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/pnm2ppa</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2014-02-04</Date>
<Version>1.13</Version>
<Comment>Version bump.</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2010-10-13</Date>
<Version>1.12</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>foomatic-db-engine</Name>
<Homepage>http://www.linuxprinting.org/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>hardware.printer</PartOf>
<Summary xml:lang="en">Foomatic printer database engine</Summary>
<Summary xml:lang="tr">Foomatic yazıcı veritabanı motoru</Summary>
<Description xml:lang="en">foomatic-db-engine is the layer that provides the database engine to Foomatic.</Description>
<Description xml:lang="tr">foomatic-db-engine, Foomatic veritabanı motorunu oluşturan katmandır.</Description>
<Archive type="targz" sha1sum="c3b747113b6a64b998000774e7c2d03ce48654c1">http://www.openprinting.org/download/foomatic/foomatic-db-engine-4.0.12.tar.gz</Archive>
<BuildDependencies>
<Dependency>libxml2-devel</Dependency>
<Dependency>cups-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="0">foomatic-db-engine-4.0.8-fix-sandbox.patch</Patch>
<Patch level="1">4.0.7-perl-module.patch</Patch>
<Patch level="1">4.0.7-respect-ldflag.patch</Patch>
</Patches>
<SourceURI>hardware/printer/foomatic-db-engine/pspec.xml</SourceURI>
</Source>
<Package>
<Name>foomatic-db-engine</Name>
<RuntimeDependencies>
<Dependency>libxml2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="executable">/usr/sbin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="config">/etc/foomatic</Path>
<Path fileType="data">/usr/share/foomatic/templates</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="6">
<Date>2015-10-28</Date>
<Version>4.0.12</Version>
<Comment>v.bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="5">
<Date>2014-09-13</Date>
<Version>4.0.11</Version>
<Comment>Rebuild for new perl.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2014-06-15</Date>
<Version>4.0.11</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-05</Date>
<Version>4.0.8</Version>
<Comment>Depend on cups-filters.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-12-01</Date>
<Version>4.0.8</Version>
<Comment>Rebuild for new perl.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2012-11-19</Date>
<Version>4.0.8</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>libpaper</Name>
@@ -12680,6 +12880,71 @@
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>foomatic-db</Name>
<Homepage>http://www.linuxprinting.org/foomatic.html</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2+</License>
<IsA>data</IsA>
<PartOf>hardware.printer</PartOf>
<Summary xml:lang="en">Database of printers and printer drivers</Summary>
<Summary xml:lang="tr">Yazıcı sürücüleri</Summary>
<Description xml:lang="en">foomatic-db contains the knowledge database for printers which are used by foomatic-db-engine to generate PPD files.</Description>
<Description xml:lang="tr">Foomatic yazıcı veritabanı ve sürücüleri</Description>
<Archive type="targz" sha1sum="4afc55f66a4fa769dd506311c755983c7e17fd12">http://www.openprinting.org/download/foomatic/foomatic-db-4.0-20150819.tar.gz</Archive>
<AdditionalFiles>
<AdditionalFile target="cleanup-conflicts" permission="0755">cleanup-script</AdditionalFile>
</AdditionalFiles>
<Patches>
<Patch level="1">fedora/foomatic-db-device-ids.patch</Patch>
<Patch level="1">fedora/foomatic-db-invalid.patch</Patch>
</Patches>
<SourceURI>hardware/printer/foomatic-db/pspec.xml</SourceURI>
</Source>
<Package>
<Name>foomatic-db</Name>
<RuntimeDependencies>
<Dependency>pnm2ppa</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="4">
<Date>2015-10-28</Date>
<Version>4.0.20150819</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-02-05</Date>
<Version>4.0_20130103</Version>
<Comment>Depend on cups-filters.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-01-24</Date>
<Version>4.0_20130103</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-01-03</Date>
<Version>4.0_20130103</Version>
<Comment>First release</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>thunderbird</Name>
@@ -50435,6 +50700,91 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>qpdf</Name>
<Homepage>http://qpdf.sourceforge.net</Homepage>
<Packager>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Packager>
<License>Artistic-2</License>
<IsA>app:console</IsA>
<PartOf>office.misc</PartOf>
<Summary xml:lang="en">A Content-Preserving PDF Transformation System</Summary>
<Description xml:lang="en">A command-line program that does structural, content-preserving transformations on PDF files</Description>
<Archive type="targz" sha1sum="805aeaeaff16c0e5fedc4ad3881d3bf03642f08f">mirrors://sourceforge/qpdf/qpdf-5.1.3.tar.gz</Archive>
<BuildDependencies>
<Dependency>libpcre-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
<SourceURI>office/misc/qpdf/pspec.xml</SourceURI>
</Source>
<Package>
<Name>qpdf</Name>
<RuntimeDependencies>
<Dependency>zlib</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>libpcre</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="executable">/usr/bin</Path>
</Files>
</Package>
<Package>
<Name>qpdf-devel</Name>
<Summary xml:lang="en">qpdf için geliştirme dosyaları</Summary>
<RuntimeDependencies>
<Dependency>libpcre-devel</Dependency>
<Dependency>zlib-devel</Dependency>
<Dependency release="5">qpdf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
</Files>
</Package>
<History>
<Update release="5">
<Date>2015-10-28</Date>
<Version>5.1.3</Version>
<Comment>Version bump.</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
<Update release="4">
<Date>2015-03-04</Date>
<Version>5.1.2</Version>
<Comment>Version bump.</Comment>
<Name>Stefan Gronewold(groni)</Name>
<Email>groni@pisilinux.org</Email>
</Update>
<Update release="3">
<Date>2014-01-26</Date>
<Version>5.1.1</Version>
<Comment>Version bump.</Comment>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2013-07-13</Date>
<Version>5.0.0</Version>
<Comment>Version bump.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2013-07-01</Date>
<Version>4.1.0</Version>
<Comment>First release.</Comment>
<Name>Marcin Bojara</Name>
<Email>marcin@pisilinux.org</Email>
</Update>
</History>
</SpecFile>
<SpecFile>
<Source>
<Name>texi2html</Name>
@@ -65782,7 +66132,7 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Package>
<History>
<Update release="3">
<Date>2015-10-16</Date>
<Date>2015-10-28</Date>
<Version>5.5.1</Version>
<Comment>Version bump</Comment>
<Name>Ayhan Yalçınsoy</Name>
@@ -71356,7 +71706,7 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Package>
<History>
<Update release="5">
<Date>2015-10-11</Date>
<Date>2015-10-28</Date>
<Version>5.15.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
@@ -74379,7 +74729,7 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Package>
<History>
<Update release="5">
<Date>2015-10-11</Date>
<Date>2015-10-28</Date>
<Version>5.15.0</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
@@ -79042,7 +79392,7 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Package>
<History>
<Update release="5">
<Date>2015-10-07</Date>
<Date>2015-10-28</Date>
<Version>5.4.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
@@ -80032,7 +80382,7 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Package>
<History>
<Update release="5">
<Date>2015-10-07</Date>
<Date>2015-10-28</Date>
<Version>5.4.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
@@ -80739,7 +81089,7 @@ uses SIMD instructions (MMX, SSE2, etc.) to accelerate baseline JPEG compression
</Package>
<History>
<Update release="5">
<Date>2015-10-07</Date>
<Date>2015-10-28</Date>
<Version>5.4.2</Version>
<Comment>Version bump.</Comment>
<Name>Yusuf Aydemir</Name>
+1 -1
View File
@@ -1 +1 @@
de39932936060e4fcd23d5a31c21e6bc8f8ab854
4df937c9c08bc04643be5f513f096e0ca2c3f1d4
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1 +1 @@
adffc0e82085b9b55df393e5ce2a04ee9dc8049d
a9eb4547b894b720e4089fe832603ea3efaeecc3