FreeBSD Bugzilla – Attachment 39280 Details for
Bug 61955
Update port: misc/gonvert to 0.1.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.63 KB, created by
tkato
on 2004-01-26 15:30:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato
Created:
2004-01-26 15:30:11 UTC
Size:
5.63 KB
patch
obsolete
>diff -urN /usr/ports/misc/gonvert/Makefile misc/gonvert/Makefile >--- /usr/ports/misc/gonvert/Makefile Mon Apr 21 12:24:37 2003 >+++ misc/gonvert/Makefile Mon Jan 26 13:26:33 2004 >@@ -7,8 +7,7 @@ > # > > PORTNAME= gonvert >-PORTVERSION= 0.1.5 >-PORTREVISION= 0 >+PORTVERSION= 0.1.7 > CATEGORIES= misc python gnome > MASTER_SITES= http://www.unihedron.com/projects/gonvert/downloads/ > >@@ -17,16 +16,27 @@ > > RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolkits/py-gtk2 > >-USE_REINPLACE= yes >-USE_PYTHON= yes > USE_X_PREFIX= yes >+USE_GNOME= gnomehier >+USE_PYTHON= yes > USE_GMAKE= yes > NO_BUILD= yes > >-post-patch: >- @${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME} >- @${REINPLACE_CMD} -e "s,gnome-config,${GNOME_CONFIG},g ; \ >- s,--directory,-d --mode=755,g ; \ >- s,install ,install -c ,g" ${WRKSRC}/Makefile >+do-install: >+ ${INSTALL_SCRIPT} ${WRKSRC}/gonvert ${PREFIX}/bin >+ ${INSTALL_DATA} ${WRKSRC}/gonvert.desktop \ >+ ${PREFIX}/share/gnome/apps/Utilities >+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/gonvert_icon.png \ >+ ${PREFIX}/share/gnome/pixmaps >+ @${MKDIR} ${DATADIR} >+ ${INSTALL_DATA} ${WRKSRC}/gonvert.glade ${DATADIR} >+ @${MKDIR} ${DATADIR}/pixmaps >+ ${INSTALL_DATA} ${WRKSRC}/pixmaps/*.png ${DATADIR}/pixmaps >+.if !defined(NOPORTDOCS) >+ @${MKDIR} ${DOCSDIR} >+.for file in README CHANGELOG FAQ README THANKS TODO >+ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} >+.endfor >+.endif > > .include <bsd.port.mk> >diff -urN /usr/ports/misc/gonvert/distinfo misc/gonvert/distinfo >--- /usr/ports/misc/gonvert/distinfo Sat Apr 12 22:58:48 2003 >+++ misc/gonvert/distinfo Mon Jan 26 12:52:36 2004 >@@ -1 +1 @@ >-MD5 (gonvert-0.1.5.tar.gz) = 290b92e0219156b80fe5db5cb2659974 >+MD5 (gonvert-0.1.7.tar.gz) = 87f7d95ab46ba715b46db401872fc05c >diff -urN /usr/ports/misc/gonvert/files/patch-Makefile misc/gonvert/files/patch-Makefile >--- /usr/ports/misc/gonvert/files/patch-Makefile Sat Apr 12 22:58:48 2003 >+++ misc/gonvert/files/patch-Makefile Thu Jan 1 09:00:00 1970 >@@ -1,41 +0,0 @@ >---- Makefile.orig Wed Feb 26 21:18:18 2003 >-+++ Makefile Thu Feb 27 00:24:14 2003 >-@@ -4,31 +4,31 @@ >- VERSION=$(shell head -2 $(NAME) | grep version | cut -d\" -f2) >- >- #DESTDIR can be defined when calling make ie. make install DESTDIR=$RPM_BUILD_ROOT >--BASEDIR = $(DESTDIR)/usr >-+BASEDIR = $(DESTDIR)/${PREFIX} >- BINDIR = $(BASEDIR)/bin >- LIBDIR = $(BASEDIR)/lib >- DOCDIR = $(BASEDIR)/doc >- >--MYLIBDIR = $(LIBDIR)/$(NAME)-$(VERSION) >-+MYLIBDIR = $(BASEDIR)/share/gnome/$(NAME) >- MYDOCDIR = $(DOCDIR)/$(NAME)-$(VERSION) >- >- all: >- >- >- install: >-- install -D --mode=755 $(NAME) $(BINDIR)/$(NAME) #put the main program into the bin directory >-+ install --mode=755 $(NAME) $(BINDIR)/$(NAME) #put the main program into the bin directory >- rm -rf $(LIBDIR)/gonvert-* #remove old lib directories >- install --directory $(MYLIBDIR) #create directory to hold project files >- install --mode=644 $(NAME).glade $(MYLIBDIR)/$(NAME).glade #copy glade file over >- install --directory $(MYLIBDIR)/pixmaps #create pixmap directory to hold project pictures >- install --mode=644 pixmaps/*.png $(MYLIBDIR)/pixmaps #copy project specific pictures over >-- install --directory $(BASEDIR)/share/pixmaps #create pixmap directory to hold gnome icon >-- install --mode=644 pixmaps/$(NAME)_icon.png $(BASEDIR)/share/pixmaps #copy gnome pictures over >-+ install --directory $(BASEDIR)/share/gnome/pixmaps #create pixmap directory to hold gnome icon >-+ install --mode=644 pixmaps/$(NAME)_icon.png $(BASEDIR)/share/gnome/pixmaps #copy gnome pictures over >- install --directory $(BASEDIR)/share/gnome/apps/Utilities #create directory to hold gnome menu description >- install --mode=644 $(NAME).desktop $(BASEDIR)/share/gnome/apps/Utilities #copy the gnome menu description >- rm -rf $(DOCDIR)/gonvert-* #remove old doc directories >-- install --directory $(MYDOCDIR) #create a directory that holds project documentation >-- install --mode=644 doc/* $(MYDOCDIR) #copy project documentation >-+ #install --directory $(MYDOCDIR) #create a directory that holds project documentation >-+ #install --mode=644 doc/* $(MYDOCDIR) #copy project documentation >- >- >- uninstall: >diff -urN /usr/ports/misc/gonvert/files/patch-gonvert misc/gonvert/files/patch-gonvert >--- /usr/ports/misc/gonvert/files/patch-gonvert Thu Jan 1 09:00:00 1970 >+++ misc/gonvert/files/patch-gonvert Mon Jan 26 13:27:50 2004 >@@ -0,0 +1,17 @@ >+--- gonvert.orig Mon Jan 26 02:22:42 2004 >++++ gonvert Mon Jan 26 13:22:52 2004 >+@@ -1,4 +1,4 @@ >+-#!/usr/bin/python >++#!/usr/bin/env python >+ # -*- coding: UTF8 -*- >+ version = "0.1.7" # keep version information here since Makefile needs it >+ >+@@ -655,7 +655,7 @@ >+ homepath='' >+ else: >+ #look for it in the installed directory >+- homepath=sys.path[0] + '/../lib/gonvert-'+version + "/" >++ homepath=sys.path[0] + '/../share/gonvert' "/" >+ >+ gladefile=homepath+'gonvert.glade' >+ >diff -urN /usr/ports/misc/gonvert/pkg-plist misc/gonvert/pkg-plist >--- /usr/ports/misc/gonvert/pkg-plist Mon May 13 21:33:45 2002 >+++ misc/gonvert/pkg-plist Mon Jan 26 13:27:40 2004 >@@ -1,8 +1,14 @@ > bin/gonvert >+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG >+%%PORTDOCS%%%%DOCSDIR%%/FAQ >+%%PORTDOCS%%%%DOCSDIR%%/README >+%%PORTDOCS%%%%DOCSDIR%%/THANKS >+%%PORTDOCS%%%%DOCSDIR%%/TODO > share/gnome/apps/Utilities/gonvert.desktop >-share/gnome/gonvert/gonvert.glade >-share/gnome/gonvert/pixmaps/gonvert.png >-share/gnome/gonvert/pixmaps/gonvert_icon.png > share/gnome/pixmaps/gonvert_icon.png >-@dirrm share/gnome/gonvert/pixmaps >-@dirrm share/gnome/gonvert >+%%DATADIR%%/gonvert.glade >+%%DATADIR%%/pixmaps/gonvert.png >+%%DATADIR%%/pixmaps/gonvert_icon.png >+@dirrm %%DATADIR%%/pixmaps >+@dirrm %%DATADIR%% >+%%PORTDOCS%%@dirrm %%DOCSDIR%%
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 61955
: 39280