pkgsrc-Users archive

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

Re: CVS commit: pkgsrc/print/gutenprint-lib



On Sat, Dec 20, 2008 at 01:20:30AM +0000, Greg Troxel wrote:
> 
> Module Name:  pkgsrc
> Committed By: gdt
> Date:         Sat Dec 20 01:20:30 UTC 2008
> 
> Modified Files:
>       pkgsrc/print/gutenprint-lib: Makefile PLIST
> 
> Log Message:
> Fix PLIST.

The fix is IMHO not complete:

- These @dirrm are missing:

 @dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2/weaves
 @dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2/qualitypresets
 @dirrm share/gutenprint/${INSTALLVERSION}/xml/escp2/inks

- And I have a lot of gutenprint_XX.po files in /usr/pkg when I
  installed gutenprint51-lib:

 share/locale/cs/gutenprint_cs.po
 share/locale/da/gutenprint_da.po
 share/locale/de/gutenprint_de.po
 share/locale/el/gutenprint_el.po
 share/locale/en_GB/gutenprint_en_GB.po
 share/locale/es/gutenprint_es.po
 share/locale/fr/gutenprint_fr.po
 share/locale/hu/gutenprint_hu.po
 share/locale/it/gutenprint_it.po
 share/locale/ja/gutenprint_ja.po
 share/locale/nb/gutenprint_nb.po
 share/locale/nl/gutenprint_nl.po
 share/locale/pl/gutenprint_pl.po
 share/locale/pt/gutenprint_pt.po
 share/locale/sk/gutenprint_sk.po
 share/locale/sv/gutenprint_sv.po
 share/locale/zh_TW/gutenprint_zh_TW.po

Btw, you could add the attached patch to fix the compile problem
with gcc 3.
Only two file are affected by that compile problem, but I see no
reall benifit for using -O6 or -O3:
 src/main/print-escp2.c
 src/gutenprintui2/panel.c

Bernd

$NetBSD$

--- ./configure.orig    2008-11-14 13:49:21.000000000 +0100
+++ ./configure 2008-12-19 21:23:35.000000000 +0100
@@ -26682,7 +26682,7 @@
 
   else
 
-  for stp_ac_arg in -O6 -O3 -O2 -O1 -O ; do
+  for stp_ac_arg in -O2 -O1 -O ; do
     stp_ac_save_CFLAGS="${CFLAGS}"
 
   { echo "$as_me:$LINENO: checking if ${CC} supports ${stp_ac_arg}" >&5
@@ -31879,6 +31879,8 @@
   case $ac_option in
   # Handling of the options.
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+       : Avoid regenerating within pkgsrc
+       exit 0
     ac_cs_recheck=: ;;
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     echo "$ac_cs_version"; exit ;;


Home | Main Index | Thread Index | Old Index