Skip to content

Commit 0066d95

Browse files
committed
Rename the libWPEBackend library just to libwpe
This library does not actually implement any backend for WPE, and therefore its name can be misleading. Instead, it contains the code needed by WebKit to interface with actual backend implementations, loading them, and some utility code. The libwpe name is much more fitting. This is a good moment to do this rename, because the API version will be bumped for release 1.0.0 as well: packagers and users of the library will need to update anyway for the API version change and rebuild software which uses libWPEBackend^W libwpe anyway. Fixes #27
1 parent ce40c39 commit 0066d95

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

CMakeLists.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ set(WPE_API_VERSION "0.1")
1414
# - If binary compatibility has been broken (eg removed or changed interfaces)
1515
# change to C+1:0:0
1616
# - If the interface is the same as the previous version, change to C:R+1:A
17-
CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(LIBWPEBACKEND 1 0 0)
17+
CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(LIBWPE 1 0 0)
1818

19-
project(wpebackend VERSION "${PROJECT_VERSION}")
19+
project(libwpe VERSION "${PROJECT_VERSION}")
2020

2121
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_POSIX_SOURCE")
2222
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
@@ -75,17 +75,17 @@ set(WPE_PUBLIC_HEADERS
7575
include/wpe/wpe.h
7676
)
7777

78-
add_library(WPEBackend SHARED ${WPE_SOURCES})
79-
target_include_directories(WPEBackend PRIVATE ${WPE_INCLUDE_DIRECTORIES})
80-
target_link_libraries(WPEBackend ${WPE_LIBRARIES})
78+
add_library(wpe SHARED ${WPE_SOURCES})
79+
target_include_directories(wpe PRIVATE ${WPE_INCLUDE_DIRECTORIES})
80+
target_link_libraries(wpe ${WPE_LIBRARIES})
8181

82-
set_target_properties(WPEBackend PROPERTIES
83-
OUTPUT_NAME WPEBackend-${WPE_API_VERSION}
84-
VERSION ${LIBWPEBACKEND_VERSION}
85-
SOVERSION ${LIBWPEBACKEND_VERSION_MAJOR}
82+
set_target_properties(wpe PROPERTIES
83+
OUTPUT_NAME wpe-${WPE_API_VERSION}
84+
VERSION ${LIBWPE_VERSION}
85+
SOVERSION ${LIBWPE_VERSION_MAJOR}
8686
)
8787

88-
install(TARGETS WPEBackend
88+
install(TARGETS wpe
8989
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
9090
)
9191
install(

include/wpe/keysyms.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#ifndef wpe_keysyms_h
66
#define wpe_keysyms_h
77

8-
/* This file is autogenerated; use https://github.com/WebPlatformForEmbedded/WPEBackend/blob/master/scripts/update-keysyms-header to update it. */
8+
/* This file is autogenerated; use https://github.com/WebPlatformForEmbedded/libwpe/blob/master/scripts/update-keysyms-header to update it. */
99
/***********************************************************
1010
Copyright 1987, 1994, 1998 The Open Group
1111

scripts/update-keysyms-header

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ output.write('''#if !defined(__WPE_H_INSIDE__) && !defined(WPE_COMPILATION)
1616
#ifndef wpe_keysyms_h
1717
#define wpe_keysyms_h
1818
19-
/* This file is autogenerated; use https://github.com/WebPlatformForEmbedded/WPEBackend/blob/master/scripts/update-keysyms-header to update it. */
19+
/* This file is autogenerated; use https://github.com/WebPlatformForEmbedded/libwpe/blob/master/scripts/update-keysyms-header to update it. */
2020
''')
2121

2222
with open('/usr/include/X11/keysymdef.h') as header:

wpe.pc.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Description: The wpe library
88
Version: @PROJECT_VERSION@
99
Requires: xkbcommon
1010
Cflags: -I${includedir}/wpe-@WPE_API_VERSION@
11-
Libs: -L${libdir} -lWPEBackend-@WPE_API_VERSION@
11+
Libs: -L${libdir} -lwpe-@WPE_API_VERSION@

0 commit comments

Comments
 (0)