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
15e4d05e
Commit
15e4d05e
authored
Sep 21, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of pwrcvs:/data1/git/pwr
parents
f7c7a5c3
31ab74c2
Changes
42
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
147 additions
and
165 deletions
+147
-165
java/jpwr/jop/src/HistSender.java
java/jpwr/jop/src/HistSender.java
+2
-2
java/jpwr/jop/src/JopApplet.java
java/jpwr/jop/src/JopApplet.java
+4
-4
java/jpwr/jop/src/MhTable.java
java/jpwr/jop/src/MhTable.java
+1
-1
java/jpwr/rt/src/GdhServer.java
java/jpwr/rt/src/GdhServer.java
+8
-8
java/jpwr/rt/src/GdhServerMonitor.java
java/jpwr/rt/src/GdhServerMonitor.java
+1
-1
java/jpwr/rt/src/Mh.java
java/jpwr/rt/src/Mh.java
+1
-1
java/jpwr/rt/src/MhServer.java
java/jpwr/rt/src/MhServer.java
+11
-13
java/jpwr/rt/src/RtUtilities.java
java/jpwr/rt/src/RtUtilities.java
+4
-4
src/tools/pkg/deb/pwr/build.sh
src/tools/pkg/deb/pwr/build.sh
+3
-0
src/tools/pkg/deb/pwr/control
src/tools/pkg/deb/pwr/control
+5
-17
src/tools/pkg/deb/pwrdemo/build.sh
src/tools/pkg/deb/pwrdemo/build.sh
+3
-0
src/tools/pkg/deb/pwrdemo/control
src/tools/pkg/deb/pwrdemo/control
+4
-4
src/tools/pkg/deb/pwrrt/control
src/tools/pkg/deb/pwrrt/control
+4
-16
src/tools/pkg/deb/pwrsev/build.sh
src/tools/pkg/deb/pwrsev/build.sh
+1
-1
src/tools/pkg/deb/pwrsev/control
src/tools/pkg/deb/pwrsev/control
+4
-4
src/tools/pkg/deb_x86_64/pwr/build.sh
src/tools/pkg/deb_x86_64/pwr/build.sh
+3
-0
src/tools/pkg/deb_x86_64/pwr/control
src/tools/pkg/deb_x86_64/pwr/control
+3
-3
src/tools/pkg/deb_x86_64/pwrdemo/build.sh
src/tools/pkg/deb_x86_64/pwrdemo/build.sh
+3
-0
src/tools/pkg/deb_x86_64/pwrdemo/control
src/tools/pkg/deb_x86_64/pwrdemo/control
+3
-3
src/tools/pkg/deb_x86_64/pwrrt/control
src/tools/pkg/deb_x86_64/pwrrt/control
+3
-3
src/tools/pkg/deb_x86_64/pwrsev/build.sh
src/tools/pkg/deb_x86_64/pwrsev/build.sh
+1
-1
src/tools/pkg/deb_x86_64/pwrsev/control
src/tools/pkg/deb_x86_64/pwrsev/control
+3
-3
src/tools/pkg/raspbian/pwrsev/build.sh
src/tools/pkg/raspbian/pwrsev/build.sh
+1
-1
src/tools/pkg/ubu/pwr/build.sh
src/tools/pkg/ubu/pwr/build.sh
+3
-0
src/tools/pkg/ubu/pwr/control
src/tools/pkg/ubu/pwr/control
+4
-4
src/tools/pkg/ubu/pwrdemo/build.sh
src/tools/pkg/ubu/pwrdemo/build.sh
+3
-0
src/tools/pkg/ubu/pwrdemo/control
src/tools/pkg/ubu/pwrdemo/control
+4
-4
src/tools/pkg/ubu/pwrrpi/control
src/tools/pkg/ubu/pwrrpi/control
+5
-17
src/tools/pkg/ubu/pwrrt/control
src/tools/pkg/ubu/pwrrt/control
+3
-3
src/tools/pkg/ubu/pwrsev/build.sh
src/tools/pkg/ubu/pwrsev/build.sh
+1
-1
src/tools/pkg/ubu/pwrsev/control
src/tools/pkg/ubu/pwrsev/control
+3
-3
src/tools/pkg/ubu_x86_64/pwr/build.sh
src/tools/pkg/ubu_x86_64/pwr/build.sh
+3
-0
src/tools/pkg/ubu_x86_64/pwr/control
src/tools/pkg/ubu_x86_64/pwr/control
+4
-4
src/tools/pkg/ubu_x86_64/pwrdemo/build.sh
src/tools/pkg/ubu_x86_64/pwrdemo/build.sh
+3
-0
src/tools/pkg/ubu_x86_64/pwrdemo/control
src/tools/pkg/ubu_x86_64/pwrdemo/control
+4
-4
src/tools/pkg/ubu_x86_64/pwrrpi/control
src/tools/pkg/ubu_x86_64/pwrrpi/control
+5
-17
src/tools/pkg/ubu_x86_64/pwrrt/control
src/tools/pkg/ubu_x86_64/pwrrt/control
+3
-3
src/tools/pkg/ubu_x86_64/pwrsev/build.sh
src/tools/pkg/ubu_x86_64/pwrsev/build.sh
+1
-1
src/tools/pkg/ubu_x86_64/pwrsev/control
src/tools/pkg/ubu_x86_64/pwrsev/control
+3
-3
src/tools/pwre/src/os_linux/pwre_configure.sh
src/tools/pwre/src/os_linux/pwre_configure.sh
+2
-2
wb/lib/wb/gtk/wb_wge_gtk.cpp
wb/lib/wb/gtk/wb_wge_gtk.cpp
+5
-4
xtt/lib/xtt/gtk/xtt_ge_gtk.cpp
xtt/lib/xtt/gtk/xtt_ge_gtk.cpp
+12
-5
No files found.
java/jpwr/jop/src/HistSender.java
View file @
15e4d05e
...
@@ -102,11 +102,11 @@ public class HistSender {
...
@@ -102,11 +102,11 @@ public class HistSender {
try
{
try
{
out
=
new
ObjectOutputStream
(
socket
.
getOutputStream
()
);
out
=
new
ObjectOutputStream
(
socket
.
getOutputStream
()
);
out
.
flush
();
out
.
flush
();
//
varfö
r???
//
why
???
in
=
new
ObjectInputStream
(
socket
.
getInputStream
()
);
in
=
new
ObjectInputStream
(
socket
.
getInputStream
()
);
}
}
catch
(
Exception
e
)
{
catch
(
Exception
e
)
{
System
.
out
.
println
(
"IOException
vid skapande av strömmar mot serve
r"
);
System
.
out
.
println
(
"IOException
at server stream creation
"
);
//errh.error("DataStream failed");
//errh.error("DataStream failed");
return
new
MhData
(
100
,
100
);
return
new
MhData
(
100
,
100
);
}
}
...
...
java/jpwr/jop/src/JopApplet.java
View file @
15e4d05e
...
@@ -65,10 +65,10 @@ public class JopApplet extends JApplet implements GdhApplIfc
...
@@ -65,10 +65,10 @@ public class JopApplet extends JApplet implements GdhApplIfc
engine
=
new
JopEngine
(
1000
,
this
);
engine
=
new
JopEngine
(
1000
,
this
);
session
=
new
JopSession
(
engine
,
(
Object
)
this
);
session
=
new
JopSession
(
engine
,
(
Object
)
this
);
if
(
instance
!=
null
&&
instance
.
length
()
!=
0
)
{
if
(
instance
!=
null
&&
instance
.
length
()
!=
0
)
{
// Substitutes for åäö because of mozilla...
// Substitutes for
local char
because of mozilla...
instance
=
instance
.
replace
(
'\\'
,
'å
'
);
instance
=
instance
.
replace
(
'\\'
,
(
char
)
229
);
instance
=
instance
.
replace
(
'/'
,
'ä
'
);
instance
=
instance
.
replace
(
'/'
,
(
char
)
228
);
instance
=
instance
.
replace
(
'@'
,
'ö
'
);
instance
=
instance
.
replace
(
'@'
,
(
char
)
246
);
System
.
out
.
println
(
"Parameter instance: "
+
instance
);
System
.
out
.
println
(
"Parameter instance: "
+
instance
);
engine
.
gdh
.
logString
(
"Parameter instance: "
+
instance
);
engine
.
gdh
.
logString
(
"Parameter instance: "
+
instance
);
...
...
java/jpwr/jop/src/MhTable.java
View file @
15e4d05e
...
@@ -588,7 +588,7 @@ public class MhTable extends JPanel
...
@@ -588,7 +588,7 @@ public class MhTable extends JPanel
public
final
Object
[]
longValues
=
{
"A"
,
"Acknowledge"
,
public
final
Object
[]
longValues
=
{
"A"
,
"Acknowledge"
,
"10-12-31 12:12:12.98"
,
"10-12-31 12:12:12.98"
,
"QWERTYUIOPAAOLK_JHGFDSAZXCVBNM__POIUYTRQWERTYUIOPAAOL"
,
"QWERTYUIOPAAOLK_JHGFDSAZXCVBNM__PO
A
IUYTRQWERTYUIOPAAOL"
,
"QWERTYUIOPAAOLK"
};
"QWERTYUIOPAAOLK"
};
...
...
java/jpwr/rt/src/GdhServer.java
View file @
15e4d05e
...
@@ -813,10 +813,10 @@ public class GdhServer
...
@@ -813,10 +813,10 @@ public class GdhServer
long
K
=
1024
;
long
K
=
1024
;
long
freeMem
=
Runtime
.
getRuntime
().
freeMemory
()
/
K
;
long
freeMem
=
Runtime
.
getRuntime
().
freeMemory
()
/
K
;
long
totalMem
=
Runtime
.
getRuntime
().
totalMemory
()
/
K
;
long
totalMem
=
Runtime
.
getRuntime
().
totalMemory
()
/
K
;
System
.
out
.
println
(
"
Slut på minne, storlek
på thSub: "
+
thSub
.
size
()
+
System
.
out
.
println
(
"
Out of memory, size of
thSub: "
+
thSub
.
size
()
+
"s
torlek p
å sub: "
+
subscriptions
.
size
()
+
"s
ize of
sub: "
+
subscriptions
.
size
()
+
"
Tillgängligt minn
e: "
+
freeMem
+
" KB"
+
"
Available memory
: "
+
freeMem
+
" KB"
+
"Total
t minne
: "
+
totalMem
+
" KB"
);
"Total
memory
: "
+
totalMem
+
" KB"
);
}
}
catch
(
IOException
e
)
catch
(
IOException
e
)
...
@@ -1806,9 +1806,9 @@ public class GdhServer
...
@@ -1806,9 +1806,9 @@ public class GdhServer
{
{
long
freeMem
=
Runtime
.
getRuntime
().
freeMemory
();
long
freeMem
=
Runtime
.
getRuntime
().
freeMemory
();
long
totalMem
=
Runtime
.
getRuntime
().
totalMemory
();
long
totalMem
=
Runtime
.
getRuntime
().
totalMemory
();
System
.
out
.
println
(
"
Slut på minne, storlek
på subcp: "
+
subscriptions
.
size
()
+
System
.
out
.
println
(
"
Out of memory, size of
subcp: "
+
subscriptions
.
size
()
+
"
Tillgängligt minn
e: "
+
freeMem
+
"
Available memory
: "
+
freeMem
+
"Total
t minne
: "
+
totalMem
);
"Total
memory
: "
+
totalMem
);
}
}
catch
(
IOException
e
)
catch
(
IOException
e
)
{
{
...
@@ -1975,7 +1975,7 @@ public class GdhServer
...
@@ -1975,7 +1975,7 @@ public class GdhServer
{
{
}
}
}
}
//
minska storleken på subscriptions för att spara min
ne
//
Reduce subscription size to save memory
this
.
trimRefObjectList
();
this
.
trimRefObjectList
();
threadCount
--;
threadCount
--;
setCurrentConnections
(
threadCount
);
setCurrentConnections
(
threadCount
);
...
...
java/jpwr/rt/src/GdhServerMonitor.java
View file @
15e4d05e
...
@@ -189,7 +189,7 @@ public class GdhServerMonitor extends JFrame implements ActionListener
...
@@ -189,7 +189,7 @@ public class GdhServerMonitor extends JFrame implements ActionListener
totalMem
=
totalMem
/
1024
;
totalMem
=
totalMem
/
1024
;
labelMessage
.
setText
(
"Ledigt minne(av allokerat): "
+
freeMem
+
" Allokerat minne: "
+
totalMem
+
labelMessage
.
setText
(
"Ledigt minne(av allokerat): "
+
freeMem
+
" Allokerat minne: "
+
totalMem
+
" Antal prenumerationer: "
+
nrOfSubscriptions
);
" Antal prenumerationer: "
+
nrOfSubscriptions
);
//
qqq behvs detta
???
//
is this needed
???
data
=
new
Object
[
size
][
5
];
data
=
new
Object
[
size
][
5
];
for
(
int
i
=
0
;
i
<
size
;
i
++)
for
(
int
i
=
0
;
i
<
size
;
i
++)
{
{
...
...
java/jpwr/rt/src/Mh.java
View file @
15e4d05e
...
@@ -269,7 +269,7 @@ public class Mh
...
@@ -269,7 +269,7 @@ public class Mh
lastMhrEvent
=
evItem
;
lastMhrEvent
=
evItem
;
newAlarmArrived
=
true
;
newAlarmArrived
=
true
;
nrOfAlarmsArrived
++;
//
behövs e
j
nrOfAlarmsArrived
++;
//
not needed
}
}
...
...
java/jpwr/rt/src/MhServer.java
View file @
15e4d05e
...
@@ -182,7 +182,7 @@ public class MhServer
...
@@ -182,7 +182,7 @@ public class MhServer
maxConnections
=
cdhrMaxCon
.
value
;
maxConnections
=
cdhrMaxCon
.
value
;
maxAlarms
=
cdhrMaxAlarms
.
value
;
maxAlarms
=
cdhrMaxAlarms
.
value
;
maxEvents
=
cdhrMaxEvents
.
value
;
maxEvents
=
cdhrMaxEvents
.
value
;
//
pga bugg i proview, MaxNoOfAlarms syns ej i arbetsbnken
//
because if Proview bugg, MaxNoOfAlarms is not visible in wb
if
(
maxAlarms
==
0
)
maxAlarms
=
100
;
if
(
maxAlarms
==
0
)
maxAlarms
=
100
;
if
(
maxEvents
==
0
)
maxEvents
=
200
;
if
(
maxEvents
==
0
)
maxEvents
=
200
;
//currentConnectionsStr = cdhrString.str + ".CurrentConnections";
//currentConnectionsStr = cdhrString.str + ".CurrentConnections";
...
@@ -407,13 +407,12 @@ public class MhServer
...
@@ -407,13 +407,12 @@ public class MhServer
//System.out.println("efter insertNewMess");
//System.out.println("efter insertNewMess");
for
(
int
i
=
0
;
i
<
totalThreadCount
&&
i
<
mhThread
.
length
;
i
++)
for
(
int
i
=
0
;
i
<
totalThreadCount
&&
i
<
mhThread
.
length
;
i
++)
{
{
//System.out.println("Nu skall sendMess anropas");
// Some client may have been terminated
//det kan ju vara s att ngon klient har avslutats
if
(
mhThread
[
i
]
==
null
)
if
(
mhThread
[
i
]
==
null
)
{
{
if
(
log
)
if
(
log
)
{
{
System
.
out
.
println
(
"mhThread["
+
i
+
"]
r
null"
);
System
.
out
.
println
(
"mhThread["
+
i
+
"]
is
null"
);
}
}
continue
;
continue
;
}
}
...
@@ -462,7 +461,7 @@ public class MhServer
...
@@ -462,7 +461,7 @@ public class MhServer
catch
(
IOException
e
)
catch
(
IOException
e
)
{
{
this
.
keepRunning
=
false
;
this
.
keepRunning
=
false
;
System
.
out
.
println
(
"IOException
vid skapande av strmmar mot klient
"
);
System
.
out
.
println
(
"IOException
at client stream creation
"
);
errh
.
error
(
"DataStream failed"
);
errh
.
error
(
"DataStream failed"
);
threadCount
--;
threadCount
--;
//setCurrentConnections(threadCount);
//setCurrentConnections(threadCount);
...
@@ -494,7 +493,7 @@ public class MhServer
...
@@ -494,7 +493,7 @@ public class MhServer
out
.
writeInt
(
nrOfEvents
);
out
.
writeInt
(
nrOfEvents
);
if
(
log
)
if
(
log
)
{
{
System
.
out
.
println
(
"
Hndelsestorlek
: "
+
nrOfEvents
);
System
.
out
.
println
(
"
Event size
: "
+
nrOfEvents
);
}
}
if
(
nrOfEvents
>
0
)
if
(
nrOfEvents
>
0
)
{
{
...
@@ -515,22 +514,21 @@ public class MhServer
...
@@ -515,22 +514,21 @@ public class MhServer
while
(
this
.
keepRunning
)
while
(
this
.
keepRunning
)
{
{
//hr skall vi ligga och vnta p meddelanden frn klienterna
// Wait for client messages, alarm ack and so
//typ alarmkvittens och dylikt
try
try
{
{
MhrsEventId
id
=
(
MhrsEventId
)
in
.
readObject
();
MhrsEventId
id
=
(
MhrsEventId
)
in
.
readObject
();
if
(
log
)
if
(
log
)
{
{
System
.
out
.
println
(
"
ftt meddelande
"
+
id
.
idx
+
" "
+
id
.
nix
+
" "
+
System
.
out
.
println
(
"
Message received
"
+
id
.
idx
+
" "
+
id
.
nix
+
" "
+
id
.
birthTime
);
id
.
birthTime
);
}
}
PwrtStatus
sts
=
mh
.
outunitAck
(
id
);
PwrtStatus
sts
=
mh
.
outunitAck
(
id
);
}
}
catch
(
Exception
e
)
catch
(
Exception
e
)
{
{
System
.
out
.
println
(
"Exception i receive
messtr
d "
+
e
.
toString
());
System
.
out
.
println
(
"Exception i receive
message threa
d "
+
e
.
toString
());
this
.
keepRunning
=
false
;
this
.
keepRunning
=
false
;
}
}
Thread
.
sleep
(
3
);
Thread
.
sleep
(
3
);
...
@@ -538,8 +536,8 @@ public class MhServer
...
@@ -538,8 +536,8 @@ public class MhServer
}
}
catch
(
Exception
e
)
catch
(
Exception
e
)
{
{
System
.
out
.
println
(
"exception i run MhThread"
);
System
.
out
.
println
(
"exception i
n
run MhThread"
);
System
.
out
.
println
(
"
avslutar trden
"
);
System
.
out
.
println
(
"
Terminate thread
"
);
}
}
finally
finally
{
{
...
@@ -571,7 +569,7 @@ public class MhServer
...
@@ -571,7 +569,7 @@ public class MhServer
}
}
}
}
/**
/**
*
Anropas var gng ett nytt meddelande skall skickas till klienterna
*
Called every time a new message is sent to the clients
*/
*/
public
void
sendMess
(
MhrEvent
event
)
public
void
sendMess
(
MhrEvent
event
)
{
{
...
...
java/jpwr/rt/src/RtUtilities.java
View file @
15e4d05e
...
@@ -122,14 +122,14 @@ public class RtUtilities {
...
@@ -122,14 +122,14 @@ public class RtUtilities {
int
offs1
;
int
offs1
;
int
offs2
;
int
offs2
;
// Replace in instance name because mozilla can't pass them as
// Replace
local char
in instance name because mozilla can't pass them as
// parameter
// parameter
for
(
int
i
=
0
;
i
<
instance
.
length
();
i
++)
{
for
(
int
i
=
0
;
i
<
instance
.
length
();
i
++)
{
if
(
instanceBuff
[
i
]
==
''
||
instanceBuff
[
i
]
==
''
)
if
(
instanceBuff
[
i
]
==
229
||
instanceBuff
[
i
]
==
197
)
instanceBuff
[
i
]
=
'\\'
;
instanceBuff
[
i
]
=
'\\'
;
if
(
instanceBuff
[
i
]
==
''
||
instanceBuff
[
i
]
==
''
)
if
(
instanceBuff
[
i
]
==
228
||
instanceBuff
[
i
]
==
196
)
instanceBuff
[
i
]
=
'/'
;
instanceBuff
[
i
]
=
'/'
;
if
(
instanceBuff
[
i
]
==
''
||
instanceBuff
[
i
]
==
''
)
if
(
instanceBuff
[
i
]
==
246
||
instanceBuff
[
i
]
==
214
)
instanceBuff
[
i
]
=
'@'
;
instanceBuff
[
i
]
=
'@'
;
}
}
...
...
src/tools/pkg/deb/pwr/build.sh
View file @
15e4d05e
...
@@ -101,6 +101,7 @@ echo "-- Building pwr$ver"
...
@@ -101,6 +101,7 @@ echo "-- Building pwr$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/etc
mkdir
-p
$pkgroot
/etc
...
@@ -193,6 +194,8 @@ cp $pwre_sroot/tools/pkg/deb/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
...
@@ -193,6 +194,8 @@ cp $pwre_sroot/tools/pkg/deb/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
cp
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/deb/pwr/control
View file @
15e4d05e
Package: pwr5
1
Package: pwr5
3
Version: 5.
1.0-4
Version: 5.
3.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.1
3-38), libgtk2.0-0 (>= 2.24.10-2), libasound2 (>= 1.0.25-4), libdb5.1 (>=5.1.29-5), libdb5.1++ (>= 5.1.29-5), libmysql++3 (>= 3.1.0-2+b1), libsqlite3-0 (>= 3.7.13-1+deb7u1), librsvg2-2 (>= 2.36.1-1), g++ (>= 4:4.7.2-1
)
Depends: libc6 (>= 2.1
9-18+deb8u1), libgtk2.0-0 (>= 2.24.25-3), libasound2 (>= 1.0.28-1), libdb5.3 (>=5.3.28-9), libdb5.3++ (>= 5.3.28-9), libmysql++3 (>= 3.2.1+pristine-1), libsqlite3-0 (>= 3.8.7.1-1+deb8u1), librsvg2-2 (>= 2.40.5-1), g++ (>= 4:4.9.2-2
)
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50
,pwr51,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview development and runtime environment package
Description: Proview development and runtime environment package
Proview development and runtime environment
Proview development and runtime environment
5.1.0-1 Base release
5.3.1-1 Base release
5.1.0-2
- Wb history html file size limited to 1000 rows.
- Ge polyline draw bugfix for subwindows.
- Web, open graph from pwg-files as default, methods for pwg-graphs added.
5.1.0-3
- Class AppLink added.
- Ge trend and xycurve fix for subwindows.
5.1.0-4
- Support for Gertbord and PiFace.
- wb load of DataArithmL bugfix.
- Ge bugfix for scale with snap to grid.
- Xtt read struct fix, element name buffer increased.
src/tools/pkg/deb/pwrdemo/build.sh
View file @
15e4d05e
...
@@ -22,6 +22,7 @@ echo "-- Building pwrdemo$ver"
...
@@ -22,6 +22,7 @@ echo "-- Building pwrdemo$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
find
$pkgroot
-type
d | xargs
chmod
755
find
$pkgroot
-type
d | xargs
chmod
755
...
@@ -81,6 +82,8 @@ cd $currentdir
...
@@ -81,6 +82,8 @@ cd $currentdir
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
cp
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/deb/pwrdemo/control
View file @
15e4d05e
Package: pwrdemo5
1
Package: pwrdemo5
3
Version: 5.
1.0-4
Version: 5.
3.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends:
pwr51 (>= 5.1.0-4
)
Depends:
sudo, pwr53 (>= 5.3.1-1
)
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview Demo Project package
Description: Proview Demo Project package
Proview Demo Project
Proview Demo Project
5.
1.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/deb/pwrrt/control
View file @
15e4d05e
Package: pwrrt
Package: pwrrt
Version: 5.
1.0-4
Version: 5.
3.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.1
3-38), libgtk2.0-0 (>= 2.24.10-2), libasound2 (>= 1.0.25-4), libsqlite3-0 (>= 3.7.13-1+deb7u1), libdb5.1 (>=5.1.29-5
)
Depends: libc6 (>= 2.1
9-18+deb8u1), libgtk2.0-0 (>= 2.24.25-3), libasound2 (>= 1.0.28-1), libsqlite3-0 (>= 3.5.7.1-1+deb8u1), libdb5.3 (>=5.3.28-9
)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50
,pwr51,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description:
Description:
Proview runtime environment
Proview runtime environment
5.1.0-1 Base release
5.3.1-1 Base release
5.1.0-2
- Wb history html file size limited to 1000 rows.
- Ge polyline draw bugfix for subwindows.
- Web, open graph from pwg-files as default, methods for pwg-graphs added.
5.1.0-3
- Class AppLink added.
- Ge trend and xycurve fix for subwindows.
5.1.0-4
- Support for Gertbord and PiFace.
- wb load of DataArithmL bugfix.
- Ge bugfix for scale with snap to grid.
- Xtt read struct fix, element name buffer increased.
src/tools/pkg/deb/pwrsev/build.sh
View file @
15e4d05e
...
@@ -143,7 +143,7 @@ currentdir="`eval pwd`"
...
@@ -143,7 +143,7 @@ currentdir="`eval pwd`"
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
cd
$pwre_broot
/
$pwre_target
/exp
cd
$pwre_broot
/
$pwre_target
/exp
echo
"-- Copy release to package tree"
echo
"-- Copy release to package tree"
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
exe
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
load
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
cd
$pkgroot
/usr/pwrsev
cd
$pkgroot
/usr/pwrsev
mkdir
cnf
mkdir
cnf
tar
-xf
$tarfile
tar
-xf
$tarfile
...
...
src/tools/pkg/deb/pwrsev/control
View file @
15e4d05e
Package: pwrsev
Package: pwrsev
Version: 5.
1.0-4
Version: 5.
3.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.1
3-38), libgtk2.0-0 (>= 2.24.10-2), libasound2 (>= 1.0.25-4), libsqlite3-0 (>= 3.7.13-1+deb7u1), libdb5.1 (>=5.1.29-5), libmysqlclient18 (>= 5.5.31+dfsg-0+wheezy
1)
Depends: libc6 (>= 2.1
9-18+deb8u1), libgtk2.0-0 (>= 2.24.25-3), libasound2 (>= 1.0.28-1), libsqlite3-0 (>= 3.8.7.1-1+deb8u1), libdb5.3 (>=5.3.28-9), libmysqlclient18 (>= 5.5.44-0+deb8u
1)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50
,pwr51,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description:
Description:
Proview storage environment
Proview storage environment
5.
1.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/deb_x86_64/pwr/build.sh
View file @
15e4d05e
...
@@ -102,6 +102,7 @@ echo "-- Building pwr$ver"
...
@@ -102,6 +102,7 @@ echo "-- Building pwr$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/etc
mkdir
-p
$pkgroot
/etc
...
@@ -194,6 +195,8 @@ cp $pwre_sroot/tools/pkg/$hw/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
...
@@ -194,6 +195,8 @@ cp $pwre_sroot/tools/pkg/$hw/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
cp
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/deb_x86_64/pwr/control
View file @
15e4d05e
Package: pwr53
Package: pwr53
Version: 5.3.
0
-1
Version: 5.3.
1
-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends: libc6 (>= 2.1
3-38), libgtk2.0-0 (>= 2.24.10-2), libasound2 (>= 1.0.25-4), libdb5.1 (>=5.1.29-5), libdb5.1++ (>= 5.1.29-5), libmysql++3 (>= 3.1.0-2+b1), libsqlite3-0 (>= 3.7.13-1+deb7u1), librsvg2-2 (>= 2.36.1-2), g++ (>= 4:4.7.2-1
)
Depends: libc6 (>= 2.1
9-18+deb8u1), libgtk2.0-0 (>= 2.24.25-3), libasound2 (>= 1.0.28-1), libdb5.3 (>=5.3.28-9), libdb5.3++ (>= 5.3.28-9), libmysql++3 (>= 3.2.1+pristine-1), libsqlite3-0 (>= 3.8.7.1-1+deb8u1), librsvg2-2 (>= 2.40.5-1), g++ (>= 4:4.9.2-2
)
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview development and runtime environment package
Description: Proview development and runtime environment package
Proview development and runtime environment
Proview development and runtime environment
- 5.3.0
-1 Base release
5.3.1
-1 Base release
src/tools/pkg/deb_x86_64/pwrdemo/build.sh
View file @
15e4d05e
...
@@ -23,6 +23,7 @@ echo "-- Building pwrdemo$ver"
...
@@ -23,6 +23,7 @@ echo "-- Building pwrdemo$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
find
$pkgroot
-type
d | xargs
chmod
755
find
$pkgroot
-type
d | xargs
chmod
755
...
@@ -82,6 +83,8 @@ cd $currentdir
...
@@ -82,6 +83,8 @@ cd $currentdir
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
cp
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/deb_x86_64/pwrdemo/control
View file @
15e4d05e
Package: pwrdemo53
Package: pwrdemo53
Version: 5.3.
0
-1
Version: 5.3.
1
-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends:
pwr53 (>= 5.3.0
-1)
Depends:
sudo, pwr53 (>= 5.3.1
-1)
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview Demo Project package
Description: Proview Demo Project package
Proview Demo Project
Proview Demo Project
5.3.
0
-1 Base release
5.3.
1
-1 Base release
src/tools/pkg/deb_x86_64/pwrrt/control
View file @
15e4d05e
Package: pwrrt
Package: pwrrt
Version: 5.3.
0
-1
Version: 5.3.
1
-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends: libc6 (>= 2.1
3-38), libgtk2.0-0 (>= 2.24.10-2), libasound2 (>= 1.0.25-4), libsqlite3-0 (>= 3.7.13-1+deb7u1), libdb5.1 (>=5.1.29-5), libmysqlclient18 (>= 5.5.43-0+deb7u1), libhdf5-openmpi-7 (>= 1.8.8-9+b1
)
Depends: libc6 (>= 2.1
9-18+deb8u1), libgtk2.0-0 (>= 2.24.25-3), libasound2 (>= 1.0.28-1), libsqlite3-0 (>= 3.5.7.1-1+deb8u1), libdb5.3 (>=5.3.28-9
)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description:
Description:
Proview runtime environment
Proview runtime environment
5.3.
0
-1 Base release
5.3.
1
-1 Base release
src/tools/pkg/deb_x86_64/pwrsev/build.sh
View file @
15e4d05e
...
@@ -145,7 +145,7 @@ currentdir="`eval pwd`"
...
@@ -145,7 +145,7 @@ currentdir="`eval pwd`"
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
cd
$pwre_broot
/
$pwre_target
/exp
cd
$pwre_broot
/
$pwre_target
/exp
echo
"-- Copy release to package tree"
echo
"-- Copy release to package tree"
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
exe
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
load
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
cd
$pkgroot
/usr/pwrsev
cd
$pkgroot
/usr/pwrsev
mkdir
cnf
mkdir
cnf
tar
-xf
$tarfile
tar
-xf
$tarfile
...
...
src/tools/pkg/deb_x86_64/pwrsev/control
View file @
15e4d05e
Package: pwrsev
Package: pwrsev
Version: 5.3.
0
-1
Version: 5.3.
1
-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends: libc6 (>= 2.1
3-38), libgtk2.0-0 (>= 2.24.10-2), libasound2 (>= 1.0.25-4), libsqlite3-0 (>= 3.7.13-1+deb7u1), libdb5.1 (>=5.1.29-5), libmysqlclient18 (>= 5.5.43-0+deb7
u1)
Depends: libc6 (>= 2.1
9-18+deb8u1), libgtk2.0-0 (>= 2.24.25-3), libasound2 (>= 1.0.28-1), libsqlite3-0 (>= 3.8.7.1-1+deb8u1), libdb5.3 (>=5.3.28-9), libmysqlclient18 (>= 5.5.44-0+deb8
u1)
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description:
Description:
Proview storage environment
Proview storage environment
5.3.
0
-1 Base release
5.3.
1
-1 Base release
src/tools/pkg/raspbian/pwrsev/build.sh
View file @
15e4d05e
...
@@ -143,7 +143,7 @@ currentdir="`eval pwd`"
...
@@ -143,7 +143,7 @@ currentdir="`eval pwd`"
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
cd
$pwre_broot
/
$pwre_target
/exp
cd
$pwre_broot
/
$pwre_target
/exp
echo
"-- Copy release to package tree"
echo
"-- Copy release to package tree"
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
exe
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
load
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
cd
$pkgroot
/usr/pwrsev
cd
$pkgroot
/usr/pwrsev
mkdir
cnf
mkdir
cnf
tar
-xf
$tarfile
tar
-xf
$tarfile
...
...
src/tools/pkg/ubu/pwr/build.sh
View file @
15e4d05e
...
@@ -101,6 +101,7 @@ echo "-- Building pwr$ver"
...
@@ -101,6 +101,7 @@ echo "-- Building pwr$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/etc
mkdir
-p
$pkgroot
/etc
...
@@ -193,6 +194,8 @@ cp $pwre_sroot/tools/pkg/deb/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
...
@@ -193,6 +194,8 @@ cp $pwre_sroot/tools/pkg/deb/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
cp
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/ubu/pwr/control
View file @
15e4d05e
Source: pwrsrc
Source: pwrsrc
Section: devel
Section: devel
Package: pwr5
2
Package: pwr5
3
Priority: optional
Priority: optional
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libdb5.3++ (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), librsvg2-2 (>= 2.40.2-1), g++ (>= 4:4.8.2-1ubuntu6), xfonts-100dpi
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libdb5.3++ (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), librsvg2-2 (>= 2.40.2-1), g++ (>= 4:4.8.2-1ubuntu6), xfonts-100dpi
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
,pwr52
Homepage: http://www.proview.se
Homepage: http://www.proview.se
Installed-Size: 1114020
Installed-Size: 1114020
Description: Proview development and runtime environment package
Description: Proview development and runtime environment package
Proview development and runtime environment
Proview development and runtime environment
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/ubu/pwrdemo/build.sh
View file @
15e4d05e
...
@@ -22,6 +22,7 @@ echo "-- Building pwrdemo$ver"
...
@@ -22,6 +22,7 @@ echo "-- Building pwrdemo$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
find
$pkgroot
-type
d | xargs
chmod
755
find
$pkgroot
-type
d | xargs
chmod
755
...
@@ -82,6 +83,8 @@ cd $currentdir
...
@@ -82,6 +83,8 @@ cd $currentdir
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
cp
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/ubu/pwrdemo/control
View file @
15e4d05e
Package: pwrdemo5
2
Package: pwrdemo5
3
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: pwr5
2 (>= 5.2
.1-1)
Depends: pwr5
3 (>= 5.3
.1-1)
Replaces:
Replaces:
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Homepage: http://www.proview.se
Homepage: http://www.proview.se
Installed-Size: 70464
Installed-Size: 70464
Description: Proview Demo Project package
Description: Proview Demo Project package
Proview Demo Project
Proview Demo Project
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/ubu/pwrrpi/control
View file @
15e4d05e
Package: pwrrpi5
1
Package: pwrrpi5
3
Version: 5.
1.0-4
Version: 5.
3.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: pwr5
1 (>= 5.1.0-4
)
Depends: pwr5
3 (>= 5.3.1-1
)
Replaces: pwr5
1
Replaces: pwr5
3
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview RPI development package
Description: Proview RPI development package
Proview RPI development environment
Proview RPI development environment
5.1.0-1 Base release
5.3.1-1 Base release
5.1.0-2
- Wb history html file size limited to 1000 rows.
- Ge polyline draw bugfix for subwindows.
- Web, open graph from pwg-files as default, methods for pwg-graphs added.
5.1.0-3
- Class AppLink added.
- Ge trend and xycurve fix for subwindows.
5.1.0-4
- Support for Gertbord and PiFace.
- wb load of DataArithmL bugfix.
- Ge bugfix for scale with snap to grid.
- Xtt read struct fix, element name buffer increased.
src/tools/pkg/ubu/pwrrt/control
View file @
15e4d05e
Package: pwrrt
Package: pwrrt
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libsqlite3-0 (>= 3.8.2-1ubuntu2), librsvg2-2 (>= 2.40.2-1), xfonts-100dpi
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libsqlite3-0 (>= 3.8.2-1ubuntu2), librsvg2-2 (>= 2.40.2-1), xfonts-100dpi
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Homepage: http://www.proview.se
Homepage: http://www.proview.se
Installed-Size: 955344
Installed-Size: 955344
Description:
Description:
Proview runtime environment
Proview runtime environment
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/ubu/pwrsev/build.sh
View file @
15e4d05e
...
@@ -143,7 +143,7 @@ currentdir="`eval pwd`"
...
@@ -143,7 +143,7 @@ currentdir="`eval pwd`"
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
cd
$pwre_broot
/
$pwre_target
/exp
cd
$pwre_broot
/
$pwre_target
/exp
echo
"-- Copy release to package tree"
echo
"-- Copy release to package tree"
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
exe
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
load
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
cd
$pkgroot
/usr/pwrsev
cd
$pkgroot
/usr/pwrsev
mkdir
cnf
mkdir
cnf
tar
-xf
$tarfile
tar
-xf
$tarfile
...
...
src/tools/pkg/ubu/pwrsev/control
View file @
15e4d05e
Package: pwrsev
Package: pwrsev
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: i386
Architecture: i386
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), xfonts-100dpi
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), xfonts-100dpi
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description:
Description:
Proview storage environment
Proview storage environment
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/ubu_x86_64/pwr/build.sh
View file @
15e4d05e
...
@@ -101,6 +101,7 @@ echo "-- Building pwr$ver"
...
@@ -101,6 +101,7 @@ echo "-- Building pwr$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwr
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/etc
mkdir
-p
$pkgroot
/etc
...
@@ -193,6 +194,8 @@ cp $pwre_sroot/tools/pkg/deb/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
...
@@ -193,6 +194,8 @@ cp $pwre_sroot/tools/pkg/deb/user/wtt_init1.pwr_com $pkgroot/usr/pwr$ver/$pwre_t
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
}
>
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
cp
$pkgroot
/usr/pwr
$ver
/
$pwre_target
/exp/cnf/user/proview
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/ubu_x86_64/pwr/control
View file @
15e4d05e
Source: pwrsrc
Source: pwrsrc
Section: devel
Section: devel
Package: pwr5
2
Package: pwr5
3
Priority: optional
Priority: optional
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Architecture: amd64
Architecture: amd64
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libdb5.3++ (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), librsvg2-2 (>= 2.40.2-1), g++ (>= 4:4.8.2-1ubuntu6), xfonts-100dpi
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libdb5.3++ (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), librsvg2-2 (>= 2.40.2-1), g++ (>= 4:4.8.2-1ubuntu6), xfonts-100dpi
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
Replaces: pwrrt,pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
,pwr52
Homepage: http://www.proview.se
Homepage: http://www.proview.se
Installed-Size: 1114020
Installed-Size: 1114020
Description: Proview development and runtime environment package
Description: Proview development and runtime environment package
Proview development and runtime environment
Proview development and runtime environment
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/ubu_x86_64/pwrdemo/build.sh
View file @
15e4d05e
...
@@ -23,6 +23,7 @@ echo "-- Building pwrdemo$ver"
...
@@ -23,6 +23,7 @@ echo "-- Building pwrdemo$ver"
# Create directories
# Create directories
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/DEBIAN
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/doc/pwrdemo
$ver
mkdir
-p
$pkgroot
/usr/share/applications
mkdir
-p
$pkgroot
/usr/pwrp
mkdir
-p
$pkgroot
/usr/pwrp
find
$pkgroot
-type
d | xargs
chmod
755
find
$pkgroot
-type
d | xargs
chmod
755
...
@@ -83,6 +84,8 @@ cd $currentdir
...
@@ -83,6 +84,8 @@ cd $currentdir
echo
"Categories=GNOME;GTK;Application;"
echo
"Categories=GNOME;GTK;Application;"
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
}
>
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
cp
$pkgroot
/usr/pwrp/pwrdemo
$ver
/cnf/proviewdemo
$ver
.desktop
$pkgroot
/usr/share/applications/
# Create package
# Create package
echo
"-- Building package"
echo
"-- Building package"
if
which fakeroot
>
/dev/null
;
then
if
which fakeroot
>
/dev/null
;
then
...
...
src/tools/pkg/ubu_x86_64/pwrdemo/control
View file @
15e4d05e
Package: pwrdemo5
2
Package: pwrdemo5
3
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends: pwr5
2 (>= 5.2
.1-1)
Depends: pwr5
3 (>= 5.3
.1-1)
Replaces:
Replaces:
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview Demo Project package
Description: Proview Demo Project package
Proview Demo Project
Proview Demo Project
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/ubu_x86_64/pwrrpi/control
View file @
15e4d05e
Package: pwrrpi5
1
Package: pwrrpi5
3
Version: 5.
1.0-4
Version: 5.
3.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends: pwr5
1 (>= 5.1.0-4
)
Depends: pwr5
3 (>= 5.3.1-1
)
Replaces: pwr5
1
Replaces: pwr5
3
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description: Proview RPI development package
Description: Proview RPI development package
Proview RPI development environment
Proview RPI development environment
5.1.0-1 Base release
5.3.1-1 Base release
5.1.0-2
- Wb history html file size limited to 1000 rows.
- Ge polyline draw bugfix for subwindows.
- Web, open graph from pwg-files as default, methods for pwg-graphs added.
5.1.0-3
- Class AppLink added.
- Ge trend and xycurve fix for subwindows.
5.1.0-4
- Support for Gertbord and PiFace.
- wb load of DataArithmL bugfix.
- Ge bugfix for scale with snap to grid.
- Xtt read struct fix, element name buffer increased.
src/tools/pkg/ubu_x86_64/pwrrt/control
View file @
15e4d05e
Package: pwrrt
Package: pwrrt
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends: libc6 (>= 2.19-93ubuntu4), libgtk2.0-0 (>= 2.24.20-1ubuntu1), libasound2 (>= 1.0.27.2-1ubuntu6), libdb5.3 (>=5.3.21-2), libsqlite3-0 (>= 3.7.17-1ubuntu1), librsvg2-2 (>= 2.36.4-2), xfonts-100dpi
Depends: libc6 (>= 2.19-93ubuntu4), libgtk2.0-0 (>= 2.24.20-1ubuntu1), libasound2 (>= 1.0.27.2-1ubuntu6), libdb5.3 (>=5.3.21-2), libsqlite3-0 (>= 3.7.17-1ubuntu1), librsvg2-2 (>= 2.36.4-2), xfonts-100dpi
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Homepage: http://www.proview.se
Homepage: http://www.proview.se
Installed-Size: 955344
Installed-Size: 955344
Description:
Description:
Proview runtime environment
Proview runtime environment
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pkg/ubu_x86_64/pwrsev/build.sh
View file @
15e4d05e
...
@@ -145,7 +145,7 @@ currentdir="`eval pwd`"
...
@@ -145,7 +145,7 @@ currentdir="`eval pwd`"
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
tarfile
=
$pwre_broot
/
$pwre_target
/bld/pkg/pwrtmp.tar
cd
$pwre_broot
/
$pwre_target
/exp
cd
$pwre_broot
/
$pwre_target
/exp
echo
"-- Copy release to package tree"
echo
"-- Copy release to package tree"
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
exe
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
tar
-cf
$tarfile
exe/rt_qmon exe/rt_prio exe/sev_ini exe/sev_xtt exe/sev_xtt_gtk exe/sev_server exe/sev_repair exe/
*
.gif exe/
*
.png
load
/sev_xtt_version_help.dat exe/pwr_pkg.sh exe/en_us/
*
.txt doc/
*
cd
$pkgroot
/usr/pwrsev
cd
$pkgroot
/usr/pwrsev
mkdir
cnf
mkdir
cnf
tar
-xf
$tarfile
tar
-xf
$tarfile
...
...
src/tools/pkg/ubu_x86_64/pwrsev/control
View file @
15e4d05e
Package: pwrsev
Package: pwrsev
Version: 5.
2
.1-1
Version: 5.
3
.1-1
Section: base
Section: base
Priority: optional
Priority: optional
Architecture: amd64
Architecture: amd64
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), xfonts-100dpi
Depends: libc6 (>= 2.19-0ubuntu6), libgtk2.0-0 (>= 2.24.23-0ubuntu1.1), libasound2 (>= 1.0.27.2-3ubuntu7), libdb5.3 (>=5.3.28-3ubuntu3), libmysql++3 (>= 3.2.0+pristine-1), libsqlite3-0 (>= 3.8.2-1ubuntu2), xfonts-100dpi
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
Replaces: pwr34,pwr39,pwr40,pwr41,pwr42,pwr43,pwr44,pwr45,pwr46,pwr47,pwr48,pwr50,pwr51
,pwr52
Maintainer: Proview <postmaster@proview.se>
Maintainer: Proview <postmaster@proview.se>
Description:
Description:
Proview storage environment
Proview storage environment
5.
2.0
-1 Base release
5.
3.1
-1 Base release
src/tools/pwre/src/os_linux/pwre_configure.sh
View file @
15e4d05e
...
@@ -459,8 +459,8 @@ else
...
@@ -459,8 +459,8 @@ else
pwre_config_check_lib mysql MYSQL lib lib 1
"/usr/lib/libmysqlclient.so:/usr/lib/mysql/libmysqlclient.so:/usr/lib/
$hwpl
-linux-
$gnu
/libmysqlclient.so"
pwre_config_check_lib mysql MYSQL lib lib 1
"/usr/lib/libmysqlclient.so:/usr/lib/mysql/libmysqlclient.so:/usr/lib/
$hwpl
-linux-
$gnu
/libmysqlclient.so"
pwre_config_check_include sqlite3 SQLITE3 1
"/usr/include/sqlite3.h"
pwre_config_check_include sqlite3 SQLITE3 1
"/usr/include/sqlite3.h"
pwre_config_check_lib libsqlite3 LIBSQLITE3 lib lib 0
"/usr/lib/libsqlite3.so:/usr/lib/
$hwpl
-linux-
$gnu
/libsqlite3.so"
pwre_config_check_lib libsqlite3 LIBSQLITE3 lib lib 0
"/usr/lib/libsqlite3.so:/usr/lib/
$hwpl
-linux-
$gnu
/libsqlite3.so"
pwre_config_check_include hdf5 HDF5 1
"/usr/lib/openmpi/include/mpi.h"
pwre_config_check_include hdf5 HDF5 1
"/usr/lib/openmpi/include/mpi.h
.no
"
pwre_config_check_lib libhdf5 LIBHDF5 lib lib 0
"/usr/lib/libhdf5.so:/usr/lib/
$hwpl
-linux-
$gnu
/libhdf5.so"
pwre_config_check_lib libhdf5 LIBHDF5 lib lib 0
"/usr/lib/libhdf5.so:/usr/lib/
$hwpl
-linux-
$gnu
/libhdf5
_openmpi
.so"
pwre_config_check_lib mq MQ lib mq 1
"/usr/lib/libdmq.so:/usr/local/dmq/lib/libdmq.so"
pwre_config_check_lib mq MQ lib mq 1
"/usr/lib/libdmq.so:/usr/local/dmq/lib/libdmq.so"
pwre_config_check_lib wmq WMQ lib wmq 1
"/usr/lib/libmqic.so"
pwre_config_check_lib wmq WMQ lib wmq 1
"/usr/lib/libmqic.so"
pwre_config_check_lib libprofinet PNAK lib pnak 1
"/usr/lib/libprofinet.a"
pwre_config_check_lib libprofinet PNAK lib pnak 1
"/usr/lib/libprofinet.a"
...
...
wb/lib/wb/gtk/wb_wge_gtk.cpp
View file @
15e4d05e
...
@@ -200,6 +200,7 @@ void WGeGtk::activate_help(GtkWidget *w, gpointer data)
...
@@ -200,6 +200,7 @@ void WGeGtk::activate_help(GtkWidget *w, gpointer data)
void
WGeGtk
::
action_resize
(
GtkWidget
*
w
,
GtkAllocation
*
allocation
,
gpointer
data
)
void
WGeGtk
::
action_resize
(
GtkWidget
*
w
,
GtkAllocation
*
allocation
,
gpointer
data
)
{
{
WGe
*
ge
=
(
WGe
*
)
data
;
WGe
*
ge
=
(
WGe
*
)
data
;
if
(
ge
->
graph
&&
!
ge
->
scrollbar
&&
!
ge
->
navigator
&&
ge
->
graph
->
grow
)
if
(
ge
->
graph
&&
!
ge
->
scrollbar
&&
!
ge
->
navigator
&&
ge
->
graph
->
grow
)
ge
->
graph
->
set_default_layout
();
ge
->
graph
->
set_default_layout
();
...
@@ -228,8 +229,8 @@ void WGeGtk::set_size( int width, int height)
...
@@ -228,8 +229,8 @@ void WGeGtk::set_size( int width, int height)
gtk_window_resize
(
GTK_WINDOW
(
toplevel
),
default_width
,
default_height
);
gtk_window_resize
(
GTK_WINDOW
(
toplevel
),
default_width
,
default_height
);
geometry
.
min_aspect
=
gdouble
(
default_width
)
/
default_height
;
geometry
.
min_aspect
=
gdouble
(
default_width
)
/
default_height
*
0.95
;
geometry
.
max_aspect
=
gdouble
(
default_width
)
/
default_height
*
1.0
2
;
geometry
.
max_aspect
=
gdouble
(
default_width
)
/
default_height
*
1.0
5
;
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
&
geometry
,
GDK_HINT_ASPECT
);
&
geometry
,
GDK_HINT_ASPECT
);
...
@@ -293,8 +294,8 @@ WGeGtk::WGeGtk( GtkWidget *wge_parent_wid, void *wge_parent_ctx, char *wge_name,
...
@@ -293,8 +294,8 @@ WGeGtk::WGeGtk( GtkWidget *wge_parent_wid, void *wge_parent_ctx, char *wge_name,
CoWowGtk
::
SetWindowIcon
(
toplevel
);
CoWowGtk
::
SetWindowIcon
(
toplevel
);
geometry
.
min_aspect
=
gdouble
(
window_width
)
/
window_height
;
geometry
.
min_aspect
=
gdouble
(
window_width
)
/
window_height
*
0.95
;
geometry
.
max_aspect
=
gdouble
(
window_width
)
/
window_height
*
1.0
2
;
geometry
.
max_aspect
=
gdouble
(
window_width
)
/
window_height
*
1.0
5
;
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
&
geometry
,
GDK_HINT_ASPECT
);
&
geometry
,
GDK_HINT_ASPECT
);
...
...
xtt/lib/xtt/gtk/xtt_ge_gtk.cpp
View file @
15e4d05e
...
@@ -78,17 +78,20 @@ void XttGeGtk::set_size( int width, int height)
...
@@ -78,17 +78,20 @@ void XttGeGtk::set_size( int width, int height)
int
default_width
;
int
default_width
;
int
default_height
;
int
default_height
;
GdkGeometry
geometry
;
GdkGeometry
geometry
;
float
rd
=
0.05
;;
default_width
=
width
+
20
;
default_width
=
width
+
20
;
default_height
=
height
+
20
;
default_height
=
height
+
20
;
if
(
width
<
300
||
height
<
300
)
rd
=
0.2
;
gtk_window_resize
(
GTK_WINDOW
(
toplevel
),
default_width
,
default_height
);
gtk_window_resize
(
GTK_WINDOW
(
toplevel
),
default_width
,
default_height
);
// This condition is due to a bug in Reflection X 11.0.5...
// This condition is due to a bug in Reflection X 11.0.5...
if
(
!
((
XNav
*
)
parent_ctx
)
->
gbl
.
no_graph_ratio
)
{
if
(
!
((
XNav
*
)
parent_ctx
)
->
gbl
.
no_graph_ratio
)
{
// Note, equal min and max aspect will cause recursive resize on LXDE
// Note, equal min and max aspect will cause recursive resize on LXDE
geometry
.
min_aspect
=
gdouble
(
default_width
)
/
default_height
;
geometry
.
min_aspect
=
gdouble
(
default_width
)
/
default_height
*
(
1.0
-
rd
)
;
geometry
.
max_aspect
=
gdouble
(
default_width
)
/
default_height
*
1.02
;
geometry
.
max_aspect
=
gdouble
(
default_width
)
/
default_height
*
(
1.0
+
rd
)
;
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
&
geometry
,
GDK_HINT_ASPECT
);
&
geometry
,
GDK_HINT_ASPECT
);
}
}
...
@@ -329,10 +332,14 @@ XttGeGtk::XttGeGtk( GtkWidget *xg_parent_wid, void *xg_parent_ctx, const char *x
...
@@ -329,10 +332,14 @@ XttGeGtk::XttGeGtk( GtkWidget *xg_parent_wid, void *xg_parent_ctx, const char *x
NULL
);
NULL
);
g_free
(
titleutf8
);
g_free
(
titleutf8
);
geometry
.
min_aspect
=
gdouble
(
window_width
)
/
window_height
;
float
rd
=
0.05
;
geometry
.
max_aspect
=
gdouble
(
window_width
)
/
window_height
*
1.02
;
if
(
window_width
<
300
||
window_height
<
300
)
rd
=
0.2
;
geometry
.
min_aspect
=
gdouble
(
window_width
)
/
window_height
*
(
1.0
-
rd
);
geometry
.
max_aspect
=
gdouble
(
window_width
)
/
window_height
*
(
1.0
+
rd
);
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
gtk_window_set_geometry_hints
(
GTK_WINDOW
(
toplevel
),
GTK_WIDGET
(
toplevel
),
&
geometry
,
GDK_HINT_ASPECT
);
&
geometry
,
GDK_HINT_ASPECT
);
if
(
options
&
ge_mOptions_HideDecorations
)
if
(
options
&
ge_mOptions_HideDecorations
)
gtk_window_set_decorated
(
GTK_WINDOW
(
toplevel
),
FALSE
);
gtk_window_set_decorated
(
GTK_WINDOW
(
toplevel
),
FALSE
);
...
...
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