SUNWgnome-display-mgr.spec
author daniell
Wed, 13 Oct 2010 16:43:58 +0000
branchopensolaris-2009-06
changeset 20159 f18a6979f732
parent 14074 77ae92ba9c5c
permissions -rw-r--r--
6965295 [CVE-2010-1205/CVE-2010-2249] Multiple security issues in libpng 1.2 versions before 1.2.44
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-display-mgr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
# includes module(s): gdm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     5
#
11404
e337d7b2409c 2008-01-07 Brian Cameron <[email protected]>
yippi
parents: 10652
diff changeset
     6
# Copyright 2008 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
# Owner: yippi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
%include Solaris.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    14
%use gdm = gdm.spec
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    15
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    16
Name:                    SUNWgnome-display-mgr
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
Summary:                 GNOME display manager
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Source:                  %{name}-manpages-0.1.tar.gz
11532
6ae6340e5963 Minor cleanup in comments.
yippi
parents: 11478
diff changeset
    20
Source1:                 gdm.xml
14005
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
    21
Source2:                 svc-gdm
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
SUNW_BaseDir:            %{_basedir}
11937
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 11532
diff changeset
    23
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
BuildRequires: SUNWlibrsvg-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
BuildRequires: SUNWgnome-base-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
BuildRequires: SUNWlibcroco
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRequires: SUNWlibpopt-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
BuildRequires: SUNWlibrsvg-devel
10569
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    34
%if %option_without_fox
9733
930bbb42830b 2007-04-12 Brian Cameron <[email protected]>
yippi
parents: 9506
diff changeset
    35
#
930bbb42830b 2007-04-12 Brian Cameron <[email protected]>
yippi
parents: 9506
diff changeset
    36
# GDM's configure depends on Xephyr to be installed so it properly
930bbb42830b 2007-04-12 Brian Cameron <[email protected]>
yippi
parents: 9506
diff changeset
    37
# sets Xnest configure option.
930bbb42830b 2007-04-12 Brian Cameron <[email protected]>
yippi
parents: 9506
diff changeset
    38
BuildRequires: SUNWxorg-server
10569
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    39
Requires: SUNWxorg-server
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    40
Requires: SUNWxwplt
10618
2d62bd6b3b3b 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10569
diff changeset
    41
%else
2d62bd6b3b3b 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10569
diff changeset
    42
# if SUNWxwplt is installed, then configure finds /usr/X11/bin/Xserver
2d62bd6b3b3b 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10569
diff changeset
    43
# instead of /usr/X11/bin/Xorg
2d62bd6b3b3b 2007-10-07 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10569
diff changeset
    44
BuildConflicts: SUNWxwplt
10569
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    45
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
Requires: SUNWlibms
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
Requires: SUNWlibpopt
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
Requires: SUNWgnome-base-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
Requires: SUNWgnome-libs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
Requires: SUNWgnome-display-mgr-root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
Requires: SUNWgnome-dialog
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
Requires: SUNWlibrsvg
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
Requires: SUNWlxml
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    54
Requires: SUNWlibcroco
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
Requires: SUNWpostrun
10569
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    56
%if %option_with_dt
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    57
Requires: SUNWgnome-dtlogin-integration
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    58
%else
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    59
Requires: SUNWgnome-dtstart
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    60
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%package root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
Summary:                 %{summary} - / filesystem
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
SUNW_BaseDir:            /
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    66
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    67
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    68
%package l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    69
Summary:                 %{summary} - l10n files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
SUNW_BaseDir:            %{_basedir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
%include default-depend.inc
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
Requires:                %{name}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
%prep
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
rm -rf %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77
mkdir %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
%gdm.prep -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    79
chmod -R u+w %{_builddir}/%name-%version/gdm-%{gdm.version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
cd %{_builddir}/%name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
gzcat %SOURCE0 | tar xf -
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
%build
12728
118427d41d8c 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12603
diff changeset
    84
export LDFLAGS="%_ldflags -L/usr/openwin/lib -lXau -R/usr/openwin/lib -R/usr/sfw/lib"
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    85
export PKG_CONFIG_PATH=%{_pkg_config_path}
10652
d89abbc7f788 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10618
diff changeset
    86
X11_CFLAGS=
d89abbc7f788 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10618
diff changeset
    87
pkg-config --exists x11 && X11_CFLAGS=`pkg-config --cflags x11`
d89abbc7f788 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10618
diff changeset
    88
export CFLAGS="%optflags $X11_CFLAGS"
14074
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    89
#FIXME:
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    90
# This is to fix CR #6781266 -gdmsetup fails to startup when compiled with -xO3
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    91
# or higher, it is actually compiler bug, CR #6781229.
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    92
# Current workaround is adding -W2,-Rcond_elim to CFLAGS in non-debug mode.
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    93
# Remove the logic after CR#6781229 is fixed
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    94
%if %debug_build
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    95
%else
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    96
export CFLAGS="$CFLAGS -W2,-Rcond_elim"
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
    97
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    98
export RPM_OPT_FLAGS="$CFLAGS"
10569
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
    99
%if %option_without_dt
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
   100
export GDMGNOMESESSIONCMD="/usr/bin/dtstart jds"
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
   101
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   102
%gdm.build -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   103
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   104
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   105
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   106
%gdm.install -d %name-%version
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   107
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   108
rm -rf $RPM_BUILD_ROOT%{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   109
cd %{_builddir}/%name-%version/sun-manpages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   110
make install DESTDIR=$RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   111
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   112
install -d $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login
11532
6ae6340e5963 Minor cleanup in comments.
yippi
parents: 11478
diff changeset
   113
install --mode=0444 %SOURCE1 $RPM_BUILD_ROOT/var/svc/manifest/application/graphical-login
14005
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   114
install -d $RPM_BUILD_ROOT/lib/svc/method
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   115
cp %SOURCE2 $RPM_BUILD_ROOT/lib/svc/method/
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   116
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   117
rmdir $RPM_BUILD_ROOT/etc/X11/dm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   118
rmdir $RPM_BUILD_ROOT/etc/pam.d
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   119
12243
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   120
# The %{_datadir}/xsessions file contains two files: a gnome.desktop file
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   121
# and a CDE.desktop file.  We always want to delete the gnome.desktop
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   122
# file since it is now delivered by the gnome-session module.  If not
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   123
# shipping with CDE support, then remove the entire xsessions directory.
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   124
#
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   125
%if %option_with_dt
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   126
rm $RPM_BUILD_ROOT%{_datadir}/xsessions/gnome.desktop
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   127
%else
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   128
rm -fR $RPM_BUILD_ROOT%{_datadir}/xsessions
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   129
%endif
11478
af99b2737279 2008-01-17 Damien Carbery <[email protected]>
dcarbery
parents: 11404
diff changeset
   130
13901
422846cd6165 2008-10-29 Ghee Teo <[email protected]>
gheet
parents: 13598
diff changeset
   131
# Create the 'interface' directory so that user's session scripts can be
422846cd6165 2008-10-29 Ghee Teo <[email protected]>
gheet
parents: 13598
diff changeset
   132
# run by gdm and which are populated by other applications.
422846cd6165 2008-10-29 Ghee Teo <[email protected]>
gheet
parents: 13598
diff changeset
   133
install -d $RPM_BUILD_ROOT/%{_sysconfdir}/X11/xinit/xinitrc.d
422846cd6165 2008-10-29 Ghee Teo <[email protected]>
gheet
parents: 13598
diff changeset
   134
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   135
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   136
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   137
# REMOVE l10n FILES
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   138
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   139
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/*help/*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   140
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/gdm/*-[a-z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   141
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   142
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   143
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   144
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   145
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   146
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   147
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   148
%post
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   149
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   150
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   151
) | $BASEDIR/lib/postrun -b -u -c JDS_wait
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   152
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   153
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   154
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   155
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   156
%post root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   157
cat >> $BASEDIR/var/svc/profile/upgrade <<\EOF
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   158
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   159
# We changed gdm's FMRI.  If the old service exists and is enabled,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   160
# disable it and enable the new one.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   161
gdm=svc:/application/gdm2-login:default
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   162
if svcprop -q $gdm; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   163
	set -- `svcprop -C -t -p general/enabled $gdm`
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   164
	if [ $? -ne 0 ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   165
		echo "Could not read whether $gdm was enabled."
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   166
	elif [ $2 != boolean ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   167
		echo "general/enabled property of $gdm has bad type."
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   168
	elif [ $# -ne 3 ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   169
		echo "general/enabled property of $gdm has the wrong number\c"
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   170
		echo " of values."
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   171
	elif [ $3 = true ]; then
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   172
		svcadm disable $gdm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   173
		svcadm enable svc:/application/graphical-login/gdm:default
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   174
	fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   175
fi
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   176
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   177
EOF
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   178
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   179
%postun
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   180
test -x $BASEDIR/lib/postrun || exit 0
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   181
( echo 'test -x /usr/bin/update-desktop-database || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   182
  echo '/usr/bin/update-desktop-database'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   183
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   184
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0';
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   185
  echo '/usr/bin/scrollkeeper-update'
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   186
) | $BASEDIR/lib/postrun -b -u -c JDS
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   187
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   188
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   189
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   190
%dir %attr (0755, root, bin) %{_bindir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   191
%{_bindir}/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   192
%dir %attr (0755, root, bin) %{_sbindir}
9506
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   193
%{_sbindir}/gdm
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   194
%{_sbindir}/gdm-binary
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   195
%{_sbindir}/gdm-restart
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   196
%{_sbindir}/gdm-safe-restart
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   197
%{_sbindir}/gdm-stop
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   198
%attr (0700, root, bin) %{_sbindir}/gdmsetup
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   199
%dir %attr (0755, root, bin) %{_libdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   200
%{_libdir}/gtk-2.0/modules/*.so
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   201
%{_libexecdir}/gdm*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   202
%dir %attr (0755, root, sys) %{_datadir}
13578
d19af398db35 2008-09-14 Brian Cameron <[email protected]>
yippi
parents: 12728
diff changeset
   203
%doc -d gdm-%{gdm.version} AUTHORS README
d19af398db35 2008-09-14 Brian Cameron <[email protected]>
yippi
parents: 12728
diff changeset
   204
%doc(bzip2) -d gdm-%{gdm.version} COPYING NEWS
13598
e6be6ecb4ab8 2008-09-16 Brian Cameron <[email protected]>
yippi
parents: 13578
diff changeset
   205
%doc(bzip2) -d gdm-%{gdm.version} ChangeLog po/ChangeLog docs/ChangeLog
13578
d19af398db35 2008-09-14 Brian Cameron <[email protected]>
yippi
parents: 12728
diff changeset
   206
%dir %attr (0755, root, other) %{_datadir}/doc
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   207
%{_datadir}/gdm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   208
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   209
%{_datadir}/gnome/help/gdm/C
14005
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   210
%dir %attr (0755, root, other) %{_datadir}/icons
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   211
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   212
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   213
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   214
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   215
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   216
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   217
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/apps
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   218
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   219
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   220
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   221
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   222
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   223
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/apps
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   224
%attr (-, root, other) %{_datadir}/icons/hicolor/16x16/apps/*
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   225
%attr (-, root, other) %{_datadir}/icons/hicolor/22x22/apps/*
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   226
%attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps/*
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   227
%attr (-, root, other) %{_datadir}/icons/hicolor/32x32/apps/*
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   228
%attr (-, root, other) %{_datadir}/icons/hicolor/48x48/apps/*
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   229
%attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps/*
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   230
%{_datadir}/omf/gdm/*-C.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   231
%dir %attr (0755, root, other) %{_datadir}/pixmaps
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   232
%{_datadir}/pixmaps/*
12243
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   233
# Include CDE desktop file if building with CDE.
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   234
%if %option_with_dt
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   235
%{_datadir}/xsessions
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   236
%endif
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   237
%dir %attr(0755, root, bin) %{_mandir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   238
%dir %attr(0755, root, bin) %{_mandir}/man1
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   239
%dir %attr(0755, root, bin) %{_mandir}/man1m
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   240
%{_mandir}/man1/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   241
%{_mandir}/man1m/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   242
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   243
%files root
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   244
%defattr (-, root, sys)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   245
%attr (0755, root, sys) %dir %{_sysconfdir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   246
%if %is_s10
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   247
%dir %attr (0755, root, other) %{_sysconfdir}/X11
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   248
%else
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   249
%dir %{_sysconfdir}/X11
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   250
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   251
%dir %{_sysconfdir}/X11/gdm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   252
%{_sysconfdir}/X11/gdm/Init
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   253
%{_sysconfdir}/X11/gdm/Post*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   254
%{_sysconfdir}/X11/gdm/Pre*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   255
%{_sysconfdir}/X11/gdm/X*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   256
%{_sysconfdir}/X11/gdm/gdmprefetchlist
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   257
%config %class(preserve) %{_sysconfdir}/X11/gdm/custom.conf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   258
%{_sysconfdir}/X11/gdm/locale.alias
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   259
%{_sysconfdir}/X11/gdm/modules
13901
422846cd6165 2008-10-29 Ghee Teo <[email protected]>
gheet
parents: 13598
diff changeset
   260
%dir %{_sysconfdir}/X11/xinit
422846cd6165 2008-10-29 Ghee Teo <[email protected]>
gheet
parents: 13598
diff changeset
   261
%dir %{_sysconfdir}/X11/xinit/xinitrc.d
14005
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   262
%dir %attr (0755, root, bin) /lib
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   263
%dir %attr (0755, root, bin) /lib/svc
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   264
%dir %attr (0755, root, bin) /lib/svc/method
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   265
%attr (0555, root, bin) /lib/svc/method/svc-gdm
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   266
# don't use %_localstatedir here, because this is an absolute path
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   267
# defined by another package, so it has to be /var/svc even if this
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   268
# package's %_localstatedir is redefined
11404
e337d7b2409c 2008-01-07 Brian Cameron <[email protected]>
yippi
parents: 10652
diff changeset
   269
%dir %attr (0755, root, sys) /var
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   270
/var/svc/*
11404
e337d7b2409c 2008-01-07 Brian Cameron <[email protected]>
yippi
parents: 10652
diff changeset
   271
%dir %attr (0755, root, sys) /var/log
e337d7b2409c 2008-01-07 Brian Cameron <[email protected]>
yippi
parents: 10652
diff changeset
   272
%dir %attr (0755, root, root) /var/log/gdm
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   273
%dir %attr (0755, root, other) %{_localstatedir}/lib
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   274
%dir %attr (1770, root, gdm) %{_localstatedir}/lib/gdm
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   275
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   276
%if %build_l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   277
%files l10n
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   278
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   279
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   280
%dir %attr (0755, root, other) %{_datadir}/gnome
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   281
%attr (-, root, other) %{_datadir}/locale
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   282
%{_datadir}/gnome/*help/*/[a-z]*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   283
%{_datadir}/omf/gdm/*-[a-z]*.omf
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   284
%endif
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   285
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   286
%changelog
14074
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
   287
* Fri Dec 05 2008 - [email protected]
77ae92ba9c5c 2008-12-07 Halton Huo <[email protected]>
halton
parents: 14005
diff changeset
   288
- Add workaround to fix CR #6781266 - gdmsetup fails to startup
14005
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   289
* Wed Nov 21 2008 - [email protected]
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   290
- Add /lib/svc/method/svc-gdm SMF method file so that the "stop" method
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   291
  doesn't cause errors on shutdown/restart.  Fix packaging permissions.
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   292
  Fix for doo bug #4887.
13901
422846cd6165 2008-10-29 Ghee Teo <[email protected]>
gheet
parents: 13598
diff changeset
   293
* Wed Oct 29 2008 - [email protected]
14005
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   294
- Added directory /etc/X11/xinit/xinitrc.d as part of the fix to 6755007 and
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   295
  also d.o.o #4097.
13578
d19af398db35 2008-09-14 Brian Cameron <[email protected]>
yippi
parents: 12728
diff changeset
   296
* Sun Sep 14 2008 - [email protected]
d19af398db35 2008-09-14 Brian Cameron <[email protected]>
yippi
parents: 12728
diff changeset
   297
- Add new copyright files.
12728
118427d41d8c 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12603
diff changeset
   298
* Tue Jun 24 2008 - [email protected]
118427d41d8c 2008-06-24 Damien Carbery <[email protected]>
dcarbery
parents: 12603
diff changeset
   299
- Remove "-lgailutil" from LDFLAGS. Root cause found in gtk+: bugzilla 536430.
12603
487365188422 2008-06-05 Damien Carbery <[email protected]>
dcarbery
parents: 12263
diff changeset
   300
* Thu Jun 05 2008 - [email protected]
487365188422 2008-06-05 Damien Carbery <[email protected]>
dcarbery
parents: 12263
diff changeset
   301
- Add "-lgailutil" to LDFLAGS so that libgailutil is linked in when
487365188422 2008-06-05 Damien Carbery <[email protected]>
dcarbery
parents: 12263
diff changeset
   302
  libgnomecanvas is linked. libgnomecanvas.so includes some gail functions.
12263
930dc7240f6a 2008-05-07 Damien Carbery <[email protected]>
dcarbery
parents: 12243
diff changeset
   303
* Wed May 07 2008 - [email protected]
930dc7240f6a 2008-05-07 Damien Carbery <[email protected]>
dcarbery
parents: 12243
diff changeset
   304
- Remove PERL5LIB setting as it is not necessary.
12243
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   305
* Thu May 01 2008 - [email protected]
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   306
- Fix packaging.  Ship the CDE desktop file if building with
4f66b5266ec6 2008-05-01 Brian Cameron <[email protected]>
yippi
parents: 11937
diff changeset
   307
  "with_dt".
11937
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 11532
diff changeset
   308
* Thu Mar 27 2008 - [email protected]
1c2548ce7ef9 2008-03-27 Brian Cameron <[email protected]>
yippi
parents: 11532
diff changeset
   309
- Add SUNW_Copyright.
11532
6ae6340e5963 Minor cleanup in comments.
yippi
parents: 11478
diff changeset
   310
* Sat Jan 26 2008 - [email protected]
6ae6340e5963 Minor cleanup in comments.
yippi
parents: 11478
diff changeset
   311
- Minor cleanup
11478
af99b2737279 2008-01-17 Damien Carbery <[email protected]>
dcarbery
parents: 11404
diff changeset
   312
* Thu Jan 17 2008 - [email protected]
af99b2737279 2008-01-17 Damien Carbery <[email protected]>
dcarbery
parents: 11404
diff changeset
   313
- Delete %{_datadir}/xsessions/gnome.desktop file as it is now delivered by
af99b2737279 2008-01-17 Damien Carbery <[email protected]>
dcarbery
parents: 11404
diff changeset
   314
  gnome-session module.
10652
d89abbc7f788 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10618
diff changeset
   315
* Fri Oct 12 1007 - [email protected]
d89abbc7f788 2007-10-12 Laszlo (Laca) Peter <[email protected]>
laca
parents: 10618
diff changeset
   316
- add x11 compile flags to CFLAGS if x11.pc exists (FOX fix)
10569
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
   317
* Fri Sep 28 2007 - [email protected]
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
   318
- add support for building with FOX and using dtstart instead of
db3674d56c7f 2007-09-28 Laszlo (Laca) Peter <[email protected]>
laca
parents: 9875
diff changeset
   319
  dtlogin-integration
9875
f68ee5f1b5f6 2007-05-11 Brian Cameron <[email protected]>
yippi
parents: 9867
diff changeset
   320
* Fri May 11 2007 - [email protected]
f68ee5f1b5f6 2007-05-11 Brian Cameron <[email protected]>
yippi
parents: 9867
diff changeset
   321
- Fix packaging and add needed -R/usr/sfw/lib to link flags.
9867
0efc2900d3b8 2007-05-10 Brian Cameron <[email protected]>
yippi
parents: 9733
diff changeset
   322
* Thu May 10 2007 - [email protected]
0efc2900d3b8 2007-05-10 Brian Cameron <[email protected]>
yippi
parents: 9733
diff changeset
   323
- Fix packaging for bumping to 2.19.0.
9733
930bbb42830b 2007-04-12 Brian Cameron <[email protected]>
yippi
parents: 9506
diff changeset
   324
* Thu Apr 12 2007 - [email protected]
930bbb42830b 2007-04-12 Brian Cameron <[email protected]>
yippi
parents: 9506
diff changeset
   325
- Add SUNWxorg-server as a dependency, since GDM depends on Xephyr
9506
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   326
* Fri Mar 09 2007 - [email protected]
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   327
- Change file permissions for gdmsetup to 700 so that the gdmsetup
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   328
  menu choice only appears for the root user.  Also no longer install
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   329
  the %{datadir}/applications directory since we now install to 
605ceb8a7245 2007-03-09 Brian Cameron <[email protected]>
yippi
parents: 9397
diff changeset
   330
  /usr/share/gdm/applications.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   331
* Sun Jan 28 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   332
- update %files root so that dir attributes work on both s10 and nevada
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   333
* Fri Sep 01 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   334
- New Manpage tarball
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   335
* Mon Aug 28 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   336
- Add gdmdynamic manpage.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   337
* Fri Aug 25 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   338
- move the smf profile rename postinstall stuff into the -root subpkg,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   339
  because the base package doesn't have access to the / files in the
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   340
  case of a diskless installation, part of CR6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   341
* Wed Aug 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   342
- Move some GDM manpages to sman1m to reflect that the binaries have
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   343
  moved to /usr/sbin.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   344
* Sat Aug 12 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   345
- change datadir/icons permissions back to root:other since it's a stable
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   346
  interface and wasn't supposed to be changed
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   347
* Fri Jul 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   348
- update %post/%postun/etc scripts to support diskless client setup,
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   349
  part of 6448317
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   350
* Thu Jun 29 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   351
- update postrun scripts
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   352
* Fri Jun 23 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   353
- Removed manpages which arent needed: gdmchooser, gdmgreeter and gdmlogin
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   354
* Sun Jun 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   355
- change group from other to bin/sys
14005
42d31c7d1986 2008-11-21 Brian Cameron <[email protected]>
yippi
parents: 13901
diff changeset
   356
* Fri May 12 2006 - [email protected]
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   357
- Add SUNWgnome-dialog as a dependency since GDM does use zenity in places.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   358
* Thu May 11 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   359
- Added %post scripting to migrate users from the old SMF service name
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   360
  to the new one.  
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   361
* Wed May 10 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   362
- merge -share pkg(s) into the base pkg(s)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   363
* Tue May 09 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   364
- No longer install the /var/gdm directories here since they get installed via
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   365
  make install.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   366
* Tue Apr 18 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   367
- Mark custom.conf as in the preserve class so it doesn't get deleted on pkgrm.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   368
* Mon Feb 20 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   369
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   370
* Fri Feb 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   371
- Mark custom.conf as volatile (%config).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   372
* Thu Feb 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   373
- Update Build/Requires after running check-deps.pl script.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   374
* Tue Feb 14 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   375
- Update %files for new tarball (conf files renamed).
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   376
* Sat Jan 21 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   377
- Remove locale.alias.orig file from %files. Mistake in build.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   378
* Thu Jan 19 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   379
- Fixed packaging after updating to 2.13.0.6
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   380
* Thu Jan 19 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   381
- Add new %files from bumped tarball.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   382
* Tue Jan 17 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   383
- Add SUNWlibcroco to Build/Requires list.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   384
* Mon Jan 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   385
- Move /usr/sfw/include reference from gdm.spec to here as it is Solaris only.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   386
- Update Build/Requires lines.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   387
* Mon Jan 16 2006 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   388
- add reference to %{_libexecdir}/X11/gdm/gdmprefetchlist
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   389
* Sat Dec  3 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   390
- add %post script that runs update-desktop-database
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   391
* Tue Nov 29 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   392
- remove javahelp stuff
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   393
* Thu Sep 15 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   394
- Remove unpackaged empty directories
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   395
* Thu Jul 28 2005 - damien.carbery@suncom
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   396
- Add SUNWlibrsvg-devel build dependency. Add SUNWlibrsvg runtime dependency.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   397
- Wed Jul 13 2005 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   398
- Updated to 2.8.0.5.  Updated SVC (GreenLine) integration.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   399
+ Mon Feb 07 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   400
- Fixed permissions on /var/lib/gdm so it doesn't complain on
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   401
  reinstall.  The gdm binary program changes the ownership and
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   402
  permissions of this file on runtime if they aren't set 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   403
  properly.  This change makes the original permissions set
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   404
  by the package correct so gdm won't change them.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   405
* Thu Nov 18 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   406
- #5081827 - required SUNWgnome-dtlogin-integration to run
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   407
/usr/dt/config/Xsession.jds in gnome session
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   408
* Wed Nov 17 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   409
- #6195852 - Fix manpage directory installed (stopper)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   410
* Sat Nov 13 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   411
- include gdm.conf in the "preserve" class, fixes 5101934
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   412
  Note: requires pkgbuild-0.8.2 (CBE 0.18)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   413
* Fri Nov 12 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   414
- Revised files section
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   415
* Sat Oct 02 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   416
- added %pkgbuild_postprocess
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   417
* Thu Sep 02 2004  <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   418
- Add %dir %attr for mandir and mandir/man1. Attribute change install error.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   419
* Thu Sep 02 2004  <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   420
- Added gdm manpages for solaris
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   421
* Tue Jul 27 2004  <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   422
- Put back the New Login in New Window as it's supported.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   423
* Tue Jul 27 2004  <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   424
- Remove the flexiserver .desktop items. Need to have a 
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   425
  look to see if the flexiserver binary stuff should be
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   426
  include as well or not. Part fix for #5043894.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   427
* Fri Jul 23 2004  <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   428
- Now include /var/lib/gdm and /var/lib/log/gdm in the
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   429
  package so that gdm can run out-of-the-box.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   430
* Sun Jun 27 2004  [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   431
- Changed install location to /usr/...
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   432
* Wed Jun  2 2004 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   433
- Added %{_datadir}/locale to install l10n messages
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   434
* Mon Mar 01 2004 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   435
- define PERL5LIB.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
   436
- add share and root subpkgs