First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 79969
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Anton Romanov <theli@ukr.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openttd-0.3.6.ebuild proposed ebuild (needs some edit) text/plain Anton Romanov 2005-01-29 10:21 0000 2.69 KB Details
openttd-0.3.6-r1.ebuild openttd-0.3.6-r1.ebuild text/plain Anton Romanov 2005-03-14 05:15 0000 2.70 KB Details
openttd-0.3.6-r1.ebuild openttd-0.3.6-r1.ebuild text/plain Anton Romanov 2005-03-14 06:18 0000 2.68 KB Details
openttd-0.3.6-r1.ebuild openttd-0.3.6-r1.ebuild text/plain Anton Romanov 2005-03-14 06:21 0000 2.67 KB Details
openttd-0.3.6-r1.ebuild openttd-0.3.6-r1.ebuild text/plain Anton Romanov 2005-03-15 01:02 0000 3.35 KB Details
openttd-0.3.6-r1.ebuild openttd-0.3.6-r1.ebuild text/plain Anton Romanov 2005-03-15 01:06 0000 3.35 KB Details
openttd-0.3.6-r1.ebuild openttd-0.3.6-r1.ebuild text/plain Anton Romanov 2005-03-15 01:10 0000 3.30 KB Details
openttd-0.3.6-r1.ebuild openttd-0.3.6-r1.ebuild text/plain Anton Romanov 2005-03-17 02:24 0000 3.11 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 79969 depends on: Show dependency tree
Bug 79969 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-29 10:19 0000
don't want unnecessary packages instaleld
and i suppose much users have alsa-utils installed...

will attach ebuild for 0.3.6 edited by me 
(it works but i haven't any experience in making ebuilds earlier...)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Anton Romanov 2005-01-29 10:21:26 0000 -------
Created an attachment (id=49847) [details]
proposed ebuild (needs some edit)

------- Comment #2 From Chris Gianelloni (RETIRED) 2005-03-12 08:25:04 0000 -------
What exactly is pmidi?

If someone had alsa in the USE flags, wouldn't they have alsa-utils anyway?  I'm not sure I see the point in an alsa-utils USE flag.

------- Comment #3 From Anton Romanov 2005-03-14 01:19:06 0000 -------
well... have you seen ebuild in portage?
that ebuild only has option for using pmidi or timidity for playing midi....

as i wanted to play midis using aplaymidi (because didn't wanted to install pmidi as i had alsa-utils already and didn't see any advantages of pmidi over aplaymidi (and didn't wanted to install unnecessary for me package) and my Cel300 is to slow for timidity))
and second - i didn't wanted to make too much changes to ebuild (the original used pmidi with alsa flag)

well, i hope you see the point :)

ps: sorry for my english (i know - its far from good :( )

almost forgot - pmidi is midi player capable of using alsa ... i suppose  ( but haven't seen it by myself though)

------- Comment #4 From Anton Romanov 2005-03-14 03:52:05 0000 -------
and i suppose most people using alsa have alsa-utils ....
so why there is no option for using aplaymidi ?

------- Comment #5 From Anton Romanov 2005-03-14 04:08:54 0000 -------
as for "alsa-utils" flag ....
maybe it would be better to have "pmidi" flag for pmidi and use aplaymidi as default for "alsa" flag?

------- Comment #6 From Anton Romanov 2005-03-14 05:15:21 0000 -------
Created an attachment (id=53412) [details]
openttd-0.3.6-r1.ebuild

i've polished ebuild ....
now it has "pmidi" flag for using pmidi
and "alsa" flag now sets aplaymidi

also polished postinstall info ...

------- Comment #7 From Chris Gianelloni (RETIRED) 2005-03-14 06:05:42 0000 -------
That looks a lot better and I like the idea of using the pmidi USE flag more
than alsa-utils.  You did miss one check in src_compile for the alsa-utils USE
flag.

------- Comment #8 From Anton Romanov 2005-03-14 06:18:03 0000 -------
Created an attachment (id=53422) [details]
openttd-0.3.6-r1.ebuild

fixed missed use of "alsa-utils" flag

------- Comment #9 From Anton Romanov 2005-03-14 06:21:13 0000 -------
Created an attachment (id=53425) [details]
openttd-0.3.6-r1.ebuild

------- Comment #10 From Anton Romanov 2005-03-14 06:25:13 0000 -------
well i'm not sure how can i make desktop entry to run 
/usr/games/bin/openttd -m extmidi
instead of 
/usr/games/bin/openttd

------- Comment #11 From Chris Gianelloni (RETIRED) 2005-03-14 06:51:27 0000 -------
1. Change "inherit games" to "inherit eutils games"
2. Use doicon/newicon for copying the icon to /usr/share/pixmaps
3. I would recommend naming the icon to be the same as the package, so opentdd.png
4. make_desktop_entry "openttd -m extmidi" "OpenTTD" openttd.png

If you have any other questions, feel free to ask them.

------- Comment #12 From Anton Romanov 2005-03-14 07:08:29 0000 -------
1.you see - icons which package provides are varying in size from 16x16 to
128x128 and i simply not sure which to use for desktop entry ....
maybe the biggest?
2.only now noticed that ebuild is not installing provided with package
scenarios and scripts examples. will include this in ebuild....

------- Comment #13 From Anton Romanov 2005-03-15 01:02:42 0000 -------
Created an attachment (id=53502) [details]
openttd-0.3.6-r1.ebuild

i hope this is the last version ....
as i tested it yesterday with various flags on my home pc ...
changes from the original euild:
1. inherits eutils (for using doicon, i suppose)
2. uses doicon for icons (instead of insinto+newins)
3. has option for playing midi with aplaymidi with "alsa" flag and "pmidi" flag
for pmidi
4. installs scenarios and sample scripts
5. more postinstall info

------- Comment #14 From Anton Romanov 2005-03-15 01:06:01 0000 -------
Created an attachment (id=53503) [details]
openttd-0.3.6-r1.ebuild

ooops

------- Comment #15 From Anton Romanov 2005-03-15 01:10:46 0000 -------
Created an attachment (id=53504) [details]
openttd-0.3.6-r1.ebuild

now installs ALL of the provided icons

------- Comment #16 From Anton Romanov 2005-03-15 01:15:56 0000 -------
almost forgot to mention another change from original ebuild 
it creates desktop entry for 
openttd -m extmidi 
with alsa,timidity or pmidi flag .
thus enabling midi playback by default

------- Comment #17 From David Holm (RETIRED) 2005-03-17 00:52:41 0000 -------
Are there any advantages of using pmidi over aplaymidi? If not maybe we should
drop pmidi support, otherwise we will have to add use-flags for <insert every
midi playing app here>.

------- Comment #18 From Anton Romanov 2005-03-17 02:12:41 0000 -------
as i've read on pmidi homepage it is COMPLETELY IDENTICAL to aplaymidi :)
so, i suppose it is right to drop pmidi support ....
(the latest pmidi version is 20 dec 2003 ...)
and i can't see any reason why it is in the ebuild which is in portage

and, yeah, this bug was not to include some more midi software (pmidi was in the original ebuild) but to include support for standard midi player which comes with sound drivers (well...almost (as alsa-utils is a separate package))

------- Comment #19 From Anton Romanov 2005-03-17 02:24:19 0000 -------
Created an attachment (id=53688) [details]
openttd-0.3.6-r1.ebuild

dropped pmidi

------- Comment #20 From David Holm (RETIRED) 2005-04-12 04:49:02 0000 -------
Thanks for the ebuild Anton. I have added it to portage but with some
modifications. Please test it and let me know if there are any problems.

------- Comment #21 From Anton Romanov 2005-04-13 00:13:09 0000 -------
There are problems :)
(i suppose that this is mistype (or whatever this would be in english))

here:
  use alsa && myopts="${myopts} MIDI=/usr/bin/pmidi"

PMIDI!
pmidi has been dropped from dependancies (in favour for alsa-utils) 
  !timidity? ( alsa? ( media-sound/alsa-utils ) )

string above should be
  use alsa && myopts="${myopts} MIDI=/usr/bin/aplaymidi"

  

------- Comment #22 From David Holm (RETIRED) 2005-04-13 00:18:31 0000 -------
Weird, I'm sure I changed that line. I must've hit undo by mistake or
something. Anyway, it is corrected in CVS.

------- Comment #23 From Anton Romanov 2005-04-13 00:41:11 0000 -------
ok :)

First Last Prev Next    No search results available      Search page      Enter new bug