NetBSD Problem Report #26841

Received: (qmail 6249 invoked by uid 605); 3 Sep 2004 17:23:09 -0000
Message-Id: <20040903172148.13A106B3CA@frohike.nvie.com>
Date: Fri, 03 Sep 2004 19:21:48 +0200 (CEST)
From: Peter.Bex@student.kun.nl
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: Peter.Bex@student.kun.nl
To: gnats-bugs@gnats.NetBSD.org
Subject: wm/enlightenment doesn't install documentation (patch included)
X-Send-Pr-Version: 3.95

>Number:         26841
>Category:       pkg
>Synopsis:       wm/enlightenment doesn't install documentation (patch included)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 03 17:24:00 +0000 2004
>Closed-Date:    
>Last-Modified:  Sat Dec 23 16:04:11 +0000 2006
>Originator:     
>Release:        NetBSD 2.0_BETA
>Organization:

>Environment:


System: NetBSD frohike.nvie.com 2.0_BETA NetBSD 2.0_BETA (FROHIKE) #0: Tue Aug 24 22:02:00 CEST 2004 sjamaan@frohike.nvie.com:/usr/src/sys/arch/i386/compile/FROHIKE i386
Architecture: i386
Machine: i386
>Description:
	wm/enlightenment doesn't install documentation.
	Since the previous release, enlightenment's documentation is a
	separate tarball.  There is one small problem though:  without the
	documentation, the help browser (edox) does not work correctly
	because there are no images for prev/next and close buttons.

	This causes problems with among others wip/epplets, where every
	epplet has its own help files.  These can't be viewed correctly,
	and the help browser has to be forcibly closed.

	Patch and additional files included here to update the pkg.

	Another option would be to create a new enlightenment-docs pkg.
	IMHO it is better to have wm/enlightenment install the
	documentation, since Enlightenment's help viewer is a bit broken
	without the necessary documentation files.
>How-To-Repeat:
	Try to open the help.  Won't work.  Install wip/epplets, run any
	epplet which works and click the help button.
>Fix:

NEW FILES:
----------

patches/patch-ad:
===================================================================
$NetBSD$

--- ../enlightenment-docs-0.16.7/E-docs/MAIN.ja.orig	2004-03-11 20:23:40.000000000 +0100
+++ ../enlightenment-docs-0.16.7/E-docs/MAIN.ja
@@ -764,7 +764,7 @@ _デスクトップ(desktops) のドキュメントに
 <page columns=1 padding=16 name=iconbox3 background=Edoc_bg.png linkcolor=#88dddd>
 <font face="-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0208.1983-0,-misc-fixed-medium-r-normal--14-*-*-*-*-*-jisx0201.1976-0" color=#ffffff>
 <p>
-アイコンボックスにあるアイコンに使われるイメージをカスタマイズしたいなら、設定の例がすでに用意されています。独自の設定をするには、 Enlightenment のシステム設定ディレクトリにある icondefs.cfg ファイル (/usr/local/enlightenment/config/icondefs.cfgか/usr/share/enlightenment/config/icondefs.cfg あるいは /usr/X11R6/share/enlightenment/config/icondefs.cfg) を ~/.enlightenment ディレクトリにコピーして編集します。それぞれの行には4つのフィールドがあります。最初のフィールドは使用されるイメージファイルです。イメージファイルの絶対パスでなければ、通常の検索パスで検索されます。検索パスの順序は ~/.enlightennent、THEME_DIR/、 ENLIGHTENMENT_ROOT/config です。
+アイコンボックスにあるアイコンに使われるイメージをカスタマイズしたいなら、設定の例がすでに用意されています。独自の設定をするには、 Enlightenment のシステム設定ディレクトリにある icondefs.cfg ファイル (@PREFIX@/share/enlightenment/config/icondefs.cfg) を ~/.enlightenment ディレクトリにコピーして編集します。それぞれの行には4つのフィールドがあります。最初のフィールドは使用されるイメージファイルです。イメージファイルの絶対パスでなければ、通常の検索パスで検索されます。検索パスの順序は ~/.enlightennent、THEME_DIR/、 ENLIGHTENMENT_ROOT/config です。
 <p>
 次のフィールドはウィンドウのタイトルにマッチさせるシェルの正規表現です。このフィールドに何もなければ、かわりに NULL が使われます。つまり有効な正規表現は "*" だけになります。3番目のフィールドはウィンドウの NAME プロパティで4番目は CLASS です。検索の優先順位は最後から最初ですので、ウィンドウのタイトル、名前、クラスにマッチする、ファイルの最後のエントリがはじめの行で定義されたアイコンイメージに使われます。
===================================================================

patches/patch-ae:
===================================================================
$NetBSD$

--- ../enlightenment-docs-0.16.7/E-docs/MAIN.orig	2004-07-12 17:11:15.000000000 +0200
+++ ../enlightenment-docs-0.16.7/E-docs/MAIN
@@ -971,8 +971,8 @@ Iconbox location.
 If you want to customize the images used for the icons in your iconbox, there 
 is already an example configuration supplied. To make your own configuration
 copy the icondefs.cfg file installed in your Enlightenment system config 
-directory (/usr/local/enlightenment/config/icondefs.cfg or 
-/usr/share/enlightenment/config/icondefs.cfg) to your ~/.enlightenment 
+directory (@PREFIX@/share/enlightenment/config/icondefs.cfg) to your
+~/.enlightenment 
 directory and then edit it. On each line you will find 4 fields. The first
 field is the image file to be used. The image is searched for in the usual 
 search path if it is not an absolute path to the image file. The search path
===================================================================

patches/patch-af:
===================================================================
$NetBSD$

--- ../enlightenment-docs-0.16.7/E-docs/MAIN.pl.orig	2004-03-11 20:23:44.000000000 +0100
+++ ../enlightenment-docs-0.16.7/E-docs/MAIN.pl
@@ -961,8 +961,8 @@ twojego pudeka na ikony. 
 Jeli chcesz dostosowa obrazki uywane jako ikony w Twoim pudeku, dostpny
 jest przykadowy plik konfiguracyjny. Swoj wasn konfiguracj moesz
 stworzyc przez skopiowanie pliku icondefs.cfg z katalogu systemowego Enlightenment
-(/usr/local/enlightenment/config/icondefs.cfg lub 
-/usr/share/enlightenment/config/icondefs.cfg) do swojego katalogu ~/.enlightenment
+(@PREFIX@/share/enlightenment/config/icondefs.cfg) do swojego katalogu
+~/.enlightenment
 i jego edycj. W kadej lini znajduj si 4 pola. Pierwsze z nich to nazwa pliku 
 graficznego, ktry ma by uyty. Jeli podana ciekla nie jest absolutna, uywane s
 nastpujce katalogi - w kolejnoci: ~/.enlightenment, THEME_DIR/, 
===================================================================




PATCHES:
--------

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/wm/enlightenment/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile	26 Aug 2004 20:22:18 -0000	1.22
+++ Makefile	3 Sep 2004 17:08:06 -0000
@@ -4,11 +4,18 @@
 DISTNAME=		enlightenment-0.16.7.1
 CATEGORIES=		x11 gnome wm
 MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=enlightenment/}
+DISTFILES=		${E_FILES} ${EDOC_FILES}

 MAINTAINER=		tech-pkg@NetBSD.org
 HOMEPAGE=		http://www.enlightenment.org/
 COMMENT=		Highly themeable and configurable window manager

+E_FILES=		${DISTNAME}${EXTRACT_SUFX}
+EDOC_NAME=		enlightenment-docs-0.16.7
+EDOC_FILES=		${EDOC_NAME}.tar.gz
+EDOC_DIR=		${WRKDIR}/${EDOC_NAME}
+EDOC_INSTDIR=		${PREFIX}/share/enlightenment/E-docs
+
 USE_BUILDLINK3=		YES
 USE_X11=		YES
 USE_PERL5=		YES
@@ -32,6 +39,9 @@
 SUBST_CLASSES+=		paths
 SUBST_STAGE.paths=	pre-configure
 SUBST_FILES.paths=	scripts/e_gen_menu
+SUBST_FILES.paths+=	../${EDOC_NAME}/E-docs/MAIN
+SUBST_FILES.paths+=	../${EDOC_NAME}/E-docs/MAIN.jp
+SUBST_FILES.paths+=	../${EDOC_NAME}/E-docs/MAIN.pl

 SUBST_SED.paths=	-e 's,@LOCALBASE@,${LOCALBASE},g'
 SUBST_SED.paths+=	-e 's,@PREFIX@,${PREFIX},g'
@@ -46,6 +56,12 @@
 	${FIND} ${PREFIX}/share/enlightenment/themes -type f -print | \
 	${XARGS} ${CHMOD} ${SHAREMODE}

+	${INSTALL_DATA_DIR} ${EDOC_INSTDIR}
+	cd ${EDOC_DIR}/E-docs && for FILE in *; do \
+		${ECHO} installing ${EDOC_INSTDIR}/$${FILE}; \
+		${INSTALL_DATA} $${FILE} ${EDOC_INSTDIR}/$${FILE}; \
+	done
+
 .include "../../audio/esound/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../graphics/freetype2/buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/wm/enlightenment/PLIST,v
retrieving revision 1.6
diff -u -r1.6 PLIST
--- PLIST	26 Aug 2004 20:22:18 -0000	1.6
+++ PLIST	3 Sep 2004 17:08:07 -0000
@@ -6,6 +6,69 @@
 bin/starte16
 etc/X11/dm/Sessions/enlightenment.desktop
 man/man1/enlightenment.1
+share/enlightenment/E-docs/E_app_menu.png
+share/enlightenment/E-docs/E_app_rightmouse_menu.png
+share/enlightenment/E-docs/E_area_settings.png
+share/enlightenment/E-docs/E_audio_settings.png
+share/enlightenment/E-docs/E_autoraise_settings.png
+share/enlightenment/E-docs/E_backgrounds_menu.png
+share/enlightenment/E-docs/E_backgrounds_menu_view.png
+share/enlightenment/E-docs/E_backgrounds_settings.pl.png
+share/enlightenment/E-docs/E_backgrounds_settings.png
+share/enlightenment/E-docs/E_border_selector.png
+share/enlightenment/E-docs/E_deskarray.png
+share/enlightenment/E-docs/E_deskimg.png
+share/enlightenment/E-docs/E_deskstack.png
+share/enlightenment/E-docs/E_dragbar.png
+share/enlightenment/E-docs/E_dragging_desktops.png
+share/enlightenment/E-docs/E_enlightenment_menu.png
+share/enlightenment/E-docs/E_focus_settings.png
+share/enlightenment/E-docs/E_group_settings.png
+share/enlightenment/E-docs/E_groups_menu.png
+share/enlightenment/E-docs/E_iconbox.png
+share/enlightenment/E-docs/E_iconbox_menu.png
+share/enlightenment/E-docs/E_iconbox_settings.png
+share/enlightenment/E-docs/E_kde_settings.png
+share/enlightenment/E-docs/E_keyboard.png
+share/enlightenment/E-docs/E_logo-old.png
+share/enlightenment/E-docs/E_logo.png
+share/enlightenment/E-docs/E_maint_menu.png
+share/enlightenment/E-docs/E_mouse.png
+share/enlightenment/E-docs/E_mousewheel.png
+share/enlightenment/E-docs/E_move_resize_settings.png
+share/enlightenment/E-docs/E_pager.png
+share/enlightenment/E-docs/E_pager_settings.png
+share/enlightenment/E-docs/E_pager_settings_menu.png
+share/enlightenment/E-docs/E_placement_settings.png
+share/enlightenment/E-docs/E_remember_settings.png
+share/enlightenment/E-docs/E_screen_start.png
+share/enlightenment/E-docs/E_settings_menu.png
+share/enlightenment/E-docs/E_special_fx_settings.png
+share/enlightenment/E-docs/E_tooltip_settings.png
+share/enlightenment/E-docs/E_tooltips.png
+share/enlightenment/E-docs/E_virtual_desk_settings.png
+share/enlightenment/E-docs/E_website.png
+share/enlightenment/E-docs/E_window.png
+share/enlightenment/E-docs/E_window_diagram.pl.png
+share/enlightenment/E-docs/E_window_diagram.png
+share/enlightenment/E-docs/Edoc_bg.png
+share/enlightenment/E-docs/FIRST_0.16
+share/enlightenment/E-docs/MAIN
+share/enlightenment/E-docs/MAIN.ja
+share/enlightenment/E-docs/MAIN.pl
+share/enlightenment/E-docs/Makefile
+share/enlightenment/E-docs/Makefile.am
+share/enlightenment/E-docs/Makefile.in
+share/enlightenment/E-docs/Verah___.ttf
+share/enlightenment/E-docs/aircut3.ttf
+share/enlightenment/E-docs/exit1.xpm
+share/enlightenment/E-docs/exit2.xpm
+share/enlightenment/E-docs/next1.xpm
+share/enlightenment/E-docs/next2.xpm
+share/enlightenment/E-docs/prev1.xpm
+share/enlightenment/E-docs/prev2.xpm
+share/enlightenment/E-docs/rothwell.ttf
+share/enlightenment/E-docs/title.xpm
 share/enlightenment/config/actionclasses.cfg
 share/enlightenment/config/actionclasses.cfg.ja
 share/enlightenment/config/actionclasses.cfg.ko
@@ -511,6 +574,7 @@
 @dirrm share/enlightenment/misc
 @dirrm share/enlightenment/config/pix
 @dirrm share/enlightenment/config
+@dirrm share/enlightenment/E-docs
 @dirrm share/enlightenment
 @dirrm etc/X11/dm/Sessions
 @dirrm etc/X11/dm
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/wm/enlightenment/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	26 Aug 2004 20:22:18 -0000	1.7
+++ distinfo	3 Sep 2004 17:08:07 -0000
@@ -2,6 +2,11 @@

 SHA1 (enlightenment-0.16.7.1.tar.gz) = df5fe1527ac1aa5273b8a39aafec06a67673d9ee
 Size (enlightenment-0.16.7.1.tar.gz) = 1791137 bytes
-SHA1 (patch-aa) = 21772995ff370c81073b4c0dfd7f3182bab93768
+SHA1 (enlightenment-docs-0.16.7.tar.gz) = a585c5d34e25a7dc803b95b970372d01ceba94b6
+Size (enlightenment-docs-0.16.7.tar.gz) = 2177700 bytes
+SHA1 (patch-aa) = 20b268139eaf530d711bcf68c855c94aadcd90b9
 SHA1 (patch-ab) = ccc73e4dfa8f0624f285a66e9246355642120cf4
 SHA1 (patch-ac) = a7dc0765aefe409643d765d97236098f8a8ca88b
+SHA1 (patch-ad) = 4c458e2a659e05d3e16e2099fade23215501d086
+SHA1 (patch-ae) = 967057b36582091eb2b1f4a43e217dd0d0e80a6a
+SHA1 (patch-af) = 6f1a2689f90eff4f2a19860fcab118fd5d3811e2
Index: patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/wm/enlightenment/patches/patch-aa,v
retrieving revision 1.5
diff -u -r1.5 patch-aa
--- patches/patch-aa	26 Aug 2004 20:22:18 -0000	1.5
+++ patches/patch-aa	3 Sep 2004 17:08:07 -0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.5 2004/08/26 20:22:18 recht Exp $
+$NetBSD$

---- dox/file.c.orig	2004-07-01 20:51:46.000000000 +0200
+--- dox/file.c.orig	2004-07-25 11:46:11.000000000 +0200
 +++ dox/file.c
 @@ -26,6 +26,11 @@
  # include <wctype.h>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback
State-Changed-By: obache@netbsd.org
State-Changed-When: Sun, 03 Dec 2006 04:49:02 +0000
State-Changed-Why:
Now, enlightenment was updated and contain following files:
share/e16/E-docs/exit1.png
share/e16/E-docs/exit2.png
share/e16/E-docs/next1.png
share/e16/E-docs/next2.png
share/e16/E-docs/prev1.png
share/e16/E-docs/prev2.png
share/e16/E-docs/title.png

Does problem still exists?


From: Peter Bex <Peter.Bex@xs4all.nl>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/26841 (wm/enlightenment doesn't install documentation (patch included))
Date: Sat, 23 Dec 2006 16:41:18 +0100

 --eWmFpGZayiNrn4FL
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 Unfortunately, when I run e16 now, I get an error:
 /usr/pkg/bin/e16: Undefined PLT symbol "imlib_context_set_mask_alpha_threshold" (symnum = 307)
 Apparently something's wrong with imlib.
 This is on NetBSD/macppc CURRENT from 15 October.

 Also, when installing from binary package, I get an error that
 it can't install
 /usr/pkg/etc/X11/dm/Sessions/e16.desktop
 The directory /usr/pkg/etc/X11 does not exist.  I suppose this
 directory needs to be created in PLIST.

 Regards,
 Peter

 --eWmFpGZayiNrn4FL
 Content-Type: application/pgp-signature
 Content-Disposition: inline

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (NetBSD)

 iQEVAwUBRY1OHdOrBFwYag3gAQIsNAf/W5gYvP8krJ/+/8noxLWUYg4MLs4TFifk
 8BRNqAv6vxMlJHkokHTp+S6EnE9yfs9ZHqYfz5K9LerBUAm5OAh9pM1rgPu55PKi
 LPLg+1TRIw+rDFjC6aiqY0vOrR85zokkH/5ERKLDrk+p9xM4VfOnALV2KuBk0hvE
 fllbo9BEGusdMO0768YX6c8ULKScppwD6o26uWEt7KrvMxng7muNtE2aXW7/1Duj
 pg3Zqjo4gaoGJkxWslrz4Zd2/3kVA9ypn2T4YjCsVxlyWTzjun9/aatd2d+lgi1y
 mmlXmtfNh3ur8Nek1NLU3b31NN4SHMsIFpCcvCh5a/X+1Wn6JDUuaw==
 =Rz0g
 -----END PGP SIGNATURE-----

 --eWmFpGZayiNrn4FL--

State-Changed-From-To: feedback->open
State-Changed-By: joerg@netbsd.org
State-Changed-When: Sat, 23 Dec 2006 16:04:11 +0000
State-Changed-Why:
Missing REQD_DIRS + undefined symbol in/from shared library


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.