Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242902 - app-office/winstrom (new ebuild)
Summary: app-office/winstrom (new ebuild)
Status: RESOLVED DUPLICATE of bug 346671
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vlastimil Babka (Caster) (RETIRED)
URL: http://www.winstrom.cz/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 16:51 UTC by Jiri Tyr
Modified: 2010-11-24 16:54 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
winstrom-10.1.0.ebuild (winstrom-10.1.0.ebuild,2.47 KB, text/plain)
2008-10-20 16:51 UTC, Jiri Tyr
Details
winstrom-10.1.0.ebuild (winstrom-10.1.0.ebuild,3.06 KB, text/plain)
2008-10-21 07:25 UTC, Jiri Tyr
Details
winstrom-10.2.0.ebuild (winstrom-10.2.0.ebuild,2.95 KB, text/plain)
2008-11-19 10:22 UTC, Jiri Tyr
Details
winstrom-10.3.0.ebuild (winstrom-10.3.0.ebuild,2.92 KB, text/plain)
2009-01-07 23:55 UTC, Jiri Tyr
Details
winstrom-10.3.1.ebuild (winstrom-10.3.1.ebuild,3.05 KB, text/plain)
2009-01-09 12:36 UTC, Jiri Tyr
Details
winstrom-10.3.1.ebuild (winstrom-10.3.1.ebuild,2.99 KB, text/plain)
2009-01-09 12:47 UTC, Jiri Tyr
Details
/winstrom-10.3.5.ebuild (winstrom-10.3.5.ebuild,2.99 KB, text/plain)
2009-02-04 14:28 UTC, Jiri Tyr
Details
winstrom-10.4.0_alpha1.ebuild (winstrom-10.4.0_alpha1.ebuild,3.03 KB, text/plain)
2009-02-04 14:29 UTC, Jiri Tyr
Details
winstrom-10.4.0.ebuild (winstrom-10.4.0.ebuild,3.89 KB, text/plain)
2009-03-05 08:57 UTC, Jiri Tyr
Details
files/winstrom-server (winstrom-server,538 bytes, text/plain)
2009-03-05 08:59 UTC, Jiri Tyr
Details
winstrom-10.4.5.ebuild (winstrom-10.4.5.ebuild,4.05 KB, text/plain)
2009-03-27 11:26 UTC, Jiri Tyr
Details
winstrom-10.4.5.ebuild (winstrom-10.4.5.ebuild,4.23 KB, text/plain)
2009-04-09 14:10 UTC, Jiri Tyr
Details
files/winstrom-server.init (winstrom-server.init,492 bytes, text/plain)
2009-04-09 14:15 UTC, Jiri Tyr
Details
files/winstrom-server.conf (winstrom-server.conf,171 bytes, text/plain)
2009-04-09 14:15 UTC, Jiri Tyr
Details
winstrom-10.4.9.ebuild (winstrom-10.4.9.ebuild,4.23 KB, text/plain)
2009-04-09 14:20 UTC, Jiri Tyr
Details
winstrom-10.5.0_beta2.ebuild (winstrom-10.5.0_beta2.ebuild,4.40 KB, text/plain)
2009-05-14 15:45 UTC, Jiri Tyr
Details
winstrom-10.5.0.ebuild (winstrom-10.5.0.ebuild,4.40 KB, text/plain)
2009-05-19 19:58 UTC, Jiri Tyr
Details
winstrom-10.5.0-r1.ebuild (winstrom-10.5.0-r1.ebuild,4.54 KB, text/plain)
2009-05-22 09:04 UTC, Jiri Tyr
Details
winstrom-10.6.0.ebuild (winstrom-10.6.0.ebuild,4.49 KB, text/plain)
2009-08-19 18:07 UTC, Jiri Tyr
Details
winstrom-server.init (winstrom-server.init,653 bytes, text/plain)
2009-08-19 18:09 UTC, Jiri Tyr
Details
Ebuild with added server flag to install winstrom without server dependencies and server init script. (winstrom-10.6.3.ebuild,4.62 KB, text/plain)
2009-09-03 12:21 UTC, filbar
Details
winstrom-10.7.7.ebuild (winstrom-10.7.7.ebuild,4.59 KB, text/plain)
2010-01-14 10:59 UTC, Jiri Tyr
Details
winstrom-10.8.0_rc1.ebuild (winstrom-10.8.0_rc1.ebuild,4.59 KB, text/plain)
2010-01-18 23:43 UTC, Jiri Tyr
Details
winstrom-10.8.0.ebuild (winstrom-10.8.0.ebuild,4.59 KB, text/plain)
2010-01-29 16:29 UTC, Jiri Tyr
Details
/winstrom-10.8.6.ebuild (winstrom-10.8.6.ebuild,4.76 KB, text/plain)
2010-03-15 17:37 UTC, Jiri Tyr
Details
winstrom-10.9.0.3.ebuild (winstrom-10.9.0.3.ebuild,4.82 KB, text/plain)
2010-04-30 10:13 UTC, Jiri Tyr
Details
winstrom-10.10.3.ebuild (winstrom-10.10.3.ebuild,4.95 KB, text/plain)
2010-07-19 09:02 UTC, Jiri Tyr
Details
Updated flexibee ebuild (winstrom-10.11.3.12.ebuild,4.75 KB, text/plain)
2010-10-08 12:07 UTC, filbar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Tyr 2008-10-20 16:51:00 UTC
Czech Economic System.
Comment 1 Jiri Tyr 2008-10-20 16:51:43 UTC
Created attachment 169200 [details]
winstrom-10.1.0.ebuild

Ebuild for the winstrom-10.1.0.
Comment 2 Wormo (RETIRED) gentoo-dev 2008-10-20 18:21:17 UTC
Jiri, thanks for the ebuild submission! 

I am assigning this bug to caster because he is a java guy living in Czech Republic and thus seemed like most likely gentoo developer to adopt this package. If caster does not wish to take on winstrom at this time, he will reassign bug to "maintainer-wanted" and you are invited to share this ebuild with other Czech users by submitting it to Sunrise overlay
http://overlays.gentoo.org/proj/sunrise
Comment 3 Jiri Tyr 2008-10-21 07:25:44 UTC
Created attachment 169254 [details]
winstrom-10.1.0.ebuild

Added a desktop entry and DB connection notes.
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-10-31 23:34:07 UTC
I'd like to ask why are all dependencies commented out. If not everything that's bundled is available in the tree, why not use at least what is available?
Comment 5 Jiri Tyr 2008-11-02 16:05:18 UTC
(In reply to comment #4)
> I'd like to ask why are all dependencies commented out. If not everything
> that's bundled is available in the tree, why not use at least what is
> available?

As it is commercial product, it is better to include all JARs delivered with it to be sure it will works. In the portage tree, there are not all required dependencies and to include just few of them would mean more effort to develop and maintain the ebuild. From my point of view, it is better to install it as it is.
Comment 6 Jiri Tyr 2008-11-19 10:22:43 UTC
Created attachment 172347 [details]
winstrom-10.2.0.ebuild

Ebuild for the winstrom-10.2.0.
Comment 7 gapon 2009-01-07 23:38:10 UTC
Winstrom 10.3 was released, it seems that they do not provide tar.gz archive any more. Could anyone create a new ebuild please? Thanks a lot.
Comment 8 Jiri Tyr 2009-01-07 23:55:08 UTC
Created attachment 177722 [details]
winstrom-10.3.0.ebuild

Ebuild for the winstrom-10.3.0.
Comment 9 Jiri Tyr 2009-01-09 12:36:40 UTC
Created attachment 177865 [details]
winstrom-10.3.1.ebuild

Ebuild for the winstrom-10.3.1.
Comment 10 gapon 2009-01-09 12:43:15 UTC
> # any other solution?
> MY_PV=`echo ${PV} | sed 's/.[0-9]\$//'`

I just wanted to write this comment :)

Minor fix/improvement to the ebuild could be to use "${PV%.*}" so the SRC_URI then looks like this:
SRC_URI="http://www.winstrom.cz/download/${PV%.*}/${P}.tar.gz"
Comment 11 Jiri Tyr 2009-01-09 12:47:34 UTC
Created attachment 177866 [details]
winstrom-10.3.1.ebuild

Minor fix/improvement in SRC_URI (thanks to Gapon).
Comment 12 Jiri Tyr 2009-02-04 14:28:51 UTC
Created attachment 180910 [details]
/winstrom-10.3.5.ebuild

Ebuild for the latest stable version of Winstrom.
Comment 13 Jiri Tyr 2009-02-04 14:29:42 UTC
Created attachment 180912 [details]
winstrom-10.4.0_alpha1.ebuild

Alpha version of the winstrom-10.4.0.
Comment 14 Jiri Tyr 2009-03-05 08:57:32 UTC
Created attachment 183970 [details]
winstrom-10.4.0.ebuild

Ebuild for the winstrom-10.4.0.
Comment 15 Jiri Tyr 2009-03-05 08:59:13 UTC
Created attachment 183972 [details]
files/winstrom-server

Init.d script for the WinStrom server.
Comment 16 Jiri Tyr 2009-03-27 11:26:04 UTC
Created attachment 186408 [details]
winstrom-10.4.5.ebuild

Ebuild for the winstrom-10.4.5.
Comment 17 Martin H. 2009-04-01 14:39:42 UTC
Hi,

I haved tried it, and followed the info showed after merging the winstrom, but I am getting errors when starting winstrom server.

java.sql.SQLException: Connections could not be acquired from the underlying database!
        at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
        at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115)
        at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284)
        at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192)
        at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242)
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
        at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
        at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
        at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
        ... 5 more
16:33:32,406 ERROR ServerUtils:120 - Error connecting to the main database
java.sql.SQLException: Connections could not be acquired from the underlying database!
        at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
        at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115)
        at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284)
        at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192)
        at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242)
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
        at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
        at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
        at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
        ... 5 more
16:33:32,409 ERROR ServerUtils:218 - Error creating SSL server socket factory
java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database!
        at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:121)
        at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284)
        at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192)
        at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242)
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
        at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
        at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115)
        ... 3 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
        at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
        at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
        at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
        ... 5 more
16:33:32,410 ERROR WinStromServer:367 - Error starting WinStrom server
java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database!
        at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:219)
        at cz.winstrom.net.server.WinStromServer.main(WinStromServer.java:242)
Caused by: java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database!
        at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:121)
        at cz.winstrom.net.server.rmi.WinStromConnectorImpl.createAndUpdateCentralDatabase(WinStromConnectorImpl.java:1284)
        at cz.winstrom.net.server.tcp.ServerUtils.initSSL(ServerUtils.java:192)
        ... 1 more
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!
        at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)
        at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
        at cz.winstrom.net.server.tcp.ServerUtils.getJDBCConnection(ServerUtils.java:115)
        ... 3 more
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.
        at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)
        at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)
        at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)
        ... 5 more
java.lang.RuntimeException: java.sql.SQLException: Connections could not be acquired from the underlying database!
Comment 18 Jiri Tyr 2009-04-01 16:41:32 UTC
(In reply to comment #17)
> Hi,
> 
> I haved tried it, and followed the info showed after merging the winstrom, but
> I am getting errors when starting winstrom server.

Don't worry, I'm getting the same error ;o) I have discussed this problem with the WinStrom developer, but it didn't end up with a solution. Let me know if you find out what's wrong.
Comment 19 Jiri Tyr 2009-04-09 14:10:26 UTC
Created attachment 187788 [details]
winstrom-10.4.5.ebuild

New ebuild for the winstrom-10.4.5.
Comment 20 Jiri Tyr 2009-04-09 14:15:09 UTC
Created attachment 187790 [details]
files/winstrom-server.init

New init.d script.
Comment 21 Jiri Tyr 2009-04-09 14:15:35 UTC
Created attachment 187792 [details]
files/winstrom-server.conf

New conf.d script.
Comment 22 Jiri Tyr 2009-04-09 14:17:12 UTC
(In reply to comment #17)
> Hi,
> 
> I haved tried it, and followed the info showed after merging the winstrom, but
> I am getting errors when starting winstrom server.

Please try it again. It should work now.
Comment 23 Jiri Tyr 2009-04-09 14:20:57 UTC
Created attachment 187794 [details]
winstrom-10.4.9.ebuild

Ebuild for the winstrom-10.4.9.
Comment 24 Martin H. 2009-04-16 16:27:26 UTC
Great, it is working now. Thx Jiri!
Comment 25 Jiri Tyr 2009-05-14 15:45:11 UTC
Created attachment 191274 [details]
winstrom-10.5.0_beta2.ebuild

Ebuild for the winstrom-10.5.0_beta2.
Comment 26 Jiri Tyr 2009-05-19 19:58:32 UTC
Created attachment 191832 [details]
winstrom-10.5.0.ebuild

Ebuild for the winstrom-10.5.0.
Comment 27 Jiří Žán 2009-05-21 12:16:34 UTC
I've tried to install Winstrom as a server service on a web-hosting machine. There was a couple of issues. I would suggest to improve current ebuild to avoid them in future.

1. There was no Java VMS installed on the machine. So ebuild emerged dev-java/icedtea6-bin which doesn't work for winstrom-server init.d script. So I would suggest to add a dependency on dev-java/sun-jre-bin which works great and server starts without any problem...

2. I would add one more config file into the ebulid to the location /etc/default/winstrom This file should contain following lines:

WINSTROM_CFG=local
# WINSTROM_CFG=server

To easily switch behavior of server from local to network scope (http://www.winstrom.cz/produkty/10/instalacni-prirucka/sitovy-pristup/#rpm-distribuce).
Comment 28 Jiri Tyr 2009-05-22 09:04:29 UTC
Created attachment 192090 [details]
winstrom-10.5.0-r1.ebuild

Added the /etc/default/winstrom file and modified the RDEPEND variable to depend on sun-jre-bin or sun-jdk package.
Comment 29 anomen 2009-06-17 15:33:10 UTC
I recently emerged winstrom-1.5.0 (and winstrom-1.5.3 later) using 1.5.0-r1 ebuild and encounered few problems: 

I haven't figured how to enable logging - original server /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log, java-launcher created by ebuild doesn't.

Server doesn't work with jdk-1.5 and silently dies when client connects. Therefore some VM check should be made. I included this into /usr/init.d/winstrom-server:

if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then
  eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system VM."
  return 1
fi
Comment 30 Jiri Tyr 2009-08-19 18:06:49 UTC
(In reply to comment #29)
> I haven't figured how to enable logging - original server
> /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log,
> java-launcher created by ebuild doesn't.

Try to add WINSTROM_ARGS="2>>/var/log/winstrom-server.log" into the /etc/conf.d/winstrom-server.
 
> if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then
>   eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system VM."
>   return 1
> fi

Thanks. Added in the 1.6.0 version.
Comment 31 Jiri Tyr 2009-08-19 18:07:24 UTC
Created attachment 201734 [details]
winstrom-10.6.0.ebuild

Ebuild for the WinStrom 1.6.0.
Comment 32 Jiri Tyr 2009-08-19 18:09:20 UTC
Created attachment 201737 [details]
winstrom-server.init

New init.d script for the WinStrom 10.6.0. See the comment #29 for more info.
Comment 33 filbar 2009-09-03 12:21:58 UTC
Created attachment 203041 [details]
Ebuild with added server flag to install winstrom without server dependencies and server init script.

Ebuild with added server flag to install winstrom without server dependencies and server init script.
Comment 34 Jiri Tyr 2009-09-03 12:38:00 UTC
(In reply to comment #33)
> Ebuild with added server flag to install winstrom without server dependencies
> and server init script.

I thought that the server part is always needed or am I wrong?
Comment 35 filbar 2009-09-03 13:33:38 UTC
Winstrom can have server on other machine than client, and in this case isn't server on client needed.
Comment 36 Jiri Tyr 2009-09-03 13:35:26 UTC
(In reply to comment #35)
> Winstrom can have server on other machine than client, and in this case isn't
> server on client needed.

I see! ;o)
Comment 37 Martin H. 2010-01-12 20:35:05 UTC
The last ebuild 10.6.3 is not working for me. I am getting:
=====================================
Java QA Notice: installing versioned jar 'winstrom-server-impl-10.7.7.jar'                             
Java QA Notice: installing versioned jar 'winstrom-server-10.7.7.jar'                                  
Java QA Notice: installing versioned jar 'winstrom-sql-10.7.7.jar'                                     
Java QA Notice: installing versioned jar 'winstrom-ucto-10.7.7.jar'                                    
Java QA Notice: installing versioned jar 'winstrom-10.7.7.jar'                                         
!!! ERROR: Couldn't find a VM dep                                                                      
!!! ERROR: Couldn't find a VM dep                                                                      
 * Creating fonts.scale & fonts.dir ...                                                                
>>> Completed installing winstrom-10.7.7 into /var/tmp/portage/app-office/winstrom-10.7.7/image/   
=====================================
when emerging and:

=====================================
Traceback (most recent call last):
  File "/usr/bin/gjl", line 266, in <module>
    vm = get_vm(pkg)                        
  File "/usr/bin/gjl", line 173, in get_vm  
    return verman.get_vm(needed)            
  File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 205, in get_vm
    low = self.get_lowest(atoms) # Lowest vm version we can use                                 
  File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 148, in get_lowest
    lowest = self.get_lowest_atom(atoms)                                                            
  File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 144, in get_lowest_atom
    raise Exception("Couldn't find a VM dep")                                                            
Exception: Couldn't find a VM dep                                                                        
Couldn't get needed information       
=====================================

when starting server and client (both is not working).

But when I use old ebuild 10.4.9, rename it to 10.7.7. and emerge it, than everything works.
Comment 38 Jiri Tyr 2010-01-14 10:59:08 UTC
Created attachment 216480 [details]
winstrom-10.7.7.ebuild

Ebuild for the latest WinStrom-10.7.7.
Comment 39 Jiri Tyr 2010-01-18 23:43:18 UTC
Created attachment 216856 [details]
winstrom-10.8.0_rc1.ebuild

Ebuild for the latest version of Winstrom.
Comment 40 Jiri Tyr 2010-01-29 16:29:08 UTC
Created attachment 217838 [details]
winstrom-10.8.0.ebuild

Ebuild for the latest winstrom-10.8.0.
Comment 41 Jiri Tyr 2010-03-15 17:37:12 UTC
Created attachment 223759 [details]
/winstrom-10.8.6.ebuild

Ebuild for the latest winstrom-10.8.6.

* added USE="tcl" flag dependency on the dev-db/postgresql-server (is needed by the new version of the winstrom server)
* changed the way of TTF fonts installation (old way doesn't work with the EAPI="2")
Comment 42 Jiri Tyr 2010-04-30 10:13:02 UTC
Created attachment 229793 [details]
winstrom-10.9.0.3.ebuild

Ebuild for the winstrom-10.9.0.3.
Comment 43 Martin H. 2010-07-18 08:55:56 UTC
When I have updated my Winstrom, it was necessary to update the data in the database. When I have tried to update the data, Winstrom crashed. I have found that the problem is Max heap space memory, which is set up to 20m at file "/usr/sbin/winstrom-server". It is needed to make it bigger for ex. "-Xmx128m".
Comment 44 Jiri Tyr 2010-07-19 09:02:52 UTC
Created attachment 239351 [details]
winstrom-10.10.3.ebuild

Ebuild for the latest version of winstrom-10.10.3.

Correction of client/server wrapper parameters.
Comment 45 Jiri Tyr 2010-07-19 09:05:07 UTC
(In reply to comment #43)
> When I have updated my Winstrom, it was necessary to update the data in the
> database. When I have tried to update the data, Winstrom crashed. I have found
> that the problem is Max heap space memory, which is set up to 20m at file
> "/usr/sbin/winstrom-server". It is needed to make it bigger for ex. "-Xmx128m".
> 

Thanks for your comment. It is fixed in the last ebuild.
Comment 46 Jiří Žán 2010-08-09 16:17:29 UTC
(In reply to comment #29)
> I recently emerged winstrom-1.5.0 (and winstrom-1.5.3 later) using 1.5.0-r1
> ebuild and encounered few problems: 
> 
> I haven't figured how to enable logging - original server
> /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log,
> java-launcher created by ebuild doesn't.
> 
> Server doesn't work with jdk-1.5 and silently dies when client connects.
> Therefore some VM check should be made. I included this into
> /usr/init.d/winstrom-server:
> 
> if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then
>   eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system
> VM."
>   return 1
> fi
> 

(In reply to comment #30)
> (In reply to comment #29)
> > I haven't figured how to enable logging - original server
> > /usr/sbin/winstrom-server sets up logging into /var/log/winstrom.log,
> > java-launcher created by ebuild doesn't.

I'm affraid, but log functionality doesn't work any other suggestion?

> 
> Try to add WINSTROM_ARGS="2>>/var/log/winstrom-server.log" into the
> /etc/conf.d/winstrom-server.
> 
> > if [ -z $(java-config-2 -f | grep 'sun-j.*-1\.6') ] ; then
> >   eerror "Java 1.6 required. Use java-config-2 to select Java 1.6 as a system VM."
> >   return 1
> > fi
> 
> Thanks. Added in the 1.6.0 version.
> 

Comment 47 Martin H. 2010-09-23 18:30:54 UTC
I have seen that Winstrom has been renamed to FlexiBee. Source package is different, so it is impossible to use existing ebuilds. Do you plan to write new ebuild? I would be very grateful.

Thx, 
Martin
Comment 48 Jiří Žán 2010-10-04 16:53:34 UTC
Yes, I'd appreciate this new ebuid too ;-)...

(In reply to comment #47)
> I have seen that Winstrom has been renamed to FlexiBee. Source package is
> different, so it is impossible to use existing ebuilds. Do you plan to write
> new ebuild? I would be very grateful.
> 
> Thx, 
> Martin
> 

Comment 49 filbar 2010-10-08 12:07:31 UTC
Created attachment 249917 [details]
Updated flexibee ebuild

I make some ugly changes to this ebuild to install with new package name(flexibee).
Comment 50 Jiří Žán 2010-10-19 18:11:28 UTC
Instalatin works - thanks :-).

But there are some issues:

1. The /etc/init.d/flexibee-server script is not created
2. Is it needed to create new files /etc/default/flexibee and/or /etc/conf.d/winstrom-server ?


(In reply to comment #49)
> Created an attachment (id=249917) [details]
> Updated flexibee ebuild
> 
> I make some ugly changes to this ebuild to install with new package
> name(flexibee).
> 

Comment 51 Jan Boros 2010-11-24 15:15:58 UTC
I did install 10.11.3.12.
when starting I am getting this message
flexibee 
Traceback (most recent call last):
  File "/usr/bin/gjl-2.6", line 264, in <module>
    vm = get_vm(pkg)
  File "/usr/bin/gjl-2.6", line 171, in get_vm
    return verman.get_vm(needed)
  File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 244, in get_vm
    low = self.get_lowest(atoms) # Lowest vm version we can use
  File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 187, in get_lowest
    lowest = self.get_lowest_atom(atoms)
  File "/usr/lib64/python2.6/site-packages/java_config_2/VersionManager.py", line 183, in get_lowest_atom
    raise Exception("Couldn't find a VM dep")
Exception: Couldn't find a VM dep
Couldn't get needed information

please, I did remerge java-config, run python-updater ...
nothing help, any idea?
thanks
Comment 52 Jiri Tyr 2010-11-24 16:54:05 UTC
I have created a new ebuild for the latest WinStrom FlexiBee. Because this product has changed its name, I have created new thread for it:

http://bugs.gentoo.org/show_bug.cgi?id=346671

Please send all comments related to this product into the new thread.

*** This bug has been marked as a duplicate of bug 346671 ***