FreeBSD Bugzilla – Attachment 50216 Details for
Bug 76548
Update port: textproc/scim
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 6.71 KB, created by
tkato432
on 2005-01-21 18:10:28 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2005-01-21 18:10:28 UTC
Size:
6.71 KB
patch
obsolete
>diff -urN /usr/ports/textproc/scim/Makefile textproc/scim/Makefile >--- /usr/ports/textproc/scim/Makefile Fri Jan 21 13:34:17 2005 >+++ textproc/scim/Makefile Fri Jan 21 19:37:22 2005 >@@ -7,6 +7,7 @@ > > PORTNAME= scim > PORTVERSION= 1.0.2 >+PORTREVISION= 1 > CATEGORIES= textproc > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR=scim >@@ -14,7 +15,7 @@ > MAINTAINER= gaoj@cpsc.ucalgary.ca > COMMENT= Smart Common Input Method platform > >-USE_GNOME= gtk20 gconf2 lthack >+USE_GNOME= gconf2 gnomehier gtk20 intlhack > > USE_X_PREFIX= yes > USE_ICONV= yes >@@ -25,11 +26,14 @@ > CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \ > PTHREAD_LIBS="${PTHREAD_LIBS}" > >+GCONF_SCHEMAS= scim.schemas >+ > .include <bsd.port.pre.mk> > > .if ${OSVERSION} < 500035 > BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport > RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport >+CONFIGURE_ARGS+= --disable-im-table > CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \ > LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}" > EXTRA_PATCHES= ${FILESDIR}/extra-patch-4-stable >@@ -40,13 +44,18 @@ > PLIST_SUB= NOSTABLE="" > .endif > >-post-configure: >+post-patch: > ${REINPLACE_CMD} '/^pkgconfigdir/s|$$(libdir)|$${exec_prefix}/libdata|' \ >- ${WRKSRC}/Makefile >- ${REINPLACE_CMD} '/^scim_setup_LDFLAGS/s|=|= ${PTHREAD_LIBS}|g' \ >- ${WRKSRC}/extras/setup/Makefile >+ ${WRKSRC}/Makefile.in >+ ${REINPLACE_CMD} 's|$$(datadir)/pixmaps|$$(prefix)/share/gnome/pixmaps|' \ >+ ${WRKSRC}/data/pixmaps/Makefile.in >+ ${REINPLACE_CMD} -e 's|$$(datadir)/app|$$(prefix)/share/gnome/app| ; \ >+ s|$$(datadir)/control|$$(prefix)/share/gnome/control| ; \ >+ /^scim_setup_LDFLAGS/s|=|= ${PTHREAD_LIBS}|' \ >+ ${WRKSRC}/extras/setup/Makefile.in > > post-install: >+ @gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules > @${CAT} ${PKGMESSAGE} > @${ECHO} To display this message again, type pkg_info -D ${PKGNAME} > >diff -urN /usr/ports/textproc/scim/files/extra-patch-4-stable textproc/scim/files/extra-patch-4-stable >--- /usr/ports/textproc/scim/files/extra-patch-4-stable Thu Aug 12 16:14:43 2004 >+++ textproc/scim/files/extra-patch-4-stable Fri Jan 21 14:19:54 2005 >@@ -1,43 +1,5 @@ >---- src/scim_event.cpp.orig Wed Aug 4 19:20:29 2004 >-+++ src/scim_event.cpp Wed Aug 4 19:20:49 2004 >-@@ -25,6 +25,7 @@ >- #define Uses_SCIM_EVENT >- #include "scim_private.h" >- #include "scim.h" >-+#include <cstdio> >- >- namespace scim { >- >---- src/scim_global_config.cpp.orig Wed Aug 4 19:22:06 2004 >-+++ src/scim_global_config.cpp Wed Aug 4 19:22:10 2004 >-@@ -32,6 +32,7 @@ >- #include <sys/stat.h> >- #include <sys/types.h> >- #include <unistd.h> >-+#include <cstdio> >- >- #include "scim_private.h" >- #include "scim.h" >---- modules/IMEngine/scim_socket_imengine.cpp.orig Wed Aug 4 19:25:53 2004 >-+++ modules/IMEngine/scim_socket_imengine.cpp Wed Aug 4 19:26:50 2004 >-@@ -39,6 +39,7 @@ >- #include "scim.h" >- #include "scim_socket_imengine.h" >- #include <unistd.h> >-+#include <cstdio> >- >- #define scim_module_init socket_LTX_scim_module_init >- #define scim_module_exit socket_LTX_scim_module_exit > --- modules/Config/scim_gconf_config.cpp.orig Wed Aug 4 19:42:16 2004 > +++ modules/Config/scim_gconf_config.cpp Wed Aug 4 19:49:22 2004 >-@@ -34,6 +34,7 @@ >- #include "scim_private.h" >- #include "scim.h" >- #include "scim_gconf_config.h" >-+#include <cstdio> >- >- #define scim_module_init gconf_LTX_scim_module_init >- #define scim_module_exit gconf_LTX_scim_module_exit > @@ -496,11 +498,11 @@ > std::vector <String> strs; > if (scim_split_string_list (strs, str, ':') == 2) { >@@ -81,15 +43,3 @@ > > // The config file is newer, so load it. > if (m_update_timestamp.tv_sec < sec || >---- modules/IMEngine/Makefile.in.orig Thu Aug 5 16:55:50 2004 >-+++ modules/IMEngine/Makefile.in Thu Aug 5 16:57:34 2004 >-@@ -74,8 +74,7 @@ >- libgenerictable.la >- am_table_la_OBJECTS = scim_table_imengine.lo >- table_la_OBJECTS = $(am_table_la_OBJECTS) >--@SCIM_BUILD_IMENGINE_TABLE_TRUE@am__EXEEXT_1 = \ >--@SCIM_BUILD_IMENGINE_TABLE_TRUE@ scim-make-table$(EXEEXT) >-+@SCIM_BUILD_IMENGINE_TABLE_TRUE@am__EXEEXT_1 = >- binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) >- PROGRAMS = $(bin_PROGRAMS) >- am_scim_make_table_OBJECTS = scim_make_table.$(OBJEXT) >diff -urN /usr/ports/textproc/scim/pkg-plist textproc/scim/pkg-plist >--- /usr/ports/textproc/scim/pkg-plist Wed Oct 20 15:21:18 2004 >+++ textproc/scim/pkg-plist Fri Jan 21 19:38:51 2005 >@@ -2,8 +2,6 @@ > bin/scim-config-agent > %%NOSTABLE%%bin/scim-make-table > bin/scim-setup >-@unexec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/scim.schemas >/dev/null 2>&1 || /usr/bin/true >-etc/gconf/schemas/scim.schemas > etc/scim/config > etc/scim/global > include/scim-1.0/gtk/scimkeyselection.h >@@ -53,22 +51,22 @@ > lib/scim-1.0/1.0.0/FrontEnd/x11.so > lib/scim-1.0/1.0.0/IMEngine/rawcode.so > lib/scim-1.0/1.0.0/IMEngine/socket.so >-lib/scim-1.0/1.0.0/IMEngine/table.so >+%%NOSTABLE%%lib/scim-1.0/1.0.0/IMEngine/table.so > lib/scim-1.0/1.0.0/SetupUI/panel-gtk-setup.so >-lib/scim-1.0/1.0.0/SetupUI/table-imengine-setup.so >+%%NOSTABLE%%lib/scim-1.0/1.0.0/SetupUI/table-imengine-setup.so > lib/scim-1.0/1.0.0/SetupUI/x11-frontend-setup.so > lib/scim-1.0/scim-launcher > lib/scim-1.0/scim-panel-gtk > libdata/pkgconfig/scim-gtkutils.pc > libdata/pkgconfig/scim.pc >-share/applications/scim-setup.desktop >-share/control-center-2.0/capplets/scim-setup.desktop >+share/gnome/applications/scim-setup.desktop >+share/gnome/control-center-2.0/capplets/scim-setup.desktop >+share/gnome/pixmaps/scim-setup.png > share/locale/de/LC_MESSAGES/scim.mo > share/locale/ja/LC_MESSAGES/scim.mo > share/locale/ko/LC_MESSAGES/scim.mo > share/locale/zh_CN/LC_MESSAGES/scim.mo > share/locale/zh_TW/LC_MESSAGES/scim.mo >-share/pixmaps/scim-setup.png > %%DATADIR%%/icons/down.png > %%DATADIR%%/icons/full-letter.png > %%DATADIR%%/icons/full-punct.png >@@ -88,16 +86,14 @@ > @dirrm etc/scim > @dirrm include/scim-1.0/gtk > @dirrm include/scim-1.0 >-@dirrm lib/gtk-2.0/immodules >+@unexec rmdir %D/lib/gtk-2.0/immodules 2>/dev/null || true > @dirrm lib/scim-1.0/1.0.0/Config > @dirrm lib/scim-1.0/1.0.0/FrontEnd > @dirrm lib/scim-1.0/1.0.0/IMEngine > @dirrm lib/scim-1.0/1.0.0/SetupUI > @dirrm lib/scim-1.0/1.0.0 > @dirrm lib/scim-1.0 >-@dirrm share/control-center-2.0/capplets >-@dirrm share/control-center-2.0 >-@unexec rmdir %D/share/pixmaps 2>/dev/null || true > @dirrm %%DATADIR%%/icons > @dirrm %%DATADIR%% >-@exec env GCONF_CONFIG_SOURCE=xml::%D/etc/gconf/gconf.xml.defaults gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/scim.schemas >/dev/null 2>&1 || /usr/bin/true >+@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules >+@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
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 76548
: 50216