Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
conky
conky.timestamp.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File conky.timestamp.patch of Package conky
--- a/cmake/Conky.cmake +++ b/cmake/Conky.cmake @@ -105,7 +105,7 @@ mark_as_advanced(APP_AWK APP_WC APP_DATE #BUILD_ARCH="$(uname -sr) ($(uname -m))" execute_process(COMMAND ${APP_DATE} RESULT_VARIABLE RETVAL OUTPUT_VARIABLE BUILD_DATE OUTPUT_STRIP_TRAILING_WHITESPACE) -execute_process(COMMAND ${APP_UNAME} -srm RESULT_VARIABLE RETVAL +execute_process(COMMAND ${APP_UNAME} -sm RESULT_VARIABLE RETVAL OUTPUT_VARIABLE BUILD_ARCH OUTPUT_STRIP_TRAILING_WHITESPACE) if(RELEASE) --- a/src/llua.cc +++ b/src/llua.cc @@ -161,15 +161,12 @@ void llua_init(void) free(old_path); free(new_path); - lua_pushstring(lua_L, PACKAGE_NAME" " VERSION" compiled " BUILD_DATE" for " BUILD_ARCH); + lua_pushstring(lua_L, PACKAGE_NAME" " VERSION" compiled for " BUILD_ARCH); lua_setglobal(lua_L, "conky_build_info"); lua_pushstring(lua_L, VERSION); lua_setglobal(lua_L, "conky_version"); - lua_pushstring(lua_L, BUILD_DATE); - lua_setglobal(lua_L, "conky_build_date"); - lua_pushstring(lua_L, BUILD_ARCH); lua_setglobal(lua_L, "conky_build_arch"); --- a/src/conky.cc +++ b/src/conky.cc @@ -246,7 +246,7 @@ static void reload_config(void); static void print_version(void) { - std::cout << _(PACKAGE_NAME" " VERSION" compiled " BUILD_DATE" for " BUILD_ARCH"\n" + std::cout << _(PACKAGE_NAME" " VERSION" compiled for " BUILD_ARCH"\n" "\nCompiled in features:\n\n" "System config file: " SYSTEM_CONFIG_FILE"\n" "Package library path: " PACKAGE_LIBDIR"\n\n") --- a/src/core.cc +++ b/src/core.cc @@ -706,8 +706,6 @@ struct text_object *construct_text_objec #endif /* BUILD_X11 */ END OBJ(conky_version, 0) obj_be_plain_text(obj, VERSION); - END OBJ(conky_build_date, 0) - obj_be_plain_text(obj, BUILD_DATE); END OBJ(conky_build_arch, 0) obj_be_plain_text(obj, BUILD_ARCH); END OBJ(downspeed, &update_net_stats)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor