Commit 2e23a2b2 authored by Urs Fleisch's avatar Urs Fleisch
Browse files

prepared some build files for version 1.2

parent 81df482e
...@@ -47,34 +47,19 @@ cd kid3-qt ...@@ -47,34 +47,19 @@ cd kid3-qt
make make
make install make install
*** Create Debian Packages for KDE 3 *** Create Debian Packages
Make sure that you have installed all packages listed in deb-kde3/control, Make sure that you have installed all packages listed in deb/control,
section Build-Depends. section Build-Depends.
./build-deb-kde3.sh ./build-deb.sh
*** Create Debian Packages for Qt
Make sure that you have installed all packages listed in deb-qt/control,
section Build-Depends.
./build-deb-qt.sh
*** Create Debian Package for KDE 4
Make sure that you have installed all packages listed in deb-kde4/control,
section Build-Depends.
./build-deb-kde4.sh
*** Create RPM Package *** Create RPM Package
Eventually change the prefix (/opt/kde3) and the configure arguments in Copy kid3.spec into the SPEC directory
kid3.spec. They should work with SUSE. Copy kid3.spec into the SPEC directory
and the tar.gz archive into the SOURCES directory. and the tar.gz archive into the SOURCES directory.
rpm -ba kid3.spec rpmbuild -ba kid3.spec
** Windows ** Windows
......
...@@ -11,7 +11,7 @@ package-messages: ...@@ -11,7 +11,7 @@ package-messages:
$(MAKE) -f admin/Makefile.common package-messages $(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge $(MAKE) -C po merge
EXTRA_DIST = admin/* deb-kde3/* deb-kde4/* deb-qt/* win32/* AUTHORS COPYING ChangeLog INSTALL README kid3.lsm kid3.spec kid3-qt.pro kid3-qt/configure-kid3-qt.pl kid3-qt/configure.in kid3-qt/config.pri.in kid3-qt/config.h.in kid3-qt/configure EXTRA_DIST = admin/* deb/* win32/* AUTHORS COPYING ChangeLog INSTALL README kid3.lsm kid3.spec kid3-qt.pro kid3-qt/configure-kid3-qt.pl kid3-qt/configure.in kid3-qt/config.pri.in kid3-qt/config.h.in kid3-qt/configure
# generate precompiled header allsys.h.gch for GCC 3.4 # generate precompiled header allsys.h.gch for GCC 3.4
pch: pch:
......
...@@ -9,7 +9,11 @@ if test $(lsb_release -is) = "Ubuntu"; then ...@@ -9,7 +9,11 @@ if test $(lsb_release -is) = "Ubuntu"; then
sedcmds="s/^# Ubuntu://; s/^# KDE3://" sedcmds="s/^# Ubuntu://; s/^# KDE3://"
fi fi
else else
if test $(lsb_release -cs) != "lenny"; then
sedcmds="s/^# KDE4://"
else
sedcmds="s/^# KDE3://" sedcmds="s/^# KDE3://"
fi
fi fi
sed -i "$sedcmds" debian/control sed -i "$sedcmds" debian/control
dpkg-buildpackage -rfakeroot dpkg-buildpackage -rfakeroot
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment