Changeset 710
- Timestamp:
- 08/21/07 14:24:56 (12 months ago)
- Location:
- museek+/trunk/sources
- Files:
-
- 6 modified
- 6 moved
-
CMakeLists.txt (modified) (5 diffs)
-
Tools/CMakeLists.txt (modified) (3 diffs)
-
mucous/CMakeLists.txt (modified) (1 diff)
-
murmur/CMakeLists.txt (modified) (1 diff)
-
murmur/Makefile (modified) (1 diff)
-
python-bindings/CMakeLists.txt (modified) (1 diff)
-
setup/museek_alt2.png (moved) (moved from museek+/trunk/sources/icons/museek_alt2.png)
-
setup/musetup-gtk-small.png (moved) (moved from museek+/trunk/sources/icons/musetup-gtk-small.png)
-
setup/musetup-gtk-small.xcf (moved) (moved from museek+/trunk/sources/icons/musetup-gtk-small.xcf)
-
setup/musetup-gtk.desktop (moved) (moved from museek+/trunk/sources/musetup-gtk.desktop)
-
setup/musetup-gtk.png (moved) (moved from museek+/trunk/sources/icons/musetup-gtk.png)
-
setup/musetup-gtk.xcf (moved) (moved from museek+/trunk/sources/icons/musetup-gtk.xcf)
Legend:
- Unmodified
- Added
- Removed
-
museek+/trunk/sources/CMakeLists.txt
r709 r710 1 project(museekd) 2 1 project(museek-plus) 2 set(MUSEEK_PLUS " 3 python-site-packages.py 4 ") 3 5 # Include some cmake checks. 4 6 include(CheckIncludeFiles) … … 8 10 include(CheckCXXSourceCompiles) 9 11 SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) 10 MESSAGE("DECLARATIONS: PREFIX, BINDINGS, MURMUR, MUCOUS, CLIENTS 11 Prefix declarations with -D and set them with either 1, 0 or a path") 12 MESSAGE("DECLARATIONS: PREFIX, EVERYTHING, NO_MUSEEKD, NO_MUSCAN, NO_SETUP, BINDINGS, MURMUR, MUCOUS, CLIENTS, SETUP 13 Prefix declarations with -D and set them with either 1, 0 or a path. 14 Set -DEVERYTHING=1 if you want it all") 12 15 IF(PREFIX) 13 16 SET(CMAKE_INSTALL_PREFIX ${PREFIX}) … … 33 36 set(PYBIND 0) 34 37 ENDIF (NOT BINDINGS) 38 39 set(PYSETUP 1) 40 IF (NO_SETUP) 41 set(PYSETUP 0) 42 ENDIF (NO_SETUP) 43 44 set(C_MUSEEKD 1) 45 IF (NO_MUSEEKD) 46 set(C_MUSEEKD 0) 47 ENDIF (NO_MUSEEKD) 48 49 set(C_MUSCAN 1) 50 IF (NO_MUSCAN) 51 set(C_MUSCAN 0) 52 ENDIF (NO_MUSCAN) 53 54 set(PYSETUP 1) 55 IF (NO_SETUP) 56 set(PYSETUP 0) 57 ENDIF (NO_SETUP) 58 59 IF (EVERYTHING) 60 set(PYBIND 1) 61 set(PYCLIENTS 1) 62 set(PYMURMUR 1) 63 set(PYMUCOUS 1) 64 set(PYSETUP 1) 65 set(C_MUSEEKD 1) 66 set(C_MUSCAN 1) 67 ENDIF (EVERYTHING) 68 35 69 # # Enable NewNet's smart-pointer debugging capabilities. 36 70 # add_definitions(-DNN_PTR_DEBUG -DNN_PTR_DEBUG_ASSERT) … … 230 264 231 265 # Where the wild things are... 232 add_subdirectory(Tools) 266 233 267 add_subdirectory(Mucipher) 234 add_subdirectory(Muhelp) 235 add_subdirectory(Museekal) 236 add_subdirectory(Museek) 237 add_subdirectory(museekd) 238 268 if (C_MUSCAN) 269 add_subdirectory(Muhelp) 270 add_subdirectory(Tools) 271 else (C_MUSCAN) 272 message("!!! museekd will NOT be installed [NO_MUSEEKD=0]") 273 endif (C_MUSCAN) 274 if (C_MUSEEKD) 275 if (NOT C_MUSCAN) 276 add_subdirectory(Muhelp) 277 endif (NOT C_MUSCAN) 278 add_subdirectory(Museekal) 279 add_subdirectory(Museek) 280 add_subdirectory(museekd) 281 else (C_MUSEEKD) 282 message("!!! museekd will NOT be installed [NO_MUSEEKD=0]") 283 endif (C_MUSEEKD) 239 284 if (PYBIND) 240 285 add_subdirectory(python-bindings) … … 247 292 message("!!! mulog, museekchat, museekcontrol, musIRC will NOT be installed [CLIENTS=1]") 248 293 endif (PYCLIENTS) 294 if (PYSETUP) 295 add_subdirectory(setup) 296 else (PYSETUP) 297 message("!!! musetup, musetup-gtk, musetup-qt will NOT be installed [NO_SETUP=0]") 298 endif (PYSETUP) 249 299 if (PYMUCOUS) 250 300 add_subdirectory(mucous) -
museek+/trunk/sources/Tools/CMakeLists.txt
r704 r710 9 9 scanner.cc 10 10 ) 11 12 add_library(Tools STATIC ${TOOLS_SOURCES}) 13 14 if (C_MUSCAN) 15 11 16 set(MUSCAN_SOURCES 12 17 muscan.cc … … 17 22 ${TOOLS_SOURCES} 18 23 ) 19 add_library(Tools STATIC ${TOOLS_SOURCES})20 24 21 25 add_executable(muscan ${MUSCAN_SOURCES}) … … 79 83 DESTINATION "man/man1" 80 84 ) 85 endif (C_MUSCAN) -
museek+/trunk/sources/mucous/CMakeLists.txt
r704 r710 14 14 ${PYMUCOUS_FILES} 15 15 ) 16 EXECUTE_PROCESS(COMMAND python ../python-site-packages.py pymucous OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE) 17 16 EXECUTE_PROCESS(COMMAND python ../python-site-packages.py museek OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) 17 if (NOT version OR error) 18 EXECUTE_PROCESS(COMMAND python python-site-packages.py museek OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE) 19 endif (NOT version OR error) 18 20 install( 19 21 FILES ${PYMUCOUS_SOURCES} -
museek+/trunk/sources/murmur/CMakeLists.txt
r708 r710 12 12 ${PYMURMUR_FILES} 13 13 ) 14 EXECUTE_PROCESS(COMMAND python ../python-site-packages.py pymurmur OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE) 15 14 EXECUTE_PROCESS(COMMAND python ../python-site-packages.py museek OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) 15 if (NOT version OR error) 16 EXECUTE_PROCESS(COMMAND python python-site-packages.py museek OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE) 17 endif (NOT version OR error) 16 18 install( 17 19 FILES ${PYMURMUR_SOURCES} -
museek+/trunk/sources/murmur/Makefile
r423 r710 1 # Copyright (C) 2007, Adam Cécile (Le_Vert) <gandalf@le-vert.net> 2 # 3 # This program is free software. It comes without any warranty, to 4 # the extent permitted by applicable law. You can redistribute it 5 # and/or modify it under the terms of the Do What The Fuck You Want 6 # To Public License, Version 2, as published by Sam Hocevar. 1 # CMAKE generated file: DO NOT EDIT! 2 # Generated by "Unix Makefiles" Generator, CMake Version 2.4 7 3 8 # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 9 # Version 2, December 2004 10 # 11 # Copyright (C) 2004 Sam Hocevar 12 # 22 rue de Plaisance, 75014 Paris, France 13 # Everyone is permitted to copy and distribute verbatim or modified 14 # copies of this license document, and changing it is allowed as long 15 # as the name is changed. 16 # 17 # DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 18 # TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 19 # 20 # 0. You just DO WHAT THE FUCK YOU WANT TO. 21 # 22 # You could choose, at your convenience, WTFPL 2 license or 3-clause 23 # BSD-style license. 4 # Default target executed when no arguments are given to make. 5 default_target: all 6 7 #============================================================================= 8 # Special targets provided by cmake. 9 10 # Disable implicit rules so canoncical targets will work. 11 .SUFFIXES: 12 13 .SUFFIXES: .hpux_make_needs_suffix_list 14 15 # Suppress display of executed commands. 16 $(VERBOSE).SILENT: 17 18 # A target that is always out of date. 19 cmake_force: 20 21 #============================================================================= 22 # Set environment variables for the build. 23 24 # The shell in which to execute make rules. 25 SHELL = /bin/sh 26 27 # The CMake executable. 28 CMAKE_COMMAND = /usr/bin/cmake 29 30 # The command to remove a file. 31 RM = /usr/bin/cmake -E remove -f 32 33 # The program to use to edit the cache. 34 CMAKE_EDIT_COMMAND = /usr/bin/ccmake 35 36 # The top-level source directory on which CMake was run. 37 CMAKE_SOURCE_DIR = /home/daelstorm/Soulseek/msvn/museek+/trunk/sources 38 39 # The top-level build directory on which CMake was run. 40 CMAKE_BINARY_DIR = /home/daelstorm/Soulseek/msvn/museek+/trunk/sources 41 42 # Include the progress variables for this target. 43 include CMakeFiles/progress.make 44 45 #============================================================================= 46 # Targets provided globally by CMake. 47 48 # Special rule for the target edit_cache 49 edit_cache: 50 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." 51 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources/murmur && /usr/bin/ccmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 52 53 # Special rule for the target edit_cache 54 edit_cache/fast: edit_cache 55 56 # Special rule for the target install 57 install: preinstall 58 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." 59 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources/murmur && /usr/bin/cmake -P cmake_install.cmake 60 61 # Special rule for the target install 62 install/fast: preinstall/fast 63 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." 64 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources/murmur && /usr/bin/cmake -P cmake_install.cmake 65 66 # Special rule for the target install/local 67 install/local: preinstall 68 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." 69 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources/murmur && /usr/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake 70 71 # Special rule for the target install/local 72 install/local/fast: install/local 73 74 # Special rule for the target list_install_components 75 list_install_components: 76 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Only default component available" 77 78 # Special rule for the target list_install_components 79 list_install_components/fast: list_install_components 80 81 # Special rule for the target rebuild_cache 82 rebuild_cache: 83 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." 84 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources/murmur && /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) 85 86 # Special rule for the target rebuild_cache 87 rebuild_cache/fast: rebuild_cache 88 89 # The main all target 90 all: cmake_check_build_system 91 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources && $(CMAKE_COMMAND) -E cmake_progress_start /home/daelstorm/Soulseek/msvn/museek+/trunk/sources/CMakeFiles $(CMAKE_ALL_PROGRESS) 92 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources && $(MAKE) -f CMakeFiles/Makefile2 murmur/all 93 $(CMAKE_COMMAND) -E cmake_progress_start /home/daelstorm/Soulseek/msvn/museek+/trunk/sources/CMakeFiles 0 94 95 # The main clean target 96 clean: 97 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources && $(MAKE) -f CMakeFiles/Makefile2 murmur/clean 98 99 # The main clean target 100 clean/fast: clean 101 102 # Prepare targets for installation. 103 preinstall: all 104 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources && $(MAKE) -f CMakeFiles/Makefile2 murmur/preinstall 105 106 # Prepare targets for installation. 107 preinstall/fast: 108 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources && $(MAKE) -f CMakeFiles/Makefile2 murmur/preinstall 109 110 # clear depends 111 depend: 112 $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 113 114 # Help Target 115 help:: 116 @echo "The following are some of the valid targets for this Makefile:" 117 @echo "... all (the default if no target is provided)" 118 @echo "... clean" 119 @echo "... depend" 120 @echo "... edit_cache" 121 @echo "... install" 122 @echo "... install/local" 123 @echo "... list_install_components" 124 @echo "... rebuild_cache" 24 125 25 126 26 # Optional flags you may use27 CFLAGS = -Wall -g -O228 PYTHON = python29 CC = gcc30 INSTALL = install31 PREFIX = /usr/local32 DESTDIR = /33 127 34 all: build 128 #============================================================================= 129 # Special targets to cleanup operation of make. 35 130 36 build: build-python build-trayicon 131 # Special rule to run CMake to check the build system integrity. 132 # No rule that depends on this can have commands that come from listfiles 133 # because they might be regenerated. 134 cmake_check_build_system: 135 cd /home/daelstorm/Soulseek/msvn/museek+/trunk/sources && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 37 136 38 build-python: setup.py39 $(PYTHON) setup.py build40 41 # Build trayicon python module and pass all variables to its Makefile42 build-trayicon: trayicon/Makefile43 $(MAKE) -C trayicon CFLAGS="$(CFLAGS)" \44 PYTHON="$(PYTHON)" \45 PREFIX="$(PREFIX)" \46 DESTDIR="$(DESTDIR)" \47 INSTALL="$(INSTALL)" \48 CC="$(CC)"49 50 install: install-python install-trayicon51 52 install-python:53 $(PYTHON) setup.py install --prefix $(PREFIX) \54 --root $(DESTDIR)55 install-trayicon:56 $(MAKE) -C trayicon install CFLAGS="$(CFLAGS)" \57 PYTHON="$(PYTHON)" \58 PREFIX="$(PREFIX)" \59 DESTDIR="$(DESTDIR)" \60 INSTALL="$(INSTALL)" \61 CC="$(CC)"62 63 clean: clean-python clean-trayicon64 65 clean-python:66 $(PYTHON) setup.py clean67 find . -name \*.pyc -exec rm -f {} \;68 rm -rf build/69 70 clean-trayicon:71 $(MAKE) -C trayicon clean -
museek+/trunk/sources/python-bindings/CMakeLists.txt
r704 r710 7 7 museek/driver.py 8 8 ) 9 EXECUTE_PROCESS(COMMAND python ../python-site-packages.py museek OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE) 9 EXECUTE_PROCESS(COMMAND python ../python-site-packages.py museek OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) 10 if (NOT version OR error) 11 EXECUTE_PROCESS(COMMAND python python-site-packages.py museek OUTPUT_VARIABLE version OUTPUT_STRIP_TRAILING_WHITESPACE) 12 endif (NOT version OR error) 10 13 11 14 install(
