FreeBSD Bugzilla – Attachment 89518 Details for
Bug 126474
[maintainer update] Update Port: deskutils/google-gadgets - Added Qt Host support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 11.26 KB, created by
Ashish Shukla
on 2008-08-12 08:50:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Ashish Shukla
Created:
2008-08-12 08:50:02 UTC
Size:
11.26 KB
patch
obsolete
>diff -urN /usr/ports/deskutils/google-gadgets/Makefile google-gadgets/Makefile >--- /usr/ports/deskutils/google-gadgets/Makefile 2008-07-21 01:34:09.000000000 +0530 >+++ google-gadgets/Makefile 2008-08-12 12:56:23.000000000 +0530 >@@ -2,11 +2,12 @@ > # Date created: 2008-06-08 > # Whom: Ashish Shukla <wahjava@gmail.com> > # >-# $FreeBSD: ports/deskutils/google-gadgets/Makefile,v 1.4 2008/07/20 20:04:09 miwi Exp $ >+# $FreeBSD: ports/deskutils/google-gadgets/Makefile,v 1.3 2008/06/20 05:41:35 lippe Exp $ > # > > PORTNAME= google-gadgets > PORTVERSION= 0.10.0 >+PORTREVISION= 1 > CATEGORIES= deskutils > MASTER_SITES= http://google-gadgets-for-linux.googlecode.com/files/ > DISTNAME= ${PORTNAME}-for-linux-${PORTVERSION} >@@ -32,15 +33,17 @@ > > USE_LDCONFIG= yes > USE_GMAKE= yes >-USE_GNOME= gnomehack gtk20 > USE_GCC= 4.2+ > USE_GSTREAMER= yes > GNU_CONFIGURE= yes > CONFIGURE_ENV= CFLAGS="-I${LOCALBASE}/include -Wno-deprecated-declarations" CPPFLAGS="-I${LOCALBASE}/include -Wno-deprecated-declarations" LDFLAGS="-L${LOCALBASE}/lib" >-CONFIGURE_ARGS= --disable-qt-host --enable-ltdl-install=no --disable-update-mime-database >+CONFIGURE_ARGS= --enable-ltdl-install=no --disable-update-mime-database > USE_AUTOTOOLS= libtool:15:env autoconf:261:env automake:110:env aclocal:110:env libltdl:15 >+WANT_GNOME= yes > >-OPTIONS= DEBUGGING "Enable debug output on runtime" on >+OPTIONS= DEBUGGING "Enable debug output on runtime" on\ >+ GTK "Build GTK Host" on\ >+ QT "Build Qt Host" on > > .include <bsd.port.pre.mk> > >@@ -48,6 +51,30 @@ > CONFIGURE_ARGS+= --enable-debug > .endif > >+.if defined(WITHOUT_GTK) >+PLIST_SUB+= GTK="@comment " >+CONFIGURE_ARGS+= --disable-gtk-host --disable-libggadget-gtk --disable-gtkmoz-browser-element --disable-gtk-system-framework >+.elif defined(WITH_GTK) >+USE_GNOME= gnomehack gtk20 >+PLIST_SUB+= GTK="" >+CONFIGURE_ARGS+= --enable-gtk-host >+.endif >+ >+.if defined(WITHOUT_QT) >+PLIST_SUB+= QT="@comment " >+CONFIGURE_ARGS+= --disable-qt-host --disable-libggadget-qt --disable-qt-system-framework\ >+ --disable-qtwebkit-browser-element --disable-qt-script-runtime --disable-qt-xml-http-request >+.else >+USE_QT_VER= 4 >+QT_COMPONENTS= webkit opengl gui corelib script network >+PLIST_SUB+= QT="" >+CONFIGURE_ARGS+= --enable-qt-host >+.endif >+ >+.if defined(WITHOUT_QT) && defined(WITHOUT_GTK) >+IGNORE=This port requires GTK or Qt host to be enabled >+.endif >+ > post-patch: > @${FIND} ${WRKSRC} -type f -name Makefile.am -exec ${GREP} -l pkgconfig {} \; | ${XARGS} ${REINPLACE_CMD} -e 's|^\(pkgconfigdir[[:space:]]*=\).*|\1 $$(prefix)/libdata/pkgconfig|' > >diff -urN /usr/ports/deskutils/google-gadgets/files/patch-configure.ac google-gadgets/files/patch-configure.ac >--- /usr/ports/deskutils/google-gadgets/files/patch-configure.ac 2008-06-09 06:22:55.000000000 +0530 >+++ google-gadgets/files/patch-configure.ac 2008-08-12 08:46:16.000000000 +0530 >@@ -1,9 +1,9 @@ > >-$FreeBSD: ports/deskutils/google-gadgets/files/patch-configure.ac,v 1.1 2008/06/09 00:52:55 ahze Exp $ >+$FreeBSD$ > > --- configure.ac.orig > +++ configure.ac >-@@ -325,6 +325,13 @@ >+@@ -334,6 +334,13 @@ > GGL_PLATFORM_SHORT=\"linux\" > GGL_PLATFORM=\"linux\" > ;; >@@ -17,3 +17,20 @@ > *solaris* ) > ggl_host_type=solaris > PREDEFINED_MACROS="$PREDEFINED_MACROS -DGGL_HOST_SOLARIS=1" >+@@ -352,6 +359,7 @@ >+ AM_CONDITIONAL([GGL_HOST_MACOSX], [test x$ggl_host_type = xmacosx]) >+ AM_CONDITIONAL([GGL_HOST_LINUX], [test x$ggl_host_type = xlinux]) >+ AM_CONDITIONAL([GGL_HOST_SOLARIS], [test x$ggl_host_type = xsolaris]) >++AM_CONDITIONAL([GGL_HOST_FREEBSD], [test x$ggl_host_type = xfreebsd]) >+ >+ AC_SUBST(PREDEFINED_MACROS) >+ AC_SUBST(DEFAULT_COMPILE_FLAGS) >+@@ -445,7 +453,7 @@ >+ fi >+ >+ # Check qt4 >+-if test x$ggl_host_type = xlinux; then >++if test x$ggl_host_type = xlinux -o x$ggl_host_type = xfreebsd; then >+ PKG_CHECK_MODULES(QT4, [QtGui >= 4.3, QtCore >= 4.3, QtOpenGL >= 4.3, >+ QtNetwork >= 4.3], >+ [has_qt4=yes >diff -urN /usr/ports/deskutils/google-gadgets/files/patch-ggadget_qt_utilities.cc google-gadgets/files/patch-ggadget_qt_utilities.cc >--- /usr/ports/deskutils/google-gadgets/files/patch-ggadget_qt_utilities.cc 1970-01-01 05:30:00.000000000 +0530 >+++ google-gadgets/files/patch-ggadget_qt_utilities.cc 2008-08-12 10:37:06.000000000 +0530 >@@ -0,0 +1,14 @@ >+ >+$FreeBSD$ >+ >+--- ggadget/qt/utilities.cc.orig >++++ ggadget/qt/utilities.cc >+@@ -111,7 +111,7 @@ >+ if (fork() != 0) >+ _exit(0); >+ >+- execl(xdg_open.c_str(), xdg_open.c_str(), url, NULL); >++ execl(xdg_open.c_str(), xdg_open.c_str(), url, (const char*)0); >+ >+ DLOG("Failed to exec command: %s", xdg_open.c_str()); >+ _exit(-1); >diff -urN /usr/ports/deskutils/google-gadgets/pkg-plist google-gadgets/pkg-plist >--- /usr/ports/deskutils/google-gadgets/pkg-plist 2008-07-21 01:34:09.000000000 +0530 >+++ google-gadgets/pkg-plist 2008-08-12 13:00:55.000000000 +0530 >@@ -1,4 +1,5 @@ >-bin/ggl-gtk >+%%GTK%%bin/ggl-gtk >+%%QT%%bin/ggl-qt > include/google-gadgets/ggadget/anchor_element.h > include/google-gadgets/ggadget/audioclip_interface.h > include/google-gadgets/ggadget/backoff.h >@@ -38,15 +39,15 @@ > include/google-gadgets/ggadget/gadget_consts.h > include/google-gadgets/ggadget/gadget_manager_interface.h > include/google-gadgets/ggadget/graphics_interface.h >-include/google-gadgets/ggadget/gtk/cairo_graphics.h >-include/google-gadgets/ggadget/gtk/hotkey.h >-include/google-gadgets/ggadget/gtk/key_convert.h >-include/google-gadgets/ggadget/gtk/main_loop.h >-include/google-gadgets/ggadget/gtk/menu_builder.h >-include/google-gadgets/ggadget/gtk/single_view_host.h >-include/google-gadgets/ggadget/gtk/tooltip.h >-include/google-gadgets/ggadget/gtk/utilities.h >-include/google-gadgets/ggadget/gtk/view_widget_binder.h >+%%GTK%%include/google-gadgets/ggadget/gtk/cairo_graphics.h >+%%GTK%%include/google-gadgets/ggadget/gtk/hotkey.h >+%%GTK%%include/google-gadgets/ggadget/gtk/key_convert.h >+%%GTK%%include/google-gadgets/ggadget/gtk/main_loop.h >+%%GTK%%include/google-gadgets/ggadget/gtk/menu_builder.h >+%%GTK%%include/google-gadgets/ggadget/gtk/single_view_host.h >+%%GTK%%include/google-gadgets/ggadget/gtk/tooltip.h >+%%GTK%%include/google-gadgets/ggadget/gtk/utilities.h >+%%GTK%%include/google-gadgets/ggadget/gtk/view_widget_binder.h > include/google-gadgets/ggadget/host_interface.h > include/google-gadgets/ggadget/image_cache.h > include/google-gadgets/ggadget/image_interface.h >@@ -69,6 +70,12 @@ > include/google-gadgets/ggadget/object_element.h > include/google-gadgets/ggadget/options_interface.h > include/google-gadgets/ggadget/progressbar_element.h >+%%QT%%include/google-gadgets/ggadget/qt/qt_graphics.h >+%%QT%%include/google-gadgets/ggadget/qt/qt_main_loop.h >+%%QT%%include/google-gadgets/ggadget/qt/qt_menu.h >+%%QT%%include/google-gadgets/ggadget/qt/qt_view_host.h >+%%QT%%include/google-gadgets/ggadget/qt/qt_view_widget.h >+%%QT%%include/google-gadgets/ggadget/qt/utilities.h > include/google-gadgets/ggadget/registerable_interface.h > include/google-gadgets/ggadget/run_once.h > include/google-gadgets/ggadget/scoped_ptr.h >@@ -110,7 +117,7 @@ > include/google-gadgets/ggadget/xml_parser_interface.h > include/google-gadgets/ggadget/xml_utils.h > include/google-gadgets/ggadget/zip_file_manager.h >-lib/google-gadgets/gtkmoz-browser-child >+%%GTK%%lib/google-gadgets/gtkmoz-browser-child > lib/google-gadgets/include/ggadget/sysdeps.h > lib/google-gadgets/modules/curl-xml-http-request.a > lib/google-gadgets/modules/curl-xml-http-request.la >@@ -133,18 +140,33 @@ > lib/google-gadgets/modules/gst-mediaplayer-element.a > lib/google-gadgets/modules/gst-mediaplayer-element.la > lib/google-gadgets/modules/gst-mediaplayer-element.so >-lib/google-gadgets/modules/gtk-edit-element.a >-lib/google-gadgets/modules/gtk-edit-element.la >-lib/google-gadgets/modules/gtk-edit-element.so >-lib/google-gadgets/modules/gtk-system-framework.a >-lib/google-gadgets/modules/gtk-system-framework.la >-lib/google-gadgets/modules/gtk-system-framework.so >-lib/google-gadgets/modules/gtkmoz-browser-element.a >-lib/google-gadgets/modules/gtkmoz-browser-element.la >-lib/google-gadgets/modules/gtkmoz-browser-element.so >+%%GTK%%lib/google-gadgets/modules/gtk-edit-element.a >+%%GTK%%lib/google-gadgets/modules/gtk-edit-element.la >+%%GTK%%lib/google-gadgets/modules/gtk-edit-element.so >+%%GTK%%lib/google-gadgets/modules/gtk-system-framework.a >+%%GTK%%lib/google-gadgets/modules/gtk-system-framework.la >+%%GTK%%lib/google-gadgets/modules/gtk-system-framework.so >+%%GTK%%lib/google-gadgets/modules/gtkmoz-browser-element.a >+%%GTK%%lib/google-gadgets/modules/gtkmoz-browser-element.la >+%%GTK%%lib/google-gadgets/modules/gtkmoz-browser-element.so > lib/google-gadgets/modules/libxml2-xml-parser.a > lib/google-gadgets/modules/libxml2-xml-parser.la > lib/google-gadgets/modules/libxml2-xml-parser.so >+%%QT%%lib/google-gadgets/modules/qt-edit-element.a >+%%QT%%lib/google-gadgets/modules/qt-edit-element.la >+%%QT%%lib/google-gadgets/modules/qt-edit-element.so >+%%QT%%lib/google-gadgets/modules/qt-script-runtime.a >+%%QT%%lib/google-gadgets/modules/qt-script-runtime.la >+%%QT%%lib/google-gadgets/modules/qt-script-runtime.so >+%%QT%%lib/google-gadgets/modules/qt-system-framework.a >+%%QT%%lib/google-gadgets/modules/qt-system-framework.la >+%%QT%%lib/google-gadgets/modules/qt-system-framework.so >+%%QT%%lib/google-gadgets/modules/qt-xml-http-request.a >+%%QT%%lib/google-gadgets/modules/qt-xml-http-request.la >+%%QT%%lib/google-gadgets/modules/qt-xml-http-request.so >+%%QT%%lib/google-gadgets/modules/qtwebkit-browser-element.a >+%%QT%%lib/google-gadgets/modules/qtwebkit-browser-element.la >+%%QT%%lib/google-gadgets/modules/qtwebkit-browser-element.so > lib/google-gadgets/modules/smjs-script-runtime.a > lib/google-gadgets/modules/smjs-script-runtime.la > lib/google-gadgets/modules/smjs-script-runtime.so >@@ -156,19 +178,26 @@ > lib/libggadget-dbus-1.0.la > lib/libggadget-dbus-1.0.so > lib/libggadget-dbus-1.0.so.0 >-lib/libggadget-gtk-1.0.a >-lib/libggadget-gtk-1.0.la >-lib/libggadget-gtk-1.0.so >-lib/libggadget-gtk-1.0.so.0 >+%%GTK%%lib/libggadget-gtk-1.0.a >+%%GTK%%lib/libggadget-gtk-1.0.la >+%%GTK%%lib/libggadget-gtk-1.0.so >+%%GTK%%lib/libggadget-gtk-1.0.so.0 > lib/libggadget-js-1.0.a > lib/libggadget-js-1.0.la > lib/libggadget-js-1.0.so > lib/libggadget-js-1.0.so.0 >+%%QT%%lib/libggadget-qt-1.0.a >+%%QT%%lib/libggadget-qt-1.0.la >+%%QT%%lib/libggadget-qt-1.0.so >+%%QT%%lib/libggadget-qt-1.0.so.0 > libdata/pkgconfig/libggadget-1.0.pc > libdata/pkgconfig/libggadget-dbus-1.0.pc >-libdata/pkgconfig/libggadget-gtk-1.0.pc >+%%GTK%%libdata/pkgconfig/libggadget-gtk-1.0.pc > libdata/pkgconfig/libggadget-js-1.0.pc >-share/applications/ggl-gtk.desktop >+%%QT%%libdata/pkgconfig/libggadget-qt-1.0.pc >+%%GTK%%share/applications/ggl-gtk.desktop >+%%QT%%share/applications/ggl-qt.desktop >+share/applications/mimeinfo.cache > %%DATADIR%%/analog_clock.gg > %%DATADIR%%/digital_alarm_clock.gg > %%DATADIR%%/google-gadget-browser.gg >@@ -178,15 +207,16 @@ > share/mime/packages/00-google-gadgets.xml > share/mime/application/x-google-gadgets.xml > share/pixmaps/google-gadgets.png >-@dirrm share/mime/packages > @dirrm %%DATADIR%% > @dirrm lib/google-gadgets/modules > @dirrm lib/google-gadgets/include/ggadget > @dirrm lib/google-gadgets/include > @dirrm lib/google-gadgets >+%%QT%%@dirrm include/google-gadgets/ggadget/qt > @dirrm include/google-gadgets/ggadget/js >-@dirrm include/google-gadgets/ggadget/gtk >+%%GTK%%@dirrm include/google-gadgets/ggadget/gtk > @dirrm include/google-gadgets/ggadget/dbus > @dirrm include/google-gadgets/ggadget > @dirrm include/google-gadgets >+@dirrmtry share/mime/packages > @dirrmtry share/mime/application
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 126474
: 89518