Skip to content

Commit

Permalink
libvpx1: Make it build again and add homepage
Browse files Browse the repository at this point in the history
The workaround is to set CC=gcc in the environment when running the
configure script. This bypasses a wonky internal configure function that
makes the configure script fail otherwise. Also add homepage.

Fixes #3853

Closes #3554 (the last does not build package in the list).

Part of #411

Signed-off-by: Rune Morling <[email protected]>
  • Loading branch information
ermo authored and malfisya committed Oct 1, 2024
1 parent 73304ae commit ba58a1f
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 21 deletions.
1 change: 1 addition & 0 deletions packages/l/libvpx1/abi_libs32
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libvpx.so.1
2 changes: 2 additions & 0 deletions packages/l/libvpx1/abi_symbols32
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ libvpx.so.1:vpx_codec_version
libvpx.so.1:vpx_codec_version_extra_str
libvpx.so.1:vpx_codec_version_str
libvpx.so.1:vpx_codec_vp8_cx
libvpx.so.1:vpx_codec_vp8_cx_algo
libvpx.so.1:vpx_codec_vp8_dx
libvpx.so.1:vpx_codec_vp8_dx_algo
libvpx.so.1:vpx_img_alloc
libvpx.so.1:vpx_img_flip
libvpx.so.1:vpx_img_free
Expand Down
1 change: 0 additions & 1 deletion packages/l/libvpx1/abi_used_libs
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
libc.so.6
libm.so.6
libpthread.so.0
1 change: 0 additions & 1 deletion packages/l/libvpx1/abi_used_libs32
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
libc.so.6
libm.so.6
libpthread.so.0
15 changes: 7 additions & 8 deletions packages/l/libvpx1/abi_used_symbols
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,16 @@ libc.so.6:malloc
libc.so.6:memcpy
libc.so.6:memmove
libc.so.6:memset
libc.so.6:pthread_create
libc.so.6:pthread_join
libc.so.6:pthread_once
libc.so.6:rand
libc.so.6:realloc
libc.so.6:sched_yield
libc.so.6:sem_destroy
libc.so.6:sem_init
libc.so.6:sem_post
libc.so.6:sem_wait
libc.so.6:strncmp
libc.so.6:strtol
libc.so.6:sysconf
Expand All @@ -26,11 +33,3 @@ libm.so.6:exp
libm.so.6:log
libm.so.6:log10
libm.so.6:pow
libm.so.6:sqrt
libpthread.so.0:pthread_create
libpthread.so.0:pthread_join
libpthread.so.0:pthread_once
libpthread.so.0:sem_destroy
libpthread.so.0:sem_init
libpthread.so.0:sem_post
libpthread.so.0:sem_wait
35 changes: 35 additions & 0 deletions packages/l/libvpx1/abi_used_symbols32
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
libc.so.6:__assert_fail
libc.so.6:__stack_chk_fail
libc.so.6:_setjmp
libc.so.6:calloc
libc.so.6:fclose
libc.so.6:fopen64
libc.so.6:fprintf
libc.so.6:fputc
libc.so.6:free
libc.so.6:fwrite
libc.so.6:getenv
libc.so.6:gettimeofday
libc.so.6:longjmp
libc.so.6:malloc
libc.so.6:memcpy
libc.so.6:memmove
libc.so.6:memset
libc.so.6:pthread_create
libc.so.6:pthread_join
libc.so.6:pthread_once
libc.so.6:rand
libc.so.6:realloc
libc.so.6:sched_yield
libc.so.6:sem_destroy
libc.so.6:sem_init
libc.so.6:sem_post
libc.so.6:sem_wait
libc.so.6:strncmp
libc.so.6:strtol
libc.so.6:sysconf
libc.so.6:vsnprintf
libm.so.6:exp
libm.so.6:log
libm.so.6:log10
libm.so.6:pow
7 changes: 6 additions & 1 deletion packages/l/libvpx1/package.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name : libvpx1
version : 1.3.0
release : 2
release : 3
source :
- https://github.com/webmproject/libvpx/archive/v1.3.0.tar.gz : db72881e1c34e4ae92666847844f35dd2dd431bcf6284500b1b396464f882f64
homepage : https://github.com/webmproject/libvpx
license : BSD-3-Clause
component : binary.compat
emul32 : yes
Expand All @@ -11,6 +12,10 @@ description: |
This package provides binary compatibility only. It is forbidden to build against it.
builddeps :
- yasm
environment: |
# the ./configure script checks if CC is set and when it isn't, it errors out
# on an internal configure script function call that makes little sense
export CC=gcc
setup : |
%patch -p1 -i $pkgfiles/gcc-5.patch
%patch -p1 -i $pkgfiles/security/cve-2017-13194.patch
Expand Down
25 changes: 15 additions & 10 deletions packages/l/libvpx1/pspec_x86_64.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<PISI>
<Source>
<Name>libvpx1</Name>
<Homepage>https://github.com/webmproject/libvpx</Homepage>
<Packager>
<Name>Peter O&apos;Connor</Name>
<Email>peter@solus-project.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Packager>
<License>BSD-3-Clause</License>
<PartOf>binary.compat</PartOf>
<Summary xml:lang="en">libvpx1 (Binary Compatibility Library)</Summary>
<Description xml:lang="en">This package provides binary compatibility only. It is forbidden to build against it.
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://sources.getsol.us/README.Solus</Archive>
</Source>
<Package>
<Name>libvpx1</Name>
Expand All @@ -19,7 +20,9 @@
</Description>
<PartOf>binary.compat</PartOf>
<Files>
<Path fileType="library">/usr/lib64/lib*.so.*</Path>
<Path fileType="library">/usr/lib64/libvpx.so.1</Path>
<Path fileType="library">/usr/lib64/libvpx.so.1.3</Path>
<Path fileType="library">/usr/lib64/libvpx.so.1.3.0</Path>
</Files>
</Package>
<Package>
Expand All @@ -29,19 +32,21 @@
</Description>
<PartOf>emul32</PartOf>
<RuntimeDependencies>
<Dependency release="2">libvpx1</Dependency>
<Dependency release="3">libvpx1</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib32/lib*.so.*</Path>
<Path fileType="library">/usr/lib32/libvpx.so.1</Path>
<Path fileType="library">/usr/lib32/libvpx.so.1.3</Path>
<Path fileType="library">/usr/lib32/libvpx.so.1.3.0</Path>
</Files>
</Package>
<History>
<Update release="2">
<Date>2018-03-25</Date>
<Update release="3">
<Date>2024-10-01</Date>
<Version>1.3.0</Version>
<Comment>Packaging update</Comment>
<Name>Peter O&apos;Connor</Name>
<Email>peter@solus-project.com</Email>
<Name>Muhammad Alfi Syahrin</Name>
<Email>malfisya.dev@hotmail.com</Email>
</Update>
</History>
</PISI>

0 comments on commit ba58a1f

Please sign in to comment.