LinuxQuestions.org
Review your favorite Linux distribution.
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 120 70.18%
No 45 26.32%
Not sure 6 3.51%
Voters: 171. You may not vote on this poll

Reply
  Search this Thread
Old 10-18-2019, 10:55 AM   #1
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,039

Rep: Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762Reputation: 3762
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, 11:05 AM   #2
Turbocapitalist
Senior Member
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 4,248
Blog Entries: 3

Rep: Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109Reputation: 2109
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.
 
3 members found this post helpful.
Old 10-18-2019, 11: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, 11:51 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Xubuntu
Posts: 5,353

Rep: Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862
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, 12:14 PM   #5
Medievalist
Member
 
Registered: Aug 2003
Distribution: Dead Rat
Posts: 191

Rep: Reputation: 53
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.
 
1 members found this post helpful.
Old 10-18-2019, 12:39 PM   #6
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 3,671
Blog Entries: 10

Rep: Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014Reputation: 2014
No. My C isn't good enough to even understand most source code and my C++ is nonexistent.
 
Old 10-18-2019, 01:16 PM   #7
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 2,410

Rep: Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565Reputation: 565
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, 01:18 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 9,243

Rep: Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069
Click it.

https://github.com/duganchen/dosbox

Last edited by dugan; 10-18-2019 at 01:54 PM.
 
Old 10-18-2019, 01:42 PM   #9
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,266

Rep: Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691Reputation: 1691
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, 02: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, 03:01 PM   #11
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.7.1908
Posts: 4,064

Rep: Reputation: 1383Reputation: 1383Reputation: 1383Reputation: 1383Reputation: 1383Reputation: 1383Reputation: 1383Reputation: 1383Reputation: 1383Reputation: 1383
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, 03:07 PM   #12
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,263

Rep: Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198Reputation: 4198
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 03:08 PM.
 
Old 10-18-2019, 04:15 PM   #13
Janvanl
Member
 
Registered: Apr 2015
Posts: 84

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, 04:46 PM   #14
mathwhiz
LQ Newbie
 
Registered: Nov 2018
Posts: 7

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, 04:49 PM   #15
rusty_car
LQ Newbie
 
Registered: Jan 2019
Posts: 3

Rep: Reputation: Disabled
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05: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 04: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 09:09 PM
i think that i will never ever ever ever switch to mac teamstatic84 General 11 01-03-2004 01:25 PM
Have you ever made a donation or a purchase to an open source organisation/project ? dukeinlondon Linux - General 8 11-14-2003 06:41 AM

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

All times are GMT -5. The time now is 05:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration