Summary: | gmemusage (new ebuild) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Federico Ferri (RETIRED) <mescalinum> |
Component: | Current packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | desktop-misc, RiverRat |
Priority: | High | Keywords: | EBUILD |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.reptilelabour.com/software/files/gmemusage/ | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Apply this patch if source doesn't compile
A unified diff of the above two issues. The ebuild An updated ebuild. emerge --info for the AMD64 emerge --info for the x86 gmemusage-0.2.ebuild gmemusage-0.2.ebuild |
Description
Federico Ferri (RETIRED)
![]() Created attachment 54873 [details, diff]
Apply this patch if source doesn't compile
Here are the changes i made.
WARNING: i added a pair of strdup(str); ... free(str_); because of a
const/notconst compiling issue. sorry for the dirty work, but i can't do better
:p
Created attachment 68571 [details, diff]
A unified diff of the above two issues.
This gets a clean compile here. (ebuild coming)
Created attachment 68578 [details]
The ebuild
This builds and runs cleanly on ~amd64. It still needs a proper digest with
md5s coming from the author.
Created attachment 68624 [details]
An updated ebuild.
This is an updated ebuild that works on AMD64 and installs and runs on x86 but
won't display due to a lack of opengl support in the ancient Pentium II that I
tested it on. Following is the emerge --info for the two machines.
Created attachment 68625 [details]
emerge --info for the AMD64
Created attachment 68626 [details]
emerge --info for the x86
Please, put the version into attachment description... Created attachment 68642 [details]
gmemusage-0.2.ebuild
This is an updated ebuild, well the description is any way, for the gmemusage
package. Jakub requested that but he also crossed out the emerge --info
attachments in comments 5 & 6 and I don't know what he wants instead. Anyway,
here goes.
Created attachment 68714 [details]
gmemusage-0.2.ebuild
Ok, here's a nice diff breakdown: -RDEPEND="virtual/x11 - virtual/opengl" +RDEPEND="media-libs/glut + virtual/x11 + virtual/opengl" media-libs/glut is needed or it doesn't compile. src_unpack() { unpack ${A} + cd "${S}" epatch ${FILESDIR}/${P}-gentoo.patch || die "patch failed" the current working directory of unpack isn't ${S}, so we need to be in there. + + # custom cflags... + # multi-lib fix... + sed -i \ + -e "s:^CFLAGS.*:CFLAGS = ${CFLAGS} -DLINUX:g" \ + -e "s:^LIBS = -L/usr/X11R6/lib:LIBS = -L/usr/X11R6/$(get_libdir):g" \ + Makefile || die "sed-ing failed" Some fixes here for custom CFLAGS and $(get_libdir)'ed library directory. - dodoc README COPYING + dodoc README don't need COPYING Last release is from 1999 and while it builds with warnings using patch attached, it doesn't function properly (only draws a black box to left, nothing like what is shown in screenshot at upstream page) |