[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:24986] Re: how to select paper unit on GhostScript esc/page printer driver



ä½é‡Žï¼ æµœæ¾ã§ã™ã€‚

In <20001102175757C.kohda@xxxxxxxxxxxxxxxxxxxx>,
  on "Thu, 2 Nov 2000 17:59:01 +0900',
   with "Re: how to select paper unit on  GhostScript esc/page printer driver",
 Atsuhito Kohda <kohda@xxxxxxxxxxxxxxxxxxxx> ã•ã‚“ wrote:

> gs 5.10 ã§ã¯ ESC/Page 㯠lips ç³»ã®ãƒ‰ãƒ©ã‚¤ãƒ(gdevlips-2.3.3?)
> ã«å«ã¾ã‚Œã¦ã„㦠lips ãŒã‚ªãƒªã‚¸ãƒŠãƒ«ã® lips ã¨è¡çªã™ã‚‹ã®ã§
> デフォルトã§ã¯å¤–ã•ã‚Œã¦ãŸã¨æ€ã„ã¾ã™ã€‚
> (㧠lips ã¯ã¨ã‚‚ã‹ã ESC/Page ã ã‘ã§ã‚‚分離ã—ã¦ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆ
> ã§ä½œã£ã¦ã€ã¨ BTS ã§ãŠé¡˜ã„ã—ãŸã®ã§ã™ãŒãƒ€ãƒ¡ã ã£ãŸã¿ãŸã„ã§ã™)

 Bug#52603 ã§ã™ã­ã€‚ãã†ã„ã‚„ã“れフォローã—ã¦ãªã„ãªã€‚

If you are not sure I don't want to include this into the current ghostscript   
if it might cause a conflict between some drivers. Or what does that            
"conflict" stand for? I don't want to risk the usability of gs such short       
of the release.                                                                 
                                                                                
If you tell me that there are no problems I will apply the patch.               
                                                                                
Thanks                                                                          

ã£ã¦æ›¸ã„ã¦ã‚ã‚‹ã®ã§ã€è‡ªå‰ã§ãƒ‘ッケージ作ã£ã¦ã©ã“ã‹ (例ãˆã° JP ã® experimental 
ã¨ã‹) ã§å…¬é–‹ã—ã¦ãŠã„ã¦ã€è©²å½“ã™ã‚‹ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢æŒã£ã¦ã‚‹ãƒ¦ãƒ¼ã‚¶ãƒ¼ã«å‹•ä½œç¢ºèªã—ã¦
もらã£ã¦ã‹ã‚‰ "I have checked it and there has been non problem" ã¨ã‹æ›¸ã„ã¦
ãŠã„ãŸã‚‰åå¿œã—ã¦ãã‚ŒãŸã‹ã‚‚ ?? ç§ã‚‚該当ã™ã‚‹ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢æŒã£ã¦ãªã„ã®ã§ç¢ºèªã¯
ã§ããªã„ã§ã™ã€‚

  (ã§ã‚‚何ã‹ã§ã¶ã¤ã‹ã‚‹ã‹ã‚‰ä¸¡æ–¹å¤–ã—ãŸã¯ãšã ã¨æ€ã†ã‚“ã ã‘ã©ãªã€‚
   å…ƒã‹ã‚‰ã‚るデãƒã‚¤ã‚¹ã‚’外ã•ãªãゃ build ã§ããªã‹ã£ãŸã¨ã‹ã€
   ä»–ã®ãƒ‘ッãƒã‚’外ã•ãªã„㨠build ã§ããªã‹ã£ãŸã¨ã‹ã€‚)

担当メンテナ㮠Torsten ã¯è¨€ã„ãŸã„ã“ã¨è¨€ã†ã‚¿ã‚¤ãƒ—ã ã‘ã©ã€ã‘ã£ã“ã†ã„ã„ã‚„ã¤
 (ã ã¨æ€ã†) ãªã®ã§ã¡ã‚ƒã‚“ã¨å®‰å¿ƒã•ã›ã¦ã‚ã’ã‚Œã°è¦æœ›ã‚’èžã„ã¦ãれるã§ã—ょã†ã€‚

ã§ã‚‚ã‚€ã—ã‚パッãƒã®ä½œè€…ã«é€£çµ¡ã¨ã£ã¦ã€æœ€åˆã‹ã‚‰ conflict ã—ãªã„よã†ã«ã—ã¦
もらã†ã¨ã„ã†å¯¾å‡¦ã®ã»ã†ãŒå°†æ¥ã«ã‚ãŸã£ã¦æ¥½ãŒã§ãã‚‹ã®ã§ã€ãã£ã¡ã‚’推奨ã—ãŸã„
ã‹ã‚‚。ãã®ãŸã‚ã®ãƒ‘ッãƒã‚’作ã‚ã†ã‹ãªã¨ã‹ä¸€çž¬è€ƒãˆãŸã“ã¨ã¯ã‚ã‚Šã¾ã™ãŒã€ä»–ã«
ã‚„ã‚ŠãŸã„ã“㨠(b-f 関連ã¨ã‹) ãŒã„ã‚ã„ã‚ã‚ã£ãŸã®ã§ã‚„ã£ã¦ã¾ã›ã‚“ã§ã™ã€‚

> ソースをå–ã£ã¦ãã‚Œã°ãƒ•ãƒ©ãƒƒã‚°ã‚’変ãˆã‚Œã°æ§‹ç¯‰ã§ããŸã¯ãš
> ãªã‚“ã§ã™ãŒã€ã¡ã‚‡ã£ã¨è¦‹ãŸã‹ã‚“ã˜ã§ã¯ã€ä»Šã¯æœ‰åŠ¹ã«ãªã£ã¦ãªã„
> ã‹ã‚‚ã‚ã‹ã‚Šã¾ã›ã‚“。

ã¡ã‚‡ã£ã¨æ§‹æˆãŒå¤‰æ›´ã•ã‚ŒãŸã¿ãŸã„ã§ã™ã­ã€‚rules ã¨ã‹ debian/patch ã¨ã‹
全部書ãç›´ã—ãŸã®ã‹ã€‚

ã¨ã‚Šã‚ãˆãšã‚„ã£ã¦ã¿ã¾ã—ãŸã€‚

 apt-get source gs ã¾ãŸã¯ dpkg-source -x gs*.dsc ã§ã‚½ãƒ¼ã‚¹ãƒ„リーを
展開ã—ã¦ã‹ã‚‰ã€å±•é–‹ã•ã‚ŒãŸãƒ„リーã®ä¸Šã®ãƒ‡ã‚£ãƒ¬ã‚¯ãƒˆãƒªã§ä»¥ä¸‹ã®ãƒ‘ッãƒã‚’

 patch -p0 < [添付ã®ãƒ‘ッãƒ] 

 (ã¾ãŸã¯å±•é–‹ã•ã‚ŒãŸãƒ„リー㮠TOP DIR 㧠patch -p1 < [添付ã®ãƒ‘ッãƒ])

ã¨ã—ã¦ã‚½ãƒ¼ã‚¹ã«å½“ã¦ã¦ dpkg-buildpackage -rfakeroot -us -uc ã™ã‚Œã°
OK ã§ã¯ãªã„ã‹ã¨ã€‚ã‚ã€ãã†ã„ãˆã° libjpeg ã®ã‚½ãƒ¼ã‚¹ãƒ„リーを gs ã®
ソースツリーã®ã¨ãªã‚Šã«å±•é–‹ã—ãªã„ã¨ã„ã‘ãªã„ã€ã¨ã„ã†ã®ãŒã‚ã£ãŸã‹ã€‚
ã“れ㯠debian/jpeg を見ã¦æº–å‚™ã—ã¦ã‚‚らã‚ãªã„ã¨ã„ã‘ãªã„ã§ã™ã­ã€‚

ãã†ã„ãˆã° slink-jp ã® gs-ja ã§ã¯ Debian package ã® libjpeg ã‚’
使ã£ã¦å…±æœ‰ãƒ©ã‚¤ãƒ–ラリ㮠libjpeg ã¸ãƒªãƒ³ã‚¯ã—ã¦ã„ãŸã¨æ€ã†ã®ã ã‘ã‚Œã©
ã‚れ㯠potato ã® libjpeg62 ã§ã‚‚使ãˆã‚‹ã®ã‹ãª ?

ã‚‚ã—使ãˆã‚‹ã®ãªã‚‰ã€èª°ã‹ BTS report ã—ã¦æ•™ãˆã¦ã‚ã’ã¦æ¬²ã—ã„気分。
 build ã™ã‚‹ãŸã‚ã«ãƒ‘ッケージ以外ã®ã‚‚ã®ãŒå¿…è¦ã ã¨ main ã«ã¯
入らãªããªã£ã¦ã—ã¾ã† (contrib ã¸ç§»å‹•ã™ã‚‹å¿…è¦ã‚ã‚Š) ã¨æ€ã†ã®ã§ã€‚

試ã—ã«æ‰‹å…ƒã§ä½œã£ã¦ã¿ãŸãƒ‘ッケージを

  dpkg -i gs_5.10-9.1.0.jpconflict.1_i386.deb

ã§ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã—㦠gs -h ã—ãŸã‚‰

Available devices:
   x11 x11alpha x11cmyk x11gray2 x11mono lvga256 vgalib t4693d2 t4693d4
   t4693d8 tek4696 appledmp ccr lp2563 m8510 necp6 cp50 lips2p bjc880j lips4
   escpage lp2000 npdl oce9050 oki182 okiibm r4081 sj48 xes ln03 la50 la70
   la75 la75plus sxlcrt deskjet djet500 laserjet ljetplus ljet2p ljet3 ljet4
   declj250 paintjet pjetxl ljet4pjl cdeskjet cdjcolor cdjmono cdj550 cdj500
   djet500c dnj650c pj pjxl pjxl300 cdj670 cdj850 cdj880 cdj890 cdj1600
   lex7000 hpdj uniprint epson eps9mid eps9high epsonc lq850 lp8000 st800
   stcolor ap3250 ibmpro bj10e bj200 bjc600 bjc800 ljet3d lj4dith lj5mono
   lj5gray lj250 lj4dithp escp dj505j picty180 faxg3 faxg32d faxg4 dfaxhigh
   dfaxlow pcxmono pcxgray pcx16 pcx256 pcx24b pcxcmyk pbm pbmraw pgm pgmraw
   pgnm pgnmraw pnm pnmraw ppm ppmraw pkm pkmraw tiffcrle tiffg3 tiffg32d
   tiffg4 tifflzw tiffpack cif pr201 pr150 pr1000 pr1000_4 jj100 bmpmono
   bmp16 bmp256 bmp16m tiff12nc tiff24nc bj10v bj10vh mag16 mag256 dmprt
   psmono psgray bit bitrgb bitcmyk sgirgb mj700v2c mj500c mj6000c mj8000c
   fmpr fmlbp pngmono pnggray png16 png256 png16m cgmmono cgm8 cgm24 ml600
   lbp310 lbp320 md50Mono md50Eco md1xMono md2k md5k jpeg jpeggray miff24
   mgrmono mgrgray2 mgrgray4 mgrgray8 mgr4 mgr8 pdfwrite pswrite epswrite
   pxlmono pxlcolor nullpage

ã¨ãªã‚Šã¾ã—ãŸã€‚escpage ã‚„ lp2000, npdl ã‚‚å…¥ã£ã¦ã„るよã†ã§ã™ã€‚
ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢ãŒç„¡ã„ã®ã§å®Ÿéš›ã«ãƒ—リンタã«ã¤ãªã„ã§å°åˆ·ã•ã›ã‚‹ã“ã¨ã¯
ã§ãã¾ã›ã‚“ãŒã€ãŸã¶ã‚“å‹•ãã‚“ã˜ã‚ƒãªã„ã§ã—ょã†ã‹ã€‚

 # ã‚‚ã—è¦æœ›ãŒå¤šã„よã†ãªã‚‰ã€experimental-jp ã«ã§ã‚‚ç½®ã„ã¦ãŠãã¨ã„ã„ã‹ã‚‚。
 # ã§ã‚‚パッãƒå½“ã¦ã¦ build ã¨ã‹ã‚„らãªããªã£ã¦ã‚‹ã ã‚ã†ã‹ã‚‰ã€ãŸã¾ã«ã¯
 # ã‚„ã£ã¦ã¿ã¾ã—ょã†ã¨ã„ã†æ„味ã§ãƒ‘ッãƒã ã‘æµã™ã¨ã„ã†ã®ã‚‚アリã‹ã‚‚。

 ==== 以下ã€enable jpconflict support ãªãƒ‘ッム(diff.jpconflict) ===
diff -ruN gs-5.10.old/debian/changelog gs-5.10/debian/changelog
--- gs-5.10.old/debian/changelog	Fri Nov  3 17:49:18 2000
+++ gs-5.10/debian/changelog	Fri Nov  3 17:52:56 2000
@@ -1,3 +1,9 @@
+gs (5.10-9.1.0.jpconflit.1) stable-jp; urgency=low
+
+  * enable jpconflict and disable hp8xx support.
+
+ -- Taketoshi Sano <sano@debian.org>  Fri,  3 Nov 2000 10:25:26 +0900
+
 gs (5.10-9.1) frozen; urgency=low
 
   * Applied patch from David Huggins-Daines to fix misalignment problems
diff -ruN gs-5.10.old/debian/patches/jpconflict gs-5.10/debian/patches/jpconflict
--- gs-5.10.old/debian/patches/jpconflict	Fri Nov  3 17:49:18 2000
+++ gs-5.10/debian/patches/jpconflict	Fri Nov  3 17:59:56 2000
@@ -1,22 +1,34 @@
-define patch-jpconflict
-	-sh contrib/jpdrivers/scripts/copy_conflicts.sh
-	-patch -Nsi contrib/jpdrivers/diffs/diff.conflict.devs.mak
-	debian/addentry gcc-head.mak DEVICE_DEVS4 \
-		cdj670.dev cdj850.dev cdj880.dev cdj890.dev cdj1600.dev
-	debian/addentry gcc-head.mak DEVICE_DEVS1 \
-		lips2p.dev bjc880j.dev lips4.dev escpage.dev \
-		lp2000.dev npdl.dev
-	debian/addentry --remove gcc-head.mak DEVICE_DEVS1 lbp8.dev lips3.dev
-endef
+ifeq ($(jpconflict-support), yes)
 
-define clean-jpconflict
-	-patch -NRsi contrib/jpdrivers/diffs/diff.conflict.devs.mak
-	debian/addentry --remove gcc-head.mak DEVICE_DEVS4 \
+APPLY_PATCHES	:= $(APPLY_PATCHES) patch-jpconflict
+UNAPPLY_PATCHES	:= unpatch-jpconflict $(UNAPPLY_PATCHES)
+
+patch-jpconflict:	patch-jpconflict-stamp
+patch-jpconflict-stamp:
+	@echo -n Adding jpconflict support...
+	@sh contrib/jpdrivers/scripts/copy_conflicts.sh
+	@patch -Nsi contrib/jpdrivers/diffs/diff.conflict.devs.mak
+	@debian/addentry gcc-head.mak DEVICE_DEVS4 \
 		cdj670.dev cdj850.dev cdj880.dev cdj890.dev cdj1600.dev
-	debian/addentry --remove gcc-head.mak DEVICE_DEVS1 \
+	@debian/addentry gcc-head.mak DEVICE_DEVS1 \
 		lips2p.dev bjc880j.dev lips4.dev escpage.dev \
 		lp2000.dev npdl.dev
-	debian/addentry gcc-head.mak DEVICE_DEVS1 lbp8.dev lips3.dev
-	-sh contrib/jpdrivers/scripts/remove_conflicts.sh
-endef
+	@debian/addentry --remove gcc-head.mak DEVICE_DEVS1 lbp8.dev lips3.dev
+	@touch $@
+	@echo done
 
+unpatch-jpconflict:
+	@echo -n Removing jpconflict support...
+	@if [ -f patch-jpconflict-stamp ]; then			\
+	  patch -NRsi contrib/jpdrivers/diffs/diff.conflict.devs.mak; \
+	  debian/addentry --remove gcc-head.mak DEVICE_DEVS4 \
+		cdj670.dev cdj850.dev cdj880.dev cdj890.dev cdj1600.dev; \
+	  debian/addentry --remove gcc-head.mak DEVICE_DEVS1 \
+		lips2p.dev bjc880j.dev lips4.dev escpage.dev \
+		lp2000.dev npdl.dev; \
+	  debian/addentry gcc-head.mak DEVICE_DEVS1 lbp8.dev lips3.dev; \
+	  sh contrib/jpdrivers/scripts/remove_conflicts.sh; \
+        fi
+	@echo done
+	@rm -f patch-jpconflict-stamp
+endif
diff -ruN gs-5.10.old/debian/rules gs-5.10/debian/rules
--- gs-5.10.old/debian/rules	Fri Nov  3 17:49:18 2000
+++ gs-5.10/debian/rules	Fri Nov  3 17:52:56 2000
@@ -17,7 +17,7 @@
 INCLUDE_GPL	= yes
 INCLUDE_LGPL	= yes
 
-hp8xx-support		= $(INCLUDE_GPL)
+# hp8xx-support		= $(INCLUDE_GPL)
 kanji-support		= $(INCLUDE_GPL)
 jpdrivers-support	= $(INCLUDE_GPL)
 lexmark-support		= $(INCLUDE_GPL)
@@ -26,7 +26,7 @@
 # Uncomment following line for conflicted jpdrivers support. 
 # Be sure to disable hp8xx-support and enable jpdrivers support.
 # Also make sure that you can not use original lips3 device.
-# jpconflict-support	= INCLUDE_GPL
+jpconflict-support	= $(INCLUDE_GPL)
 
 # If your architecture has svgalib support, add it to this list
 svgalib-archs	= i386
@@ -63,9 +63,10 @@
 INSTALL_PATCHES		:=
 
 include debian/patches/svgalib
-include debian/patches/hp8xx
+# include debian/patches/hp8xx
 include debian/patches/kanji
 include debian/patches/jpdrivers
+include debian/patches/jpconflict
 include debian/patches/lexmark
 include debian/patches/hpdj
 


-- 
     # (ã‚ãŸã—ã®ãŠã†ã¡ã¯æµœæ¾å¸‚ã€ã€Œå¤œã®ãŠè“å­ã€ã§æœ‰åã•ã€‚)
    <kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ­¦ä¿Š)