head	1.4;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.3
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1;
locks; strict;
comment	@# @;


1.4
date	2012.01.30.15.52.29;	author chinsan;	state Exp;
branches;
next	1.3;

1.3
date	2011.02.15.22.18.24;	author chinsan;	state Exp;
branches;
next	1.2;

1.2
date	2011.02.09.10.53.09;	author chinsan;	state Exp;
branches;
next	1.1;

1.1
date	2009.02.01.01.10.45;	author chinsan;	state Exp;
branches;
next	;


desc
@@


1.4
log
@- Update to 2.7.0
- Add CHEWING knob to enable Chewing IM module
- Limit to compile on FreeBSD 7.0+
- Fix japanese/anthy dependency
- Many thanks to the contributer: vanilla@@
- Drop maintainership

Changelog:	http://www.csie.nctu.edu.tw/~cp76/gcin/download/Changelog.html
@
text
@--- qt4-im/Makefile.orig	2012-01-08 01:45:14.000000000 +0800
+++ qt4-im/Makefile	2012-01-08 01:47:10.000000000 +0800
@@@@ -3,7 +3,7 @@@@ QT=qt4
 QTIM=$(QT)/plugins/inputmethods
 IMMODULES=$(libdir)/$(QTIM)
 
-INCS=-I../im-client -I/usr/include/X11 `pkg-config QtCore QtGui --cflags`
+INCS=-I../im-client -I$(prefix)/include/X11 -I$(prefix)/include `pkg-config QtCore QtGui --cflags`
 CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -DUNIX=1 -fPIC  -DQT4 -DQT_SHARED \
 -DQT_IMMODULE -DPIC
 OBJS= moc_gcin-qt.o gcin-qt.o im-gcin-qt.o gcin-imcontext-qt.o
@


1.3
log
@- update to 1.5.8
- remove noseeing
- fix gcin-setup
- fix qt4 detecting problem (path)
- remove unused patch
- use 'xdg-open(1)' to opens a file or URL in the user's preferred application
@
text
@d1 3
a3 5
--- qt4-im/Makefile.orig	2011-02-08 09:35:24.000000000 +0800
+++ qt4-im/Makefile	2011-02-16 02:54:57.000000000 +0800
@@@@ -1,21 +1,21 @@@@
 include ../config.mak
 QT=qt4
d5 1
a5 2
-IMMODULES=$(libdir)/$(QTIM)
+IMMODULES=/usr/local/lib/$(QTIM)
d8 1
a8 1
+INCS=-I../im-client -I/usr/local/include/X11 -I/usr/local/include `pkg-config QtCore QtGui --cflags`
a11 14
 .SUFFIXES:	.c .cpp .a .so .E .h
-LDFLAGS=-L../im-client -lgcin-im-client `pkg-config QtCore QtGui --libs`
+LDFLAGS=-L../im-client -lgcin-im-client -lpthread -Wl,-rpath,$(gcinlibdir) `pkg-config QtCore QtGui --libs`
 all:    im-gcin.so
 
 .cpp.E:
 	$(CXX) -E $(CFLAGS) $(INCS) $< > $@@
 
 moc_gcin-qt.cpp:	gcin-qt.h
-	/usr/lib/$(QT)/bin/moc $< -o moc_gcin-qt.cpp
+	/usr/local/bin/moc-qt4 $< -o moc_gcin-qt.cpp
 
 im-gcin.so: $(OBJS)
 	export LD_RUN_PATH=$(gcinlibdir) ;\
@


1.2
log
@ - Upgrade to 1.5.6
 - Add LICENSE
@
text
@d1 3
a3 3
--- qt4-im/Makefile~	2010-07-29 00:15:03.000000000 +0800
+++ qt4-im/Makefile	2011-02-09 16:44:54.000000000 +0800
@@@@ -1,21 +1,22 @@@@
d11 2
a12 2
+INCS=-I../im-client -I/usr/local/include `pkg-config QtCore QtGui --cflags`
 CXXFLAGS=$(OPTFLAGS) $(INCS) -Wall -D_REENTRANT -fPIC  -DQT4 -DQT_SHARED \
d16 2
a17 3
-LDFLAGS=-L../im-client -lgcin-im-client -Wl,-rpath,$(gcinlibdir) `pkg-config QtCore QtGui --libs`
+LDFLAGS=-L../im-client -lgcin-im-client -lXext -lX11 -lm -lSM -lICE \
+	-lpthread -Wl,-rpath,$(gcinlibdir) `pkg-config QtCore QtGui --libs`
@


1.1
log
@- Update to 1.4.4
@
text
@d1 3
a3 3
--- qt4-im/Makefile.orig	2009-02-01 08:50:10.000000000 +0800
+++ qt4-im/Makefile	2009-02-01 08:55:39.000000000 +0800
@@@@ -1,29 +1,29 @@@@
d6 1
a6 1
-QTIM=$(QT)/plugins/lib/inputmethods
a7 1
+QTIM=$(QT)/plugins/inputmethods
a8 9
 ifeq ($(LIB), lib64)
-	IMMODULES_LOCAL=/usr/$(LIB)/qt4/plugins/lib64/inputmethods
+	IMMODULES_LOCAL=/usr/local/lib/qt4/plugins/lib64/inputmethods
 else
-	IMMODULES_LOCAL=/usr/$(LIB)/$(QTIM)
+	IMMODULES_LOCAL=$(IMMODULES)
 endif
-QTINC=/usr/lib/$(QT)/include
+QTINC=/usr/local/include/$(QT)
d10 2
a11 2
-INCS=-I../im-client -I$(QTINC) -I/usr/include/X11 -I$(QTINC)/QtGui -I$(QTINC)/QtCore
+INCS=-I../im-client -I$(QTINC) -I/usr/local/include -I$(QTINC)/QtGui -I$(QTINC)/QtCore
d16 3
a18 5
-LDFLAGS=-L/usr/lib/$(QT)/$(LIB) -L/usr/X11R6/$(LIB) -L../im-client -lQtGui -lQtCore -lmng -ljpeg -lpng -lz \
+LDFLAGS=-L/usr/local/lib/$(QT) -L/usr/local/lib -L../im-client -lQtGui -lQtCore -lmng -ljpeg -lpng -lz \
 -lXrender -lXrandr  -lXft -lfontconfig -lgcin-im-client \
--lXext -lX11 -lm -lSM -lICE -ldl -lpthread
+-lXext -lX11 -lm -lSM -lICE -lpthread
@

