diff --git a/qucs-activefilter/CMakeLists.txt b/qucs-activefilter/CMakeLists.txt index 8d89ec8d..9d89325c 100644 --- a/qucs-activefilter/CMakeLists.txt +++ b/qucs-activefilter/CMakeLists.txt @@ -103,5 +103,7 @@ INSTALL(TARGETS ${QUCS_NAME}activefilter ) # man pages +IF(NOT WITH_SPICE) INSTALL( FILES qucsactivefilter.1 DESTINATION share/man/man1 ) +ENDIF() diff --git a/qucs-attenuator/CMakeLists.txt b/qucs-attenuator/CMakeLists.txt index 3466ebac..a1797ed0 100644 --- a/qucs-attenuator/CMakeLists.txt +++ b/qucs-attenuator/CMakeLists.txt @@ -104,7 +104,9 @@ INSTALL(TARGETS ${PROJECT_NAME} ) # man pages +IF(NOT WITH_SPICE) INSTALL( FILES qucsattenuator.1 DESTINATION share/man/man1 ) +ENDIF() # diff --git a/qucs-edit/CMakeLists.txt b/qucs-edit/CMakeLists.txt index 4d24714d..d1568f6e 100644 --- a/qucs-edit/CMakeLists.txt +++ b/qucs-edit/CMakeLists.txt @@ -79,4 +79,6 @@ INSTALL(TARGETS qucsedit RUNTIME DESTINATION bin COMPONENT Runtime ) +IF(NOT WITH_SPICE) INSTALL(FILES qucsedit.1 DESTINATION share/man/man1) +ENDIF() diff --git a/qucs-filter/CMakeLists.txt b/qucs-filter/CMakeLists.txt index e128d537..77d4e606 100644 --- a/qucs-filter/CMakeLists.txt +++ b/qucs-filter/CMakeLists.txt @@ -124,5 +124,6 @@ INSTALL(TARGETS ${QUCS_NAME}filter ) # man pages +IF(NOT WITH_SPICE) INSTALL( FILES qucsfilter.1 DESTINATION share/man/man1 ) - +ENDIF() diff --git a/qucs-help/CMakeLists.txt b/qucs-help/CMakeLists.txt index a93ef8d9..8729f10d 100644 --- a/qucs-help/CMakeLists.txt +++ b/qucs-help/CMakeLists.txt @@ -96,6 +96,9 @@ INSTALL(TARGETS qucshelp ) # man pages +IF(WITH_SPICE) +INSTALL( FILES ./docs/${QUCS_NAME}.1 DESTINATION share/man/man1 ) +ELSE() INSTALL( FILES qucshelp.1 DESTINATION share/man/man1 ) INSTALL( FILES ./docs/qucs.1 DESTINATION share/man/man1 ) INSTALL( FILES ./docs/qucsdigi.1 DESTINATION share/man/man1 ) diff --git a/qucs-help/docs/qucs-s.1 b/qucs-help/docs/qucs-s.1 new file mode 100644 index 00000000..81beb9af --- /dev/null +++ b/qucs-help/docs/qucs-s.1 @@ -0,0 +1,34 @@ +.TH Qucs-S "1" "June 2016" "Debian/GNU Linux" "User Commands" +.SH NAME +Qucs-S \- An universal GUI for SPICE and not-SPICE circuit simulators +.SH SYNOPSIS +.B qucs-s +[\fIOPTION\fR] ... +.SH DESCRIPTION + +\fBQucs-S\fR is an unversal tool that provides GUI for different SPICE and +not-SPICE circuit simulators. The following SPICE simulators are supported: +Ngspice, XYCE, and SpiceOpus. Also it allows to use not-SPICE simulation +kernel Qucsator as simulation backends. + + +.SH AVAILABILITY +The latest version of Qucs-S can always be obtained from +\fBwww.sourceforge.net\fR or \fBwww.freshmeat.net\fR +.SH "REPORTING BUGS" +Known bugs are documented within the BUGS file. Report bugs to +. +.SH COPYRIGHT +Copyright \(co 2015-2016 Vadim Kuznetsov , and Mike Brinson + + +Based on original Qucs code by M. Margraf, S. Jahn, G.B. Torri, et al. +.PP +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +.SH AUTHORS +SPICE support written by 2015-2016 Vadim Kuznetsov , +and Mike Brinson + +Based on original Qucs code by M. Margraf, S. Jahn, G.B. Torri, et al. + diff --git a/qucs-lib/CMakeLists.txt b/qucs-lib/CMakeLists.txt index c7ccd2a0..1f06bab4 100644 --- a/qucs-lib/CMakeLists.txt +++ b/qucs-lib/CMakeLists.txt @@ -93,5 +93,7 @@ INSTALL(TARGETS ${QUCS_NAME}lib ADD_SUBDIRECTORY( library ) # man pages +IF(NOT WITH_SPICE) INSTALL( FILES qucslib.1 DESTINATION share/man/man1 ) +ENDIF() diff --git a/qucs-rescodes/CMakeLists.txt b/qucs-rescodes/CMakeLists.txt index e62d21f3..6fecac2c 100644 --- a/qucs-rescodes/CMakeLists.txt +++ b/qucs-rescodes/CMakeLists.txt @@ -95,6 +95,8 @@ INSTALL(TARGETS qucsrescodes ) # man pages +IF(NOT WITH_SPICE) INSTALL( FILES qucsrescodes.1 DESTINATION share/man/man1 ) +ENDIF() diff --git a/qucs-transcalc/CMakeLists.txt b/qucs-transcalc/CMakeLists.txt index b3410c94..f4e99d28 100644 --- a/qucs-transcalc/CMakeLists.txt +++ b/qucs-transcalc/CMakeLists.txt @@ -112,7 +112,9 @@ TARGET_LINK_LIBRARIES( qucstrans ${QT_LIBRARIES} transcalc ) #ADD_SUBDIRECTORY( bitmaps ) -> added as resources ADD_SUBDIRECTORY( examples ) +IF(NOT WITH_SPICE) INSTALL( FILES qucstrans.1 DESTINATION share/man/man1 ) +ENDIF() # # Prepare the installation diff --git a/qucs/CMakeLists.txt b/qucs/CMakeLists.txt index f4687851..b0000127 100755 --- a/qucs/CMakeLists.txt +++ b/qucs/CMakeLists.txt @@ -188,15 +188,15 @@ QT4_ADD_RESOURCES(RESOURCES_SRCS ${RESOURCES}) if(UNIX AND NOT APPLE) - SET(ICON16 bitmaps/hicolor/16x16/apps/qucs.png ) - SET(ICON22 bitmaps/hicolor/22x22/apps/qucs.png ) - SET(ICON32 bitmaps/hicolor/32x32/apps/qucs.png ) - SET(ICON48 bitmaps/hicolor/48x48/apps/qucs.png ) - SET(ICON64 bitmaps/hicolor/64x64/apps/qucs.png ) - SET(ICON128 bitmaps/hicolor/128x128/apps/qucs.png ) - SET(ICON256 bitmaps/hicolor/256x256/apps/qucs.png ) - SET(ICON512 bitmaps/hicolor/512x512/apps/qucs.png ) - SET(ICONsc bitmaps/hicolor/scalable/apps/qucs.svg ) + SET(ICON16 bitmaps/hicolor/16x16/apps/${QUCS_NAME}.png ) + SET(ICON22 bitmaps/hicolor/22x22/apps/${QUCS_NAME}.png ) + SET(ICON32 bitmaps/hicolor/32x32/apps/${QUCS_NAME}.png ) + SET(ICON48 bitmaps/hicolor/48x48/apps/${QUCS_NAME}.png ) + SET(ICON64 bitmaps/hicolor/64x64/apps/${QUCS_NAME}.png ) + SET(ICON128 bitmaps/hicolor/128x128/apps/${QUCS_NAME}.png ) + SET(ICON256 bitmaps/hicolor/256x256/apps/${QUCS_NAME}.png ) + SET(ICON512 bitmaps/hicolor/512x512/apps/${QUCS_NAME}.png ) + SET(ICONsc bitmaps/hicolor/scalable/apps/${QUCS_NAME}.svg ) INSTALL( FILES ${ICON16} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/16x16/apps) INSTALL( FILES ${ICON22} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/22x22/apps) @@ -208,7 +208,7 @@ if(UNIX AND NOT APPLE) INSTALL( FILES ${ICON512} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/512x512/apps) INSTALL( FILES ${ICONsc} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/scalable/apps) - SET(DESKTOP qucs.desktop ) + SET(DESKTOP ${QUCS_NAME}.desktop ) INSTALL( FILES ${DESKTOP} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications) endif() diff --git a/qucs/bitmaps/hicolor/128x128/apps/qucs-s.png b/qucs/bitmaps/hicolor/128x128/apps/qucs-s.png new file mode 100644 index 00000000..6c18bd4f Binary files /dev/null and b/qucs/bitmaps/hicolor/128x128/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/16x16/apps/qucs-s.png b/qucs/bitmaps/hicolor/16x16/apps/qucs-s.png new file mode 100644 index 00000000..158cdc42 Binary files /dev/null and b/qucs/bitmaps/hicolor/16x16/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/22x22/apps/qucs-s.png b/qucs/bitmaps/hicolor/22x22/apps/qucs-s.png new file mode 100644 index 00000000..2c86241e Binary files /dev/null and b/qucs/bitmaps/hicolor/22x22/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/256x256/apps/qucs-s.png b/qucs/bitmaps/hicolor/256x256/apps/qucs-s.png new file mode 100644 index 00000000..1c8d8ddb Binary files /dev/null and b/qucs/bitmaps/hicolor/256x256/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/32x32/apps/qucs-s.png b/qucs/bitmaps/hicolor/32x32/apps/qucs-s.png new file mode 100644 index 00000000..5d3a5f04 Binary files /dev/null and b/qucs/bitmaps/hicolor/32x32/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/48x48/apps/qucs-s.png b/qucs/bitmaps/hicolor/48x48/apps/qucs-s.png new file mode 100644 index 00000000..77429cde Binary files /dev/null and b/qucs/bitmaps/hicolor/48x48/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/512x512/apps/qucs-s.png b/qucs/bitmaps/hicolor/512x512/apps/qucs-s.png new file mode 100644 index 00000000..db8d3c32 Binary files /dev/null and b/qucs/bitmaps/hicolor/512x512/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/64x64/apps/qucs-s.png b/qucs/bitmaps/hicolor/64x64/apps/qucs-s.png new file mode 100644 index 00000000..efc81921 Binary files /dev/null and b/qucs/bitmaps/hicolor/64x64/apps/qucs-s.png differ diff --git a/qucs/bitmaps/hicolor/scalable/apps/qucs-s.svg b/qucs/bitmaps/hicolor/scalable/apps/qucs-s.svg new file mode 100644 index 00000000..b4f56394 --- /dev/null +++ b/qucs/bitmaps/hicolor/scalable/apps/qucs-s.svg @@ -0,0 +1,114 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/qucs/qucs-s.desktop b/qucs/qucs-s.desktop new file mode 100644 index 00000000..b6c7f188 --- /dev/null +++ b/qucs/qucs-s.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Qucs-S +Comment=An Universal GUI for Circuit Simulators +Exec=qucs-s %U +Icon=qucs-s +Terminal=false + +Type=Application +Categories=Education;Electronics +StartupNotify=false diff --git a/qucs/qucs.cpp b/qucs/qucs.cpp index 8bf10269..98e0385a 100644 --- a/qucs/qucs.cpp +++ b/qucs/qucs.cpp @@ -123,7 +123,7 @@ const char *empty_xpm[] = { // provides same height than "smallsave_xpm" QucsApp::QucsApp() { - setWindowTitle("Qucs " PACKAGE_VERSION); + setWindowTitle(QUCS_NAME " " PACKAGE_VERSION); QucsFileFilter = tr("Schematic") + " (*.sch);;" +