#265 Plugins are compiled but not installed in CVS version

open
nobody
None
5
2010-09-16
2010-09-16
cyberpatrol
No

The plugins libsimpledvd.so and libcomplexdvd.so are compiled, but not installed. They are deleted before they are moved to the plugin directory.

This is the relevant build output:

g++ -c -pipe -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPLUGIN_VERSION=1.4 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/uisimpledvd.o .ui/uisimpledvd.cpp
test -d ../plugins/ || mkdir -p ../plugins/
rm -f libsimpledvd.so.1.4.0 libsimpledvd.so libsimpledvd.so.1 libsimpledvd.so.1.4
g++ -shared -Wl,-soname,libsimpledvd.so.1 -o libsimpledvd.so.1.4.0 .obj/simpledvd.o .obj/uisimpledvd.o .obj/moc_simpledvd.o .obj/moc_interface.o .obj/moc_uisimpledvd.o -L/opt/qt/lib -L/usr/lib -lqt-mt
ln -s libsimpledvd.so.1.4.0 libsimpledvd.so
ln -s libsimpledvd.so.1.4.0 libsimpledvd.so.1
ln -s libsimpledvd.so.1.4.0 libsimpledvd.so.1.4
rm -f ../plugins/libsimpledvd.so.1.4.0
rm -f ../plugins/libsimpledvd.so
rm -f ../plugins/libsimpledvd.so.1
rm -f ../plugins/libsimpledvd.so.1.4
mv -f libsimpledvd.so.1.4.0 libsimpledvd.so libsimpledvd.so.1 libsimpledvd.so.1.4 ../plugins/
...
g++ -c -pipe -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPLUGIN_VERSION=1.4 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/uisimpledvd.o .ui/uisimpledvd.cpp
In file included from simpledvd.cpp:16:0:
/opt/qt/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/opt/qt/include/qimage.h:58:61: warning: suggest parentheses around '&&' within '||'
test -d ../plugins/ || mkdir -p ../plugins/
rm -f libcomplexdvd.so.1.4.0 libcomplexdvd.so libcomplexdvd.so.1 libcomplexdvd.so.1.4
g++ -shared -Wl,-soname,libcomplexdvd.so.1 -o libcomplexdvd.so.1.4.0 .obj/simpledvd.o .obj/uisimpledvd.o .obj/moc_simpledvd.o .obj/moc_interface.o .obj/moc_uisimpledvd.o -L/opt/qt/lib -L/usr/lib -lqt-mt
ln -s libcomplexdvd.so.1.4.0 libcomplexdvd.so
ln -s libcomplexdvd.so.1.4.0 libcomplexdvd.so.1
ln -s libcomplexdvd.so.1.4.0 libcomplexdvd.so.1.4
rm -f ../plugins/libcomplexdvd.so.1.4.0
rm -f ../plugins/libcomplexdvd.so
rm -f ../plugins/libcomplexdvd.so.1
rm -f ../plugins/libcomplexdvd.so.1.4
mv -f libcomplexdvd.so.1.4.0 libcomplexdvd.so libcomplexdvd.so.1 libcomplexdvd.so.1.4 ../plugins/
...
g++ -c -pipe -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPLUGIN_VERSION=1.4 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default
-I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/simpledvd.o simpledvd.cpp
In file included from simpledvd.cpp:8:0:
/opt/qt/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/opt/qt/include/qimage.h:58:61: warning: suggest parentheses around '&&' within '||'
test -d ../plugins/ || mkdir -p ../plugins/
rm -f libsimpledvd.so.1.4.0 libsimpledvd.so libsimpledvd.so.1 libsimpledvd.so.1.4
g++ -shared -Wl,-soname,libsimpledvd.so.1 -o libsimpledvd.so.1.4.0 .obj/simpledvd.o .obj/uisimpledvd.o .obj/moc_simpledvd.o .obj/moc_interface.o .obj/moc_uisimpledvd.o -L/opt/qt/lib -L/usr/lib -lqt-mt
ln -s libsimpledvd.so.1.4.0 libsimpledvd.so
ln -s libsimpledvd.so.1.4.0 libsimpledvd.so.1
ln -s libsimpledvd.so.1.4.0 libsimpledvd.so.1.4
rm -f ../plugins/libsimpledvd.so.1.4.0
rm -f ../plugins/libsimpledvd.so
rm -f ../plugins/libsimpledvd.so.1
rm -f ../plugins/libsimpledvd.so.1.4
mv -f libsimpledvd.so.1.4.0 libsimpledvd.so libsimpledvd.so.1 libsimpledvd.so.1.4 ../plugins/
cp -f "background.jpg" "../../../../../pkg/usr/share/qdvdauthor/plugins/simpledvd/"
cp -f "main.png" "../../../../../pkg/usr/share/qdvdauthor/plugins/simpledvd/"
cp -f "prev.png" "../../../../../pkg/usr/share/qdvdauthor/plugins/simpledvd/"
cp -f "next.png" "../../../../../pkg/usr/share/qdvdauthor/plugins/simpledvd/"
...
g++ -c -pipe -Wall -W -march=x86-64 -mtune=generic -O2 -pipe -fPIC -DPLUGIN_VERSION=1.4 -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/opt/qt/mkspecs/default -I. -I/opt/qt/include -I.ui/ -I. -I.moc/ -o .obj/simpledvd.o simpledvd.cpp
In file included from simpledvd.cpp:16:0:
/opt/qt/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/opt/qt/include/qimage.h:58:61: warning: suggest parentheses around '&&' within '||'
test -d ../plugins/ || mkdir -p ../plugins/
rm -f libcomplexdvd.so.1.4.0 libcomplexdvd.so libcomplexdvd.so.1 libcomplexdvd.so.1.4
g++ -shared -Wl,-soname,libcomplexdvd.so.1 -o libcomplexdvd.so.1.4.0 .obj/simpledvd.o .obj/uisimpledvd.o .obj/moc_simpledvd.o .obj/moc_interface.o .obj/moc_uisimpledvd.o -L/opt/qt/lib -L/usr/lib -lqt-mt
ln -s libcomplexdvd.so.1.4.0 libcomplexdvd.so
ln -s libcomplexdvd.so.1.4.0 libcomplexdvd.so.1
ln -s libcomplexdvd.so.1.4.0 libcomplexdvd.so.1.4
rm -f ../plugins/libcomplexdvd.so.1.4.0
rm -f ../plugins/libcomplexdvd.so
rm -f ../plugins/libcomplexdvd.so.1
rm -f ../plugins/libcomplexdvd.so.1.4
mv -f libcomplexdvd.so.1.4.0 libcomplexdvd.so libcomplexdvd.so.1 libcomplexdvd.so.1.4 ../plugins/
cp -f "background.jpg" "../../../../../pkg/usr/share/qdvdauthor/plugins/complexdvd/"
cp -f "main.png" "../../../../../pkg/usr/share/qdvdauthor/plugins/complexdvd/"
cp -f "prev.png" "../../../../../pkg/usr/share/qdvdauthor/plugins/complexdvd/"
cp -f "next.png" "../../../../../pkg/usr/share/qdvdauthor/plugins/complexdvd/"
cp -f "../../../lib/libjhead.so" "../../../../../pkg/usr/share/qdvdauthor/lib/"
cp -f "../../../lib/libjhead.so.1" "../../../../../pkg/usr/share/qdvdauthor/lib/"
cp -f "../../../lib/libjhead.so.1.0" "../../../../../pkg/usr/share/qdvdauthor/lib/"
cp -f "../../../lib/libjhead.so.1.0.0" "../../../../../pkg/usr/share/qdvdauthor/lib/"

I build and install qdvdauthor with these commands:
./configure --prefix=$pkgdir/usr --system-path=/usr --no-configurator --omit-local-ffmpeg
./configure --no-configurator --install

Discussion