Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
8ec8350f
Commit
8ec8350f
authored
Dec 05, 2008
by
Claes pwr46/data0/x4-6-0
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of pwrcvs:/data1/git/pwr
parents
60c060db
bd228875
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
34 additions
and
16 deletions
+34
-16
src/tools/pkg/rpm/pwrdemo/pwrdemo.spec
src/tools/pkg/rpm/pwrdemo/pwrdemo.spec
+8
-1
src/tools/pkg/rpm/pwrrt/build.sh
src/tools/pkg/rpm/pwrrt/build.sh
+6
-3
src/tools/pkg/rpm/pwrrt/pwrrt.spec
src/tools/pkg/rpm/pwrrt/pwrrt.spec
+4
-1
src/tools/pkg/rpm/pwrsev/build.sh
src/tools/pkg/rpm/pwrsev/build.sh
+6
-3
src/tools/pkg/rpm/pwrsev/pwrsev.spec
src/tools/pkg/rpm/pwrsev/pwrsev.spec
+7
-5
wb/exe/wb/motif/os_linux/link_rule.mk
wb/exe/wb/motif/os_linux/link_rule.mk
+2
-2
xtt/lib/glow/motif/glow_draw_xlib.cpp
xtt/lib/glow/motif/glow_draw_xlib.cpp
+1
-1
No files found.
src/tools/pkg/rpm/pwrdemo/pwrdemo.spec
View file @
8ec8350f
...
...
@@ -79,6 +79,14 @@ cat > $initsh <<EOF
source $aroot/db/pwr_setup.sh
source \$pwr_exe/pwrp_env.sh set project pwrdemo%{ver}
if [ ! -e "\$pwrp_db/directory.db" ]; then
wb_cmd create volume/directory
wb_cmd wb load /load=\"\$pwrp_db/directory.wb_dmp\"
fi
if [ ! -e "\$pwrp_db/volpwrdemo.db" ]; then
wb_cmd wb load /load=\"\$pwrp_db/volpwrdemo.wb_dmp\"
fi
wb_cmd @$initpwrc
EOF
...
...
@@ -100,7 +108,6 @@ sudo -u pwrp $initsh
rm $initsh
rm $initpwrc
ls
%preun
...
...
src/tools/pkg/rpm/pwrrt/build.sh
View file @
8ec8350f
...
...
@@ -112,7 +112,9 @@ mkdir -p $pkgroot/rpm/SPECS
mkdir
-p
$pkgroot
/rpm/SOURCES
mkdir
-p
$pkgroot
/rpm/SRPMS
mkdir
-p
$pkgroot
/usr/share/doc/pwrrt
mkdir
-p
$pkgroot
/etc/init.d
mkdir
-p
$pkgroot
/etc
# init.d is a symlink on fedora that is owned by with chkconfig and causes conflict
#mkdir -p $pkgroot/etc/init.d
find
$pkgroot
-type
d | xargs
chmod
755
...
...
@@ -126,8 +128,8 @@ gzip -fq --best $pkgroot/usr/share/doc/pwrrt/changelog
# Startup files
cp
$pkgsrc
/pwrp_profile
$pkgroot
/etc
chmod
a+x
$pkgroot
/etc/pwrp_profile
cp
$pkgsrc
/pwr
$pkgroot
/etc/init.d
chmod
a+x
$pkgroot
/etc/init.d/pwr
#
cp $pkgsrc/pwr $pkgroot/etc/init.d
#
chmod a+x $pkgroot/etc/init.d/pwr
# Man pages
mkdir
-p
$pkgroot
/usr/share/man/man1
...
...
@@ -157,6 +159,7 @@ cd $currentdir
# Copy configuration files to cnf
cp
$pkgsrc
/proview.cnf
$pkgroot
/usr/pwrrt/cnf
cp
$pkgsrc
/pwr
$pkgroot
/usr/pwrrt/cnf
# Copy op to cnf
mkdir
$pkgroot
/usr/pwrrt/cnf/op
...
...
src/tools/pkg/rpm/pwrrt/pwrrt.spec
View file @
8ec8350f
...
...
@@ -117,7 +117,7 @@ else
fi
fi
new_user=0
if getent passwd pwrp > /dev/null; then
echo "-- user pwrp already exist"
else
...
...
@@ -213,6 +213,9 @@ if [ ! -e /etc/proview.cnf ]; then
cp /usr/pwrrt/cnf/proview.cnf /etc
new_cnf=1
fi
cp /usr/pwrrt/cnf/pwr /etc/init.d
chmod a+x /etc/init.d/pwr
# Add pwrp_profile to profile
if ! grep -q "/etc/pwrp_profile\b" /etc/profile; then
...
...
src/tools/pkg/rpm/pwrsev/build.sh
View file @
8ec8350f
...
...
@@ -115,7 +115,9 @@ mkdir -p $pkgroot/rpm/SPECS
mkdir
-p
$pkgroot
/rpm/SOURCES
mkdir
-p
$pkgroot
/rpm/SRPMS
mkdir
-p
$pkgroot
/usr/share/doc/pwrsev
mkdir
-p
$pkgroot
/etc/init.d
mkdir
-p
$pkgroot
/etc
# init.d is a symlink on fedora that is owned by with chkconfig and causes conflict
# mkdir $pkgroot/etc/init.d
find
$pkgroot
-type
d | xargs
chmod
755
...
...
@@ -129,8 +131,8 @@ gzip -fq --best $pkgroot/usr/share/doc/pwrsev/changelog
# Startup files
cp
$pkgsrc
/pwrp_profile
$pkgroot
/etc
chmod
a+x
$pkgroot
/etc/pwrp_profile
cp
$pkgsrc
/pwrsev
$pkgroot
/etc/init.d
chmod
a+x
$pkgroot
/etc/init.d/pwrsev
#
cp $pkgsrc/pwrsev $pkgroot/etc/init.d
#
chmod a+x $pkgroot/etc/init.d/pwrsev
# Man pages
mkdir
-p
$pkgroot
/usr/share/man/man1
...
...
@@ -157,6 +159,7 @@ cd $currentdir
# Copy configuration files to cnf
cp
$pkgsrc
/proview.cnf
$pkgroot
/usr/pwrsev/cnf
cp
$pkgsrc
/pwrsev
$pkgroot
/usr/pwrsev/cnf
# Copy op to cnf
mkdir
$pkgroot
/usr/pwrsev/cnf/op
...
...
src/tools/pkg/rpm/pwrsev/pwrsev.spec
View file @
8ec8350f
...
...
@@ -114,7 +114,7 @@ else
fi
fi
new_user=0
if getent passwd pwrp > /dev/null; then
echo "-- user pwrp already exist"
else
...
...
@@ -203,6 +203,8 @@ if [ ! -e /etc/proview.cnf ]; then
cp /usr/pwrsev/cnf/proview.cnf /etc
new_cnf=1
fi
cp /usr/pwrsev/cnf/pwrsev /etc/init.d
chmod a+x /etc/init.d/pwrsev
# Add pwrp_profile to profile
if ! grep -q "/etc/pwrp_profile\b" /etc/profile; then
...
...
@@ -391,14 +393,14 @@ fi
# Remove startup
if [ -e /etc/init.d/rc2.d ]; then
checklink=`eval ls /etc/init.d/rc2.d/S90pwr 2>/dev/null`
checklink=`eval ls /etc/init.d/rc2.d/S90pwr
sev
2>/dev/null`
if [ "$checklink" != "" ]; then
rm /etc/init.d/rc2.d/S90pwr
rm /etc/init.d/rc2.d/S90pwr
sev
fi
elif [ -e /etc/rc2.d ]; then
checklink=`eval ls /etc/rc2.d/S90pwr 2>/dev/null`
checklink=`eval ls /etc/rc2.d/S90pwr
sev
2>/dev/null`
if [ "$checklink" != "" ]; then
rm /etc/rc2.d/S90pwr
rm /etc/rc2.d/S90pwr
sev
fi
fi
...
...
wb/exe/wb/motif/os_linux/link_rule.mk
View file @
8ec8350f
...
...
@@ -11,7 +11,7 @@ ifeq ($(export_type),exp)
-lpwr_flow_motif
-lpwr_flow
-lpwr_glow_motif
-lpwr_glow
-lpwr_co_motif
-lpwr_co
\
-lpwr_msg_dummy
-lantlr
-lImlib
-lMrm
-lXm
-lXpm
-lXt
-lX11
-lXext
-lXp
\
-lXmu
-lSM
-lICE
\
-lrpcsvc
-lpthread
-lm
-ldb_cxx
-lz
$(linkmysql)
-lrpcsvc
-lpthread
-lm
-ldb_cxx
-lz
-lcrypt
$(linkmysql)
else
link
=
$(ldxx)
$(elinkflags)
$(domap)
-o
$(pwr_exe)
/wb_motif
\
$(bld_dir)
/wb_motif.o
$(bld_dir)
/wb_main.o
$(wb_msg_eobjs)
$(rt_msg_eobjs)
\
...
...
@@ -22,6 +22,6 @@ else
-lpwr_flow_motif
-lpwr_flow
-lpwr_glow_motif
-lpwr_glow
-lpwr_co_motif
-lpwr_co
\
-lpwr_msg_dummy
-lantlr
-lImlib
-lMrm
-lXm
-lXpm
-lXt
-lX11
-lXext
-lXp
\
-lXmu
-lSM
-lICE
\
-lrpcsvc
-lpthread
-lm
-ldb_cxx
-lz
$(linkmysql)
-lrpcsvc
-lpthread
-lm
-ldb_cxx
-lz
-lcrypt
$(linkmysql)
endif
endif
xtt/lib/glow/motif/glow_draw_xlib.cpp
View file @
8ec8350f
...
...
@@ -1692,7 +1692,7 @@ int GlowDrawXLib::text_cursor( GlowWind *wind, int x, int y, char *text, int len
int
width
,
height
,
descent
;
get_text_extent
(
text
,
pos
,
gc_type
,
idx
,
font_idx
,
&
width
,
&
height
,
&
descent
);
&
width
,
&
height
,
&
descent
,
size
);
if
(
w
->
clip_on
)
set_clip
(
w
,
get_gc
(
this
,
gc_type
,
idx
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment