November Extensions


Forum: The Testing Area
Topic: November Extensions
started by: roberts

Posted by roberts on Nov. 05 2007,17:10
New or updated extensions now posted!

Thanks to J.S. for:
elinks.tar.gz
rtorrent.uci
wine-0.9.28_with_opengl.dsl


Thanks to Juanito for:
compile-3.3.5.uci
bt_modules-2.4.31.dsl


Thanks to thehatsrule for:
torsmo-0.18.uci
torsmo-0.18.tar.gz


Thanks to humpty for:
cchanger.uci

Browse their info files to see what's new!

Posted by kuky on Nov. 05 2007,19:33
i send a firefox 2009 spanish version in uci, its needed gtk previous..

1) download of test file firefox209.es.uci
2) load with mydsl tool
3) make a direct access (with icontool) in ver 3.4.5 to path /opt/firefox209.es/firefox or drag and copy to desktop in ver 4.0( clik righ mouse and press ctrl Simultaneous).

thanks

Posted by roberts on Nov. 06 2007,01:18
Now posted: firefox209.es.uci

Thanks kuky.

Posted by Juanito on Nov. 06 2007,06:48
I posted compile-3.3.5.uci and bt_modules-2.4.31.dsl a while ago - were these received?
Posted by roberts on Nov. 06 2007,07:13
Yes, they were announced on the first post of this thread.
Posted by Juanito on Nov. 06 2007,07:19
...sorry - don't know how I missed that:blush:
Posted by stupid_idiot on Nov. 07 2007,13:57
Hi all:
'xfonts-CN.tar.gz' is being worked on. It is named similarly to 'xfonts-JP.tar.gz'. Hope to submit this in a week or so.

Posted by Juanito on Nov. 10 2007,13:01
I've tested my compile-3.3.5 extension by compiling +/-10 programs now - all but two seemed to have compiled fine, including the 2.4.31 bluetooth modules.

Both obexftp and mt-daapd give a similar error as follows:
Code Sample
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/bluez-utils/include -I.. -I../includes -I/opt/compile-3.3.5/include -g -Wall -Wmissing-declarations -Wmissing-prototypes -Wall -MT obexftp_io.lo -MD -MP -MF .deps/obexftp_io.Tpo -c obexftp_io.c  -fPIC -DPIC -o .libs/obexftp_io.o
obexftp_io.c: In function `pathcat':
obexftp_io.c:143: error: `_POSIX_PATH_MAX' undeclared (first use in this function)
obexftp_io.c:143: error: (Each undeclared identifier is reported only once
obexftp_io.c:143: error: for each function it appears in.)
obexftp_io.c: In function `open_safe':
obexftp_io.c:159: error: `_POSIX_PATH_MAX' undeclared (first use in this function)
obexftp_io.c:159: warning: unused variable `diskname'
obexftp_io.c: In function `checkdir':
obexftp_io.c:181: error: `_POSIX_PATH_MAX' undeclared (first use in this function)
obexftp_io.c:181: warning: unused variable `newpath'
make[2]: *** [obexftp_io.lo] Error 1
make[2]: Leaving directory `/KNOPPIX/usr/src/obexftp-0.10.7/obexftp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/KNOPPIX/usr/src/obexftp-0.10.7'
make: *** [all] Error 2

and

if gcc -DHAVE_CONFIG_H -I. -I. -I..   -g -Wall -DHAVE_SQL -DHOST='"i686-pc-linux-gnu"' -DNOT_HAVE_SA_LEN -I/opt/firefly/include  -I/opt/compile-3.3.5/include -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" -c -o configfile.o configfile.c; \
then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; else rm -f ".deps/configfile.Tpo"; exit 1; fi
configfile.c: In function `config_handler':
configfile.c:282: error: `PATH_MAX' undeclared (first use in this function)
configfile.c:282: error: (Each undeclared identifier is reported only once
configfile.c:282: error: for each function it appears in.)
configfile.c:282: warning: unused variable `path'
configfile.c:283: warning: unused variable `resolved_path'
configfile.c:284: warning: unused variable `web_root'
configfile.c: In function `config_emit_conffile':
configfile.c:470: error: `PATH_MAX' undeclared (first use in this function)
configfile.c:470: warning: unused variable `fullpath'
configfile.c: In function `config_emit_include':
configfile.c:785: error: `PATH_MAX' undeclared (first use in this function)
configfile.c:785: warning: unused variable `resolved_path'
configfile.c:786: warning: unused variable `path'
configfile.c:787: warning: unused variable `web_root'
make[3]: *** [configfile.o] Error 1
make[3]: Leaving directory `/ramdisk/usr/src/mt-daapd-svn-1417/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ramdisk/usr/src/mt-daapd-svn-1417/src'

The errors seem to be for the same reason and seem similar in type to the "make dep" error for which Curaga provided a fix (add "#include <sys/param.h>" at the beginning of ../scripts/mkdep.c). If I use gcc1-with-libs.dsl or install a compile environment from debs, the error with obexftp does not occur.

I guess the error is something to do with having the headers in /opt rather than in /usr, but so far google has not thrown up anything obvious - any ideas?

Posted by curaga on Nov. 10 2007,14:02
They look very similar to me - try the same thing again? Add that include to the conflicting files?
Posted by Juanito on Nov. 10 2007,14:30
I'd tried that with obexftp and it didn't work - however with mt-daapd it did work (I had to add the line in 5-6 *.c files), thanks.

...Question is, why do I need to do this?

Posted by curaga on Nov. 10 2007,14:48
Someone recommended replacing _POSIX_PATH_MAX with PATH_MAX - do a quick sed on those files and see if obexftp compiles

For why that is needed, no idea..

Posted by Juanito on Nov. 12 2007,05:41
Quote
do a quick sed on those files and see if obexftp compiles

- thanks, but how would you do this (i.e. how would you structure the sed command)?

Quote
For why that is needed, no idea..

- What I cannot figure out is why obexftp would compile from /usr (gcc1-with-libs) and not from /opt (compile-3.3.5). As far as I can see the same headers are present - whatever contains PATH_MAX doesn't seem to be found in /opt, but why?

Posted by ^thehatsrule^ on Nov. 12 2007,05:54
I'm wondering why would replacing those if you get an error on PATH_MAX as well?

Anyways a sed line could be like
Code Sample
sed -e 's/_POSIX_PATH_MAX/PATH_MAX/g' originalfile > newfile


Though those looks more like defines... so you could do something like -D_POSIX_PATH_MAX PATH_MAX but I have my doubts, for the same reason.

EDIT: grepping some header files, it looks like
linux/limits.h:
#define PATH_MAX 4096
in bits/posix1_lim.h:
#define _POSIX_PATH_MAX 256
So maybe you've got some wrong/missing headers or just configure'd wrong somewhere?

Posted by Juanito on Nov. 12 2007,07:27
Quote
I'm wondering why would replacing those if you get an error on PATH_MAX as well?

- inserting the line "#include <sys/param.h>" towards the beginning of the files with the PATH_MAX error seems to fix things.

Maybe the issue is that I have several limits.h files (the last two seem identical):

../include
../include/linux
../lib/gcc-lib/486-pc-linux-gnu/3.3.5/install-tools/include
../lib/gcc-lib/486-pc-linux-gnu/3.3.5/include

Only the one in ../include/linux contains PATH_MAX

gcc1-with-libs also has several limits.h files (and the first two are exactly the same size as the first two files above):

../include
../include/linux
../lib/gcc-lib/486-linux/3.3.4/include

and again, only the one in ../include/linux contains PATH_MAX.

I have ../include/bits/posix1_lim.h and it contains the POSIX_PATH_MAX statement.

So somehow, the file /usr/include/linux/limits.h gets seen but the file /opt/compile-3.3.5/include/linux/limits.h is not seen, even though I used "export CFLAGS=-I/opt/compile-3.3.5/include"

Is there another flag to set maybe?

Posted by stupid_idiot on Nov. 12 2007,10:40
If I'm not wrong, CPPFLAGS is intended to be used for includes:
Code Sample
export CPPFLAGS=-I/opt/compile-3.3.5/include

That's what I use anyway. I put only 'optimization stuff' in CFLAGS/CXXFLAGS. And linking stuff goes into LDFLAGS.

Posted by Juanito on Nov. 12 2007,14:39
I tried again with "export CPPFLAGS=-I/opt/compile-3.3.5/include" instead of "export CFLAGS=-I/opt/compile-3.3.5/include" and the result was the same.

Curaga was correct in that substituting PATH_MAX in place of _POSIX_PATH_MAX and adding "#include <sys/param.h>" to the offending file allows obexftp to compile - at least until it stops with a pod2man error...

I presume I could symlink limits.h in /opt to /usr and fix the problem, but this is not really the way I'd like to go.

Posted by roberts on Nov. 13 2007,06:35
New extensions now posted:
Thanks to Juanito for...
bt_modules-2.4.26.dsl   -- This one is in the modules section.
bluez-utils.uci
firefly.uci


Thanks to J.S. for...
links2.uci

Posted by stupid_idiot on Nov. 16 2007,19:03
Almost ready:
ffmpeg.uci [2.1M] -- latest SVN; mencoder.uci [724K] -- latest SVN; mplayer.uci [852K] -- latest SVN
** 'mencoder.uci' and 'mplayer.uci' both need 'ffmpeg.uci' to run. Both are linked against ffmpeg shared libraries in '/opt/ffmpeg/lib/'. I used '-Wl,-rpath,/opt/ffmpeg/lib' for linking.

- New location for the 'codecs' directory. It used to be '/usr/local/lib/codecs/'. Now I changed it to '/opt/codecs/'. Other codec extensions like 'codecs-wmp.uci' can put symlinks in this directory pointing to files in '/opt/codecs-wmp/' for example.

- Included encoders (only for ffmpeg & mencoder):
libfaac, libmp3lame, libtheora, libtwolame, libx264
- Included decoders:
liba52, libamrnb, libamrwb, libfaad, libspeex, libtheora

- Also included: Manuals formatted as plain text files.
Namely: '/opt/ffmpeg/ffmpeg.txt'; '/opt/mencoder/mencoder.txt'; '/opt/mplayer/mplayer.txt'.
To format a manpage into a text file:
Code Sample
man ./foo | col -b > foo.txt
To format a texinfo manual into a text file:
Code Sample
texi2html foo.texi
followed by
Code Sample
html2text -style pretty -nobs -ascii -o foo.txt foo.html


Contents of '/opt/ffmpeg/' for 'ffmpeg.uci':
Code Sample
bin/ffmpeg ffmpeg.txt lib/liba52.so.0 lib/libamrnb.so.3 lib/libamrwb.so.3 lib/libavcodec.so.51 lib/libavformat.so.51 lib/libavutil.so.49 lib/libfaac.so.0 lib/libfaad.so.0 lib/libmp3lame.so.0 lib/libswscale.so.0 lib/libtheora.so.0 lib/libx264.so.56 user.tar.gz
'user.tar.gz' contains: '/opt/bin/ffmpeg' -> '../ffmpeg/bin/ffmpeg'
Contents of '/opt/mencoder/' for 'mencoder.uci':
Code Sample
bin/mencoder mencoder.txt user.tar.gz
'user.tar.gz' contains: '/opt/bin/mencoder' -> '../mencoder/bin/mencoder'
Contents of '/opt/mplayer/' for 'mplayer.uci':
Code Sample
bin/mplayer etc/mplayer.conf mplayer.txt user.tar.gz
'user.tar.gz' contains: '/opt/bin/mplayer' -> '../mplayer/bin/mplayer'

Posted by roberts on Nov. 17 2007,05:14
Thanks to J.S. now posted:

xfonts-cjk.uci (cjk = Chinese/Japanese/Korean).

Posted by kuky on Nov. 18 2007,22:54
i send thunderbird 2009 in spanish ver and uci..

some help its needed to convert utf8 string ...to iso bla bla...for a estetic question...but its work...

of course its needed gtk

saludikis (salud y kikis )

kuky

Posted by roberts on Nov. 21 2007,01:45
An update to bluez-utils.uci is now posted.
Thanks goes to Juanito.

Posted by Juanito on Nov. 21 2007,03:40
If anybody is interested, the new extension now allows (on suitable hardware) for dial-up, gprs, ftp and mounting via bluetooth - I'll have a look at headsets (with skype in mind) next.
Posted by stupid_idiot on Nov. 22 2007,18:16
I would like to apologize for the delay with FFmpeg et al.
There's been a change of plan:
Now the base extension is called 'mplayer-base.uci'.
'mencoder.uci' and 'mplayer.uci' will depend on it.
'ffmpeg.uci' will depend on 'mplayer-base.uci' also.
Currently in the process of compiling so there may still be problems. Oh, and I hope 'mplayer-base.uci' won't turn out too big.
Hope to send these in ASAP.

Posted by stupid_idiot on Nov. 23 2007,16:47
Good news: Tested and seems stable.
Theora encoding with ffmpeg2theora works.
x264 encoding with mencoder also works.
List:
ffmpeg.tar.gz [30K]
ffmpeg2theora.tar.gz [16K]
mencoder.tar.gz [190K]
mplayer.tar.gz [190K]
mplayer-base.uci [3.2M]
List of 3rd-party encoders:
libamrnb, libamrwb, libfaac, libmp3lame, libtheora, libtwolame, libx264

Posted by roberts on Nov. 25 2007,00:41
Thanks to WDef for:
burp.tar.gz

Thanks to Juanito for:
compile-3.3.5.uci

Now posted. Read the .info for details.

Posted by roberts on Nov. 26 2007,06:51
Thanks to WDef for:

peazip.uci
peazip-gtk2.uci


Read the .info file for details.

Posted by stupid_idiot on Nov. 29 2007,08:12
Dear all,
Just got VLC video playback working with ffmpeg libs shared between ffmpeg, mencoder/mplayer, and VLC.
Hope to submit ASAP. Yay! :)

Posted by roberts on Nov. 30 2007,04:04
Thanks to jpeters for
vim_7.1.unc

Thanks to Juanito for
irda-utils.uci

See their .info for more information.

Posted by humpty on Nov. 30 2007,21:15
Quote (stupid_idiot @ Nov. 29 2007,11:12)
Dear all,
Just got VLC video playback working with ffmpeg libs shared between ffmpeg, mencoder/mplayer, and VLC.
Hope to submit ASAP. Yay! :)

yessss ! now that would be great xmas gift !
Posted by WDef on Dec. 02 2007,14:44
peazip ucis:

fyi, besides browsing and opening things like 7ZIP, ISO, TAR, RAR, CPIO, DEB, RPM, SLW,  PET, PUP  etc these can handle many other archive formats: ARJ, ACE, CAB, CHM/CHW/HXS,  WIM/SWM, NSIS, QUAD, PAK, win DOC, PPT, the list goes on.

Can make, split and aes256 encypt various formats also.

These seemed to be a handy GUI addition to my dsl toolkit. Haven't spent time with it, don't know the finer usage points or caveats yet.

The DOC suffix (maybe others also) is case sensitive, so need to change  text.doc to text.DOC for it to unpack, though it showed the list of contents for text.doc.   First time I've seen where MS puts all the header etc info = 6 different component files.  

(peazip has its own format called PEA as well, which I don't know much about.)

Posted by lucky13 on Dec. 02 2007,15:34
jpeters: Is vim_7.1.unc strictly the 7.1 source or is it patched? If patched, through which (166 as of this morning)?
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.