Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New Portage Frontend: GENU
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Fri Feb 18, 2005 8:37 pm    Post subject: New Portage Frontend: GENU Reply with quote

Hello

http://www.markus-jonsson.com/projects/genu/

I would like to announce a new portage frontend wich I wrote during the holidays.
It uses gnome and is written in mono/c#. The release is a development release
and I would love it if people tested it and gave me som response.

Screenshots, information, faq and download:
http://www.markus-jonsson.com/projects/genu/

Hope you will like it!
Back to top
View user's profile Send private message
WladyX
Guru
Guru


Joined: 25 Nov 2004
Posts: 503
Location: Romania

PostPosted: Fri Feb 18, 2005 8:56 pm    Post subject: Reply with quote

The shots are awesome, and i like that you made a frontend for the /etc/portage files. Great. Installing it soon, hope to see it in portage.
_________________
We are not alone.
Back to top
View user's profile Send private message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Fri Feb 18, 2005 9:07 pm    Post subject: Reply with quote

Great that you like it, just let me know if something goes wrong.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Fri Feb 18, 2005 10:33 pm    Post subject: Reply with quote

Looks good. I'll give it a shot later.

Any advantages or major differnces over porthole? (Just interested as I like porthole to search descriptions and find it easier searching portage with it than using the command line, nice to try a different gui).

Good job though :)
_________________
usefuljaja.com - VPS Tutorials
Back to top
View user's profile Send private message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Fri Feb 18, 2005 11:10 pm    Post subject: Reply with quote

sorry to dissapoint you, but the search function is not implemented yet.

genu can be run by a normal user, you can browse the tree and select packages for installation and so on. you don't have to enter the root password until you actually emerge the packages. in a future version (couple of days, since I'm allready working on it) this means that you can be notified when new packages are available and so on.

genu is a little bit more dialog based than porthole, allthough there is a "manager" program (inspired by porthole and synaptic package manager (debian/ubuntu) ) planned too. that might take i while though, unless someone wants to help me, my time is limited.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Sat Feb 19, 2005 12:03 am    Post subject: Reply with quote

Hey, no dissapointment here!

I like the normal user routine until actually emerging something.

Not a programmer so can't offer anything except moral support though :)
_________________
usefuljaja.com - VPS Tutorials
Back to top
View user's profile Send private message
DarkStorm_Inc
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2005
Posts: 105
Location: The Ether

PostPosted: Sat Feb 19, 2005 12:14 am    Post subject: Reply with quote

looks decent, reminds me of kuroo though. But why didnt you use qt or gtk?
Back to top
View user's profile Send private message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Sat Feb 19, 2005 12:26 am    Post subject: Reply with quote

DarkStorm_Inc wrote:
looks decent, reminds me of kuroo though. But why didnt you use qt or gtk?


In fact id does use gtk, via gtk-sharp. All the widgets and dialogs which use gtk are packaged into gtk-portage.dll so that they can be used in other applications. But the main program, genu, uses gnome libraries.

I use gnome myself, so kde/qt was not an option, but there are qt bindings for mono/c# so you can use my portage-sharp.dll to write your own frontend.
Back to top
View user's profile Send private message
CitizenX
Apprentice
Apprentice


Joined: 11 Sep 2004
Posts: 158
Location: Fresno, CA

PostPosted: Sat Feb 19, 2005 1:33 am    Post subject: Reply with quote

Great to see another frontend..especially such a good looking one. Anyone installed it yet? I'd like to hear how it handles.

Why all the strange dependencies? most of what the website requires is ~x86 (gtk-sharp, mono 1.0.5, then that wants something else....even gcc 3.4. Not that I don't like ~x86 builds (I've got plenty of them installed), but so many in a row tends to make me nervous. Are those absolute minimum requirements or should I just bite the bullet and go ahead? Or (most likely) am I reading things wrong and just being an idiot?
Back to top
View user's profile Send private message
d0nju4n
Apprentice
Apprentice


Joined: 19 Apr 2004
Posts: 283
Location: Rochester, MN

PostPosted: Sat Feb 19, 2005 2:02 am    Post subject: Reply with quote

looks pretty slick, I'll do some testing on it later tonight for you
_________________
Linux User 355087
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sat Feb 19, 2005 2:18 am    Post subject: Reply with quote

Edit: This fails for some people. Post a fix if you can.

app-portage/genu-0.2.2.ebuild
Code:

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit mono

DESCRIPTION="Portage front-end implemented in mono with gnome-sharp"
HOMEPAGE="http://www.markus-jonsson.com/projects/genu/"
SRC_URI="http://www.markus-jonsson.com/downloads/genu/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

IUSE=""
DEPEND=">=dev-dotnet/gnome-sharp-1.0.4
   x11-libs/gksu"

S=${WORKDIR}/${PN}/src

src_unpack() {
   unpack ${A} || die "Failed to unpack ${A}"
   cd ${S} || die "Failed to cd ${S}"
   sed -i -e 's:cp -rv ..$(PREFIX) /:cp -rv ..$(PREFIX) ${D}/:' Makefile
}

src_sompile() {
   make
}

src_install() {
   einstall
}



Last edited by Pythonhead on Tue Feb 22, 2005 1:13 am; edited 4 times in total
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9005
Location: beyond the rim

PostPosted: Sat Feb 19, 2005 2:52 am    Post subject: Reply with quote

a) your site seems to be down atm - dialup/dsl home server? (EDIT: nevermind, my DNS was borked)
b) how do you interface with portage? (don't know which functions are implemented yet so this question might not be relevant)


Last edited by Genone on Sat Feb 19, 2005 7:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Sat Feb 19, 2005 9:38 am    Post subject: Reply with quote

Great to get some feedback!

CitizenX:
Well, I have not tested with mono 0.28, but that one is really old. Mono will probably not get stable in portage until the 1.2 release, which comes Q2 this year.
gcc 3.4 ? I run gcc 3.3.5

Pythonhead:
I'll look into that one. Seems like it doesn't recognize some of your /ets/portage files ..

Genone:
Don't know if the server where down, but it's back up anyways. No it's a dedicated server.
It interfaces with portage by running the actual commands. I was afraid that it would be too much to maintain doing in another way, also I'm not sure how to do that.
Back to top
View user's profile Send private message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Sat Feb 19, 2005 7:26 pm    Post subject: Reply with quote

Back again with a new version, GENU-0.2.2

Changes since 0.2:
* Replaced ugly code with regular expressions at
some places. Hopefully more reliable.
* Added a temporary support for packages that does not allow downloading.
* Support for the "installed" column is back..!
* Corrected some spelling mistakes.
* Made the SyncDialog and MergeDialog look different (hopefully better).
* Code looks better.
* Added warnings to EnvironmentDialog.

Think this should fix Pythonhead's problem
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sat Feb 19, 2005 7:55 pm    Post subject: Reply with quote

m4rqz wrote:

Pythonhead:
I'll look into that one. Seems like it doesn't recognize some of your /etc/portage files ..


Its fixed in 0.2.2 and I updated the ebuild above.

It seems like every non-python portage utility runs into this problem at the beginning. I
think a C library that parses /etc/make.conf and /etc/portage/* files with bindings
in mono, ruby, perl etc would be nice.
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Sat Feb 19, 2005 10:43 pm    Post subject: Reply with quote

Code:
>>> emerge (2 of 2) app-portage/genu-0.2.2 to /
>>> md5 src_uri ;-) genu-0.2.2.tar.gz
>>> Unpacking source...
>>> Unpacking genu-0.2.2.tar.gz to /var/tmp/portage/genu-0.2.2/work
>>> Source unpacked.
mkdir -p ../usr/lib/genu
mcs  -target:library -out:../usr/lib/genu/portage-sharp.dll ./portage-sharp/Ebui ld.cs ./portage-sharp/Emerge.cs ./portage-sharp/Environment.cs ./portage-sharp/E xceptions.cs ./portage-sharp/Portage.cs
mkdir -p ../usr/lib/genu
mcs   \
   -pkg:gnome-sharp  -pkg:gtk-sharp \
  -target:library -out:../usr/lib/genu/egg-sharp.dll ./egg-sharp/egg-sharp.cs
ACCESS DENIED  open_wr:   /root/.wapi/shared_data-Jacob-3-0
ACCESS DENIED  open_wr:   /root/.wapi/shared_data-Jacob-3-0

** (/usr/lib/mono/1.0/mcs.exe:25264): CRITICAL **: : shared file [/root/.wapi/sh ared_data-Jacob-3-0] open error: Permission denied

** (/usr/lib/mono/1.0/mcs.exe:25264): CRITICAL **: : shared file [/root/.wapi/sh ared_data-Jacob-3-0] open error

** (/usr/lib/mono/1.0/mcs.exe:25264): WARNING **: Failed to attach shared memory ! Falling back to non-shared handles
See: http://www.go-mono.com/issues.html#wapi for details

** (/usr/lib/mono/1.0/mcs.exe:25266): CRITICAL **: : shared file [/root/.wapi/sh ared_data-Jacob-3-0] open error: Permission denied

** (/usr/lib/mono/1.0/mcs.exe:25266): CRITICAL **: : shared file [/root/.wapi/sh ared_data-Jacob-3-0] open error

** (/usr/lib/mono/1.0/mcs.exe:25266): WARNING **: Failed to attach shared memory ! Falling back to non-shared handles
See: http://www.go-mono.com/issues.html#wapi for details
error CS8027: Couldn't run pkg-config: Cannot find the specified file
make: *** [egg-sharp.dll] Error 1
make: *** Waiting for unfinished jobs....
Compilation succeeded

!!! ERROR: app-portage/genu-0.2.2 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-portage_-_genu-0.2.2-25249.log"

open_wr:   /root/.wapi/shared_data-Jacob-3-0
open_wr:   /root/.wapi/shared_data-Jacob-3-0
--------------------------------------------------------------------------------
???
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
uman
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 223

PostPosted: Sat Feb 19, 2005 11:20 pm    Post subject: Reply with quote

Stupid question but where should I put that ebuild?

OH and by the way I didn't know C# supports regular expressions...that's pretty cool.
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sat Feb 19, 2005 11:37 pm    Post subject: Reply with quote

Homer: Try adding "inherit mono" after the copyright header

uman: http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
Back to top
View user's profile Send private message
uman
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 223

PostPosted: Sat Feb 19, 2005 11:40 pm    Post subject: Reply with quote

Thanks pythonhead!
Back to top
View user's profile Send private message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Sun Feb 20, 2005 12:08 am    Post subject: Reply with quote

I haven't tried the ebuild but I hope it works, I'll but it on the website.

I hope you tell me if you run into problems, I really want this to work.
Back to top
View user's profile Send private message
WladyX
Guru
Guru


Joined: 25 Nov 2004
Posts: 503
Location: Romania

PostPosted: Sun Feb 20, 2005 12:22 am    Post subject: Reply with quote

The ebuild doesn't work for me, maybe i'm doing something wrong thou, anyway i get :

Code:

  -pkg:gnome-sharp  -pkg:gtk-sharp \
   -r:../usr/lib/genu/egg-sharp.dll  -r:../usr/lib/genu/portage-sharp.dll \
  -target:exe \
  -main:Genu \
  -out:../usr/lib/genu/genu.exe ./genu/Genu.cs ./genu/GenuTrayIcon.cs ./genu/EnvDialog.cs ./genu/InstallDialog.cs ./genu/MaskedDialog.cs ./genu/MergeDialog.cs ./genu/PortageTreeView.cs ./genu/PretendDialog.cs ./genu/SyncDialog.cs
Compilation succeeded
mkdir -p ../usr/bin
rm -f ../usr/bin/genu
error CS0006: Cannot find assembly `../usr/lib/genu/egg-sharp.dll'
Log:

Compilation succeeded
touch ../usr/bin/genu
echo "#!/bin/sh" >> ../usr/bin/genu
echo echo \"\$@\" >> ../usr/bin/genu
Compilation failed: 1 error(s), 0 warnings
echo /usr/bin/mono /usr/lib/genu/genu.exe \"\$@\" >> ../usr/bin/genu
chmod a+x ../usr/bin/genu
make: *** [genu.exe] Error 1

!!! ERROR: app-portage/genu-0.2.2 failed.
!!! Function src_compile, Line 556, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

_________________
We are not alone.
Back to top
View user's profile Send private message
m4rqz
Tux's lil' helper
Tux's lil' helper


Joined: 22 Aug 2004
Posts: 129
Location: Sweden

PostPosted: Sun Feb 20, 2005 12:49 am    Post subject: Reply with quote

WladyX:
The "rm -f ../usr/bin/genu" line seems wierd..
what version of mono/gtk-sharp/gnome-sharp are you using?
have you tried to emerge multiple times?
I can't think of anything in the makefile that causes this.
Pythonhead, what do you think? something with the ebuild?
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Sun Feb 20, 2005 1:59 am    Post subject: Reply with quote

Pythonhead wrote:
Homer: Try adding "inherit mono" after the copyright header

Thank you that worked. I copy and pasted the code from the above post. That is weird.

Now my problem is when I run genu it just says:
Code:
Loading GENU 0.2.2 development..
And nothing else. I tried running as a user and as root but I get the same results.

Oh and here is the the strace output
Code:
...
fstat64(255, {st_mode=S_IFREG|0755, st_size=62, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/sh\necho \"$@\"\n/usr/bin/mon"..., 62) = 62
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7feb000
write(1, "\n", 1
)                       = 1
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7ead638) = 8118
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x8074900, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, Loading GENU 0.2.2 development...

_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Sun Feb 20, 2005 2:18 am    Post subject: Reply with quote

HomerSimpson wrote:

Now my problem is when I run genu it just says:
Code:
Loading GENU 0.2.2 development..
And nothing else. I tried running as a user and as root but I get the same results.


Does your window manager have a system-tray-like-thing? The app starts iconized or whatever the term is.

WladyX: does it install fine without the ebuild?
Back to top
View user's profile Send private message
HomerSimpson
l33t
l33t


Joined: 25 Jan 2003
Posts: 869
Location: Ohio, USA

PostPosted: Sun Feb 20, 2005 2:49 am    Post subject: Reply with quote

Pythonhead wrote:
HomerSimpson wrote:

Now my problem is when I run genu it just says:
Code:
Loading GENU 0.2.2 development..
And nothing else. I tried running as a user and as root but I get the same results.


Does your window manager have a system-tray-like-thing? The app starts iconized or whatever the term is.
OK. I added the Gnome Notification Area and now I see it. Thank you.
_________________
The strong must protect the Sweet.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum