The following packages will be installed: acpitool Fetching README... 0%100%100%100%100%100%Done Fetching acpitool-0.5-add_string.h.patch... 0%100%100%100%100%100%Done Fetching acpitool.SlackBuild... 0%100%100%100%100%100%Done Fetching acpitool.info... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done acpitool-0.5.1/ acpitool-0.5.1/Makefile.in acpitool-0.5.1/ChangeLog acpitool-0.5.1/AUTHORS acpitool-0.5.1/man/ acpitool-0.5.1/man/Makefile.in acpitool-0.5.1/man/acpitool.1 acpitool-0.5.1/man/Makefile.am acpitool-0.5.1/acpitool.spec acpitool-0.5.1/configure acpitool-0.5.1/src/ acpitool-0.5.1/src/Makefile.in acpitool-0.5.1/src/toshiba.cpp acpitool-0.5.1/src/asus.h acpitool-0.5.1/src/cpu.h acpitool-0.5.1/src/ac_adapter.cpp acpitool-0.5.1/src/battery.cpp acpitool-0.5.1/src/battery.h acpitool-0.5.1/src/freq.h acpitool-0.5.1/src/thinkpad.cpp acpitool-0.5.1/src/Makefile.am acpitool-0.5.1/src/acpitool.h acpitool-0.5.1/src/ac_adapter.h acpitool-0.5.1/src/acpitool.cpp acpitool-0.5.1/src/asus.cpp acpitool-0.5.1/src/freq.cpp acpitool-0.5.1/src/thinkpad.h acpitool-0.5.1/src/cpu.cpp acpitool-0.5.1/src/main.cpp acpitool-0.5.1/src/toshiba.h acpitool-0.5.1/config.sub acpitool-0.5.1/depcomp acpitool-0.5.1/Makefile.am acpitool-0.5.1/config.h.in acpitool-0.5.1/install-sh acpitool-0.5.1/missing acpitool-0.5.1/NEWS acpitool-0.5.1/config.guess acpitool-0.5.1/configure.in acpitool-0.5.1/TODO acpitool-0.5.1/INSTALL acpitool-0.5.1/aclocal.m4 acpitool-0.5.1/COPYING acpitool-0.5.1/README patching file src/freq.cpp Hunk #1 succeeded at 36 with fuzz 1 (offset 2 lines). patching file src/toshiba.cpp Hunk #1 succeeded at 35 with fuzz 2 (offset 2 lines). checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-slackware-linux-gnu checking host system type... x86_64-slackware-linux-gnu checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether closedir returns void... no checking for strdup... yes checking for memset... yes checking for strtol... yes checking for a BSD-compatible install... /usr/bin/ginstall -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands +-----------------------------------------------------------------------------------+ | Run make && make install when the configure script has finished without problems. | +-----------------------------------------------------------------------------------+ make all-recursive make[1]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' Making all in src make[2]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/src' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \ then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT acpitool.o -MD -MP -MF ".deps/acpitool.Tpo" -c -o acpitool.o acpitool.cpp; \ then mv -f ".deps/acpitool.Tpo" ".deps/acpitool.Po"; else rm -f ".deps/acpitool.Tpo"; exit 1; fi acpitool.cpp: In function ‘int Has_ACPI(char*)’: acpitool.cpp:69:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/info"; ^ acpitool.cpp:70:15: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename2 = "/sys/module/acpi/parameters/acpica_version"; ^ acpitool.cpp: In function ‘int Get_Kernel_Version(char*, int)’: acpitool.cpp:142:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/sys/kernel/osrelease"; ^ acpitool.cpp: In function ‘int Set_Kernel_Version()’: acpitool.cpp:190:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/sys/kernel/osrelease"; ^ acpitool.cpp: In function ‘int Do_Thermal_Info(int, int)’: acpitool.cpp:232:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/proc/acpi/thermal_zone/"; ^ acpitool.cpp: In function ‘int Do_Fan_Info(int)’: acpitool.cpp:366:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/proc/acpi/fan/"; ^ acpitool.cpp: In function ‘int Show_WakeUp_Devices(int)’: acpitool.cpp:422:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/wakeup"; ^ acpitool.cpp: In function ‘int Toggle_WakeUp_Device(int, int)’: acpitool.cpp:469:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/wakeup"; ^ acpitool.cpp: In function ‘int Do_Suspend(int)’: acpitool.cpp:535:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/sleep"; // nice default values // ^ acpitool.cpp:536:9: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] str = "3"; ^ acpitool.cpp:542:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/sys/power/state"; ^ acpitool.cpp:543:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] str = "mem"; ^ acpitool.cpp:546:29: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] case 4 : if(Kernel_24) str = "4"; ^ acpitool.cpp:549:16: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/sys/power/state"; ^ acpitool.cpp:550:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] str = "disk"; ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT ac_adapter.o -MD -MP -MF ".deps/ac_adapter.Tpo" -c -o ac_adapter.o ac_adapter.cpp; \ then mv -f ".deps/ac_adapter.Tpo" ".deps/ac_adapter.Po"; else rm -f ".deps/ac_adapter.Tpo"; exit 1; fi ac_adapter.cpp: In function ‘int Do_AC_Info(int)’: ac_adapter.cpp:62:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/proc/acpi/ac_adapter/"; ^ ac_adapter.cpp: In function ‘int Do_AC_Info_Proc(int)’: ac_adapter.cpp:99:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/proc/acpi/ac_adapter/"; ^ ac_adapter.cpp: In function ‘int Do_AC_Info_Sys()’: ac_adapter.cpp:157:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/sys/class/power_supply/"; //find all entries in this dir ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT toshiba.o -MD -MP -MF ".deps/toshiba.Tpo" -c -o toshiba.o toshiba.cpp; \ then mv -f ".deps/toshiba.Tpo" ".deps/toshiba.Po"; else rm -f ".deps/toshiba.Tpo"; exit 1; fi toshiba.cpp: In function ‘int Has_Toshiba_ACPI()’: toshiba.cpp:51:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/toshiba"; ^ toshiba.cpp: In function ‘int Do_Toshiba_Fan_Info()’: toshiba.cpp:88:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/toshiba/fan"; ^ toshiba.cpp: In function ‘int Do_LCD_Info()’: toshiba.cpp:138:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/toshiba/lcd"; ^ toshiba.cpp: In function ‘int Force_Fan(int)’: toshiba.cpp:172:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/toshiba/fan"; ^ toshiba.cpp: In function ‘int Set_LCD_Level(int)’: toshiba.cpp:206:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/toshiba/lcd"; ^ toshiba.cpp: In function ‘int Do_Video_Info()’: toshiba.cpp:237:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/toshiba/video"; ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT asus.o -MD -MP -MF ".deps/asus.Tpo" -c -o asus.o asus.cpp; \ then mv -f ".deps/asus.Tpo" ".deps/asus.Po"; else rm -f ".deps/asus.Tpo"; exit 1; fi asus.cpp: In function ‘int Has_Asus_ACPI()’: asus.cpp:50:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus"; ^ asus.cpp: In function ‘int Do_Asus_LCD_Info()’: asus.cpp:87:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus/brn"; ^ asus.cpp: In function ‘int Set_Asus_LCD_Level(int)’: asus.cpp:121:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus/brn"; ^ asus.cpp: In function ‘int Do_Asus_Video_Info()’: asus.cpp:149:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus/disp"; ^ asus.cpp: In function ‘int Do_Asus_Info()’: asus.cpp:204:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus/info"; ^ asus.cpp: In function ‘int Set_Asus_LCD_State(int)’: asus.cpp:268:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus/lcd"; ^ asus.cpp: In function ‘int Set_MLed(int)’: asus.cpp:293:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus/mled"; ^ asus.cpp: In function ‘int Set_WLed(int)’: asus.cpp:318:14: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/asus/wled"; ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT thinkpad.o -MD -MP -MF ".deps/thinkpad.Tpo" -c -o thinkpad.o thinkpad.cpp; \ then mv -f ".deps/thinkpad.Tpo" ".deps/thinkpad.Po"; else rm -f ".deps/thinkpad.Tpo"; exit 1; fi thinkpad.cpp: In function ‘int Has_Thinkpad_ACPI()’: thinkpad.cpp:17:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/ibm"; ^ thinkpad.cpp: In function ‘int Eject_Thinkpad_Bay()’: thinkpad.cpp:38:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/ibm/bay"; ^ thinkpad.cpp: In function ‘int Set_Thinkpad_LCD_Level(int)’: thinkpad.cpp:59:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/ibm/brightness"; ^ thinkpad.cpp: In function ‘int Do_Thinkpad_Fan_Info()’: thinkpad.cpp:85:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] filename = "/proc/acpi/ibm/fan"; ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT cpu.o -MD -MP -MF ".deps/cpu.Tpo" -c -o cpu.o cpu.cpp; \ then mv -f ".deps/cpu.Tpo" ".deps/cpu.Po"; else rm -f ".deps/cpu.Tpo"; exit 1; fi cpu.cpp: In function ‘int Show_CPU_Info()’: cpu.cpp:107:10: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/proc/acpi/processor/"; //find all entries in this dir // ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT battery.o -MD -MP -MF ".deps/battery.Tpo" -c -o battery.o battery.cpp; \ then mv -f ".deps/battery.Tpo" ".deps/battery.Po"; else rm -f ".deps/battery.Tpo"; exit 1; fi battery.cpp: In function ‘int Get_Battery_Info_from_Proc(int, Battery_Info*, int)’: battery.cpp:338:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/proc/acpi/battery/"; //find all entries in this dir ^ battery.cpp: In function ‘int Get_Battery_Info_from_Sys(int, Battery_Info*, int)’: battery.cpp:521:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/sys/class/power_supply/"; //find all entries in this dir ^ battery.cpp: In function ‘int Count_Batteries_ProcFS()’: battery.cpp:788:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/proc/acpi/battery/"; ^ battery.cpp: In function ‘int Count_Batteries_SysFS()’: battery.cpp:837:13: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] dirname = "/sys/class/power_supply/"; ^ if g++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -fPIC -MT freq.o -MD -MP -MF ".deps/freq.Tpo" -c -o freq.o freq.cpp; \ then mv -f ".deps/freq.Tpo" ".deps/freq.Po"; else rm -f ".deps/freq.Tpo"; exit 1; fi g++ -O2 -fPIC -o acpitool main.o acpitool.o ac_adapter.o toshiba.o asus.o thinkpad.o cpu.o battery.o freq.o make[2]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/src' Making all in man make[2]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/man' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/man' make[2]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' make[2]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' make[1]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' Making install in src make[1]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/src' make[2]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/src' test -z "/usr/bin" || mkdir -p -- "/usr/src/slapt-src/system/acpitool/package-acpitool/usr/bin" /usr/bin/ginstall -c 'acpitool' '/usr/src/slapt-src/system/acpitool/package-acpitool/usr/bin/acpitool' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/src' make[1]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/src' Making install in man make[1]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/man' make[2]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/man' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/man/man1" || mkdir -p -- "/usr/src/slapt-src/system/acpitool/package-acpitool/usr/man/man1" /usr/bin/ginstall -c -m 644 './acpitool.1' '/usr/src/slapt-src/system/acpitool/package-acpitool/usr/man/man1/acpitool.1' make[2]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/man' make[1]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1/man' make[1]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' make[2]: Entering directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' make[1]: Leaving directory '/usr/src/slapt-src/system/acpitool/acpitool-0.5.1' Slackware package maker, version 3.141593. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src/system/acpitool/acpitool-0.5.1-x86_64-1salix.txz ./ usr/ usr/bin/ usr/bin/acpitool usr/man/ usr/man/man1/ usr/man/man1/acpitool.1.gz usr/doc/ usr/doc/acpitool-0.5.1/ usr/doc/acpitool-0.5.1/AUTHORS usr/doc/acpitool-0.5.1/COPYING usr/doc/acpitool-0.5.1/ChangeLog usr/doc/acpitool-0.5.1/INSTALL usr/doc/acpitool-0.5.1/NEWS usr/doc/acpitool-0.5.1/README usr/doc/acpitool-0.5.1/TODO usr/doc/acpitool-0.5.1/acpitool.SlackBuild install/ install/slack-desc Slackware package /usr/src/slapt-src/system/acpitool/acpitool-0.5.1-x86_64-1salix.txz created. Installing package acpitool-0.5.1-x86_64-1salix... | acpitool (Configuration and Power Interface client Linux) | | This is an ACPI client for Linux, written by David Leemans. | This ACPI client is intended to be a replacement for the apm tool. | Even though APM works fine on a lot of laptops, it is deprecated and | will be replaced by ACPI. Most newer laptops even require ACPI to | boot properly. As such, it will be nice to have an ACPI client. | | | | | |