Skip to content

Commit

Permalink
Remove libsmpeg and add libmagic
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvanbraeckel committed Jan 8, 2015
1 parent 0d0f973 commit 30b1724
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ if uname -s | grep -i -c "LINUX" > /dev/null; then
elif uname -s | grep -i -c "BEOS" > /dev/null; then
echo "BeOS detected.";
echo "compiling...";
gcc $ARGS1 $ARGS2 -I/boot/develop/tools/gnupro/include/ -I/boot/develop/headers/be/opengl/ -L/boot/home/config/lib -L/boot/develop/tools/gnupro/lib/ -lSDL_image -lGL -lglut -lsmpeg -D_THREAD_SAFE -O2 -x c -o 3dfsb 3dfsb.c;
gcc $ARGS1 $ARGS2 -I/boot/develop/tools/gnupro/include/ -I/boot/develop/headers/be/opengl/ -L/boot/home/config/lib -L/boot/develop/tools/gnupro/lib/ -lSDL_image -lGL -lglut -lmagic -D_THREAD_SAFE -O2 -x c -o 3dfsb 3dfsb.c;
elif uname -s | grep -i -c "BSD" > /dev/null; then
echo "BSD detected.";
echo "compiling...";
gcc $ARGS1 $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lsmpeg -D_THREAD_SAFE -O2 -x c -o 3dfsb 3dfsb.c;
gcc $ARGS1 $ARGS2 -I/usr/local/include -I/usr/include/ -I/usr/X11R6/include -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lm -lmagic -D_THREAD_SAFE -O2 -x c -o 3dfsb 3dfsb.c;
else
echo "Unknown OS. If you are running Linux, BeOS or";
echo "FreeBSD please send me the output of 'uname -s'."
Expand Down
2 changes: 1 addition & 1 deletion compile_with_gstreamer_from_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ gtkstuff="-I /usr/include/gtk-3.0/ -I /usr/include/cairo -I /usr/include/pango-1

as -v -I /usr/include/SDL -I /usr/local/include -I /usr/include/ -I /usr/X11R6/include -I /usr/include/gstreamer-1.0 -I /usr/include/glib-2.0 -I /usr/lib/x86_64-linux-gnu/glib-2.0/include -I /usr/include/libxml2 --64 -o ccUyg6CF.o ccqdhkBS.s

/usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o 3dfsb /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu//libsmpeg-0.4.so.0.1.4 ccUyg6CF.o -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libSDL.so $prefix/libgstreamer-1.0.so $prefix/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libc.so $localprefix/gstreamer-1.0/libgstopengl.so $prefix/libmagic.so.1.0.0 $localprefix/libgstgl-1.0.so.0 $localprefix/libgstvideo-1.0.so.0 $prefix/libgdk_pixbuf-2.0.so -lm -lSDL -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lsmpeg -lgstreamer-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 2>&1
/usr/lib/gcc/x86_64-linux-gnu/4.8/collect2 --sysroot=/ --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -z relro -o 3dfsb /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o -L/usr/lib/x86_64-linux-gnu -L/usr/lib/ -L/usr/local/lib/ -L/usr/X11R6/lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8 -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.. /usr/lib/x86_64-linux-gnu/libX11.so ccUyg6CF.o -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.8/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crtn.o /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libSDL.so $prefix/libgstreamer-1.0.so $prefix/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libc.so $localprefix/gstreamer-1.0/libgstopengl.so $prefix/libmagic.so.1.0.0 $localprefix/libgstgl-1.0.so.0 $localprefix/libgstvideo-1.0.so.0 $prefix/libgdk_pixbuf-2.0.so -lm -lSDL -lSDL_image -lGL -lGLU -lglut -lXmu -lXi -lXext -lX11 -lmagic -lgstreamer-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lxml2 -lglib-2.0 2>&1

0 comments on commit 30b1724

Please sign in to comment.