First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 158727
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: dotnet <dotnet@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dieter Verfaillie <dieterv@optionexplicit.be>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
dopi-0.3.4.ebuild ebuild for dopi 0.3.4 text/plain Dieter Verfaillie 2006-12-21 06:05 0000 741 bytes Details
dopi-0.3.4-r1.ebuild added >=dev-dotnet/glade-sharp-2.4.0 to DEPEND text/plain Dieter Verfaillie 2006-12-25 04:52 0000 773 bytes Details
dopi-0.3.4-r2.ebuild dopi-0.3.4-r2.ebuild text/plain Dieter Verfaillie 2007-02-05 23:15 0000 784 bytes Details
noicon-exception-fix.diff The missing icon exception fix patch Jurek Bartuszek 2007-02-06 02:31 0000 557 bytes Details | Diff
dopi-0.3.4.ebuild dopi-0.3.4.ebuild text/plain Dieter Verfaillie 2007-02-06 21:58 0000 876 bytes Details
noicon-exception-fix.diff noicon-exception-fix.diff patch Dieter Verfaillie 2007-02-06 22:04 0000 572 bytes Details | Diff
noicon-exception-fix.diff noicon-exception-fix.diff patch Dieter Verfaillie 2007-02-06 22:37 0000 579 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158727 depends on: Show dependency tree
Bug 158727 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: 2006-12-21 06:02 0000
dopi has been updated to 0.3.4 since Oct 23

------- Comment #1 From Dieter Verfaillie 2006-12-21 06:05:30 0000 -------
Created an attachment (id=104506) [details]
ebuild for dopi 0.3.4

It no longer supports parallel building, otherwise you would get this:
Making all in taglib-sharp
make[1]: Entering directory
`/var/tmp/portage/app-pda/dopi-0.3.4/work/dopi-0.3.4/taglib-sharp'
/usr/bin/gmcs -debug -out:../taglib-sharp/taglib-sharp.dll -target:library
-r:Mono.Posix ./TagLib/*.cs ./TagLib/*/*.cs ./TagLib/*/*/*.cs
make[1]: *** No rule to make target `../taglib-sharp/taglib-sharp.dll.mdb',
needed by `all-am'.  Stop.

------- Comment #2 From Sideris Michael 2006-12-24 18:31:38 0000 -------
May I add here that dopi needs glade-sharp as well in order to compile. So, you
might wanna add it to the DEPEND list.

------- Comment #3 From Dieter Verfaillie 2006-12-25 04:52:18 0000 -------
Created an attachment (id=104708) [details]
added >=dev-dotnet/glade-sharp-2.4.0 to DEPEND

First of all, a Merry Christmas to you all :)

Indeed, src/Makefile.am has glade-sharp-2.0 in DOPI_ASSEMBLIES. Thanks for
catching that.

------- Comment #4 From Jurek Bartuszek 2007-02-05 00:40:05 0000 -------
Thanks for posting the ebuild. Few more things to do here:

1. Fix the header (see /usr/portage/skel.ebuild)
2. You could use ${PN} in SRC_URI instead of "dopi"
3. Rather than setting 'MAKEOPTS="${MAKEOPTS} -j1"' declare src_compile() and
call 'emake -j1 || die ...' inside it (of course you still have to call econf
as well ;))
4. I think you should update the desktop database after unmerging the package
as well (pkg_postrm())

------- Comment #5 From Dieter Verfaillie 2007-02-05 23:15:03 0000 -------
Created an attachment (id=109285) [details]
dopi-0.3.4-r2.ebuild

Glad to be of help :)

1. Done. Also fixed copyright year.

2. Done.

3. Correct! I wasn't sure what method to use, as both can be found
in lot's of packages in the tree. However, the ebuild howto specifies
your method for the emake command
(http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1#doc_chap4).
Fixed :)

4. It's already there, in pkg_postinst(). I copied that technique from other
ebuilds in the tree. In fact, I couldn't find any ebuild doing it in
pkg_postrm().
I did, however, forget to add fdo-mime_mime_database_update, as the
.desktop file specifies MimeType=... Also fixed.

------- Comment #6 From Jurek Bartuszek 2007-02-06 02:31:10 0000 -------
Ok, builds fine now. However, when there is no gnome-dev-ipod icon in the
default icon theme you get an exception:

Unhandled Exception: GLib.GException: Icon 'gnome-dev-ipod' not present in
theme
  at Gtk.IconTheme.LoadIcon (System.String icon_name, Int32 size,
IconLookupFlags flags) [0x00000]
  at Dopi.DopiWindow..ctor () [0x00000]
  at Dopi.EntryPoint.Main (System.String[] args) [0x00000]

Software that throws an exception whenever an icon is missing is evil. Try
adding the patch (just wrote it) to your ebuild. It's already been sent
upstream.

Oh, and if there is no good reason (and that's the case) for appending r2 to
the version of initial ebuild, simply drop it ;)

------- Comment #7 From Jurek Bartuszek 2007-02-06 02:31:53 0000 -------
Created an attachment (id=109294) [details]
The missing icon exception fix

------- Comment #8 From Dieter Verfaillie 2007-02-06 21:58:09 0000 -------
Created an attachment (id=109378) [details]
dopi-0.3.4.ebuild

- apply noicon-exception-fix
- remove -rx suffix for bugzilla -> artifact from my local overlay ;)

------- Comment #9 From Dieter Verfaillie 2007-02-06 22:04:04 0000 -------
Created an attachment (id=109381) [details]
noicon-exception-fix.diff

Don't catch everything, only GLib.GException.
Not yet sent upstream, let's see what you think first...

------- Comment #10 From Dieter Verfaillie 2007-02-06 22:17:46 0000 -------
(From update of attachment 109381 [details])
oops, shouldn't be here yet

------- Comment #11 From Dieter Verfaillie 2007-02-06 22:37:15 0000 -------
Created an attachment (id=109384) [details]
noicon-exception-fix.diff

Don't catch everything, only GLib.GException.
Should have been here, sorry for the confusion.
I'll go sleep now :)

------- Comment #12 From Jurek Bartuszek 2007-02-07 00:35:04 0000 -------
Ok. Fixed in CVS, thanks! And do not hesitate to send the patch to upstream as
well.

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