LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


View Poll Results: Have you ever modified the source code of an open source application?
Yes 352 58.37%
No 224 37.15%
Not sure 27 4.48%
Voters: 603. You may not vote on this poll

Reply
  Search this Thread
Old 11-06-2019, 04:31 PM   #46
RBurghall
LQ Newbie
 
Registered: Sep 2015
Location: South Yorkshire
Distribution: Ubuntu and Debian
Posts: 3

Rep: Reputation: Disabled
Yes


Yes - Geant4 (from CERN) and OpenFOAM for example.
 
Old 11-06-2019, 08:22 PM   #47
madscientist42
LQ Newbie
 
Registered: Nov 2019
Posts: 4

Rep: Reputation: Disabled
I'd suppose Linux device drivers count, as does Yocto recipes and one of the main init systems (runit)...
 
Old 11-07-2019, 07:49 AM   #48
sclaes
LQ Newbie
 
Registered: Feb 2018
Posts: 4

Rep: Reputation: Disabled
I once wanted to modify the sources of the XED text editor because I wanted to disable 'search as you type'. It makes searching very large files impossible because as soon as you type the first character of the search string, the editor begins to mark every instance of that character. This takes ages (sometimes more than a few minutes) and while this is ongoing, it is not possible to enter any additional characters.

But to my surprise I couldn't find anything in the source code to change this. I guess it is a default of the GTK framework used to build the editor.
 
Old 11-10-2019, 07:33 PM   #49
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Rep: Reputation: Disabled
Yes, I maintain a few patches for FLOSS programs that are unmaintained, but still work fine after patching.
Come to think of it, I also have 1 or 2 for programs that are maintained because I don't like part of the functionality.
 
Old 11-16-2019, 02:57 AM   #50
NachoLord
Member
 
Registered: Jul 2018
Location: Somewhere between here and there.
Distribution: Ubuntu, Debian, Arch
Posts: 47

Rep: Reputation: Disabled
I had to do some hacking to make this code build. I didn't actually modify the program itself, so much as hack the make file to make it actually detect the third-party *.h files it needed to finally produce a build. IDK if that counts, since I didn't actually change the C code, just added some -I arguments to the compiler.

Last edited by NachoLord; 11-16-2019 at 03:00 AM.
 
Old 11-16-2019, 09:34 AM   #51
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Rep: Reputation: Disabled
Hacking the build system defiantly counts. Without working build systems you'd have no FLOSS programs -- or at least none that could be built with any regularity.
 
Old 11-21-2019, 05:04 AM   #52
TecMunky
LQ Newbie
 
Registered: Jul 2018
Location: Chicago Suburbs (Far West)
Distribution: undecided (yet) probably ArchLinux and LinuxMint
Posts: 3

Rep: Reputation: Disabled
Yes .. but it is an Android Application that my script automatically compiles when the upstream source changes ...
 
Old 11-21-2019, 10:32 PM   #53
ballsystemlord
Member
 
Registered: Aug 2014
Distribution: Devuan
Posts: 214

Rep: Reputation: Disabled
They did not ask if it was for Android, just if it was open source.
Granted, I would have used FLOSS in the question, had I worded it but I didn't write it.
 
Old 04-15-2020, 05:46 PM   #54
thx1139
LQ Newbie
 
Registered: Feb 2012
Posts: 1

Rep: Reputation: Disabled
Yes (with examples)

Yes. Notable examples include:

a.) One of the challenges of upstream packaged products is that they come with a built-in selection of options for the software in question. That works well for most people most of the time, but doesn't work well if you need a non-standard set of attributes.

b.) Less often to accomodate builds with non-Linux compilers (esp. those not freely available or for non-Intel CPUs) ... there are variations (sometimes subtle, sometimes not subtle) in compiler flags if you're not using GCC.)

thx
 
Old 04-15-2020, 08:31 PM   #55
tvphil
Member
 
Registered: Aug 2004
Location: Evanston, Illinois, USA
Distribution: Xubuntu 11.10 Oneric Ocelot 64 bit
Posts: 60

Rep: Reputation: 17
Yes, years ago.

Back when the Freevo DVR project was still active. I hacked the record command, so it would record from a Hauppauge HD PVR. It worked very well for several years thereafter.
 
Old 04-16-2020, 03:28 AM   #56
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369
Blog Entries: 1

Rep: Reputation: 49
Quote:
Originally Posted by MannyVel View Post
I have never "modified the source code of an open source application".
BUT....

..... I HAVE programmed in Basic, Pascal, C, DOS, Unix/Linux Shell, SQL, MS Access, Python.
..... I HAVE used graphical code debuggers that trace the code execution visually line by line, loop by loop.
..... I HAVE compiled code into applications for use on different systems

sooOOoo .... what difference does it make if it's 'Open source applications' ?

Am I missing something here?
Just curious.
It's a very different kind of business. If you are the sole programmer of a program you (should) understand everything and know where to go whe fixing a bug or adding a feature. On the other hand, if you contribute to a project that other people have worked on, you need to figure out things before ever trying to modify the source, which is more time consuming and involves asking questions on the mailing lists, reading/searching for earlier bug reports, understanding how the code evolved to its current state by reading the commit logs and blames...
 
Old 04-16-2020, 06:36 AM   #57
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Yes modified a whole lot of them, but previously; hex edited various binaries, manually modified boot sectors, repacked BIOS images, rewrote some very small assembly stuff, etc.
Must say that after all those low level adventures, reading and editing well documented and clean C/C++ projects has been much more enjoyable experience.
I suppose systems were always more interesting to me so I never really bothered with application coding, especially not java.
 
Old 04-19-2020, 08:09 AM   #58
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369
Blog Entries: 1

Rep: Reputation: 49
Quote:
Originally Posted by elcore View Post
Yes modified a whole lot of them, but previously; hex edited various binaries
What kind of edits for example ?
 
Old 04-20-2020, 11:23 AM   #59
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,753

Rep: Reputation: Disabled
Quote:
Originally Posted by ychaouche View Post
What kind of edits for example ?
You know some old executables are hardcoded to load unavailable resources, like servers which aren't there anymore?
So the kind of edits that make unconfigurable things configurable, I guess. Why?
 
Old 04-22-2020, 04:55 AM   #60
ychaouche
Member
 
Registered: Mar 2017
Distribution: Mint, Debian, Q4OS, Mageia, KDE Neon
Posts: 369
Blog Entries: 1

Rep: Reputation: 49
"Asking for a friend" would be a nice excuse for my ignorance. I have never had the idea to do that, but it's good to know in case I get stucked too. I wonder if I could hexedit those old flash games I downloaded which require to be run from their original website
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I modified the AODV code part of NS2.31 for selecting a node which have minumamenergy lakshmanarao.k Programming 1 03-11-2015 04:51 PM
LXer: If You've Ever Sold a Used iPod, You May Have Violated Copyright Law LXer Syndicated Linux News 0 06-14-2012 03:10 AM
LXer: "What's this 'DEEE-bee-en' you write about?" Or will Linux ever (ever?) make its move on the d LXer Syndicated Linux News 5 12-21-2010 08:09 PM
i think that i will never ever ever ever switch to mac teamstatic84 General 11 01-03-2004 12:25 PM
Have you ever made a donation or a purchase to an open source organisation/project ? dukeinlondon Linux - General 8 11-14-2003 05:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration