1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

* Fix detection of *.euc locales [1]

* Use intlhack
* Remove trailing whitespace from pkg-message

PR:		63671
Submitted by:	KAWATA Masahiko <kawata@mta.biglobe.ne.jp>
This commit is contained in:
Joe Marcus Clarke 2004-03-06 07:28:00 +00:00
parent 47fb8aaa22
commit 59e00ec626
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103070
2 changed files with 13 additions and 12 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gdm2
PORTVERSION= 2.4.4.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.4
@ -19,8 +19,9 @@ COMMENT= GNOME 2 version of xdm display manager
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_REINPLACE= yes
USE_GMAKE= yes
USE_GNOME= gnomeprefix gnomehack gnomehier libgnomeui librsvg2
USE_GNOME= gnomeprefix intlhack gnomehack gnomehier libgnomeui librsvg2
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@ -42,9 +43,9 @@ post-extract:
${FILESDIR}/gdm.sh.sample > ${WRKSRC}/gdm.sh.sample
post-patch:
${FIND} ${WRKSRC} -name "intltool-merge.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|mkdir $$lang or|mkdir $$lang, 0777 or| ; \
s|^push @INC, "/.*|push @INC, "${LOCALBASE}/share/intltool";|'
.if ${OSVERSION} >= 450002 && ${OSVERSION} < 500000 || ${OSVERSION} >= 500020
@${REINPLACE_CMD} -E -e 's/(..)\.EUC/\1.euc\1/' ${WRKSRC}/config/locale.alias
.endif
post-install:
.if !defined(PACKAGE_BUILDING)

View File

@ -1,18 +1,18 @@
GDM is installed.
Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm
hanging or restarting constantly. Instead, copy the included gdm.sh.sample
Do _NOT_ use /etc/ttys to start gdm at boot time. This will result in gdm
hanging or restarting constantly. Instead, copy the included gdm.sh.sample
script to gdm.sh, and restart. This script is found, by default, in
/usr/X11R6/etc/rc.d.
GDM uses its own locale.alias file to determine its language and especially
the GNOME-2 fontencoding. This file is located, by default, in
/usr/X11R6/etc/gdm/locale.alias. By default, the character set for every
county using the EURO currency is set to ISO8859-15 in order to enable the
EURO sign. If you don't feel comfortable with this, edit this file according
the GNOME-2 fontencoding. This file is located, by default, in
/usr/X11R6/etc/gdm/locale.alias. By default, the character set for every
county using the EURO currency is set to ISO8859-15 in order to enable the
EURO sign. If you don't feel comfortable with this, edit this file according
to your preferences.
If you are running 5.x and you are running 5.1-RELEASE or earlier, GDM will
If you are running 5.x and you are running 5.1-RELEASE or earlier, GDM will
fail to work due to a bug in OpenPAM. You can download a patch from
http://www.FreeBSD.org/~marcus/pam_get_user.c.diff. You must also have the
FreeBSD src tree on your system. Do the following to apply the patch: