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 10-18-2019, 09:55 AM   #1
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Have you ever modified the source code of an open source application?


The LQ poll series continues. Have you ever modified the source code of an open source application? For the purpose of this poll, compiling from source (a poll on this coming soon) or just changing the config does not count. We'd like to know if you've ever modified code and then used the resulting code on one of your systems.

--jeremy
 
Old 10-18-2019, 10:05 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,307
Blog Entries: 3

Rep: Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721Reputation: 3721
My answer is, "Yes", but more frequently in times past. I have occasionally submitted patches upstream, too, but not often. Several times in the past, I have seen to hiring people to make changes I needed and pass them back upstream. One case was a textbook example of success. Another was a short term failure, such that our project did not benefit, but accidentally got some attention and later morphed into a long term success and thus benefitted others very much.

Lately the tasks are often out of reach and the process more bureaucratic so I try less often and even then only sometimes does someone else have the time and interest and ability to pick up the idea and complete it.

The barriers for participation are complexity and high skill level. The low-skill projects end up being too complex to participate in casually and the high skill projects require expert level experience.

However, in regards to the question, "have you ever modified the source code of an open source application", I'd rather see that expanded to include documentation. The manual pages are about as important as the source code even if they often get less love than they need outside the BSDs.
 
5 members found this post helpful.
Old 10-18-2019, 10:18 AM   #3
Melanie
LQ Newbie
 
Registered: Jan 2003
Location: London, UK
Distribution: CentOS, Fedora
Posts: 4

Rep: Reputation: 1
Open source coder

I have, and still do, heavily contribute to open source projects.

Among the most notable are Jack Audio Connection Kit, Icecast and OpenSimulator.
 
1 members found this post helpful.
Old 10-18-2019, 10:51 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,139

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Once, in the 1980s, I re-wrote parts of the code for a printer driver — in assembly language, too. But that, like all my coding, was the product of desperation rather than pleasure. I'm just relieved that I haven't had to do anything like that this century.
 
Old 10-18-2019, 11:14 AM   #5
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 191

Rep: Reputation: 56
If you use any of the big standard distributions in a large heterogeneous corporate environment, you will find the process of getting bugs fixed in the distro is so tedious and slow that you frequently have to patch locally now rather than send the patch upstream and wait for updates. (This contrasts strongly with using FOSS software direct from author(s) instead of through a distro.)

For example RHEL8 has an selinux policy that prevents systemd from loading iptables - pretty disastrous, right? And might even be pretty simple to fix since it looks like a regression to a known Fedora bug, right?

Red Hat: Well, it'll get fixed in the next quarterly update set, yawn yawn.

Not meaning to pick solely on Red Hat, just using a current and pertinent example.

The bug in RHEL8 is https://bugzilla.redhat.com/show_bug.cgi?id=1644805 but I can't find the old Fedora bug any more.
 
2 members found this post helpful.
Old 10-18-2019, 11:39 AM   #6
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,571
Blog Entries: 19

Rep: Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451Reputation: 4451
No. My C isn't good enough to even understand most source code and my C++ is nonexistent.
 
1 members found this post helpful.
Old 10-18-2019, 12:16 PM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
Sure. On smaller source trees. If I can understand it.

Example:
From Dillo 3.0.5 source tree.

/dillo/src/dillo-3.0.5/dw/fltkviewport.hh
Starting with line 14
Code:
class FltkViewport: public FltkWidgetView
{
public:
   enum GadgetOrientation { GADGET_VERTICAL, GADGET_HORIZONTAL };

private:
   enum { SCROLLBAR_THICKNESS = 25 };

   int scrollX, scrollY;
   int scrollDX, scrollDY;
   int hasDragScroll, dragScrolling, dragX, dragY;
   int horScrolling, verScrolling;

   Fl_Scrollbar *vscrollbar, *hscrollbar;

   GadgetOrientation gadgetOrientation[4];
   lout::container::typed::List <lout::object::TypedPointer < Fl_Widget> >
      *gadgets;

   void adjustScrollbarsAndGadgetsAllocation ();
   void adjustScrollbarValues ();
   void hscrollbarChanged ();
   void vscrollbarChanged ();
   void positionChanged ();
Dillo has a skinny little scrollbar. Change 25 to what you wish.

I do that every now and then.

Larger projects like Firefox for example, you would almost have to be on the dev team to understand how/when/where/what.
 
1 members found this post helpful.
Old 10-18-2019, 12:18 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Click it.

https://github.com/duganchen/dosbox

Last edited by dugan; 10-18-2019 at 12:54 PM.
 
Old 10-18-2019, 12:42 PM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
I'm not really sure if this counts, since there is no license for the program, and it's not been released for public download AFAIK. But anyway, another member wrote me a program to help with my mathematical skills/improving them, and I managed to add a fopen() call so it would save the end result/my "score" to a file, rather than having to keep copying and pasting the result/score into a text file each time I run it.

So if the above does count, then yes, although it wasn't much, just a couple of lines and that's it. If the above doesn't count, then no, I haven't.
 
Old 10-18-2019, 01:33 PM   #10
Shiori-kun
LQ Newbie
 
Registered: Mar 2010
Posts: 16

Rep: Reputation: 3
You mean I am not supposed to rewrite sections of code to make it work?!?!?!?

Simply, yes but not as much these days as I use to.
 
Old 10-18-2019, 02:01 PM   #11
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
I voted No. I have applied other people's patches to open source applications (qmail works much better after patching), but I didn't create the patches myself.
 
Old 10-18-2019, 02:07 PM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,836

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
that is an interesting example: we reworked the perl script debmirror to fit our needs (if I remember well we make it run much faster too), but did not contribute ahything. Does it count?

Last edited by pan64; 10-18-2019 at 02:08 PM.
 
Old 10-18-2019, 03:15 PM   #13
Janvanl
Member
 
Registered: Apr 2015
Posts: 145

Rep: Reputation: Disabled
Localised some files for german and for dutch users.
Made small changes to projects to make them work for the german or dutch market.

Regards,
Jan
 
Old 10-18-2019, 03:46 PM   #14
mathwhiz
LQ Newbie
 
Registered: Nov 2018
Posts: 26

Rep: Reputation: Disabled
I produced an extension of GCC with "lightweight" classes. It's available at my website www.hyperonsoft.com.
 
Old 10-18-2019, 03:49 PM   #15
rusty_car
LQ Newbie
 
Registered: Jan 2019
Posts: 3

Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
that is an interesting example: we reworked the perl script debmirror to fit our needs (if I remember well we make it run much faster too), but did not contribute anything. Does it count?
Well, I'm assuming it counts, as that sort of thing is what I did - I hacked up minicom to have an internet service running (well, 2 actually) to allow controlling, remotely if/where/when it did logging. And other stuff - its been a while and I'd have to go look at the code.
 
  


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 06:10 AM.

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