Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 17 12:07
    @xeffyr banned @ExtinctDrift19
  • Nov 22 2021 19:35
    @xeffyr banned @Ghostgamer4592D
  • Nov 18 2021 19:01
    User @xeffyr unbanned @zhonjarlby
  • Nov 18 2021 19:01
    User @xeffyr unbanned @Tisaba
  • Nov 18 2021 19:01
    User @xeffyr unbanned @Rishabhjn7102
  • Nov 18 2021 19:01
    User @xeffyr unbanned @QQ1598058687
  • Nov 18 2021 19:00
    User @xeffyr unbanned @osama-abu
  • Nov 18 2021 19:00
    User @xeffyr unbanned @mahmod9
  • Nov 18 2021 19:00
    User @xeffyr unbanned @Khulakpamzaid786
  • Nov 18 2021 19:00
    User @xeffyr unbanned @irem347
  • Nov 18 2021 19:00
    User @xeffyr unbanned @Hassanbabali
  • Nov 18 2021 19:00
    User @xeffyr unbanned @HackGod-RS
  • Oct 18 2021 07:22
    @xeffyr banned @mahmod9
  • Sep 21 2021 21:13
    @xeffyr banned @QQ1598058687
  • Aug 04 2021 09:51
    @xeffyr banned @Khulakpamzaid786
  • Apr 15 2021 09:09
    @xeffyr banned @osama-abu
  • Feb 01 2021 18:50
    @xeffyr banned @Hassanbabali
  • Sep 24 2020 17:29
    @xeffyr banned @zhonjarlby
  • Aug 31 2020 07:55
    @xeffyr banned @HackGod-RS
  • Aug 26 2020 10:48
    @xeffyr banned @Tisaba
Termux Gitter/Discord
@TermuxDiscordBot
MaX One question: does build-bootstraps.sh archive all packages that were compiled (including packages that were a dependency to be compiled), or only packages that are in the PACKAGES value?
agnostic-apollo
@agnostic-apollo:matrix.org
[m]
Dependencies are also added. Also check termux/termux-packages#10296
Yaksh Bariya
@thunder-coding:matrix.org
[m]

https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/

Seems interesting. Maybe we can generate a build summary of failed packages for termux-packages. Will surely look into this after my exams

grimler
@grimler:matrix.org
[m]

Sooo, funding.

We discussed opencollective and liberapay a bit before. I'm thinking that opencollective would be a good option, we can then make a budget for monthly expanses (which we don't have a lot of, maybe part of my vps cost or part of the email host cost), and also one-time expanses, which could for example be funding for purchase of a device for testing for agnostic-apollo , or perhaps a reward for potential vulnerability fixes.

They have a open-source specific plan: https://opencollective.com/opensource, and all the fine print can be read here, and looks reasonable to my non-lawyer mind.

Any questions/comments/objections, from anyone, on the suggestions to create an open collective?

agnostic-apollo
@agnostic-apollo:matrix.org
[m]

OSC will exercise full control over the Project’s financial administration, management, and disbursement of the Fund and any Other Assets. OSC shall have the right to deduct Project Dues and Expenses, as defined by the Protocols, directly from the Fund without further approval by the Collective.

So they own us from henceforth! ;)

Dues consist of:
i. 10% of all of the funds deposited into the Fund, regardless of source, as an administrative fee; and
ii. All interest earned on the Fund which will be retained in OSC’s general fund.

So they will be investing our big monies too and keeping it all!

By yeah, looks reasonable from my non-lawyer mind too.

Termux Gitter/Discord
@TermuxDiscordBot
MaX small notice: I will have exams soon, because of this I will not be active in my repositories and in my pull requests. I think that this will last until May 24, but possibly until June 7
agnostic-apollo
@agnostic-apollo:matrix.org
[m]
No issue, take your time. I have been busy with personal stuff too this week and should be back next week. Will look into the bootstrap pull request then.
Termux Gitter/Discord
@TermuxDiscordBot
Dobby233Liu the package im trying to create for termux has one variant that uses sdl1 and one that uses sdl2, should i build the sdl1 version or the sdl2 version in the build script?

Dobby233Liu > Note that DOSBox-X suports both SDL 1.x and 2.x, and it is written to compile against the in-tree copy of the SDL 1.x (Simple Directmedia Libary), or against the SDL 2.x library provided by your Linux distribution.

For Visual Studio and MinGW compilation, the in-tree copy of SDL is always used. Note that the in-tree SDL 1.x library has been heavily modified from the original SDL 1.x source code and is thus somewhat incompatible with the stock library.

The modifications provide additional functions needed to improve DOSBox-X and fix many issues with keyboard input, window mangement, and display management that previously required terrible kludges within the DOSBox and DOSBox-X source code.
i think they prefer the sdl1 version (its currently the default also) but i cant decide

Termux Gitter/Discord
@TermuxDiscordBot
marcusz You can use SDL 1 if it works under that library
Termux Gitter/Discord
@TermuxDiscordBot
Dobby233Liu where should i put the configure parameters if i override termux_step_configure?
Termux Gitter/Discord
@TermuxDiscordBot
marcusz TERMUX_PKG_EXTRA_CONFIGURE_ARGS is sufficient if the source code has configure script
Dobby233Liu they actually run configure within their special build script
wait so i do ./build $TERMUX_PKG_EXTRA_CONFIGURE_ARGS ?
Termux Gitter/Discord
@TermuxDiscordBot

Dobby233Liu i am still confused on what to do
my build script has this

termux_step_configure() {
        # configure is run in the build step
}

termux_step_make() {
        ./build \
                --enable-sdl \
                --disable-fpu-x86 \
                --disable-fpu-x64 \
                --disable-dynamic-x86 \
                --disable-opengl
}

and their build script is like this https://github.com/joncampbell123/dosbox-x/blob/dosbox-x-v0.83.25/build , which generates the configure script, compiles the in-tree libraries, and configure (passing through the parameters passed to the script) then build, my question is is putting the configure args in termux_step_make like this fine

Termux Gitter/Discord
@TermuxDiscordBot
marcusz Then you don't need to use TERMUX_PKG_EXTRA_CONFIGURE_ARGS if you're using the build script. you should run build script in the termux_step_configure instead
tomty89
@tomty89
It's not that simple
Most likely you can't just use the ./build, but write a build script for the termux build system. For example, putting what you put after ./build (and what after ./configure in ./build that are appropriate in termux, like --enable-core-inline but not --prefix=/usr) in TERMUX_PKG_EXTRA_CONFIGURE_ARGS
Termux Gitter/Discord
@TermuxDiscordBot
Dobby233Liu i think i just ran ./build back when i was manually building the program
https://github.com/joncampbell123/dosbox-x/issues/2658#issuecomment-877770868 tells nothing
tomty89
@tomty89
The most tricky part is that vs/sdl{,net}/build-dosbox.sh probably need to be patched (or re-implemented in a certain step before termux_step_configure()).
So that they do the right thing for the termux build
@Dobby233Liu are you building "on-device" though
Termux Gitter/Discord
@TermuxDiscordBot
Dobby233Liu on device
Dobby233Liu oh that might patch some stuff right

Dobby233Liu alright i got this error while building the package on device

ERROR: lib/libX11.so contains undefined symbol libandroid_shmctl

any idea what is happening

tomty89
@tomty89
If you are building on device, you can consider try to just replace --prefix=/usr in ./build with the correct prefix and build without using the termux build system/script. (But well, if you want a package to be created, then you'll probably need to dive into it.)
tomty89
@tomty89
@Dobby223Liu probably -landroid-shmem needs to be set/used somewhere
LIBS or LDFLAGS, not sure
tomty89
@tomty89
@Dobby223Liu Just curious, do you see libandroid-shmem.so if you ldd "$PREFIX"/lib/libX11.so?
Termux Gitter/Discord
@TermuxDiscordBot
Dobby233Liu ~/termux-packages $ ldd "$PREFIX"/lib/libX11.so libxcb.so libXau.so libXdmcp.so libandroid-support.so libdl.so libc.so
no
tomty89
@tomty89
hmm
@librevm shouldn't libX11 have linkage to libandroid-shmem?
@librevm I see that being listed as a dep but no linking flag has been added anywhere apparently
Termux Gitter/Discord
@TermuxDiscordBot

Dobby233Liu termux-info and build log just-in-case

Termux Variables:
TERMUX_APK_RELEASE=GITHUB
TERMUX_APP_PID=18783
TERMUX_IS_DEBUGGABLE_BUILD=1
TERMUX_MAIN_PACKAGE_FORMAT=debian
TERMUX_PKG_MAINTAINER=Liu Wenyuan <15816141883@163.com>
TERMUX_VERSION=0.118.0
Packages CPU architecture:
x86_64
Subscribed repositories:
# sources.list
deb https://packages-cf.termux.org/apt/termux-main/ stable main
# x11-repo (sources.list.d/x11.list)
deb https://packages.termux.org/apt/termux-x11 x11 main
Updatable packages:
All packages up to date
Android version:
9
Kernel build information:
Linux localhost 4.4.124+ #1 SMP PREEMPT Mon Jun 18 17:10:07 UTC 2018 x86_64 Android
Device manufacturer:
unknown
Device model:
Android SDK built for x86_64

https://cdn.discordapp.com/attachments/847704138711171084/974999757284057118/build.log

Dobby233Liu actually wait
Dobby233Liu the log seems to miss some stuff
! Ei i have noticed that the swrast driver was enabled in mesa, maybe we could enable glx in xserver rather than using the xlib method now?
agnostic-apollo
@agnostic-apollo:matrix.org
[m]
Continue discussion in other room or open discussion on github, this room is for dev discussion.
Termux Gitter/Discord
@TermuxDiscordBot
Dobby233Liu who is this directed to?
agnostic-apollo
@agnostic-apollo:matrix.org
[m]
you and other repliers.
Krishna Kanhaiya
@kcubeterm
@marcusz:matrix.org if you dont have ipv6 , you could have a tildeserver from tilde.team or ther tilde server which is near your location. here you would have ipv6 and could easily connect with fosshost. thanks
https://tildeverse.org/members/ look which one is near you. and your operating system choice.
WMCB Tech
@marcusz:matrix.org
[m]
this looks like public shell access but it is interesting
Krishna Kanhaiya
@kcubeterm
you are right.
Aditya Alok
@mradityaalok:matrix.org
[m]

Can we mandate either of the following format for TERMUX_PKG_MAINTAINER field? :

  • only github username
  • or @github-username <email>

It would be useful to automate assigning respective issues to there maintainers (For example in failing auto-updates).

Yaksh Bariya
@thunder-coding:matrix.org
[m]
Seems like re-opening GitHub issues got affected today. Can't reopen termux/termux-packages#10693 and 10692
grimler
@grimler:matrix.org
[m]

Aditya Alok: the format "Henrik Grimler grimler@termux.org" is pretty standard and looks good, using github handle instead of name definitely makes sense in this case, so sounds good to me.

Unfortunately we won't be able to assign non-organisation maintainers I suppose, unless perhaps if we invite people as external collaborators

agnostic-apollo
@agnostic-apollo:matrix.org
[m]
The second variant is how it should be to comply with https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-maintainer
agnostic-apollo
@agnostic-apollo:matrix.org
[m]
Can also use email (name) format since less chances of breakage. Can also add github username after name.