Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2015 13:39:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 197975] textproc/mgdiff take MAINTAINERship
Message-ID:  <bug-197975-13-hibpujR5eo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197975-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197975-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197975

--- Comment #2 from Jan Beich <jbeich@FreeBSD.org> ---
Comment on attachment 153408
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D153408
svn diff for textproc/mgdiff

> USES=3D		imake motif
> USE_XORG=3D	ice sm x11 xext xmu xp xt
>-SUB_FILES=3D	pkg-message
>=20
>+DESKTOP_ENTRIES=3D	"mgdiff" "GUI front end to the UNIX diff command" \
>+			"mgDIFF-48x48" \
>+			"mgdiff" "GNOME;GTK;Motif;Development;System;" \

Why the app is listed in GNOME and GTK categories but has no such dependenc=
ies?

>+WWW: http://BSDforge.com/projects/textproc/mgdiff/

WWW doesn't match MASTER_SITES. Did you take upstream maintainership as wel=
l?

> post-install:
>-	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/mgdiff
>-	${INSTALL_DATA} ${WRKSRC}/mgdiff.x[bp]m ${STAGEDIR}${PREFIX}/lib/X11/mgd=
iff
>+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
>+	${CP} ${FILESDIR}/mgDIFF-48x48.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/mg=
DIFF-48x48.xpm

Why different case: mgDIFF vs. mgdiff? share/pixmaps icons aren't themed, so
Icon=3Dmgdiff-48x48 in .desktop file won't match other colorless variants. =
Here's
a quick test for Gtk behavior via attachment 153255

  $ icon-lookup
  usage: icon-lookup icon_theme icon_name size flags

  $ icon-lookup test mgdiff 0 0
  /usr/local/share/pixmaps/mgdiff.xpm
  $ icon-lookup test mgdiff 48 0
  /usr/local/share/pixmaps/mgdiff.xpm

  $ icon-lookup test mgdiff-48x48 0 0
  /usr/local/share/pixmaps/mgdiff-48x48.xpm
  $ icon-lookup test mgdiff-48x48 48 0
  /usr/local/share/pixmaps/mgdiff-48x48.xpm

>+	${INSTALL_DATA} ${WRKSRC}/mgdiff.x[bp]m ${STAGEDIR}${PREFIX}/share/pixma=
ps

Note, XBM format isn't supported by Icon Theme spec (v0.11). And mgdiff.xbm=
 is
already embedded in the binary.

  $ fgrep -r .xbm .
  ./Makefile.ini:MISC     =3D Makefile Imakefile mgdiff.xbm Mgdiff.ad
  ./Makefile.ini:mgdiff.o : mgdiff.c mgdiff.h externs.h patchlevel.h mgdiff=
.xbm
  ./mgdiff.c:#include "mgdiff.xbm"

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197975-13-hibpujR5eo>