equal
deleted
inserted
replaced
25 # Except as contained in this notice, the name of a copyright holder |
25 # Except as contained in this notice, the name of a copyright holder |
26 # shall not be used in advertising or otherwise to promote the sale, use |
26 # shall not be used in advertising or otherwise to promote the sale, use |
27 # or other dealings in this Software without prior written authorization |
27 # or other dealings in this Software without prior written authorization |
28 # of the copyright holder. |
28 # of the copyright holder. |
29 # |
29 # |
30 # @(#)make_release_packages 1.41 03/07/06 06/03/07 |
30 # @(#)make_release_packages 1.43 06/05/06 06/06/05 |
31 # |
31 # |
32 # Create and fill a package staging area for X |
32 # Create and fill a package staging area for X |
33 # |
33 # |
34 # This script should be run from the base of the build tree. |
34 # This script should be run from the base of the build tree. |
35 # It takes no parameters. |
35 # It takes no parameters. |
52 |
52 |
53 # List of official (deliverable) X-window packages |
53 # List of official (deliverable) X-window packages |
54 XW_PACKAGE_LIST="SUNWxwcft SUNWxwdem SUNWxwdim SUNWxwfs SUNWxwinc \ |
54 XW_PACKAGE_LIST="SUNWxwcft SUNWxwdem SUNWxwdim SUNWxwfs SUNWxwinc \ |
55 SUNWxwice SUNWxwopt SUNWxwpmn SUNWxwsrc SUNWxwacx SUNWxwdxm \ |
55 SUNWxwice SUNWxwopt SUNWxwpmn SUNWxwsrc SUNWxwacx SUNWxwdxm \ |
56 SUNWxwhl SUNWi1of SUNWxwfa SUNWxwpft SUNWxwsrv SUNWxwoft \ |
56 SUNWxwhl SUNWi1of SUNWxwfa SUNWxwpft SUNWxwsrv SUNWxwoft \ |
57 SUNWfontconfig SUNWfontconfig-root SUNWfontconfig-docs SUNWxwsvr |
57 SUNWfontconfig SUNWfontconfig-root SUNWfontconfig-docs SUNWxwsvr \ |
58 SUNWxscreensaver-hacks SUNWstsfr SUNWfreetype2 SUNWxwxft SUNWxwfsw" |
58 SUNWxscreensaver-hacks SUNWstsfr SUNWfreetype2 SUNWxwxft SUNWxwfsw \ |
|
59 SUNWxprint-server" |
59 |
60 |
60 # L10N packages are normally only built on sparc since they only have text |
61 # L10N packages are normally only built on sparc since they only have text |
61 # files that are the same for both platforms |
62 # files that are the same for both platforms |
62 if [ "$MACH" = "sparc" ]; then |
63 if [ "$MACH" = "sparc" ]; then |
63 XW_L10N_PACKAGES="SUNW0xacx SUNW0xman SUNW0xpmn SUNW0xwfa SUNW0xwplt \ |
64 XW_L10N_PACKAGES="SUNW0xacx SUNW0xman SUNW0xpmn SUNW0xwfa SUNW0xwplt \ |
87 fi |
88 fi |
88 |
89 |
89 # Packages with platform-specific prototype files, including those with |
90 # Packages with platform-specific prototype files, including those with |
90 # 64-bit libraries |
91 # 64-bit libraries |
91 XW_PLT_PACKAGE="SUNWxwplt SUNWxwplr SUNWxwfnt SUNWxwrtl SUNWxwslb \ |
92 XW_PLT_PACKAGE="SUNWxwplt SUNWxwplr SUNWxwfnt SUNWxwrtl SUNWxwslb \ |
92 SUNWxwmod SUNWstsf SUNWxwxst SUNWxscreensaver-hacks-gl SUNWxwman $TSOL_PACKAGE" |
93 SUNWxwmod SUNWstsf SUNWxwxst SUNWxscreensaver-hacks-gl SUNWxwman \ |
|
94 SUNWxsun-server SUNWxsun-keytables $TSOL_PACKAGE" |
93 |
95 |
94 # Some packages are only built for sparc currently |
96 # Some packages are only built for sparc currently |
95 if [ "$MACH" = "sparc" ]; then |
97 if [ "$MACH" = "sparc" ]; then |
96 XW_PLT_PACKAGE="$XW_PLT_PACKAGE SUNWxwpsr" |
98 XW_PLT_PACKAGE="$XW_PLT_PACKAGE SUNWxwpsr" |
97 fi |
99 fi |
236 cd .. |
238 cd .. |
237 done >$LOGfile 2>&1 |
239 done >$LOGfile 2>&1 |
238 |
240 |
239 echo result log is in $PACKAGE_DIR/$LOGfile |
241 echo result log is in $PACKAGE_DIR/$LOGfile |
240 |
242 |
|
243 printf "Packages built: " |
|
244 grep -c "Packaging complete" $PACKAGE_DIR/$LOGfile |
|
245 printf "Packages failed: " |
|
246 grep -c "Packaging was not successful" $PACKAGE_DIR/$LOGfile |
|
247 |
241 # Create an installdir with symlinks to SUNW* pkgs |
248 # Create an installdir with symlinks to SUNW* pkgs |
242 cd $PACKAGE_DIR |
249 cd $PACKAGE_DIR |
243 mkdir installdir |
250 mkdir installdir |
244 cd installdir |
251 cd installdir |
245 ln -s ../SUNW*/SUNW* . |
252 ln -s ../SUNW*/SUNW* . |
246 cp -p $SOURCEDIR/packages/upgrade-X . |
253 if [ -f $SOURCEDIR/packages/upgrade-X ] ; then |
247 chmod a+x upgrade-X |
254 cp -p $SOURCEDIR/packages/upgrade-X . |
|
255 chmod a+x upgrade-X |
|
256 fi |
248 |
257 |
249 exit |
258 exit |