Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-08 Thread Stephen Arnold
Sorry, I kinda needed something that worked.  I'll go back to slacking now...

Steve

On Mon, Aug 8, 2016 at 5:58 AM, Burton, Ross  wrote:
> Hi Fan, you're now added to the repo too.  Progress looks good!
>
> Ross
>
> On 3 August 2016 at 02:42, Fan Xin  wrote:
>>
>>
>>
>> On 2016年08月03日 10:12, Stephen Arnold wrote:
>>>
>>> sorry, you missed a couple of replies I guess...
>>>
>>> It's in the Ross repo now:
>>>
>>> https://github.com/rossburton/meta-printing
>>>
>>> Steve
>>>
>>
>> Hey, Ross
>>
>> If possible, please also add me.
>> Thanks.
>>
>> Fan
>
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-08 Thread Burton, Ross
Hi Fan, you're now added to the repo too.  Progress looks good!

Ross

On 3 August 2016 at 02:42, Fan Xin  wrote:

>
>
> On 2016年08月03日 10:12, Stephen Arnold wrote:
>
>> sorry, you missed a couple of replies I guess...
>>
>> It's in the Ross repo now:
>>
>> https://github.com/rossburton/meta-printing
>>
>> Steve
>>
>>
> Hey, Ross
>
> If possible, please also add me.
> Thanks.
>
> Fan
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-07 Thread Fan Xin

Hi

I notice that the newest version of cups-filters is 1.10.0 .
https://www.openprinting.org/download/cups-filters/

So I make a patch to upgrade the cups-filters and make some updates to 
the recipe file.


https://github.com/fan-xin/meta-printing/commit/cc2981c93c5fdfc1c19cffa031cc7207da5898ed

Could you merge this patch to meta-printing.

Best Regards,
Fan

On 2016年08月03日 10:42, Fan Xin wrote:



On 2016年08月03日 10:12, Stephen Arnold wrote:

sorry, you missed a couple of replies I guess...

It's in the Ross repo now:

https://github.com/rossburton/meta-printing

Steve



Hey, Ross

If possible, please also add me.
Thanks.

Fan


--
=
株式会社富士通コンピュータテクノロジーズ
組込みシステム技術統括部 第一ファームウェア技術部
樊 昕 Fan Xin
fan@jp.fujitsu.com

┏┓ 
┗■ 【ubinux V15】のリリースを開始しました!
「SDN(Open vSwitch)」や「クラウド管理(OpenStack Heat)」などに対応
-
詳細>>http://elsc.utsfd.cs.fujitsu.co.jp/location_elsc.php?id=0024
※"ubinux"は組込み装置向け当社独自のLinuxディストリビューションです
━━━
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-02 Thread Fan Xin



On 2016年08月03日 10:12, Stephen Arnold wrote:

sorry, you missed a couple of replies I guess...

It's in the Ross repo now:

https://github.com/rossburton/meta-printing

Steve



Hey, Ross

If possible, please also add me.
Thanks.

Fan
--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-02 Thread Stephen Arnold
sorry, you missed a couple of replies I guess...

It's in the Ross repo now:

https://github.com/rossburton/meta-printing

Steve

On Tue, Aug 2, 2016 at 5:59 PM, Fan Xin  wrote:
>
> On 2016年08月03日 02:33, Stephen Arnold wrote:
>>
>> Hey, don't keep all the fun to yourself  :P
>>
>> Let's take a look at the recipes and marge the best bits together; I
>> think I have an update on my end after getting some feedback with a
>> zebra label printer.
>>
>> Fan, can you push/post your recipes somewhere today?  Feel free to
>> fork meta-small-arm-extra and we can take a look at merging.
>>
>> Steve
>>
>
> I have pushed my recipes at here:
>
> https://github.com/fan-xin/meta-printing
>
> I checked meta-small-arm-extra but did not find what could be merged from my
> recipe.
>
> I wonder where the cups-filters and qpdf recipe files should be put. In cups
> folder or separate folder ?
>
> Fan
>
>
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-02 Thread Fan Xin


On 2016年08月03日 02:33, Stephen Arnold wrote:

Hey, don't keep all the fun to yourself  :P

Let's take a look at the recipes and marge the best bits together; I
think I have an update on my end after getting some feedback with a
zebra label printer.

Fan, can you push/post your recipes somewhere today?  Feel free to
fork meta-small-arm-extra and we can take a look at merging.

Steve



I have pushed my recipes at here:

https://github.com/fan-xin/meta-printing

I checked meta-small-arm-extra but did not find what could be merged 
from my recipe.


I wonder where the cups-filters and qpdf recipe files should be put. In 
cups folder or separate folder ?


Fan



--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-02 Thread Stephen Arnold
On Tue, Aug 2, 2016 at 12:23 PM, Burton, Ross  wrote:
[snip]
> In a desperate attempt to keep the ball rolling I propose this repo as a
> starting point:
>
> https://github.com/rossburton/meta-printing
>
> It's basically a new layer containing foomatic, ghostscript and cups from
> oe-core.  Obviously this shouldn't be the final resting place, but its
> somewhere where we can start before deciding where it should reside.  If
> anyone wants commit access then just say.
>
> Ross

Okay, please add me...

Steve
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-02 Thread Burton, Ross
On 2 August 2016 at 18:33, Stephen Arnold 
wrote:

> Hey, don't keep all the fun to yourself  :P
>
> Let's take a look at the recipes and marge the best bits together; I
> think I have an update on my end after getting some feedback with a
> zebra label printer.
>
> Fan, can you push/post your recipes somewhere today?  Feel free to
> fork meta-small-arm-extra and we can take a look at merging.
>

In a desperate attempt to keep the ball rolling I propose this repo as a
starting point:

https://github.com/rossburton/meta-printing

It's basically a new layer containing foomatic, ghostscript and cups from
oe-core.  Obviously this shouldn't be the final resting place, but its
somewhere where we can start before deciding where it should reside.  If
anyone wants commit access then just say.

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-02 Thread Stephen Arnold
Hey, don't keep all the fun to yourself  :P

Let's take a look at the recipes and marge the best bits together; I
think I have an update on my end after getting some feedback with a
zebra label printer.

Fan, can you push/post your recipes somewhere today?  Feel free to
fork meta-small-arm-extra and we can take a look at merging.

Steve

On Mon, Aug 1, 2016 at 11:48 PM, Fan Xin  wrote:
>
>
> On 2016年08月02日 02:24, Burton, Ross wrote:
>>
>>
>> On 1 August 2016 at 18:22, Stephen Arnold > > wrote:
>>
>> That's actually not a bad idea, but I need to crank out another
>> abstract today (the deadline for special session snuck up on me).  We
>> kinda needed this for a project, but I think a tiny print server is
>> always useful.  What's your plan?
>>
>>
>> Well my plan was:
>>
>> 1) say that someone should create meta-printing
>> 2) watch someone create meta-printing
>> 3) delete everything printing related in oe-core
>>
>> I can help a bit on (2) I guess...  Fan Xin, would you or anyone else at
>> Fujitsu (as you clearly have interest here) be able to help?
>
>
> Yes, Of course. Actually I am very pleased to do this.
> I am afraid I can not do it very well, but I will try my best.
>
> Fan
>
> --
>
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-02 Thread Fan Xin



On 2016年08月02日 02:24, Burton, Ross wrote:


On 1 August 2016 at 18:22, Stephen Arnold > wrote:

That's actually not a bad idea, but I need to crank out another
abstract today (the deadline for special session snuck up on me).  We
kinda needed this for a project, but I think a tiny print server is
always useful.  What's your plan?


Well my plan was:

1) say that someone should create meta-printing
2) watch someone create meta-printing
3) delete everything printing related in oe-core

I can help a bit on (2) I guess...  Fan Xin, would you or anyone else at
Fujitsu (as you clearly have interest here) be able to help?


Yes, Of course. Actually I am very pleased to do this.
I am afraid I can not do it very well, but I will try my best.

Fan

--

--
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-01 Thread Stephen Arnold
Trying to remember what my dad said about "Ask a silly question..."

Steve

On Mon, Aug 1, 2016 at 10:24 AM, Burton, Ross  wrote:
>
> On 1 August 2016 at 18:22, Stephen Arnold 
> wrote:
>>
>> That's actually not a bad idea, but I need to crank out another
>> abstract today (the deadline for special session snuck up on me).  We
>> kinda needed this for a project, but I think a tiny print server is
>> always useful.  What's your plan?
>
>
> Well my plan was:
>
> 1) say that someone should create meta-printing
> 2) watch someone create meta-printing
> 3) delete everything printing related in oe-core
>
> I can help a bit on (2) I guess...  Fan Xin, would you or anyone else at
> Fujitsu (as you clearly have interest here) be able to help?
>
> Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-01 Thread Burton, Ross
On 1 August 2016 at 18:22, Stephen Arnold 
wrote:

> That's actually not a bad idea, but I need to crank out another
> abstract today (the deadline for special session snuck up on me).  We
> kinda needed this for a project, but I think a tiny print server is
> always useful.  What's your plan?
>

Well my plan was:

1) say that someone should create meta-printing
2) watch someone create meta-printing
3) delete everything printing related in oe-core

I can help a bit on (2) I guess...  Fan Xin, would you or anyone else at
Fujitsu (as you clearly have interest here) be able to help?

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-01 Thread Stephen Arnold
That's actually not a bad idea, but I need to crank out another
abstract today (the deadline for special session snuck up on me).  We
kinda needed this for a project, but I think a tiny print server is
always useful.  What's your plan?

Steve

On Mon, Aug 1, 2016 at 10:16 AM, Burton, Ross  wrote:
> Hi,
>
> On 1 August 2016 at 18:13, Stephen Arnold 
> wrote:
>>
>> Thanks, our timing is great (since I just did the same thing on
>> Saturday but didn't send anything to the list yet).  Still have some
>> testing to do to see if it actually works; recipes are here:
>>
>> https://github.com/sarnold/meta-small-arm-extra/commits/master
>
>
> Literally ten minutes ago I was wondering if there was any interest in
> ripping the obviously broken CUPS/ghostscript/etc out of oe-core and into a
> meta-printing layer that someone could actually maintain.  Would you be
> interested in that?
>
> Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-01 Thread Burton, Ross
Hi,

On 1 August 2016 at 18:13, Stephen Arnold 
wrote:

> Thanks, our timing is great (since I just did the same thing on
> Saturday but didn't send anything to the list yet).  Still have some
> testing to do to see if it actually works; recipes are here:
>
> https://github.com/sarnold/meta-small-arm-extra/commits/master
>

Literally ten minutes ago I was wondering if there was any interest in
ripping the obviously broken CUPS/ghostscript/etc out of oe-core and into a
meta-printing layer that someone could actually maintain.  Would you be
interested in that?

Ross
-- 
___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH v2] Replace foomatic-filters with cups-filters

2016-08-01 Thread Stephen Arnold
Thanks, our timing is great (since I just did the same thing on
Saturday but didn't send anything to the list yet).  Still have some
testing to do to see if it actually works; recipes are here:

https://github.com/sarnold/meta-small-arm-extra/commits/master

On Mon, Aug 1, 2016 at 4:01 AM, Fan Xin  wrote:
> The foomatic-filters community is inactive and foomatic-filter package is 
> unmaintained.
> (http://www.gossamer-threads.com/lists/gentoo/user/288184)
>
> The foomatic-rips is moved from foomatic-filters to cups-filters and
> maintained by cups-filters according to the cups-filter's NEWS.
> (http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/annotate/head:/NEWS)
>
> Signed-off-by: Fan Xin 
> ---
>  .../cups-filters-1.8.2-disable-ijs.patch   | 65 
> ++
>  .../foomatic/cups-filters_1.8.3.bb | 34 +++
>  .../packagegroups/packagegroup-core-lsb.bb |  2 +-
>  3 files changed, 100 insertions(+), 1 deletion(-)
>  create mode 100644 
> meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch
>  create mode 100644 meta/recipes-extended/foomatic/cups-filters_1.8.3.bb
>
> diff --git 
> a/meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch
>  
> b/meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch
> new file mode 100644
> index 000..0a0a6ad
> --- /dev/null
> +++ 
> b/meta/recipes-extended/foomatic/cups-filters/cups-filters-1.8.2-disable-ijs.patch
> @@ -0,0 +1,65 @@
> +=== modified file 'Makefile.am'
> +--- Makefile.am2016-02-10 15:16:33 +
>  Makefile.am2016-03-02 20:46:26 +
> +@@ -490,7 +490,6 @@
> +   bannertopdf \
> +   commandtoescpx \
> +   commandtopclx \
> +-  pdftoijs \
> +   sys5ippprinter \
> +   pdftops \
> +   pdftoraster \
> +@@ -499,6 +498,10 @@
> +   texttopdf \
> +   urftopdf \
> +   rastertopdf
> ++if ENABLE_IJS
> ++pkgfilter_PROGRAMS += \
> ++  pdftoijs
> ++endif
> + if ENABLE_GHOSTSCRIPT
> + pkgfilter_PROGRAMS += \
> +   gstoraster
> +@@ -846,9 +849,12 @@
> +   ppd/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd \
> +   ppd/Generic-PDF_Printer-PDF.ppd \
> +   ppd/HP-Color_LaserJet_CM3530_MFP-PDF.ppd \
> +-  ppd/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd \
> +   ppd/Ricoh-PDF_Printer-PDF.ppd \
> +   ppd/textonly.ppd
> ++if ENABLE_IJS
> ++ppd_DATA += \
> ++  ppd/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd
> ++endif
> + if ENABLE_GHOSTSCRIPT
> + ppd_DATA += \
> +   ppd/pxlcolor.ppd \
> +=== modified file 'configure.ac'
> +--- configure.ac   2016-02-11 13:59:52 +
>  configure.ac   2016-03-02 21:18:05 +
> +@@ -443,7 +443,7 @@
> + ])
> + PKG_CHECK_MODULES([FREETYPE], [freetype2], [AC_DEFINE([HAVE_FREETYPE_H], 
> [1], [Have FreeType2 include files])])
> + PKG_CHECK_MODULES([FONTCONFIG], [fontconfig >= 2.0.0])
> +-PKG_CHECK_MODULES([IJS], [ijs])
> ++PKG_CHECK_MODULES([IJS], [ijs], [have_ijs=yes], [have_ijs=no])
> + PKG_CHECK_MODULES([POPPLER], [poppler >= 0.18])
> + PKG_CHECK_MODULES([ZLIB], [zlib])
> + AC_DEFINE([HAVE_LIBZ], [], [Define that we use zlib])
> +@@ -489,6 +489,15 @@
> +   [enable_ghostscript="$enableval"],
> +   [enable_ghostscript=yes]
> + )
> ++AC_ARG_ENABLE([ijs],
> ++  [AS_HELP_STRING([--disable-ijs], [Disable filters using IJS.])],
> ++  [enable_ijs="$enableval"],
> ++  [enable_ijs=yes]
> ++)
> ++AS_IF([test "x$enable_ijs" = "xyes" -a "x$have_ijs" != "xyes"], [
> ++   AC_MSG_ERROR([IJS not found, but requested.])
> ++])
> ++AM_CONDITIONAL(ENABLE_IJS, test "x$enable_ijs" = "xyes")
> + AC_ARG_WITH([pdftops],
> +   [AS_HELP_STRING([--with-pdftops=value], [Set which pdftops to use 
> (gs,pdftops,pdftocairo,acroread,hybrid).])],
> +   [with_pdftops="$withval"],
> +
> diff --git a/meta/recipes-extended/foomatic/cups-filters_1.8.3.bb 
> b/meta/recipes-extended/foomatic/cups-filters_1.8.3.bb
> new file mode 100644
> index 000..4eef7ef
> --- /dev/null
> +++ b/meta/recipes-extended/foomatic/cups-filters_1.8.3.bb
> @@ -0,0 +1,34 @@
> +SUMMARY = "OpenPrinting printer support - filters"
> +DESCRIPTION = "CUPS is a standards-based, open source printing system \
> +developed by Apple Inc. for Mac OS® X and other UNIX®-like operating 
> systems. \
> +CUPS uses the Internet Printing Protocol ("IPP") and provides System V and \
> +Berkeley command-line interfaces, a web interface, and a C API to manage 
> printers \
> +and print jobs. \
> + \
> +This package consists of filters used by the printer spoolers \
> +to convert the incoming PostScript data into the printer's native \
> +format using a printer-specific, but spooler-independent PPD file. \
> +"
> +
> +DEPENDS += "cups tiff lcms freetype fontconfig poppler qpdf"
> +PR = "r0"
> +
> +LICENSE = "GPLv2 & LGPLv2 & MIT & GPLv2+ & GPLv3"
> +LIC_FILES_CHKSUM = 
>