View Single Post
Posts: 401 | Thanked: 724 times | Joined on May 2010 @ Italy
#103
Originally Posted by MohammadAG View Post
His*, I'm a he lol

PM/email me the source and I'll get it packaged up asap.

Thanks for going FOSS
Can I ask how to do alone? I like to understand how it works...

This is tree of relevant files:

fastsmsevo-0.1
|-- Makefile
|-- debian
| |-- changelog
| |-- compat
| |-- control
| |-- copyright
| |-- dirs
| |-- docs
| |-- fastsmsevo.dirs
| |-- fastsmsevo.install
| |-- files
| |-- postinst
| |-- postrm
| `-- rules
`-- src
|-- Makefile
|-- conn.c
|-- conn.h
|-- interface.h
`-- plugin.c


control,copyright,compat, changelog are already ok (or quite, but I will ask later for this).

First makefile (fastsmsevo/makefile) only contains

Code:
SUBDIRS = src
second one (fastsmsevo/src/makefile) build fastsms_plugin.so that is the "vkb"

Code:
ALL : fastsms_plugin.so

conn.o : conn.c conn.h interface.h
	gcc -c conn.c -o conn.o `pkg-config --libs --cflags glib-2.0 gtk+-2.0 gconf-2.0`

plugin.o : plugin.c
	gcc -c plugin.c -o plugin.o `pkg-config --cflags hildon-input-method-framework-3.0 hildon-input-method-ui-3.0 glib-2.0 gtk+-2.0 gconf-2.0`

fastsms_plugin.so : plugin.o conn.o
	gcc plugin.o conn.o -shared -o fastsms_plugin.so `pkg-config --libs hildon-input-method-framework-3.0 hildon-input-method-ui-3.0 glib-2.0 gtk+-2.0 gconf-2.0`

clean :
	rm -f *.o
	rm -f interface.h
	rm -f *.so
I can build the package but installation directory are wrong and package doens't contains fastsms_plugin.so

EDIT: thank to you for your help!
EDIT AGAIN: Sorry for his/her

Last edited by realsportcars; 2011-01-25 at 00:23.
 

The Following 2 Users Say Thank You to realsportcars For This Useful Post: