From 5fe5c30603070e098b3d8e9b515d37c50057ce2a Mon Sep 17 00:00:00 2001 From: Muhammad Alfi Syahrin Date: Sun, 24 Nov 2024 20:28:33 +0700 Subject: [PATCH] glog: Fix build & housekeeping **Summary** - Fix build (Resolves getsolus/packages#2225) - Add `homepage` key to `package.yml` (Part of getsolus/packages#411) - Add monitoring.yml (Part of getsolus/packages#4121) --- packages/g/glog/abi_used_libs | 1 - packages/g/glog/abi_used_symbols | 45 +++++++++++++++----------------- packages/g/glog/monitoring.yml | 5 ++++ packages/g/glog/package.yml | 8 ++++-- packages/g/glog/pspec_x86_64.xml | 17 ++++++------ 5 files changed, 41 insertions(+), 35 deletions(-) create mode 100644 packages/g/glog/monitoring.yml diff --git a/packages/g/glog/abi_used_libs b/packages/g/glog/abi_used_libs index 3f9e3d1778b..a52c6c35ca0 100644 --- a/packages/g/glog/abi_used_libs +++ b/packages/g/glog/abi_used_libs @@ -2,5 +2,4 @@ UNKNOWN libc.so.6 libgcc_s.so.1 libgflags.so.2.2 -libpthread.so.0 libstdc++.so.6 diff --git a/packages/g/glog/abi_used_symbols b/packages/g/glog/abi_used_symbols index 14979be46f2..025ca522c5e 100644 --- a/packages/g/glog/abi_used_symbols +++ b/packages/g/glog/abi_used_symbols @@ -2,8 +2,10 @@ UNKNOWN:_ZN6google14FlagRegistererC1INSt7__cxx1112basic_stringIcSt11char_traitsI UNKNOWN:_ZN6google14FlagRegistererC1IbEEPKcS3_S3_PT_S5_ UNKNOWN:_ZN6google14FlagRegistererC1IiEEPKcS3_S3_PT_S5_ libc.so.6:__cxa_atexit +libc.so.6:__errno_location libc.so.6:__fprintf_chk -libc.so.6:__isoc99_sscanf +libc.so.6:__isoc23_sscanf +libc.so.6:__isoc23_strtol libc.so.6:__memcpy_chk libc.so.6:__open_2 libc.so.6:__snprintf_chk @@ -13,6 +15,7 @@ libc.so.6:__vsnprintf_chk libc.so.6:abort libc.so.6:access libc.so.6:backtrace +libc.so.6:close libc.so.6:closelog libc.so.6:fclose libc.so.6:fcntl @@ -28,17 +31,28 @@ libc.so.6:getpid libc.so.6:gettimeofday libc.so.6:kill libc.so.6:localtime_r +libc.so.6:lseek libc.so.6:memchr libc.so.6:memcmp libc.so.6:memcpy libc.so.6:memmove libc.so.6:memset +libc.so.6:open libc.so.6:openlog libc.so.6:pclose libc.so.6:perror libc.so.6:popen libc.so.6:posix_fadvise +libc.so.6:pread +libc.so.6:pthread_rwlock_destroy +libc.so.6:pthread_rwlock_init +libc.so.6:pthread_rwlock_rdlock +libc.so.6:pthread_rwlock_unlock +libc.so.6:pthread_rwlock_wrlock libc.so.6:pthread_self +libc.so.6:pwrite +libc.so.6:read +libc.so.6:sigaction libc.so.6:sigemptyset libc.so.6:sleep libc.so.6:stat @@ -49,32 +63,19 @@ libc.so.6:strcmp libc.so.6:strerror_r libc.so.6:strlen libc.so.6:strncat +libc.so.6:strncmp libc.so.6:strncpy libc.so.6:strrchr -libc.so.6:strtol libc.so.6:symlink libc.so.6:syscall libc.so.6:time libc.so.6:truncate libc.so.6:uname libc.so.6:unlink +libc.so.6:write libgcc_s.so.1:_Unwind_Resume -libpthread.so.0:__errno_location -libpthread.so.0:close -libpthread.so.0:lseek -libpthread.so.0:open -libpthread.so.0:pread -libpthread.so.0:pthread_rwlock_destroy -libpthread.so.0:pthread_rwlock_init -libpthread.so.0:pthread_rwlock_rdlock -libpthread.so.0:pthread_rwlock_unlock -libpthread.so.0:pthread_rwlock_wrlock -libpthread.so.0:pwrite -libpthread.so.0:read -libpthread.so.0:sigaction -libpthread.so.0:write libstdc++.so.6:_ZNKSt5ctypeIcE13_M_widen_initEv -libstdc++.so.6:_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc +libstdc++.so.6:_ZNSo3putEc libstdc++.so.6:_ZNSo9_M_insertIlEERSoT_ libstdc++.so.6:_ZNSo9_M_insertImEERSoT_ libstdc++.so.6:_ZNSolsEi @@ -95,16 +96,14 @@ libstdc++.so.6:_ZNSt6localeD1Ev libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_disposeEv libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE14_M_replace_auxEmmmc +libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7reserveEm libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKcm libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_ libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERmm -libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_ libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_ libstdc++.so.6:_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev libstdc++.so.6:_ZNSt7__cxx1115basic_stringbufIcSt11char_traitsIcESaIcEE7_M_syncEPcmm libstdc++.so.6:_ZNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev -libstdc++.so.6:_ZNSt8ios_base4InitC1Ev -libstdc++.so.6:_ZNSt8ios_base4InitD1Ev libstdc++.so.6:_ZNSt8ios_baseC2Ev libstdc++.so.6:_ZNSt8ios_baseD2Ev libstdc++.so.6:_ZNSt9basic_iosIcSt11char_traitsIcEE4initEPSt15basic_streambufIcS1_E @@ -114,6 +113,8 @@ libstdc++.so.6:_ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T libstdc++.so.6:_ZSt16__throw_bad_castv libstdc++.so.6:_ZSt19__throw_logic_errorPKc libstdc++.so.6:_ZSt20__throw_length_errorPKc +libstdc++.so.6:_ZSt21ios_base_library_initv +libstdc++.so.6:_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc libstdc++.so.6:_ZTISo libstdc++.so.6:_ZTISt15basic_streambufIcSt11char_traitsIcEE libstdc++.so.6:_ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE @@ -125,9 +126,5 @@ libstdc++.so.6:_ZTVSt15basic_streambufIcSt11char_traitsIcEE libstdc++.so.6:_ZTVSt9basic_iosIcSt11char_traitsIcEE libstdc++.so.6:_ZdlPvm libstdc++.so.6:_Znwm -libstdc++.so.6:__cxa_begin_catch -libstdc++.so.6:__cxa_end_catch -libstdc++.so.6:__cxa_pure_virtual -libstdc++.so.6:__cxa_rethrow libstdc++.so.6:__dynamic_cast libstdc++.so.6:__gxx_personality_v0 diff --git a/packages/g/glog/monitoring.yml b/packages/g/glog/monitoring.yml new file mode 100644 index 00000000000..712ddd95acb --- /dev/null +++ b/packages/g/glog/monitoring.yml @@ -0,0 +1,5 @@ +releases: + id: 8732 + rss: https://github.com/google/glog/releases.atom +security: + cpe: ~ diff --git a/packages/g/glog/package.yml b/packages/g/glog/package.yml index d638825e0dd..1613eca64cb 100644 --- a/packages/g/glog/package.yml +++ b/packages/g/glog/package.yml @@ -1,8 +1,9 @@ name : glog version : 0.3.5 -release : 4 +release : 5 source : - https://github.com/google/glog/archive/v0.3.5.tar.gz : 7580e408a2c0b5a89ca214739978ce6ff480b5e7d8d7698a2aa92fadc484d1e0 +homepage : http://google.github.io/glog/ license : BSD-3-Clause component : programming summary : C++ implementation of the Google logging module @@ -10,8 +11,11 @@ description: | C++ implementation of the Google logging module. builddeps : - pkgconfig(gflags) +environment: + # It doesn't meet CXX17 requirement, lets lower it to CXX14 + export CXXFLAGS="${CXXFLAGS} -std=c++14" setup : | - %configure --disable-static + %configure_no_runstatedir --disable-static build : | %make install : | diff --git a/packages/g/glog/pspec_x86_64.xml b/packages/g/glog/pspec_x86_64.xml index a0b254ab8c7..eaf57ed400a 100644 --- a/packages/g/glog/pspec_x86_64.xml +++ b/packages/g/glog/pspec_x86_64.xml @@ -1,16 +1,17 @@ glog + http://google.github.io/glog/ - Joshua Strobl - joshua@getsol.us + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com BSD-3-Clause programming C++ implementation of the Google logging module C++ implementation of the Google logging module. - https://getsol.us/sources/README.Solus + https://sources.getsol.us/README.Solus glog @@ -39,7 +40,7 @@ programming.devel - glog + glog /usr/include/glog/log_severity.h @@ -52,12 +53,12 @@ - - 2021-06-24 + + 2024-11-24 0.3.5 Packaging update - Joshua Strobl - joshua@getsol.us + Muhammad Alfi Syahrin + malfisya.dev@hotmail.com \ No newline at end of file