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
31a7532f
Commit
31a7532f
authored
Feb 08, 2007
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
7422dce9
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
62 additions
and
39 deletions
+62
-39
build-howto.info
build-howto.info
+51
-25
src/doc/man/en_us/installation_guide_deb.txt
src/doc/man/en_us/installation_guide_deb.txt
+2
-2
src/tools/pkg/deb/pwr/control
src/tools/pkg/deb/pwr/control
+2
-2
src/tools/pkg/deb/pwrdemo/control
src/tools/pkg/deb/pwrdemo/control
+3
-8
src/tools/pkg/deb/pwrdemo/postinst
src/tools/pkg/deb/pwrdemo/postinst
+1
-0
src/tools/pkg/deb/pwrrt/control
src/tools/pkg/deb/pwrrt/control
+1
-1
wb/changelog.txt
wb/changelog.txt
+2
-1
No files found.
build-howto.info
View file @
31a7532f
...
...
@@ -3,24 +3,11 @@ A guide on how to build Proview
Written by: Robert Karlsson
1. Setting up the environment
-----------------------------
The first thing to do is to set up your environment properly. Add the
following lines to .bashrc:
# Where /home/robert/x4-1-3 is replaced with wherever you unpacked the sources.
export pwre_bin="/home/robert/x4-1-3/pwr/src/tools/pwre/src/os_linux"
export pwre_dir_symbols="$pwre_bin/dir_symbols.mk"
source $pwre_bin/pwre_function
export pwre_env_db="/home/robert/pwre_new"
The following libraries (devel and runtime) are needed to build Proview:
Imlib (v1.9.14 recommended)
Berkeley DB (>= v4.0, recommended v4.3)
antlr (v2.7.5 recommended )
openmotif (v2.2.3 recommended
)
gtk2-devel (>= v2.4, recommended v2.8
)
alsa (>= 0.9.8, recommended v1.0.6)
Proview has been built with the follwing compilers:
...
...
@@ -29,8 +16,47 @@ gcc v3.3.3
gcc v3.4.3
gcc v4.0.2
2. Creating the environment
---------------------------
1. Easy way
-----------
Unpack the source package
> tar -xzvf pwrsrc_4.3.0.tar.gz
Enter the sourcecode root directory
> cd pwr_4.3.0
Execute the makefile
> make
Follow the instructions to insert three lines in your .bashrc file.
2. Thorough way
---------------
This is a more thorough way to install the development environment, which
is recommended if you will make a lots of changes in the source code and
handle different version of proview.
2.1 Setting up the environment
------------------------------
The first thing to do is to set up your environment properly. Add the
following lines to .bashrc:
# Where /home/robert/x4-3-0 is replaced with wherever you unpacked the sources.
export pwre_bin="/home/robert/x4-3-0/pwr/src/tools/pwre/src/os_linux"
export pwre_dir_symbols="$pwre_bin/dir_symbols.mk"
source $pwre_bin/pwre_function
export pwre_env_db="/home/robert/pwre_new"
2.2 Creating the environment
----------------------------
Creating and handling your environment is done with the pwre-function (added
by sourcing $pwre_bin/pwre_function).
...
...
@@ -39,13 +65,13 @@ by sourcing $pwre_bin/pwre_function).
shows all possibilites with the pwre function.
Add environment named 'x4
13
x86' (choose any name you like).
Add environment named 'x4
30
x86' (choose any name you like).
> pwre add x4
13
x86
> pwre add x4
30
x86
Source root [...] ? /home/robert/x4-
1-3/pwr/src (where /home/robert/x4-1-3
is
Source root [...] ? /home/robert/x4-
3-0/pwr/src (where /home/robert/x4-3-0
is
replaced with wherever you unpacked the sources)
Build root [...] ? /home/robert/pwr/x4-
1-3
/rls_dbg (choose typically .../pwr/version/rls_dbg)
Build root [...] ? /home/robert/pwr/x4-
3-0
/rls_dbg (choose typically .../pwr/version/rls_dbg)
Build type [dbg] ?
OS [linux] ?
Hardware [x86] ?
...
...
@@ -55,13 +81,13 @@ list all existing environments:
> pwre list
-- Defined environments:
x4
13
x86
x4
30
x86
--
himBh
Initiate your new environment:
> pwre init x4
13
x86
> pwre init x4
30
x86
Now, create the build tree
...
...
@@ -69,8 +95,8 @@ Now, create the build tree
Finally the environment is set up and we can start the build procedure.
3.
Building Proview
-------------------
2.3
Building Proview
-------------------
-
To build Proview from scratch
...
...
@@ -142,7 +168,7 @@ Copy some files to this directory (if they do not already exist)
Create a file name pwr_projectlist.dat in this directory and add the following
line to this file:
%base X4.
1.3 /home/robert/pwr/X4-1-3
/rls_dbg
%base X4.
3.0 /home/robert/pwr/X4-3-0
/rls_dbg
where the path is your build-root ($pwre_broot).
...
...
src/doc/man/en_us/installation_guide_deb.txt
View file @
31a7532f
...
...
@@ -37,12 +37,12 @@ aptitude or apt will check dependencies and install required packages, but local
first have to be known to apt with this procedure.
(See also http://debian.org/doc/manuals/apt-howto)
Download the pwr debian packages and
libmotif3 and
place them in a directory, e.g. /root/debs
Download the pwr debian packages and place them in a directory, e.g. /root/debs
Create a package file with the command
> dpkg-scanpackages /root/debs /dev/null | gzip > /root/debs/Packages.gz
Add the following line to /etc/apt/sources.lis
Add the following line to /etc/apt/sources.lis
t
deb file:/root debs/
...
...
src/tools/pkg/deb/pwr/control
View file @
31a7532f
Package: pwr4
2
Package: pwr4
3
Version: 4.3.0-1
Section: base
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.3.6),
imlib11 (>= 1.9.14), libmotif3 (>= 2.2.3
), libasound2 (>= 1.0.11), libdb4.3 (>=4.3.29)
Depends: libc6 (>= 2.3.6),
libgtk2.0-0 (>= 2.8.16-1
), libasound2 (>= 1.0.11), libdb4.3 (>=4.3.29)
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43
Maintainer: Proview <postmaster@proview.se>
Description: Proview development and runtime environment package
...
...
src/tools/pkg/deb/pwrdemo/control
View file @
31a7532f
Package: pwrdemo4
2
Version: 4.
2.0-8
Package: pwrdemo4
3
Version: 4.
3.0-1
Section: base
Priority: optional
Architecture: i386
Depends: pwr4
2 (>= 4.2
.0-1)
Depends: pwr4
3 (>= 4.3
.0-1)
Replaces:
Maintainer: Proview <postmaster@proview.se>
Description: Proview Demo Project package
Proview Demo Project
4.1.3-1 Base release
Changes in 4.1.3-2:
- Demo graphs for BaseComponents added.
- Demo graph for level control added.
4.2.0-1 Upgraded to Proview V4.2
4.2.0-8 Upgraded to Proview V4.2.0-8
src/tools/pkg/deb/pwrdemo/postinst
View file @
31a7532f
...
...
@@ -13,6 +13,7 @@ fi
# End automatically added section
aroot="/usr/pwrp/adm"
export pwra_db=$aroot/db
echo "Change owner of files to pwrp"
chown -R pwrp:pwrp /usr/pwrp/pwrdemo$ver
...
...
src/tools/pkg/deb/pwrrt/control
View file @
31a7532f
...
...
@@ -3,7 +3,7 @@ Version: 4.3.0-1
Section: base
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.3.6),
imlib11 (>= 1.9.14), libmotif3 (>= 2.2.3
), libasound2 (>= 1.0.11), libdb4.3 (>=4.3.29)
Depends: libc6 (>= 2.3.6),
libgtk2.0-0 (>= 2.8.16-1
), libasound2 (>= 1.0.11), libdb4.3 (>=4.3.29)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43
Maintainer: Proview <postmaster@proview.se>
Description:
...
...
wb/changelog.txt
View file @
31a7532f
...
...
@@ -47,4 +47,5 @@
070123 cs wb Bugfix in trace attribute for GetIpToA.
070124 cs wb Click time increated for MB2 (create object) in wtt.
070124 cs plc 'Create Object' added to the Plc Editor popupmenu.
070124 cs wtt Application build method for Application and PlcProcess objects.
\ No newline at end of file
070124 cs wtt Application build method for Application and PlcProcess objects.
070206 cs wb Bugfix in volumereferences in loadfiles. Casted attributes wasn't always checked.
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