FreeBSD Bugzilla – Attachment 167271 Details for
Bug 207399
databases/pgadmin3: patch to install .desktop file and icons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to install .desktop file and icons
pgadmin3-1.22.1_1.diff (text/plain), 1.68 KB, created by
Dmitri Goutnik
on 2016-02-21 19:53:55 UTC
(
hide
)
Description:
Patch to install .desktop file and icons
Filename:
MIME Type:
Creator:
Dmitri Goutnik
Created:
2016-02-21 19:53:55 UTC
Size:
1.68 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 409308) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= pgadmin3 > PORTVERSION= 1.22.1 >-PORTREVISION= 0 >+PORTREVISION= 1 > CATEGORIES= databases > MASTER_SITES= PGSQL/pgadmin3/release/v${PORTVERSION}/src > DIST_SUBDIR= postgresql >@@ -21,8 +21,12 @@ > USE_GNOME= libxml2 libxslt > USE_WX= 2.8 > WX_COMPS= wx contrib >+ICON_SIZES= 16 32 > >-PLIST_FILES= bin/pgadmin3 >+PLIST_FILES= bin/pgadmin3 share/applications/pgadmin3.desktop >+.for SZ in ${ICON_SIZES} >+PLIST_FILES+= share/icons/hicolor/${SZ}x${SZ}/apps/pgAdmin3.png >+.endfor > PORTDATA= * > > post-patch: >@@ -30,5 +34,17 @@ > @${REINPLACE_CMD} -e 's,wxrc,wxrc-gtk2u-2.8,' ${WRKSRC}/pgadmin/ui/embed-xrc > @${REINPLACE_CMD} -e 's,/usr/bin/xterm,${LOCALBASE}/bin/xterm,' ${WRKSRC}/plugins.d/plugins.ini > @${REINPLACE_CMD} -e 's,/bin/bash,/bin/sh,' ${WRKSRC}/pgadmin/ver_svn.sh >+ @${REINPLACE_CMD} -e 's,Exec=/usr/bin/pgadmin3,Exec=pgadmin3,' ${WRKSRC}/pkg/pgadmin3.desktop >+ @${REINPLACE_CMD} -e 's,Icon=/usr/share/pgadmin3/pgAdmin3.png,Icon=pgAdmin3,' ${WRKSRC}/pkg/pgadmin3.desktop >+ @${REINPLACE_CMD} -e '/^MimeType=/d' ${WRKSRC}/pkg/pgadmin3.desktop >+ @${REINPLACE_CMD} -e '/^DocPath=/d' ${WRKSRC}/pkg/pgadmin3.desktop > >+post-install: >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/applications >+ @${INSTALL_DATA} ${WRKSRC}/pkg/pgadmin3.desktop ${STAGEDIR}${PREFIX}/share/applications >+.for SZ in ${ICON_SIZES} >+ @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps >+ @${INSTALL_DATA} -v -m 644 ${WRKSRC}/pgadmin/include/images/pgAdmin3-${SZ}.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/${SZ}x${SZ}/apps/pgAdmin3.png >+.endfor >+ > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207399
: 167271