Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210055 - games-arcade/myman (new ebuild)
Summary: games-arcade/myman (new ebuild)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
: 213070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-14 00:33 UTC by Dennis Felsing
Modified: 2018-12-03 12:57 UTC (History)
2 users (show)

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


Attachments
ebuild for myman 0.6 (myman-0.6.ebuild,1006 bytes, text/plain)
2008-02-14 00:34 UTC, Dennis Felsing
Details
chanded some uses (myman-0.6.ebuild,1.00 KB, text/plain)
2008-02-14 11:29 UTC, Tomáš Chvátal (RETIRED)
Details
little changes (myman-0.6.ebuild,1.02 KB, text/plain)
2008-02-14 12:58 UTC, Tomáš Chvátal (RETIRED)
Details
working ebuild (myman-0.6.ebuild,1.76 KB, text/plain)
2008-02-14 15:10 UTC, Tomáš Chvátal (RETIRED)
Details
some minor fix to ebuild (myman-0.6.ebuild,1.80 KB, text/plain)
2008-02-14 15:48 UTC, Tomáš Chvátal (RETIRED)
Details
more polished ebuild (myman-0.6.ebuild,1.84 KB, text/plain)
2008-03-22 10:02 UTC, Tomáš Chvátal (RETIRED)
Details
polished ebuild, better won't be (myman-0.6.ebuild,1.71 KB, text/plain)
2008-03-22 10:18 UTC, Tomáš Chvátal (RETIRED)
Details
cleanest and final (myman-0.6.ebuild,1.55 KB, text/plain)
2008-03-22 10:47 UTC, Tomáš Chvátal (RETIRED)
Details
change einstall for emake install (myman-0.6.ebuild,1.54 KB, text/plain)
2008-03-22 11:04 UTC, Tomáš Chvátal (RETIRED)
Details
MyMan 0.7.0 package - BSD license - Copyright 1997-2008, Benjamin C. Wiley Sittler (myman-0.7.0.tar.gz,975.55 KB, application/octet-stream)
2008-08-09 12:27 UTC, Daniele C.
Details
myman 0.7.0 ebuild (myman-0.7.0.ebuild,1.26 KB, text/plain)
2008-08-09 12:42 UTC, Tomáš Chvátal (RETIRED)
Details
ebuild using my server for getting source... (myman-0.7.0.ebuild,1.25 KB, text/plain)
2008-08-09 12:56 UTC, Tomáš Chvátal (RETIRED)
Details
myman-0.7.0.ebuild (myman-0.7.0.ebuild,1.18 KB, text/plain)
2008-08-22 12:32 UTC, Tomáš Chvátal (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Felsing 2008-02-14 00:33:43 UTC
New ebuild for myman.
Comment 1 Dennis Felsing 2008-02-14 00:34:47 UTC
Created attachment 143463 [details]
ebuild for myman 0.6
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-14 11:29:49 UTC
Created attachment 143487 [details]
chanded some uses

Some changes to ebuild.
I don't like the way it rdeps on X, so I'll look on it later.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-14 12:58:49 UTC
Created attachment 143493 [details]
little changes

I am going to test it later and we will see how is it working :)
Comment 4 Dennis Felsing 2008-02-14 13:41:19 UTC
I don't like the unicode- and widescreen-useflags you set. 

The game should also run with unicode-support without the flag, it just uses ncurses then. The useflag makes one think that they he has to install slang in order to use unicode.

ncursesw doesn't mean widescreen, but wide characters.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-14 14:37:58 UTC
there is only choise to run unicode with slang, ncurses have own unicode flag, so i think user which have system wide set unicode wants slang compiled as utf only. Otherwise it would use correct slang (nonutf) and both ncurses and slang are set with -unicode

widescreen:
ok what das mean wide characters
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-14 14:41:51 UTC
And with X suppot it is really crazy, now i see why did you make those deps and i like its code less and less :D
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-14 15:10:58 UTC
Created attachment 143506 [details]
working ebuild

removed X flag: why use this if it only starts terminal and in it the game
removing some bash executables since there is no need for them
rest works ok
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-14 15:48:38 UTC
Created attachment 143507 [details]
some minor fix to ebuild

changed deps for unicode and checking for slang with unicode
Comment 9 Tomáš Chvátal (RETIRED) gentoo-dev 2008-02-15 12:14:53 UTC
This game is not actively developed and deserve code polishing, so unless it'll be developed in future this could stay out of portage ie in sunrise overlay...
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2008-03-12 14:54:07 UTC
*** Bug 213070 has been marked as a duplicate of this bug. ***
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-22 10:02:40 UTC
Created attachment 146850 [details]
more polished ebuild

some fixes in use and add some coments
still needs to cleanup make install phase
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-22 10:18:34 UTC
Created attachment 146853 [details]
polished ebuild, better won't be

forget to remove unneeded lines with previous post
until author fixes that ugly stuff i mentioned before it can't be in portage at all.
Comment 13 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-22 10:47:32 UTC
Created attachment 146859 [details]
cleanest and final

noone will force me to do on this again until its mantainer fix this ugly thing :)
finded some better way to do make install thx to jakub
Comment 14 Tomáš Chvátal (RETIRED) gentoo-dev 2008-03-22 11:04:54 UTC
Created attachment 146862 [details]
change einstall for emake install

droped widechar and use utf detection only
changed einstall for emake install cause einstall instaled to normal portage structure not into gamesdir
Comment 15 Daniele C. 2008-08-04 23:15:03 UTC
Please update the ebuild to v0.7:

http://xent.com/~bsittler/myman-0.7.0.tar.gz

It should now be easier to configure it with USE flags, as the author told me.

I think the author has proven that it is actively developed (he is even available for further modifications if we find problems in v0.7.0), so it could be in portage. I think it is a must like tetris and similar, no computer can correctly work without these.
Comment 16 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-09 10:56:29 UTC
(In reply to comment #15)
> Please update the ebuild to v0.7:
> 
> http://xent.com/~bsittler/myman-0.7.0.tar.gz

I would love to, but i am unable to downoad it for two days now :( 


Comment 17 Daniele C. 2008-08-09 12:27:05 UTC
Created attachment 162562 [details]
MyMan 0.7.0 package - BSD license - Copyright 1997-2008, Benjamin C. Wiley Sittler

I have added the original package (downloaded 20 July 2008 at 21:55 GMT), please move it somewhere and then remove the attachment (as I am not sure that it can stay here)
Comment 18 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-09 12:42:26 UTC
Created attachment 162563 [details]
myman 0.7.0 ebuild

test and try
(finaly downloaded it so i hope it will work for you too :])
sdl did not work so i don't alow enabling it :(
Comment 19 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-09 12:52:12 UTC
For temporary purposes i put the package on my server (hopefully author wont mind)
Comment 20 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-09 12:56:08 UTC
Created attachment 162565 [details]
ebuild using my server for getting source...

only changed SRC_URI
Comment 21 Daniele C. 2008-08-09 13:43:26 UTC
did not try all combinations of USE flags, but works OK for me...

It's a pity for SDL, is there something I can submit to the author?
Comment 22 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-09 14:10:23 UTC
it was complaining about not defined some sdl keys
so if you want to see full mesage  compile it by hand and you will se exactly what i mean (maybe he wrote it against some wierd version of libsdl, really dunno).
I am glad that it is working for you and hope for others :]
Comment 23 Benjamin C. Wiley Sittler 2008-08-11 17:25:36 UTC
The --with-sdl does not work yet (not even compiling yet, it is based on another one of the backends with search-and-replace.) Use --with-pdcursessdl instead (and make sure PDCurses-SDL is installed) if you need to display on an SDL display target. I will either comment out that configure option or make --with-sdl work before the next release (0.7.1).
Comment 24 Benjamin C. Wiley Sittler 2008-08-12 15:42:27 UTC
Also, I don't have a reliable server to host this package on. Is there anyone willing to mirror the source tarballs? If so, please contact me: bsittler@gmail.com
Comment 25 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-13 12:40:15 UTC
sorry but we cant use pdcurses, cause they are not in portage at all...
Comment 26 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-13 12:41:53 UTC
and i am hosting that game on http://hlukotvor.no-ip.org/myman-0.7.0.tar.gz
i can keep it there forever, but it is only 10mbps and ussualy overloaded :]
Comment 27 Benjamin C. Wiley Sittler 2008-08-16 00:29:25 UTC
there is now a source package available from http://myman.sourceforge.net/ (go to project page and files section)

also, PDCurses is an optional dependency for MyMan, just like ncurses, S/Lang, GGI, and all the others. when building MyMan any single output driver can be selected. the options relevant to a Linux distro for 0.7.0 are as follows:

--with-libcaca     use libcaca
--with-libcaca0    use libcaca with <caca0.h>
--with-aalib       use AA-Lib
--with-raw         use *nix TTY/Win32 Console API (Unicode)
--with-raw-cp437   use *nix TTY/Win32 Console API (CP-437)
--with-allegro     use Allegro
--with-twin        use Twin
--with-ggi         use LibGGI/LibGII
--with-ggiwmh      use LibGGI/LibGII with WindowManagerHints
--with-sdl-mixer   use SDL Mixer for audio (only works with SDL or PDCurses SDL)
--with-slang-utf8  use UTF-8 S-Lang curses emulation (a.k.a. slcurses)
--with-slang       use S-Lang curses emulation (a.k.a. slcurses)
--with-xcursesw    use PDCurses for X (a.k.a. XCurses) (wide character version)
--with-xcurses     use PDCurses for X (a.k.a. XCurses)
--with-pdcursesw   use PDCurses (wide character version)
--with-pdcurses    use PDCurses
--with-pdcursessdl use PDCurses (SDL version)
--with-ncursesw    use ncurses (wide character version)
                   (--with-libiconv is recommended too if not using glibc)
--with-ncurses     use ncurses

I would recommand either --with-raw (no library dependencies whatsoever, just your C runtime; downside is that it only supports ASCII and UTF-8 locales) or --with-ncursesw (more complete locale support but a major libncursesw dependency to pull in) for a sensible default. plain old --with-slang-utf8 or --with-ncurses would work too, but their support for locales is even worse.
Comment 28 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-22 12:32:49 UTC
Created attachment 163549 [details]
myman-0.7.0.ebuild

<<<          obj /usr/games/share/doc/myman-0.7.0/myman.ps    
<<<          obj /usr/games/share/doc/myman-0.7.0/myman.html  
<<<          obj /usr/games/share/doc/myman-0.7.0/myman.dvi   
i guess this should be optional via make doc, not to do it in make all

also i fixed deps somehow
this is how is detection done now:
        if use unicode; then
                use slang && MYOPTS="--with-slang-utf8"
                use ncurses && MYOPTS="${MYOPTS} --with-ncursesw"
        else
                use slang && MYOPTS="--with-slang"
                use ncurses && MYOPTS="${MYOPTS} --with-ncurses"
        fi
        if ! use slang && ! use ncurses; then
                MYOPTS="${MYOPTS} --with-raw"
        fi

also there are default enabled ncurses unicode and iconv use flags.
Comment 29 Tomáš Chvátal (RETIRED) gentoo-dev 2008-08-22 12:41:09 UTC
but maybe better would be to use as default +raw and not add +ncurses.
what is your opinion?
Comment 30 Benjamin C. Wiley Sittler 2008-10-12 17:29:06 UTC
For MyMan 0.7.0 I think "raw" is probably the best default, due to poor Unicode support in the regular curses/ncurses code in MyMan; in a future release I intend to fix this using iconv.

On the subject of documentation formats, at the moment the HTML, PostScript and DVI are generated from the manpage source using groff. However, the build commands are set up to fail gracefully (i.e. without aborting the build) if the groff step fails. BTW, is there any sort of standard for "make doc" vs. "make docs"? At the moment MyMan uses the second format. Anyhow, do you propose removing the additional documentation formats in order to save space, or in order to remove groff dependency? Or for some other reason? Should the myman.6 manpage be generated and installed in this case, or not?

Also, since the project is now hosted by SourceForge (http://myman.sf.net/) I have an URL for a SourceForge-hosted copy of the 0.7.0 download:

http://internap.dl.sourceforge.net/sourceforge/myman/myman-0.7.0.tar.gz

It's on lots of other SourceForge mirror sites too.

Also, the project development is now using CVS. Feel free to check out the latest development version, submit patches, etc. Let me know if it would be beneficial for you to have read-write CVS access. More details on the CVS:

http://sourceforge.net/cvs/?group_id=236995

Does it make any sense to include the ebuild file inside the MyMan distribution? If so, is it OK to bundle it in under the MIT/BSD-license?