Hi
All my problem is in the title. I can't succeeded to have xpad working on Slitaz 4.0, whatever the version is : it's impossible to edit.
What can I do to fix that.
Very nice day for every one.

Happy new year ! Does xpad work ?
(22 posts) (3 voices)-
Posted 12 years ago #
-
hi, i encountered same problem as you, it seems that the patch proposed here
https://bugs.launchpad.net/xpad/+bug/591978
solves the problem.
this is the receipt# SliTaz package receipt. PACKAGE="xpad" VERSION="4.0" CATEGORY="utilities" SHORT_DESC="Desktop note pad using GTK+ toolkit." MAINTAINER="pankso@slitaz.org" DEPENDS="gtk+ xorg-libXdamage xorg-libSM" BUILD_DEPENDS="pkg-config intltool" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://xpad.sourceforge.net/" WGET_URL="http://launchpad.net/xpad/trunk/$VERSION/+download/$TARBALL" HANDBOOK_URL='http://www.slitaz.org/doc/handbook/utilities.html#xpad' # Rules to configure and make the package. compile_rules() { cd $src sed -i 's/^.*GTK_WINDOW_TOPLEVEL,//' src/xpad-pad.c ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr }
this is the link to the receipt in slitaz paste (in case the receipt is not visible above)
http://paste.slitaz.org/?0e419d127a7ab154#h1SM78mo1ZCYpZsZ+YYeyIh5mR5PNCVpQukodAprwAk=
and i enclose the package, if you trust me or you are not able to build the package.
Please, let me know if this solves the problem for you too.
Posted 12 years ago # -
Posted 12 years ago #
-
I have problems when cooking this receipt in SliTaz 4.0.
Ok, I'll try to modify it.Is it worth move to xpad-4.1 (2011-11-14)?
Posted 12 years ago # -
I'm on rolling.
Maybe i had some dependencies already installed?
Forgive me but i'm not familiar with the new cooking system.
If i remember well i just changed 4 to $VERSION in WGET_URL and added the sed row.
i had lot of problems trying to build 4.1, initial problems were of this kind:
http://www.google.com/search?q=#error%20"Only%20<glib.h>%20can%20be%20included%20directly."
but changing every glib inclusion to #include <glib.h> produced some type cast errors (int instead of gchar), so i gave up (i'm not a programmer).
they classify both 4.0 and 4.1 as trunk, if it was for me i would come back to 3.1, which is the last stable, but 3.1 soffers of this bug too.
i would stay with 4.0Posted 12 years ago # -
Thanks, ernia!
Commit to Stable: http://hg.slitaz.org/wok-stable/rev/ee3986615c83
Commit to Cooking/Rolling: http://hg.slitaz.org/wok/rev/eceda27fe4a8
Wait about 45 minutes, and we'll see if it cooked well or not.Posted 12 years ago # -
xpad 4.1 does it work in 4.0?
i got
Cook date: 2013-01-02 20:43 ERROR: cook failed /usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
in rolling
maybe it's due to the newest glib?
I'll take a shower meanwhile :-)Posted 12 years ago # -
Maybe, Pascal started cooker.
Xpad-4.0 for SliTaz 4.0 cooked. Download it and test.Xpad-4.1 for SliTaz Rolling failed (cooking log). Same error:
/usr/include/glib-2.0/glib/glist.h:28:2: error: #error "Only <glib.h> can be included directly."
Posted 12 years ago # -
i just see that you did put 4.0 in stable and 4.1 in cooking.
4.0 works in cooking too, i think that it's a waste of time trying to upgrade to 4.1, unless the debug of the error is trivial to you.
thanks for the committings.Posted 12 years ago # -
forgot to specify that i tested xpad 4.0 dowloaded from your link
Posted 12 years ago # -
Xpad-4.1 with this receipt cooked in my stable SliTaz, but fails in Cooking cooker. Let's think.
src/xpad-undo.c:
#include <glib/glist.h>
/usr/include/glib-2.0/glib/glist.h:28
#if defined(G_DISABLE_SINGLE_INCLUDES) && !defined (__GLIB_H_INSIDE__) && !defined (GLIB_COMPILATION) #error "Only <glib.h> can be included directly." #endif
I don't know C.
Seems like it need to define (__GLIB_H_INSIDE__) somewhere in src/xpad-undo.c
How I can try it? Change receipt and wait :(Posted 12 years ago # -
change receipt and post it, i'll try for you :-)
Posted 12 years ago # -
Thanks!
Next...
/usr/include/glib-2.0/glib.h:20
#ifndef __G_LIB_H__ #define __G_LIB_H__ #define __GLIB_H_INSIDE__ ...
Hmm. Its in the stable packages. What we have in Cooking? See next...
Posted 12 years ago # -
I downloaded and extracted cooking version, thanks.
Let's try to remove line "#include <glib/glist.h>" from src/xpad-undo.c (see attached receipt).
Ernia, please try to cook it (it cooked and worked in my stable).Posted 12 years ago #
Reply »
You must log in to post.