[Lunar-commits] <moonbase> licq: Version bump with some significant changes to building, they

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Wed Mar 30 14:05:22 CEST 2011


commit aad071703ca9dbddb0bac4aa16b10077d4473324
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Wed Mar 30 08:05:22 2011 -0400

    licq: Version bump with some significant changes to building, they
    
    switched to cmake.
---
 chat/licq/BUILD     |  114 ++++++++++++++++++--------------------------------
 chat/licq/CONFIGURE |    9 ++++
 chat/licq/DEPENDS   |    8 +++-
 chat/licq/DETAILS   |    6 +-
 4 files changed, 60 insertions(+), 77 deletions(-)

diff --git a/chat/licq/BUILD b/chat/licq/BUILD
index c3a99f6..002e53e 100644
--- a/chat/licq/BUILD
+++ b/chat/licq/BUILD
@@ -1,95 +1,63 @@
 ( 
 
-  CONSOLE_PLUGIN="no"
-  QT_PLUGIN="no"
-  QT4_PLUGIN="no"
-  MSN_PLUGIN="no"
-  OSD_PLUGIN="no"
+  OOSB_DIR="$SOURCE_DIRECTORY/$MODULE-build"  &&
 
-  # Determine which plugins to build
-  if in_depends licq cdk; then
-    CONSOLE_PLUGIN="yes"
-  fi
-  if in_depends licq qt4; then
-    QT4_PLUGIN="yes"
-  fi
-  if in_depends licq openssl; then
-    MSN_PLUGIN="yes"
-  fi
-  if in_depends licq xosd; then
-    OSD_PLUGIN="yes"
-  fi
+  mkdir $OOSB_DIR  &&
+  cd $OOSB_DIR     &&
 
-  # Print plugin information
-  echo
-  echo "The following plugins will be compiled:"
-  echo
-  echo "  * Console frontend: ${CONSOLE_PLUGIN}"
-  echo "  * Qt4 frontend: ${QT4_PLUGIN}"
-  echo "  * MSN support: ${MSN_PLUGIN}"
-  echo "  * OSD support: ${OSD_PLUGIN}"
-  echo
+  cmake $SOURCE_DIRECTORY/ -DCMAKE_INSTALL_PREFIX=/usr   \
+                           -DCMAKE_BUILD_TYPE=RELEASE    \
+                           $OPTS                        &&
 
-  default_config &&
-  make &&
+  default_make &&
 
-  # Compile console plugin
-  if [[ "$CONSOLE_PLUGIN" = "yes" ]]; then
-    cd $SOURCE_DIRECTORY/plugins/console &&
-    default_config &&
-    make
-  fi &&
-
-  # Compile Qt4 frontend
-  if [[ "$QT4_PLUGIN" = "yes" ]]; then
-    . /etc/profile.d/qt4.rc &&
-    cd $SOURCE_DIRECTORY/plugins/qt4-gui &&
-    cmake $SOURCE_DIRECTORY/plugins/qt4-gui -DCMAKE_INSTALL_PREFIX=$MODULE_PREFIX \
-                                            -DCMAKE_BUILD_TYPE=RELEASE            &&
+# Install some plugins.
+  if in_depends $MODULE qt4 ; then
+    cd ../plugins/qt4-gui &&
+    cmake . &&
     default_make
   fi &&
 
-  # Compile MSN support
-  if [[ "$MSN_PLUGIN" = "yes" ]]; then
-    cd $SOURCE_DIRECTORY/plugins/msn &&
-    default_config &&
-    make
+  if [ $USE_MSN == "y" ] ; then
+    cd ../msn &&
+    cmake . &&
+    default_make 
   fi &&
 
-  # Compile OSD plugin
-  if [[ "$OSD_PLUGIN" = "yes" ]]; then
-    cd $SOURCE_DIRECTORY/plugins/osd &&
-    default_config &&
-    make
+  if [ $USE_RMS =="y" ] ; then
+    cd ../rms &&
+    cmake . &&
+    default_make 
   fi &&
 
-  # Install licq 
-  prepare_install &&
-  cd $SOURCE_DIRECTORY &&
-  make install &&
+  if [$USE_JABBER == "y" ] ; then
+    cd ../jabber &&
+    cmake . &&
+    default_make
+  fi &&
 
-  # Install console plugin
-  if [[ "$CONSOLE_PLUGIN" = "yes" ]]; then
-    cd $SOURCE_DIRECTORY/plugins/console &&
-    make install
+  if [ $USE_FORWARD == "y" ] ; then
+    cd ../forwarder &&
+    cmake . &&
+    default_make
   fi &&
 
-  # Install Qt4 frontend
-  if [[ "$QT4_PLUGIN" = "yes" ]]; then
-    cd $SOURCE_DIRECTORY/plugins/qt4-gui &&
-    make install
+  if [ $USE_AUTO_REPLY == "y" ] ; then
+    cd ../auto-reply &&
+    cmake . &&
+    default_make
   fi &&
 
-  # Install MSN support
-  if [[ "$MSN_PLUGIN" = "yes" ]]; then
-    cd $SOURCE_DIRECTORY/plugins/msn &&
-    make install
+  if in_depends $MODULE libaosd ; then
+    cd ../aosd &&
+    cmake . &&
+    default_make
   fi &&
 
-  # Install OSD plugin
-  if [[ "$OSD_PLUGIN" = "yes" ]]; then
-    cd $SOURCE_DIRECTORY/plugins/osd &&
-    make install
-  fi
+  if [ $BUILD_CONSOLE == "y" ] ; then
+    cd ../console &&
+    cmake . &&
+    default_make
+  fi 
 
 ) > $C_FIFO 2>&1
diff --git a/chat/licq/CONFIGURE b/chat/licq/CONFIGURE
new file mode 100644
index 0000000..44e76eb
--- /dev/null
+++ b/chat/licq/CONFIGURE
@@ -0,0 +1,9 @@
+mquery ENABLE_NLS "Enable translation of program messages?" y "-DENABLE_NLS=ON" "-DENABLE_NLS=OFF"
+mquery USE_FIFO "Use Licq FIFO?" y "-DUSE_FIFO=ON" "-DUSE_FIFO=ON"
+
+mquery BUILD_CONSOLE "Build the console plugin?" y
+mquery USE_AUTO_REPLY "Use the auto reply plugin?" y
+mquery USE_FORWARD "Use the forwarder plugin?" y
+mquery USE_JABBER "Use the jabber plugin?" y
+mquery USE_MSN "Use the msn plugin?" y
+mquery USR_RMS "Use the remote management server plugin?" y 
diff --git a/chat/licq/DEPENDS b/chat/licq/DEPENDS
index 09dd396..0604234 100644
--- a/chat/licq/DEPENDS
+++ b/chat/licq/DEPENDS
@@ -1,5 +1,11 @@
-optional_depends  "openssl"  ""  ""  "for secure communication and MSN support"
+depends cmake
+depends gloox
+depends boost
+
+optional_depends  "openssl"  "-DUSE_OPENSSL=ON"  "-DUSE_OPENSSL=OFF"  "for secure communication and MSN support"
 optional_depends  "gpgme"    ""  ""  "for GnuPG encryption support"
 optional_depends  "qt4"      ""  ""  "for Qt4 frontend"
 optional_depends  "cdk"      ""  ""  "for cursed-based console frontend"
 optional_depends  "xosd"     ""  ""  "for on screen display messages"
+optional_depends  "libaosd"  ""  ""  "for cairo based OSD support"
+optional_depends  "xscreensaver" "" "" "for screen blanking abilities"
diff --git a/chat/licq/DETAILS b/chat/licq/DETAILS
index 5c2437e..761624d 100644
--- a/chat/licq/DETAILS
+++ b/chat/licq/DETAILS
@@ -1,11 +1,11 @@
           MODULE=licq
-         VERSION=1.3.9
+         VERSION=1.5.0
           SOURCE=$MODULE-$VERSION.tar.bz2
       SOURCE_URL=$SFORGE_URL/licq
-      SOURCE_VFY=sha1:9a656858363e25b7e9e0ebe476400ba3f8c39b81
+      SOURCE_VFY=sha1:b58014a370c3c0994e52553edf41e5978a4fabd3
         WEB_SITE=http://www.licq.org
          ENTERED=20011031
-         UPDATED=20100604
+         UPDATED=20110330
            SHORT="A multi-threaded ICQ clone"
       MAINTAINER=jannis at lunar-linux.org
 


More information about the Lunar-commits mailing list