#development
1 messages ยท Page 583 of 1
I can convert from decimal to binary and back in my head am i weird
That is true. But i canโt use linux because my dell charger broke 
So i am stuck with mac
RIP
I mean the actual file I left vscode open to was pk-dbus.c
the vscode discord extension continues to suck

I can't imagine why that would work?

sounds good 
Aptitude uses libapt-pkg, you should take some notes
Zebra.app is now actually just a NewTerm instance that runs aptitude full-screen
No! Now Zebra is even more buggy cause of all of new terms issues
๐
after sleeping on it I considered that we should just stick with libapt-pkg for 2.0
Thank you
heheh
and I'll keep thinking about whether we should use packagekit, or if I should just do my own thing
since I still need to write up brew and installer pkg backends for packagekit anyway
these are the backends it supports
one very interesting thing to consider is that libpackagekit is LGPL
I guess it makes sense since it's only an IPC client
that means I can pressure Sileo to switch to it ๐
the never ending GPL virus
@ocean raptor package request: cmus
because it's the only thing forcing me to keep ffmpeg installed from homebrew lmao
we do a little apt list --installed | cut -d/ -f1 | while read i; do brew remove $i; done
What's that?
ncurses music player app
You're the original procursus guy, why not try to add it yourself?
I should!
it's been years, damn
You may want to install dialog for a cool ui
when were my original commits, like sept 2019?
It's ridiculously easy to add new packages now
You still have to write the control file by hand though...
ah well
As long as cmus doesn't have a library and is only a tool it's so simple
its brew formula is dead simple
Just copy an existing one and change the names and description and version string thing, use the description from Debian pls
yep
@untold river wanna add control file template to new_package.sh?
do I trust cameron 
sudo apt install autoconf automake autopoint bash bison cmake docbook-xml docbook-xsl fakeroot findutils flex gawk git gnupg groff gzip ldid libtool make ncurses-bin openssl patch pkg-config po4a python3 sed tar triehash wget xz-utils zstd
You need those
No, there hasn't been a good commit since aptitude was added 
cmus has pretty long depends list
love this plugin
Oh boy, just looked at it...
it's all just codec stuff anyway
probably can ignore most of it
I'd imagine pro either has all of them or should have them added anyway
you can disable codecs of course
flac stuff is definitely there
pretty sure on macOS you can even disable all of them and just rely on CoreAudio
Would you be able to do that on iOS too?
oh does it use pulse
sorry yeah macOS/iOS
it has to use CoreAudio anyway to output sound to the right place and all that
We want the exact same codec support as Debian, I don't care if it uses coreaudio vs codec's library though
good call
can I uh, not have it compile literally everything
I did make cmus
make pkgnane-download may work
Can I see your makefile?
oh I see why, I copypasta'd and there are deps on other things
my bad
I would have needed ncurses anyway
what package is it in
dialog
Update
oh yeah that would be a good call hey
I added it to the repo last night 
FYI apt-file is on procursus
command-not-found is handy though
just tells you straight away you don't have this, here's where to get it
command-not-found is just a wrapper for apt-file that slows down your shell
Feel free to PR it ๐
it has been slow for me in the past, but I enabled it again on my pc running ubuntu devel and it's like, instant
I mean my pc is also like 893475389x faster than what I would have been running before I disabled it lmao
Have you ever used a graphical package manager on Ubuntu? How does it handle conffiles? Does it just show dpkg's prompt in a terminal or does it show a gui prompt?
funny you should ask! I just spotted before closing my packagekit vscode window that it actually has provision for debconf and such
and I did actually get a conffiles conflict prompt in the gui the other day
debconf is different from conffiles
What package manager? I want to see how they do it
yeah mb I should say all things that require a user response are supported by packagekit
it was the updater, whatever package Software & Updates lives inside
it just gave me a prompt like,
/etc/systemd-logind.conf has been modified by you and also the package, blah blah, what do you want to do
[ Keep my version ] [ Install package maintainerโs version ] [ Cancel ]
> View changes
I actually planned to generate a control file alongside the makefile then I just forgor 
the expanding arrow thingy opens a tiny little diff window inside the dialog
Ooh, nice! I think I found the source https://bazaar.launchpad.net/~ubuntu-core-dev/update-manager/main/files I'll look into how they do this and let you and Amy know so y'all can implement it in sileo/zebra
It's written in python 
IMO not the most user-friendly by a long shot, but I guess that's as much as they can do to present that error in the GUI really
perl and python are debian's favorites 
I would assume cancel aborts the entire install, I wonder if it leaves you in broken state where a sudo dpkg --configure -a is required
you'll be surprised how much of an average Linux desktop distro is written in Python
Better then silently force overwriting
oh for sure
Wen eta kwin rewrite in python
specifically I edited /etc/systemd/logind.conf to disable ACPI power signals (power button, keyboard sleep signal, etc)
especially because my KVM is incredibly dumb and for reasons I can't explain, sends keyboard power and sleep scancodes when I switch to that input
threw me for a loop, I RMA'd my motherboard because of it 
other stuff was wrong with that board anyway so it was worth it, but still
@lime pivot do you know if it was synaptic or software center?
synaptic is long dead
I'm pretty sure you're looking at the right thing?
I'll save ffmpeg for last lmao
there's definitely more than this in terms of what debian supports, just wanna see this working at all first
ok its configure is cursed
it's not autoconf at all, it's some custom thing that deceptively looks like autoconf from the outside but definitely isn't
why must people over complicate building their packages
best i can do without asking for more information in new_package.sh @ocean raptor
it doesn't understand effectively all of the common autoconf flags
Tbf autotools is very confusing
ld: unknown option: -Os hmph
Just set ./configure prefix=$(MEMO_PREFIX)$(MEMO_SUB_PREFIX) should work in theory
yeah got it working
๐ฐ
trolled by ld
I'm so glad salsa exists
what a name
looks like everything Debian packages is on there now
Try adding LD=$(CC)
for some reason my IP was marked by salsa.debian.org as spammer 
nice
yep that did it
this definitely gives no fucks about what's in the environment
wait I compiled it for arm64 lmaooo
how do I macOS
MEMO_TARGET=darwin-amd64 I guess
he forgor 
@ocean raptor how does this look
generated alongside the makefile in new_package.sh
Oh yeah lol, we default to arm Mac 
in that case I could try it on my M1
I recommend adding export MEMO_TARGET=darwin-amd64 to shell
which is on the other side of the house chillin with the router
maybe I should jump whoever's in the kitchen by testing cmus /s
proenv to the rescue
I just set the target every time I run gmake
real
Anyone know why I canโt drag and drop on IDA anymore?
Just open through menu
Sorted it now thank you
compiling ffmpeg triggered a threat alert on my router, lmao
sounds right that a tor node is also an OSS mirror I guess
trolley
Your router warns about tor nodes?.....
gm beerpsi
Proenv is to compile against procursus without a makefile
fuck wrong channel
gm llsc12
ok i slep gn
gn
Can anyone help me with this error? Iโm trying to dump global-metadata and keep getting this.
@ocean raptor building ffmpeg is a bit of a broken mess 
what's failing?
--release \
--prefix=/opt/procursus \
--target=x86_64-apple-darwin \
--library-type staticlib
error: no such subcommand: `cbuild`
Did you mean `build`?
make: *** [makefiles/rav1e.mk:20: rav1e] Error 101```
I think I had cargo from brew installed though
but I guess there should be some way to install deps from pro in advance if they're needed?
erm, not think, meant I did have it installed from brew, not sure if that was the cause
not sure why brew's would be missing cbuild
fast ๐ memory safe ๐
@lime pivot try make ffmpeg-download, it probably won't work but worth a shot
That'll download the ffmpeg debs from apt.procurs.us and extract them into build_base
ooh ok
yeah, that's what I wanted
I'm fixing up ffmpeg build right now
not nick's fault
make is frustrating, it took me a while to figure out that was what broke the ffmpeg build
just changes to Procursus have caused stuff to break
makes sense
search the output for ***
with 16 threads busy, takes a good while before the build actually terminates after a failure
Using previously built ffmpeg. ๐
good to know
hmm error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: for: /Users/adamdemasi/Developer/git/procursus/build_stage/darwin-amd64/1700/cmus/opt/procursus/lib/cmus/ip/ffmpeg.so (for architecture x86_64) option "-add_rpath /opt/procursus/lib" would duplicate path, file already has LC_RPATH for: /opt/procursus/lib
dangit
why can't it just silently exit with success
oops
lol
I hate rust so much
the build just, freezes after that i_n_t error even if I add || : to ignore
Hayden fixed it then tho
what could it be doing
it's failing in AFTER_BUILD?
took me like 5 tries to get this screenshot because activity monitor insists on updating every second and losing my spot
ok yeah, that's AFTER_BUILD
cargo install cargo-c that's how you fix rav1e build...
lmao, got it
@lime pivot is cmus adding -rpath in their build system...
must be
I guess it makes a bit of sense since their CI tests it against both ubuntu and macOS via brew
ln -s /opt/procursus/lib/libssl.3.dylib /Users/cameron/.rustup/toolchains/stable-aarch64-apple-darwin/lib/libssl.3.dylib I hate everything
man
I wish people would stop using rust
zstd: /Users/adamdemasi/Developer/git/procursus/build_stage/darwin-amd64/1700/cmus//opt/procursus/share/man/man1/cmus-remote.1.zst already exists; overwrite (y/n) ?
โฆ

@lime pivot is this your patch?
diff --git a/Makefile b/Makefile
index b91d6eac..1a031902 100644
--- a/Makefile
+++ b/Makefile
@@ -748,7 +748,7 @@ AFTER_BUILD = \
if [ "$(RELATIVE_RPATH)" = "1" ]; then \
$(I_N_T) -add_rpath "@loader_path/$$(realpath --relative-to=$$(dirname $$file) $(BUILD_STAGE)/$$pkg/$(MEMO_PREFIX)$(MEMO_SUB_PREFIX))/lib" $$file; \
else \
- $(I_N_T) -add_rpath "$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/lib" $$file; \
+ $(I_N_T) -add_rpath "$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/lib" $$file || true; \
fi; \
if [ -f $(BUILD_STAGE)/$$pkg/._lib_cache ]; then \
cat $(BUILD_STAGE)/$$pkg/._lib_cache | while read line; do \
yeah I would say 2>/dev/null is probably unnecessary and a bad call
I didn't patch in the end because the script isn't set -e
so it's silent failure
this shouldn't happen...
are you calling AFTER_BUILD twice?
we decompress all manpages before hand....
considering .build_complete isn't touched yet
make rebuild-cmus
gotcha

In file included from ./openclwrapper.h:15:
In file included from /Users/cameron/Documents/Procursus/build_base/darwin-arm64/1700/opt/procursus/include/leptonica/allheaders.h:35:
In file included from /Users/cameron/Documents/Procursus/build_base/darwin-arm64/1700/opt/procursus/include/leptonica/alltypes.h:32:
In file included from /Applications/Xcode-13.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/stdlib.h:93:
In file included from /Applications/Xcode-13.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/stdlib.h:66:
In file included from /Applications/Xcode-13.0.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/sys/wait.h:110:
/Users/cameron/Documents/Procursus/build_base/darwin-arm64/1700/opt/procursus/include/sys/resource.h:84:10: fatal error: 'sys/_types/_user32_timeval.h' file not found
#include <sys/_types/_user32_timeval.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
cmus is still insistent that it doesn't know what an aac is
ok mp3 works. was pretty sure it would just go through ffmpeg to get aac but I guess not
it directly links faad2
I do not recommend ever build ffmpeg 
honestly it was amazing that ffmpeg would build at all for me under homebrew
you added that I assume?
before they decided build flags aren't cool any more because that's extra work and extra work is bad, I always had a customised ffmpeg build it would maintain for me
procursus doesn't support custom flags ๐
about to
not that it needs to considering apt/dpkg has no provisions for such things
now I just gotta do this 4 more times 
make sure it is correctly packaged 
enjoy
while you're at it
any reason why libcddb isn't packaged on macos?
cmus doesn't need it but ideally want it to match debian
umm, good question
does it build?
yep built and installed it myself no worries
It's possible I merged that PR before I had hayden's key
for a while I was only pushing iOS debs cause I could only adhoc sign macos bins
aha
reminds me, kinda bugs me that Zebra has to weaken hardened runtime just cause it links pro binaries
default is you can only load binaries signed by the same identity as the main binary
we had to weaken hardened runtime so that people could install their own versions of libraries
cause I would try and update openssl for example and that would break a ton of stuff
no way to make a filter eg on team ID so I could allow only binaries signed by Hashbang or Hayden to run
which is how XPC helper tools work
salsa search not showing debian teams before forks in searchs is so annoying
you need to write a filter in Info.plist that usually says โonly allow my own team idโ but you can be more specific than that
ikr
always 500 random forks and then the most popular repos are somewhere in the middle or end for some reason
gitlab moment
I always press a fork then go to parent repo
good tip actually
cursed ui
CumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCumCum
yeah true
@restive ether ffmpeg manpages finally ๐
how long is that manpage

new term try not to crash challenge
(IMPOSSIBLE!)
It's split to multiple pages
terminal emulators are loss
but there is ffmpeg-all(1)
cum
an
crashing newterm much 
do you think anyone will notice if I push an untested iOS ffmpeg?
(for keeping my money reasons this is a joke)
actually
(unless they use apt on iOS)
ffmpeg isn't considered essential
so I can break it all I want

@lime pivot when will Zebra work with multiple components?
when i make it work
tomorrow after lunch
my lunch or your lunch 
2 will support it for certain
yes
who pinged
hi

zebra 2 and newterm 3 all tomorrow after lunch
gonna be a long lunch
this is from art twitter but I feel it still fits

The tri'angle social experiment is currently busy check back later.
I went to test this by adding ubuntu repos to my mac and ended up learning Zebra really doesn't handle that many packages well, lmao

iOS procursus has a main and testing component if you want to test it without crashing
ios testing components has an updated system-cmds (lmk if you run into any issues with it)
zebra macos โ
yesโ
no, zebra ubuntu

on my laptop
exactly where Sileo is
but why?
about to go to australia and steal kirb's laptop

you know that aptitude exists, right?
no i dont
oh
didnt stop sileo from existing on macos
let me tell you about it
it should've
have fun
is that cydia
yes obv
never

Windows is the bane of kirbs existent in more ways than one
but what if i don't want my eyes to bleed
then visit a doctor
fair argument
i think i saw this image when i saw red october in the theaters in 1990
still waiting for wget2 2.0.0 to compile
Procursus was made in 1990???
your mom


aptitude's initial release was in 1999, amazing that they were able to put it in a move before it released
they got the pre-release
alpha texted for a decade
@ocean raptor i have logs
that was funny
Cydia is a large genus of tortrix moths, belonging to the tribe Grapholitini of subfamily Olethreutinae. Its distinctness from and delimitation versus the tribe's type genus Grapholita requires further study.Moths in this genus are generally small and dull brown; their caterpillars are yellow or white and wormlike. Cydia includes many species of...
they got cydia irl โ๏ธ
canโt believe saurik got his own moth
aptitude is a front-end to APT, the Debian package manager. It displays a list of software packages and allows the user to interactively pick packages to install or remove. It has an especially powerful search system utilizing flexible search patterns. It was initially created for Debian, but has appeared in RPM-based distributions as well (such...
crazy how inspirational cydia has been man
I'm scared
bruh
aptitude has also been ported to jailbroken iOS as part of the Cydia package manager.

as part of the Cydia?????
as part of the cydia
as part of the cydia
check who edited the wiki page 
me

@tepid olive did you edit the aptitude wikipedia page...
that's not for iOS changes
but funny that I saw your name there
aight check dms
@restive ether wget 2.0
wget 2.0 this dick
thatโs my alt
@lime pivot go ahead, add Zebra to https://en.wikipedia.org/wiki/APT_(software)#Front-ends
Advanced package tool, or APT, is a free-software user interface that works with core libraries to handle the installation and removal of software on Debian, and Debian-based Linux distributions. APT simplifies the process of managing software on Unix-like computer systems by automating the retrieval, configuration and installation of software p...

I can't exactly add Zebra myself because that's conflict of interest
๐
Wikipedia treats that seriously cause companies pull that shit all the time
pretending they're super important by writing their own wikipedia page
i made zebra
@restive ether go ahead, add it
good job
conflict of interest sorry
heh
I don't think that exactly counts, considering the mention of telesphoreo was probably added in like 2008, heh
back then it was legitimately difficult
So it is true Sileo was originally was meant for macOS and then got ported to iOS
pre official SDK
now we know what we're doing, and apt cleaned up all their shitty code
imagine having to make your own SDK smh
smh
then refusing to the official ones when they come out
iphonesdk2.0internal moment
@ionic ore hi
since this reminded me of apturl
AptURL sounds like a terrible idea
how do you guys (mainly @ocean raptor because this would be a base pro bootstrap thing) feel about โ ok that answers my question

I mean, current situation is Saily owns apt:// and everyone else has to fight for it
smh Saily moment
I think Zebra loses by default just because the bundle id is alphabetically last
not piracy just some repo
apt-repo://*
ok that's less bad
thank god they didnโt do apt
apt uri schemes are standardised at least
saily cant even parse the urls properly
feels like life would be so much better if we didn't need 500,000 different implementations of "please select your package manager"
the repos get added in like https//getzbra.com without the colon
seems worse when it comes to jailbreak detection though
eh, yes and no
as is you can kinda hide from jailbreak detection on sileo and zebra in some apps because they only care about cydia
and even the more on top of thing apps only usually just either zebra or sileo, rarely both
sure it's likely for apt:// to exist, but chances were good you'd get cydia:// zbra:// sileo:// anyway
just use repo.stkc.win
so true
just don't use add repo buttons...
ease of use
just submit you packages to chariz smh
just remove repos altogether
or pluto
not something linux users would understand 
force people to download each deb manually
I do
just download random debs from #jailbreak
Exacyly
man.
I'm expecting to eventually see some shitty jb detection libs catch up and not check for malware that existed for iOS 3.1 back in 2009 and scanned 3G IP blocks that no longer exist
what are 3G IP blocks
bloobs
bloo????

praying for the day that jailbreak detection checks for /private/preboot/procursus
did you rebuild it
thereโs some swift based one a lot of apps use now thatโs pretty good
oh they deleted /memegen
why don't these jailbreak detection libs just check if / is r/w???
bro can youtube stop making their UI so shit
hwatd they do this time
now my recommended feed only shows like 8 videos and i gotta zoom out
just to see more
I mean I can just send you the deb I have if you want
i donโt think they can do that easily
yeah its just every card is so massive
How do you zoom out on a phone wtf
im on chrome
apple is still tough on what you can and canโt do
apple try to let consumers use their hardware challenge
they put nested virtualization on the a15

but ios is so gimped it doesnt matter
isnโt that off though
probably in the software yea
i donโt understand why apple does that shit
they waste hardware putting something in devices and never use it
link pls
just like they did with ipad nfc
is it open source?
yea
A15 is similar to M1 no?
just like all those chips with Jazelle
I see
a14 is the most similar to it
they have the same cores iirc just different amounts of them and clock/thermal scaling
yeah that make more sense in terms of release dates as well
yea
so you could probably get macos running on an a14 easily with a bootrom exploit
wen eta Jazelle on iPhone
https://en.wikipedia.org/wiki/Jazelle
Jazelle DBX (direct bytecode execution) is an extension that allows some ARM processors to execute Java bytecode in hardware as a third execution state alongside the existing ARM and Thumb modes. Jazelle functionality was specified in the ARMv5TEJ architecture and the first processor with Jazelle technology was the ARM926EJ-S. Jazelle is denoted...
yeah and Max and Pro chip expand off of that
ikee had a bunch of IP ranges it would try to ssh to with root:alpine to spread itself
eta when a14 bootrom exploit i wanna run mac
ikea??!!?!
performance on a14/15 running UTM isnโt that bad when you have JIT
that no longer works because there's literally too many devices on the internet to have a dedicated IP, also consumer devices having dedicated IPs was terrible for security anyway
How to install an old xcode version
i havenโt seen anyone try macos on it, but even windows 10 wasnโt too bad
too bad external display would be completely impossible because apple has usb 2.0 lightning on their phones
๐
yeah it would probably be just as good on dedicated hardware for it
this guy blocked be on twitter
// "cydia://" URL scheme has been removed. Turns out there is app in the official App Store
// that has the cydia:// URL scheme registered, so it may cause false positive
mfw its 2022 but we have 60MB/s ports
Thanks bro
L
procursus users
not like I wanted to see his shitty tweets
cameron please merge 
thunderbolt iphone when
isnt the usbc on the ipad air and pro usb 2.0 speed capped anyway
ong
with external gpu support
sounds hot
gotta get max gaming on my phone
CODM 300fps
unironically that sounds cool
@lime pivot L
@lime pivot you are now sus
they checked for cephei
flex

i like how they went out of their way to discover SSLkillswitch
This library is actually very comprehensive, a shame it will be near useless with rootless 
good thing it takes 0.1 sec to bypass
and WeeLoader?

lmao true

Hestia isn't sus though but probably that's because the dylib is like -=_HEST_+
write a bypass for this software, users will rejoice
write a bypass for like
hookf dyld_image_count
return 0
if you can bypass snapchat then you've basically won

:torlla:
does snap use ios shit suite
https://github.com/securing/IOSSecuritySuite/blob/ede30b2c76d97693aba30ce5d0bafe87744278b4/IOSSecuritySuite/JailbreakChecker.swift#L291 what is this from
no
iโve never seen this file path before
they use their own solution
itโs darwin 9 so it has to be really old?
gcc uses directories like that
cause you need different builds for different targets
or maybe 22
cool
Andrews-Macbook
andrew
WHY
do they post darwin change logs
gone
Darwin Camerons-iPhone.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64
YO! I MADE AN IOS 15 JAILBREAK!
true
Darwin FBI-Surveillance-Van.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64
when i patch uname
yall have arm?
you can use uname from sandbox 
nor me
in blink
mans gotta use an emulator
the forbidden emulator
don't put llvm in your bootstrap
holy shit capt pls don't
llvm is the worst
when are we getting llvm-sharp
need my c sharp musical language
ok, gn
showww
damn they couldnt find trousers
macos monterey sticker
macOS Mammoth 13.0 will be featured in WWDC22 and includes profound changes in the macOS experience. Performance has been our top focus and runs amazing on Apple Silicon. We've also optimized the way you use your Mac with widgets everywhere, even on the desktop. And much, much more...
x86_64 macOS shall see a huge drop in performance for some unexplained reason

we got an intel mac pro coming this year tho
so im bing chilling
great for hackintosh users
fully expecting word for word the same announcement later this year
forgot they did that
:troll"
literally 1984
the word balls is politically incorrect, try avoiding this sort of language in your projects to be as inclusive as possible
Yes sir
I don't have push access either lol
capt after finding every procursus makefile issue because he built literally everything
no man
The manpages are getting built for some reason it is not recognizing .zst extension on the filenames. You would have to go back and add .zst to the end of the filename in the makefiles
should be the same concept expect add .zst to the end of both filenames
dpkg-deb -c build_dist/iphoneos-arm64-rootless/1800/lua5.1_5.1.5-1_iphoneos-arm64.deb
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/bin/
-rwxr-xr-x root/wheel 70352 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/bin/lua5.1
-rwxr-xr-x root/wheel 69520 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/bin/luac5.1
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/share/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/share/doc/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/share/doc/lua5.1/
-rw-r--r-- root/wheel 724 2007-03-28 17:19 ./private/preboot/zefram/external/procursus/usr/share/doc/lua5.1/README.zst
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/share/man/
drwxr-xr-x root/wheel 0 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/share/man/man1/
-rw-r--r-- root/wheel 1635 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/share/man/man1/lua5.1.1.zst
-rw-r--r-- root/wheel 1656 2022-02-26 22:17 ./private/preboot/zefram/external/procursus/usr/share/man/man1/luac5.1.1.zst```
$(INSTALL) -Dm644 $(BUILD_STAGE)/lua5.1/$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/share/man/man1/lua.1.zst $(BUILD_DIST)/lua5.1/$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/share/man/man1/lua5.1.1.zst
$(INSTALL) -Dm644 $(BUILD_STAGE)/lua5.1/$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/share/man/man1/luac.1.zst $(BUILD_DIST)/lua5.1/$(MEMO_PREFIX)$(MEMO_SUB_PREFIX)/share/man/man1/luac5.1.1.zst```
that is a new one to me let me see tho
you need libassuan-dev from Procursus
GnuPG development runtime library (developer tools)
libgpg-error0/big_sur,now 1.43 darwin-amd64 [installed]
GnuPG development runtime library```
apt-file libgpg
libgpg-error0 is the correct one
sover trollin
It grab it as a dep for me when I installed libassuan
I'm not sure honestly but you can try
@ashen birch you might know about this
or @subtle grail
who
oh
a procursus moment
i remember having this exact error
idk what i did to fix it but it was kinda involved iirc
yep
if i remember iโll let u know
wdym
like the package
or the male file
make
ball file
@grave sparrow try export PKG_CONFIG_PATH=/opt/procursus/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig


gnupatch is just having issues I am unsure of what it is at the moment. I will link Cameron to this message so he knows
yeah it shows the patches done in BUILD_WORK but it immediately says the input is garbage
it may need to be fixed in the main makefile
gnu try to write good code challenge
Aite I need to do some work so I will be unavailable for a bit
makefiles are hurting me
I got you hold up this fix is painful cause I had to look at the old ass main makefile before we restructured it
ok
@grave sparrow here you go

.
for maximum trolling you should have had it download a zip of itself
so you need unzip to compile unzip
need rust to compile rust
need typescript to compile typescript
need C++ to compile swift 
funny how those projects choose to write the language in itself to dogfood the thing they're working on, except for Swift, where it's heavily based on LLVM and so much new code is being written every year that it's not even worth rewriting Swift in Swift
https://github.com/cxnder/bn-dyldsharedcache for any nerds here who use binaryninja
i stopped drinking for a night and wrote something useful
true
not exactly expecting Swift to get any better even if they did dogfood it more tbh
the results are better than IDA/ghidra/hopper can do :)
oh wow that's damn cool
their API is so so nice
man obj c gets me lost
basically just had to modify dyldextractor a ton to remove anything that'd go through stdout, then also have it write to a BytesIO, then since i for some reason insisted on supporting that in ktool, ktool can handle and load the BytesIO as a macho, create the segments with junk data from the DSC, then actually overwrite them with the data ktool processes
then once i do that i abort the whole thing and kick it over to the Mach-O loader who now thinks that i'm just asking it to do a regular macho
kept thinking "oh this is going to be hell to implement" and then it wasnt
11/10 disassembler
Wait, does it have to be it's own bash script? I'm just using
install.exec "killall -9 mediaserverd backboardd"```
in my makefile.
This wonโt work for anyone else
ohhhh
The after-install only runs after make install in theos
You need to make a file called postinst in layout/DEBIAN/
At the top put #!/bin/sh
And then any commands you want to run at postinst
yeah I saw one of those, never knew why they were necessary, but that explains it, haha. thanks!
so when I'm killing backboardd in my postinst script, I believe I can remove the INSTALL_TARGET_PROCESSES = SpringBoard from my makefile as well since backboardd gets already killed, right?
gotcha, thanks. only downside now is that the script gets executed immediately and the user doesn't have the usual choice to click the respring button on his own (but on the other side, it's absolutely necessary that the script executes, or the tweak won't work)
yeah, that's what I'm worried about. so what would be the correct way of doing this?
I was told that it was necessary as well when killing mediaserverd, but I'm just about to try this out myself if it's actually true
Who told you that
Found it in a reddit post on r/jailbreakdevelopers
but yeah, i just tested it and the tweak works fine without killing backboardd ๐ so I'll just kill mediaserverd in the postinst script and will keep INSTALL_TARGET_PROCESS set to SpringBoard, right?
Mhm
INSTALL_TARGET_PROCESS is only used for local development with theos just like after-install
might as well remove it entirely tbh
Nah
If ur doing work in springboard having it kill it is very nice
But when released publicly a package manager will handle the sb kill
actually true if you need respring
but if you only need to restart mediaserverd then it's not needed
Exactly
yeah, i need both. thank you very much!
Some tweaks that bring iPhone X features to older devices hook setFrame of several classes, but that ruins the layout of my tweak. Is there a way to make my hook have priority over some other tweak (meaning my hook will get executed later)?
I tried loading their dylibs with dlopen, but it didn't work and I'd rather not list each tweak that could cause this separately anyway
I know you're serious, but is there really no better way?
afaik that's the only way
hm, alright. is there an easy way to just rename the dylib and not the whole tweak?
oh yeah right, the actual name doesn't come from the makefile, my bad
that's weird, even though the name of my dylib is now zzzzzzzTweakname, the setFrame from the other tweak still has priority. My hooked method:
%orig(frame)```
Yet somehow, the frame still ends up at y:-44 (which is what the other tweak sets)
did you try putting the orig first
yup, same result
calling orig will get the frame set by the last tweak
but then it should have worked in the first place when my tweak was loaded before the other tweak, shouldn't it?
well, it's the setFrame method, there's no other way to set the frame of this particular view, right? but whether my tweak gets loaded before or after the other tweak doesn't seem to make a difference
what tweaks are fucking it over
just add a compat layer for them then 
I'm sure there's other tweaks that have similar behavior. But I'm curious, how would a compat layer work?
if you detect their tweaks do a little trolling
I'd rather fix it the right way ๐
so I just compiled Little12 myself and inserted a log message in the setFrame method. Whether my tweakname starts with A or Z makes no difference, first my method gets called and then Little12's method. weird.
uhh, i'm looking at coreauthui headers:
it seems simple enough, but how would i go about doing/running x thing if authentication doesn't fail, specifically for touch/faceid only
goal here is to just play a sound
https://github.com/ItzNebbs/CustomSounds/blob/master/Tweak.h helps a bit here, but i'm still a little lost
you could check the return value of -[LAContext evaluatePolicy]

if i'm looking at it right lol
tfw I can't even test it because my Face ID is broken due to iOS 15 SEP 
maybe this:
%hook LAContext
- (void)evaluatePolicy:(LAPolicy)policy localizedReason:(NSString *)localizedReason reply:(void (^)(BOOL success, NSError *error))reply {
if (success) {
NSLog(@"Biometric authentication succeeded");
}
%orig;
}
%end
I don't think it does, only in-app stuff IIRC
this won't work
not 100% sure though
reply is a callback that is sent to the caller
you would need to make your own block handler, throw your block into orig, and then throw those args into the orig reply
that sounds... complex
the first thing i looked at was https://github.com/udevsharold/quickdismissfaceid/blob/main/QuickDismissFaceID.x
something like this?
%hook LAContext
- (void)evaluatePolicy:(LAPolicy)policy localizedReason:(NSString *)localizedReason reply:(void (^)(BOOL success, NSError *error))reply {
void (^myHandler)(BOOL, NSError*) = ^(BOOL success, NSError *error) {
if (success)
NSLog(@"Biometric authentication succeeded");
else
NSLog(@"Error = %@", error.localizedDescription);
reply(success, error);
};
%orig(policy, localizedReason, myHandler);
}
%end
i said this cause i essentially have no idea what i'm doing

if without braces
shush
@restive ether you're not getting hsts support on wget2 i cant even ./configure it
and im not figuring out autotools
Turn your clock back 
well, i'll try this and work on prefs later 
so i have to include LocalAuthentication as a framework, noted
yeah otherwise arg1 will screw you over
technically you could just mark it as id
because you don't use it
one more thing, how would i rewrite this as an @interface if possible
and now i regret using the prefs template for theos
where do i find a good tweak that isn't using some library for prefs
if you want to read your tweak prefs in sandboxed apps you're basically gonna need Cephei
or other IPC stuff
Capt had a way to do it without but it didn't work for me
maybe it only works on older versions
I only tested it on 14.4+
well, i shouldn't be reading within a sandboxed app, but ill use cephei anyway
not entirely
on a jb device any app can read /var/mobile/Library/Preferences
so worst case scenario you could just read the plist there and cast to nsdictionary
doesn't that only work with certain JBs that fuck with the sandbox more

I think I was trying on odysseyra1n 14.4 and it didn't work
it works on checkra1n/ora1n
ยฏ_(ใ)_/ยฏ
random question: am i forced to play only .caf files? seems like every tweak uses them
wait, how do i even read from a folder and display filenames as an option 
at this point i might end up using libcsprefs
i'm trying to clone nebbs' customsounds but for this tweak
looking at 4 files at once in vscode man
i think i can handle it
though, i'm just doing the idea that came into my head
Anyone can help?
ngl, nebbs's tweak is a decent template imo
you need to use nicify.pl
https://theos.dev/docs/nic
im not doing a nic.tar file from start im using someones template
checked there
But cant understand :/
What are you trying to do
Make a file into nic.tar to use at terminal and make a new package
i.e. make a new nic template?
@grim sparrow im a bit confused on what theyre asking so im going to politely ask you to take over
then just put it in $THEOS/templates/
i did
qualified scammer
but i need make it nic.tar for see at /var/theos/bin/nic.pl

Joke in my friends
huh?
isn't that what you have now
yea but bro it doesnt visible at there
Is the template good 
yea good
and you've ran denicify.pl on it
read the docs
uhh
i think i broke it
what is @import
the futureโข๏ธ
it imports it as a module
if possible always use @import
interesting

so i should @import UIKit and @import AVFoundation

how can i know which ones i can @import without just trying
like none of these can be @ imported
i dont think
probably not
changing it won't technically change anything
could you link that
tyty
wtf is a bridged cast
man, i tried my best here
bear with
Help
if you know please help
gm
Why not
ok
so
here
you're passing in
one argument
and here
its asking for two
1 != 2
i dont know factorial

What is this template even for
app
you know theres a template for an app already right
was not a factorial, it means 1 does not equal 2 in almost every language

Then
What i susposed to do
maybe go learn more of the basics first
thanks for wasting my time u coukd say i wont help at first
How new? Like a month? A week? A day? An hour?
uhh
lmfao
wtf discord



