Other What needs to happen to get a newer version of Intellij on FreeBSD

The patch has been updated to 20242.4 thanks to another contributor:

I attempted to update it to 2024.3.3, the latest as far as I can tell; however, I ran into some issues with makeplist. If someone can help that would be great.

In terms of getting this pushed through, I'm not quite sure what it is hung up on. Historically, this was stuck because the maintainer did not respond, but I think it was reassigned and the new maintainer had an issue launching intellij.

In summary, to help this move foward:
1. please sign into bugs.freebsd.org and at the very least, test the patch
2. help me update the patch to 2024.3.3

Beyond that, I'm not sure what else can be done.
 
It looks like the patch was updated to 2024.3.3 and that patch worked for me. Please give that patch a whirl and update the bug report.
 
Hmm, dumb question, what is your /usr/ports hash? Can you checkout 2025Q1 and do a pull? I'm not an expert, but I just uninstalled and rebuilt 2024.3.3, so I'm trying to figure out why it isn't working for you and why it is for me.
 
Hmm, dumb question, what is your /usr/ports hash? Can you checkout 2025Q1 and do a pull? I'm not an expert, but I just uninstalled and rebuilt 2024.3.3, so I'm trying to figure out why it isn't working for you and why it is for me.
In 2025Q1, I was able to compile successfully, but it seems that the corresponding files were not installed.


root@ykla:/usr/ports/java/intellij # pkg info -l intellij
intellij-2024.3.3:
/usr/local/share/licenses/intellij-2024.3.3/APACHE20
/usr/local/share/licenses/intellij-2024.3.3/LICENSE
/usr/local/share/licenses/intellij-2024.3.3/catalog.mk
 
In 2025Q1, I was able to compile successfully, but it seems that the corresponding files were not installed.


root@ykla:/usr/ports/java/intellij # pkg info -l intellij
intellij-2024.3.3:
/usr/local/share/licenses/intellij-2024.3.3/APACHE20
/usr/local/share/licenses/intellij-2024.3.3/LICENSE
/usr/local/share/licenses/intellij-2024.3.3/catalog.mk
I am using

intellij-2024.3.3 (172.48 KB, patch)
2025-02-24 18:09 UTC, a52ca063@gmail.com
 
Strange, if I run that cmd, I see much more.

I install intellij through a script, perhaps try cleaning ports first like what I'm doing in the script?


sudo git -C /usr/ports reset --hard HEAD
sudo git -C /usr/ports pull

BATCH=yes sudo make clean
cd /usr/ports/java/intellij

sudo rm -rf work
sudo git apply intellij.patch

BATCH=yes sudo make install

Before you apply the patch, /usr/ports should be clean. If you cd to /usr/ports and run git status, it should come back clean, no changes.
 
Strange, if I run that cmd, I see much more.

I install intellij through a script, perhaps try cleaning ports first like what I'm doing in the script?




Before you apply the patch, /usr/ports should be clean. If you cd to /usr/ports and run git status, it should come back clean, no changes.
Observing https://bz-attachments.freebsd.org/attachment.cgi?id=257847, almost everything starts with "-", which means almost all files have been deleted.

git apply intellij.patch not work.


git clone https://git.FreeBSD.org/ports.git /usr/ports



root@ykla:/usr/ports # git apply /home/ykla/1111.patch
error: corrupt patch at line 2430
root@ykla:/usr/ports # cd java/intellij
root@ykla:/usr/ports/java/intellij # git apply /home/ykla/1111.patch
error: corrupt patch at line 2430




root@ykla:/usr/ports # patch -p1 < /home/ykla/1111.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/java/intellij/Makefile b/java/intellij/Makefile
|index e28baca5767b..cf290093663c 100644
|--- a/java/intellij/Makefile
|+++ b/java/intellij/Makefile
--------------------------
Patching file java/intellij/Makefile using Plan A...
Hunk #1 succeeded at 2.
Hunk #2 succeeded at 14.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/java/intellij/distinfo b/java/intellij/distinfo
|index 67563b0baa51..e0af7b377042 100644
|--- a/java/intellij/distinfo
|+++ b/java/intellij/distinfo
--------------------------
Patching file java/intellij/distinfo using Plan A...
Hunk #1 succeeded at 1.
Hmm... The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/java/intellij/pkg-plist b/java/intellij/pkg-plist
|deleted file mode 100644
|index 321bd373bfbb..000000000000
|--- a/java/intellij/pkg-plist
|+++ /dev/null
--------------------------
Patching file java/intellij/pkg-plist using Plan A...
Empty context always matches.
Hunk #1 succeeded at 0 with fuzz 1.
done


After applying the patch, the entire pkg-plist was emptied.

1741405895902.png
 
The last I checked, the updated patch worked for me. Does anyone know what the hangup is? I would like to contribute more, but if it is for naught, then it is a tough sell.
 
Back
Top